diff --git a/src/components/drawers/project/AddCertificate.vue b/src/components/drawers/project/AddCertificate.vue
index 856fc931..5c68ba41 100644
--- a/src/components/drawers/project/AddCertificate.vue
+++ b/src/components/drawers/project/AddCertificate.vue
@@ -39,27 +39,6 @@
/>
-
-
@@ -141,7 +120,6 @@
class="main_item"
style="
border: 1px solid rgba(0, 0, 0, 0.1);
- width: ;
margin-left: 35px;
padding-top: 30px;
margin-top: 0px;
@@ -326,39 +304,11 @@
分可获得,当前项目积分为 {{ projectPoints }} 分
-
-
-
@@ -531,7 +481,7 @@ export default {
const selectStage = (e, k) => {
console.log("选择阶段", e, k);
state.selectStageName = e;
- state.selectStageId = k.stageId;
+ state.selectStageId = k.id;
state.selectTaskName = null;
state.selectTaskId = null;
state.selectExamName = null;
@@ -543,7 +493,7 @@ export default {
state.selectStageName = null;
state.selectStageId = null;
state.selectTaskName = e;
- state.selectTaskId = k.projectTaskId;
+ state.selectTaskId = k.id;
state.selectExamName = null;
state.selectExamId = null;
};
@@ -555,7 +505,7 @@ export default {
state.selectTaskName = null;
state.selectTaskId = null;
state.selectExamName = e;
- state.selectExamId = k.projectTaskId;
+ state.selectExamId = k.id;
};
//选择的获得条件
const selectCondition = (e) => {
@@ -639,19 +589,19 @@ export default {
) {
if (info.finishType == 2) {
let stageItem = state.stageList.filter((item) => {
- return item.stageId == info.finishValue;
+ return item.id == info.finishValue;
});
state.selectStageName = stageItem ? stageItem[0].name : null;
}
if (info.finishType == 3) {
let taskItem = state.taskList.filter((item) => {
- return item.projectTaskId == info.finishValue;
+ return item.id == info.finishValue;
});
state.selectTaskName = taskItem ? taskItem[0].name : null;
}
if (info.finishType == 4) {
let taskItem = state.examList.filter((item) => {
- return item.projectTaskId == info.finishValue;
+ return item.id == info.finishValue;
});
console.log("taskItem", taskItem);
state.selectExamName = taskItem ? taskItem[0].name : null;