This commit is contained in:
3321822538@qq.com 2024-12-31 17:54:27 +08:00
parent 8ff13508d8
commit 26c133389e
6 changed files with 19 additions and 7 deletions

View File

@ -296,7 +296,7 @@
}, },
btntc() { btntc() {
uni.navigateTo({ uni.navigateTo({
url: '/page_fenbao/statulist/taocanlist/addtaocan/index?id=' + this.id url: '/page_fenbao/statulist/taocanlist/addtaocan/index?id=' + this.id + '&modevalue=' + 4
}) })
}, },
btnlyqx() { btnlyqx() {

View File

@ -710,6 +710,7 @@
}) })
setTimeout(() => { setTimeout(() => {
this.btnmsk = false this.btnmsk = false
console.log(this.modevalue);
if (this.modevalue == 1) { if (this.modevalue == 1) {
uni.reLaunch({ uni.reLaunch({
url: '/page_fenbao/statulist/taocanlist/index?id=' + url: '/page_fenbao/statulist/taocanlist/index?id=' +
@ -727,6 +728,12 @@
this.deviceId + '&modevalue=' + this.modevalue + this.deviceId + '&modevalue=' + this.modevalue +
'&sn=' + this.sn '&sn=' + this.sn
}) })
}else if(this.modevalue == 4){
uni.reLaunch({
url: '/page_components/bindszthr?id=' +
this.deviceId + '&modevalue=' + this.modevalue +
'&sn=' + this.sn
})
} }
}, 1000) }, 1000)
} else { } else {

View File

@ -53,8 +53,8 @@
<button @click="btnyc">好的</button> <button @click="btnyc">好的</button>
</view> </view>
<view v-if="mengcflag" class="mengc" <!-- <view v-if="mengcflag" class="mengc"
style="width: 100%;height: 100vh;background-color: #000;opacity: .5;position: fixed;top: 0;left: 0;"></view> style="width: 100%;height: 100vh;background-color: #000;opacity: .5;position: fixed;top: 0;left: 0;"></view> -->
<!-- 选择蓝牙型号 --> <!-- 选择蓝牙型号 -->
<u-select v-model="shows" :list="arr" @confirm="confirm"></u-select> <u-select v-model="shows" :list="arr" @confirm="confirm"></u-select>

View File

@ -55,7 +55,7 @@
</view> </view>
</view> </view>
<view class="tip">注意缴费收入将直接结算至收款账户请谨慎填写 </view> <view class="tip">注意该账号为微信对应的商户号提现后将自动打款至微信钱包 </view>
</view> </view>
</view> </view>
</template> </template>

View File

@ -25,7 +25,7 @@
电压{{obj.voltage == undefined ? '--' : obj.voltage}}V 电压{{obj.voltage == undefined ? '--' : obj.voltage}}V
</view> </view>
<view class="machao"> <view class="machao">
功率{{obj.realTimePower == undefined ? '--' : obj.realTimePower}}KW 功率{{obj.realTimePower == undefined ? '--' : obj.realTimePower}}W
</view> </view>
<view class="machao"> <view class="machao">
电流{{obj.electricity == undefined ? '--' : obj.electricity}}A 电流{{obj.electricity == undefined ? '--' : obj.electricity}}A

View File

@ -962,8 +962,13 @@
title: '修改成功', title: '修改成功',
icon: 'success', icon: 'success',
duration: 2000 duration: 2000
}); })
}else{
uni.showToast({
title: res.msg,
icon: 'success',
duration: 2000
})
} }
}) })
}, },