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) {