From 55c064ecee35b2fb81ce27ba2a5ab52adf647c85 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期四, 24 四月 2025 16:17:39 +0800 Subject: [PATCH] 测试完成 --- src/views/followvisit/record/detailpage/index.vue | 27 ++++++++++++++++++--------- 1 files changed, 18 insertions(+), 9 deletions(-) diff --git a/src/views/followvisit/record/detailpage/index.vue b/src/views/followvisit/record/detailpage/index.vue index 7b4f9d1..63107e0 100644 --- a/src/views/followvisit/record/detailpage/index.vue +++ b/src/views/followvisit/record/detailpage/index.vue @@ -18,7 +18,6 @@ >鏌ョ湅鎮h�呮湰娆℃湇鍔′俊鎭�</el-button > </div> - </div> <!-- <el-button type="success">闅忚鍚庣煭淇�</el-button> --> </div> @@ -221,9 +220,9 @@ <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> @@ -577,7 +576,7 @@ 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"); @@ -597,7 +596,7 @@ // 鑾峰彇鍩虹淇℃伅 getuserinfo() { const queryParams = { - pid: Number(this.id), + pid: Number(this.patid), allhosp: "0", pageNum: 1, }; @@ -682,6 +681,7 @@ subId: this.id, taskid: this.taskid, scriptid: item.id, + templatequestionnum:item.scriptno, questiontext: item.scriptContent, }; if (item.scriptType == 2 && item.scriptResult[0]) { @@ -713,10 +713,13 @@ 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; } @@ -756,7 +759,7 @@ this.templateid = this.logsheetlist[0].templateid; console.log(this.form.serviceType, "serviceType"); } - +this.getuserinfo() if (this.Voicetype) { this.getPersonVoices(); } else { @@ -782,7 +785,7 @@ } }); }, - Editsingletasksonyic(excep) { + Editsingletasksonyic(sendstate) { let objson = {}; getTaskservelist({ patid: this.patid, @@ -790,7 +793,8 @@ }).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("鏈嶅姟淇敼鎴愬姛"); @@ -859,6 +863,8 @@ 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; @@ -1049,6 +1055,9 @@ top: 0; } } +::v-deep.el-input.is-disabled .el-input__inner{ +color: #02a7f0; +} ::v-deep.offside-value .el-radio__label { color: #fff; } -- Gitblit v1.9.3