zengh
2022-05-26 89c00344ccc002d3ac92b6d3f979f5e99cb6357c
src/views/zc/zc.vue
@@ -159,8 +159,11 @@
              //   value: "value"
              // },
            }, {
              label: "辖区",
              label: "居住地辖区",
              prop: "xqname",
            },{
              label: "工作地辖区",
              prop: "workname",
            },
            {
              label: "角色",
@@ -226,7 +229,7 @@
      };
    },
    computed: {
      ...mapGetters(["permission"]),
      ...mapGetters(["permission", "userInfo"]),
      permissionList() {
        return {
          addBtn: this.vaildData(this.permission.zc_add, false),
@@ -384,6 +387,9 @@
      },
      onLoad(page, params = {}) {
        this.loading = true;
        if (this.userInfo.role_name != "administrator"){
          params["jurisdiction"] = this.userInfo.workjurisdiction;
        }
        getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => {
          const data = res.data.data;
          this.page.total = data.total;