| | |
| | | getbaseopera, |
| | | getFollowuplist, |
| | | getvFollowup, |
| | | selectInfoByCondition, |
| | | Taskparticty, |
| | | deleteTaskparticty, |
| | | getTaskInfo, |
| | |
| | | { label: "电话号码", width: "180", prop: "telcode" }, |
| | | { label: "性别", width: "", prop: "sex" }, |
| | | { label: "年龄", width: "", prop: "age" }, |
| | | { label: "电话", width: "180", prop: "telcode" }, |
| | | { label: "出院天数", width: "", prop: "endDay" }, |
| | | { label: "责任护士", width: "", prop: "nurseName" }, |
| | | { label: "主治医生", width: "", prop: "drname" }, |
| | |
| | | ], |
| | | sendType: [ |
| | | { required: true, message: "发送设置不能为空", trigger: "blur" }, |
| | | ], |
| | | longTask: [ |
| | | { required: true, message: "请选择执行周期", trigger: "blur" }, |
| | | ], |
| | | // deptcode: [ |
| | | // { required: true, message: "适用科室不能为空", trigger: "blur" }, |
| | |
| | | this.form.preachformList = this.selectedOrder; |
| | | } else { |
| | | this.$modal.msgError("请选择服务类型"); |
| | | this.submitLoading = false; |
| | | |
| | | return; |
| | | } |
| | | |
| | |
| | | ) { |
| | | } else { |
| | | this.$modal.msgError("请选择任务关联条件"); |
| | | this.submitLoading = false; |
| | | |
| | | return; |
| | | } |
| | | // if (!this.form.patTaskRelevances[0] && !this.form.longTask) { |
| | |
| | | |
| | | if (!this.form.templatename && !this.templateor) { |
| | | this.$modal.msgError("未选择模板"); |
| | | this.submitLoading = false; |
| | | |
| | | return; |
| | | } |
| | | |
| | |
| | | this.form.longTask |
| | | ) { |
| | | } else { |
| | | this.submitLoading = false; |
| | | |
| | | return this.$modal.msgError("时间信息缺失"); |
| | | } |
| | | const filteredArray = this.variableList.filter( |
| | |
| | | // 疾病 |
| | | 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.checkList = this.form.preachform.split(",") || []; |
| | | this.selectedOrder = this.form.preachformList; |
| | | |
| | | this.overallCase.forEach((item) => { |
| | |
| | | Taskparticty(this.objyl).then((response) => { |
| | | this.previewtf = false; |
| | | this.form.libtemplateid = this.objyl.id; |
| | | this.form.libtemplatename = this.objyl.templateName; |
| | | this.form.templateid = response.data; |
| | | this.putbelongDepts(response.data); |
| | | this.form.templatename = this.objyl.templateName; |
| | |
| | | Taskparticty(this.objyl).then((response) => { |
| | | this.previewtf = false; |
| | | this.form.libtemplateid = this.objyl.id; |
| | | this.form.libtemplatename = this.objyl.templateName; |
| | | this.form.templateid = response.data; |
| | | this.putbelongDepts(response.data); |
| | | this.form.templatename = this.objyl.templateName; |