Commit c9ce4794 authored by zhengke's avatar zhengke

1

parent a7b9bfd4
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
:input="true" @input="changePage" /> :input="true" @input="changePage" />
</q-step> </q-step>
<q-step :name="2" title="确认" icon="settings" :done="step > 2"> <q-step :name="2" title="确认" icon="settings" :done="step > 2">
<studyForm ref="orderForm" :save-obj="saveObj" @success="$emit('close')" @cancelloading='cancelloading'></studyForm> <studyForm ref="orderForm" :save-obj="saveObj" :select="selectedArr" @success="$emit('close')" @cancelloading='cancelloading'></studyForm>
</q-step> </q-step>
</q-stepper> </q-stepper>
</q-card-section> </q-card-section>
...@@ -92,10 +92,14 @@ ...@@ -92,10 +92,14 @@
Id: 2, Id: 2,
Name: '就业' Name: '就业'
}], }],
PageCount: 0 PageCount: 0,
selectedArr:[]
}; };
}, },
mounted() { mounted() {
if(this.select){
this.selectedArr = this.select;
}
this.getList(); this.getList();
}, },
methods: { methods: {
...@@ -119,7 +123,6 @@ ...@@ -119,7 +123,6 @@
selectCourse(val) { selectCourse(val) {
if(val&&val.length>0){ if(val&&val.length>0){
this.saveObj = val[0]; this.saveObj = val[0];
this.saveObj.Id = this.saveObj.Id;
this.defaultCourse = val; this.defaultCourse = val;
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment