From 3435a2b1b3e237ee53c98ae7c044d0e84cfa521c Mon Sep 17 00:00:00 2001 From: su1124 <1583764726@qq.com> Date: 星期四, 25 一月 2024 18:01:18 +0800 Subject: [PATCH] su --- src/views/hosp/fuzhen/index.vue | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/views/hosp/fuzhen/index.vue b/src/views/hosp/fuzhen/index.vue index 4b05475..42ca925 100644 --- a/src/views/hosp/fuzhen/index.vue +++ b/src/views/hosp/fuzhen/index.vue @@ -7,7 +7,7 @@ </el-form-item> <el-form-item label="浣撴鍙�" prop="tjNum"> <el-input ref="inputName" v-model="queryParams.tjNum" placeholder="璇疯緭鍏ヤ綋妫�鍙�" style="width: 170px" clearable - @keyup.enter.native="handleQuery" /> + @keyup.enter.native="handleQuery" @blur="hb" /> </el-form-item> <el-form-item label="鐧昏鏃堕棿" prop="createTimeList"> <el-date-picker v-model="createTimeList" type="datetimerange" align="right" :picker-options="pickerOptions" @@ -46,7 +46,7 @@ <template> <el-table border v-loading="loading" :data="orderList" @selection-change="handleSelectionChange"> - <el-table-column type="selection" width="40px" align="center" fixed="left" /> + <!-- <el-table-column type="selection" width="40px" align="center" fixed="left" /> --> <!-- <el-table-column label="涓婚敭id" align="center" prop="orderId" /> --> <!-- <el-table-column label="鐢ㄦ埛id" align="center" prop="userId" /> --> <el-table-column label="搴忓彿" align="center" prop="newID" width="50px" fixed="left" /> @@ -56,6 +56,7 @@ <template slot-scope="scope"> <span v-if="scope.row.tjCustomerSex == '0'">鐢�</span> <span v-if="scope.row.tjCustomerSex == '1'">濂�</span> + <span v-if="scope.row.tjCustomerSex == '2'">鏈煡</span> </template> </el-table-column> <el-table-column label="骞撮緞" align="center" prop="tjCustomerAge" width="55px" :show-overflow-tooltip="true" /> @@ -579,6 +580,12 @@ }; this.resetForm("form"); }, + + hb() { + if (this.queryParams.tjNum != null) { + this.handleQuery(); + } + }, /** 鎼滅储鎸夐挳鎿嶄綔 */ handleQuery() { this.queryParams.pageNum = 1; @@ -723,7 +730,7 @@ } /** 鏌ヨ閮ㄩ棬涓嬫媺鏍戠粨鏋� */ projectGetList().then((response) => { - this.Treedata = response.data; + this.Treedata = response.data.list; }); this.Projectopen = true; this.title = "琛ュ綍椤圭洰"; -- Gitblit v1.8.0