From 5acc6d2dada00ac3c523e52ff5909c1e1f1937ab Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期四, 27 二月 2025 14:36:38 +0800 Subject: [PATCH] 测试完成 --- src/views/followvisit/record/detailpage/index.vue | 67 ++++++++++++++++++++++----------- 1 files changed, 44 insertions(+), 23 deletions(-) diff --git a/src/views/followvisit/record/detailpage/index.vue b/src/views/followvisit/record/detailpage/index.vue index c4eaf3b..1725993 100644 --- a/src/views/followvisit/record/detailpage/index.vue +++ b/src/views/followvisit/record/detailpage/index.vue @@ -36,6 +36,14 @@ <el-table-column prop="sendname" align="center" label="濮撳悕"> </el-table-column> <el-table-column + prop="taskName" + align="center" + width="200" + show-overflow-tooltip + label="浠诲姟鍚嶇О" + > + </el-table-column> + <el-table-column prop="sendstate" align="center" width="200" @@ -134,14 +142,6 @@ /> </template> </el-table-column> - <el-table-column - prop="taskName" - align="center" - width="200" - show-overflow-tooltip - label="浠诲姟鍚嶇О" - > - </el-table-column> <el-table-column prop="templatename" @@ -183,13 +183,32 @@ </div> <div :class="form.serviceType == 2 ? 'Followuserinfo' : 'Followuserinfos'"> <div> - <div class="headline"> - <div>浜哄伐澶勭悊</div> - <div style="margin-left: 30px"> + <el-form ref="form" :model="form" label-width="120px"> + <div class="headline"> + <div>浜哄伐澶勭悊</div> + <el-row :gutter="20"> + <el-col :span="12" + ><el-form-item label="鑱旂郴鐢佃瘽"> + <el-input + disabled + placeholder="鑱旂郴鐢佃瘽缂哄け" + v-model="userform.telcode" + ></el-input> </el-form-item + ></el-col> + <el-col :span="12" + ><el-form-item label="鑱旂郴浜虹數璇�"> + <el-input + disabled + placeholder="鑱旂郴浜虹數璇濈己澶�" + v-model="userform.relativetelcode" + ></el-input> </el-form-item + ></el-col> + </el-row> + <!-- <div style="margin-left: 30px"> <el-button type="warning">涓�閿懠鍙�</el-button> + </div> --> </div> - </div> - <el-form ref="form" :model="form" label-width="80px"> + <el-form-item label="闅忚璁板綍"> <el-input type="textarea" v-model="form.remark"></el-input> </el-form-item> @@ -649,7 +668,7 @@ // 鑾峰彇鍩虹淇℃伅 getuserinfo() { const queryParams = { - pid: Number(this.id), + pid: Number(this.patid), allhosp: "0", pageNum: 1, }; @@ -804,12 +823,10 @@ }).then((res) => { if (res.code == 200) { this.form = res.rows[0].serviceSubtaskList[0]; - console.log(this.form, "form3"); this.logsheetlist = res.rows[0].serviceSubtaskList; this.templateid = this.logsheetlist[0].templateid; - console.log(this.form.serviceType, "serviceType"); } - +this.getuserinfo(); if (this.Voicetype) { this.getPersonVoices(); } else { @@ -857,13 +874,17 @@ sendAgain() { this.dialogFormVisible = true; }, - // 鏇存敼寮傚父鐘舵�� + // 鏌ョ湅璇︽儏 Seedetails(row) { this.$modal - .confirm('鏄惁鏌ョ湅浠诲姟涓�"' + optionids + '"鐨勬湇鍔¢」锛�') - .then(function () {}) + .confirm('鏄惁鏌ョ湅浠诲姟涓�"' + row.taskName + '"鐨勬湇鍔¤鎯呮暟鎹紵') .then(() => { - this.getList(); + this.taskid = row.taskid; + this.id = row.id; + this.patid = row.patid; + this.Voicetype = row.type; + this.serviceType = row.serviceType; + this.getTaskservelist(this.id); }) .catch(() => {}); }, @@ -920,10 +941,10 @@ addserviceSubtask(form).then((res) => { if (res.code == 200) { this.$modal.msgSuccess("鍒涘缓鎴愬姛"); - }else{ + } else { this.$modal.msgError("鍒涘缓澶辫触"); } - this.dialogFormVisible=false; + this.dialogFormVisible = false; }); }, updateScore(a, b, c) { -- Gitblit v1.9.3