移除风险模型导出按钮

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

@@ -0,0 +1,14 @@
# 风险模型导出按钮移除实施记录
## 修改内容
- 移除项目详情页“风险模型”模块中“模型预警次数统计”标题右侧的“导出”按钮。
## 影响范围
- 仅调整前端展示层文件:`ruoyi-ui/src/views/ccdiProject/components/detail/RiskModelSection.vue`
- 不涉及后端接口、数据结构、权限菜单或业务统计逻辑变更。
## 验证情况
- 已执行静态检索确认该模块内目标“导出”按钮已移除。

View File

@@ -15,7 +15,6 @@
<div class="panel-title">模型预警统计</div> <div class="panel-title">模型预警统计</div>
<div class="panel-subtitle">点击模型筛选下方命中人员</div> <div class="panel-subtitle">点击模型筛选下方命中人员</div>
</div> </div>
<el-button size="mini" type="text" :disabled="!projectId" @click="handleModelExport">导出</el-button>
</div> </div>
<div v-loading="cardLoading" class="model-card-grid"> <div v-loading="cardLoading" class="model-card-grid">
@@ -464,22 +463,6 @@ export default {
console.error("加载外部人员风险模型失败", error); 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 = {}) { async fetchPeopleList(options = {}) {
if (!this.projectId) { if (!this.projectId) {
this.peopleList = []; this.peopleList = [];