| | |
| | | >查看患者本次服务信息</el-button |
| | | > |
| | | </div> |
| | | |
| | | </div> |
| | | <!-- <el-button type="success">随访后短信</el-button> --> |
| | | </div> |
| | |
| | | <el-button plain type="info" @click="Editsingletaskson('5')" |
| | | >中心随访</el-button |
| | | > |
| | | <el-button type="primary" round @click="sendAgain()" |
| | | <!-- <el-button type="primary" round @click="sendAgain()" |
| | | >再次随访</el-button |
| | | > |
| | | > --> |
| | | </div> |
| | | </el-form-item> |
| | | </el-form> |
| | |
| | | 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"); |
| | | |
| | |
| | | // 获取基础信息 |
| | | getuserinfo() { |
| | | const queryParams = { |
| | | pid: Number(this.id), |
| | | pid: Number(this.patid), |
| | | allhosp: "0", |
| | | pageNum: 1, |
| | | }; |
| | |
| | | subId: this.id, |
| | | taskid: this.taskid, |
| | | scriptid: item.id, |
| | | templatequestionnum:item.scriptno, |
| | | questiontext: item.scriptContent, |
| | | }; |
| | | if (item.scriptType == 2 && item.scriptResult[0]) { |
| | |
| | | this.tableDatatop.forEach((item, index) => { |
| | | console.log(item.scriptResult, "scriptResult"); |
| | | item.scriptResult = item.scriptResult.join("&"); |
| | | item.templatequestionnum = index + 1; |
| | | // item.templatequestionnum = index + 1; |
| | | item.subId = this.id; |
| | | item.taskid = this.taskid; |
| | | item.asrtext = item.matchedtext; |
| | | item.templatequestionnum = item.scriptno; |
| | | item.targetid = item.targetid; |
| | | item.scriptid = item.id; |
| | | if (!item.id) { |
| | | item.isoperation = 1; |
| | | } |
| | |
| | | this.templateid = this.logsheetlist[0].templateid; |
| | | console.log(this.form.serviceType, "serviceType"); |
| | | } |
| | | |
| | | this.getuserinfo() |
| | | if (this.Voicetype) { |
| | | this.getPersonVoices(); |
| | | } else { |
| | |
| | | } |
| | | }); |
| | | }, |
| | | 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; |
| | |
| | | top: 0; |
| | | } |
| | | } |
| | | ::v-deep.el-input.is-disabled .el-input__inner{ |
| | | color: #02a7f0; |
| | | } |
| | | ::v-deep.offside-value .el-radio__label { |
| | | color: #fff; |
| | | } |