From 60384e8241fa855b5780260633ee9b9f8904847a Mon Sep 17 00:00:00 2001 From: baoshiwei <baoshiwei@shlanbao.cn> Date: 星期五, 20 六月 2025 14:24:19 +0800 Subject: [PATCH] feat(eims-ui-mobile): 为多个页面添加搜索功能 - 在 equ-list、insp-st、maint-st、req-list 和 res-list 页面中添加设备名称和资产编号的模糊搜索 --- 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