feat: 优化估值申请表单字段,完善基础信息填写项

- 新增"统一社会信用代码/身份证号"字段,支持机构和个人信息录入
- 将"所属机构"字段更名为"所属机构/权利人",扩展适用范围
- 新增"业务/传承介绍"多行文本输入框,替代原有企业简介和业务简介
- 优化表单布局,调整字段宽度和排列顺序
- 完善表单验证规则,确保新增字段必填
- 同步更新审核详情页面字段显示
- 修改web1端
This commit is contained in:
Wei_佳 2025-11-17 11:02:31 +08:00
parent 09469888b4
commit 11ae08dc96
3 changed files with 62 additions and 10 deletions

View File

@ -59,10 +59,10 @@ const detailSections = computed(() => {
title: '基础信息',
fields: [
{ label: '资产名称', type: 'text', value: detail.asset_name || '-' },
{ label: '所属机构', type: 'text', value: detail.institution || '-' },
{ label: '所属机构/权利人', type: 'text', value: detail.institution || '-' },
{ label: '统一社会信用代码/身份证号', type: 'text', value: detail.credit_code || '-' },
{ label: '所属行业', type: 'text', value: detail.industry || '-' },
{ label: '企业简介', type: 'text', value: detail.company_profile || '-' },
{ label: '业务简介', type: 'text', value: detail.business_profile || '-' },
{ label: '业务/传承介绍', type: 'text', value: detail.business_heritage_intro || '-' },
],
},
{

View File

@ -1,3 +1,3 @@
VITE_TITLE = '成都文化产权交易所'
VITE_PORT = 3100
VITE_PORT = 3101

View File

@ -32,7 +32,7 @@
require-mark-placement = "left"
>
<n-grid v-if="currentStep == 0" :cols="24" :x-gap="24">
<n-form-item-gi :span="24" class="form-item" label="资产名称" path="asset_name">
<n-form-item-gi :span="10" class="form-item" label="资产名称" path="asset_name">
<template #label>
<div class="flex items-center gap-4">
<span>资产名称</span>
@ -46,19 +46,33 @@
</template>
<NInput v-model:value="modalForm.asset_name" placeholder="请输入资产名称" />
</n-form-item-gi>
<n-form-item-gi :span="10" class="form-item" label="所属机构" path="institution">
<n-form-item-gi :span="12" class="form-item" label="所属机构/权利人" path="institution">
<template #label>
<div class="flex items-center gap-4">
<span>所属机构</span>
<span>所属机构/权利人</span>
<n-tooltip placement="top-start" trigger="hover">
<template #trigger>
<img style="width: 14px; height: 14px;" src="@/assets/images/ps.png" alt="">
</template>
请填写评估机构全称,XXX有限公司
请填写评估机构全称,"XXX有限公司"
</n-tooltip>
</div>
</template>
<NInput v-model:value="modalForm.institution" placeholder="请输入所属机构" />
<NInput v-model:value="modalForm.institution" placeholder="请输入所属机构/权利人" />
</n-form-item-gi>
<n-form-item-gi :span="10" class="form-item" label="统一社会信用代码/身份证号" path="credit_code">
<template #label>
<div class="flex items-center gap-4">
<span>统一社会信用代码/身份证号</span>
<n-tooltip placement="top-start" trigger="hover">
<template #trigger>
<img style="width: 14px; height: 14px;" src="@/assets/images/ps.png" alt="">
</template>
请填写评估机构统一社会信用代码/身份证号
</n-tooltip>
</div>
</template>
<NInput v-model:value="modalForm.credit_code" placeholder="请输入统一社会信用代码/身份证号" />
</n-form-item-gi>
<n-form-item-gi :span="12" class="form-item" label="所属行业" path="industry">
<template #label>
@ -79,6 +93,28 @@
filterable
/>
</n-form-item-gi>
<n-form-item-gi :span="24" class="form-item" label="业务/传承介绍" path="business_heritage_intro">
<template #label>
<div class="flex items-center gap-4">
<span>业务/传承介绍</span>
<n-tooltip placement="top-start" trigger="hover">
<template #trigger>
<img style="width: 14px; height: 14px;" src="@/assets/images/ps.png" alt="">
</template>
请在此处自由填写受评估单位/人的详细业务与项目情况建议着重介绍与本次所评估非遗IP资产直接相关的背景信息例如主要业务范围核心技艺传承谱系运营模式市场定位近年发展状况等本部分是评估师理解评估对象价值内涵的重要依据请务必详尽客观地描述
</n-tooltip>
</div>
</template>
<n-input
v-model:value="modalForm.business_heritage_intro"
type="textarea"
placeholder="请在此处自由填写受评估单位/人的详细业务与项目情况。建议着重介绍与本次所评估非遗IP资产直接相关的背景信息例如主要业务范围、核心技艺、传承谱系、运营模式、市场定位、近年发展状况等。本部分是评估师理解评估对象价值内涵的重要依据请务必详尽、客观地描述。"
:autosize="{
minRows: 4,
maxRows: 8
}"
/>
</n-form-item-gi>
</n-grid>
<n-grid v-if="currentStep == 1" :cols="24" :x-gap="0">
<n-form-item-gi :span="10" class="form-item" label="近12个月机构营收/万元" path="annual_revenue">
@ -585,7 +621,9 @@ const historyList = ref([])
const modalForm = reactive({
asset_name: '',
institution: '',
credit_code: '',
industry: null,
business_heritage_intro: '',
annual_revenue: '',
rd_investment: '',
three_year_income: [],
@ -621,7 +659,21 @@ const modalRules = {
institution: [
{
required: true,
message: '请输入所属机构',
message: '请输入所属机构/权利人',
trigger: ['input', 'blur'],
},
],
credit_code: [
{
required: true,
message: '请输入统一社会信用代码/身份证号',
trigger: ['input', 'blur'],
},
],
business_heritage_intro: [
{
required: true,
message: '请输入业务/传承介绍',
trigger: ['input', 'blur'],
},
],