This commit is contained in:
2025-04-02 19:16:28 +08:00
parent 9d3945413a
commit e43f9230eb
31 changed files with 513 additions and 188 deletions

View File

@@ -1,7 +1,3 @@
<!--
- @Author XXX
- @Link XXX
-->
<template>
<a-spin :loading="searchLoading" :tip="options.searchLoadingText" v-if="showSearch">
<a-form
@@ -28,7 +24,7 @@
</a-form-item>
</template>
</div>
<div class="text-center mt-5 w-full" v-if="searchColumns.length > 0">
<div class="text-center mt-2 w-full" v-if="searchColumns.length > 0">
<a-space size="medium">
<slot name="searchBeforeButtons" />
<slot name="searchButtons">

View File

@@ -25,9 +25,9 @@
</a-space>
<a-alert type="warning" class="mt-2"
>排序本页是指当前页排序服务器是指后台排序若自定义服务器排序可用
<a-tag>@sorterChange</a-tag> 事件来实现</a-alert
>
>排序本页是指当前页排序服务器是指后台排序后台排序暂无
<!-- <a-tag>@sorterChange</a-tag> 事件来实现 -->
</a-alert>
<a-table
:data="allowShowColumns"
:pagination="false"

View File

@@ -1,6 +1,6 @@
<template>
<a-layout-content class="flex flex-col lg:h-full relative w-full">
<div class="_crud-header flex flex-col mb-2" ref="crudHeaderRef">
<div class="_crud-header flex flex-col mb-1" ref="crudHeaderRef">
<a-tabs
v-if="isArray(options.tabs.data) && options.tabs.data.length > 0"
v-model:active-key="options.tabs.defaultKey"