Kaynağa Gözat

修改显示问题

lex-xin 5 yıl önce
ebeveyn
işleme
08800b6a06

Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/css/Leave.a4458be9.css


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/index.html


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/js/Leave.a33ab35a.js


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/js/Leave.f87d426c.js


Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
dist/js/app.eadf3a20.js


+ 8 - 2
src/views/teacher/Leave.vue

@@ -17,7 +17,7 @@
                 rows="4" autosize />
         </van-cell-group>
 
-        <van-panel title="课时安排" v-if="vipList.length > 0">
+        <van-panel title="课时安排" v-if="vipList.length > 0 && vipListType">
             <template v-for="(item, index) in vipList">
                 <div class="leaveCell" v-if="item.type == 'VIP'" :key="index">
                     <div class="leaveCell-l">{{ item.name }}</div>
@@ -127,6 +127,7 @@ export default {
                 remark: null
             },
             vipList: [], // 申请调整的vip列表
+            vipListType: false, // 判断是否只有乐团课
             changeShow: false,
             changeDate: { // 结束时间
                 minDate: new Date(),
@@ -237,7 +238,7 @@ export default {
             }).then(res => {
                 let result = res.data
                 if(result.code == 200) {
-                    this.$toast('申请成功')
+                    this.$toast('申请成功,请等待审核')
                     setTimeout(() => {
                         if(browser().iPhone) {
                             window.webkit.messageHandlers.DAYA.postMessage(JSON.stringify({api: 'back'}))
@@ -307,6 +308,11 @@ export default {
                 this.vipList = []
                 if(result.code == 200 && result.data.length > 0) {
                     this.vipList = result.data
+                    result.data.forEach(item => {
+                        if(item.type == 'VIP') {
+                            this.vipListType = true
+                        }
+                    })
                 }
             })
         },

+ 1 - 1
vue.config.js

@@ -1,5 +1,5 @@
 let targetUrl = 'http://mteadev.dayaedu.com'
-// let targetUrl = 'http://192.168.3.27:8000'
+// let targetUrl = 'http://192.168.3.8:8000'
 // let targetUrl = 'https://online.dayaedu.com'
 // let targetUrl = 'http://testadm.dayaedu.com/'
 // let targetUrl = 'http://192.168.3.48:8080'

Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor