From 20e34e35a3bdc48e6a4c58e3849aa729bd18efe5 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Tue, 15 Feb 2022 19:28:04 +0800 Subject: [PATCH] =?UTF-8?q?v3.4.0=20=E8=A1=A8=E6=A0=BC=E5=8F=B3=E4=BE=A7?= =?UTF-8?q?=E5=B7=A5=E5=85=B7=E6=A0=8F=E7=BB=84=E4=BB=B6=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E6=98=BE=E9=9A=90=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/RightToolbar/index.vue | 50 +++++++++++++++++-- .../src/layout/components/global.js | 3 -- .../src/views/system/user/index.vue | 26 +++++++--- 3 files changed, 64 insertions(+), 15 deletions(-) delete mode 100644 yudao-ui-admin/src/layout/components/global.js diff --git a/yudao-ui-admin/src/components/RightToolbar/index.vue b/yudao-ui-admin/src/components/RightToolbar/index.vue index 494c0b85e..92c65a534 100644 --- a/yudao-ui-admin/src/components/RightToolbar/index.vue +++ b/yudao-ui-admin/src/components/RightToolbar/index.vue @@ -1,4 +1,3 @@ - + diff --git a/yudao-ui-admin/src/layout/components/global.js b/yudao-ui-admin/src/layout/components/global.js deleted file mode 100644 index bbef1f20f..000000000 --- a/yudao-ui-admin/src/layout/components/global.js +++ /dev/null @@ -1,3 +0,0 @@ -import Vue from 'vue' -const global = new Vue() -export default global diff --git a/yudao-ui-admin/src/views/system/user/index.vue b/yudao-ui-admin/src/views/system/user/index.vue index 60163f331..da2a8394c 100644 --- a/yudao-ui-admin/src/views/system/user/index.vue +++ b/yudao-ui-admin/src/views/system/user/index.vue @@ -50,21 +50,21 @@ 导出 - + - - - - - - + + + + + + - + @@ -317,6 +317,16 @@ export default { status: undefined, deptId: undefined }, + // 列信息 + columns: [ + { key: 0, label: `用户编号`, visible: true }, + { key: 1, label: `用户名称`, visible: true }, + { key: 2, label: `用户昵称`, visible: true }, + { key: 3, label: `部门`, visible: true }, + { key: 4, label: `手机号码`, visible: true }, + { key: 5, label: `状态`, visible: true }, + { key: 6, label: `创建时间`, visible: true } + ], // 表单校验 rules: { username: [