From f9902f7a3b79d22bde9f199263ac36de26816470 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期五, 08 五月 2026 14:46:10 +0800
Subject: [PATCH] 测试完成
---
src/views/patient/patient/index.vue | 70 +++++++++++++++++++++++++++-------
1 files changed, 55 insertions(+), 15 deletions(-)
diff --git a/src/views/patient/patient/index.vue b/src/views/patient/patient/index.vue
index 23b2740..c5890a1 100644
--- a/src/views/patient/patient/index.vue
+++ b/src/views/patient/patient/index.vue
@@ -185,7 +185,6 @@
<el-col :span="1.5">
<el-button
type="primary"
- plain
icon="el-icon-s-promotion"
size="medium"
@click="distribute"
@@ -253,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
@@ -567,6 +573,17 @@
</el-form-item>
</el-col>
</el-row>
+ <el-row v-if="amendtag">
+ <el-col :span="8">
+ <el-form-item label="杩囨护鍖荤敓" width="100" prop="filterDrname">
+ <el-input
+ v-model="form.filterDrname"
+ placeholder="璇疯緭鍏ュ尰鐢熷鍚�"
+ maxlength="30"
+ />
+ </el-form-item>
+ </el-col>
+ </el-row>
<el-row v-if="!amendtag">
<el-col :span="8">
<el-form-item label="姘戞棌" prop="name">
@@ -861,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";
@@ -1029,8 +1050,8 @@
YongHuXX: {
XiTongID: "SUIFANGXT",
XiTongMC: "闅忚绯荤粺",
- YongHuID: "1400466972205912064",
- YongHuXM: "JNRMYY",
+ YongHuID: localStorage.getItem("YongHuID"),
+ YongHuXM: localStorage.getItem("YongHuXM"),
ZuZhiJGID: localStorage.getItem("orgid"),
ZuZhiJGMC: localStorage.getItem("orgname"),
idp: "lyra",
@@ -1197,12 +1218,26 @@
});
},
//鎮h��360璺宠浆
- gettoken360(sfzh,drcode,drname) {
- this.postData.YeWuXX.BingRenXX.ZhengJianHM = sfzh;
- if (this.postData.XiaoXiTou.ZuHuMC=='涓芥按甯備腑鍖婚櫌') {
- this.postData.YeWuXX.YongHuXX.YongHuID = '1400398571877961728';
- this.postData.YeWuXX.YongHuXX.YongHuXM = 'LSZYY';
+ 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) {
window.open(res.data.url, "_blank");
@@ -1266,7 +1301,7 @@
leaveldeptcodes: [],
leavehospitaldistrictcodes: [],
};
- this.handleQuery();
+ this.handleQuery();
},
// 澶氶�夋閫変腑鏁版嵁
handleSelectionChange(selection) {
@@ -1285,8 +1320,8 @@
handleUpdate(row) {
const userIds = row.id || this.ids;
particularpatient(userIds).then((response) => {
- console.log(response);
this.form = response.data;
+ this.form.filterDrname = store.getters.nickName;
});
this.amendtag = true;
this.Labelchange = true;
@@ -1536,10 +1571,12 @@
font-size: 20px;
}
::v-deep.leftvlue .el-card__body {
- background: #d0e9fd;
+ background: #f2f8ff;
+ color: #324a9b;
}
::v-deep.leftvlue .el-card__body:hover {
- background: #8dc8f8;
+ background: #3664d9;
+ color: #fff;
cursor: pointer; /* 榧犳爣鎮诞鏃跺彉涓烘墜褰� */
}
.leftvlue {
@@ -1604,7 +1641,10 @@
}
}
.button-textsc {
- color: #28cfe6;
+ color: #3664d9;
+}
+.button-textxga {
+ color: #de7897;
}
.button-textxg {
color: #de7897;
--
Gitblit v1.9.3