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) })