|
|
@@ -177,9 +177,9 @@ export default { |
|
|
|
APICore.getDrownConfig({imei: this.imei}).then(res => { |
|
|
|
let data = res.data.data; |
|
|
|
if(data) { |
|
|
|
this.settingItems[4].text = this.concatTitle('危险区域监测', data.enabled === 1 ? '打开': '关闭', data.enabled === 1 ? '耗电高' : '耗电低'); |
|
|
|
this.settingItems[4].text = this.concatTitle('危险区域监测', data.config.enabled === 1 ? '打开': '关闭', data.config.enabled === 1 ? '耗电高' : '耗电低'); |
|
|
|
this.settingItems[4].data = [ |
|
|
|
{ name: '涉水监测:', value: data.enabled === 1 ? '打开': '关闭' }, |
|
|
|
{ name: '涉水监测:', value: data.config.enabled === 1 ? '打开': '关闭' }, |
|
|
|
{ name: '检测周期:', value: data.config.intervallvl1 + data.config.intervallvl2 + '分钟' }, |
|
|
|
{ name: '告警阈值:', value: data.config.warningdistance + '米' }, |
|
|
|
{ name: '涉水停留告警间隔:', value: (data.config.distancelvl2 / 60) + '分钟' }, |
|
|
|