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/visit/index.vue | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/views/system/visit/index.vue b/src/views/system/visit/index.vue index 2a2334c..8f4464d 100644 --- a/src/views/system/visit/index.vue +++ b/src/views/system/visit/index.vue @@ -6,7 +6,7 @@ @keyup.enter.native="handleQuery" /> </el-form-item> <el-form-item label="浣撴鍙�" prop="tjNum"> - <el-input style="width: 170px" v-model="queryParams.tjNum" placeholder="璇疯緭鍏ヤ綋妫�鍙�" clearable + <el-input style="width: 170px" v-model="queryParams.tjNum" placeholder="璇疯緭鍏ヤ綋妫�鍙�" clearable ref="inputName" @blur="handleQuery" @keyup.enter.native="handleQuery" /> </el-form-item> <el-form-item label="鐧昏鏃堕棿" prop="createTimeList"> @@ -49,7 +49,7 @@ <template> <el-table border style="margin: 14px; width: 99%" v-loading="loading" :data="orderList" @selection-change="handleSelectionChange" ref="multipleTable"> - <el-table-column type="selection" width="40px" align="center" height="10px" fixed="left" /> + <!-- <el-table-column type="selection" width="40px" align="center" height="10px" fixed="left" /> --> <el-table-column label="搴忓彿" align="center" prop="newID" width="50px" fixed="left" height="10px" /> <el-table-column label="濮撳悕" align="center" prop="tjCustomerName" height="10px" width="90px" fixed="left" :show-overflow-tooltip="true" /> @@ -58,6 +58,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" @@ -416,6 +417,11 @@ this.Company(); this.getListEmer(); }, + mounted() { + this.$nextTick(() => { + this.$refs.inputName.focus(); + }); + }, methods: { dialogVisibles() { this.$message.error("璇疯繛鎺ユ嫧鍙峰櫒锛�"); -- Gitblit v1.8.0