联调 在线监测详情

This commit is contained in:
GGJ
2024-07-09 13:20:11 +08:00
parent d3b7219854
commit 609489a4c5
5 changed files with 41 additions and 34 deletions

View File

@@ -8,7 +8,7 @@
</el-form-item>
<el-form-item label="监测点性质">
<el-select v-model="tableStore.table.params.lineType" clearable>
<el-option label="电网侧" value="0" />
<el-option label="电网侧" value="0" />
<el-option label="非电网侧" value="1" />
</el-select>
</el-form-item>
@@ -175,7 +175,8 @@ const tableStore = new TableStore({
click: row => {
detailRef.value.open({
text: '详情',
form: list.value
row: row.row,
list: list.value
})
}
},
@@ -281,10 +282,13 @@ const tableStore = new TableStore({
beforeSearchFun: () => {
tableStore.table.params.currentPage = tableStore.table.params.pageNum
list.value.deptId = tableStore.table.params.deptId
list.value.searchBeginTime = tableStore.table.params.searchBeginTime
list.value.searchEndTime = tableStore.table.params.searchEndTime
list.value.alertThreshold = tableStore.table.params.alertThreshold
if (tableStore.table.params.alertThreshold != '') {
list.value.alertThreshold = tableStore.table.params.alertThreshold
}
list.value.lineType = tableStore.table.params.lineType
list.value.alarmThreshold = tableStore.table.params.alarmThreshold
flag.value = level.value
flagTime.value = tableStore.table.params.dataType == 0 ? true : false
@@ -353,7 +357,7 @@ const launch = (title: string) => {
form: list.value,
row: tableStore.table.selection
})
console.log("🚀 ~ launch ~ list.value:", list.value)
console.log('🚀 ~ launch ~ list.value:', list.value)
}
const changeArea = e => {
level.value = e.data.level