| | |
| | | sendType: [ |
| | | { required: true, message: "发送设置不能为空", trigger: "blur" }, |
| | | ], |
| | | deptcode: [ |
| | | { required: true, message: "适用科室不能为空", trigger: "blur" }, |
| | | |
| | | longTask: [ |
| | | { required: true, message: "请选择执行周期", trigger: "blur" }, |
| | | ], |
| | | // leavehospitaldistrictcode: [ |
| | | // { required: true, message: "适用病区不能为空", trigger: "blur" }, |
| | |
| | | this.form.preachformList = this.selectedOrder; |
| | | } else { |
| | | this.$modal.msgError("请选择服务类型"); |
| | | this.submitLoading = false; |
| | | |
| | | return; |
| | | } |
| | | console.log(this.operationcodes[0]); |
| | |
| | | ) { |
| | | } else { |
| | | this.$modal.msgError("请选择任务关联条件"); |
| | | this.submitLoading = false; |
| | | return; |
| | | } |
| | | //暂停任务患者限制 |
| | |
| | | |
| | | 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( |
| | |
| | | TaskQuestioncomit(this.objyl).then((response) => { |
| | | this.previewtf = false; |
| | | this.form.libtemplateid = this.objyl.svyid; |
| | | this.form.libtemplatename = this.objyl.svyname; |
| | | this.form.templateid = response.data; |
| | | this.form.templatename = this.objyl.svyname; |
| | | this.$modal.msgSuccess("选择模板成功"); |
| | |
| | | TaskQuestioncomit(this.objyl).then((response) => { |
| | | this.previewtf = false; |
| | | this.form.libtemplateid = this.objyl.svyid; |
| | | this.form.libtemplatename = this.objyl.svyname; |
| | | this.form.templateid = response.data; |
| | | this.form.templatename = this.objyl.svyname; |
| | | this.$modal.msgSuccess("选择模板成功"); |
| | |
| | | this.objyl.templateid = this.objyl.svyid; |
| | | this.form.libtemplateid = this.objyl.svyid; |
| | | this.objyl.isoperation = 1; |
| | | this.objyl.svyLibTemplateScriptVOS = |
| | | this.objyl.svyTaskTemplateScriptVOS = |
| | | this.objyl.svyTemplateLibScripts; |
| | | this.objyl.svyLibTemplateScriptVOS.forEach((item) => { |
| | | this.objyl.svyTaskTemplateScriptVOS.forEach((item) => { |
| | | item.svyTaskTemplateTargetoptions = |
| | | item.svyLibTemplateTargetoptions; |
| | | }); |