From e5454b769d44a34af423bf87ac8a740bf8c20341 Mon Sep 17 00:00:00 2001 From: Crunchy <3114200645@qq.com> Date: 星期二, 29 四月 2025 13:25:29 +0800 Subject: [PATCH] Merge branch 'dev' into dev_tides --- src/views/system/customer/index.vue | 48 +++++++++++++++++++++++++++++++----------------- 1 files changed, 31 insertions(+), 17 deletions(-) diff --git a/src/views/system/customer/index.vue b/src/views/system/customer/index.vue index e88b72b..28f4d95 100644 --- a/src/views/system/customer/index.vue +++ b/src/views/system/customer/index.vue @@ -1,17 +1,16 @@ <template> <div class="app-container"> - <div class="search"> - <div> - <el-form :model="queryParams" ref="queryForm" size="small" :inline="true"> - <el-form-item label="瀹㈡埛鍚嶇О" prop="company"> - <el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="queryParams.company" - @keyup.enter.native="getList"></el-input> - </el-form-item> - <el-form-item> - <el-button type="primary" icon="el-icon-search" size="mini" @click="getList">鏌� 璇�</el-button> - <el-button icon="el-icon-refresh" size="mini" @click="refresh">閲� 缃�</el-button> - </el-form-item> - </el-form> + <div style="display: flex;justify-content: space-between"> + <div class="search_box"> + <div class="search_item"> + <span class="search_label">瀹㈡埛鍚嶇О</span> + <el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="queryParams.company" + @keyup.enter.native="getList"></el-input> + </div> + <div class="search_button"> + <el-button type="primary" size="mini" @click="getList">鏌ヨ</el-button> + <el-button size="mini" @click="refresh">閲嶇疆</el-button> + </div> </div> <div> <el-button size="small" type="primary" @click="openFormDia('add')" icon="el-icon-plus">鏂板</el-button> @@ -64,6 +63,7 @@ import limsTable from '@/components/Table/lims-table.vue' import {addCustom, delCustomById, selectCustomPageList, upCustom} from "@/api/system/customer"; export default { + name: 'Customer', components: { limsTable }, @@ -105,8 +105,8 @@ ], page: { total:0, - size:10, - current:0 + size:20, + current:1 }, tableLoading: false, // 缂栬緫瀹㈡埛寮规 @@ -219,9 +219,23 @@ </script> <style scoped> -.search { - height: 46px; +.search_box { display: flex; - justify-content: space-between; +} +.search_item { + margin-bottom: 18px; + margin-right: 10px; + display: flex; + align-items: center; + line-height: 32px; +} +.search_label { + width: 88px; + font-size: 14px; + font-weight: 700; + color: #606266; +} +.search_button { + line-height: 30px; } </style> -- Gitblit v1.9.3