From 98cbf000bcf651f88acdef2eca46d46794159f6c Mon Sep 17 00:00:00 2001 From: jiangyy Date: Wed, 7 Dec 2022 09:27:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E5=AF=A8=E5=AD=90=E5=8E=BB=E9=99=A4?= =?UTF-8?q?=E7=96=AB=E8=8B=97=E8=AE=B0=E5=BD=95=E5=92=8C=E8=A1=8C=E7=A8=8B?= =?UTF-8?q?=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/shequ/cpts/people-more.vue | 16 +++++++++++++++- .../visual/basicinfo/cpts/people-more.vue | 17 +++++++++++++++-- 2 files changed, 30 insertions(+), 3 deletions(-) diff --git a/src/views/modules/shequ/cpts/people-more.vue b/src/views/modules/shequ/cpts/people-more.vue index 8e20b49ef..1f7d8d23f 100644 --- a/src/views/modules/shequ/cpts/people-more.vue +++ b/src/views/modules/shequ/cpts/people-more.vue @@ -308,6 +308,9 @@ export default { data () { return { + customerId: '', + isXiaozhaizi: false, + fieldList: [], groupList: [], groupIndex: 0, @@ -405,6 +408,16 @@ export default { }, mounted () { + //磐石街道:1580460084738760705 + //烟台客户id: 1535072605621841922 + //小寨子客户id: 1536638904600752130 + this.customerId = localStorage.getItem("customerId"); + + this.isXiaozhaizi = false + + if (this.customerId === '1536638904600752130') { + this.isXiaozhaizi = true + } this.getApiData(); }, @@ -589,7 +602,8 @@ export default { tableName: "ic_hs", }, ]; - if (!this.isShundeju) { + + if (!this.isShundeju && !this.isXiaozhaizi) { arr = [ ...arr, { diff --git a/src/views/modules/visual/basicinfo/cpts/people-more.vue b/src/views/modules/visual/basicinfo/cpts/people-more.vue index 3084ebbe4..8decf5b23 100644 --- a/src/views/modules/visual/basicinfo/cpts/people-more.vue +++ b/src/views/modules/visual/basicinfo/cpts/people-more.vue @@ -211,6 +211,9 @@ export default { data () { return { + customerId: '', + isXiaozhaizi: false, + fieldList: [], groupList: [], groupIndex: 0, @@ -395,6 +398,16 @@ export default { }, mounted () { + //磐石街道:1580460084738760705 + //烟台客户id: 1535072605621841922 + //小寨子客户id: 1536638904600752130 + this.customerId = localStorage.getItem("customerId"); + + this.isXiaozhaizi = false + + if (this.customerId === '1536638904600752130') { + this.isXiaozhaizi = true + } this.getApiData(); }, @@ -536,7 +549,7 @@ export default { } }); }); - + await Promise.all( this.groupList.map((subList, index) => { return Promise.all( @@ -564,7 +577,7 @@ export default { tableName: "ic_hs", }, ]; - if (!this.isShundeju) { + if (!this.isShundeju && !this.isXiaozhaizi) { arr = [ ...arr, {