- 频闪灯开关:
+ 开启门锁:
@@ -125,8 +125,8 @@
switchTopState(e) {
console.log(e)
- let text = e ==true? "开启" : "关闭";
- this.$modal.confirm('确认要"' + text + '"频闪灯').then(() => {
+ let text = e ==true? "打开" : "关闭";
+ this.$modal.confirm('确认要"' + text + '"门锁').then(() => {
return request({
url: `/business/device/functions/${this.dialogData.iotDeviceId}/SL`,
method: "post",
@@ -161,7 +161,7 @@
// if(e==false){
// return this.lightningReset =e
// }
- let text = e ==true? "开启一次" : "关闭";
+ let text = e ==true? "开启一次" : "开启一次";
console.log(e);
this.$modal.confirm('确认要"' + text + '"雷电计数清零?该操作会导致设备重启,请谨慎操作').then(() => {
// if(e==false){
@@ -194,7 +194,7 @@
if(e==false){
return this.recloserReset =e
}
- let text = e ==true? "开启一次" : "关闭";
+ let text = e ==true? "开启一次" : "开启一次";
console.log(e);
this.$modal.confirm('确认要"' + text + '"系统复位?该操作会导致设备重启,请谨慎操作').then(() => {
if(e==false){
@@ -228,7 +228,7 @@
if(e==false){
return this.reclosing =e
}
- let text = e ==true? "开启一次" : "关闭";
+ let text = e ==true? "开启一次" : "开启一次";
this.$modal.confirm('确认要"' + text + '"令重合闸复位?该操作会导致设备重启,请谨慎操作').then(() => {
if(e==false){
return this.reclosing =e