From b5a56d53e44c426fa188ba3e4e1db3eb779e2fd9 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期三, 11 九月 2024 21:49:21 +0800 Subject: [PATCH] 测试完成 --- src/views/followvisit/record/detailpage/index.vue | 53 +++++++++++++++++++++++++++++++++++++++++++++++------ 1 files changed, 47 insertions(+), 6 deletions(-) diff --git a/src/views/followvisit/record/detailpage/index.vue b/src/views/followvisit/record/detailpage/index.vue index 15292dd..8837754 100644 --- a/src/views/followvisit/record/detailpage/index.vue +++ b/src/views/followvisit/record/detailpage/index.vue @@ -4,7 +4,22 @@ <div class="Followuserinfo"> <div> <div class="userinfo-text"> - {{ sendname }}<span>鎮h�呮湇鍔¤鎯�</span> + <!-- <span>鎮h�呮湇鍔¤鎯�</span> --> + <div class="headline"> + <div>鎮h�呮湇鍔¤鎯�</div> + <div style="margin-left: 20px"> + <el-button + v-if="!Whetherall" + type="primary" + @click="getTaskservelist()" + >鏌ョ湅鎮h�呭叏閮ㄦ湇鍔�</el-button> + <el-button + v-else + type="success" + @click="getTaskservelist(taskid)" + >鏌ョ湅鎮h�呮湰娆℃湇鍔′俊鎭�</el-button> + </div> + </div> <!-- <el-button type="success">闅忚鍚庣煭淇�</el-button> --> </div> </div> @@ -46,7 +61,7 @@ width="210" > </el-table-column> - <el-table-column + <!-- <el-table-column label="鎿嶄綔" fixed="right" align="center" @@ -64,7 +79,7 @@ ></el-button > </template> - </el-table-column> + </el-table-column> --> </el-table> </div> </div> @@ -203,6 +218,7 @@ radio: "2", taskname: "", tableDatatop: [], //棰樼洰琛� + Whetherall:false, //鏄惁鍏ㄩ儴璁板綍灞曠ず logsheetlist: [], sendname: null, serviceType: null, @@ -217,7 +233,7 @@ this.patid = this.$route.query.patid; this.serviceType = this.$route.query.serviceType; this.getsearchrResults(); - this.getTaskservelist(); + this.getTaskservelist(this.taskid); }, methods: { @@ -241,16 +257,27 @@ }); }, // 鑾峰彇鎮h�呰褰� - getTaskservelist() { + getTaskservelist(taskid) { + if (taskid) { + this.Whetherall=false; + }else{ + this.Whetherall=true; + } getTaskservelist({ patid: this.patid, + taskid: taskid, }).then((res) => { if (res.code == 200) { this.logsheetlist = res.rows; } }); }, - Seedetails() {}, + Seedetails(row) { + this.$modal.confirm('鏄惁鏌ョ湅浠诲姟涓�"' + optionids + '"鐨勬湇鍔¢」锛�').then(function () { + }).then(() => { + this.getList(); + }).catch(() => { }); + }, }, }; </script> @@ -331,6 +358,20 @@ } } } +.headline { + font-size: 24px; + height: 40px; + border-left: 5px solid #41a1be; + padding-left: 5px; + margin-bottom: 10px; + display: flex; + // justify-content: space-between; + .Add-details { + font-size: 18px; + color: #02a7f0; + cursor: pointer; + } + } ::v-deep.offside-value .el-radio__label { color: #fff; } -- Gitblit v1.9.3