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