From 891f1591f759a9dfa333fcea4707d41bad9fe436 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期一, 24 二月 2025 10:32:28 +0800 Subject: [PATCH] 测试完成 --- src/views/patient/propaganda/particty.vue | 25 +++++++++++++++++++++---- 1 files changed, 21 insertions(+), 4 deletions(-) diff --git a/src/views/patient/propaganda/particty.vue b/src/views/patient/propaganda/particty.vue index 290f4fa..e4d7210 100644 --- a/src/views/patient/propaganda/particty.vue +++ b/src/views/patient/propaganda/particty.vue @@ -1599,8 +1599,8 @@ item.deptName = item.dept; item.admindate = item.inhosptime; item.sfzh = item.idcardno; - if (this.patientqueryParams.allhosp==6) { - item.patfrom = 1; + if (this.patientqueryParams.allhosp == 6) { + item.patfrom = 1; } this.overallCase.push(item); this.form.patTaskRelevances.push(item); @@ -2010,7 +2010,7 @@ "鍔熻兘鎻愮ず", { confirmButtonText: "淇濆瓨浠诲姟", - cancelButtonText: "鍙栨秷", + cancelButtonText: "鏆傚瓨妯℃澘", type: "warning", } ) @@ -2030,7 +2030,24 @@ this.submitForm(); }) - .catch(() => {}); + .catch(() => { + if (Array.isArray(this.objyl.suitway)) { + this.objyl.suitway = this.objyl.suitway.join(","); + } + this.objyl.templateid = this.objyl.id; + this.objyl.isoperation = 1; + this.objyl.ivrLibaTemplateScriptVOList.forEach((item) => { + item.ivrTaskScriptTargetoptionList = + item.ivrLibaScriptTargetoptionList; + }); + this.objyl.ivrTaskTemplateScriptVOList = + this.objyl.ivrLibaTemplateScriptVOList; + this.form.ivrTaskTemplateVO = this.objyl; + this.form.templatename=this.objyl.templateName; + this.$modal.msgSuccess("鏆傚瓨鎴愬姛淇濆瓨浠诲姟鍚庢ā鏉垮け鏁�"); + this.drawermb=false; + this.previewtf=false; + }); } else { setTimeout(() => { this.previewFn(); -- Gitblit v1.9.3