diff --git a/src/views/project/ProjectStepForm.vue b/src/views/project/ProjectStepForm.vue index a4ffb11..ef1e316 100644 --- a/src/views/project/ProjectStepForm.vue +++ b/src/views/project/ProjectStepForm.vue @@ -16,7 +16,13 @@ - + @@ -64,7 +70,8 @@ export default { confirmLoading: false, type: '', form: { - trainWay: '1', + trainWay: '2', + totalScore: '100', }, result: true, status: '', @@ -108,7 +115,9 @@ export default { nextStep(childValue) { console.log('进入下一步', childValue) if (this.currentTab < 5) { - this.form = childValue + if (childValue) { + this.form = childValue + } this.currentTab += 1 } console.log('ProjectStepForm表单数据', this.form) @@ -117,7 +126,9 @@ export default { prevStep(childValue) { console.log('返回上一步', childValue) if (this.currentTab > 0) { - this.form = childValue + if (childValue) { + this.form = childValue + } this.currentTab -= 1 } console.log('ProjectStepForm表单数据', this.form) diff --git a/src/views/project/form/ProjectTestPaperFormationStrategy.vue b/src/views/project/form/ProjectTestPaperFormationStrategy.vue index 8fb748c..a4ab1ae 100644 --- a/src/views/project/form/ProjectTestPaperFormationStrategy.vue +++ b/src/views/project/form/ProjectTestPaperFormationStrategy.vue @@ -1,12 +1,52 @@