完成 谐波监测 稳态统计报表 联调 全局对话框添加可移动属性

This commit is contained in:
GGJ
2024-04-01 11:16:28 +08:00
parent fd71466b22
commit fe60893e89
58 changed files with 984 additions and 1209 deletions

View File

@@ -34,7 +34,11 @@
</el-form-item>
<el-form-item label="筛选">
<el-input v-model="tableStore.table.params.filterName" @keyup="searchEvent" placeholder="输入关键字筛选" />
<el-input
v-model="tableStore.table.params.filterName"
@keyup="searchEvent"
placeholder="输入关键字筛选"
/>
</el-form-item>
</template>
<template #operation>
@@ -94,48 +98,23 @@
</vxe-column>
<vxe-column field="runFlag" title="终端状态">
<template #default="{ row }">
<el-tag
v-if="row.runFlag === 0"
style="color: #fff; background: #0099cc"
size="small"
>
<el-tag v-if="row.runFlag === 0" style="color: #fff; background: #0099cc" size="small">
投运
</el-tag>
<el-tag
v-if="row.runFlag === 1"
style="color: #fff; background: #996600"
size="small"
>
<el-tag v-if="row.runFlag === 1" style="color: #fff; background: #996600" size="small">
热备用
</el-tag>
<el-tag
v-if="row.runFlag === 2"
style="color: #fff; background: #cc0000"
size="small"
>
<el-tag v-if="row.runFlag === 2" style="color: #fff; background: #cc0000" size="small">
停运
</el-tag>
</template>
</vxe-column>
<vxe-column field="comFlag" title="通讯状态">
<template #default="{ row }">
<el-tag
v-if="row.comFlag === 0"
style="color: #fff; background: #cc0000"
size="small"
>
<el-tag v-if="row.comFlag === 0" style="color: #fff; background: #cc0000" size="small">
中断
</el-tag>
<el-tag
v-if="row.comFlag === 1"
style="color: #fff; background: #2e8b57"
size="small"
>
<el-tag v-if="row.comFlag === 1" style="color: #fff; background: #2e8b57" size="small">
正常
</el-tag>
</template>
@@ -170,6 +149,7 @@
</div>
<!-- 终端使用详情 -->
<el-dialog
draggable
v-model="dialogVisiblexq"
v-if="dialogVisiblexq"
title="终端使用详情"
@@ -263,10 +243,10 @@ const tableStore = new TableStore({
}, 0)
}
})
tableStore.table.params.devType=''
tableStore.table.params.runFlag=''
tableStore.table.params.comFlag=''
tableStore.table.params.filterName=''
tableStore.table.params.devType = ''
tableStore.table.params.runFlag = ''
tableStore.table.params.comFlag = ''
tableStore.table.params.filterName = ''
// 处理大数据卡顿
const tree2List = (list: any) => {
//存储结果的数组