mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-12 16:06: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 { getAgentInfo } from '@/api/ebiz/my/my'
|
||||||
import { getCongratulationList } from '@/api/ebiz/congratulation/congratulation.js'
|
import { getCongratulationList } from '@/api/ebiz/congratulation/congratulation.js'
|
||||||
import dateUtil from '@/assets/js/utils/date-utils.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'
|
import CacheUtils from '@/assets/js/utils/cacheUtils'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
@@ -179,22 +179,22 @@ export default {
|
|||||||
let data = await getCongratulationList({ date: currMonth, queryType: 'm', type: 'kmh' })
|
let data = await getCongratulationList({ date: currMonth, queryType: 'm', type: 'kmh' })
|
||||||
if (this.isInner) {
|
if (this.isInner) {
|
||||||
this.organizationData = data.content
|
this.organizationData = data.content
|
||||||
for (let org of this.organizationData) {
|
// for (let org of this.organizationData) {
|
||||||
for (let shortName of orgShortNames) {
|
// for (let shortName of orgShortNames) {
|
||||||
if (org.code === shortName.code) {
|
// if (org.code === shortName.code) {
|
||||||
org.name = shortName.name
|
// org.name = shortName.name
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
} else {
|
} else {
|
||||||
this.performanceData = data.content.list
|
this.performanceData = data.content.list
|
||||||
for (let org of this.performanceData) {
|
// for (let org of this.performanceData) {
|
||||||
for (let shortName of orgShortNames) {
|
// for (let shortName of orgShortNames) {
|
||||||
if (org.comCode === shortName.code) {
|
// if (org.comCode === shortName.code) {
|
||||||
org.comName = shortName.name
|
// org.comName = shortName.name
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.isTableDataLoad = true
|
this.isTableDataLoad = true
|
||||||
|
|||||||
Reference in New Issue
Block a user