From 6f673f444911fd309ec61ae542e8b936b47adbd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E6=98=8E=E6=A2=81?= <2429105222@qq.com> Date: Sat, 15 Apr 2023 15:49:44 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E9=97=A8=E4=BB=93=E5=BA=93=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E4=BE=9B=E5=BA=94=E5=95=86=E5=AD=97=E6=AE=B5=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/dept/authDept.vue | 30 +++++++++++++++++++++++--- src/views/system/dept/invWarehouse.vue | 24 +++++++++++++++++++++ 2 files changed, 51 insertions(+), 3 deletions(-) diff --git a/src/views/system/dept/authDept.vue b/src/views/system/dept/authDept.vue index e7fecea..a3e77d4 100644 --- a/src/views/system/dept/authDept.vue +++ b/src/views/system/dept/authDept.vue @@ -2,7 +2,7 @@
- + - + + + @@ -416,6 +424,21 @@ export default { }; return statusMap[status]; }, + + spUerFilterType(status) { + const upUerMap = { + true: "success", + false: "danger", + }; + return upUerMap[status]; + }, + spUerFilterName(status) { + const upUerMap = { + true: "允许", + false: "不允许", + }; + return upUerMap[status]; + }, }, methods: { onReset() { @@ -714,9 +737,10 @@ export default { }, components: {Treeselect}, mounted() { + }, created() { this.getList(); - }, + } }; diff --git a/src/views/system/dept/invWarehouse.vue b/src/views/system/dept/invWarehouse.vue index ba20a97..001e113 100644 --- a/src/views/system/dept/invWarehouse.vue +++ b/src/views/system/dept/invWarehouse.vue @@ -47,6 +47,14 @@ label="上级仓库" > + + +