From cf2fc5ef463016f84db3e311d6a511b5182cc461 Mon Sep 17 00:00:00 2001 From: liyuetong Date: Thu, 28 Oct 2021 21:10:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A=E6=8E=89--=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E6=9C=BA=E6=9E=84=E6=8E=92=E5=90=8D=E6=9C=BA=E6=9E=84=E7=AE=80?= =?UTF-8?q?=E7=A7=B0=E9=85=8D=E7=BD=AE=E4=BC=98=E5=8C=96=E5=A4=84=E7=90=86?= =?UTF-8?q?=20--=E6=8F=90=E4=BA=A4=E4=BA=BA=EF=BC=9A=E7=99=BD=E9=87=91?= =?UTF-8?q?=E5=B2=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/product/HomeProduct.vue | 30 +++++++++++++------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/views/ebiz/product/HomeProduct.vue b/src/views/ebiz/product/HomeProduct.vue index 5e4d4f3f1..a13ea83f9 100644 --- a/src/views/ebiz/product/HomeProduct.vue +++ b/src/views/ebiz/product/HomeProduct.vue @@ -134,7 +134,7 @@ import product from '@/assets/images/goodStart/product.png' import { getAgentInfo } from '@/api/ebiz/my/my' import { getCongratulationList } from '@/api/ebiz/congratulation/congratulation.js' import dateUtil from '@/assets/js/utils/date-utils.js' -// import { orgShortNames } from '@/assets/js/utils/orgShortName' +import { orgShortNames } from '@/assets/js/utils/orgShortName' import CacheUtils from '@/assets/js/utils/cacheUtils' export default { components: { @@ -179,22 +179,22 @@ export default { let data = await getCongratulationList({ date: currMonth, queryType: 'm', type: 'kmh' }) if (this.isInner) { this.organizationData = data.content - // for (let org of this.organizationData) { - // for (let shortName of orgShortNames) { - // if (org.code === shortName.code) { - // org.name = shortName.name - // } - // } - // } + for (let org of this.organizationData) { + for (let shortName of orgShortNames) { + if (org.code === shortName.code) { + org.name = shortName.name + } + } + } } else { this.performanceData = data.content.list - // for (let org of this.performanceData) { - // for (let shortName of orgShortNames) { - // if (org.comCode === shortName.code) { - // org.comName = shortName.name - // } - // } - // } + for (let org of this.performanceData) { + for (let shortName of orgShortNames) { + if (org.comCode === shortName.code) { + org.comName = shortName.name + } + } + } } this.$nextTick(() => { this.isTableDataLoad = true