feat: 添加用户、角色状态修改
This commit is contained in:
@@ -375,7 +375,8 @@ function handleExport() {
|
||||
};
|
||||
/** 用户状态修改 */
|
||||
function handleStatusChange(row) {
|
||||
let text = row.state === false ? "启用" : "停用";
|
||||
console.log(row.state);
|
||||
let text = row.state === true ? "启用" : "停用";
|
||||
proxy.$modal.confirm('确认要"' + text + '""' + row.userName + '"用户吗?').then(function () {
|
||||
return changeUserStatus(row.id, row.state);
|
||||
}).then(() => {
|
||||
|
||||
Reference in New Issue
Block a user