实现项目打标状态联动并执行前后端适配

This commit is contained in:
wkc
2026-03-18 15:55:55 +08:00
parent e9394939c9
commit c0ce5ca7f9
27 changed files with 651 additions and 14 deletions

View File

@@ -54,6 +54,7 @@
:project-id="projectId"
:project-info="projectInfo"
@menu-change="handleMenuChange"
@refresh-project="handleRefreshProject"
@data-uploaded="handleDataUploaded"
@name-selected="handleNameSelected"
@generate-report="handleGenerateReport"
@@ -215,6 +216,7 @@ export default {
0: "primary", // 进行中
1: "success", // 已完成
2: "info", // 已归档
3: "warning", // 打标中
};
return statusMap[status] || "info";
},
@@ -224,6 +226,7 @@ export default {
0: "进行中",
1: "已完成",
2: "已归档",
3: "打标中",
};
return statusMap[status] || "未知";
},
@@ -292,6 +295,9 @@ export default {
this.initPageData();
this.$message.success("刷新成功");
},
handleRefreshProject() {
this.initPageData();
},
/** 导出报告 */
handleExport() {
console.log("导出报告");