Compare commits
3 Commits
012c5caa64
...
de35bd33c0
| Author | SHA1 | Date | |
|---|---|---|---|
| de35bd33c0 | |||
| b7197682e7 | |||
| a753b87c1f |
@@ -1,6 +1,7 @@
|
||||
package com.ruoyi.lsfx.domain.response;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
@@ -131,6 +132,9 @@ public class GetBankStatementResponse {
|
||||
/** 上传logId */
|
||||
private Integer batchId;
|
||||
|
||||
/** 上传序号 */
|
||||
private Integer uploadSequenceNumber;
|
||||
|
||||
/** 项目id */
|
||||
private Integer groupId;
|
||||
|
||||
|
||||
@@ -198,6 +198,7 @@ public class CcdiBankStatement implements Serializable {
|
||||
entity.setTrxType(item.getTransTypeId());
|
||||
entity.setCustomerLeId(item.getCustomerId());
|
||||
entity.setCustomerAccountName(item.getCustomerName());
|
||||
entity.setBatchSequence(item.getUploadSequenceNumber());
|
||||
|
||||
// 5. 特殊字段处理
|
||||
entity.setMetaJson(null); // 根据文档要求强制设为 null
|
||||
|
||||
@@ -100,15 +100,37 @@ export default {
|
||||
if (newId) {
|
||||
this.projectId = newId;
|
||||
this.projectInfo.projectId = newId;
|
||||
this.initActiveTabFromRoute();
|
||||
this.initPageData();
|
||||
}
|
||||
},
|
||||
"$route.query.tab"() {
|
||||
this.initActiveTabFromRoute();
|
||||
},
|
||||
},
|
||||
created() {
|
||||
// 初始化页面数据
|
||||
this.initActiveTabFromRoute();
|
||||
this.initPageData();
|
||||
},
|
||||
methods: {
|
||||
initActiveTabFromRoute() {
|
||||
const tab = (this.$route.query && this.$route.query.tab) || "";
|
||||
const validTabs = ["upload", "config", "overview", "special", "detail"];
|
||||
const targetTab = validTabs.includes(tab) ? tab : "upload";
|
||||
this.setActiveTab(targetTab);
|
||||
},
|
||||
setActiveTab(index) {
|
||||
this.activeTab = index;
|
||||
const componentMap = {
|
||||
upload: "UploadData",
|
||||
config: "ParamConfig",
|
||||
overview: "PreliminaryCheck",
|
||||
special: "SpecialCheck",
|
||||
detail: "DetailQuery",
|
||||
};
|
||||
this.currentComponent = componentMap[index] || "UploadData";
|
||||
},
|
||||
/** 初始化页面数据 */
|
||||
initPageData() {
|
||||
// 这里应该从API获取项目详细信息
|
||||
@@ -208,18 +230,7 @@ export default {
|
||||
/** 菜单选择事件 */
|
||||
handleMenuSelect(index) {
|
||||
console.log("菜单选择:", index);
|
||||
this.activeTab = index;
|
||||
|
||||
// 组件映射
|
||||
const componentMap = {
|
||||
upload: "UploadData",
|
||||
config: "ParamConfig",
|
||||
overview: "PreliminaryCheck",
|
||||
special: "SpecialCheck",
|
||||
detail: "DetailQuery",
|
||||
};
|
||||
|
||||
this.currentComponent = componentMap[index] || "UploadData";
|
||||
this.setActiveTab(index);
|
||||
},
|
||||
/** UploadData 组件:菜单切换 */
|
||||
handleMenuChange({ key, route }) {
|
||||
|
||||
@@ -234,8 +234,10 @@ export default {
|
||||
},
|
||||
/** 查看结果 */
|
||||
handleViewResult(row) {
|
||||
console.log("查看结果:", row);
|
||||
this.$modal.msgInfo("查看项目结果: " + row.projectName);
|
||||
this.$router.push({
|
||||
path: `/ccdiProject/detail/${row.projectId}`,
|
||||
query: { tab: "overview" },
|
||||
});
|
||||
},
|
||||
/** 重新分析 */
|
||||
handleReAnalyze(row) {
|
||||
|
||||
Reference in New Issue
Block a user