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/zbAgain/index.vue | 90 +++++++++++++++++++++++++++++++++-----------
1 files changed, 67 insertions(+), 23 deletions(-)
diff --git a/src/views/followvisit/zbAgain/index.vue b/src/views/followvisit/zbAgain/index.vue
index c798774..9a9d5b4 100644
--- a/src/views/followvisit/zbAgain/index.vue
+++ b/src/views/followvisit/zbAgain/index.vue
@@ -245,7 +245,7 @@
<div class="documentf">
<div class="document">
<el-button type="success" size="medium" @click="onthatday()"
- >褰撴棩鏈嶅姟</el-button
+ >浠婃棩鏈嶅姟</el-button
>
</div>
</div>
@@ -280,7 +280,12 @@
size="medium"
type="text"
@click="
- gettoken360(scope.row.sfzh, scope.row.drcode, scope.row.drname)
+ gettoken360(
+ scope.row.sfzh,
+ scope.row.drcode,
+ scope.row.drname,
+ scope.row.patid
+ )
"
><span class="button-textsc">{{
scope.row.sendname
@@ -325,9 +330,14 @@
>鍙戦�佸け璐�</el-tag
>
</div>
- <div v-if="scope.row.sendstate == 6">
+ <div v-if="scope.row.sendstate == 6">
<el-tag type="success" :disable-transitions="false"
>宸插畬鎴�</el-tag
+ >
+ </div>
+ <div v-if="scope.row.sendstate == 7">
+ <el-tag type="danger" :disable-transitions="false"
+ >瓒呮椂</el-tag
>
</div>
</el-tooltip>
@@ -382,11 +392,11 @@
label="搴旈殢璁挎棩鏈�"
width="200"
align="center"
- key="longSendTime"
- prop="longSendTime"
+ key="visitTime"
+ prop="visitTime"
>
<template slot-scope="scope">
- <span>{{ formatTime(scope.row.longSendTime) }}</span>
+ <span>{{ formatTime(scope.row.visitTime) }}</span>
</template></el-table-column
>
<el-table-column
@@ -396,13 +406,7 @@
key="drname"
prop="drname"
/>
- <el-table-column
- label="闅忚浜哄憳"
- align="center"
- key="updateBy"
- prop="updateBy"
- width="120"
- />
+
<el-table-column
label="鍑洪櫌澶╂暟"
width="120"
@@ -482,7 +486,13 @@
:show-overflow-tooltip="true"
>
</el-table-column>
-
+ <el-table-column
+ label="闅忚浜哄憳"
+ align="center"
+ key="updateBy"
+ prop="updateBy"
+ width="120"
+ />
<el-table-column
label="鍑洪櫌闅忚妯℃澘鍚嶇О"
align="center"
@@ -824,6 +834,7 @@
buidegetTasklist,
addserviceSubtask,
query360PatInfo,
+ query360PatInfonh
} from "@/api/AiCentre/index";
import { alterpatient, particularpatient } from "@/api/patient/homepage";
import Treeselect from "@riophae/vue-treeselect";
@@ -972,13 +983,21 @@
value: 3,
label: "鍙戦�佹椂闂�(鍊掑簭)",
},
+ {
+ value: 7,
+ label: "搴旈殢璁挎棩鏈�(姝e簭)",
+ },
+ {
+ value: 8,
+ label: "搴旈殢璁挎棩鏈�(鍊掑簭)",
+ },
],
// 鏌ヨ鍙傛暟
topqueryParams: {
pageNum: 1,
pageSize: 10,
sendstate: 2,
- sort: 2, //0 鍑洪櫌鏃堕棿(姝e簭) 1 鍑洪櫌鏃堕棿(鍊掑簭) 2 鍙戦�佹椂闂�(姝e簭) 3 鍙戦�佹椂闂�(鍊掑簭)
+ sort: localStorage.getItem("orgname") == "涓芥按甯備腑鍖婚櫌" ? 8 : 2, //0 鍑洪櫌鏃堕棿(姝e簭) 1 鍑洪櫌鏃堕棿(鍊掑簭) 2 鍙戦�佹椂闂�(姝e簭) 3 鍙戦�佹椂闂�(鍊掑簭) 7搴旈殢璁挎棩鏈�(鍊掑簭) 搴旈殢璁挎棩鏈�(姝e簭)
serviceType: 13,
searchscope: 3,
visitCount: 2,
@@ -1011,13 +1030,17 @@
value: 4,
label: "涓嶆墽琛�",
},
- {
+ {
value: 5,
label: "鍙戦�佸け璐�",
},
{
value: 6,
label: "宸插畬鎴�",
+ },
+ {
+ value: 7,
+ label: "瓒呮椂",
},
],
sextype: [
@@ -1144,6 +1167,11 @@
this.topqueryParams.deptOrDistrict = 2;
} 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;
@@ -1414,8 +1442,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.data) {
+ window.open(res.data, "_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;
@@ -1531,11 +1576,9 @@
Seedetails(row) {
let type = "";
console.log(row, "rwo");
- if (row.preachformson) {
- if (row.preachformson.includes("3")) {
+ if (row.type == 1) {
type = 1;
}
- }
this.$router.push({
path: "/followvisit/record/detailpage/",
query: {
@@ -1566,7 +1609,8 @@
'"鐨勬暟鎹」锛�'
)
.then(() => {
- getTaskservelist({
+
+ getTaskservelist({
patid: row.patid,
taskid: row.taskid,
}).then((res) => {
@@ -1628,7 +1672,7 @@
this.zcform.remark =
this.zcform.remark + "銆�" + this.getCurrentTime() + "銆�";
let form = structuredClone(this.zcform);
- form.longSendTime = this.formatTime(form.date1);
+ form.visitTime = this.formatTime(form.date1);
form.finishtime = "";
if (form.resource) {
if (form.resource == 2) {
--
Gitblit v1.9.3