修改冀北现场问题

This commit is contained in:
GGJ
2025-12-17 09:22:19 +08:00
parent 264f33302f
commit 92aa66436e
25 changed files with 493 additions and 366 deletions

View File

@@ -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)

View File

@@ -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 + '污染值'
}
})

View File

@@ -40,8 +40,10 @@
</el-tab-pane>
<el-tab-pane label="监测点运行状态" name="6" lazy v-if="!isReload">
<Yunxingzhuangtai v-if="activeName == '6'" />
</el-tab-pane>
<!-- -->
</el-tab-pane>
<el-tab-pane label="实时数据" name="7" lazy v-if="!isReload">
<Shishishuju v-if="activeName == '7'" />
</el-tab-pane>
<el-tab-pane label="统计报表" name="8" lazy v-if="!isReload && VITE_FLAG">
<StatisticalReport v-if="activeName == '8'" />
</el-tab-pane>
@@ -148,7 +150,7 @@ watch(
activeName.value = type
setTimeout(() => {
pointTree.value.scrollToNode(lineId)
monitoringPoint.setValue('lineName', findNodeByTreeId(pointTree.value.tree, lineId).alias)
}, 500)
}, 1000)