const exportDataNew = this.exportData.map(i => {
return {
...i,
state: this.stateToString(i.state)
}
})
stateToString(state) {
switch (state) {
case 1:
return '待审核'
case 2:
return '审核失败'
case 3:
return '已审核'
}
},
const exportDataNew = this.exportData.map(i => {
return {
...i,
state: this.stateToString(i.state)
}
})
stateToString(state) {
switch (state) {
case 1:
return '待审核'
case 2:
return '审核失败'
case 3:
return '已审核'
}
},