暂态事件统计页面联调

This commit is contained in:
stt
2025-11-25 10:14:50 +08:00
parent b0df1157ad
commit 925c9c6f15
3 changed files with 100 additions and 112 deletions

View File

@@ -12,6 +12,7 @@ import Table from '@/components/table/index.vue'
import TableHeader from '@/components/table/header/index.vue'
import { useRoute } from 'vue-router'
import { useTimeCacheStore } from '@/stores/timeCache'
import { useDictData } from '@/stores/dictData'
const prop = defineProps({
w: { type: [String, Number]},
@@ -24,8 +25,9 @@ const prop = defineProps({
const headerHeight = ref(57)
const route = useRoute()
const timeCacheStore = useTimeCacheStore()
const dictData = useDictData()
const sensitiveUserType = dictData.getBasicData('Sensitive_User_Type')
const selectChange = (showSelect: any, height: any, datePickerValue?: any) => {
headerHeight.value = height
@@ -73,7 +75,10 @@ const tableStore: any = new TableStore({
{
title: '敏感负荷类型',
field: 'loadType',
minWidth: '70'
minWidth: '70',
formatter: row => {
return sensitiveUserType.filter(item => item.id == row.cellValue)[0]?.name
}
},
{
title: '是否监测',