|
@@ -8,7 +8,7 @@
|
|
|
:close-on-click-modal="false"
|
|
|
width="70%"
|
|
|
>
|
|
|
- <subject-choice :course0="course0" :course1="course1" :year="year" :readonly="readonly"></subject-choice>
|
|
|
+ <subject-choice :course0="course0" :course1="course1" :readonly="readonly"></subject-choice>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
<el-button type="primary" @click="cancel">确 定</el-button>
|
|
|
</span>
|
|
@@ -38,7 +38,6 @@ export default {
|
|
|
return {
|
|
|
dialogVisible: false,
|
|
|
course0: '',
|
|
|
- year: '',
|
|
|
course1: ''
|
|
|
}
|
|
|
},
|
|
@@ -47,9 +46,8 @@ export default {
|
|
|
console.log('res')
|
|
|
this.cancel()
|
|
|
},
|
|
|
- open(course0, course1, year) {
|
|
|
+ open(course0, course1) {
|
|
|
this.dialogVisible = true
|
|
|
- this.year = year || ''
|
|
|
this.course0 = course0
|
|
|
this.course1 = course1
|
|
|
},
|