修改冀北现场问题
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user