fadd
This commit is contained in:
@@ -119,7 +119,7 @@
|
||||
</el-col>
|
||||
</el-row>
|
||||
<!-- 暂时隐藏:办公场地图片上传 -->
|
||||
<!-- <el-row :gutter="16" class="mb-4">
|
||||
<el-row :gutter="16" class="mb-4">
|
||||
<el-col :span="24">
|
||||
<el-form-item label="办公场地照片">
|
||||
<div class="text-xs mb-1 text-blue-500">
|
||||
@@ -146,7 +146,7 @@
|
||||
</el-upload>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row> -->
|
||||
</el-row>
|
||||
|
||||
|
||||
<el-row :gutter="16" class="mb-4">
|
||||
@@ -201,7 +201,7 @@
|
||||
|
||||
|
||||
<!-- 暂时隐藏:授权代表信息(姓名、身份证号、手机号、授权代表身份证) -->
|
||||
<!-- <h3 class="section-title">授权代表信息</h3>
|
||||
<h3 class="section-title">授权代表信息</h3>
|
||||
<p class="section-desc">授权代表信息用于证明该人员已获得企业授权,请确保姓名、身份证号、手机号及身份证正反面照片真实有效。</p>
|
||||
|
||||
<el-row :gutter="16" class="mb-4">
|
||||
@@ -278,10 +278,10 @@
|
||||
</el-upload>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row> -->
|
||||
</el-row>
|
||||
|
||||
<!-- 暂时隐藏:应用场景说明、应用场景附件 -->
|
||||
<!-- <h3 class="section-title">应用场景填写</h3>
|
||||
<h3 class="section-title">应用场景填写</h3>
|
||||
<p class="section-desc">请描述您调用接口的具体业务场景</p>
|
||||
|
||||
<el-row :gutter="16" class="mb-4">
|
||||
@@ -328,7 +328,7 @@
|
||||
</el-upload>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row> -->
|
||||
</el-row>
|
||||
</div>
|
||||
|
||||
<div class="form-actions">
|
||||
@@ -528,25 +528,25 @@ const enterpriseRules = {
|
||||
{ required: true, message: '请上传营业执照图片', trigger: 'change' }
|
||||
],
|
||||
// 暂时隐藏的表单项,校验已关闭,恢复显示时请还原
|
||||
// apiUsage: [
|
||||
// { required: true, message: '请填写接口用途', trigger: 'blur' },
|
||||
// { min: 5, max: 500, message: '接口用途长度应在5-500个字符之间', trigger: 'blur' }
|
||||
// ],
|
||||
// authorizedRepName: [
|
||||
// { required: true, message: '请输入授权代表姓名', trigger: 'blur' },
|
||||
// { min: 2, max: 20, message: '授权代表姓名长度应在2-20个字符之间', trigger: 'blur' }
|
||||
// ],
|
||||
// authorizedRepID: [
|
||||
// { required: true, message: '请输入授权代表身份证号', trigger: 'blur' },
|
||||
// { validator: validateIDCard, trigger: 'blur' }
|
||||
// ],
|
||||
// authorizedRepPhone: [
|
||||
// { required: true, message: '请输入授权代表手机号', trigger: 'blur' },
|
||||
// { validator: validatePhone, trigger: 'blur' }
|
||||
// ],
|
||||
// authorizedRepIDImageURLs: [
|
||||
// { required: true, message: '请上传授权代表身份证正反面图片', trigger: 'change' }
|
||||
// ]
|
||||
apiUsage: [
|
||||
{ required: true, message: '请填写接口用途', trigger: 'blur' },
|
||||
{ min: 5, max: 500, message: '接口用途长度应在5-500个字符之间', trigger: 'blur' }
|
||||
],
|
||||
authorizedRepName: [
|
||||
{ required: true, message: '请输入授权代表姓名', trigger: 'blur' },
|
||||
{ min: 2, max: 20, message: '授权代表姓名长度应在2-20个字符之间', trigger: 'blur' }
|
||||
],
|
||||
authorizedRepID: [
|
||||
{ required: true, message: '请输入授权代表身份证号', trigger: 'blur' },
|
||||
{ validator: validateIDCard, trigger: 'blur' }
|
||||
],
|
||||
authorizedRepPhone: [
|
||||
{ required: true, message: '请输入授权代表手机号', trigger: 'blur' },
|
||||
{ validator: validatePhone, trigger: 'blur' }
|
||||
],
|
||||
authorizedRepIDImageURLs: [
|
||||
{ required: true, message: '请上传授权代表身份证正反面图片', trigger: 'change' }
|
||||
]
|
||||
}
|
||||
|
||||
// 监听props变化
|
||||
@@ -698,10 +698,10 @@ const syncFormUrlsAndCheckReady = () => {
|
||||
const hasUnfinished = (list) => list.some((f) => f.raw && !f.response?.url)
|
||||
if (hasUploading(businessLicenseFileList.value) || hasUnfinished(businessLicenseFileList.value)) return false
|
||||
// 以下上传项已暂时隐藏,不再参与“未上传完成”的拦截
|
||||
// if (hasUploading(officePlaceFileList.value) || hasUnfinished(officePlaceFileList.value)) return false
|
||||
// if (hasUploading(scenarioFileList.value) || hasUnfinished(scenarioFileList.value)) return false
|
||||
// if (hasUploading(authorizedRepIDFrontFileList.value) || hasUnfinished(authorizedRepIDFrontFileList.value)) return false
|
||||
// if (hasUploading(authorizedRepIDBackFileList.value) || hasUnfinished(authorizedRepIDBackFileList.value)) return false
|
||||
if (hasUploading(officePlaceFileList.value) || hasUnfinished(officePlaceFileList.value)) return false
|
||||
if (hasUploading(scenarioFileList.value) || hasUnfinished(scenarioFileList.value)) return false
|
||||
if (hasUploading(authorizedRepIDFrontFileList.value) || hasUnfinished(authorizedRepIDFrontFileList.value)) return false
|
||||
if (hasUploading(authorizedRepIDBackFileList.value) || hasUnfinished(authorizedRepIDBackFileList.value)) return false
|
||||
return true
|
||||
}
|
||||
|
||||
|
||||
@@ -68,14 +68,13 @@
|
||||
@submit="handleEnterpriseSubmit"
|
||||
/>
|
||||
|
||||
<!-- 暂时隐藏:第二步人工审核 -->
|
||||
<!-- <ManualReviewPending
|
||||
<ManualReviewPending
|
||||
v-if="currentStep === 'manual_review'"
|
||||
:certification-data="certificationData"
|
||||
:submit-time="manualReviewSubmitTime"
|
||||
:company-name="enterpriseForm.companyName"
|
||||
@refresh="getCertificationDetails"
|
||||
/> -->
|
||||
/>
|
||||
|
||||
<EnterpriseVerify
|
||||
v-if="currentStep === 'enterprise_verify'"
|
||||
@@ -146,7 +145,6 @@ import EnterpriseVerify from './components/EnterpriseVerify.vue'
|
||||
import ManualReviewPending from './components/ManualReviewPending.vue'
|
||||
const router = useRouter()
|
||||
const userStore = useUserStore()
|
||||
// 认证步骤配置(暂时隐藏第二步「人工审核」,恢复时取消注释 manual_review 并还原 setCurrentStepByStatus 中 info_pending_review 分支)
|
||||
const certificationSteps = [
|
||||
{
|
||||
key: 'enterprise_info',
|
||||
@@ -154,12 +152,12 @@ const certificationSteps = [
|
||||
description: '填写企业基本信息和法人信息',
|
||||
icon: BuildingOfficeIcon,
|
||||
},
|
||||
// {
|
||||
// key: 'manual_review',
|
||||
// title: '人工审核',
|
||||
// description: '等待管理员审核企业信息',
|
||||
// icon: ClockIcon,
|
||||
// },
|
||||
{
|
||||
key: 'manual_review',
|
||||
title: '人工审核',
|
||||
description: '等待管理员审核企业信息',
|
||||
icon: ClockIcon,
|
||||
},
|
||||
{
|
||||
key: 'enterprise_verify',
|
||||
title: '企业认证',
|
||||
@@ -416,8 +414,7 @@ const setCurrentStepByStatus = async () => {
|
||||
currentStep.value = 'enterprise_info'
|
||||
break
|
||||
case 'info_pending_review':
|
||||
// 暂时跳过人工审核展示,直接进入企业认证步骤
|
||||
currentStep.value = 'enterprise_verify'
|
||||
currentStep.value = 'manual_review'
|
||||
break
|
||||
case 'info_submitted':
|
||||
currentStep.value = 'enterprise_verify'
|
||||
|
||||
Reference in New Issue
Block a user