From 64fa2c33cd645e86d4e2a8c34c7881ea4aa678cf Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期二, 17 六月 2025 18:33:37 +0800
Subject: [PATCH] 代码初始化

---
 h5/pages/workOrder/workOrder.vue |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/h5/pages/workOrder/workOrder.vue b/h5/pages/workOrder/workOrder.vue
index a3d5aff..eaf750a 100644
--- a/h5/pages/workOrder/workOrder.vue
+++ b/h5/pages/workOrder/workOrder.vue
@@ -10,11 +10,11 @@
 				<u-icon name="arrow-down-fill" color="#666666" size="13"></u-icon>
 			</view>
 			<view class="report_search_row" @click="$refs.pengTree._show()" v-if="['3'].includes(typeId)">
-				<text>{{locationName ? locationName : '鍙戠敓鍦扮偣'}}</text>
+				<text>{{localtionId ? locationName : '鍙戠敓鍦扮偣'}}</text>
 				<u-icon name="arrow-down-fill" color="#666666" size="13"></u-icon>
 			</view>
 			<view class="report_search_row" @click="$refs.pengTree1._show()" v-if="['1'].includes(typeId)">
-				<text>{{locationName ? locationName : '浣嶇疆'}}</text>
+				<text>{{localtionId ? locationName : '浣嶇疆'}}</text>
 				<u-icon name="arrow-down-fill" color="#666666" size="13"></u-icon>
 			</view>
 		</view>
@@ -163,6 +163,7 @@
 			async getLocation() {
 				let res = await this.$u.api.categoryTree({ categoryType: 2 })
 				if (res.code === 200) {
+					res.data.unshift({ name: '鍏ㄩ儴', id: '', childList: [] })
 					this.address = res.data
 				}
 			},
@@ -170,6 +171,7 @@
 			async getLocation1() {
 				let res = await this.$u.api.categoryTree({ categoryType: 3 })
 				if (res.code === 200) {
+					res.data.unshift({ name: '鍏ㄩ儴', id: '', childList: [] })
 					this.address1 = res.data
 				}
 			},
@@ -180,7 +182,6 @@
 					page: this.search.page,
 					model: {
 						myWorkOrder: 1,
-						memberId: this.userInfo.id,
 						type: this.typeId,
 						dealStatus: this.statusId,
 						localtionId: this.localtionId
@@ -248,7 +249,7 @@
 				if (type === 0) {
 					return 'SHE浜嬩欢涓婃姤'
 				} else if (type === 3) {
-					return '璺岀粖婊戜簨浠�'
+					return '璺岀粖婊戜簨浠朵笂鎶�'
 				}
 			}
 		}

--
Gitblit v1.9.3