/*
 * @Author: lixg lixg@dongwu-inc.com
 * @Date: 2022-12-13 09:24:38
 * @LastEditors: lixg lixg@dongwu-inc.com
 * @LastEditTime: 2023-01-30 10:50:28
 * @FilePath: /fe-manage/src/api/indexAudit.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import http from "./config";

//获取待审核面授课列表
export const list = (obj) => http.post('/admin/offcourse/listToBeReviewed', obj)
// export const list = (obj) => http.post('/admin/offcourse/list', obj)

//获取待审核项目列表
export const projlist = (obj) => http.post('/admin/project/list', obj)

//获取项目审核日志
export const auditlist = (obj) => http.post('/admin/project/auditlist', obj)

//获取已审核项目列表
export const auditedlist = (obj) => http.post('/admin/project/auditedlist', obj)

//获取已审核项目列表
export const listView = (obj) => http.post('/admin/project/listView', obj)

//获取面授课已审核列表
export const courseListView = (obj) => http.post('/admin/offcourse/listReview', obj)

//获取面授课详情
export const courseDetail = (offcourseId) => http.post(`/admin/offcourse/detail?offcourseId=${offcourseId}`)

// 面授课转审邀请接口
export const inviteAudit = (obj) => http.post('/admin/offcourse/inviteAudit', obj)

//项目审核日志
export const auditList = (obj) => http.post('/admin/project/auditList', obj)

//项目审核
export const auditView = (obj) => http.post('/admin/project/auditView', obj)

//面授课审核
export const courseAuditView = (obj) => http.post('/admin/offcourse/auditView', obj)

//项目修改记录
export const editRecord = (chooseProject) => http.get(`/modifyRecord/page?id=${chooseProject}&type=1&size=2`)

// 面授课的修改记录
export const editCourseRecord = (chooseCourse) => http.get(`/modifyRecord/page?id=${chooseCourse}&type=2&size=100`)
