forked from liweijie/education
通过AI比对原操作文档,生成系统功能完善方案,根据方案进行增补,完善从学期新增到最终的排课功能
This commit is contained in:
@@ -0,0 +1,69 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
/**
|
||||
* 教研室任务书填报(阶段 4)
|
||||
* 接口依据:/taskBookFill/*(前端 baseURL 为 /api,此处不重复 /api 前缀)
|
||||
*/
|
||||
|
||||
/** 填报列表 GET /taskBookFill/list?jxrwbh= */
|
||||
export function taskBookList(jxrwbh) {
|
||||
return request({
|
||||
url: '/taskBookFill/list',
|
||||
method: 'get',
|
||||
params: { jxrwbh }
|
||||
})
|
||||
}
|
||||
|
||||
/** 手动合班 POST /taskBookFill/merge body: { bhList } */
|
||||
export function taskBookMerge(bhList) {
|
||||
return request({
|
||||
url: '/taskBookFill/merge',
|
||||
method: 'post',
|
||||
data: { bhList }
|
||||
})
|
||||
}
|
||||
|
||||
/** 按预设合班 POST /taskBookFill/mergeByPreset body: { bhList } */
|
||||
export function taskBookMergeByPreset(bhList) {
|
||||
return request({
|
||||
url: '/taskBookFill/mergeByPreset',
|
||||
method: 'post',
|
||||
data: { bhList }
|
||||
})
|
||||
}
|
||||
|
||||
/** 拆班 POST /taskBookFill/split body: { bhList } */
|
||||
export function taskBookSplit(bhList) {
|
||||
return request({
|
||||
url: '/taskBookFill/split',
|
||||
method: 'post',
|
||||
data: { bhList }
|
||||
})
|
||||
}
|
||||
|
||||
/** 责任教员指定 POST /taskBookFill/setTeacher body: { bh, mode, jybh } */
|
||||
export function taskBookSetTeacher(data) {
|
||||
return request({
|
||||
url: '/taskBookFill/setTeacher',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
/** 场地指定 POST /taskBookFill/setRoom body: { bh, jsbh, useSpecial } */
|
||||
export function taskBookSetRoom(data) {
|
||||
return request({
|
||||
url: '/taskBookFill/setRoom',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
/** 填报字段 POST /taskBookFill/fill body: { bh, jysjhjybh, jsbh, jysjhbz } */
|
||||
export function taskBookFill(data) {
|
||||
return request({
|
||||
url: '/taskBookFill/fill',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user