Files
education/frontend/src/api/teachBusiness/my.js
T
liweijie f3ae9fb2fd 1、校历的78、晚上、夜间等直接落库,
2、配当、任务书完善、排课窗完善;
3、任务书批量发布、删除等;
4、班历同步校历
2026-09-18 10:38:39 +08:00

99 lines
2.2 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import request from '@/utils/request'
// 「我的教学」角色视图接口(阶段 CMyBusinessController /my
// 教员/教研室/学员身份全部由服务端按登录账号解析,不传他人编号
// ==================== 教员 ====================
/** 本教员课程任务 GET /my/teacher/courses?nd=&xqdc= */
export function myTeacherCourses(params) {
return request({
url: '/my/teacher/courses',
method: 'get',
params
})
}
/** 本教员实施计划 GET /my/teacher/lessons?start=&end=&nd= */
export function myTeacherLessons(params) {
return request({
url: '/my/teacher/lessons',
method: 'get',
params
})
}
/** 本教员课表网格 GET /my/teacher/grid?mbbh=&start=&end=&nd= */
export function myTeacherGrid(params) {
return request({
url: '/my/teacher/grid',
method: 'get',
params
})
}
// ==================== 教研室 ====================
/** 今日本室计划 GET /my/office/today?rq=&offset= */
export function myOfficeToday(params) {
return request({
url: '/my/office/today',
method: 'get',
params
})
}
/** 本室课程 GET /my/office/courses?nd=&xqdc= */
export function myOfficeCourses(params) {
return request({
url: '/my/office/courses',
method: 'get',
params
})
}
/** 本室教员清单 GET /my/office/teachers */
export function myOfficeTeachers() {
return request({
url: '/my/office/teachers',
method: 'get'
})
}
// ==================== 学员 ====================
/** 本学员队课程列表 GET /my/student/courses?nd=&xqdc= */
export function myStudentCourses(params) {
return request({
url: '/my/student/courses',
method: 'get',
params
})
}
/** 本学员队课次 GET /my/student/lessons?start=&end= */
export function myStudentLessons(params) {
return request({
url: '/my/student/lessons',
method: 'get',
params
})
}
/** 本学员队课表网格 GET /my/student/grid?mbbh=&start=&end=&nd= */
export function myStudentGrid(params) {
return request({
url: '/my/student/grid',
method: 'get',
params
})
}
/** 本学员队干部清单 GET /my/team/cadres */
export function myTeamCadres() {
return request({
url: '/my/team/cadres',
method: 'get'
})
}