From b60394f8417f6565ea673f47375ee33dd17688c0 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期六, 25 十月 2025 10:19:50 +0800
Subject: [PATCH] 测试完成
---
src/views/followvisit/record/index.vue | 89 ++++++++++++++++++++++++++++++--------------
1 files changed, 60 insertions(+), 29 deletions(-)
diff --git a/src/views/followvisit/record/index.vue b/src/views/followvisit/record/index.vue
index c70694d..332a54a 100644
--- a/src/views/followvisit/record/index.vue
+++ b/src/views/followvisit/record/index.vue
@@ -149,8 +149,7 @@
<el-col :span="1.5">
<el-button
type="primary"
- plain
- icon="el-icon-plus"
+ icon="el-icon-plus"
size="medium"
@click="handleAdd"
>鏂板</el-button
@@ -165,7 +164,6 @@
icon="el-icon-upload2"
size="medium"
@click="handleExport"
- v-hasPermi="['system:user:export']"
>瀵煎嚭</el-button
>
</div>
@@ -208,6 +206,15 @@
size="medium"
@click="buidegetTasklist()"
>寰呭姙鏈嶅姟</el-button
+ >
+ </div>
+ </div>
+ </el-col>
+ <el-col :span="1.5">
+ <div class="documentf">
+ <div class="document">
+ <el-button type="success" size="medium" @click="onthatday()"
+ >浠婃棩鏈嶅姟</el-button
>
</div>
</div>
@@ -508,7 +515,7 @@
></el-button
>
</el-tooltip> -->
- <el-tooltip
+ <!-- <el-tooltip
v-if="scope.row.sendstate == 1 || scope.row.sendstate == 2"
class="item"
effect="dark"
@@ -524,7 +531,7 @@
><i class="el-icon-remove-outline"></i>鏆傚仠鏈嶅姟</span
></el-button
>
- </el-tooltip>
+ </el-tooltip> -->
<el-button size="medium" type="text" @click="Seedetails(scope.row)"
><span class="button-zx"
><i class="el-icon-s-order"></i>鏌ョ湅璇︽儏</span
@@ -800,8 +807,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",
@@ -855,7 +862,7 @@
// value: 0,
// },
{
- name: "搴旈殢璁�",
+ name: "闇�闅忚",
value: 0,
},
@@ -871,10 +878,10 @@
name: "寰呴殢璁�",
value: 0,
},
- {
- name: "宸插彂閫�",
- value: 0,
- },
+ // {
+ // name: "宸插彂閫�",
+ // value: 0,
+ // },
// {
// name: "琛ㄥ崟宸插彂閫�",
@@ -898,7 +905,7 @@
serviceType: 13,
searchscope: 3,
sendstate: 2,
- sort: 2,
+ sort: localStorage.getItem("orgname") == "涓芥按甯備腑鍖婚櫌" ? 8 : 2, //0 鍑洪櫌鏃堕棿(姝e簭) 1 鍑洪櫌鏃堕棿(鍊掑簭) 2 鍙戦�佹椂闂�(姝e簭) 3 鍙戦�佹椂闂�(鍊掑簭) 7搴旈殢璁挎棩鏈�(鍊掑簭) 搴旈殢璁挎棩鏈�(姝e簭)
scopetype: [],
leaveldeptcodes: [],
leavehospitaldistrictcodes: [],
@@ -907,6 +914,10 @@
options: [],
topicoptions: [
+ {
+ value: null,
+ label: "鍏ㄩ儴",
+ },
{
value: 1,
label: "琛ㄥ崟宸查鍙�",
@@ -958,6 +969,14 @@
{
value: 3,
label: "鍙戦�佹椂闂�(鍊掑簭)",
+ },
+ {
+ value: 7,
+ label: "搴旈殢璁挎棩鏈�(姝e簭)",
+ },
+ {
+ value: 8,
+ label: "搴旈殢璁挎棩鏈�(鍊掑簭)",
},
],
errtype: "",
@@ -1036,8 +1055,8 @@
this.cardlist[1].value = response.rows[0].ysf;
this.ycvalue = response.rows[0].yc;
this.cardlist[2].value = response.rows[0].fssb;
- this.cardlist[3].value = response.rows[0].dfs;
- this.cardlist[4].value = response.rows[0].yfs2;
+ this.cardlist[3].value = response.rows[0].dsf;
+ // this.cardlist[4].value = response.rows[0].yfs2;
this.yfsvalue = response.rows[0].yfs;
}
this.loading = false;
@@ -1067,12 +1086,11 @@
});
},
//鎮h��360璺宠浆
- gettoken360(sfzh,drcode,drname) {
+ gettoken360(sfzh, drcode, drname) {
+ // this.$modal.msgWarning('360鍔熻兘鏆傛湭寮�閫�');
+
this.postData.YeWuXX.BingRenXX.ZhengJianHM = sfzh;
- if (this.postData.XiaoXiTou.ZuHuMC=='涓芥按甯備腑鍖婚櫌') {
- this.postData.YeWuXX.YongHuXX.YongHuID = '1400398571877961728';
- this.postData.YeWuXX.YongHuXX.YongHuXM = 'LSZYY';
- }
+
query360PatInfo(this.postData).then((res) => {
if (res.data.url) {
window.open(res.data.url, "_blank");
@@ -1114,8 +1132,8 @@
this.cardlist[2].value = response.rows[0].ysf;
this.ycvalue = response.rows[0].yc;
this.cardlist[3].value = response.rows[0].fssb;
- this.cardlist[4].value = response.rows[0].dfs;
- this.cardlist[5].value = response.rows[0].yfs2;
+ this.cardlist[4].value = response.rows[0].dsf;
+ // this.cardlist[5].value = response.rows[0].yfs2;
this.yfsvalue = response.rows[0].yfs;
}
this.loading = false;
@@ -1244,6 +1262,9 @@
sort: 2,
searchscope: 2,
sendstate: 2,
+ scopetype: [],
+ leaveldeptcodes: [],
+ leavehospitaldistrictcodes: [],
};
this.handleQuery(1);
},
@@ -1263,6 +1284,15 @@
this.$nextTick((_) => {
this.$refs.saveTagInput.$refs.input.focus();
});
+ },
+ onthatday() {
+ this.topqueryParams.startSendDateTime = this.getCurrentDate();
+ this.topqueryParams.endSendDateTime = this.getCurrentDate();
+ this.getList(1);
+ },
+ getCurrentDate() {
+ const now = new Date();
+ return now.toISOString().slice(0, 10); // 鎴彇鍓�10涓瓧绗︼紝鍗� YYYY-MM-DD
},
//鑾峰彇澶卞幓鐒︾偣瑙﹀彂
handleInputConfirm() {
@@ -1382,12 +1412,9 @@
Seedetails(row) {
let type = "";
console.log(row, "rwo");
- if (row.preachformson) {
- if (row.preachformson.includes("3")) {
+ if (row.type == 1) {
type = 1;
- console.log(type, "rwo");
}
- }
this.$router.push({
path: "/followvisit/record/detailpage/",
query: {
@@ -1395,6 +1422,7 @@
patid: row.patid,
id: row.id,
Voicetype: type,
+ again: 1,
},
});
},
@@ -1448,7 +1476,8 @@
this.topqueryParams.pageNum = null;
this.topqueryParams.pageSize = null;
this.download(
- "smartor/serviceSubtask/export",
+ // "smartor/serviceSubtask/export",
+ "smartor/serviceSubtask/patItemExport",
{
...this.topqueryParams,
},
@@ -1559,10 +1588,12 @@
}
}
::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; /* 榧犳爣鎮诞鏃跺彉涓烘墜褰� */
}
::v-deep.errleftvlue .el-card__body {
--
Gitblit v1.9.3