完成风险明细统一导出功能
This commit is contained in:
@@ -6,6 +6,9 @@
|
||||
<div class="section-title">风险明细</div>
|
||||
<div class="section-subtitle">展示涉疑交易与异常账户关联人员信息</div>
|
||||
</div>
|
||||
<el-button size="mini" type="text" :disabled="!projectId" @click="handleRiskDetailExport">
|
||||
导出
|
||||
</el-button>
|
||||
</div>
|
||||
|
||||
<div class="block">
|
||||
@@ -30,14 +33,6 @@
|
||||
</el-dropdown-item>
|
||||
</el-dropdown-menu>
|
||||
</el-dropdown>
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
:disabled="!projectId || suspiciousTotal === 0"
|
||||
@click="handleExport"
|
||||
>
|
||||
导出
|
||||
</el-button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -191,7 +186,6 @@
|
||||
<div class="block-title">异常账户人员信息</div>
|
||||
<div class="block-subtitle">展示异常账户关联人员与处理状态</div>
|
||||
</div>
|
||||
<el-button size="mini" type="text">导出</el-button>
|
||||
</div>
|
||||
|
||||
<el-table :data="sectionData.abnormalAccountList || []" class="detail-table">
|
||||
@@ -592,17 +586,16 @@ export default {
|
||||
this.detailLoading = false;
|
||||
this.detailData = createEmptyDetailData();
|
||||
},
|
||||
handleExport() {
|
||||
if (!this.projectId || this.suspiciousTotal === 0) {
|
||||
handleRiskDetailExport() {
|
||||
if (!this.projectId) {
|
||||
return;
|
||||
}
|
||||
this.download(
|
||||
"ccdi/project/overview/suspicious-transactions/export",
|
||||
"ccdi/project/overview/risk-details/export",
|
||||
{
|
||||
projectId: this.projectId,
|
||||
suspiciousType: this.currentSuspiciousType,
|
||||
},
|
||||
`涉疑交易明细_${new Date().getTime()}.xlsx`
|
||||
`风险明细_${this.projectId}_${new Date().getTime()}.xlsx`
|
||||
);
|
||||
},
|
||||
formatRelatedStaff(row) {
|
||||
@@ -723,6 +716,9 @@ export default {
|
||||
}
|
||||
|
||||
.section-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 18px;
|
||||
padding-left: 12px;
|
||||
border-left: 4px solid #2563eb;
|
||||
|
||||
Reference in New Issue
Block a user