修改冀北现场问题

This commit is contained in:
GGJ
2025-12-14 12:47:53 +08:00
parent ff2b9db7b8
commit 0b61c4b7ba
55 changed files with 2679 additions and 951 deletions

View File

@@ -153,7 +153,7 @@
<template #default="{ rowIndex }">
<span>
{{
(tableStore.table.params.pageNum - 1) * tableStore.table.params.pageSize +
(pageNum - 1) * pageSize +
rowIndex +
1
}}
@@ -217,7 +217,8 @@ import { getMonitorVerifyDay } from '@/api/device-boot/dataVerify'
defineOptions({
name: 'harmonic-boot/harmonic/getIntegrityData'
})
import { useRoute } from 'vue-router'
const route = useRoute()
const dictData = useDictData()
//字典获取监督对象类型
const pageHeight = mainHeight(97)
@@ -480,6 +481,22 @@ onMounted(() => {
tableStore.index()
})
watch(
() => route.query.t,
async (newValue, oldValue) => {
if (route.fullPath.includes('harmonic-boot/area/OnlineRate')) {
let type = (route.query.type as string) || 'null'
if (type == 'null') {
} else if (type == '1') {
nextTick(() => {
tableStore.table.params.searchValue = (route.query.name as string) || ''
tableStore.index()
})
}
}
},
{ deep: true, immediate: true }
)
tableStore.table.params.name = ''
provide('tableStore', tableStore)