From ac5d937366f78d0fa5a0728d068b7fd24ad8d232 Mon Sep 17 00:00:00 2001 From: "3321822538@qq.com" <3321822538@qq.com> Date: Mon, 30 Sep 2024 17:13:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=BD=A9=E9=93=83=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/http.interceptor.js | 4 +-- .../statulist/taocanlist/addtaocan/index.vue | 26 ++++++++++++++++--- 2 files changed, 25 insertions(+), 5 deletions(-) diff --git a/common/http.interceptor.js b/common/http.interceptor.js index 9c734f5..dec621d 100644 --- a/common/http.interceptor.js +++ b/common/http.interceptor.js @@ -19,8 +19,8 @@ const install = (Vue, vm) => { // }, // }); Vue.prototype.$u.http.setConfig({ - // baseUrl: 'http://192.168.2.81:10002', - baseUrl: 'https://kg.chuangtewl.com/prod-api', + baseUrl: 'http://192.168.2.81:10002', + // baseUrl: 'https://kg.chuangtewl.com/prod-api', // loadingText: '努力加载中~', // loadingTime: 1000, // 设置自定义头部content-type diff --git a/page_fenbao/statulist/taocanlist/addtaocan/index.vue b/page_fenbao/statulist/taocanlist/addtaocan/index.vue index ed16699..f9bd8d1 100644 --- a/page_fenbao/statulist/taocanlist/addtaocan/index.vue +++ b/page_fenbao/statulist/taocanlist/addtaocan/index.vue @@ -275,7 +275,7 @@ v-model="description" placeholder="输入说明解释" auto-height="true" /> --> - + 低功率输出时自动断电 @@ -286,6 +286,18 @@ 该功能仅在在线状态下才能正常使用! + + + + 剩余时间不足语音提示 + + + 剩余时长 分钟 + + + 该功能仅在在线状态下才能正常使用! + + @@ -335,7 +347,9 @@ data() { return { power:'', + powes:'', checked:false, + checkes:false, btnmsk: false, deviceId: '', name: '', @@ -572,7 +586,9 @@ gearAmount: this.gearAmount, gearTime: this.feeType === 3 || this.feeType === 4 ? this.gearTime : (this.gearTime = []), enabledLowPowerClose:this.checked, - lowPower:this.power + enabledVoice:this.checkes, + lowPower:this.power, + voiceMinutes:this.powes } this.$u.post('/app/suit', data).then((res) => { if (res.code == 200) { @@ -627,7 +643,9 @@ gearAmount: this.gearAmount, gearTime: this.feeType === 3 || this.feeType === 4 ? this.gearTime : (this.gearTime = []), enabledLowPowerClose:this.checked, - lowPower:this.power + enabledVoice:this.checkes, + lowPower:this.power, + voiceMinutes:this.powes } this.$u.put('/app/suit', data).then((res) => { if (res.code == 200) { @@ -806,7 +824,9 @@ this.description = res.data.description this.deviceList = res.data.deviceList this.checked = res.data.enabledLowPowerClose + this.checkes = res.data.enabledVoice this.power = res.data.lowPower + this.powes = res.data.voiceMinutes this.deviceList.forEach(item => { this.tcidlist.push(item.deviceId) })