From 70fb6d09d29ca1b4ba29a9299f310e2455301b8c Mon Sep 17 00:00:00 2001
From: lct123456 <lucht>
Date: 星期一, 25 四月 2022 15:36:11 +0800
Subject: [PATCH] 四色图

---
 src/views/doublePreventAction/hiddenDanger/inspectionTask/index.vue |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/views/doublePreventAction/hiddenDanger/inspectionTask/index.vue b/src/views/doublePreventAction/hiddenDanger/inspectionTask/index.vue
index c72d513..73c496e 100644
--- a/src/views/doublePreventAction/hiddenDanger/inspectionTask/index.vue
+++ b/src/views/doublePreventAction/hiddenDanger/inspectionTask/index.vue
@@ -467,7 +467,7 @@
                     this.noticeDepartment = this.handleDepartment(JSON.parse(JSON.stringify(value)).noticeUid)
                     this.changeNotice()
                     this.execDepartment = this.handleDepartment(JSON.parse(JSON.stringify(value)).execUid)
-                     this.changeExec()
+                    this.changeExec()
                     this.inspectionTaskForm = JSON.parse(JSON.stringify(value))
                     // this.inspectionTaskForm.execUid = value.execUname
                     // this.inspectionTaskForm.noticeUid = value.noticeUname
@@ -576,10 +576,11 @@
                 })
             },
             receiveToForm(value) {
-                this.inspectionTaskForm.riskControlMeasureIdList = []
-                this.inspectionTaskForm.riskControlMeasureIdList = value.map( item => {
-                    return item.id
-                })
+                // this.inspectionTaskForm.riskControlMeasureIdList = []
+                // this.inspectionTaskForm.riskControlMeasureIdList = value.map( item => {
+                //     return item.id
+                // })
+                this.inspectionTaskForm.riskControlMeasureIdList.push({id:value.id})
             },
             refreshHandle(){
                 this.getInspectionTaskData()

--
Gitblit v1.9.2