From 15c90ad541d895a4e0ceab0dd430260535479341 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期四, 07 五月 2026 10:20:44 +0800
Subject: [PATCH] 测试完成

---
 src/views/patient/patient/index.vue |   47 +++++++++++++++++++++++++++++++++++++----------
 1 files changed, 37 insertions(+), 10 deletions(-)

diff --git a/src/views/patient/patient/index.vue b/src/views/patient/patient/index.vue
index ba844d4..c5890a1 100644
--- a/src/views/patient/patient/index.vue
+++ b/src/views/patient/patient/index.vue
@@ -252,7 +252,14 @@
                   <el-button
                     size="medium"
                     type="text"
-                    @click="gettoken360(scope.row.idcardno,scope.row.drcode,scope.row.drname)"
+                    @click="
+                      gettoken360(
+                        scope.row.idcardno,
+                        scope.row.drcode,
+                        scope.row.drname,
+                        scope.row.id
+                      )
+                    "
                     ><span class="button-textsc">{{
                       scope.row.name
                     }}</span></el-button
@@ -871,7 +878,11 @@
   Exporterrorpatient,
   toleadpatient,
 } from "@/api/patient/homepage";
-import { getTasklist,query360PatInfo } from "@/api/AiCentre/index";
+import {
+  getTasklist,
+  query360PatInfo,
+  query360PatInfonh,
+} from "@/api/AiCentre/index";
 import { listtag } from "@/api/system/label";
 import { getToken } from "@/utils/auth";
 import Treeselect from "@riophae/vue-treeselect";
@@ -1207,9 +1218,25 @@
       });
     },
     //鎮h��360璺宠浆
-    gettoken360(sfzh,drcode,drname) {
-      // this.$modal.msgWarning('360鍔熻兘鏆傛湭寮�閫�');
-
+    gettoken360(sfzh, drcode, drname, id) {
+      const orgname = localStorage.getItem("orgname");
+      if (orgname == "鍗楀崕澶у闄勫睘绗竴鍖婚櫌") {
+        query360PatInfonh(id).then((res) => {
+          if (res.url) {
+            window.open(res.url, "_blank");
+          } else {
+            this.$modal.msgWarning("360鏌ヨ鏃犵粨鏋�");
+          }
+        });
+        return;
+      } else if (
+        orgname == "绗竴浜烘皯鍖婚櫌婀栨花闄㈠尯" ||
+        orgname == "绗竴浜烘皯鍖婚櫌鍚村北闄㈠尯"
+      ) {
+        let url = `http://192.200.81.189:9100/blj/view?BINGRENID=${id}&YONGHUID=DBA`;
+        window.open(url, "_blank");
+        return;
+      }
       this.postData.YeWuXX.BingRenXX.ZhengJianHM = sfzh;
       query360PatInfo(this.postData).then((res) => {
         if (res.data.url) {
@@ -1274,7 +1301,7 @@
         leaveldeptcodes: [],
         leavehospitaldistrictcodes: [],
       };
-        this.handleQuery();
+      this.handleQuery();
     },
     // 澶氶�夋閫変腑鏁版嵁
     handleSelectionChange(selection) {
@@ -1544,11 +1571,11 @@
   font-size: 20px;
 }
 ::v-deep.leftvlue .el-card__body {
-  background: #F2F8FF;
-  color: #324A9B;
+  background: #f2f8ff;
+  color: #324a9b;
 }
 ::v-deep.leftvlue .el-card__body:hover {
-  background: #3664D9;
+  background: #3664d9;
   color: #fff;
   cursor: pointer; /* 榧犳爣鎮诞鏃跺彉涓烘墜褰� */
 }
@@ -1614,7 +1641,7 @@
   }
 }
 .button-textsc {
-  color: #3664D9;
+  color: #3664d9;
 }
 .button-textxga {
   color: #de7897;

--
Gitblit v1.9.3