Administrator
2021-11-22 c0de8fbd00e7a6cf227db8773654250c63169edd
用户新增修改
2 files modified
4 ■■■■ changed files
src/views/securityGuard/securityGuard.vue 2 ●●● patch | view | raw | blame | history
src/views/system/user.vue 2 ●●● patch | view | raw | blame | history
src/views/securityGuard/securityGuard.vue
@@ -2019,7 +2019,7 @@
      roleIds.forEach((roleId) => {
        getRoleDetail(roleId).then((res) => {
          var roleAlias = res.data.data.roleAlias;
          if (roleAlias == "保安公司管理员" || roleAlias == "保安") {
          if (roleAlias == "保安公司管理员" || roleAlias == "保安" || roleAlias == "分公司管理员") {
            //去除保安公司查询
            const column = that.findObject(that.option.column, "deptId");
            column.search = false;
src/views/system/user.vue
@@ -691,7 +691,7 @@
  },
  created() {
    console.log(this.userInfo.role_name);
    if (this.userInfo.role_name == "保安公司管理员") {
    if (this.userInfo.role_name == "保安公司管理员" || this.userInfo.role_name == "分公司管理员") {
      this.deptids = this.userInfo.dept_id;
      this.sizes = [0, 24];
      this.isguanli = false;