完善外部人员预警与项目分析上线内容

This commit is contained in:
wjj
2026-06-30 10:23:55 +08:00
parent 4e90e22ee2
commit 5e4bfca05b
77 changed files with 5788 additions and 333 deletions

View File

@@ -152,7 +152,6 @@
<div class="shell-header">
<div class="shell-title-group">
<span class="shell-title">流水明细查询</span>
<span class="shell-subtitle">按项目范围查询交易明细并查看详情</span>
</div>
<el-button
size="small"
@@ -164,6 +163,14 @@
导出流水
</el-button>
</div>
<el-alert
v-if="prefillTip"
:closable="false"
class="prefill-alert"
show-icon
type="info"
:title="prefillTip"
/>
<el-tabs v-model="activeTab" class="result-tabs" @tab-click="handleTabChange">
<el-tab-pane label="全部" name="all" />
@@ -499,6 +506,10 @@ export default {
projectStatus: "0",
}),
},
detailQueryPrefill: {
type: Object,
default: null,
},
},
data() {
return {
@@ -511,6 +522,7 @@ export default {
list: [],
total: 0,
listError: "",
prefillTip: "",
detailData: createEmptyDetailData(),
queryParams: createDefaultQueryParams(this.projectId),
optionData: createEmptyOptionData(),
@@ -530,6 +542,13 @@ export default {
this.getOptions();
this.getList();
},
detailQueryPrefill: {
immediate: true,
deep: true,
handler(value) {
this.applyDetailQueryPrefill(value);
},
},
},
methods: {
buildFlowEvidenceFingerprint,
@@ -596,10 +615,25 @@ export default {
this.activeTab = "all";
this.dateRange = [];
this.queryParams = createDefaultQueryParams(this.projectId);
this.prefillTip = "";
this.syncProjectId();
this.getOptions();
this.getList();
},
applyDetailQueryPrefill(value) {
if (!value || !Array.isArray(value.ourCertNos) || !value.ourCertNos.length) {
return;
}
this.activeTab = "all";
this.dateRange = [];
this.queryParams = {
...createDefaultQueryParams(this.projectId),
ourCertNos: value.ourCertNos,
};
this.prefillTip = `当前查看:${value.title || "外部人员"} 的本方流水`;
this.syncProjectId();
this.getList();
},
handleTabChange(tab) {
const tabName = tab && tab.name ? tab.name : this.activeTab;
this.activeTab = tabName;