From 4d3e94c23d42ce56f83cc5af718cecf849001a2b Mon Sep 17 00:00:00 2001 From: qx <1084500556@qq.com> Date: 星期五, 07 三月 2025 13:57:00 +0800 Subject: [PATCH] qx --- src/views/doctor/check/index.vue | 13 +++++++++++-- src/components/public/index.vue | 7 ++++++- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/src/components/public/index.vue b/src/components/public/index.vue index 71c2e2c..6d83be2 100644 --- a/src/components/public/index.vue +++ b/src/components/public/index.vue @@ -175,7 +175,12 @@ this.list = selection this.form.desc = "" this.list.forEach(element => { - this.form.desc += element.bingzhong + "," + if( element.bingzhong){ +this.form.desc += element.bingzhong + "," + }else{ + this.form.desc += element.ruleStr + "," + } + }); }, handleOk() { diff --git a/src/views/doctor/check/index.vue b/src/views/doctor/check/index.vue index 719b8d3..599047c 100644 --- a/src/views/doctor/check/index.vue +++ b/src/views/doctor/check/index.vue @@ -555,7 +555,7 @@ > <template slot-scope="scope"> <el-checkbox - v-model="scope.row.exceptionDesc" + v-model="scope.row.exceptionDesc" @change="changDesc(scope.row)" ></el-checkbox> </template> </el-table-column> @@ -592,7 +592,7 @@ autosize v-model="scope.row.conclusion" autocomplete="off" - placeholder="璇疯緭鍏ユ娴嬬粨鏋�" + placeholder="璇疯緭鍏ョ粨鏋滅粨璁�" disabled ></el-input> </template> @@ -1802,6 +1802,15 @@ // }) }, + changDesc(item){ + console.log(item) + if(item.exceptionDesc == true){ + item.conclusion = "寮傚父" + }else{ + item.conclusion = "姝e父" + } + }, + myclass(row, column, rowIndex, columnIndex) { if (row.row.isPositive == 1) { return "setclass"; -- Gitblit v1.8.0