Commit cae44c49 authored by 黄奎's avatar 黄奎

Merge branch 'master' of http://gitlab.oytour.com/youjie/thinkapp

parents 3fdd30d2 e4d43a38
......@@ -170,8 +170,10 @@
//获取学生列表
getCourseStuList(){
data.pageState = "loading";
uni.showLoading()
proxy.$request("/Teacher/GetCourseStu", data.OperationMsg).then(res => {
if(res){
uni.hideLoading()
data.titleList.forEach(item => {
if(item.name=='学生列表'){
item.num = res.Data.length
......@@ -185,8 +187,10 @@
//获取作业情况列表
getCourseHomeWorkList(){
data.pageState = "loading";
uni.showLoading()
proxy.$request("/Teacher/GetCourseHomeWork", data.OperationMsg).then(res => {
if(res){
uni.hideLoading()
data.titleList.forEach(item => {
if(item.name=='作业情况'){
item.num = res.Data.length
......@@ -200,8 +204,10 @@
//获取考试信息列表
getExamPageList(){
data.pageState = "loading";
uni.showLoading()
proxy.$request("/Exam/GetExamPageList", data.Msg).then(res => {
if(res){
uni.hideLoading()
data.titleList.forEach(item => {
if(item.name=='考试信息'){
item.num = res.Data.RowsCount
......
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