From 20043e072aee67f1162a5d490c063cadc2e1dcde Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期六, 09 五月 2026 14:21:41 +0800
Subject: [PATCH] 测试完成
---
src/views/followvisit/discharge/index.vue | 34 +++++++++++++++++++++-------------
1 files changed, 21 insertions(+), 13 deletions(-)
diff --git a/src/views/followvisit/discharge/index.vue b/src/views/followvisit/discharge/index.vue
index 1f3b9d4..196684e 100644
--- a/src/views/followvisit/discharge/index.vue
+++ b/src/views/followvisit/discharge/index.vue
@@ -346,7 +346,12 @@
size="medium"
type="text"
@click="
- gettoken360(scope.row.sfzh, scope.row.drcode, scope.row.drname,scope.row.patid)
+ gettoken360(
+ scope.row.sfzh,
+ scope.row.drcode,
+ scope.row.drname,
+ scope.row.patid
+ )
"
><span class="button-textsc">{{
scope.row.sendname
@@ -406,9 +411,7 @@
>
</div>
<div v-if="scope.row.sendstate == 7">
- <el-tag type="danger" :disable-transitions="false"
- >瓒呮椂</el-tag
- >
+ <el-tag type="danger" :disable-transitions="false">瓒呮椂</el-tag>
</div>
</el-tooltip>
</template>
@@ -1082,7 +1085,7 @@
addserviceSubtask,
query360PatInfo,
addsatisfaction,
- query360PatInfonh
+ query360PatInfonh,
} from "@/api/AiCentre/index";
import { alterpatient, particularpatient } from "@/api/patient/homepage";
import Treeselect from "@riophae/vue-treeselect";
@@ -1251,7 +1254,7 @@
value: 8,
label: "搴旈殢璁挎棩鏈�(鍊掑簭)",
},
- {
+ {
value: 9,
label: "鎸夌収鎮h�呮帓搴�",
},
@@ -1303,7 +1306,7 @@
value: 6,
label: "宸插畬鎴�",
},
- {
+ {
value: 7,
label: "瓒呮椂",
},
@@ -1482,6 +1485,11 @@
} else {
this.topqueryParams.deptOrDistrict = 1;
}
+ if (!this.followupAuthority()) {
+ this.$message.warning("鏈厤缃瀹�/鐥呭尯鐩稿叧鏉冮檺涓嶅彲鏌ヨ");
+ return Promise.reject(new Error("鏃犳潈闄愭煡璇�"));
+ }
+
getTaskservelist(this.topqueryParams).then((response) => {
this.userList = response.rows[0].serviceSubtaskList;
this.total = response.total;
@@ -1833,11 +1841,11 @@
},
//鎮h��360璺宠浆
gettoken360(sfzh, drcode, drname, id) {
- const orgname = localStorage.getItem("orgname");
- if (orgname == "鍗楀崕澶у闄勫睘绗竴鍖婚櫌") {
+ const orgname = localStorage.getItem("orgname");
+ if (orgname == "鍗楀崕澶у闄勫睘绗竴鍖婚櫌") {
query360PatInfonh(id).then((res) => {
- if (res.url) {
- window.open(res.url, "_blank");
+ if (res.data) {
+ window.open(res.data, "_blank");
} else {
this.$modal.msgWarning("360鏌ヨ鏃犵粨鏋�");
}
@@ -2060,7 +2068,7 @@
handleExport() {
const originalPageNum = this.topqueryParams.pageNum;
const originalPageSize = this.topqueryParams.pageSize;
-this.topqueryParams.pageNum = null;
+ this.topqueryParams.pageNum = null;
this.topqueryParams.pageSize = null;
this.download(
"smartor/serviceSubtask/patItemExport",
@@ -2072,7 +2080,7 @@
// 瀵煎嚭鍚庢仮澶嶅垎椤靛弬鏁�
this.topqueryParams.pageNum = originalPageNum;
this.topqueryParams.pageSize = originalPageSize;
- this.getList()
+ this.getList();
});
},
// 寮傚父鍒楁覆鏌�
--
Gitblit v1.9.3