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