diff --git a/sec-beidou/src/main/resources/templates/page/gnss_data_calc.html b/sec-beidou/src/main/resources/templates/page/gnss_data_calc.html index faa28b21..6642db14 100644 --- a/sec-beidou/src/main/resources/templates/page/gnss_data_calc.html +++ b/sec-beidou/src/main/resources/templates/page/gnss_data_calc.html @@ -89,12 +89,12 @@ cols: [[ {field: 'deviceid', title: '设备号'}, {field: 'createtime', title: '上报时间', width:'18%', templet: "
{{layui.util.toDateString(d.createtime, 'yyyy-MM-dd HH:mm:ss')}}
"}, - {field: 'b562e', title: '原始东'}, - {field: 'b562n', title: '原始北'}, - {field: 'b562d', title: '原始天'}, - {field: 'rb562e', title: '相对东'}, - {field: 'rb562n', title: '相对北'}, - {field: 'rb562d', title: '相对天'}, + {field: 'b562e', title: '原始东', templet: "
{{d.b562e.toFixed(2)}}
"}, + {field: 'b562n', title: '原始北', templet: "
{{d.b562n.toFixed(2)}}
"}, + {field: 'b562d', title: '原始天', templet: "
{{d.b562d.toFixed(2)}}
"}, + {field: 'rb562e', title: '相对东', templet: "
{{d.rb562e==null?'':d.rb562e.toFixed(2)}}
"}, + {field: 'rb562n', title: '相对北', templet: "
{{d.rb562n==null?'':d.rb562n.toFixed(2)}}
"}, + {field: 'rb562d', title: '相对天', templet: "
{{d.rb562d==null?'':d.rb562d.toFixed(2)}}
"}, {field: 'enabled', title: '有效',templet: '#enabledTrans'}, {field: 'pps', title: '平均延迟'} ]], diff --git a/sec-beidou/src/main/resources/templates/page/gnss_group_cfg.html b/sec-beidou/src/main/resources/templates/page/gnss_group_cfg.html index def36d1e..b32d562d 100644 --- a/sec-beidou/src/main/resources/templates/page/gnss_group_cfg.html +++ b/sec-beidou/src/main/resources/templates/page/gnss_group_cfg.html @@ -66,7 +66,7 @@ {field: 'active_time', title: '激活时长(分钟)'}, {field: 'active_offset', title: '偏置(分钟)'}, {field: 'rs_adv', title: '基准站提前时间(分钟)'}, - {field: 'power_mode', title: '功耗模式',templet: '#modeTrans'}, + {field: 'power_mode', title: '功耗模式',templet: "
{{d.power_mode==0?'低功耗':'普通'}}
"}, {field: 'device_num', title: '关联设备数'}, {title: '操作', toolbar: '#currentTableBar', align: "center"} ]], @@ -145,10 +145,10 @@ {field: 'filter_hour', title: '滤波周期(小时)'}, {field: 'xy_threshold', title: '水平异常门限(mm)'}, {field: 'z_threshold', title: '垂直异常门限(mm)'}, - {field: 'auto_filter', title: '自适应滤波', templet: '#autoFilterTrans'}, + {field: 'auto_filter', title: '自适应滤波', templet: "
{{d.auto_filter==1?'启用':'禁用'}}
"}, {field: 'filter_min_hour', title: '最小滤波周期'}, {field: 'auto_threshold', title: '触发门限(mm)'}, - {field: 'auto_upload', title: '自动补传', templet: '#autoUploadTrans'}, + {field: 'auto_upload', title: '自动补传', templet: "
{{d.auto_upload==1?'启用':'禁用'}}
"}, {field: 'device_num', title: '关联设备数'}, {title: '操作', toolbar: '#currentTableBar', align: "center"} ]], @@ -311,30 +311,6 @@ } - - - - - - - - \ No newline at end of file diff --git a/sec-beidou/src/main/resources/templates/page/table/gnss_add_group.html b/sec-beidou/src/main/resources/templates/page/table/gnss_add_group.html index b26094b1..6c503c92 100644 --- a/sec-beidou/src/main/resources/templates/page/table/gnss_add_group.html +++ b/sec-beidou/src/main/resources/templates/page/table/gnss_add_group.html @@ -52,7 +52,7 @@
diff --git a/sec-beidou/src/main/resources/templates/page/table/gnss_add_group_calc.html b/sec-beidou/src/main/resources/templates/page/table/gnss_add_group_calc.html index c70948bd..910d74ec 100644 --- a/sec-beidou/src/main/resources/templates/page/table/gnss_add_group_calc.html +++ b/sec-beidou/src/main/resources/templates/page/table/gnss_add_group_calc.html @@ -44,9 +44,9 @@
- + +
@@ -65,9 +65,9 @@
- + +
@@ -119,10 +119,10 @@ $('#filter_hour').val(data.filter_hour); $('#xy_threshold').val(data.xy_threshold); $('#z_threshold').val(data.z_threshold); - $('#auto_filter').val(data.auto_filter); + $('#auto_filter').val(data.auto_filter?'1':'0'); $('#filter_min_hour').val(data.filter_min_hour); $('#auto_threshold').val(data.auto_threshold); - $('#auto_upload').val(data.auto_upload); + $('#auto_upload').val(data.auto_upload?'1':'0'); form.render(); } diff --git a/sec-beidou/src/main/resources/templates/page/warning.html b/sec-beidou/src/main/resources/templates/page/warning.html index 400a8cae..d7b3fc13 100644 --- a/sec-beidou/src/main/resources/templates/page/warning.html +++ b/sec-beidou/src/main/resources/templates/page/warning.html @@ -95,7 +95,7 @@ {field: 'createtime', title: '上报时间', width: '15%', templet: "
{{layui.util.toDateString(d.createtime, 'yyyy-MM-dd HH:mm:ss')}}
"}, {field: 'deviceid', title: '设备号'}, {field: 'devicetype', title: '设备类型'}, - {field: 'level', title: '告警级别'}, + {field: 'level', title: '告警级别',templet: "
{{d.level==2?'严重':'一般'}}
"}, {field: 'code', title: '告警类型'}, {field: 'info', title: '告警内容', width: '35%'} ]],