feat: 报告列表添加刷新操作

This commit is contained in:
fit2-zhao 2024-05-20 14:04:42 +08:00 committed by Craftsman
parent 50ac988010
commit 57e9e3f3a1
2 changed files with 32 additions and 18 deletions

View File

@ -6,15 +6,22 @@
<a-radio value="INDEPENDENT">{{ t('report.independent') }}</a-radio> <a-radio value="INDEPENDENT">{{ t('report.independent') }}</a-radio>
<a-radio value="INTEGRATED">{{ t('report.collection') }}</a-radio> <a-radio value="INTEGRATED">{{ t('report.collection') }}</a-radio>
</a-radio-group> </a-radio-group>
<a-input-search <div class="items-right flex gap-[8px]">
v-model:model-value="keyword" <a-input-search
:placeholder="t('project.menu.nameSearch')" v-model:model-value="keyword"
allow-clear :placeholder="t('project.menu.nameSearch')"
class="mx-[8px] w-[240px]" allow-clear
@search="searchList" class="mx-[8px] w-[240px]"
@press-enter="searchList" @search="searchList"
@clear="searchList" @press-enter="searchList"
/> @clear="searchList"
/>
<a-button type="outline" class="arco-btn-outline--secondary !p-[8px]" @click="initData">
<template #icon>
<icon-refresh class="text-[var(--color-text-4)]" />
</template>
</a-button>
</div>
</div> </div>
<!-- 报告列表 --> <!-- 报告列表 -->
<ms-base-table <ms-base-table

View File

@ -6,15 +6,22 @@
<a-radio value="INDEPENDENT">{{ t('report.independent') }}</a-radio> <a-radio value="INDEPENDENT">{{ t('report.independent') }}</a-radio>
<a-radio value="INTEGRATED">{{ t('report.collection') }}</a-radio> <a-radio value="INTEGRATED">{{ t('report.collection') }}</a-radio>
</a-radio-group> </a-radio-group>
<a-input-search <div class="items-right flex gap-[8px]">
v-model:model-value="keyword" <a-input-search
:placeholder="t('project.menu.nameSearch')" v-model:model-value="keyword"
allow-clear :placeholder="t('project.menu.nameSearch')"
class="mx-[8px] w-[240px]" allow-clear
@search="searchList" class="mx-[8px] w-[240px]"
@press-enter="searchList" @search="searchList"
@clear="searchList" @press-enter="searchList"
/> @clear="searchList"
/>
<a-button type="outline" class="arco-btn-outline--secondary !p-[8px]" @click="initData">
<template #icon>
<icon-refresh class="text-[var(--color-text-4)]" />
</template>
</a-button>
</div>
</div> </div>
<!-- 报告列表 --> <!-- 报告列表 -->
<ms-base-table <ms-base-table