mirror of
https://github.com/yangzongzhuan/RuoYi.git
synced 2025-10-16 18:47:43 +00:00
角色禁用不允许分配
This commit is contained in:
@@ -63,10 +63,11 @@
|
||||
columns: [{
|
||||
checkbox: true,
|
||||
formatter:function (value, row, index) {
|
||||
var state = row.status == '1' ? true : false;
|
||||
if ($.common.isEmpty(value)) {
|
||||
return { checked: row.flag };
|
||||
return { checked: row.flag, disabled: state };
|
||||
} else {
|
||||
return { checked: value }
|
||||
return { checked: value, disabled: state };
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user