From f4c14c24cb6cf1ed1c09cab760f6b9c8381df557 Mon Sep 17 00:00:00 2001
From: YM <479443481@qq.com>
Date: 星期二, 30 四月 2024 17:44:27 +0800
Subject: [PATCH] 图谱和传承

---
 src/pages/TcmSystem/TcmSystem.vue |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/src/pages/TcmSystem/TcmSystem.vue b/src/pages/TcmSystem/TcmSystem.vue
index e2cce49..22dd33d 100644
--- a/src/pages/TcmSystem/TcmSystem.vue
+++ b/src/pages/TcmSystem/TcmSystem.vue
@@ -406,6 +406,7 @@
       // 鏄剧ず澶氬皯鏉¤亴瀹樻暟鎹�
       institutionIndex: 4,
       // 鏈烘瀯鍜岃亴瀹樼殑绫诲瀷 鍙栧�硷細OFFICIAL->鑱屽畼 INSTITUTION->鏈烘瀯 ALL->鑱屽畼銆佹満鏋�
+      searchType: "ALL",
       classifyType: "ALL",
       // 鏈烘瀯鍜岃亴瀹樼殑id
       classifyId: "",
@@ -516,7 +517,7 @@
     getMList(obj) {
       this.pageLoading = true;
       let Obj = {
-        medicalSearchType: "ALL",
+        medicalSearchType: this.searchType,
         type: this.classifyType, //鏌ヨ绫诲瀷 鍙栧�硷細OFFICIAL->鑱屽畼 INSTITUTION->鏈烘瀯 ALL->鑱屽畼銆佹満鏋�
         name: this.SearchValue, //鎼滅储妗嗘绱�
         dynastyId: this.classifyId, //鐐瑰嚮鏈濅唬鏌ヨ鏁版嵁鏃讹紝甯︿笂姝ゅ弬鏁�
@@ -544,14 +545,19 @@
     },
     // list鏁扮粍 鑾峰彇list閲岄潰鐨勮鎯卻huju
     ListClick(item) {
+      console.log(item,this.searchType);
       let Obj = {
-        id: item.dataId,
-        type: item.type
+        rowId: this.searchType == "ALL" ? item.id : item.rowId,
+        medicalSearchType: this.searchType,
+        type: this.classifyType, //鏌ヨ绫诲瀷 鍙栧�硷細OFFICIAL->鑱屽畼 INSTITUTION->鏈烘瀯 ALL->鑱屽畼銆佹満鏋�
+        name: this.SearchValue, //鎼滅储妗嗘绱�
+        dynastyId: this.classifyId, //鐐瑰嚮鏈濅唬鏌ヨ鏁版嵁鏃讹紝甯︿笂姝ゅ弬鏁�
+        sort: this.rankVal, //鎺掑簭鏂瑰紡 鍙栧�硷細CREATE鍒涘缓鏃堕棿锛孨AME鍚嶇О
       };
       getMedicalDetails(Obj).then((res) => {
         this.ListDetails = {
           ...item,
-          ...res.object
+          ...res.object.curr
         };
       });
       this.dialogVisible = !this.dialogVisible;

--
Gitblit v1.9.1