| | |
| | | this.patid = this.$route.query.patid; |
| | | this.Voicetype = this.$route.query.Voicetype; |
| | | this.serviceType = this.$route.query.serviceType; |
| | | console.log(this.id, this.patid); |
| | | |
| | | this.getTaskservelist(this.id); |
| | | }, |
| | |
| | | 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"); |
| | | |
| | |
| | | |
| | | // 获取患者记录 |
| | | getTaskservelist(id) { |
| | | this.id = id; |
| | | console.log(id,'idsub'); |
| | | |
| | | if (id) { |
| | | this.Whetherall = false; |
| | | } else { |
| | |
| | | if (valid) { |
| | | let form = structuredClone(this.form); |
| | | form.longSendTime = this.formatTime(form.date1); |
| | | form.finishtime = ''; |
| | | if (form.resource) { |
| | | if (form.resource == 2) { |
| | | form.serviceType = 10; |