diff --git a/lms/nladmin-ui/src/views/system/user/index.vue b/lms/nladmin-ui/src/views/system/user/index.vue
index 964efedd5..645774fa9 100644
--- a/lms/nladmin-ui/src/views/system/user/index.vue
+++ b/lms/nladmin-ui/src/views/system/user/index.vue
@@ -174,7 +174,9 @@
更多
重置密码
- 部门权限
+
+ 部门权限
+
数据权限
锁定账号
分配角色
@@ -187,6 +189,34 @@
+
+
+
@@ -249,7 +279,9 @@ export default {
{ required: true, message: '请输入用户姓名', trigger: 'blur' },
{ min: 2, max: 20, message: '长度在 2 到 20 个字符', trigger: 'blur' }
]
- }
+ },
+ deptDrawer: false,
+ depChecked: []
}
},
computed: {
@@ -476,6 +508,18 @@ export default {
this.crud.notify('密码重置成功,密码:123456', CRUD.NOTIFICATION_TYPE.SUCCESS)
})
})
+ },
+ openDrawer(row) {
+ this.deptDrawer = true
+ this.depChecked = row.depts
+ console.log(row)
+ },
+ handleClose(done) {
+ this.$confirm('确认关闭?')
+ .then(_ => {
+ done()
+ })
+ .catch(_ => {})
}
}
}