refactor(credit): 调整信用模块数据结构和界面展示
- 修改CreditFinalVersion和CreditGqdj接口字段定义,调整字段顺序和内容 - 移除搜索工具栏中的添加按钮,暂时禁用该功能 - 更新行政许可编辑弹窗样式,设置宽度为70%并移除底部操作按钮 - 移除行政许可编辑表单中的多个冗余字段,精简表单内容 - 为信用相关表格组件添加选择功能和横向滚动支持 - 调整多个信用模块表格列配置,移除省略号显示,优化列标题 - 隐藏表格操作列,暂时禁用行操作功能 - 更新企业信息表格字段配置,增加更多企业相关信息列 - 调整企业表格显示逻辑,将名称替换为匹配名称进行展示 - 为多个信用模块表格添加复选框选择功能 - 移除部分表格中的备注字段,简化数据显示 - 注释掉行双击编辑事件,暂停双击编辑功能
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
:datasource="datasource"
|
||||
:customRow="customRow"
|
||||
:scroll="{ x: 9000 }"
|
||||
:selection="selection"
|
||||
tool-class="ele-toolbar-form"
|
||||
class="sys-org-table"
|
||||
>
|
||||
@@ -40,14 +41,15 @@
|
||||
</template>
|
||||
<template v-if="column.key === 'action'">
|
||||
<a-space>
|
||||
<a @click="openEdit(record)">修改</a>
|
||||
<a-divider type="vertical" />
|
||||
<a-popconfirm
|
||||
title="确定要删除此记录吗?"
|
||||
@confirm="remove(record)"
|
||||
>
|
||||
<a class="ele-text-danger">删除</a>
|
||||
</a-popconfirm>
|
||||
<a @click="openEdit(record)">详情</a>
|
||||
<!-- <a @click="openEdit(record)">修改</a>-->
|
||||
<!-- <a-divider type="vertical" />-->
|
||||
<!-- <a-popconfirm-->
|
||||
<!-- title="确定要删除此记录吗?"-->
|
||||
<!-- @confirm="remove(record)"-->
|
||||
<!-- >-->
|
||||
<!-- <a class="ele-text-danger">删除</a>-->
|
||||
<!-- </a-popconfirm>-->
|
||||
</a-space>
|
||||
</template>
|
||||
</template>
|
||||
@@ -148,59 +150,47 @@
|
||||
{
|
||||
title: '登记状态',
|
||||
dataIndex: 'registrationStatus',
|
||||
key: 'registrationStatus',
|
||||
ellipsis: true
|
||||
key: 'registrationStatus'
|
||||
},
|
||||
{
|
||||
title: '法定代表人',
|
||||
dataIndex: 'legalPerson',
|
||||
key: 'legalPerson',
|
||||
ellipsis: true
|
||||
key: 'legalPerson'
|
||||
},
|
||||
{
|
||||
title: '注册资本',
|
||||
dataIndex: 'registeredCapital',
|
||||
key: 'registeredCapital',
|
||||
ellipsis: true
|
||||
key: 'registeredCapital'
|
||||
},
|
||||
{
|
||||
title: '成立日期',
|
||||
dataIndex: 'establishDate',
|
||||
key: 'establishDate',
|
||||
ellipsis: true
|
||||
key: 'establishDate'
|
||||
},
|
||||
{
|
||||
title: '统一社会信用代码',
|
||||
dataIndex: 'code',
|
||||
key: 'code',
|
||||
ellipsis: true
|
||||
key: 'code'
|
||||
},
|
||||
{
|
||||
title: '注册地址',
|
||||
dataIndex: 'address',
|
||||
key: 'address',
|
||||
ellipsis: true,
|
||||
hideInTable: true
|
||||
key: 'address'
|
||||
},
|
||||
{
|
||||
title: '注册地址邮编',
|
||||
dataIndex: 'postalCode',
|
||||
key: 'postalCode',
|
||||
ellipsis: true,
|
||||
hideInTable: true
|
||||
key: 'postalCode'
|
||||
},
|
||||
{
|
||||
title: '有效手机号',
|
||||
dataIndex: 'phone',
|
||||
key: 'phone',
|
||||
ellipsis: true
|
||||
key: 'phone'
|
||||
},
|
||||
{
|
||||
title: '更多电话',
|
||||
dataIndex: 'moreTel',
|
||||
key: 'moreTel',
|
||||
ellipsis: true,
|
||||
hideInTable: true
|
||||
key: 'moreTel'
|
||||
},
|
||||
{
|
||||
title: '邮箱',
|
||||
@@ -212,8 +202,7 @@
|
||||
title: '邮箱',
|
||||
dataIndex: 'moreEmail',
|
||||
key: 'moreEmail',
|
||||
ellipsis: true,
|
||||
hideInTable: true
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
title: '所在国家',
|
||||
@@ -225,122 +214,118 @@
|
||||
{
|
||||
title: '所属省份',
|
||||
dataIndex: 'province',
|
||||
key: 'province',
|
||||
ellipsis: true
|
||||
key: 'province'
|
||||
},
|
||||
{
|
||||
title: '所属城市',
|
||||
dataIndex: 'city',
|
||||
key: 'city',
|
||||
ellipsis: true
|
||||
key: 'city'
|
||||
},
|
||||
{
|
||||
title: '所属区县',
|
||||
dataIndex: 'region',
|
||||
key: 'region',
|
||||
ellipsis: true
|
||||
key: 'region'
|
||||
},
|
||||
{
|
||||
title: '纳税人识别号',
|
||||
dataIndex: 'taxpayerCode',
|
||||
key: 'taxpayerCode',
|
||||
ellipsis: true
|
||||
key: 'taxpayerCode'
|
||||
},
|
||||
{
|
||||
title: '注册号',
|
||||
dataIndex: 'registrationNumber',
|
||||
key: 'registrationNumber',
|
||||
ellipsis: true
|
||||
|
||||
},
|
||||
{
|
||||
title: '组织机构代码',
|
||||
dataIndex: 'organizationalCode',
|
||||
key: 'organizationalCode',
|
||||
ellipsis: true
|
||||
|
||||
},
|
||||
{
|
||||
title: '参保人数',
|
||||
dataIndex: 'numberOfInsuredPersons',
|
||||
key: 'numberOfInsuredPersons',
|
||||
ellipsis: true
|
||||
|
||||
},
|
||||
{
|
||||
title: '参保人数所属年报',
|
||||
dataIndex: 'annualReport',
|
||||
key: 'annualReport',
|
||||
ellipsis: true
|
||||
|
||||
},
|
||||
{
|
||||
title: '企业(机构)类型',
|
||||
dataIndex: 'institutionType',
|
||||
key: 'institutionType',
|
||||
ellipsis: true
|
||||
|
||||
},
|
||||
{
|
||||
title: '企业规模',
|
||||
dataIndex: 'companySize',
|
||||
key: 'companySize',
|
||||
ellipsis: true
|
||||
|
||||
},
|
||||
{
|
||||
title: '营业期限',
|
||||
dataIndex: 'businessTerm',
|
||||
key: 'businessTerm',
|
||||
ellipsis: true
|
||||
|
||||
},
|
||||
{
|
||||
title: '国标行业门类',
|
||||
dataIndex: 'nationalStandardIndustryCategories',
|
||||
key: 'nationalStandardIndustryCategories',
|
||||
ellipsis: true
|
||||
|
||||
},
|
||||
{
|
||||
title: '国标行业大类',
|
||||
dataIndex: 'nationalStandardIndustryCategories2',
|
||||
key: 'nationalStandardIndustryCategories2',
|
||||
ellipsis: true
|
||||
|
||||
},
|
||||
{
|
||||
title: '国标行业中类',
|
||||
dataIndex: 'nationalStandardIndustryCategories3',
|
||||
key: 'nationalStandardIndustryCategories3',
|
||||
ellipsis: true
|
||||
|
||||
},
|
||||
{
|
||||
title: '国标行业小类',
|
||||
dataIndex: 'nationalStandardIndustryCategories4',
|
||||
key: 'nationalStandardIndustryCategories4',
|
||||
ellipsis: true
|
||||
|
||||
},
|
||||
{
|
||||
title: '曾用名',
|
||||
dataIndex: 'formerName',
|
||||
key: 'formerName',
|
||||
ellipsis: true
|
||||
|
||||
},
|
||||
{
|
||||
title: '英文名',
|
||||
dataIndex: 'englishName',
|
||||
key: 'englishName',
|
||||
ellipsis: true
|
||||
|
||||
},
|
||||
{
|
||||
title: '官网网址',
|
||||
dataIndex: 'domain',
|
||||
key: 'domain',
|
||||
ellipsis: true
|
||||
|
||||
},
|
||||
{
|
||||
title: '通信地址',
|
||||
dataIndex: 'mailingAddress',
|
||||
key: 'mailingAddress',
|
||||
ellipsis: true
|
||||
|
||||
},
|
||||
{
|
||||
title: '通信地址邮箱',
|
||||
dataIndex: 'mailingEmail',
|
||||
key: 'mailingEmail',
|
||||
ellipsis: true
|
||||
|
||||
},
|
||||
{
|
||||
title: '企业简介',
|
||||
@@ -358,31 +343,31 @@
|
||||
title: '电话',
|
||||
dataIndex: 'tel',
|
||||
key: 'tel',
|
||||
ellipsis: true
|
||||
|
||||
},
|
||||
{
|
||||
title: '企查查行业门类',
|
||||
dataIndex: 'nationalStandardIndustryCategories5',
|
||||
key: 'nationalStandardIndustryCategories5',
|
||||
ellipsis: true
|
||||
|
||||
},
|
||||
{
|
||||
title: '企查查行业大类',
|
||||
dataIndex: 'nationalStandardIndustryCategories6',
|
||||
key: 'nationalStandardIndustryCategories6',
|
||||
ellipsis: true
|
||||
|
||||
},
|
||||
{
|
||||
title: '企查查行业中类',
|
||||
dataIndex: 'nationalStandardIndustryCategories7',
|
||||
key: 'nationalStandardIndustryCategories7',
|
||||
ellipsis: true
|
||||
|
||||
},
|
||||
{
|
||||
title: '企查查行业小类',
|
||||
dataIndex: 'nationalStandardIndustryCategories8',
|
||||
key: 'nationalStandardIndustryCategories8',
|
||||
ellipsis: true
|
||||
|
||||
},
|
||||
{
|
||||
title: '类型',
|
||||
@@ -394,61 +379,61 @@
|
||||
title: '实缴资本',
|
||||
dataIndex: 'paidinCapital',
|
||||
key: 'paidinCapital',
|
||||
ellipsis: true
|
||||
|
||||
},
|
||||
{
|
||||
title: '登记机关',
|
||||
dataIndex: 'registrationAuthority',
|
||||
key: 'registrationAuthority',
|
||||
ellipsis: true
|
||||
|
||||
},
|
||||
{
|
||||
title: '纳税人资质',
|
||||
dataIndex: 'taxpayerQualification',
|
||||
key: 'taxpayerQualification',
|
||||
ellipsis: true
|
||||
|
||||
},
|
||||
{
|
||||
title: '最新年报年份',
|
||||
dataIndex: 'latestAnnualReportYear',
|
||||
key: 'latestAnnualReportYear',
|
||||
ellipsis: true
|
||||
|
||||
},
|
||||
{
|
||||
title: '最新年报营业收入',
|
||||
dataIndex: 'latestAnnualReportOnOperatingRevenue',
|
||||
key: 'latestAnnualReportOnOperatingRevenue',
|
||||
ellipsis: true
|
||||
|
||||
},
|
||||
{
|
||||
title: '企查分',
|
||||
dataIndex: 'enterpriseScoreCheck',
|
||||
key: 'enterpriseScoreCheck',
|
||||
ellipsis: true
|
||||
|
||||
},
|
||||
{
|
||||
title: '信用等级',
|
||||
dataIndex: 'creditRating',
|
||||
key: 'creditRating',
|
||||
ellipsis: true
|
||||
|
||||
},
|
||||
{
|
||||
title: '科创分',
|
||||
dataIndex: 'cechnologyScore',
|
||||
key: 'cechnologyScore',
|
||||
ellipsis: true
|
||||
|
||||
},
|
||||
{
|
||||
title: '科创等级',
|
||||
dataIndex: 'cechnologyLevel',
|
||||
key: 'cechnologyLevel',
|
||||
ellipsis: true
|
||||
|
||||
},
|
||||
{
|
||||
title: '是否小微企业',
|
||||
dataIndex: 'smallEnterprise',
|
||||
key: 'smallEnterprise',
|
||||
ellipsis: true
|
||||
|
||||
},
|
||||
// {
|
||||
// title: '备注',
|
||||
@@ -487,7 +472,7 @@
|
||||
{
|
||||
title: '操作',
|
||||
key: 'action',
|
||||
width: 180,
|
||||
width: 90,
|
||||
fixed: 'right',
|
||||
align: 'center',
|
||||
hideInSetting: true
|
||||
@@ -524,6 +509,8 @@
|
||||
const exportData = () => {
|
||||
exportCreditData<CreditNearbyCompany>({
|
||||
filename: '附近企业',
|
||||
// “附近企业”本身就是企业列表,避免自动插入 companyName 导致多一个空“企业名称”列
|
||||
includeCompanyName: false,
|
||||
columns: [
|
||||
{ title: 'ID', dataIndex: 'id' },
|
||||
{ title: '企业名称', dataIndex: 'name' },
|
||||
@@ -533,10 +520,59 @@
|
||||
{ title: '成立日期', dataIndex: 'establishDate' },
|
||||
{ title: '统一社会信用代码', dataIndex: 'code' },
|
||||
{ title: '注册地址', dataIndex: 'address' },
|
||||
{ title: '注册地址邮编', dataIndex: 'postalCode' },
|
||||
{ title: '有效手机号', dataIndex: 'phone' },
|
||||
{ title: '更多电话', dataIndex: 'moreTel' },
|
||||
{ title: '邮箱', dataIndex: 'email' },
|
||||
{ title: '网址', dataIndex: 'domain' },
|
||||
{ title: '更多邮箱', dataIndex: 'moreEmail' },
|
||||
{ title: '所在国家', dataIndex: 'country' },
|
||||
{ title: '所属省份', dataIndex: 'province' },
|
||||
{ title: '所属城市', dataIndex: 'city' },
|
||||
{ title: '所属区县', dataIndex: 'region' },
|
||||
{ title: '纳税人识别号', dataIndex: 'taxpayerCode' },
|
||||
{ title: '注册号', dataIndex: 'registrationNumber' },
|
||||
{ title: '组织机构代码', dataIndex: 'organizationalCode' },
|
||||
{ title: '参保人数', dataIndex: 'numberOfInsuredPersons' },
|
||||
{ title: '参保人数所属年报', dataIndex: 'annualReport' },
|
||||
{ title: '企业(机构)类型', dataIndex: 'institutionType' },
|
||||
{ title: '企业规模', dataIndex: 'companySize' },
|
||||
{ title: '营业期限', dataIndex: 'businessTerm' },
|
||||
{ title: '国标行业门类', dataIndex: 'nationalStandardIndustryCategories' },
|
||||
{ title: '国标行业大类', dataIndex: 'nationalStandardIndustryCategories2' },
|
||||
{ title: '国标行业中类', dataIndex: 'nationalStandardIndustryCategories3' },
|
||||
{ title: '国标行业小类', dataIndex: 'nationalStandardIndustryCategories4' },
|
||||
{ title: '曾用名', dataIndex: 'formerName' },
|
||||
{ title: '英文名', dataIndex: 'englishName' },
|
||||
{ title: '官网网址', dataIndex: 'domain' },
|
||||
{ title: '通信地址', dataIndex: 'mailingAddress' },
|
||||
{ title: '通信地址邮箱', dataIndex: 'mailingEmail' },
|
||||
{ title: '企业简介', dataIndex: 'companyProfile' },
|
||||
{ title: '经营范围', dataIndex: 'natureOfBusiness' },
|
||||
{ title: '电话', dataIndex: 'tel' },
|
||||
{ title: '企查查行业门类', dataIndex: 'nationalStandardIndustryCategories5' },
|
||||
{ title: '企查查行业大类', dataIndex: 'nationalStandardIndustryCategories6' },
|
||||
{ title: '企查查行业中类', dataIndex: 'nationalStandardIndustryCategories7' },
|
||||
{ title: '企查查行业小类', dataIndex: 'nationalStandardIndustryCategories8' },
|
||||
{ title: '链接', dataIndex: 'url' },
|
||||
{ title: '类型', dataIndex: 'type' },
|
||||
{ title: '上级ID', dataIndex: 'parentId' },
|
||||
{ title: '实缴资本', dataIndex: 'paidinCapital' },
|
||||
{ title: '登记机关', dataIndex: 'registrationAuthority' },
|
||||
{ title: '纳税人资质', dataIndex: 'taxpayerQualification' },
|
||||
{ title: '最新年报年份', dataIndex: 'latestAnnualReportYear' },
|
||||
{ title: '最新年报营业收入', dataIndex: 'latestAnnualReportOnOperatingRevenue' },
|
||||
{ title: '企查分', dataIndex: 'enterpriseScoreCheck' },
|
||||
{ title: '信用等级', dataIndex: 'creditRating' },
|
||||
{ title: '科创分', dataIndex: 'cechnologyScore' },
|
||||
{ title: '科创等级', dataIndex: 'cechnologyLevel' },
|
||||
{ title: '是否小微企业', dataIndex: 'smallEnterprise' },
|
||||
{ title: '备注', dataIndex: 'comments' },
|
||||
{ title: '是否推荐', dataIndex: 'recommend' },
|
||||
{ title: '排序(数字越小越靠前)', dataIndex: 'sortNumber' },
|
||||
{ title: '状态, 0正常, 1冻结', dataIndex: 'status' },
|
||||
{ title: '是否删除, 0否, 1是', dataIndex: 'deleted' },
|
||||
{ title: '用户ID', dataIndex: 'userId' },
|
||||
{ title: '租户id', dataIndex: 'tenantId' },
|
||||
{
|
||||
title: '创建时间',
|
||||
dataIndex: 'createTime',
|
||||
@@ -544,6 +580,14 @@
|
||||
record.createTime
|
||||
? toDateString(record.createTime, 'yyyy-MM-dd HH:mm:ss')
|
||||
: ''
|
||||
},
|
||||
{
|
||||
title: '修改时间',
|
||||
dataIndex: 'updateTime',
|
||||
formatter: (record: CreditNearbyCompany) =>
|
||||
record.updateTime
|
||||
? toDateString(record.updateTime, 'yyyy-MM-dd HH:mm:ss')
|
||||
: ''
|
||||
}
|
||||
],
|
||||
fetchData: () =>
|
||||
|
||||
Reference in New Issue
Block a user