部门管理、用户管理、字典管理

This commit is contained in:
2022-12-01 15:47:39 +08:00
parent 9b0d70ae33
commit 0f0baf7299
9 changed files with 69 additions and 7 deletions

View File

@@ -266,7 +266,12 @@ export default {
name: 'User',
components: { Treeselect, crudOperation, rrOperation, udOperation, pagination, DateRangePicker },
cruds() {
return CRUD({ title: '用户', url: 'api/users', crudMethod: { ...crudUser }})
return CRUD({
title: '用户',
url: 'api/users',
sort: ['deptId', 'nickName', 'username'],
crudMethod: { ...crudUser }
})
},
mixins: [presenter(), header(), form(defaultForm), crud()],
// 数据字典