| | |
| | | if (row.sendState != 2) { |
| | | this.TaskOperation.taskId = row.taskid; |
| | | this.TaskOperation.sendState = 2; |
| | | TaskTemplateSendExecution(this.TaskOperation).then((res) => {}); |
| | | TaskTemplateSendExecution(this.TaskOperation).then((res) => { |
| | | this.getList(); |
| | | }); |
| | | } |
| | | }, |
| | | // 立即执行 |
| | | immediateExecution(row) { |
| | | console.log(row, "任务信息"); |
| | | if (row.sendState != 2) { |
| | | this.TaskOperation.taskId = row.taskid; |
| | | this.TaskOperation.sendState = 2; |
| | | this.TaskOperation.sendType = 2; |
| | | TaskTemplateSendExecution(this.TaskOperation).then((res) => {}); |
| | | TaskTemplateSendExecution(this.TaskOperation).then((res) => { |
| | | this.getList(); |
| | | }); |
| | | } |
| | | }, |
| | | |
| | |
| | | if (row.sendState == 2) { |
| | | this.TaskOperation.taskId = row.taskId; |
| | | this.TaskOperation.sendState = 3; |
| | | TaskTemplateSendExecution().then((res) => {}); |
| | | TaskTemplateSendExecution().then((res) => { |
| | | this.getList(); |
| | | }); |
| | | } |
| | | }, |
| | | |
| | |
| | | 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); |