CN-599 feat: 新报告功能

This commit is contained in:
chenjinsong
2022-06-08 18:32:52 +08:00
parent 996adc1483
commit e516258a2a
9 changed files with 131 additions and 63 deletions

View File

@@ -90,16 +90,7 @@ export default {
for (let i = 0; i < response.data.list.length; i++) {
response.data.list[i].status = response.data.list[i].status + ''
}
if (this.tableId === 'builtinReportTable') {
this.tableData = response.data.list.map(item => {
return {
...item,
config: item.config ? JSON.parse(item.config) : {}
}
})
} else {
this.tableData = response.data.list
}
this.tableData = response.data.list
this.pageObj.total = response.data.total
// TODO 回到顶部
}