From c88e4e1bd87b909fdcc927223762a3f7d752fd6c Mon Sep 17 00:00:00 2001 From: su1124 <1583764726@qq.com> Date: 星期三, 27 十二月 2023 16:57:45 +0800 Subject: [PATCH] su --- src/views/system/biol/index.vue | 16 +++++++++++----- 1 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/views/system/biol/index.vue b/src/views/system/biol/index.vue index d13336f..ee71150 100644 --- a/src/views/system/biol/index.vue +++ b/src/views/system/biol/index.vue @@ -2,12 +2,12 @@ <div class="app-container"> <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px"> <el-form-item label="濮撳悕" prop="name"> - <el-input ref="inputName" v-model="queryParams.name" placeholder="璇疯緭鍏ュ鍚�" style="width:100px" + <el-input v-model="queryParams.name" placeholder="璇疯緭鍏ュ鍚�" style="width:100px" @keyup.enter.native="handleQuery" /> </el-form-item> <el-form-item label="浣撴鍙�" prop="tjNum"> <el-input style="width:170px" v-model="queryParams.tjNum" placeholder="璇疯緭鍏ヤ綋妫�鍙�" clearable - @keyup.enter.native="handleQuery" /> + @keyup.enter.native="handleQuery" ref="inputName" @blur="handleQuery" /> </el-form-item> <el-form-item label="鎶ュ憡鏃堕棿" prop="reportTimeList"> <el-date-picker clearable v-model="queryParams.reportTimeList" type="daterange" range-separator="-" @@ -36,7 +36,7 @@ v-hasPermi="['hosp:order:export']">瀵煎嚭</el-button> </el-col> --> <el-col :span="1.5"> - <el-button type="primary" size="mini" :disabled="multiple" @click="viewReport">浣撴鎶ュ憡</el-button> + <el-button type="primary" size="mini" :disabled="multiple" @click="viewReport">鎵归噺浣撴鎶ュ憡鎵撳嵃</el-button> </el-col> <el-col :span="1.5"> <div id="main111"> @@ -69,6 +69,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" height="10px" width="60px" @@ -78,8 +79,8 @@ <el-table-column label="浣撴绫诲瀷" align="center" prop="tjType" height="10px" width="80px" :show-overflow-tooltip="true"> <template slot-scope="scope"> - <span v-if="scope.row.tjType == '1'">涓汉</span> - <span v-if="scope.row.tjType == '2'">鍥㈤槦</span> + <span v-if="scope.row.tjType == '1'">鍥㈤槦</span> + <span v-if="scope.row.tjType == '2'">涓汉</span> </template> </el-table-column> <el-table-column label="浣撴鍙�" align="center" prop="tjNumber" :show-overflow-tooltip="true" width="160px" /> @@ -442,6 +443,11 @@ this.getList(); this.Company(); }, + mounted() { + this.$nextTick(() => { + this.$refs.inputName.focus(); + }); + }, methods: { // / 澶勭悊榛樿閫変腑褰撳墠鏃ユ湡 getNowTime() { -- Gitblit v1.8.0