| | |
| | | <el-radio |
| | | v-for="( |
| | | items, index |
| | | ) in item.ivrTaskScriptTargetoptionList" |
| | | ) in item.ivrLibaScriptTargetoptionList" |
| | | :key="index" |
| | | :label="index" |
| | | >{{ items.targetvalue }}</el-radio |
| | |
| | | <el-checkbox |
| | | v-for="( |
| | | items, index |
| | | ) in item.ivrTaskScriptTargetoptionList" |
| | | ) in item.ivrLibaScriptTargetoptionList" |
| | | :key="index" |
| | | :label="index" |
| | | > |
| | |
| | | getbaseopera, |
| | | getFollowuplist, |
| | | getvFollowup, |
| | | selectInfoByCondition, |
| | | Taskparticty, |
| | | deleteTaskparticty, |
| | | getTaskInfo, |
| | |
| | | }; |
| | | this.currenttype = this.$route.query.type; |
| | | this.title = "随访内容列表"; |
| | | this.tableLabel = this.tableLabelwj; |
| | | this.tableLabel = this.tableLabelwj||[]; |
| | | if (this.form.serviceType == 1) { |
| | | this.checkboxlist = [ |
| | | { |
| | |
| | | this.leavehospitaldistrictcodes = []; |
| | | } |
| | | if (this.checkList) { |
| | | this.form.preachform = this.checkList.join(","); |
| | | this.form.preachformList = this.selectedOrder; |
| | | this.form.preachform = this.checkList.join(",")||[]; |
| | | this.form.preachformList = this.selectedOrder||[]; |
| | | } else { |
| | | this.$modal.msgError("请选择服务类型"); |
| | | this.submitLoading = false; |
| | | this.submitLoading = false; |
| | | |
| | | return; |
| | | } |
| | |
| | | ) { |
| | | } else { |
| | | this.$modal.msgError("请选择任务关联条件"); |
| | | this.submitLoading = false; |
| | | this.submitLoading = false; |
| | | |
| | | return; |
| | | } |
| | |
| | | |
| | | if (!this.form.templatename && !this.templateor) { |
| | | this.$modal.msgError("未选择模板"); |
| | | this.submitLoading = false; |
| | | this.submitLoading = false; |
| | | |
| | | return; |
| | | } |
| | |
| | | this.form.longTask |
| | | ) { |
| | | } else { |
| | | this.submitLoading = false; |
| | | this.submitLoading = false; |
| | | |
| | | return this.$modal.msgError("时间信息缺失"); |
| | | } |
| | |
| | | // 疾病 |
| | | this.getillness(this.form.libtemplateid); |
| | | |
| | | getvFollowup({ id: this.form.libtemplateid }).then((res) => { |
| | | selectInfoByCondition({id:this.form.templateid} ).then((res) => { |
| | | if (res.code == 200) { |
| | | this.previewtf = true; |
| | | this.previewtftype = 1; |
| | | this.questionList = res.data.ivrLibaTemplateScriptVOList; |
| | | this.objyl.ivrLibaTemplateScriptVOList = |
| | | res.data.ivrLibaTemplateScriptVOList; |
| | | this.questionList = res.data.ivrTaskTemplateScriptVOList; |
| | | this.questionList.forEach((item) => { |
| | | item.qremark = []; |
| | | item.ivrLibaScriptTargetoptionList = |
| | | item.ivrTaskScriptTargetoptionList; |
| | | }); |
| | | this.objyl.ivrLibaScriptTargetoptionList = |
| | | res.data.ivrTaskScriptTargetoptionList; |
| | | } else { |
| | | } |
| | | }); |
| | |
| | | ? this.form.patTaskRelevances |
| | | : []; |
| | | this.overallCase = this.form.patTaskRelevances.concat(); |
| | | this.checkList = this.form.preachform.split(","); |
| | | this.selectedOrder = this.form.preachformList; |
| | | this.checkList = this.form.preachform.split(",") || []; |
| | | this.selectedOrder = this.form.preachformList||[]; |
| | | |
| | | this.overallCase.forEach((item) => { |
| | | if (item.endtime) { |
| | |
| | | this.objyl.suitway = this.objyl.suitway.join(","); |
| | | } |
| | | this.objyl.ivrLibaTemplateScriptVOList.forEach((item) => { |
| | | item.ivrTaskScriptTargetoptionList = item.ivrTaskScriptTargetoptionList; |
| | | item.ivrTaskScriptTargetoptionList = item.ivrLibaScriptTargetoptionList; |
| | | }); |
| | | this.objyl.ivrTaskTemplateScriptVOList = |
| | | this.objyl.ivrLibaTemplateScriptVOList; |
| | |
| | | }); |
| | | }, |
| | | checkSelectionChange(selectedValues, selectedOrder) { |
| | | this.selectedOrder = selectedValues; |
| | | this.selectedOrder = selectedValues||[]; |
| | | console.log("当前选中:", selectedValues); |
| | | console.log("选中顺序:", selectedOrder); |
| | | }, |
| | |
| | | this.objyl.isoperation = 1; |
| | | this.objyl.ivrLibaTemplateScriptVOList.forEach((item) => { |
| | | item.ivrTaskScriptTargetoptionList = |
| | | item.ivrTaskScriptTargetoptionList; |
| | | item.ivrLibaScriptTargetoptionList; |
| | | }); |
| | | this.objyl.ivrTaskTemplateScriptVOList = |
| | | this.objyl.ivrLibaTemplateScriptVOList; |