From a6a6636eff32045d0dd636892e975ff1fb3fbdd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BC=BA?= <1206709430@qq.com> Date: Thu, 2 Jun 2022 10:04:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=9F=E8=83=BD=E5=8F=98=E5=8C=96:=20?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=94=A8=E6=88=B7=E7=AE=A1=E7=90=86=E4=B8=AD?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E8=A7=92=E8=89=B2=E6=97=B6=E5=B1=95=E7=A4=BA?= =?UTF-8?q?=E6=97=A0=E6=95=88=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/views/system/user/crud.js | 32 ++----------------------------- 1 file changed, 2 insertions(+), 30 deletions(-) diff --git a/web/src/views/system/user/crud.js b/web/src/views/system/user/crud.js index e68ab65..9838106 100644 --- a/web/src/views/system/user/crud.js +++ b/web/src/views/system/user/crud.js @@ -177,14 +177,6 @@ export const crudOptions = (vm) => { url: deptPrefix, value: 'id', // 数据字典中value字段的属性名 label: 'name' // 数据字典中label字段的属性名 - // getData: (url, dict, { form, component }) => { - // return request({ url: url, params: { page: 1, limit: 10, status: 1 } }).then(ret => { - // component._elProps.page = ret.data.page - // component._elProps.limit = ret.data.limit - // component._elProps.total = ret.data.total - // return ret.data.data - // }) - // } }, form: { rules: [ // 表单校验规则 @@ -199,23 +191,7 @@ export const crudOptions = (vm) => { component: { span: 12, pagination: true, - props: { multiple: false }, - elProps: { - columns: [ - { - field: 'name', - title: '部门名称' - }, - { - field: 'status_label', - title: '状态' - }, - { - field: 'parent_name', - title: '父级部门' - } - ] - } + props: { multiple: false } } } }, @@ -284,7 +260,7 @@ export const crudOptions = (vm) => { search: { disabled: false }, - width: 140, + width: 145, type: 'select', dict: { data: vm.dictionary('user_type') @@ -388,10 +364,6 @@ export const crudOptions = (vm) => { { field: 'key', title: '权限标识' - }, - { - field: 'status_label', - title: '状态' } ] }