lex-xin 5 rokov pred
rodič
commit
616a10eb3b

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
dist/css/Leave.8b2fab63.css


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
dist/index.html


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
dist/js/Leave.6a5129d9.js


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
dist/js/Leave.9baa0623.js


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
dist/js/app.9f229278.js


+ 4 - 5
src/views/teacher/Leave.vue

@@ -174,7 +174,7 @@ export default {
         onSubmit() {
             let searchList = this.searchList
             if(!searchList.startText || !searchList.endText) {
-                this.$toast('请假时间不能为空')
+                this.$toast('时间不能为空')
                 return
             }
 
@@ -184,7 +184,7 @@ export default {
             // }
 
             if(!searchList.remark) {
-                this.$toast('请填写请假原因')
+                this.$toast('请填写原因')
                 return
             }
             let leaveCategoryId
@@ -210,10 +210,9 @@ export default {
                 let m = parseInt(Math.abs(startDate.getTime() - endDate.getTime()) / 1000 / 60)
                 tempI.classDate = this.getFormatDate(item.changeAllTime) + ':00'
                 tempI.startClassTime = this.getFormatDate(item.changeAllTime) + ':00'
-                let tempEndClassTime = new Date() //临时时间
                 let currentDate = new Date(item.changeAllTime)
-                tempEndClassTime.setMinutes(currentDate.getMinutes() + m)
-                tempI.endClassTime = this.getFormatDate(tempEndClassTime) + ':00'
+                currentDate.setMinutes(currentDate.getMinutes() + m)
+                tempI.endClassTime = this.getFormatDate(currentDate) + ':00'
                 coursesScheduleJson.push({
                     befor: item,
                     after: tempI

Niektoré súbory nie sú zobrazené, pretože je v týchto rozdielových dátach zmenené mnoho súborov