From 76516f4b373695b64e3dd4e7b6382ae7b59190bc Mon Sep 17 00:00:00 2001 From: wenjy Date: Sun, 27 Mar 2022 15:09:37 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20=E6=99=BA=E6=85=A7=E5=9C=BA?= =?UTF-8?q?=E6=99=AF=E5=91=8A=E8=AD=A6=E4=BF=A1=E6=81=AF=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/templates/section/substation.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ruoyi-admin/src/main/resources/templates/section/substation.html b/ruoyi-admin/src/main/resources/templates/section/substation.html index 7f751c4..e5d5969 100644 --- a/ruoyi-admin/src/main/resources/templates/section/substation.html +++ b/ruoyi-admin/src/main/resources/templates/section/substation.html @@ -293,9 +293,9 @@ }); //获取监控单元模块 - const alertListColumns = ['序号', '告警编号', '告警单元', '告警位置', '告警信息', '类型', '告警时间', '处理情况'] + const alertListColumns = [ '告警编号', '告警单元', '告警位置', '告警信息', '类型', '告警时间', '处理情况'] const alertList = new AutoScrollTable(document.getElementById("alert-list"), alertListColumns, { - width: ['10%', '10%', '10%', '10%', '30%', '10%', '10%', '10%'], + width: ['10%', '10%', '10%', '30%', '10%', '10%', '10%'], }) const alertListData = [ @@ -320,7 +320,7 @@ success: (res) => { console.log("告警信息:"+res); - alertList.loadData(res.map(value => [value.alarmModuleId.substring(0,2), value.alarmModuleId.substring(0,2)+"...", value.alarmModuleText,value.sensorLocation,`${"无线检测 相对检测值为:"+value.minValue+"-"+value.maxValue+",其值为:"+value.alarmValue}`, "超限", value.collectTime,`${value.disposeFlag==1?'已处理':'未处理'}`]), Object.keys(alertListColumns)) + alertList.loadData(res.map(value => [value.alarmModuleId.substring(0,2)+"...", value.alarmModuleText,value.sensorLocation,`${"无线检测 相对检测值为:"+value.minValue+"-"+value.maxValue+",其值为:"+value.alarmValue}`, "超限", value.collectTime,`${value.disposeFlag==1?'已处理':'未处理'}`]), Object.keys(alertListColumns)) }, error: () => {