| | |
| | | tasktopic: null, //新增类型 |
| | | SelectPatientslist: [], |
| | | form: { |
| | | serviceform: [], |
| | | patTaskRelevances: [], |
| | | sendType: 1, |
| | | templatename: "", |
| | |
| | | }, |
| | | // 保存 |
| | | submitForm(formName) { |
| | | this.form.serviceform = this.checkList.join(","); |
| | | // this.form.serviceform = this.checkList.join(","); |
| | | this.form.hospType = this.currenttype; |
| | | const filteredArray = this.variableList.filter( |
| | | (item) => |
| | |
| | | if (res.code == 200) { |
| | | this.form = res.data; |
| | | this.overallCase = this.form.patTaskRelevances.concat(); |
| | | this.checkList = this.form.serviceform.split(","); |
| | | // this.checkList = this.form.serviceform.split(","); |
| | | this.daytime = this.form.showDate.split(","); |
| | | if (this.form.showTimeMorn) |
| | | this.time1 = this.form.showTimeMorn.split(","); |
| | |
| | | this.time2 = this.form.showTimeNoon.split(","); |
| | | if (this.form.showTimeNight) |
| | | this.time3 = this.form.showTimeNight.split(","); |
| | | console.log(1122); |
| | | filteredArray = this.convertFormat1ToFormat2(this.form.textParam); |
| | | console.log(filteredArray, "filteredArray"); |
| | | this.variableList = this.transitionList.concat(filteredArray); |