Commit d9e2bdf7 authored by youjie's avatar youjie

no message

parent b91c3459
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
</view> </view>
</view> </view>
</view> </view>
<view class="addPlan-content-box"> <view class="addPlan-content-box" v-if="lessonList.length>0">
<scroll-view scroll-y="true" style="width:100%;height: 100%;"> <scroll-view scroll-y="true" style="width:100%;height: 100%;">
<view class="content-text"> <view class="content-text">
<view class="text-left"> <view class="text-left">
...@@ -163,6 +163,10 @@ ...@@ -163,6 +163,10 @@
}, },
// 选择 // 选择
checked(item,i,index){ checked(item,i,index){
uni.showLoading({
title: '加载中...'
})
data.lessonList = []
if(i.DetailsId){ if(i.DetailsId){
let data = { let data = {
DetailsId: i.DetailsId DetailsId: i.DetailsId
...@@ -199,9 +203,9 @@ ...@@ -199,9 +203,9 @@
}, },
// 获取可预约时间范围 // 获取可预约时间范围
GetPlanTime(){ GetPlanTime(){
uni.showLoading({ // uni.showLoading({
title: '加载中...' // title: '加载中...'
}) // })
proxy.$request("/LeaveStudent/GetPlanTime", {}).then(res => { proxy.$request("/LeaveStudent/GetPlanTime", {}).then(res => {
if (res.Code == 1) { if (res.Code == 1) {
res.Data.forEach((item,index)=>{ res.Data.forEach((item,index)=>{
...@@ -222,18 +226,6 @@ ...@@ -222,18 +226,6 @@
if(indexs==indexT){ if(indexs==indexT){
items.list.push(itemT) items.list.push(itemT)
} }
// if(indexs==1&&indexT==1){
// items.list.push(itemT)
// }if(indexs==2&&indexT==2){
// items.list.push(itemT)
// }if(indexs==3&&indexT==3){
// items.list.push(itemT)
// }if(indexs==4&&indexT==4){
// items.list.push(itemT)
// }if(indexs==5&&indexT==5){
// items.list.push(itemT)
// }
}) })
}) })
...@@ -275,6 +267,9 @@ ...@@ -275,6 +267,9 @@
}, },
} }
onMounted(() => { onMounted(() => {
uni.showLoading({
title: '加载中...'
})
methods.GetPlanTime() methods.GetPlanTime()
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment