| | |
| | | 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); |
| | |
| | | width:95, |
| | | prop: "phone", |
| | | }, { |
| | | label: "居住地辖区", |
| | | label: "服务范围", |
| | | prop: "xqname", |
| | | },{ |
| | | label: "工作地辖区", |
| | | label: "工作单位", |
| | | prop: "workname", |
| | | }, |
| | | { |
| | |
| | | display: false, |
| | | }, |
| | | { |
| | | label: "居住地辖区", |
| | | label: "服务范围", |
| | | prop: "jurisdiction", |
| | | search: true, |
| | | overHidden: true, |
| | |
| | | display: false, |
| | | }, |
| | | { |
| | | label: "工作地辖区", |
| | | label: "工作单位", |
| | | prop: "workjurisdiction", |
| | | search: true, |
| | | overHidden: true, |
| | |
| | | viewDisplay: true, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | required: false, |
| | | message: "请选择行政区", |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | label: "居住地辖区", |
| | | label: "服务范围", |
| | | prop: "jurisdiction", |
| | | overHidden: true, |
| | | parent: false, |
| | |
| | | checkStrictly: true, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "请选择所属辖区", |
| | | required: false, |
| | | message: "请选择服务范围", |
| | | trigger: "click" |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | label: "工作地辖区", |
| | | label: "工作单位", |
| | | prop: "workjurisdiction", |
| | | overHidden: true, |
| | | parent: false, |
| | |
| | | checkStrictly: true, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | required: false, |
| | | message: "请选择所属辖区", |
| | | trigger: "click" |
| | | } |
| | |
| | | // value: "value" |
| | | // }, |
| | | }, { |
| | | label: "居住地辖区", |
| | | label: "服务范围", |
| | | prop: "xqname", |
| | | },{ |
| | | label: "工作地辖区", |
| | | label: "工作单位", |
| | | prop: "workname", |
| | | }, |
| | | { |