From 8181583ea89c7af496e16df4f6a4953857923f63 Mon Sep 17 00:00:00 2001 From: su1124 <1583764726@qq.com> Date: 星期一, 25 十二月 2023 18:36:32 +0800 Subject: [PATCH] su --- src/views/picture/music/index.vue | 29 ++++++++++++++++++----------- 1 files changed, 18 insertions(+), 11 deletions(-) diff --git a/src/views/picture/music/index.vue b/src/views/picture/music/index.vue index 3da79b3..5011586 100644 --- a/src/views/picture/music/index.vue +++ b/src/views/picture/music/index.vue @@ -10,10 +10,12 @@ > <el-form-item label="浣撴鍙�" prop="tjNum"> <el-input + ref="inputName" v-model="queryParams.tjNum" placeholder="璇疯緭鍏ヤ綋妫�鍙�" clearable @keyup.enter.native="handleQuery" + @blur="handleQuery" style="width: 160px" /> </el-form-item> @@ -140,7 +142,7 @@ <el-table-column label="椤圭洰缁撴灉" align="center" prop="fixedValue" /> --> <!-- <el-table-column label="缁撹" align="center" prop="measuredValue" /> --> <!-- </el-table> - + <div style="height: 390px; margin-top: 10px"> <el-image v-loading="loading" @@ -401,7 +403,7 @@ <div class="tanchuangbox_right"> <div> <span>鑱屼笟鍙�</span> - <div style="width:100%;min-height:300px"></div> + <div style="width: 100%; min-height: 300px"></div> </div> <div style="display: flex; margin-top: 20px"> <div @@ -492,7 +494,7 @@ <Public ref="aaa" @add="handleChanges" /> </div> </template> - + <script> import { getList, @@ -533,27 +535,27 @@ zhexianList: [ { date: 500, - bgcoun:3, + bgcoun: 3, }, { date: 1000, - bgcoun:32, + bgcoun: 32, }, { date: 2000, - bgcoun:31, + bgcoun: 31, }, { date: 3000, - bgcoun:43, + bgcoun: 43, }, { date: 4000, - bgcoun:13, + bgcoun: 13, }, { date: 6000, - bgcoun:32, + bgcoun: 32, }, ], tableData: [ @@ -648,6 +650,11 @@ }, created() { this.getList(); + }, + mounted() { + this.$nextTick(() => { + this.$refs.inputName.focus(); + }); }, methods: { handleRowClick(selection) { @@ -1247,7 +1254,7 @@ }, }; </script> - + <style> #table .el-table__header-wrapper .el-checkbox { display: none; @@ -1352,4 +1359,4 @@ .ss_txt { width: 60px; } -</style> +</style> \ No newline at end of file -- Gitblit v1.8.0