From 04873ddf4f5006f2e8eac40d357b1f2183b21932 Mon Sep 17 00:00:00 2001 From: zhouxy Date: Sat, 6 Jun 2026 16:34:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BB=E4=BD=93=E6=9F=A5=E8=AF=A2=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E4=BF=A1=E7=94=A8=E6=A1=A3=E6=A1=88=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/comprehensive.js | 14 + .../components/CreditArchive.vue | 331 ++++++++++++++++++ src/views/comprehensive/details.vue | 18 +- 3 files changed, 361 insertions(+), 2 deletions(-) create mode 100644 src/views/comprehensive/components/CreditArchive.vue diff --git a/src/api/comprehensive.js b/src/api/comprehensive.js index 157d69e..e4c5d7c 100644 --- a/src/api/comprehensive.js +++ b/src/api/comprehensive.js @@ -217,6 +217,20 @@ export function exportqzzxList(data) { }) } +/** + * 获取主体信用档案图谱数据 + * @param {Object} params + * @param {string} params.pripid 主体身份代码 + * @param {number} [params.reportYear] 年报年度(可选,不传则取最近一年,影响"对外投资"分支) + */ +export function getCreditArchive(params) { + return request({ + url: '/eBaseinfo/getCreditArchive', + method: 'get', + params + }) +} + /** * 信用修复预警统计 * @param data diff --git a/src/views/comprehensive/components/CreditArchive.vue b/src/views/comprehensive/components/CreditArchive.vue new file mode 100644 index 0000000..0f05ce5 --- /dev/null +++ b/src/views/comprehensive/components/CreditArchive.vue @@ -0,0 +1,331 @@ + + + + + diff --git a/src/views/comprehensive/details.vue b/src/views/comprehensive/details.vue index 793b1d3..a493e63 100644 --- a/src/views/comprehensive/details.vue +++ b/src/views/comprehensive/details.vue @@ -149,6 +149,14 @@ + + + +
@@ -962,11 +970,13 @@ import { getAssignLogList } from '@/api/marketAssign' import EasyForm from '@/components/EasyForm' import dynamicSupervisionBase from '@/views/market/dynamicsupervision/index' import dailySupervisionBase from '@/views/market/dailysupervision/index' +import CreditArchive from './components/CreditArchive' import { oauth } from '@/api/user' export default { components: { - EasyForm + EasyForm, + CreditArchive }, mixins: [dynamicSupervisionBase, dailySupervisionBase], data() { @@ -975,6 +985,7 @@ export default { isRead2: false, isRead3: false, isRead4: false, + isReadCreditArchive: false, isRead5: false, isRead6: false, isRead7: false, @@ -1222,7 +1233,10 @@ export default { handleClick(tab, event) { console.log(this.activeName) this.loading = true - if (this.activeName === 'fourth') { + if (this.activeName === 'creditArchive' && !this.isReadCreditArchive) { + this.isReadCreditArchive = true + this.loading = false + } else if (this.activeName === 'fourth') { oauth().then((res) => { const { data } = res const path = `/annualReportService/unifiedMGT/annualReportProgress/baseInfo/detail?pripid=${this.$route.query.pripid}&yearReportMode=1`