Browse Source

12/11 11:19 测试

1
mo 4 years ago
parent
commit
16ce5788f0

File diff suppressed because it is too large
+ 0 - 0
dist/index.html


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-25ab727b.78ef8f98.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-5227c364.d638913c.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.9b983cb2.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-0c2db12a.c7697d26.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-25ab727b.6ebc14c5.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-5227c364.9affee42.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-7f4ec2ec.2913136a.js


+ 1 - 0
src/views/teamDetail/components/modals/class-pay-list-item.vue

@@ -146,6 +146,7 @@ export default {
   methods: {
   methods: {
     priceChange(item, index) {
     priceChange(item, index) {
       const _ = [...this.corusePayList];
       const _ = [...this.corusePayList];
+      console.log('_',_)
       const active =
       const active =
         this.organizationCourseUnitPriceSettingsByType[item.courseType] || {};
         this.organizationCourseUnitPriceSettingsByType[item.courseType] || {};
       const price = (
       const price = (

+ 7 - 3
src/views/teamDetail/components/modals/class-pay-list.vue

@@ -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() {

+ 4 - 1
src/views/teamDetail/components/modals/classList-group.vue

@@ -32,6 +32,7 @@
         :classIdList="classIdList"
         :classIdList="classIdList"
         :addCourseType='addCourseType'
         :addCourseType='addCourseType'
         :courseTypesByType="courseTypesByType"
         :courseTypesByType="courseTypesByType"
+        :classMaxCourseNumMap="classMaxCourseNumMap"
         :form="form"
         :form="form"
         :payInfo.sync="payInfo"
         :payInfo.sync="payInfo"
         @resetPayInfo="resetPayInfo"
         @resetPayInfo="resetPayInfo"
@@ -105,6 +106,7 @@ export default {
             let result = await getDefaultPaymentCalender(this.classIdList);
             let result = await getDefaultPaymentCalender(this.classIdList);
             this.payInfo = result.data.defaultPaymentCalender;
             this.payInfo = result.data.defaultPaymentCalender;
             this.addCourseType = result.data.groupTypeSet
             this.addCourseType = result.data.groupTypeSet
+            this.classMaxCourseNumMap = result.data.classMaxCourseNumMap
             this.showSecondVisable = true;
             this.showSecondVisable = true;
           } catch {}
           } catch {}
         }
         }
@@ -161,7 +163,8 @@ export default {
         if( obj[k][key]){
         if( obj[k][key]){
 
 
          obj[k][key].courseCurrentPrice=value
          obj[k][key].courseCurrentPrice=value
-          obj[k][key].courseTotalMinuties= parseInt(time) 
+         obj[k][key].courseOriginalPrice=value
+        obj[k][key].courseTotalMinuties= parseInt(time) 
         }
         }
       }
       }
       this.payInfo = obj
       this.payInfo = obj

+ 2 - 1
src/views/teamDetail/components/modals/classroom-setting.vue

@@ -143,6 +143,7 @@ export default {
     "classIdList",
     "classIdList",
     "classGroupStudents",
     "classGroupStudents",
     "selectPrices",
     "selectPrices",
+    "classCouresTimeList"
   ],
   ],
   components: {
   components: {
     courseItem,
     courseItem,
@@ -240,7 +241,7 @@ export default {
       let res = {};
       let res = {};
       if (this.classType == 5) {
       if (this.classType == 5) {
         // res = await findClassCourseMinute(this.classIdList);
         // res = await findClassCourseMinute(this.classIdList);
-        res.data = this.selectPrices;
+        res.data = this.classCouresTimeList;
         
         
       } else {
       } else {
         try {
         try {

Some files were not shown because too many files changed in this diff