|
|
@@ -164,8 +164,8 @@ defineExpose({
|
|
|
<form-comp :item="item" v-model="query[item.name]"></form-comp>
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
- <el-button type="primary" @click="handleQuery">查询</el-button>
|
|
|
- <el-button @click="handleReset">重置</el-button>
|
|
|
+ <el-button type="primary" icon="Search" @click="handleQuery">查询</el-button>
|
|
|
+ <el-button icon="Refresh" @click="handleReset">重置</el-button>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
</el-card>
|
|
|
@@ -174,8 +174,14 @@ defineExpose({
|
|
|
<div class="flex flex-col h-full">
|
|
|
<div class="flex justify-between mb-20px">
|
|
|
<div>
|
|
|
- <el-button type="primary" @click="handleCreate">新增</el-button>
|
|
|
- <el-button type="danger" @click="handleBatchDelete" :disabled="!multipleSelection.length" v-if="selection">
|
|
|
+ <el-button type="primary" icon="Plus" @click="handleCreate">新增</el-button>
|
|
|
+ <el-button
|
|
|
+ type="danger"
|
|
|
+ icon="Delete"
|
|
|
+ @click="handleBatchDelete"
|
|
|
+ :disabled="!multipleSelection.length"
|
|
|
+ v-if="selection"
|
|
|
+ >
|
|
|
删除
|
|
|
</el-button>
|
|
|
</div>
|
|
|
@@ -199,11 +205,11 @@ defineExpose({
|
|
|
<div class="flex justify-end shrink-0">
|
|
|
<el-pagination
|
|
|
background
|
|
|
- layout="prev, pager, next"
|
|
|
+ layout="prev, pager, next, jumper, total"
|
|
|
:page-size="pageSize"
|
|
|
:total="total"
|
|
|
@current-change="pageChange"
|
|
|
- class="mt-4"
|
|
|
+ class="mt-16px"
|
|
|
/>
|
|
|
</div>
|
|
|
</div>
|