fix:kyc审核界面中英适配
This commit is contained in:
@@ -6,33 +6,39 @@
|
||||
layout="inline"
|
||||
class="flex flex-wrap gap-16px items-center"
|
||||
>
|
||||
<AFormItem label="提交时间">
|
||||
<AFormItem :label="t('page.kyc.searchtime')">
|
||||
<ARangePicker
|
||||
v-model:value="queryRangePicker"
|
||||
show-time
|
||||
:placeholder="['开始时间', '结束时间']"
|
||||
:placeholder="[t('page.kyc.starttime'), t('page.kyc.endtime')]"
|
||||
format="YYYY-MM-DD HH:mm:ss"
|
||||
value-format="YYYY-MM-DD HH:mm:ss"
|
||||
class="w-400px"
|
||||
@change="handleTimeChange"
|
||||
/>
|
||||
</AFormItem>
|
||||
<AFormItem label="状态">
|
||||
<AFormItem :label="t('page.kyc.status')">
|
||||
<ASelect
|
||||
v-model:value="formModel.status"
|
||||
placeholder="请选择状态"
|
||||
:placeholder="t('page.kyc.plestatus')"
|
||||
allow-clear
|
||||
class="w-200px"
|
||||
>
|
||||
<ASelectOption value="PENDING">待审核</ASelectOption>
|
||||
<ASelectOption value="APPROVED">已通过</ASelectOption>
|
||||
<ASelectOption value="REJECTED">已拒绝</ASelectOption>
|
||||
<ASelectOption value="PENDING">{{ t('page.kyc.pending') }}</ASelectOption>
|
||||
<ASelectOption value="APPROVED">{{ t('page.kyc.approved') }}</ASelectOption>
|
||||
<ASelectOption value="REJECTED">{{ t('page.kyc.rejected') }}</ASelectOption>
|
||||
</ASelect>
|
||||
</AFormItem>
|
||||
<AFormItem class="flex-1 justify-end">
|
||||
<ASpace>
|
||||
<AButton @click="handleReset">重置</AButton>
|
||||
<AButton type="primary" @click="handleSearch">查询</AButton>
|
||||
<AButton type="primary" @click="handleSearch">
|
||||
<template #icon>
|
||||
<icon-mdi-search />
|
||||
</template>{{ t('page.kyc.search') }}</AButton>
|
||||
<AButton @click="handleReset">
|
||||
<template #icon>
|
||||
<icon-mdi-refresh />
|
||||
</template>{{ t('page.kyc.reset') }}</AButton>
|
||||
</ASpace>
|
||||
</AFormItem>
|
||||
</AForm>
|
||||
@@ -52,6 +58,8 @@ import {
|
||||
DatePicker
|
||||
} from 'ant-design-vue';
|
||||
import type { FormInstance } from 'ant-design-vue';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
const { t } = useI18n();
|
||||
const ARangePicker = DatePicker.RangePicker;
|
||||
import dayjs, { Dayjs } from 'dayjs';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user