From 01cf1eec38dbb6c006900ea114ee68397bf9c91b Mon Sep 17 00:00:00 2001 From: fengyarnom Date: Thu, 16 Jan 2025 11:18:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=97=A5=E5=BF=97=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/templates/page/gnss_single_data.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sec-beidou/src/main/resources/templates/page/gnss_single_data.html b/sec-beidou/src/main/resources/templates/page/gnss_single_data.html index 6b93c58e..67bcdd96 100644 --- a/sec-beidou/src/main/resources/templates/page/gnss_single_data.html +++ b/sec-beidou/src/main/resources/templates/page/gnss_single_data.html @@ -88,11 +88,12 @@ var echartsDevice = echarts.init(document.getElementById('echarts-gnss'), 'walden'); var data_cols = [ {field: 'deviceid', title: '设备号'}, + {field: 'model', title: '模块', templet: '#model'}, {field: 'createtime', title: '产生时间', width:'18%', templet: "
{{layui.util.toDateString(d.createtime, 'yyyy-MM-dd HH:mm:ss')}}
"}, {field: 'x', title: '东'}, {field: 'y', title: '北'}, {field: 'z', title: '天'}, - {field: 'status', title: '状态'} + {field: 'status', title: '状态', templet: '#status'} ]; /** * 初始化表单,要加上,不然刷新部分组件可能会不加载 @@ -122,7 +123,7 @@ skin: 'line', done: function (result, curr, count) { if(searchDeviceId){ - console.log(result.data); + console.log(result.data); showChart(result.data) } }