update by fq
This commit is contained in:
@ -389,8 +389,8 @@ function handleSelectionChange(selection) {
|
||||
|
||||
/** 角色状态修改 */
|
||||
function handleStatusChange(row) {
|
||||
let text = row.status === "0" ? "启用" : "停用";
|
||||
proxy.$modal.confirm('确认要"' + text + '""' + row.roleName + '"角色吗?').then(function () {
|
||||
let text = row.status === "1" ? "启用" : "停用";
|
||||
proxy.$modal.confirm('确认要' + text + '"' + row.roleName + '"角色吗?').then(function () {
|
||||
return changeRoleStatus(row.roleId, row.status);
|
||||
}).then(() => {
|
||||
proxy.$modal.msgSuccess(text + "成功");
|
||||
|
Reference in New Issue
Block a user