From b7191cbab8de5a370739cc2ae37f87dc7a6168ed Mon Sep 17 00:00:00 2001 From: chenJinxu <2183691628@qq.com> Date: Wed, 22 Nov 2023 18:00:19 +0800 Subject: [PATCH] =?UTF-8?q?fix=20-=20c1=E5=90=8E=E5=8F=B0=E8=AE=BE?= =?UTF-8?q?=E5=A4=87=E5=8A=9F=E8=80=97=E6=9F=A5=E7=9C=8B=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=20=20=20=20=20-=20=E4=BF=AE=E5=A4=8D=20=E6=B6=89=E6=B0=B4?= =?UTF-8?q?=E7=9B=91=E6=B5=8B=E5=BC=80=E5=85=B3=E6=98=BE=E7=A4=BA=E4=B8=8D?= =?UTF-8?q?=E6=AD=A3=E7=A1=AE=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 9 ++++++++- src/config/models.js | 2 +- src/views/gps-card-frontend/device-setting/index.vue | 4 ++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2a3e5ce..b08b5df 100644 --- a/README.md +++ b/README.md @@ -817,4 +817,11 @@ update update - 心理监测 - 首页 - - 修改 显示时间 \ No newline at end of file + - 修改 显示时间 + + +## v1.0.103 +`2023.11.22` +fix +- c1后台设备功耗查看页面 + - 修复 涉水监测开关显示不正确的问题 \ No newline at end of file diff --git a/src/config/models.js b/src/config/models.js index 796499d..7973a36 100644 --- a/src/config/models.js +++ b/src/config/models.js @@ -5,7 +5,7 @@ * @FilePath: \TelpoH5FrontendWeb\src\config\models.js * @description: */ -export const VERSION_MODEL = '1.0.102F'; //版本号 +export const VERSION_MODEL = '1.0.103F'; //版本号 export const IMAGE_URL = { production: 'http://zfb.ssjlai.com/web/', test: 'http://zfb.ssjlai.com/web/', diff --git a/src/views/gps-card-frontend/device-setting/index.vue b/src/views/gps-card-frontend/device-setting/index.vue index 4bfb745..f573f4d 100644 --- a/src/views/gps-card-frontend/device-setting/index.vue +++ b/src/views/gps-card-frontend/device-setting/index.vue @@ -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) + '分钟' },