lyfO_o
2022-05-19 8db1be8ebb65735d0f9880cf81703df98fc81ec6
src/views/doublePreventAction/hiddenDanger/inspectionTask/components/inpectionPoint.vue
@@ -75,6 +75,7 @@
                this.controlActionVisible = false
            },
            async receiveRiskControlId(value) {
                debugger
                this.controlActionVisible  = false
                if(this.title === '新建巡检计划设定'){
                    if(value){
@@ -85,7 +86,7 @@
                        //     }
                        // })))
                            if(this.inspectionPointData.findIndex(item => item.id === value.id) === -1) {
                                this.inspectionPointData.push({id:value.id,content:value.riskMeasureDesc})
                                this.inspectionPointData.push({id:value.id,content:value.troubleshootContent})
                                this.$emit('giveToForm',this.inspectionPointData)
                            }
                        }
@@ -111,7 +112,6 @@
            },
            deleteById(value){
                if(this.title === '新建巡检计划设定'){
                    debugger
                    this.inspectionPointData.splice(value,1)
                }else{
                    this.$confirm('删除此条措施,是否继续','提示',{