Browse Source

部分权限

yuhan 9 months ago
parent
commit
90cd9a726d
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/views/module_interLock/systemUser/modules/SystemUserForm.vue

+ 3 - 0
src/views/module_interLock/systemUser/modules/SystemUserForm.vue

@@ -281,6 +281,9 @@
               httpurl+=this.url.edit;
                method = 'put';
             }
+            // 1820384671259701250 -- 联锁系统管理员	
+            // 1820343133955698689 -- 联锁普通SSO用户	
+            this.model.roleId = this.model.isSystem ? '1820384671259701250' : '1820343133955698689'
             httpAction(httpurl,this.model,method).then((res)=>{
               if(res.success){
                 that.$message.success(res.message);