From 6588d5953d21ea47ef0249188ab45f06c896fbd1 Mon Sep 17 00:00:00 2001 From: smallchill Date: Sun, 8 Dec 2019 19:07:18 +0800 Subject: [PATCH] =?UTF-8?q?:zap:=20=E4=BC=98=E5=8C=96=E5=AD=97=E5=85=B8?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=EF=BC=8C=E7=94=A8=E6=88=B7=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=B7=A6=E6=A0=91=E5=8F=B3=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/user.js | 6 +- src/const/system/dict.js | 1 + src/const/system/dictbiz.js | 1 + src/const/user/info.js | 2 +- src/views/system/dict.vue | 192 +++++++++++++++++------------------ src/views/system/dictbiz.vue | 192 +++++++++++++++++------------------ src/views/system/param.vue | 8 +- src/views/system/user.vue | 155 ++++++++++++++++++---------- 8 files changed, 301 insertions(+), 256 deletions(-) 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 @@