From 0ec6c7ee0b8236cbc6f49a8cc0e466099a09e08d Mon Sep 17 00:00:00 2001 From: haoyahui <2032914783@qq.com> Date: 星期一, 27 十一月 2023 10:25:32 +0800 Subject: [PATCH] 物品报废 --- admin-web/src/views/systemManger/server/user/edit.vue | 21 +++++++++++---------- 1 files changed, 11 insertions(+), 10 deletions(-) diff --git a/admin-web/src/views/systemManger/server/user/edit.vue b/admin-web/src/views/systemManger/server/user/edit.vue index a68d1b5..a97169d 100644 --- a/admin-web/src/views/systemManger/server/user/edit.vue +++ b/admin-web/src/views/systemManger/server/user/edit.vue @@ -149,17 +149,18 @@ methods: { // 鑾峰彇鎵�鏈夎鑹� getAllRole() { - const user = this.$store.getters.userInfo + // const user = this.$store.getters.userInfo + // this.data_scope = 1 + // if (user.lv == 1) { + // this.data_scope = 1 + // } + // if (user.lv == 2) { + // this.data_scope = 2 + // } + // if (user.lv == 3) { + // this.data_scope = 3 + // } this.data_scope = 1 - if (user.lv == 1) { - this.data_scope = 1 - } - if (user.lv == 2) { - this.data_scope = 2 - } - if (user.lv == 3) { - this.data_scope = 3 - } role.listRoleByDataScope({dataScope: this.data_scope}).then(response => { if (response) { this.roleOptions = response; -- Gitblit v1.9.1