|
@@ -45,8 +45,8 @@
|
|
:studentSubmitedData="studentSubmitedData"
|
|
:studentSubmitedData="studentSubmitedData"
|
|
:classIdList="classIdList"
|
|
:classIdList="classIdList"
|
|
:classGroupStudents="classGroupStudents"
|
|
:classGroupStudents="classGroupStudents"
|
|
-
|
|
|
|
:selectPrices='classCourseMinuteMap'
|
|
:selectPrices='classCourseMinuteMap'
|
|
|
|
+ :classCouresTimeList ="classCouresTimeList "
|
|
@close="showLastVisable = false"
|
|
@close="showLastVisable = false"
|
|
v-if="showLastVisable"
|
|
v-if="showLastVisable"
|
|
|
|
|
|
@@ -68,7 +68,7 @@ import {courseType,classTime} from '@/constant'
|
|
import { getOrganCourseDurationSettings} from '@/api/buildTeam'
|
|
import { getOrganCourseDurationSettings} from '@/api/buildTeam'
|
|
import MusicStore from '@/views/resetTeaming/store'
|
|
import MusicStore from '@/views/resetTeaming/store'
|
|
export default {
|
|
export default {
|
|
- props: ["form", "payInfo", "courseTypesByType","classIdList","addCourseType"],
|
|
|
|
|
|
+ props: ["form", "payInfo", "courseTypesByType","classIdList","addCourseType",'classMaxCourseNumMap'],
|
|
components: {
|
|
components: {
|
|
classNewInfo,
|
|
classNewInfo,
|
|
classPayListItem,
|
|
classPayListItem,
|
|
@@ -137,8 +137,12 @@ export default {
|
|
this.courseTimeForm.timeList.map(item=>{
|
|
this.courseTimeForm.timeList.map(item=>{
|
|
this.classCourseMinuteMap[item.type]=item.value
|
|
this.classCourseMinuteMap[item.type]=item.value
|
|
})
|
|
})
|
|
|
|
+ // this.classMaxCourseNumMap;
|
|
|
|
+ this.classCouresTimeList ={}
|
|
|
|
+ for(let key in this.classCourseMinuteMap){
|
|
|
|
+ this.classCouresTimeList[key] = this.classMaxCourseNumMap[key]*this.classCourseMinuteMap[key]
|
|
|
|
+ }
|
|
|
|
|
|
- console.log(this.classCourseMinuteMap)
|
|
|
|
this.showLastVisable = true
|
|
this.showLastVisable = true
|
|
},
|
|
},
|
|
close() {
|
|
close() {
|