From 5a0ab7dbeaba63e7d370e9fa4586f1664e1da775 Mon Sep 17 00:00:00 2001
From: baoshiwei <baoshiwei@shlanbao.cn>
Date: 星期三, 09 七月 2025 08:53:39 +0800
Subject: [PATCH] feat(eims-ui): 新增预测性维护主界面和cnc加工中心、空压机、smt贴片机、注塑机等详情界面

---
 eims-ui/apps/web-antd/src/views/eims/repair-record/index.vue |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/eims-ui/apps/web-antd/src/views/eims/repair-record/index.vue b/eims-ui/apps/web-antd/src/views/eims/repair-record/index.vue
index 84de92f..1e1becc 100644
--- a/eims-ui/apps/web-antd/src/views/eims/repair-record/index.vue
+++ b/eims-ui/apps/web-antd/src/views/eims/repair-record/index.vue
@@ -70,6 +70,17 @@
 
 // 浣跨敤 watch 鐩戝惉 resId 鐨勫彉鍖�
 watch(
+  () => props.reqId,
+  (newVal, oldVal) => {
+    if (newVal !== oldVal && newVal) {
+      tableApi.query();
+    }
+  },
+  { immediate: false }
+);
+
+// 浣跨敤 watch 鐩戝惉 resId 鐨勫彉鍖�
+watch(
   () => props.resId,
   (newVal, oldVal) => {
     if (newVal !== oldVal && newVal) {

--
Gitblit v1.9.3