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);