审核
This commit is contained in:
parent
6c16412fd6
commit
dc081ce012
|
|
@ -69,9 +69,10 @@ const presetOptions: Record<string, StatusOption[]> = {
|
|||
],
|
||||
// 审核状态
|
||||
audit: [
|
||||
{ value: 0, label: '待审核', type: 'warning' },
|
||||
{ value: 0, label: '未提交', type: 'info' },
|
||||
{ value: 1, label: '已通过', type: 'success' },
|
||||
{ value: 2, label: '已拒绝', type: 'danger' }
|
||||
{ value: 2, label: '审核中', type: 'warning' },
|
||||
{ value: 3, label: '已拒绝', type: 'danger' }
|
||||
],
|
||||
// 举报状态
|
||||
report: [
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ const detailLoading = ref(false)
|
|||
// 搜索表单数据
|
||||
const searchForm = reactive<Partial<ProfileAuditQueryParams>>({
|
||||
keyword: '',
|
||||
auditStatus: 0, // 默认查询待审核
|
||||
auditStatus: 2, // 默认查询审核中
|
||||
gender: undefined,
|
||||
submitStartTime: undefined,
|
||||
submitEndTime: undefined
|
||||
|
|
@ -59,9 +59,9 @@ const rejectFormRef = ref()
|
|||
|
||||
// 审核状态选项
|
||||
const auditStatusOptions = [
|
||||
{ label: '待审核', value: 0 },
|
||||
{ label: '审核中', value: 2 },
|
||||
{ label: '已通过', value: 1 },
|
||||
{ label: '已拒绝', value: 2 }
|
||||
{ label: '已拒绝', value: 3 }
|
||||
]
|
||||
|
||||
// 性别选项
|
||||
|
|
@ -369,7 +369,7 @@ onMounted(() => {
|
|||
>
|
||||
详情
|
||||
</el-button>
|
||||
<template v-if="row.auditStatus === 0">
|
||||
<template v-if="row.auditStatus === 2">
|
||||
<el-button
|
||||
type="success"
|
||||
link
|
||||
|
|
@ -550,7 +550,7 @@ onMounted(() => {
|
|||
|
||||
<!-- 审核信息 -->
|
||||
<el-descriptions
|
||||
v-if="currentProfile.auditStatus !== 0"
|
||||
v-if="currentProfile.auditStatus !== 2"
|
||||
title="审核信息"
|
||||
:column="2"
|
||||
border
|
||||
|
|
@ -560,7 +560,7 @@ onMounted(() => {
|
|||
{{ formatTime(currentProfile.auditTime) }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item
|
||||
v-if="currentProfile.auditStatus === 2"
|
||||
v-if="currentProfile.auditStatus === 3"
|
||||
label="拒绝原因"
|
||||
>
|
||||
{{ currentProfile.rejectReason || '-' }}
|
||||
|
|
@ -574,7 +574,7 @@ onMounted(() => {
|
|||
<el-button @click="detailDialogVisible = false">
|
||||
关闭
|
||||
</el-button>
|
||||
<template v-if="currentProfile && currentProfile.auditStatus === 0">
|
||||
<template v-if="currentProfile && currentProfile.auditStatus === 2">
|
||||
<el-button
|
||||
type="danger"
|
||||
@click="handleOpenReject(currentProfile.profileId)"
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ const ENV = {
|
|||
}
|
||||
|
||||
// 当前环境 - 开发时使用 development,打包时改为 production
|
||||
const CURRENT_ENV = 'development'
|
||||
const CURRENT_ENV = 'production'
|
||||
|
||||
// 导出配置
|
||||
export const config = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user