From d5fe0b27048b64c9904d1f8332422ce718787ba0 Mon Sep 17 00:00:00 2001 From: odc.xiaohui <xiaohui@Q1> Date: 星期三, 14 十二月 2022 16:03:20 +0800 Subject: [PATCH] 2022-12-14 肖辉 用户管理模块-新建用户密码校验修改 智能巡查模块-预警研判样式修改 --- src/views/systemSetting/baseSetting/user/components/updateUser/index.vue | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/systemSetting/baseSetting/user/components/updateUser/index.vue b/src/views/systemSetting/baseSetting/user/components/updateUser/index.vue index cbd53a4..4b73e8f 100644 --- a/src/views/systemSetting/baseSetting/user/components/updateUser/index.vue +++ b/src/views/systemSetting/baseSetting/user/components/updateUser/index.vue @@ -130,8 +130,8 @@ } else { this.$axios({ - method: 'post', - url: 'sccg/admin/role/update?adminId=' + user.id + '&roleIds=' + user.role, + method: 'put', + url: 'sccg/depart/user_update_Role?id=' + user.id + '&roles=' + user.role, }) .then(res => { this.$message({ @@ -175,6 +175,7 @@ }, // 閮ㄩ棬淇敼 handleCheck(data, checked) { + console.log(this.selectOrg.orgsid[0]) this.user.departName = data.departName; // 鑾峰彇褰撳墠閫夋嫨鐨刬d鍦ㄦ暟缁勪腑鐨勭储寮� const indexs = this.selectOrg.orgsid.indexOf(data.id); -- Gitblit v1.8.0