From a85d70fa032f355baa9cafdb2b7350a19cd88741 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期一, 03 六月 2024 15:30:24 +0800
Subject: [PATCH] 测试完成
---
src/views/followvisit/tasklist/index.vue | 13 ++++++++++---
src/views/patient/propaganda/particty.vue | 6 +++---
2 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/src/views/followvisit/tasklist/index.vue b/src/views/followvisit/tasklist/index.vue
index a04d02e..6c92687 100644
--- a/src/views/followvisit/tasklist/index.vue
+++ b/src/views/followvisit/tasklist/index.vue
@@ -733,16 +733,21 @@
if (row.sendState != 2) {
this.TaskOperation.taskId = row.taskid;
this.TaskOperation.sendState = 2;
- TaskTemplateSendExecution(this.TaskOperation).then((res) => {});
+ TaskTemplateSendExecution(this.TaskOperation).then((res) => {
+ this.getList();
+ });
}
},
+ // 绔嬪嵆鎵ц
immediateExecution(row) {
console.log(row, "浠诲姟淇℃伅");
if (row.sendState != 2) {
this.TaskOperation.taskId = row.taskid;
this.TaskOperation.sendState = 2;
this.TaskOperation.sendType = 2;
- TaskTemplateSendExecution(this.TaskOperation).then((res) => {});
+ TaskTemplateSendExecution(this.TaskOperation).then((res) => {
+ this.getList();
+ });
}
},
@@ -755,7 +760,9 @@
if (row.sendState == 2) {
this.TaskOperation.taskId = row.taskId;
this.TaskOperation.sendState = 3;
- TaskTemplateSendExecution().then((res) => {});
+ TaskTemplateSendExecution().then((res) => {
+ this.getList();
+ });
}
},
diff --git a/src/views/patient/propaganda/particty.vue b/src/views/patient/propaganda/particty.vue
index 8f06dbc..e56e765 100644
--- a/src/views/patient/propaganda/particty.vue
+++ b/src/views/patient/propaganda/particty.vue
@@ -859,7 +859,6 @@
tasktopic: null, //鏂板绫诲瀷
SelectPatientslist: [],
form: {
- serviceform: [],
patTaskRelevances: [],
sendType: 1,
templatename: "",
@@ -985,7 +984,7 @@
},
// 淇濆瓨
submitForm(formName) {
- this.form.serviceform = this.checkList.join(",");
+ // this.form.serviceform = this.checkList.join(",");
this.form.hospType = this.currenttype;
const filteredArray = this.variableList.filter(
(item) =>
@@ -1184,7 +1183,7 @@
if (res.code == 200) {
this.form = res.data;
this.overallCase = this.form.patTaskRelevances.concat();
- this.checkList = this.form.serviceform.split(",");
+ // this.checkList = this.form.serviceform.split(",");
this.daytime = this.form.showDate.split(",");
if (this.form.showTimeMorn)
this.time1 = this.form.showTimeMorn.split(",");
@@ -1192,6 +1191,7 @@
this.time2 = this.form.showTimeNoon.split(",");
if (this.form.showTimeNight)
this.time3 = this.form.showTimeNight.split(",");
+ console.log(1122);
filteredArray = this.convertFormat1ToFormat2(this.form.textParam);
console.log(filteredArray, "filteredArray");
this.variableList = this.transitionList.concat(filteredArray);
--
Gitblit v1.9.3