From 3c738f4fe2762bba8087e5a22fc0dc06560eab0e Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Thu, 08 Aug 2024 10:01:17 +0800
Subject: [PATCH] 三色任务与自查任务

---
 subPackage/label/check.vue |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/subPackage/label/check.vue b/subPackage/label/check.vue
index 93f4882..ed76eb3 100644
--- a/subPackage/label/check.vue
+++ b/subPackage/label/check.vue
@@ -111,6 +111,7 @@
 					images: []
 				},
 				info: {
+					id: '',
 					remark: "",
 					imageUrls: "",
 					signaturePath: ""
@@ -165,9 +166,10 @@
 				this.info.houseCode = uni.getStorageSync("siteInfo").houseCode;
 				this.info.placeName = uni.getStorageSync("siteInfo").name;
 			}
-
-
-
+			if (option.id) {
+				this.info.taskId = option.id
+				this.getDetail(option.id)
+			}
 		},
 
 		methods: {
@@ -225,6 +227,9 @@
 						arr.push(i);
 						for (let k = 0, kk = data[i].children.length; k < kk; k++) {
 							// this.info.patrolRecordVOList.push(obj);
+							for (var j = 0; j < data[i].children.length; j++) {
+								data[i].children[j].state = 1
+							}
 							count += 1;
 						}
 					}

--
Gitblit v1.9.3