异常数据表格内容过滤调整
This commit is contained in:
@@ -33,7 +33,6 @@
|
|||||||
field="targetName"
|
field="targetName"
|
||||||
title="指标类型"
|
title="指标类型"
|
||||||
min-width="100px"
|
min-width="100px"
|
||||||
:formatter="formatter"
|
|
||||||
></vxe-column>
|
></vxe-column>
|
||||||
<vxe-column field="phaseType" title="相别" width="60px"></vxe-column>
|
<vxe-column field="phaseType" title="相别" width="60px"></vxe-column>
|
||||||
|
|
||||||
@@ -115,8 +114,6 @@ const currentChangeEvent = () => {
|
|||||||
const formatter = (row: any) => {
|
const formatter = (row: any) => {
|
||||||
if (row.column.field == 'time') {
|
if (row.column.field == 'time') {
|
||||||
return clickRow.value.date + ' ' + row.cellValue
|
return clickRow.value.date + ' ' + row.cellValue
|
||||||
} else if (row.column.field == 'targetName') {
|
|
||||||
return StatisList.filter(item => item.code == row.cellValue)[0].name
|
|
||||||
} else if (row.column.field == 'type') {
|
} else if (row.column.field == 'type') {
|
||||||
return row.cellValue === 'null' ? '/' : row.cellValue
|
return row.cellValue === 'null' ? '/' : row.cellValue
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user