forked from liweijie/education
1、校历的78、晚上、夜间等直接落库,
2、配当、任务书完善、排课窗完善; 3、任务书批量发布、删除等; 4、班历同步校历
This commit is contained in:
@@ -5,12 +5,12 @@ import request from '@/utils/request'
|
||||
* 接口依据:/taskBookFill/*(前端 baseURL 为 /api,此处不重复 /api 前缀)
|
||||
*/
|
||||
|
||||
/** 填报列表 GET /taskBookFill/list?jxrwbh= */
|
||||
export function taskBookList(jxrwbh) {
|
||||
/** 填报列表 GET /taskBookFill/list?jxrwbh=&jybh= */
|
||||
export function taskBookList(jxrwbh, jybh) {
|
||||
return request({
|
||||
url: '/taskBookFill/list',
|
||||
method: 'get',
|
||||
params: { jxrwbh }
|
||||
params: { jxrwbh, jybh }
|
||||
})
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@ export function taskBookSetRoom(data) {
|
||||
})
|
||||
}
|
||||
|
||||
/** 填报字段 POST /taskBookFill/fill body: { bh, jysjhjybh, jsbh, jysjhbz } */
|
||||
/** 填报字段 POST /taskBookFill/fill body: { bh, jysjhjybh, jsbh, jysjhbz, kcxh } */
|
||||
export function taskBookFill(data) {
|
||||
return request({
|
||||
url: '/taskBookFill/fill',
|
||||
@@ -67,3 +67,48 @@ export function taskBookFill(data) {
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
/** 批量指定责任教员 POST /taskBookFill/batchSetTeacher body: { bhList, mode, jybh } */
|
||||
export function taskBookBatchSetTeacher(data) {
|
||||
return request({
|
||||
url: '/taskBookFill/batchSetTeacher',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
/** 批量指定场地 POST /taskBookFill/batchSetRoom body: { bhList, jsbh, useSpecial } */
|
||||
export function taskBookBatchSetRoom(data) {
|
||||
return request({
|
||||
url: '/taskBookFill/batchSetRoom',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
/** 批量填报 POST /taskBookFill/batchFill body: { bhList, jysjhjybh?, jsbh?, useSpecial?, jysjhbz?, kcxh? } */
|
||||
export function taskBookBatchFill(data) {
|
||||
return request({
|
||||
url: '/taskBookFill/batchFill',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
/** 行级删除 POST /taskBookFill/deleteRows body: { bhList } */
|
||||
export function taskBookDeleteRows(bhList) {
|
||||
return request({
|
||||
url: '/taskBookFill/deleteRows',
|
||||
method: 'post',
|
||||
data: { bhList }
|
||||
})
|
||||
}
|
||||
|
||||
/** 教研室跨任务汇总 GET /taskBookFill/officeSummary?jysdh= */
|
||||
export function taskBookOfficeSummary(jysdh) {
|
||||
return request({
|
||||
url: '/taskBookFill/officeSummary',
|
||||
method: 'get',
|
||||
params: { jysdh }
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user