limingtao 11 months ago
commit 01978c5f2f
  1. 24
      pages/investigation/task.vue

@ -754,7 +754,9 @@
],
nidZD: '',
lockZD: false,
nidYH: '',
lockYH: false
};
},
watch: {
@ -1736,7 +1738,18 @@
}).exec(); //
},
onLongPressZD(item) {
if(this.nidZD == item.nid){
if(this.lockZD){
this.lockZD = false
this.nidZD = ''
} else {
this.lockZD = true
this.nidZD = item.nid
}
} else {
this.lockZD = true
this.nidZD = item.nid
}
},
delZD() {
this.troubleshootingData = this.troubleshootingData.filter(r => {
@ -1752,7 +1765,18 @@
this.nidZD = ''
},
onLongPressYH(item) {
if(this.nidYH == item.nid){
if(this.lockYH){
this.lockYH = false
this.nidYH = ''
} else {
this.lockYH = true
this.nidYH = item.nid
}
} else {
this.lockYH = true
this.nidYH = item.nid
}
},
delYH() {
this.hiddenDangerList = this.hiddenDangerList.filter(r => {

Loading…
Cancel
Save