From 1efdf8fa2f60cc6d9da42b319540d4c2df4b3e0a Mon Sep 17 00:00:00 2001
From: baoshiwei <baoshiwei@shlanbao.cn>
Date: 星期六, 14 六月 2025 15:13:35 +0800
Subject: [PATCH] refactor(repair): 优化报修相关功能和页面展示

---
 eims-ui-mobile/src/pages/scan/index.vue |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/eims-ui-mobile/src/pages/scan/index.vue b/eims-ui-mobile/src/pages/scan/index.vue
index eecf651..d8fca76 100644
--- a/eims-ui-mobile/src/pages/scan/index.vue
+++ b/eims-ui-mobile/src/pages/scan/index.vue
@@ -67,7 +67,7 @@
       <view class="h-[10px] bg-base"></view>
       <wd-tabs v-model="tab">
 
-        <wd-tab title="缁翠慨璇锋眰">
+        <wd-tab title="鎶ヤ慨鍗�">
           <view class="h-[10px] bg-base"></view>
           <!-- 缁翠慨璇锋眰鍖哄煙 -->
           <view class="mt-2" v-if="reqList.length > 0">
@@ -149,7 +149,7 @@
         exist.value = true
         Object.assign(model, res)
         // 鍔犺浇缁翠慨璇锋眰鍜岀淮淇崟鏁版嵁
-        loadRepairData(res.equId)
+        loadRepairData()
       } else {
         toast.error('鏈煡璇㈠埌璇ヨ祫浜х紪鍙风浉鍏虫暟鎹紒')
       }
@@ -161,10 +161,10 @@
 }
 
 // 鍔犺浇缁翠慨璇锋眰鍜岀淮淇崟鏁版嵁
-function loadRepairData(equId: string | number) {
+function loadRepairData() {
   // 鍔犺浇鏈帴鍗曠殑缁翠慨璇锋眰
   getRepairReqList({
-    equId,
+    equId: model.equId,
     status: '0',
   }).then((res: any) => {
     if (res?.rows) {
@@ -174,7 +174,7 @@
 
   // 鍔犺浇鏈畬鎴愮殑缁翠慨鍗�
   const params = {
-    equId,
+    equId: model.equId,
     params: {
       status: '0,1,2',
     },

--
Gitblit v1.9.3