周计划

This commit is contained in:
sk1551
2020-08-27 19:45:50 +08:00
parent 54d4dffe5b
commit 893a520a48
16 changed files with 1103 additions and 528 deletions

View File

@ -2,52 +2,60 @@ import request from '@/utils/request'
// 查询周计划(家长和教育部门)列表
export function listPlanweek(query) {
return request({
url: '/benyi/planweek/list',
method: 'get',
params: query
})
return request({
url: '/benyi/planweek/list',
method: 'get',
params: query
})
}
// 查询周计划(家长和教育部门)详细
export function getPlanweek(id) {
return request({
url: '/benyi/planweek/' + id,
method: 'get'
})
return request({
url: '/benyi/planweek/' + id,
method: 'get'
})
}
// 新增周计划(家长和教育部门)
export function addPlanweek(data) {
return request({
url: '/benyi/planweek',
method: 'post',
data: data
})
return request({
url: '/benyi/planweek',
method: 'post',
data: data
})
}
// 修改周计划(家长和教育部门)
export function updatePlanweek(data) {
return request({
url: '/benyi/planweek',
method: 'put',
data: data
})
return request({
url: '/benyi/planweek',
method: 'put',
data: data
})
}
// 删除周计划(家长和教育部门)
export function delPlanweek(id) {
return request({
url: '/benyi/planweek/' + id,
method: 'delete'
})
return request({
url: '/benyi/planweek/' + id,
method: 'delete'
})
}
// 提交周计划(家长和教育部门)
export function checkPlanweek(id) {
return request({
url: '/benyi/planweek/check/' + id,
method: 'post'
})
}
// 导出周计划(家长和教育部门)
export function exportPlanweek(query) {
return request({
url: '/benyi/planweek/export',
method: 'get',
params: query
})
}
return request({
url: '/benyi/planweek/export',
method: 'get',
params: query
})
}