移除风险模型导出按钮

This commit is contained in:
wkc
2026-06-26 15:18:46 +08:00
parent e08f437acc
commit 2298f9e589
2 changed files with 14 additions and 17 deletions

View File

@@ -15,7 +15,6 @@
<div class="panel-title">模型预警统计</div>
<div class="panel-subtitle">点击模型筛选下方命中人员</div>
</div>
<el-button size="mini" type="text" :disabled="!projectId" @click="handleModelExport">导出</el-button>
</div>
<div v-loading="cardLoading" class="model-card-grid">
@@ -464,22 +463,6 @@ export default {
console.error("加载外部人员风险模型失败", error);
}
},
handleModelExport() {
if (!this.projectId) {
return;
}
const url = this.activeSourceType === "external"
? "ccdi/project/overview/external-risk-models/people/export"
: "ccdi/project/overview/risk-models/people/export";
const filePrefix = this.activeSourceType === "external"
? "外部人员风险模型命中明细"
: "风险模型命中明细";
this.download(
url,
this.buildPeopleParams(),
`${filePrefix}_${this.projectId}_${new Date().getTime()}.xlsx`
);
},
async fetchPeopleList(options = {}) {
if (!this.projectId) {
this.peopleList = [];