mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-16 06:26:44 +08:00
注释掉--首页机构排名机构简称配置优化处理 --提交人:白金岩
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user