diff --git a/src/api/system/user.js b/src/api/system/user.js index da6a09b..2d35d0b 100644 --- a/src/api/system/user.js +++ b/src/api/system/user.js @@ -1,16 +1,18 @@ import request from '@/router/axios'; -export const getList = (current, size, params) => { +export const getList = (current, size, params, deptId) => { return request({ - url: '/api/blade-user/list', + url: '/api/blade-user/page', method: 'get', params: { ...params, current, size, + deptId, } }) } + export const remove = (ids) => { return request({ url: '/api/blade-user/remove', diff --git a/src/const/system/dict.js b/src/const/system/dict.js index 531ab9e..adf46ce 100644 --- a/src/const/system/dict.js +++ b/src/const/system/dict.js @@ -44,6 +44,7 @@ export const optionParent = { type: "number", align: "right", width: 80, + hide: true, rules: [ { required: true, diff --git a/src/const/system/dictbiz.js b/src/const/system/dictbiz.js index 531ab9e..adf46ce 100644 --- a/src/const/system/dictbiz.js +++ b/src/const/system/dictbiz.js @@ -44,6 +44,7 @@ export const optionParent = { type: "number", align: "right", width: 80, + hide: true, rules: [ { required: true, diff --git a/src/const/user/info.js b/src/const/user/info.js index a9df9a6..18060ff 100644 --- a/src/const/user/info.js +++ b/src/const/user/info.js @@ -13,7 +13,7 @@ export default { url: 'link', }, canvasOption: { - text: '', + text: ' ', ratio: 0.1 }, action: '/api/blade-resource/oss/endpoint/put-file', diff --git a/src/views/system/dict.vue b/src/views/system/dict.vue index a1b2b56..87f28f7 100644 --- a/src/views/system/dict.vue +++ b/src/views/system/dict.vue @@ -1,101 +1,99 @@