修改冀北现场问题
This commit is contained in:
@@ -444,7 +444,7 @@ const clearQueryParams = () => {
|
||||
|
||||
defineExpose({
|
||||
refresh: (statisticalType?: string) => {
|
||||
tableStore.table.params.statisticalType = options.filter(item => item.id === statisticalType)[0] || ''
|
||||
tableStore.table.params.statisticalType = options.filter(item => item.id == statisticalType)[0] || options[0]
|
||||
|
||||
clearQueryParams()
|
||||
tableHeaderRef.value.setTheDate(3)
|
||||
|
||||
@@ -92,12 +92,11 @@ const tableStore = new TableStore({
|
||||
{
|
||||
field: 'gdName',
|
||||
title: '供电公司',
|
||||
minWidth: 100
|
||||
width: 150
|
||||
},
|
||||
|
||||
{ field: 'subStationName', title: '变电站', minWidth: 150 },
|
||||
{ field: 'projectName', title: '项目名称', minWidth: 150 },
|
||||
{ field: 'subStationName', title: '变电站名称', minWidth: 150 },
|
||||
{
|
||||
field: 'subValue',
|
||||
title: '污染值',
|
||||
@@ -139,7 +138,7 @@ const tableStore = new TableStore({
|
||||
tableStore.table.params.ids = [tableStore.table.params.statisticalType?.id]
|
||||
},
|
||||
loadCallback: () => {
|
||||
tableStore.table.column[5].title = tableStore.table.params.statisticalType.name + '污染值'
|
||||
tableStore.table.column[4].title = tableStore.table.params.statisticalType.name + '污染值'
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user