调整代码

This commit is contained in:
guanj
2026-07-09 15:26:01 +08:00
parent 69e6a1f93f
commit 8bca4191f2
4 changed files with 77 additions and 9 deletions

View File

@@ -18,8 +18,8 @@
placeholder="电站名称,终端编号,监测点名称、电压等级、终端厂家、干扰源类型"
v-model="tableStore.table.params.searchValue"
clearable
maxlength="32"
show-word-limit
maxlength="32"
show-word-limit
></el-input>
</el-form-item>
<el-form-item label="电压等级:">
@@ -152,9 +152,23 @@ const tableStore = new TableStore({
}
},
{ field: 'powerFlag', title: '用户性质', width: '120px' },
/* { field: 'comFlag', title: '通讯状态 ', minWidth: 120 },*/
{ field: 'id', title: '监测点序号', minWidth: 90 },
{
field: 'comFlag',
title: '通讯状态',
render: 'tag',
minWidth: 80,
custom: {
中断: 'danger',
正常: 'success'
},
replaceValue: {
中断: '中断',
正常: '正常'
}
},
{
field: 'runFlag',
title: '运行状态',
@@ -166,6 +180,13 @@ const tableStore = new TableStore({
检修: 'warning',
调试: 'warning',
退运: 'danger'
},
replaceValue: {
投运: '投运',
停运: '停运',
检修: '检修',
调试: '调试',
退运: '退运'
}
},
{ field: 'devName', title: '监测终端编号 ', minWidth: 140 },