调整新增按钮位置

This commit is contained in:
曹磊 2026-04-24 17:48:18 +08:00
parent 4f0f5371ea
commit a4bc1106e3
2 changed files with 11 additions and 6 deletions

View File

@ -20,16 +20,18 @@
</a-select>
</a-form-item>
</a-col>
<a-col :xl="6" :lg="7" :md="8" :sm="24">
<a-col :lg="10" style="margin-top: 5px;">
<span style="float: left; overflow: hidden" class="table-page-search-submitButtons">
<a-col :lg="6">
<a-button type="primary" preIcon="ant-design:search-outlined" @click="searchQuery">查询</a-button>
<a-button type="primary" preIcon="ant-design:reload-outlined" @click="searchReset"
style="margin-left: 8px">重置</a-button>
<a-button type="primary" preIcon="ant-design:plus-outlined" @click="handleAdd" style="margin-left: 8px"> 新增设备</a-button>
</a-col>
</span>
</a-col>
<a-col :lg="2" style="margin-top: 5px;">
<a-button type="primary" preIcon="ant-design:plus-outlined" @click="handleAdd"> 新增设备</a-button>
</a-col>
</a-row>
</a-form>
</div>

View File

@ -20,13 +20,16 @@
</a-select>
</a-form-item>
</a-col>
<a-col :xl="6" :lg="7" :md="8" :sm="24">
<a-col :lg="9" style="margin-top: 5px;">
<span style="float: left; overflow: hidden" class="table-page-search-submitButtons">
<a-col :lg="6">
<a-button type="primary" preIcon="ant-design:search-outlined" @click="searchQuery">查询</a-button>
<a-button type="primary" preIcon="ant-design:reload-outlined" @click="searchReset"
style="margin-left: 8px">重置</a-button>
</a-col>
</span>
</a-col>
<a-col :lg="3" style="margin-top: 5px;">
<span style="float: left; overflow: hidden" class="table-page-search-submitButtons">
<a-button type="primary" preIcon="ant-design:plus-outlined" @click="addBatch"> 新增批次</a-button>
</span>
</a-col>
</a-row>
@ -37,7 +40,7 @@
<BasicTable @register="registerTable">
<!--插槽:table标题-->
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:plus-outlined" @click="addBatch"> 新增批次</a-button>
</template>
<!--操作栏-->
<template #action="{ record }">