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/ToDoList.vue |   40 +++++++++++++++++++++++++---------------
 1 files changed, 25 insertions(+), 15 deletions(-)

diff --git a/pages/ToDoList/ToDoList.vue b/pages/ToDoList/ToDoList.vue
index 7ab14d5..c3452a3 100644
--- a/pages/ToDoList/ToDoList.vue
+++ b/pages/ToDoList/ToDoList.vue
@@ -26,17 +26,19 @@
 								<uni-easyinput v-model="formData.num" placeholder="璇疯緭鍏ヨ澶囩紪鍙�" />
 							</uni-forms-item>
 						</uni-group>
+						<uni-forms-item>
+							<view class="flex">
+								<view
+									class="cuIcon-search flex-sub bg-blue radius padding-sm margin-xs margin-left-lg margin-right-lg text-sm text-center"
+									@click="getSera">鏌ヨ
+								</view>
+								<view
+									class="cuIcon-refresh flex-sub bg-white solids padding-sm margin-xs radius text-sm text-center margin-left-lg margin-right-lg"
+									@click="resetTask">閲嶇疆</view>
+							</view>
+						</uni-forms-item>
 					</uni-forms>
-					<view class="flex">
-
-						<view
-							class="cuIcon-search flex-sub bg-blue padding-sm margin-xs margin-left-lg margin-right-lg text-sm text-center"
-							@click="getSera">鏌ヨ
-						</view>
-						<view
-							class="cuIcon-refresh flex-sub bg-white solids padding-sm margin-xs radius text-sm text-center margin-left-lg margin-right-lg"
-							@click="resetTask">閲嶇疆</view>
-					</view>
+					
 
 				</view>
 			</uni-popup>
@@ -55,12 +57,12 @@
 								{{item.category_dictText}}
 							</view>
 						</view>
-						<view class="flex">
+						<!-- <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 margin-xs   text-bold  radius text-right">
 								{{item.flowName}}
 							</view>
-						</view>
+						</view> -->
 
 						<view class="flex">
 							<view class="flex-sub text-light bg-white padding-xs margin-xs radius">涔嬪墠澶勭悊浜�:</view>
@@ -96,6 +98,8 @@
 </template>
 
 <script>
+	
+	
 	import MescrollMixin from "@/components/mescroll-uni/mescroll-mixins.js";
 	export default {
 		mixins: [MescrollMixin], // 浣跨敤mixin
@@ -212,7 +216,7 @@
 					case (name === '璁捐兘閮ㄧ粓楠�' && type === '璁惧鍛ㄤ繚'):
 						url = '/pages/ToDoList/ToDoBaoZhouSure/ToDoBaoZhouSure';
 						break;
-					case (name === '绠$悊鍛橀鐢ㄥ浠�' && type === '璁惧缁翠慨'):
+					case (name === '绛夊緟澶囦欢涓�' && type === '璁惧缁翠慨'):
 						url = '/pages/ToDoList/ToDoSpareParts/ToDoSpareParts';
 						break;
 					case (name === '鎿嶄綔宸ョ‘璁�' && type === '璁惧缁翠慨'):
@@ -223,6 +227,8 @@
 						break;
 					case (name === '鐐规宸ュ崟' && type === '璁惧鐐规'):
 						url = '/pages/ToDoList/ToDoListDeils/ToDoCheckDetils';
+						case (name === '鐐规宸ュ崟' && type === '璁惧鐐规'):
+							url = '/pages/ToDoList/ToDoListDeils/ToDoCheckDetils';
 						
 						break;
 					default:ToDoCheckDetils
@@ -231,9 +237,13 @@
 				}
 
 				if (url) {
-					uni.redirectTo({
+	
+					uni.navigateTo({
 						url: `${url}?item=${encodeURIComponent(JSON.stringify(item))}`
 					});
+					// uni.redirectTo({
+					// 	url: `${url}?item=${encodeURIComponent(JSON.stringify(item))}`
+					// });
 				}
 			},
 
@@ -352,7 +362,7 @@
 	}
 
 	.popupView {
-		margin-top: 85px;
+		margin-top: 45px;
 		height: auto;
 	}
 </style>
\ No newline at end of file

--
Gitblit v1.9.3