Commit 9eb25914 authored by Mac's avatar Mac

1

parent cba89816
......@@ -156,7 +156,46 @@ export function GetTeacherPlan(data) {
data
})
}
/**
* 获取教案
*/
export function getClassLessPlan(data) {
return request({
url: "/Class/GetClassLessPlan",
method: 'post',
data
})
}
/**
* 获取教案 评论列表
*/
export function getLessonCommentList(data) {
return request({
url: "/Class/GetLessonCommentList",
method: 'post',
data
})
}
/**
* 获取教案 评论列表
*/
export function setLessonComment(data) {
return request({
url: "/Class/SetLessonComment",
method: 'post',
data
})
}
/**
* 获取教案详情的 提交
*/
export function updateClassLessPlan(data) {
return request({
url: "/Class/UpdateClassLessPlan",
method: 'post',
data
})
}
/**
* 教师课时奖励 分页列表
*/
......@@ -262,7 +301,7 @@ export function setTeachingPerfFinance(data) {
/**
* 修改班级状态
* @param {JSON数据} data
* @param {JSON数据} data
*/
export function saveClassStatus(data) {
return request({
......@@ -270,4 +309,4 @@ export function saveClassStatus(data) {
method: 'post',
data
})
}
\ No newline at end of file
}
This diff is collapsed.
......@@ -224,7 +224,7 @@
<div style="margin-top:30px;">
<div class="TeacherInfo_List" v-for="(item,index) in newDataList">
<div class="timeleft">
<div>
<div style="width: 45px;">
{{item.StartTime}}
</div>
</div>
......@@ -240,7 +240,7 @@
{{item.GuestStr}}
</div>
<div style="margin:20px 0 30px 0;">
<span class="beikeBtn" v-if="item.LessonPlanNum>0" style="background:#3FC4FF;">已备课</span>
<span class="beikeBtn" v-if="item.LessonPlanNum>0" style="background:#3FC4FF;" @click="goyibeike(item)">已备课</span>
<span class="beikeBtn" v-else @click="goBeike(item)">备课</span>
</div>
</div>
......@@ -387,6 +387,12 @@
this.$router.push({
path: tempStr
});
},
goyibeike(item){
var tempStr = '/course/prepareclassDetails?ClassId=' + item.ClassId+'&ClassPlanId='+item.ClassPlanId;
this.$router.push({
path: tempStr
});
}
}
}
......
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