|
@@ -235,11 +235,9 @@ Ext.define('saas.view.document.kind.Kind', {
|
|
|
iconCls:'',
|
|
iconCls:'',
|
|
|
getClass: function(v, meta, rec) {
|
|
getClass: function(v, meta, rec) {
|
|
|
if(rec.get('wh_statuscode')=='OPEN'){
|
|
if(rec.get('wh_statuscode')=='OPEN'){
|
|
|
- this.items[0].tooltip = '启用';
|
|
|
|
|
- return 'x-grid-checkcolumn-checked';
|
|
|
|
|
|
|
+ return 'x-grid-checkcolumn-checked-btn';
|
|
|
}else{
|
|
}else{
|
|
|
- this.items[0].tooltip = '不启用';
|
|
|
|
|
- return 'x-grid-checkcolumn';
|
|
|
|
|
|
|
+ return 'x-grid-checkcolumn-btn';
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
handler: function(view, rowIndex, colIndex) {
|
|
handler: function(view, rowIndex, colIndex) {
|