zengh
2022-05-28 a71f8b432ce5afd5f1ac981108636fb6b569ec3f
角色权限修改
4 files modified
26 ■■■■ changed files
src/page/index/tags.vue 2 ●●● patch | view | raw | blame | history
src/views/examination/examination.vue 4 ●●●● patch | view | raw | blame | history
src/views/system/user.vue 16 ●●●● patch | view | raw | blame | history
src/views/zc/zc.vue 4 ●●●● patch | view | raw | blame | history
src/page/index/tags.vue
@@ -67,7 +67,7 @@
      this.setActive();
      this.tagList.forEach((item, index) => {
        if (item.label == "首页" && (this.userInfo.isweb == "1" || this.userInfo.role_name == "policeAdmin" || this.userInfo.role_name == "administrator")){
          // if (item.label == "首页" && (this.userInfo.role_name == "police" || this.userInfo.role_name == "policeAdmin" || this.userInfo.role_name == "administrator")){
          //if (item.label == "首页" && (this.userInfo.role_name == "police" || this.userInfo.role_name == "policeAdmin" || this.userInfo.role_name == "administrator")){
          this.$store.commit("set_hideHome", false);
        }else if (item.label == "首页" && (this.userInfo.role_name == "操作员")) {
          this.tagList.splice(index, 1);
src/views/examination/examination.vue
@@ -157,10 +157,10 @@
              width:95,
              prop: "phone",
            }, {
              label: "居住地辖区",
              label: "服务范围",
              prop: "xqname",
            },{
              label: "工作地辖区",
              label: "工作单位",
              prop: "workname",
            },
            {
src/views/system/user.vue
@@ -328,7 +328,7 @@
            display: false,
          },
          {
            label: "居住地辖区",
            label: "服务范围",
            prop: "jurisdiction",
            search: true,
            overHidden: true,
@@ -345,7 +345,7 @@
            display: false,
          },
          {
            label: "工作地辖区",
            label: "工作单位",
            prop: "workjurisdiction",
            search: true,
            overHidden: true,
@@ -476,14 +476,14 @@
                viewDisplay: true,
                rules: [
                  {
                    required: true,
                    required: false,
                    message: "请选择行政区",
                    trigger: "blur",
                  },
                ],
              },
              {
                label: "居住地辖区",
                label: "服务范围",
                prop: "jurisdiction",
                overHidden: true,
                parent: false,
@@ -496,14 +496,14 @@
                checkStrictly: true,
                rules: [
                  {
                    required: true,
                    message: "请选择所属辖区",
                    required: false,
                    message: "请选择服务范围",
                    trigger: "click"
                  }
                ]
              },
              {
                label: "工作地辖区",
                label: "工作单位",
                prop: "workjurisdiction",
                overHidden: true,
                parent: false,
@@ -516,7 +516,7 @@
                checkStrictly: true,
                rules: [
                  {
                    required: true,
                    required: false,
                    message: "请选择所属辖区",
                    trigger: "click"
                  }
src/views/zc/zc.vue
@@ -159,10 +159,10 @@
              //   value: "value"
              // },
            }, {
              label: "居住地辖区",
              label: "服务范围",
              prop: "xqname",
            },{
              label: "工作地辖区",
              label: "工作单位",
              prop: "workname",
            },
            {