fix(统计业务): 修复formatVipType引用
This commit is contained in:
@@ -142,6 +142,7 @@ export default {
|
|||||||
window.removeEventListener('resize', this.handleResize)
|
window.removeEventListener('resize', this.handleResize)
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
formatVipType,
|
||||||
handleResize() {
|
handleResize() {
|
||||||
this.calculateTableHeight()
|
this.calculateTableHeight()
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -134,6 +134,7 @@ export default {
|
|||||||
window.removeEventListener('resize', this.handleResize)
|
window.removeEventListener('resize', this.handleResize)
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
formatVipType,
|
||||||
handleResize() {
|
handleResize() {
|
||||||
this.calculateTableHeight()
|
this.calculateTableHeight()
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ const VIP_TYPE_MAP = {
|
|||||||
8: '心理学'
|
8: '心理学'
|
||||||
}
|
}
|
||||||
|
|
||||||
export function formatVipType(row = {}) {
|
export function formatVipType (row = {}) {
|
||||||
const vipType = row.vipType
|
const vipType = row.vipType
|
||||||
if (vipType !== '' && vipType !== null && vipType !== undefined) {
|
if (vipType !== '' && vipType !== null && vipType !== undefined) {
|
||||||
const text = String(vipType).trim()
|
const text = String(vipType).trim()
|
||||||
|
|||||||
Reference in New Issue
Block a user