This commit is contained in:
18631081161 2026-01-29 17:00:01 +08:00
parent 6c16412fd6
commit dc081ce012
3 changed files with 11 additions and 10 deletions

View File

@ -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: [

View File

@ -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)"

View File

@ -23,7 +23,7 @@ const ENV = {
}
// 当前环境 - 开发时使用 development打包时改为 production
const CURRENT_ENV = 'development'
const CURRENT_ENV = 'production'
// 导出配置
export const config = {