Commit ea4a1da9 authored by Mac's avatar Mac

1

parent e8b5b8b1
......@@ -225,10 +225,7 @@ import tabbars from '@/components/tabbar/index';
screenshow:false,
screenList:[],
contents:[],
contents2:[
{'ID': 0, Name: '李老师'},
{'ID': 1, Name: '林老师'},
],
contents2:[],
subscribeList:[],
weekMode:true,
msg:{
......@@ -236,7 +233,8 @@ import tabbars from '@/components/tabbar/index';
SelectEndTime:'',
CourseClassId:0,
TeacherId:0,
}
},
showteacher:0,//0为约课 1位老师进去查看自己的约课情况
}
},
......@@ -251,6 +249,14 @@ import tabbars from '@/components/tabbar/index';
this.showtabbars=false
}
}
if(options && options.teacher){//判断是否个人老师进入页面
this.showteacher = options.teacher;
this.list= [{
name: '综合排序'
}, {
name: '课程'
}],
}
this.msg.SelectStartTime = formatDate(new Date(), 'yyyy-MM-dd'),
this.msg.SelectEndTime = formatDate(new Date(), 'yyyy-MM-dd'),
uni.setNavigationBarTitle({
......
......@@ -101,7 +101,7 @@
</view>
<view class="box-top" style="margin-top: 15px;" v-if=" data.StudentNumType==1">
<view class="top-item">
<text>预约课节</text>
<text>课时数量</text>
<input class="uni-input " type="number" v-model="classDay" style='text-align: right;' placeholder="输入课节" @blur='totalsc'/>
</view>
<view class="top-item" style="border: none;" @click="show=true">
......@@ -206,7 +206,7 @@
totalsc(){//总时长计算和点数的计算
if(this.classDay<this.ifvalue){
uni.showToast({
title: "不能小于"+this.ifvalue+'课',
title: "不能小于"+this.ifvalue+'课时数量',
icon:'none'
})
......@@ -217,9 +217,11 @@
},
confirm(e){
this.addMsg.StudyDate = e.hour+':'+e.minute
let msg = this.addMsg
msg.StudyDateStr = this.data.StudyDateStr+' '+this.addMsg.StudyDate+':00'
this.request2({
url: '/api/AppletPoint/GetTeacherCourseOrder',
data: this.addMsg
data: msg
},
res => {
},
......
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