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`