From 5713f38a938bcde7879778badf2a1368dedfc208 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com>
Date: Mon, 4 Nov 2024 17:02:47 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/system/followup/index.vue | 97 +++++++++++------------------
1 file changed, 38 insertions(+), 59 deletions(-)
diff --git a/src/views/system/followup/index.vue b/src/views/system/followup/index.vue
index f723f5f..e2cc7ad 100644
--- a/src/views/system/followup/index.vue
+++ b/src/views/system/followup/index.vue
@@ -93,21 +93,12 @@
active-text="全部" inactive-text="待办" @change="changeswitch" />
-
@@ -159,7 +150,8 @@
:show-overflow-tooltip="true" />
- {{ scope.row.visitMethod == "OUTPATIENT_SERVICE" ? "门诊" : "" }}
+
+ {{ scope.row.visitMethod == "OUTPATIENT_SERVICE" ? "门诊" : "" }}
{{ scope.row.visitMethod == "BE_IN_HOSPITAL" ? "住院" : "" }}
@@ -173,27 +165,15 @@
-->
- {{
- scope.row.visitMethod == "BE_IN_HOSPITAL"
- ? parseTime(scope.row.admissionTime, "{y}-{m}-{d}")
- : ""
- }}
+ {{ scope.row.visitMethod == "BE_IN_HOSPITAL" ? parseTime(scope.row.admissionTime, "{y}-{m}-{d}") : "" }}
- {{
- scope.row.visitMethod == "OUTPATIENT_SERVICE"
- ? parseTime(scope.row.visitTime, "{y}-{m}-{d}")
- : ""
- }}
- {{
- scope.row.visitMethod == "BE_IN_HOSPITAL"
- ? parseTime(scope.row.dischargeTime, "{y}-{m}-{d}")
- : ""
- }}
+ {{ scope.row.visitMethod == "OUTPATIENT_SERVICE" ? parseTime(scope.row.visitTime, "{y}-{m}-{d}") : "" }}
+ {{ scope.row.visitMethod == "BE_IN_HOSPITAL" ? parseTime(scope.row.dischargeTime, "{y}-{m}-{d}") : "" }}
@@ -201,45 +181,39 @@
- 出院后第{{
- scope.row.routeNodeDay }}天
- 入院后第{{
- scope.row.routeNodeDay }}天
- 就诊后第{{
- scope.row.routeNodeDay }}天
+ 出院后
+ 第{{ scope.row.routeNodeDay }}天
+ 入院后
+ 第{{ scope.row.routeNodeDay }}天
+ 就诊后
+ 第{{ scope.row.routeNodeDay }}天
就诊/出院后第{{ scope.row.routeNodeDay }}天
- 术前第{{
- scope.row.routeNodeDay }}天
- 术后第{{
- scope.row.routeNodeDay }}天
+ 术前
+ 第{{ scope.row.routeNodeDay }}天
+ 术后
+ 第{{ scope.row.routeNodeDay }}天
{{ scope.row.taskNodeType == "PHONE_OUTBOUND" ? "电话外呼" : "" }}
- {{
- scope.row.taskNodeType == "QUESTIONNAIRE_SCALE"
- ? "问卷量表"
- : ""
- }}
- {{
- scope.row.taskNodeType == "PROPAGANDA_ARTICLE" ? "宣教文章" : ""
- }}
+ {{ scope.row.taskNodeType == "QUESTIONNAIRE_SCALE" ? "问卷量表" : "" }}
+ {{ scope.row.taskNodeType == "PROPAGANDA_ARTICLE" ? "宣教文章" : "" }}
{{ scope.row.taskNodeType == "TEXT_REMIND" ? "文字提醒" : "" }}
-
+
{{ parseTime(scope.row.planTime, "{y}-{m}-{d}") }}
-
+
{{ parseTime(scope.row.executeTime, "{y}-{m}-{d}") }}
@@ -252,6 +226,7 @@
icon="el-icon-bank-card" @click="handleUpdate(scope.row)">处理
详情
+ 外呼
@@ -276,6 +251,7 @@ export default {
data() {
return {
+ czshow: null,
foldshow: null,
maxTableHeight: undefined,
// 随访时间
@@ -337,6 +313,7 @@ export default {
patientName: null,
startDate: null,
endDate: null,
+ phoneDialMethod: 'COMMON',
manageRouteName: null,
manageRouteNodeName: null,
taskContent: null,
@@ -547,6 +524,11 @@ export default {
getList() {
this.loading = true;
manualFollowUpList(this.queryParams).then((response) => {
+ if (this.queryParams.phoneDialMethod == 'AI' && this.queryParams.nodeExecuteStatus == 'EXECUTED') {
+ this.czshow = true
+ } else {
+ this.czshow = false
+ }
localStorage.setItem("followupquery", JSON.stringify(this.queryParams));
this.taskExecuteRecordList = response.rows;
this.total = response.total;
@@ -599,11 +581,7 @@ export default {
this.queryParams.clinicalStartTime = null;
this.queryParams.clinicalEndTime = null;
} else {
- console.log(this.queryParams, "-----");
- if (
- !this.queryParams.suitRange ||
- this.queryParams.suitRange == "IN_THE_HOSPITAL"
- ) {
+ if (!this.queryParams.suitRange || this.queryParams.suitRange == "IN_THE_HOSPITAL") {
this.queryParams.clinicalStartTime = this.mzTime[0];
this.queryParams.clinicalEndTime = this.mzTime[1];
this.queryParams.dischargeStartTime =
@@ -665,6 +643,7 @@ export default {
startDate: null,
endDate: null,
manageRouteName: null,
+ phoneDialMethod: 'COMMON',
manageRouteNodeName: null,
taskContent: null,
executeTime: null,
@@ -698,6 +677,7 @@ export default {
patientName: null,
startDate: null,
endDate: null,
+ phoneDialMethod: 'COMMON',
manageRouteName: null,
manageRouteNodeName: null,
taskContent: null,
@@ -713,7 +693,6 @@ export default {
// this.timeSignshow=true
// this.queryParams.nodeExecuteStatus = 'EXECUTED'
}
-
this.handleQuery();
this.intentionalTime = [];
this.mzTime = [];