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="INTEGRATED">{{ t('report.collection') }}</a-radio>
</a-radio-group>
<a-input-search
v-model:model-value="keyword"
:placeholder="t('project.menu.nameSearch')"
allow-clear
class="mx-[8px] w-[240px]"
@search="searchList"
@press-enter="searchList"
@clear="searchList"
/>
<div class="items-right flex gap-[8px]">
<a-input-search
v-model:model-value="keyword"
:placeholder="t('project.menu.nameSearch')"
allow-clear
class="mx-[8px] w-[240px]"
@search="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>
<!-- 报告列表 -->
<ms-base-table

View File

@ -6,15 +6,22 @@
<a-radio value="INDEPENDENT">{{ t('report.independent') }}</a-radio>
<a-radio value="INTEGRATED">{{ t('report.collection') }}</a-radio>
</a-radio-group>
<a-input-search
v-model:model-value="keyword"
:placeholder="t('project.menu.nameSearch')"
allow-clear
class="mx-[8px] w-[240px]"
@search="searchList"
@press-enter="searchList"
@clear="searchList"
/>
<div class="items-right flex gap-[8px]">
<a-input-search
v-model:model-value="keyword"
:placeholder="t('project.menu.nameSearch')"
allow-clear
class="mx-[8px] w-[240px]"
@search="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>
<!-- 报告列表 -->
<ms-base-table