| | |
| | | isFinish: false, |
| | | }).then((res) => { |
| | | if (res.code === 200) { |
| | | this.tableDatatop = res.data.scriptResult.script; |
| | | this.tableDatatop = res.data.scriptResult; |
| | | this.tableDatatop.forEach((item) => { |
| | | console.log(item.scriptResultId, "scriptResultId"); |
| | | |
| | |
| | | } |
| | | }); |
| | | }, |
| | | Editsingletasksonyic(excep) { |
| | | Editsingletasksonyic(sendstate) { |
| | | let objson = {}; |
| | | getTaskservelist({ |
| | | patid: this.patid, |
| | |
| | | }).then((res) => { |
| | | if (res.code == 200) { |
| | | objson = res.rows[0].serviceSubtaskList[0]; |
| | | objson.excep = excep; |
| | | objson.remark = this.form.remark; |
| | | if (sendstate) objson.sendstate = sendstate; |
| | | Editsingletaskson(objson).then((res) => { |
| | | if (res.code) { |
| | | this.$modal.msgSuccess("服务修改成功"); |
| | |
| | | console.log(this.form); |
| | | let form = structuredClone(this.form); |
| | | form.longSendTime = this.formatTime(form.date1); |
| | | form.finishtime = ''; |
| | | |
| | | if (form.resource) { |
| | | if (form.resource == 2) { |
| | | form.serviceType = 10; |