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

115 lines
2.8 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'
/**
* 教研室任务书填报(阶段 4
* 接口依据:/taskBookFill/*(前端 baseURL 为 /api,此处不重复 /api 前缀)
*/
/** 填报列表 GET /taskBookFill/list?jxrwbh=&jybh= */
export function taskBookList(jxrwbh, jybh) {
return request({
url: '/taskBookFill/list',
method: 'get',
params: { jxrwbh, jybh }
})
}
/** 手动合班 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, kcxh } */
export function taskBookFill(data) {
return request({
url: '/taskBookFill/fill',
method: 'post',
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 }
})
}