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

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

Loading…
Cancel
Save