lex-xin 4 years ago
parent
commit
ea56ccf0b1

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


+ 1 - 0
dist/css/PeriodAdjust.2ad089c9.css

@@ -0,0 +1 @@
+.periodadjust[data-v-5a770a2b]{height:100vh;position:relative;background-color:#f3f4f8}.periodadjust .container[data-v-5a770a2b]{min-height:calc(100vh - .5rem);overflow-y:auto;overflow-x:hidden;position:relative}.periodadjust .button-group[data-v-5a770a2b]{width:100%}.periodadjust .button-group .van-button[data-v-5a770a2b]{font-size:.16rem;width:50%;height:.5rem;line-height:.48rem}.periodadjust .button-group .van-button--primary[data-v-5a770a2b]{background:#14928a;border-color:#14928a}[data-v-5a770a2b] .van-icon-underway-o{font-size:.18rem}[data-v-5a770a2b] .van-cell{line-height:inherit}[data-v-5a770a2b] .van-cell__title{font-size:.16rem;color:#444}[data-v-5a770a2b] .van-cell-group{margin-top:.05rem}.title-content[data-v-5a770a2b]{-webkit-box-flex:1;-ms-flex:1 auto;flex:1 auto;font-weight:700}.title-content .van-cell__label[data-v-5a770a2b]{font-weight:400;margin-top:.06rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.title-content .van-icon-location[data-v-5a770a2b]{margin-right:.05rem}.value-content[data-v-5a770a2b]{width:50px}[data-v-5a770a2b] .van-cell__label,[data-v-5a770a2b] .van-cell__value{color:#444;font-size:.14rem;-webkit-box-flex:1;-ms-flex:1 auto;flex:1 auto}[data-v-5a770a2b] .van-cell__label span,[data-v-5a770a2b] .van-cell__value span{padding-right:.1rem}.input-cell[data-v-5a770a2b]{padding:.12rem .16rem .2rem}.input-cell .van-radio[data-v-5a770a2b]{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}[data-v-5a770a2b] .van-radio__icon--disabled .van-icon{border-color:transparent;background:#fff}[data-v-5a770a2b] .van-radio__icon--checked .van-icon{background:#f97215;border-color:#f97215}[data-v-5a770a2b] .icon{margin-top:.3rem}

+ 0 - 1
dist/css/PeriodAdjust.b0c11587.css

@@ -1 +0,0 @@
-.periodadjust[data-v-02527346]{height:100vh;position:relative;background-color:#f3f4f8}.periodadjust .container[data-v-02527346]{min-height:calc(100vh - .5rem);overflow-y:auto;overflow-x:hidden;position:relative}.periodadjust .button-group[data-v-02527346]{width:100%}.periodadjust .button-group .van-button[data-v-02527346]{font-size:.16rem;width:50%;height:.5rem;line-height:.48rem}.periodadjust .button-group .van-button--primary[data-v-02527346]{background:#14928a;border-color:#14928a}[data-v-02527346] .van-icon-underway-o{font-size:.18rem}[data-v-02527346] .van-cell{line-height:inherit}[data-v-02527346] .van-cell__title{font-size:.16rem;color:#444}[data-v-02527346] .van-cell-group{margin-top:.05rem}.title-content[data-v-02527346]{-webkit-box-flex:1;-ms-flex:1 auto;flex:1 auto;font-weight:700}.title-content .van-cell__label[data-v-02527346]{font-weight:400;margin-top:.06rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.title-content .van-icon-location[data-v-02527346]{margin-right:.05rem}.value-content[data-v-02527346]{width:50px}[data-v-02527346] .van-cell__label,[data-v-02527346] .van-cell__value{color:#444;font-size:.14rem;-webkit-box-flex:1;-ms-flex:1 auto;flex:1 auto}[data-v-02527346] .van-cell__label span,[data-v-02527346] .van-cell__value span{padding-right:.1rem}.input-cell[data-v-02527346]{padding:.12rem .16rem .2rem}.input-cell .van-radio[data-v-02527346]{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}[data-v-02527346] .van-radio__icon--disabled .van-icon{border-color:transparent;background:#fff}[data-v-02527346] .van-radio__icon--checked .van-icon{background:#f97215;border-color:#f97215}[data-v-02527346] .icon{margin-top:.3rem}

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


File diff suppressed because it is too large
+ 0 - 0
dist/js/PeriodAdjust.1bc8b726.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/PeriodAdjust.e27452f5.js


+ 17 - 17
src/views/teacher/PeriodAdjust.vue

@@ -93,32 +93,32 @@ export default {
             this.radioSelectList = item
         },
         async getCourseMonth(month) {
+            await getCourseScheduleDateByMonth({ month: month, type: 'VIP' }).then(res => {
+                let result = res.data
+                if(result.code == 200) {
+                    this.getMonthDay = []
+                    result.data.forEach(item => {
+                        this.getMonthDay.push(dayjs(item).format('DD'))
+                    })
+                    this.isCalendar = true
+                }
+            })
+        },
+        async getCourseDate(date) {
             setLoading(true)
             try {
-                await getCourseScheduleDateByMonth({ month: month, type: 'VIP' }).then(res => {
+                await getCourseSchedulesWithDate({ date: date, type: 'VIP' }).then(res => {
                     let result = res.data
-                    setLoading(false)
-                    if(result.code == 200) {
-                        this.getMonthDay = []
-                        result.data.forEach(item => {
-                            this.getMonthDay.push(dayjs(item).format('DD'))
-                        })
-                        this.isCalendar = true
+                    if(result.code == 200 && result.data) {
+                        this.dataList = result.data.rows
+                        this.dataShow = result.data.rows.length > 0 ? true : false
                     }
+                    setLoading(false)
                 })
             } catch(err) {
                 setLoading(false)
             }
         },
-        async getCourseDate(date) {
-            await getCourseSchedulesWithDate({ date: date, type: 'VIP' }).then(res => {
-                let result = res.data
-                if(result.code == 200 && result.data) {
-                    this.dataList = result.data.rows
-                    this.dataShow = result.data.rows.length > 0 ? true : false
-                }
-            })
-        },
         onSubmit() {
             if(!this.radioSelect) {
                 this.$toast('请选择需要交换的课程')

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