liuyg
2021-09-24 c4e67a8942e514b65ab41bb19781d50576c15725
src/views/system/user.vue
@@ -50,7 +50,7 @@
              type="info"
              size="small"
              plain
              v-if="permission.user_role"
              v-if="permission.user_role && isguanli"
              icon="el-icon-user"
              @click="handleGrant"
              >角色配置
@@ -221,6 +221,8 @@
      }
    };
    return {
      isguanli: true,
      sizes: [5, 19],
      deptids: null,
@@ -771,6 +773,8 @@
    if (this.userInfo.role_name == "保安公司管理员") {
      this.deptids = this.userInfo.dept_id;
      this.sizes = [0, 24];
      this.isguanli = false;
      // this.option.group[2].value = this.userInfo.Id;
    } else {
      this.deptids = null;
      this.sizes = [5, 19];