From 951dba0d072760979e1f142dd60eb0040b9ed483 Mon Sep 17 00:00:00 2001
From: dai <851733175@qq.com>
Date: Fri, 16 Sep 2022 11:03:46 +0800
Subject: [PATCH] =?UTF-8?q?=E5=B1=85=E6=B0=91=E4=BF=A1=E6=81=AF=E8=B0=83?=
=?UTF-8?q?=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/modules/shequ/cpts/people-more.vue | 45 +++++++++++--------
.../visual/basicinfo/cpts/people-more.vue | 44 +++++++++++-------
2 files changed, 54 insertions(+), 35 deletions(-)
diff --git a/src/views/modules/shequ/cpts/people-more.vue b/src/views/modules/shequ/cpts/people-more.vue
index d8fc0c050..e227e9a80 100644
--- a/src/views/modules/shequ/cpts/people-more.vue
+++ b/src/views/modules/shequ/cpts/people-more.vue
@@ -296,7 +296,7 @@
@@ -376,6 +376,10 @@ export default {
},
computed: {
+ isShundeju() {
+ return this.$store.state.user.customerId == "1550309684576591874";
+ },
+
xiaoquName() {
const {
xiaoquList,
@@ -600,7 +604,7 @@ export default {
}
});
});
- const arr = [
+ let arr = [
{
groupId: "hs123",
itemList: [],
@@ -609,23 +613,28 @@ export default {
supportAdd: false,
tableName: "ic_hs",
},
- {
- groupId: "hs124",
- itemList: [],
- label: "行程信息",
- sort: 999,
- supportAdd: false,
- tableName: "ic_xc",
- },
- {
- groupId: "hs125",
- itemList: [],
- label: "疫苗信息",
- sort: 999,
- supportAdd: false,
- tableName: "ic_ym",
- },
];
+ if (!this.isShundeju) {
+ arr = [
+ ...arr,
+ {
+ groupId: "hs124",
+ itemList: [],
+ label: "行程信息",
+ sort: 999,
+ supportAdd: false,
+ tableName: "ic_xc",
+ },
+ {
+ groupId: "hs125",
+ itemList: [],
+ label: "疫苗信息",
+ sort: 999,
+ supportAdd: false,
+ tableName: "ic_ym",
+ },
+ ];
+ }
this.groupList = [...this.groupList, ...arr];
} else {
this.$message.error(msg);
diff --git a/src/views/modules/visual/basicinfo/cpts/people-more.vue b/src/views/modules/visual/basicinfo/cpts/people-more.vue
index 0e8239d8e..55a420a7f 100644
--- a/src/views/modules/visual/basicinfo/cpts/people-more.vue
+++ b/src/views/modules/visual/basicinfo/cpts/people-more.vue
@@ -349,6 +349,10 @@ export default {
},
computed: {
+ isShundeju() {
+ return this.$store.state.user.customerId == "1550309684576591874";
+ },
+
xiaoquName() {
const {
xiaoquList,
@@ -565,7 +569,8 @@ export default {
}
});
});
- const arr = [
+
+ let arr = [
{
groupId: "hs123",
itemList: [],
@@ -574,23 +579,28 @@ export default {
supportAdd: false,
tableName: "ic_hs",
},
- {
- groupId: "hs124",
- itemList: [],
- label: "行程信息",
- sort: 999,
- supportAdd: false,
- tableName: "ic_xc",
- },
- {
- groupId: "hs125",
- itemList: [],
- label: "疫苗信息",
- sort: 999,
- supportAdd: false,
- tableName: "ic_ym",
- },
];
+ if (!this.isShundeju) {
+ arr = [
+ ...arr,
+ {
+ groupId: "hs124",
+ itemList: [],
+ label: "行程信息",
+ sort: 999,
+ supportAdd: false,
+ tableName: "ic_xc",
+ },
+ {
+ groupId: "hs125",
+ itemList: [],
+ label: "疫苗信息",
+ sort: 999,
+ supportAdd: false,
+ tableName: "ic_ym",
+ },
+ ];
+ }
this.groupList = [...this.groupList, ...arr];
} else {
this.$message.error(msg);