字典判重复,用户排序显示
This commit is contained in:
@@ -285,7 +285,7 @@ export default {
|
||||
}).then(() => {
|
||||
crudDept.edit(data).then(res => {
|
||||
this.crud.notify(this.dict.label.dept_status[val] + '成功', CRUD.NOTIFICATION_TYPE.SUCCESS)
|
||||
// this.crud.toQuery()
|
||||
this.crud.toQuery()
|
||||
}).catch(err => {
|
||||
data.enabled = !data.enabled
|
||||
console.log(err.response.data.message)
|
||||
|
||||
@@ -269,7 +269,7 @@ export default {
|
||||
return CRUD({
|
||||
title: '用户',
|
||||
url: 'api/users',
|
||||
sort: ['deptId', 'nickName', 'username'],
|
||||
sort: ['deptId', 'username'],
|
||||
crudMethod: { ...crudUser }
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user