From 964faa1077a89713910063c39ebe08fac4e4c56e Mon Sep 17 00:00:00 2001
From: Houjie <714924425@qq.com>
Date: 星期四, 24 七月 2025 17:44:18 +0800
Subject: [PATCH] 企业维修适配修改

---
 pages/ToDoList/ToDoListCheckSure/ToDoListCheckSure.vue |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/pages/ToDoList/ToDoListCheckSure/ToDoListCheckSure.vue b/pages/ToDoList/ToDoListCheckSure/ToDoListCheckSure.vue
index c0ac52f..a2a1fa3 100644
--- a/pages/ToDoList/ToDoListCheckSure/ToDoListCheckSure.vue
+++ b/pages/ToDoList/ToDoListCheckSure/ToDoListCheckSure.vue
@@ -97,8 +97,8 @@
 						<view class="flex">
 							<view class="flex-sub text-light bg-white  padding-xs margin-xs radius">寮傚父鏄惁鎶ヤ慨:</view>
 							<view class="flex-sub bg-white padding-xs     text-right margin-xs radius">
-								<uni-data-select :localdata="item.type" v-model="item.reportFlag"
-									:disabled="item.istrue" />
+								<uni-data-select :localdata="item.type"  @change="handleType($event, index)"  v-model="item.reportFlag"
+									:disabled="item.istrue"/>
 							</view>
 						</view>
 
@@ -202,6 +202,7 @@
 				taskId: '',
 				imageFilesList: [],
 				inspectionResult: '',
+				reportFlag:'',
 				upOption: {
 					page: {
 						num: 0, // 褰撳墠椤电爜,榛樿0,鍥炶皟涔嬪墠浼氬姞1,鍗砪allback(page)浼氫粠1寮�濮�
@@ -374,6 +375,9 @@
 			changeEquipmentList(e) {
 				this.formData.num = e;
 			},
+			handleType(e, index) {
+				console.log(e);
+			},
 			handleCode(e, index) {
 				console.log(index);
 				// 鏍规嵁 e 鐨勫�兼潵鍒ゆ柇鏄惁闇�瑕佹洿鏂� isTrue 鐨勭姸鎬�
@@ -431,11 +435,11 @@
 						]; // 鏂板瓧娈碉紝鍊间负涓�涓┖鏁扮粍
 						item.type = [{
 								text: "鍚�",
-								value: 0
+								value: "0"
 							},
 							{
 								text: "鏄�",
-								value: 1
+								value: "1"
 							}
 						]; // 鏂板瓧娈碉紝鍊间负涓�涓┖鏁扮粍
 						item.istrue = true;
@@ -645,7 +649,7 @@
 	}
 
 	.popupView {
-		margin-top: 85px;
+		margin-top: 45px;
 		height: auto;
 	}
 

--
Gitblit v1.9.3