From adf7c9495ac348644079592059ea4c4d95b84b99 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期三, 21 八月 2024 14:05:38 +0800
Subject: [PATCH] 测试完成
---
src/views/patient/propaganda/particty.vue | 16 +++++++++++-----
1 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/src/views/patient/propaganda/particty.vue b/src/views/patient/propaganda/particty.vue
index a67e388..6972a8f 100644
--- a/src/views/patient/propaganda/particty.vue
+++ b/src/views/patient/propaganda/particty.vue
@@ -935,6 +935,7 @@
if (!isExist) {
console.log(this.patientqueryParams.allhosp, "allhosp");
item.isoperation = 1;
+ item.patid = item.id;
item.hospType = this.patientqueryParams.allhosp;
this.overallCase.push(item);
this.form.patTaskRelevances.push(item);
@@ -945,10 +946,12 @@
// 鍒囨崲椤靛悗鎭㈠閫変腑
Restorecheck() {
console.log(this.overallCase, "this.overallCase");
- const allid = this.overallCase.map((item) => item.patid);
+ const allid = this.overallCase.map((item) => item.id);
const overlap = this.patientuserList.filter((value) => {
- return allid.includes(value.patid);
+ return allid.includes(value.id);
});
+ console.log(overlap, "overlap");
+
// 淇濇寔ids鍜屽綋鍓嶉〉闈㈢殑鍚屾鎬�
this.SelectPatientslist = overlap;
console.log(this.SelectPatientslist, "杩涘叆鍒嗛〉SelectPatientslist");
@@ -1137,15 +1140,18 @@
// 鏌ョ湅妯$増
previewGo() {
this.$router.push({
- path: "/knowledge/templateku/configurat/",
+ path: "/knowledge/tpuconfigurat/",
query: { id: this.previewid, task: true, data: this.form },
});
},
previewFn() {
let id = this.Tasktemplate.id;
this.Tasktemplate.id = null;
- this.Tasktemplate.ivrLibaTemplateScriptVOList.ivrTaskScriptTargetoptionList =
- this.Tasktemplate.ivrLibaTemplateScriptVOList.ivrLibaScriptTargetoptionList;
+ this.Tasktemplate.ivrLibaTemplateScriptVOList.forEach((item) => {
+ item.ivrTaskScriptTargetoptionList = item.ivrLibaScriptTargetoptionList;
+ });
+ console.log(this.Tasktemplate.ivrLibaTemplateScriptVOList);
+
this.Tasktemplate.ivrTaskTemplateScriptVOList =
this.Tasktemplate.ivrLibaTemplateScriptVOList;
this.Tasktemplate.ivrLibaTemplateTagList = null;
--
Gitblit v1.9.3