From a71f8b432ce5afd5f1ac981108636fb6b569ec3f Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Sat, 28 May 2022 18:41:47 +0800
Subject: [PATCH] 角色权限修改
---
src/views/examination/examination.vue | 4 ++--
src/page/index/tags.vue | 2 +-
src/views/system/user.vue | 16 ++++++++--------
src/views/zc/zc.vue | 4 ++--
4 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/src/page/index/tags.vue b/src/page/index/tags.vue
index 2203885..8fe2bbb 100644
--- a/src/page/index/tags.vue
+++ b/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);
diff --git a/src/views/examination/examination.vue b/src/views/examination/examination.vue
index 4eaa638..62baaab 100644
--- a/src/views/examination/examination.vue
+++ b/src/views/examination/examination.vue
@@ -157,10 +157,10 @@
width:95,
prop: "phone",
}, {
- label: "居住地辖区",
+ label: "服务范围",
prop: "xqname",
},{
- label: "工作地辖区",
+ label: "工作单位",
prop: "workname",
},
{
diff --git a/src/views/system/user.vue b/src/views/system/user.vue
index 727bdf3..44643cd 100644
--- a/src/views/system/user.vue
+++ b/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"
}
diff --git a/src/views/zc/zc.vue b/src/views/zc/zc.vue
index e16b3b2..73198a9 100644
--- a/src/views/zc/zc.vue
+++ b/src/views/zc/zc.vue
@@ -159,10 +159,10 @@
// value: "value"
// },
}, {
- label: "居住地辖区",
+ label: "服务范围",
prop: "xqname",
},{
- label: "工作地辖区",
+ label: "工作单位",
prop: "workname",
},
{
--
Gitblit v1.9.3