From 904ffb487a6c2181a65feb925760108006b87a61 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期四, 12 九月 2024 18:14:28 +0800
Subject: [PATCH] update
---
src/views/ecg/doctor/DevDismantle.vue | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/views/ecg/doctor/DevDismantle.vue b/src/views/ecg/doctor/DevDismantle.vue
index 090a5a6..a6c616c 100644
--- a/src/views/ecg/doctor/DevDismantle.vue
+++ b/src/views/ecg/doctor/DevDismantle.vue
@@ -193,9 +193,6 @@
}
}
-const getSelectedRent = async (rentId) => {
- formData.value = await DevRentApi.getDevRent(rentId)
-}
const loading = ref(true) // 鍒楄〃鐨勫姞杞戒腑
const list = ref<JobRecordVO[]>([]) // 鍒楄〃鐨勬暟鎹�
@@ -227,9 +224,12 @@
}
const onCurChange = (cur) => {
- console.log( cur )
- console.log( cur.rentId)
- getSelectedRent( cur.rentId )
+ if (cur !== null)
+ getSelectedRent( cur.rentId )
+}
+
+const getSelectedRent = async (rentId) => {
+ formData.value = await DevRentApi.getDevRent(rentId)
}
/** 鍒濆鍖� **/
--
Gitblit v1.9.3