| | |
| | | label: "微信公众号", |
| | | }, |
| | | { label: "微信小程序", value: 6 }, |
| | | |
| | | ]; |
| | | } else if (this.form.serviceType == 6) { |
| | | this.checkboxlist = [ |
| | |
| | | xh: 1, |
| | | }, |
| | | ]; |
| | | |
| | | if (this.checkList[0]) { |
| | | this.form.preachform = this.checkList.join(","); |
| | | } else { |
| | |
| | | this.form.leavehospitaldistrictcodes = store.getters.belongWards.map( |
| | | (obj) => obj.districtCode |
| | | ); |
| | | console.log(this.form.longTask); |
| | | console.log(this.form.preachform); |
| | | |
| | | if (this.form.longTask && this.form.preachform == 6) { |
| | | this.form.patCycle = 1; |
| | | } |
| | | Editsingletask(this.form).then((res) => { |
| | | if (res.code == 200) { |
| | | if (this.form.taskid) { |
| | |
| | | this.objyl.isoperation = 1; |
| | | } |
| | | this.objyl.taskid = data.taskId; |
| | | this.objyl.sendDay='5', |
| | | TaskQuestioncomit(this.objyl).then((response) => { |
| | | this.previewtf = false; |
| | | this.form.libtemplateid = this.objyl.svyid; |
| | |
| | | this.overallCase.forEach((item) => { |
| | | this.allpids.push(item.patid); |
| | | }); |
| | | if (this.patientqueryParams.allhosp == 1||(this.patientqueryParams.allhosp == 1&&this.patientqueryParams.cry == 1)) { |
| | | if ( |
| | | this.patientqueryParams.allhosp == 1 || |
| | | (this.patientqueryParams.allhosp == 1 && |
| | | this.patientqueryParams.cry == 1) |
| | | ) { |
| | | this.tableLabelhz = [ |
| | | // { label: "入院日期", width: "170", prop: "starttime" }, |
| | | { label: "出院日期", width: "150", prop: "endtime" }, |
| | |
| | | this.patientqueryParams.cry = 1; |
| | | } else if (this.patientqueryParams.allhosp == 4) { |
| | | this.patientqueryParams.cry = 0; |
| | | this.patientqueryParams.allhosp = '1'; |
| | | this.patientqueryParams.allhosp = "1"; |
| | | } |
| | | // 来源判断 |
| | | |
| | |
| | | // 依照新增时处理 |
| | | neWaddfn(){ |
| | | this.id=null; |
| | | this.form.taskName=''; |
| | | this.form.taskName = ""; |
| | | this.form.taskid = null; |
| | | this.overallCase=[]; |
| | | this.form.patTaskRelevances=[]; |
| | |
| | | |
| | | this.objyl.isoperation = 1; |
| | | console.log(this.objyl.id); |
| | | this.objyl.sendDay='5'; |
| | | |
| | | if (this.objyl.id) { |
| | | deleteTaskQuestioncomit(this.objyl.id).then((res) => { |