From ad78625bb4b876018ac68c6f402c9b21d1a7b3bc Mon Sep 17 00:00:00 2001 From: wwl <xchao828@163.com> Date: 星期二, 11 三月 2025 16:46:44 +0800 Subject: [PATCH] 1 --- src/views/doctor/check/index.vue | 64 ++++++++++++++++++------------- 1 files changed, 37 insertions(+), 27 deletions(-) diff --git a/src/views/doctor/check/index.vue b/src/views/doctor/check/index.vue index 719b8d3..0ac95d0 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> @@ -1221,31 +1221,32 @@ <div class="tab8"> <div class="tab3"> <el-form - :model="queryParam1" - ref="tableList" - :inline="true" - label-width="76px" - style="margin-top: 10px" - > - <el-form-item> - <el-input - placeholder="杈撳叆鍏抽敭瀛楄繘琛岃繃婊�" - v-model="queryParam1.nr" - clearable - > - </el-input> - </el-form-item> - - <el-form-item> - <el-button - type="primary" - icon="el-icon-search" - size="mini" - @click="handleQuerys" - >鎼滅储</el-button - > - </el-form-item> - </el-form> + :model="queryParam1" + ref="tableList" + :inline="true" + label-width="76px" + style="margin-top: 10px" + @submit.native.prevent +> + <el-form-item> + <el-input + placeholder="杈撳叆鍏抽敭瀛楄繘琛岃繃婊�" + v-model="queryParam1.nr" + clearable + @keyup.enter.native="handleQuerys" + > + </el-input> + </el-form-item> + <el-form-item> + <el-button + type="primary" + icon="el-icon-search" + size="mini" + @click="handleQuerys" + native-type="button" + >鎼滅储</el-button> + </el-form-item> +</el-form> <el-table ref="multipleTable" border @@ -1802,6 +1803,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