diff --git a/.env.development b/.env.development index fbcc74b..b8ccd8b 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ VITE_APP_NAME=后台管理(开发环境) -VITE_API_URL=http://127.0.0.1:9200/api +#VITE_API_URL=http://127.0.0.1:9200/api #VITE_SERVER_API_URL=http://127.0.0.1:8000/api diff --git a/src/views/credit/creditBreachOfTrust/index.vue b/src/views/credit/creditBreachOfTrust/index.vue index 7e2b9a6..a4ac668 100644 --- a/src/views/credit/creditBreachOfTrust/index.vue +++ b/src/views/credit/creditBreachOfTrust/index.vue @@ -162,44 +162,45 @@ key: 'companyName' }, { - title: '案号', - dataIndex: 'caseNumber', - key: 'caseNumber', - width: 200 + title: '原告/上诉人', + dataIndex: 'plaintiffUser', + key: 'plaintiffUser' }, { - title: '失信被执行人', - dataIndex: 'plaintiffAppellant', - key: 'plaintiffAppellant' + title: '被告/被上诉人', + dataIndex: 'plaintiffUser', + key: 'plaintiffUser' }, { - title: '疑似申请执行人', - dataIndex: 'appellee', - key: 'appellee' + title: '其他当事人/第三人', + dataIndex: 'otherPartiesThirdParty', + key: 'otherPartiesThirdParty' }, { - title: '涉案金额(元)', - dataIndex: 'involvedAmount', - key: 'involvedAmount', - width: 120 - }, - { - title: '执行法院', - dataIndex: 'courtName', - key: 'courtName', - ellipsis: true - }, - { - title: '立案日期', + title: '发生时间', dataIndex: 'occurrenceTime', key: 'occurrenceTime', width: 120 }, { - title: '发布日期', - dataIndex: 'releaseDate', - key: 'releaseDate', - ellipsis: true + title: '案号', + dataIndex: 'caseNumber', + key: 'caseNumber' + }, + { + title: '涉案金额', + dataIndex: 'involvedAmount', + key: 'involvedAmount' + }, + { + title: '法院', + dataIndex: 'courtName', + key: 'courtName' + }, + { + title: '数据状态', + dataIndex: 'dataStatus', + key: 'dataStatus' }, { title: '操作人', diff --git a/src/views/credit/creditCaseFiling/index.vue b/src/views/credit/creditCaseFiling/index.vue index c04a5a1..1f86f94 100644 --- a/src/views/credit/creditCaseFiling/index.vue +++ b/src/views/credit/creditCaseFiling/index.vue @@ -151,6 +151,26 @@ dataIndex: 'companyName', key: 'companyName' }, + { + title: '原告/上诉人', + dataIndex: 'plaintiffUser', + key: 'plaintiffUser' + }, + { + title: '被告/被上诉人', + dataIndex: 'plaintiffUser', + key: 'plaintiffUser' + }, + { + title: '其他当事人/第三人', + dataIndex: 'otherPartiesThirdParty', + key: 'otherPartiesThirdParty' + }, + { + title: '发生时间', + dataIndex: 'occurrenceTime', + key: 'occurrenceTime' + }, { title: '案号', dataIndex: 'caseNumber', @@ -162,9 +182,9 @@ key: 'causeOfAction' }, { - title: '当事人', - dataIndex: 'otherPartiesThirdParty', - key: 'otherPartiesThirdParty' + title: '涉案金额', + dataIndex: 'involvedAmount', + key: 'involvedAmount' }, { title: '法院', @@ -172,10 +192,15 @@ key: 'courtName' }, { - title: '立案日期', - dataIndex: 'occurrenceTime', - key: 'occurrenceTime' + title: '数据状态', + dataIndex: 'dataStatus', + key: 'dataStatus' }, + // { + // title: '立案日期', + // dataIndex: 'occurrenceTime', + // key: 'occurrenceTime' + // }, { title: '操作人', dataIndex: 'realName', diff --git a/src/views/credit/creditCompany/components/creditCompanyInfo.vue b/src/views/credit/creditCompany/components/creditCompanyInfo.vue index 596d2a0..db43004 100644 --- a/src/views/credit/creditCompany/components/creditCompanyInfo.vue +++ b/src/views/credit/creditCompany/components/creditCompanyInfo.vue @@ -417,6 +417,11 @@ }; type TabColumnConfig = { + /** + * Explicit column list (supports duplicate dataIndex with different titles, e.g. plaintiffUser shown twice). + * When provided, it takes precedence over `order`. + */ + columns?: Array<{ dataIndex: string; title: string; key?: string }>; order?: string[]; hidden?: string[]; titleMap?: Record; @@ -430,11 +435,8 @@ 'sortNumber', 'recommend', 'url', - 'status', 'comments', - 'companyId', - 'updateTime', - 'companyName' + 'companyId' ]); const commonTitleMap: Record = { @@ -462,45 +464,54 @@ const tabColumnConfigMap: Record = { '招投标': { order: [ + 'id', + 'companyName', 'name', 'releaseDate', 'role', 'infoType', - 'region', - 'caseNumber', + 'address', 'procurementName', 'winningName', - 'winningPrice', - 'url', - 'createTime', - 'updateTime' - ], - hidden: [ - 'type', - 'parentId', - 'sortNumber', - 'recommend', - 'expirationTime', - 'updateTime', - 'createTime' + 'realName', + 'winningPrice' ], titleMap: { + id: 'ID', + companyName: '主体企业', name: '项目名称', role: '企业角色', infoType: '信息类型', - region: '省份地区', - caseNumber: '案号', + address: '省份地区', procurementName: '招采单位', winningName: '中标单位', winningPrice: '中标金额', releaseDate: '发布日期', - url: '链接地址', - createTime: '创建时间', - updateTime: '修改时间' + realName: '操作人' } }, '对外投资': { + order: [ + 'id', + 'companyName', + 'name', + 'statusTxt', + 'legalRepresentative', + 'registeredCapital', + 'establishmentDate', + 'shareholdingRatio', + 'subscribedInvestmentAmount', + 'investmentDate', + 'region', + 'industry', + 'investmentCount', + 'relatedProductsInstitutions', + 'realName', + 'createTime' + ], titleMap: { + id: 'ID', + companyName: '主体企业', name: '被投资企业名称', statusTxt: '状态', legalRepresentative: '法定代表人', @@ -508,77 +519,146 @@ establishmentDate: '成立日期', shareholdingRatio: '持股比例', subscribedInvestmentAmount: '认缴出资额', - subscribedInvestmentDate: '认缴出资日期', - indirectShareholdingRatio: '间接持股比例', investmentDate: '投资日期', region: '所属地区', industry: '所属行业', investmentCount: '投资数量', - relatedProductsInstitutions: '关联产品/机构' + relatedProductsInstitutions: '关联产品/机构', + realName: '操作人', + createTime: '创建时间' }, - hidden: [ - 'id', - 'createTime' - ], }, '风险关系': { + order: [ + 'id', + 'companyName', + 'mainBodyName', + 'registrationStatus', + 'registeredCapital', + 'provinceRegion', + 'associatedRelation', + 'riskRelation', + 'realName', + 'createTime' + ], titleMap: { + id: '序号', + companyName: '主体企业', mainBodyName: '主体名称', registrationStatus: '登记状态', registeredCapital: '注册资本', provinceRegion: '省份地区', associatedRelation: '关联关系', - riskRelation: '风险关系' - }, - hidden: [ - 'id', - 'createTime' - ] + riskRelation: '风险关系', + realName: '操作人', + createTime: '创建时间' + } }, '竞争对手': { + order: [ + 'id', + 'companyName', + 'name', + 'legalRepresentative', + 'registeredCapital', + 'establishmentDate', + 'industry', + 'province', + 'realName', + 'createTime' + ], titleMap: { + id: '序号', + companyName: '主体企业', name: '企业名称', legalRepresentative: '法定代表人', registeredCapital: '注册资本', establishmentDate: '成立日期', - registrationStatus: '登记状态', industry: '所属行业', - province: '所属省份' + province: '所属省份', + realName: '操作人', + createTime: '创建时间' }, - hidden: ['id','mainCompanyName','createTime'] + hidden: ['mainCompanyName'] }, '供应商': { + order: [ + 'id', + 'companyName', + 'supplier', + 'statusTxt', + 'purchaseAmount', + 'publicDate', + 'dataSource', + 'realName', + 'createTime' + ], titleMap: { + id: 'ID', + companyName: '主体企业', supplier: '供应商', - purchaseAmount: '采购金额(万元)' - }, - hidden: ['id','createTime'] + statusTxt: '状态', + purchaseAmount: '采购金额(万元)', + publicDate: '公开日期', + dataSource: '数据来源', + realName: '操作人', + createTime: '创建时间' + } }, '客户': { + order: [ + 'id', + 'companyName', + 'name', + 'statusTxt', + 'price', + 'publicDate', + 'dataSource', + 'realName', + 'createTime' + ], titleMap: { - + id: 'ID', + companyName: '主体企业', + name: '客户', + statusTxt: '状态', + price: '销售金额(万元)', + publicDate: '公开日期', + dataSource: '数据来源', + realName: '操作人', + createTime: '创建时间' }, - hidden: ['id','createTime'] }, '司法案件': { + order: [ + 'id', + 'companyName', + 'code', + 'name', + 'infoType', + 'reason', + 'processDate', + 'caseProgress', + 'caseIdentity', + 'court', + 'caseAmount', + 'realName' + ], titleMap: { + id: 'ID', + companyName: '主体企业', + code: '案号', name: '案件名称', infoType: '案件类型', reason: '案由', processDate: '进程日期', caseProgress: '案件进程', caseIdentity: '案件身份', - code: '案号', court: '法院', caseAmount: '案件金额(元)', - // country: '国家', - // province: '省份', - // city: '城市', - // region: '地区', - // address: '地址', + realName: '操作人' }, hidden: [ - 'id', 'parentId', 'type', 'country', @@ -591,140 +671,279 @@ ] }, '被执行人': { + order: [ + 'id', + 'companyName', + 'caseNumber', + 'name', + 'code', + 'occurrenceTime', + 'courtName', + 'amount', + 'dataStatus', + 'realName', + 'updateTime' + ], titleMap: { + id: 'ID', + companyName: '主体企业', caseNumber: '案号', - name: '被执行人', + name: '被执行人名称', + code: '证件号/组织机构代码', amount: '执行标的(元)', - courtName: '执行法院', + courtName: '法院', occurrenceTime: '立案日期', + dataStatus: '数据状态', + realName: '操作人', + updateTime: '更新时间' }, - hidden: ['id','historyId','code', 'dataStatus','historyName','createTime'] + hidden: ['historyId', 'historyName', 'createTime'] }, '限制高消费': { - titleMap: { - caseNumber: '案号', - dataType: '限消令对象', - plaintiffAppellant: '限制法定代表人', - appellee: '申请人', - involvedAmount: '涉案金额(元)', - occurrenceTime: '立案日期', - courtName: '执行法院', - releaseDate: '发布日期' - }, - hidden: ['id','dataStatus','otherPartiesThirdParty','causeOfAction','createTime'] + columns: [ + { dataIndex: 'id', title: 'ID' }, + { dataIndex: 'companyName', title: '主体企业' }, + { dataIndex: 'plaintiffUser', title: '原告/上诉人', key: 'plaintiffUser_1' }, + { dataIndex: 'plaintiffUser', title: '被告/被上诉人', key: 'plaintiffUser_2' }, + { dataIndex: 'otherPartiesThirdParty', title: '其他当事人/第三人' }, + { dataIndex: 'occurrenceTime', title: '发生时间' }, + { dataIndex: 'caseNumber', title: '案号' }, + { dataIndex: 'involvedAmount', title: '涉案金额(元)' }, + { dataIndex: 'courtName', title: '执行法院' }, + { dataIndex: 'dataStatus', title: '数据状态' }, + { dataIndex: 'realName', title: '操作人' }, + { dataIndex: 'createTime', title: '创建时间' } + ] }, '终本案件': { - titleMap: { - caseNumber: '案号', - appellee: '被执行人', - plaintiffAppellant: '疑似申请执行人', - unfulfilledAmount: '未履行金额(元)', - involvedAmount: '执行标的(元)', - courtName: '执行法院', - occurrenceTime: '立案日期', - finalDate: '终本日期' - }, - hidden: ['id','dataStatus','createTime'] + columns: [ + { dataIndex: 'id', title: 'ID' }, + { dataIndex: 'companyName', title: '主体企业' }, + { dataIndex: 'dataType', title: '原告/上诉人', key: 'dataType_1' }, + { dataIndex: 'dataType', title: '被告/被上诉人', key: 'dataType_2' }, + { dataIndex: 'dataType', title: '其他当事人/第三人', key: 'dataType_3' }, + { dataIndex: 'occurrenceTime', title: '发生时间' }, + { dataIndex: 'caseNumber', title: '案号' }, + { dataIndex: 'involvedAmount', title: '涉案金额' }, + { dataIndex: 'courtName', title: '法院' }, + { dataIndex: 'dataStatus', title: '数据状态' }, + { dataIndex: 'realName', title: '操作人' }, + { dataIndex: 'createTime', title: '创建时间' } + ] }, '开庭公告': { - order: ['caseNumber','causeOfAction','otherPartiesThirdParty','courtName','occurrenceTime'], - titleMap: { - caseNumber: '案号', - causeOfAction: '案由', - otherPartiesThirdParty: '当事人', - courtName: '法院', - occurrenceTime: '开庭时间', - }, - hidden: ['id','dataStatus','appellee','involvedAmount','createTime'] + columns: [ + { dataIndex: 'id', title: 'ID' }, + { dataIndex: 'companyName', title: '主体企业' }, + { dataIndex: 'plaintiffUser', title: '原告/上诉人', key: 'plaintiffUser_1' }, + { dataIndex: 'plaintiffUser', title: '被告/被上诉人', key: 'plaintiffUser_2' }, + { dataIndex: 'otherPartiesThirdParty', title: '其他当事人/第三人' }, + { dataIndex: 'occurrenceTime', title: '发生时间' }, + { dataIndex: 'caseNumber', title: '案号' }, + { dataIndex: 'causeOfAction', title: '案由' }, + { dataIndex: 'involvedAmount', title: '涉案金额' }, + { dataIndex: 'courtName', title: '法院' }, + { dataIndex: 'dataStatus', title: '数据状态' }, + { dataIndex: 'realName', title: '操作人' }, + { dataIndex: 'createTime', title: '创建时间' } + ] }, '法院公告': { - order: ['caseNumber','causeOfAction','otherPartiesThirdParty','dataType','plaintiffAppellant','occurrenceTime'], - titleMap: { - caseNumber: '案号', - causeOfAction: '案由', - otherPartiesThirdParty: '当事人', - dataType: '公告类型', - plaintiffAppellant: '公告人', - occurrenceTime: '刊登日期' - }, - hidden: ['id'] + columns: [ + { dataIndex: 'id', title: 'ID' }, + { dataIndex: 'companyName', title: '主体企业' }, + { dataIndex: 'plaintiffUser', title: '原告/上诉人', key: 'plaintiffUser_1' }, + { dataIndex: 'plaintiffUser', title: '被告/被上诉人', key: 'plaintiffUser_2' }, + { dataIndex: 'otherPartiesThirdParty', title: '其他当事人/第三人' }, + { dataIndex: 'occurrenceTime', title: '发生时间' }, + { dataIndex: 'caseNumber', title: '案号' }, + { dataIndex: 'causeOfAction', title: '案由' }, + { dataIndex: 'involvedAmount', title: '涉案金额' }, + { dataIndex: 'courtName', title: '法院' }, + { dataIndex: 'dataStatus', title: '数据状态' }, + { dataIndex: 'realName', title: '操作人' }, + { dataIndex: 'createTime', title: '创建时间' } + ] }, '失信被执行人': { - order: ['caseNumber','plaintiffAppellant','appellee','involvedAmount','courtName','occurrenceTime'], - titleMap: { - caseNumber: '案号', - plaintiffAppellant: '失信被执行人', - appellee: '疑似申请执行人', - involvedAmount: '涉案金额(元)', - courtName: '执行法院', - occurrenceTime: '立案日期', - releaseDate: '发布日期' - }, - hidden: ['id','dataStatus'] + columns: [ + { dataIndex: 'id', title: 'ID' }, + { dataIndex: 'companyName', title: '主体企业' }, + { dataIndex: 'plaintiffUser', title: '原告/上诉人', key: 'plaintiffUser_1' }, + { dataIndex: 'plaintiffUser', title: '被告/被上诉人', key: 'plaintiffUser_2' }, + { dataIndex: 'otherPartiesThirdParty', title: '其他当事人/第三人' }, + { dataIndex: 'occurrenceTime', title: '发生时间' }, + { dataIndex: 'caseNumber', title: '案号' }, + { dataIndex: 'involvedAmount', title: '涉案金额' }, + { dataIndex: 'courtName', title: '法院' }, + { dataIndex: 'dataStatus', title: '数据状态' }, + { dataIndex: 'realName', title: '操作人' }, + { dataIndex: 'createTime', title: '创建时间' } + ] }, '裁判文书': { - order: ['title','caseNumber','causeOfAction','otherPartiesThirdParty','involvedAmount','defendantAppellee','occurrenceTime','releaseDate'], + order: [ + 'id', + 'companyName', + 'title', + 'type', + 'otherPartiesThirdParty', + 'occurrenceTime', + 'caseNumber', + 'causeOfAction', + 'involvedAmount', + 'courtName', + 'dataStatus', + 'realName', + 'createTime' + ], titleMap: { + id: 'ID', + companyName: '主体企业', title: '文书标题', + otherPartiesThirdParty: '当事人', + occurrenceTime: '裁判日期', caseNumber: '案号', causeOfAction: '案由', - otherPartiesThirdParty: '当事人', - involvedAmount: '案件金额(元)', - defendantAppellee: '裁判结果', - occurrenceTime: '裁判日期', - releaseDate: '发布日期' + involvedAmount: '涉案金额', + type: '文书类型', + courtName: '法院', + dataStatus: '数据状态', + realName: '操作人', + createTime: '创建时间' }, - hidden: ['id'] + hidden: [] }, '立案信息': { - order: ['caseNumber','causeOfAction','otherPartiesThirdParty','courtName','occurrenceTime'], - titleMap: { - caseNumber: '案号', - causeOfAction: '案由', - otherPartiesThirdParty: '当事人', - courtName: '法院', - occurrenceTime: '立案日期', - }, - hidden: ['id','dataStatus'] + columns: [ + { dataIndex: 'id', title: 'ID' }, + { dataIndex: 'companyName', title: '主体企业' }, + { dataIndex: 'plaintiffUser', title: '原告/上诉人', key: 'plaintiffUser_1' }, + { dataIndex: 'plaintiffUser', title: '被告/被上诉人', key: 'plaintiffUser_2' }, + { dataIndex: 'otherPartiesThirdParty', title: '其他当事人/第三人' }, + { dataIndex: 'occurrenceTime', title: '发生时间' }, + { dataIndex: 'caseNumber', title: '案号' }, + { dataIndex: 'causeOfAction', title: '案由' }, + { dataIndex: 'involvedAmount', title: '涉案金额' }, + { dataIndex: 'courtName', title: '法院' }, + { dataIndex: 'dataStatus', title: '数据状态' }, + { dataIndex: 'realName', title: '操作人' }, + { dataIndex: 'createTime', title: '创建时间' } + ] }, '诉前调解': { - order: ['caseNumber','causeOfAction','otherPartiesThirdParty','courtName','occurrenceTime'], - titleMap: { - caseNumber: '案号', - causeOfAction: '案由', - otherPartiesThirdParty: '当事人', - courtName: '法院', - occurrenceTime: '立案日期' - }, - hidden: ['dataStatus'] + columns: [ + { dataIndex: 'id', title: 'ID' }, + { dataIndex: 'companyName', title: '主体企业' }, + { dataIndex: 'plaintiffUser', title: '原告/上诉人', key: 'plaintiffUser_1' }, + { dataIndex: 'plaintiffUser', title: '被告/被上诉人', key: 'plaintiffUser_2' }, + { dataIndex: 'otherPartiesThirdParty', title: '其他当事人/第三人' }, + { dataIndex: 'occurrenceTime', title: '发生时间' }, + { dataIndex: 'caseNumber', title: '案号' }, + { dataIndex: 'causeOfAction', title: '案由' }, + { dataIndex: 'involvedAmount', title: '涉案金额' }, + { dataIndex: 'courtName', title: '法院' }, + { dataIndex: 'dataStatus', title: '数据状态' }, + { dataIndex: 'realName', title: '操作人' }, + { dataIndex: 'createTime', title: '创建时间' } + ] }, '送达公告': { - order: ['caseNumber','causeOfAction','otherPartiesThirdParty','courtName','occurrenceTime'], - titleMap: { - caseNumber: '案号', - causeOfAction: '案由', - otherPartiesThirdParty: '当事人', - courtName: '法院', - occurrenceTime: '发布日期' - }, - hidden: ['id','dataStatus'] + columns: [ + { dataIndex: 'id', title: 'ID' }, + { dataIndex: 'companyName', title: '主体企业' }, + { dataIndex: 'plaintiffUser', title: '原告/上诉人', key: 'plaintiffUser_1' }, + { dataIndex: 'plaintiffUser', title: '被告/被上诉人', key: 'plaintiffUser_2' }, + { dataIndex: 'otherPartiesThirdParty', title: '其他当事人/第三人' }, + { dataIndex: 'occurrenceTime', title: '发生时间' }, + { dataIndex: 'caseNumber', title: '案号' }, + { dataIndex: 'causeOfAction', title: '案由' }, + { dataIndex: 'involvedAmount', title: '涉案金额' }, + { dataIndex: 'courtName', title: '法院' }, + { dataIndex: 'dataStatus', title: '数据状态' }, + { dataIndex: 'realName', title: '操作人' }, + { dataIndex: 'createTime', title: '创建时间' } + ] }, '股权冻结': { - titleMap: { - caseNumber: '执行通知文书号', - appellee: '被执行人', - plaintiffAppellant: '冻结股权标的企业', - involvedAmount: '被执行人持有股权、其他投资权益数额', - courtName: '执行法院', - dataType: '类型', - dataStatus: '状态', - freezeDateStart: '冻结日期自', - freezeDateEnd: '冻结日期至', - publicDate: '公示日期' - }, + columns: [ + { dataIndex: 'id', title: 'ID' }, + { dataIndex: 'companyName', title: '主体企业' }, + { dataIndex: 'caseNumber', title: '案号' }, + { dataIndex: 'plaintiffUser', title: '冻结股权标的企业', key: 'plaintiffUser_1' }, + { dataIndex: 'plaintiffUser', title: '被执行人', key: 'plaintiffUser_2' }, + { dataIndex: 'courtName', title: '执行法院' }, + { dataIndex: 'involvedAmount', title: '被执行人持有股权、其他投资权益数额' }, + { dataIndex: 'publicDate', title: '公示日期' }, + { dataIndex: 'freezeDateStart', title: '冻结开始日期' }, + { dataIndex: 'freezeDateStart', title: '冻结结束日期', key: 'freezeDateStart_2' }, + { dataIndex: 'status', title: '状态' }, + { dataIndex: 'dataStatus', title: '数据状态' }, + { dataIndex: 'realName', title: '操作人' }, + { dataIndex: 'createTime', title: '创建时间' } + ], }, '附近企业': { + order: [ + 'id', + 'companyName', + 'name', + 'registrationStatus', + 'legalPerson', + 'registeredCapital', + 'establishDate', + 'code', + 'address', + 'postalCode', + 'phone', + 'moreTel', + 'email', + 'moreEmail', + 'country', + 'province', + 'city', + 'region', + 'taxpayerCode', + 'registrationNumber', + 'organizationalCode', + 'numberOfInsuredPersons', + 'annualReport', + 'institutionType', + 'companySize', + 'businessTerm', + 'nationalStandardIndustryCategories', + 'nationalStandardIndustryCategories2', + 'nationalStandardIndustryCategories3', + 'nationalStandardIndustryCategories4', + 'formerName', + 'englishName', + 'domain', + 'mailingAddress', + 'mailingEmail', + 'companyProfile', + 'natureOfBusiness', + 'tel', + 'nationalStandardIndustryCategories5', + 'nationalStandardIndustryCategories6', + 'nationalStandardIndustryCategories7', + 'nationalStandardIndustryCategories8', + 'type', + 'paidinCapital', + 'registrationAuthority', + 'taxpayerQualification', + 'latestAnnualReportYear', + 'latestAnnualReportOnOperatingRevenue', + 'enterpriseScoreCheck', + 'creditRating', + 'cechnologyScore', + 'cechnologyLevel', + 'smallEnterprise', + 'realName', + 'createTime' + ], titleMap: { + id: 'ID', + companyName: '主体企业', name: '企业名称', registrationStatus: '登记状态', legalPerson: '法定代表人', @@ -736,6 +955,8 @@ phone: '有效手机号', moreTel: '更多电话', email: '邮箱', + moreEmail: '邮箱', + country: '所在国家', province: '所属省份', city: '所属城市', region: '所属区县', @@ -755,50 +976,84 @@ englishName: '英文名', domain: '官网网址', mailingAddress: '通信地址', - mailingEmail: '通信地址邮编', + mailingEmail: '通信地址邮箱', companyProfile: '企业简介', natureOfBusiness: '经营范围', + tel: '电话', nationalStandardIndustryCategories5: '企查查行业门类', nationalStandardIndustryCategories6: '企查查行业大类', nationalStandardIndustryCategories7: '企查查行业中类', nationalStandardIndustryCategories8: '企查查行业小类', + type: '类型', + paidinCapital: '实缴资本', + registrationAuthority: '登记机关', + taxpayerQualification: '纳税人资质', + latestAnnualReportYear: '最新年报年份', + latestAnnualReportOnOperatingRevenue: '最新年报营业收入', + enterpriseScoreCheck: '企查分', + creditRating: '信用等级', + cechnologyScore: '科创分', + cechnologyLevel: '科创等级', + smallEnterprise: '是否小微企业', + realName: '操作人', createTime: '创建时间' }, - hidden: ['id','tel','moreEmail','country','type','parentId','paidinCapital','registrationAuthority','taxpayerQualification','latestAnnualReportYear','latestAnnualReportOnOperatingRevenue','enterpriseScoreCheck','creditRating','cechnologyScore','cechnologyLevel','smallEnterprise','createTime'] + hidden: ['parentId'] }, '分支机构': { order: [ + 'id', + 'companyName', 'name', 'curator', 'region', 'establishDate', 'statusText', + 'realName', 'createTime' ], titleMap: { + id: 'ID', + companyName: '主体企业', name: '分支机构名称', curator: '负责人', region: '地区', establishDate: '成立日期', statusText: '状态', + realName: '操作人', createTime: '创建时间' }, - hidden: ['id','createTime'] + hidden: [] }, '破产重整': { - order: ['code', 'type', 'party', 'court', 'publicDate', 'createTime'], + order: [ + 'id', + 'companyName', + 'code', + 'type', + 'party', + 'court', + 'publicDate', + 'realName', + 'createTime' + ], titleMap: { + id: 'ID', + companyName: '主体企业', code: '案号', type: '案件类型', party: '当事人', court: '经办法院', publicDate: '公开日期', + realName: '操作人', createTime: '创建时间' }, - hidden: ['id','createTime'] + hidden: [] }, '行政许可': { order: [ + 'id', + 'companyName', 'code', 'name', 'statusText', @@ -806,22 +1061,32 @@ 'validityStart', 'validityEnd', 'licensingAuthority', + 'licenseContent', + 'dataSourceUnit', + 'realName', 'createTime' ], titleMap: { - code: '许可编号', - name: '许可证名称', + id: 'ID', + companyName: '主体企业', + code: '决定文书/许可编号', + name: '决定文书/许可证名称', statusText: '许可状态', type: '许可类型', validityStart: '有效期自', validityEnd: '有效期至', licensingAuthority: '许可机关', + licenseContent: '许可内容', + dataSourceUnit: '数据来源单位', + realName: '操作人', createTime: '创建时间' }, - hidden: ['id','createTime'] + hidden: [] }, '疑似关系': { order: [ + 'id', + 'companyName', 'name', 'statusText', 'legalPerson', @@ -830,9 +1095,12 @@ 'relatedParty', 'type', 'detail', + 'realName', 'createTime' ], titleMap: { + id: 'ID', + companyName: '主体企业', name: '企业名称', statusText: '状态', legalPerson: '法定代表人', @@ -841,12 +1109,15 @@ relatedParty: '关联方', type: '疑似关系类型', detail: '疑似关系详情', + realName: '操作人', createTime: '创建时间' }, - hidden: ['id','createTime'] + hidden: [] }, '专利': { order: [ + 'id', + 'companyName', 'name', 'type', 'statusText', @@ -856,9 +1127,12 @@ 'publicDate', 'inventor', 'patentApplicant', + 'realName', 'createTime' ], titleMap: { + id: 'ID', + companyName: '主体企业', name: '发明名称', type: '专利类型', statusText: '法律状态', @@ -868,19 +1142,31 @@ publicDate: '公开(公告)日期', inventor: '发明人', patentApplicant: '申请(专利权)人', + realName: '操作人', createTime: '创建时间' }, - hidden: ['id','createTime'] + hidden: [] }, '历史法定代表人': { - order: ['name', 'registerDate', 'publicDate', 'createTime'], + order: [ + 'id', + 'companyName', + 'name', + 'registerDate', + 'publicDate', + 'realName', + 'createTime' + ], titleMap: { + id: 'ID', + companyName: '主体企业', name: '名称', registerDate: '任职日期', publicDate: '卸任日期', + realName: '操作人', createTime: '创建时间' }, - hidden: ['id','createTime'] + hidden: [] } }; @@ -1127,20 +1413,63 @@ ]); const titleMap = { ...commonTitleMap, ...(config?.titleMap ?? {}) }; + const linkTextDataIndex = new Set([ + 'name', + 'code', + 'caseNumber', + 'registerNo' + ]); + + // Prefer explicit columns to match the corresponding credit module headers exactly. + const explicitColumns = config?.columns; + if (explicitColumns?.length) { + return explicitColumns + .filter((col) => !hidden.has(col.dataIndex)) + .map((col, idx) => { + const dataIndex = col.dataIndex; + const key = col.key ?? `${dataIndex}_${idx}`; + const column: TableColumn = { + title: col.title ?? titleMap[dataIndex] ?? dataIndex, + dataIndex, + key, + ellipsis: true + }; + if (linkTextDataIndex.has(dataIndex)) { + column.customRender = ({ text, record }) => { + if (record?.url && text) { + return h('a', { href: record.url, target: '_blank' }, text); + } + return text; + }; + } + return column; + }); + } + const keysFromData = Object.keys(rows[0]); const keysSet = new Set(keysFromData); const keys = config?.order?.length ? config.order : keysFromData; - const finalKeys = keys.filter((k) => keysSet.has(k) && !hidden.has(k)); + const finalKeys = keys.filter((k) => { + if (hidden.has(k)) { + return false; + } + // If `order` is provided, keep keys even if not present in the first row + // (module tables render blank cells for missing fields). + if (config?.order?.length) { + return true; + } + return keysSet.has(k); + }); - const linkTextKeys = new Set(['name', 'code', 'caseNumber', 'registerNo']); - return finalKeys.map((key) => { + return finalKeys.map((dataIndex, idx) => { + const key = `${dataIndex}_${idx}`; const column: TableColumn = { - title: titleMap[key] ?? key, - dataIndex: key, + title: titleMap[dataIndex] ?? dataIndex, + dataIndex, key, ellipsis: true }; - if (linkTextKeys.has(key)) { + if (linkTextDataIndex.has(dataIndex)) { column.customRender = ({ text, record }) => { if (record?.url && text) { return h('a', { href: record.url, target: '_blank' }, text); diff --git a/src/views/credit/creditCourtAnnouncement/index.vue b/src/views/credit/creditCourtAnnouncement/index.vue index 65effff..243e44b 100644 --- a/src/views/credit/creditCourtAnnouncement/index.vue +++ b/src/views/credit/creditCourtAnnouncement/index.vue @@ -168,27 +168,50 @@ key: 'companyName' }, { - title: '案号', - dataIndex: 'caseNumber', - key: 'caseNumber', - ellipsis: true + title: '原告/上诉人', + dataIndex: 'plaintiffUser', + key: 'plaintiffUser' }, { - title: '案由', - dataIndex: 'causeOfAction', - key: 'causeOfAction', - ellipsis: true + title: '被告/被上诉人', + dataIndex: 'plaintiffUser', + key: 'plaintiffUser' }, { - title: '当事人', + title: '其他当事人/第三人', dataIndex: 'otherPartiesThirdParty', key: 'otherPartiesThirdParty' }, + { + title: '发生时间', + dataIndex: 'occurrenceTime', + key: 'occurrenceTime', + width: 120 + }, + { + title: '案号', + dataIndex: 'caseNumber', + key: 'caseNumber' + }, + { + title: '案由', + dataIndex: 'causeOfAction', + key: 'causeOfAction' + }, + { + title: '涉案金额', + dataIndex: 'involvedAmount', + key: 'involvedAmount' + }, { title: '法院', dataIndex: 'courtName', - key: 'courtName', - ellipsis: true + key: 'courtName' + }, + { + title: '数据状态', + dataIndex: 'dataStatus', + key: 'dataStatus' }, { title: '操作人', diff --git a/src/views/credit/creditCourtSession/index.vue b/src/views/credit/creditCourtSession/index.vue index 9a6c39e..7239d19 100644 --- a/src/views/credit/creditCourtSession/index.vue +++ b/src/views/credit/creditCourtSession/index.vue @@ -154,35 +154,50 @@ dataIndex: 'companyName', key: 'companyName' }, + { + title: '原告/上诉人', + dataIndex: 'plaintiffUser', + key: 'plaintiffUser' + }, + { + title: '被告/被上诉人', + dataIndex: 'plaintiffUser', + key: 'plaintiffUser' + }, + { + title: '其他当事人/第三人', + dataIndex: 'otherPartiesThirdParty', + key: 'otherPartiesThirdParty' + }, + { + title: '发生时间', + dataIndex: 'occurrenceTime', + key: 'occurrenceTime' + }, { title: '案号', dataIndex: 'caseNumber', - key: 'caseNumber', - ellipsis: true + key: 'caseNumber' }, { title: '案由', dataIndex: 'causeOfAction', - key: 'causeOfAction', - ellipsis: true + key: 'causeOfAction' }, { - title: '当事人', - dataIndex: 'otherPartiesThirdParty', - key: 'otherPartiesThirdParty', - width: 320 + title: '涉案金额', + dataIndex: 'involvedAmount', + key: 'involvedAmount' }, { title: '法院', dataIndex: 'courtName', - key: 'courtName', - ellipsis: true + key: 'courtName' }, { - title: '开庭时间', - dataIndex: 'occurrenceTime', - key: 'occurrenceTime', - width: 120 + title: '数据状态', + dataIndex: 'dataStatus', + key: 'dataStatus' }, { title: '操作人', diff --git a/src/views/credit/creditDeliveryNotice/index.vue b/src/views/credit/creditDeliveryNotice/index.vue index f86905b..afb7456 100644 --- a/src/views/credit/creditDeliveryNotice/index.vue +++ b/src/views/credit/creditDeliveryNotice/index.vue @@ -150,6 +150,26 @@ dataIndex: 'companyName', key: 'companyName' }, + { + title: '原告/上诉人', + dataIndex: 'plaintiffUser', + key: 'plaintiffUser' + }, + { + title: '被告/被上诉人', + dataIndex: 'plaintiffUser', + key: 'plaintiffUser' + }, + { + title: '其他当事人/第三人', + dataIndex: 'otherPartiesThirdParty', + key: 'otherPartiesThirdParty' + }, + { + title: '发生时间', + dataIndex: 'occurrenceTime', + key: 'occurrenceTime' + }, { title: '案号', dataIndex: 'caseNumber', @@ -161,9 +181,9 @@ key: 'causeOfAction' }, { - title: '当事人', - dataIndex: 'otherPartiesThirdParty', - key: 'otherPartiesThirdParty' + title: '涉案金额', + dataIndex: 'involvedAmount', + key: 'involvedAmount' }, { title: '法院', @@ -171,10 +191,9 @@ key: 'courtName' }, { - title: '发布日期', - dataIndex: 'occurrenceTime', - key: 'occurrenceTime', - width: 120 + title: '数据状态', + dataIndex: 'dataStatus', + key: 'dataStatus' }, { title: '操作人', diff --git a/src/views/credit/creditFinalVersion/index.vue b/src/views/credit/creditFinalVersion/index.vue index 5d48da2..0956bd5 100644 --- a/src/views/credit/creditFinalVersion/index.vue +++ b/src/views/credit/creditFinalVersion/index.vue @@ -153,6 +153,27 @@ dataIndex: 'companyName', key: 'companyName' }, + { + title: '原告/上诉人', + dataIndex: 'dataType', + key: 'dataType' + }, + { + title: '被告/被上诉人', + dataIndex: 'dataType', + key: 'dataType' + }, + { + title: '其他当事人/第三人', + dataIndex: 'dataType', + key: 'dataType' + }, + { + title: '发生时间', + dataIndex: 'occurrenceTime', + key: 'occurrenceTime', + width: 120 + }, { title: '案号', dataIndex: 'caseNumber', @@ -160,43 +181,53 @@ width: 200 }, { - title: '被执行人', - dataIndex: 'appellee', - key: 'appellee' - }, - { - title: '疑似申请执行人', - dataIndex: 'plaintiffAppellant', - key: 'plaintiffAppellant' - }, - { - title: '未履行金额(元)', - dataIndex: 'unfulfilledAmount', - key: 'unfulfilledAmount' - }, - { - title: '执行标的(元)', + title: '涉案金额', dataIndex: 'involvedAmount', key: 'involvedAmount' }, { - title: '执行法院', + title: '法院', dataIndex: 'courtName', key: 'courtName', width: 120 }, { - title: '立案日期', - dataIndex: 'occurrenceTime', - key: 'occurrenceTime', - width: 120 - }, - { - title: '终本日期', - dataIndex: 'finalDate', - key: 'finalDate', - width: 120 + title: '数据状态', + dataIndex: 'dataStatus', + key: 'dataStatus' }, + // { + // title: '被执行人', + // dataIndex: 'appellee', + // key: 'appellee' + // }, + // { + // title: '疑似申请执行人', + // dataIndex: 'plaintiffAppellant', + // key: 'plaintiffAppellant' + // }, + // { + // title: '未履行金额(元)', + // dataIndex: 'unfulfilledAmount', + // key: 'unfulfilledAmount' + // }, + // { + // title: '执行标的(元)', + // dataIndex: 'involvedAmount', + // key: 'involvedAmount' + // }, + // { + // title: '执行法院', + // dataIndex: 'courtName', + // key: 'courtName', + // width: 120 + // }, + // { + // title: '终本日期', + // dataIndex: 'finalDate', + // key: 'finalDate', + // width: 120 + // }, { title: '操作人', dataIndex: 'realName', diff --git a/src/views/credit/creditGqdj/index.vue b/src/views/credit/creditGqdj/index.vue index b17bbfe..c08b117 100644 --- a/src/views/credit/creditGqdj/index.vue +++ b/src/views/credit/creditGqdj/index.vue @@ -151,19 +151,19 @@ key: 'companyName' }, { - title: '被执行人', - dataIndex: 'appellee', - key: 'appellee' + title: '案号', + dataIndex: 'caseNumber', + key: 'caseNumber' }, { title: '冻结股权标的企业', - dataIndex: 'plaintiffAppellant', - key: 'plaintiffAppellant' + dataIndex: 'plaintiffUser', + key: 'plaintiffUser' }, { - title: '被执行人持有股权、其他投资权益数额', - dataIndex: 'involvedAmount', - key: 'involvedAmount' + title: '被执行人', + dataIndex: 'plaintiffUser', + key: 'plaintiffUser' }, { title: '执行法院', @@ -171,25 +171,35 @@ key: 'courtName' }, { - title: '状态', - dataIndex: 'dataStatus', - key: 'dataStatus' - }, - { - title: '冻结日期自', - dataIndex: 'freezeDateStart', - key: 'freezeDateStart' - }, - { - title: '冻结日期至', - dataIndex: 'freezeDateEnd', - key: 'freezeDateEnd' + title: '被执行人持有股权、其他投资权益数额', + dataIndex: 'involvedAmount', + key: 'involvedAmount' }, { title: '公示日期', dataIndex: 'publicDate', key: 'publicDate' }, + { + title: '冻结开始日期', + dataIndex: 'freezeDateStart', + key: 'freezeDateStart' + }, + { + title: '冻结结束日期', + dataIndex: 'freezeDateStart', + key: 'freezeDateStart' + }, + { + title: '状态', + dataIndex: 'status', + key: 'status' + }, + { + title: '数据状态', + dataIndex: 'dataStatus', + key: 'dataStatus' + }, { title: '操作人', dataIndex: 'realName', diff --git a/src/views/credit/creditJudgmentDebtor/index.vue b/src/views/credit/creditJudgmentDebtor/index.vue index 6dd1087..b428ea9 100644 --- a/src/views/credit/creditJudgmentDebtor/index.vue +++ b/src/views/credit/creditJudgmentDebtor/index.vue @@ -56,9 +56,9 @@