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 | 206 ++++++++++++++++++++++++++++++++++++++++-----------
1 files changed, 160 insertions(+), 46 deletions(-)
diff --git a/src/views/followvisit/record/index.vue b/src/views/followvisit/record/index.vue
index f5c3146..332a54a 100644
--- a/src/views/followvisit/record/index.vue
+++ b/src/views/followvisit/record/index.vue
@@ -119,6 +119,17 @@
</el-option>
</el-select>
</el-form-item>
+ <el-form-item label="鎺掑簭鏂瑰紡" prop="status">
+ <el-select v-model="topqueryParams.sort" placeholder="璇烽�夋嫨">
+ <el-option
+ v-for="item in topicoptionssort"
+ :key="item.value"
+ :label="item.label"
+ :value="item.value"
+ >
+ </el-option>
+ </el-select>
+ </el-form-item>
<el-form-item>
<el-button
@@ -138,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
@@ -154,7 +164,6 @@
icon="el-icon-upload2"
size="medium"
@click="handleExport"
- v-hasPermi="['system:user:export']"
>瀵煎嚭</el-button
>
</div>
@@ -201,11 +210,19 @@
</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>
+ </el-col>
</el-row>
<el-table
v-loading="loading"
:data="userList"
- height="660"
:row-class-name="tableRowClassName"
@selection-change="handleSelectionChange"
>
@@ -231,10 +248,7 @@
size="medium"
type="text"
@click="
- $router.push({
- path: '/patient/indexls/',
- query: { sfzh: scope.row.sfzh },
- })
+ gettoken360(scope.row.sfzh, scope.row.drcode, scope.row.drname)
"
><span class="button-textsc">{{
scope.row.sendname
@@ -312,12 +326,12 @@
<el-table-column
label="闅忚浜哄憳"
align="center"
- key="createBy"
- prop="createBy"
+ key="updateBy"
+ prop="updateBy"
width="120"
/>
<el-table-column
- label="闅忚鏃堕棿"
+ label="闅忚瀹屾垚鏃堕棿"
sortable
align="center"
prop="finishtime"
@@ -501,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"
@@ -517,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
@@ -721,7 +735,11 @@
resetUserPwd,
changeUserStatus,
} from "@/api/system/user";
-import { getTaskservelist, buidegetTasklist } from "@/api/AiCentre/index";
+import {
+ getTaskservelist,
+ buidegetTasklist,
+ query360PatInfo,
+} from "@/api/AiCentre/index";
import Treeselect from "@riophae/vue-treeselect";
import store from "@/store";
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
@@ -763,6 +781,39 @@
postOptions: [],
ruleForm: {
type: [],
+ },
+ postData: {
+ XiaoXiTou: {
+ FaSongFCSJC: "ZJHES",
+ FaSongJGID: localStorage.getItem("orgid"),
+ FaSongJGMC: localStorage.getItem("orgname"),
+ FaSongSJ: "2025-01-09聽17:29:36",
+ FaSongXTJC: "SUIFANGXT",
+ FaSongXTMC: "闅忚绯荤粺",
+ XiaoXiID: "5FA92AFB-9833-4608-87C7-F56A654AC171",
+ XiaoXiLX: "SC_LC_360STCX",
+ XiaoXiMC: "360聽瑙嗗浘鏌ヨ",
+ ZuHuID: localStorage.getItem("ZuHuID"),
+ ZuHuMC: localStorage.getItem("orgname"),
+ },
+ YeWuXX: {
+ BingRenXX: {
+ ZhengJianHM: "",
+ ZhengJianLXDM: "01",
+ ZhengJianLXMC: "灞呮皯韬唤璇�",
+ ZuZhiJGID: localStorage.getItem("orgid"),
+ ZuZhiJGMC: localStorage.getItem("orgname"),
+ },
+ YongHuXX: {
+ XiTongID: "SUIFANGXT",
+ XiTongMC: "闅忚绯荤粺",
+ YongHuID: localStorage.getItem("YongHuID"),
+ YongHuXM: localStorage.getItem("YongHuXM"),
+ ZuZhiJGID: localStorage.getItem("orgid"),
+ ZuZhiJGMC: localStorage.getItem("orgname"),
+ idp: "lyra",
+ },
+ },
},
zcform: {},
dynamicTags: ["閫夐」涓�", "閫夐」浜�", "閫夐」涓�"], //閫夐」
@@ -806,12 +857,12 @@
name: "鍑洪櫌鏈嶅姟鎬婚噺",
value: 0,
},
+ // {
+ // name: "鎮h�呰繃婊�",
+ // value: 0,
+ // },
{
- name: "鎮h�呰繃婊�",
- value: 0,
- },
- {
- name: "搴旈殢璁�",
+ name: "闇�闅忚",
value: 0,
},
@@ -827,10 +878,10 @@
name: "寰呴殢璁�",
value: 0,
},
- {
- name: "宸插彂閫�",
- value: 0,
- },
+ // {
+ // name: "宸插彂閫�",
+ // value: 0,
+ // },
// {
// name: "琛ㄥ崟宸插彂閫�",
@@ -851,9 +902,10 @@
topqueryParams: {
pageNum: 1,
pageSize: 10,
- serviceType: 10,
+ serviceType: 13,
searchscope: 3,
- sendstate:2,
+ sendstate: 2,
+ sort: localStorage.getItem("orgname") == "涓芥按甯備腑鍖婚櫌" ? 8 : 2, //0 鍑洪櫌鏃堕棿(姝e簭) 1 鍑洪櫌鏃堕棿(鍊掑簭) 2 鍙戦�佹椂闂�(姝e簭) 3 鍙戦�佹椂闂�(鍊掑簭) 7搴旈殢璁挎棩鏈�(鍊掑簭) 搴旈殢璁挎棩鏈�(姝e簭)
scopetype: [],
leaveldeptcodes: [],
leavehospitaldistrictcodes: [],
@@ -862,6 +914,10 @@
options: [],
topicoptions: [
+ {
+ value: null,
+ label: "鍏ㄩ儴",
+ },
{
value: 1,
label: "琛ㄥ崟宸查鍙�",
@@ -895,6 +951,32 @@
{
value: 0,
label: "姝e父",
+ },
+ ],
+ topicoptionssort: [
+ {
+ value: 0,
+ label: "鍑洪櫌鏃堕棿(姝e簭)",
+ },
+ {
+ value: 1,
+ label: "鍑洪櫌鏃堕棿(鍊掑簭)",
+ },
+ {
+ value: 2,
+ label: "鍙戦�佹椂闂�(姝e簭)",
+ },
+ {
+ value: 3,
+ label: "鍙戦�佹椂闂�(鍊掑簭)",
+ },
+ {
+ value: 7,
+ label: "搴旈殢璁挎棩鏈�(姝e簭)",
+ },
+ {
+ value: 8,
+ label: "搴旈殢璁挎棩鏈�(鍊掑簭)",
},
],
errtype: "",
@@ -955,10 +1037,13 @@
console.log(this.topqueryParams.leavehospitaldistrictcodes, "11");
}
this.loading = true;
- if (this.topqueryParams.leavehospitaldistrictcodes[0]&&this.topqueryParams.leaveldeptcodes[0]) {
- this.topqueryParams.deptOrDistrict=2;
- }else{
- this.topqueryParams.deptOrDistrict=1;
+ if (
+ this.topqueryParams.leavehospitaldistrictcodes[0] &&
+ this.topqueryParams.leaveldeptcodes[0]
+ ) {
+ this.topqueryParams.deptOrDistrict = 2;
+ } else {
+ this.topqueryParams.deptOrDistrict = 1;
}
getTaskservelist(this.topqueryParams).then((response) => {
this.userList = response.rows[0].serviceSubtaskList;
@@ -966,12 +1051,12 @@
if (refresh) {
this.cardlist[0].value =
Number(response.rows[0].wzx) + Number(response.rows[0].ysf);
- this.cardlist[1].value = response.rows[0].wzx;
- this.cardlist[2].value = response.rows[0].ysf;
+ // this.cardlist[1].value = response.rows[0].wzx;
+ this.cardlist[1].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[2].value = response.rows[0].fssb;
+ 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;
@@ -998,6 +1083,21 @@
}
});
this.total = response.total;
+ });
+ },
+ //鎮h��360璺宠浆
+ gettoken360(sfzh, drcode, drname) {
+ // this.$modal.msgWarning('360鍔熻兘鏆傛湭寮�閫�');
+
+ this.postData.YeWuXX.BingRenXX.ZhengJianHM = sfzh;
+
+ query360PatInfo(this.postData).then((res) => {
+ if (res.data.url) {
+ window.open(res.data.url, "_blank");
+ // this.linkUrl = res.data.url;
+ } else {
+ this.$modal.msgWarning("360鏌ヨ鏃犵粨鏋�");
+ }
});
},
buidegetTasklist(type) {
@@ -1032,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;
@@ -1158,9 +1258,13 @@
this.topqueryParams = {
pageNum: 1,
pageSize: 10,
- serviceType: 10,
+ serviceType: 13,
+ sort: 2,
searchscope: 2,
- sendstate:2,
+ sendstate: 2,
+ scopetype: [],
+ leaveldeptcodes: [],
+ leavehospitaldistrictcodes: [],
};
this.handleQuery(1);
},
@@ -1181,6 +1285,15 @@
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() {
let inputValue = this.inputValue;
@@ -1196,7 +1309,7 @@
path: "/followvisit/QuestionnaireTask",
query: {
type: 2,
- serviceType: 10,
+ serviceType: 13,
},
});
},
@@ -1299,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: {
@@ -1312,6 +1422,7 @@
patid: row.patid,
id: row.id,
Voicetype: type,
+ again: 1,
},
});
},
@@ -1365,7 +1476,8 @@
this.topqueryParams.pageNum = null;
this.topqueryParams.pageSize = null;
this.download(
- "smartor/serviceSubtask/export",
+ // "smartor/serviceSubtask/export",
+ "smartor/serviceSubtask/patItemExport",
{
...this.topqueryParams,
},
@@ -1476,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