From dc34c35f3fb9275d324e0f2235978a881b5f9348 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E7=AC=99=E6=AD=8C?= <2277317060@qq.com> Date: Mon, 6 Jun 2022 17:22:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/static/js/tankShell/device.js | 14 +++++++------- .../target/classes/static/js/tankShell/device.js | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/productionboard/src/main/resources/static/js/tankShell/device.js b/productionboard/src/main/resources/static/js/tankShell/device.js index 7e5b917..da0de5f 100644 --- a/productionboard/src/main/resources/static/js/tankShell/device.js +++ b/productionboard/src/main/resources/static/js/tankShell/device.js @@ -26,13 +26,13 @@ $(() => { success: function (res) { let Res = res Res.data.forEach(val => { - val[0] = 'sc-228NE' - val[1] = '431' - val[2] = '0' - val[3] = '431' - val[4] = '0%' + val[0] = 'SHEBEI452736' + val[1] = 'AGYM45HH23' + val[2] = '32' + val[3] = '2021.01.01 10:00:00' + delete val[4] }); - Res.header = ['型号', '计划数', '完成数', '差异数', '执行进度'] + Res.header = ['设备名称', '参数名称', '当前值', '时间', ] dynamicTable({ el: '#productionPlan', rowNum: 5, @@ -45,7 +45,7 @@ $(() => { headerBGC: 'rgba(8,36,75,0.2)', oddRowBGC: 'rgba(8,36,75,0.2)', evenRowBGC: 'rgba(6,25,57,0.2)', - colWidth: ['100%', '100%', '100%', '100%', '100%'] + colWidth: ['100%', '100%', '40%', '160%', ] }); }, error: function (e) { diff --git a/productionboard/target/classes/static/js/tankShell/device.js b/productionboard/target/classes/static/js/tankShell/device.js index 7e5b917..da0de5f 100644 --- a/productionboard/target/classes/static/js/tankShell/device.js +++ b/productionboard/target/classes/static/js/tankShell/device.js @@ -26,13 +26,13 @@ $(() => { success: function (res) { let Res = res Res.data.forEach(val => { - val[0] = 'sc-228NE' - val[1] = '431' - val[2] = '0' - val[3] = '431' - val[4] = '0%' + val[0] = 'SHEBEI452736' + val[1] = 'AGYM45HH23' + val[2] = '32' + val[3] = '2021.01.01 10:00:00' + delete val[4] }); - Res.header = ['型号', '计划数', '完成数', '差异数', '执行进度'] + Res.header = ['设备名称', '参数名称', '当前值', '时间', ] dynamicTable({ el: '#productionPlan', rowNum: 5, @@ -45,7 +45,7 @@ $(() => { headerBGC: 'rgba(8,36,75,0.2)', oddRowBGC: 'rgba(8,36,75,0.2)', evenRowBGC: 'rgba(6,25,57,0.2)', - colWidth: ['100%', '100%', '100%', '100%', '100%'] + colWidth: ['100%', '100%', '40%', '160%', ] }); }, error: function (e) {