mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 03:16:44 +08:00
Merge branch 'zcwy-0511-out' into dev0223
This commit is contained in:
@@ -7,7 +7,7 @@ import Cookies from 'vue-cookies'
|
||||
axios.defaults.withCredentials = true;
|
||||
const http = axios.create({
|
||||
timeout: 1000 * 15,
|
||||
headers: { "Content-Type": "application/json", },
|
||||
headers: { "Content-Type":"application/json", },
|
||||
});
|
||||
|
||||
http.interceptors.request.use(
|
||||
|
||||
158
src/api/examineApi.js
Normal file
158
src/api/examineApi.js
Normal file
@@ -0,0 +1,158 @@
|
||||
import { data } from "jquery";
|
||||
import http from "./configPublic";
|
||||
//认证审批项目列表
|
||||
export const getexamineList = (data) => {
|
||||
return http({
|
||||
url: "/activityApi/examine/list",
|
||||
method: "post",
|
||||
data: data
|
||||
})
|
||||
|
||||
}
|
||||
export const getexamine = (data) => {
|
||||
return http({
|
||||
url: "/activityApi/teacher/list",
|
||||
method: "post",
|
||||
data: data
|
||||
})
|
||||
|
||||
}
|
||||
//创建认证
|
||||
export const CreateAuthentication = (data)=>{
|
||||
return http({
|
||||
url:'/activityApi/examine/launchOrUpdate',
|
||||
method: "post",
|
||||
data: data
|
||||
})
|
||||
}
|
||||
//删除认证
|
||||
export const delExamine = (data)=>{
|
||||
return http({
|
||||
url:'/activityApi/examine/deleteExamine',
|
||||
method: "post",
|
||||
data: data
|
||||
})
|
||||
}
|
||||
//讲师列表
|
||||
export const getTeacherList = (data)=>{
|
||||
return http({
|
||||
url:'/activityApi/teacher/list',
|
||||
method: "post",
|
||||
data: data
|
||||
})
|
||||
}
|
||||
//删除教师
|
||||
export const deleTeTeacher = (data)=>{
|
||||
return http({
|
||||
url:'/activityApi//teacher/deleTeTeacher',
|
||||
method: "post",
|
||||
data: data
|
||||
})
|
||||
}
|
||||
//发起评审列表
|
||||
export const getReview = (data) =>{
|
||||
return http({
|
||||
url:'/activityApi/review/list',
|
||||
method: "post",
|
||||
data: data
|
||||
})
|
||||
}
|
||||
//删除评审
|
||||
export const delreview=(data) =>{
|
||||
return http({
|
||||
url:'/activityApi/review/delete',
|
||||
method: "post",
|
||||
data: data
|
||||
})
|
||||
}
|
||||
//查看评审
|
||||
export const reviewdetail =(data)=>{
|
||||
return http({
|
||||
url:'/activityApi/review/detail',
|
||||
method: "post",
|
||||
data: data
|
||||
})
|
||||
}
|
||||
//发起评审
|
||||
export const reviewSave = (data) =>{
|
||||
return http({
|
||||
url:'/activityApi/review/save',
|
||||
method: "post",
|
||||
data: data
|
||||
})
|
||||
}
|
||||
//添加教师
|
||||
export const addTeacher= (data)=>{
|
||||
return http({
|
||||
url:'/activityApi/review/selectTeacher',
|
||||
method: "post",
|
||||
data: data
|
||||
})
|
||||
}
|
||||
//结束评审并通知结果
|
||||
export const endreview = (data) =>{
|
||||
return http({
|
||||
url:'/activityApi/review/endReview',
|
||||
method: "post",
|
||||
data: data
|
||||
})
|
||||
}
|
||||
//编辑评审
|
||||
export const editreview = (data) =>{
|
||||
return http({
|
||||
url:'/activityApi/review/edit',
|
||||
method: "post",
|
||||
data: data
|
||||
})
|
||||
}
|
||||
//添加导师
|
||||
export const addTutor = (data) =>{
|
||||
return http({
|
||||
url:'/activityApi/teacher/saveTeacher',
|
||||
method: "post",
|
||||
data: data
|
||||
})
|
||||
}
|
||||
//线上学习课列表
|
||||
export const getOnlineLearningList = (data) => http.post('/activityApi/examine/getOnlineLearningList',data)
|
||||
//删除线上学习课
|
||||
export const deleteCourse = (data) => http.post('/activityApi/examine/deleteCourse',data)
|
||||
//新增线上学习课
|
||||
export const addCourse = (data) => http.post('/activityApi/examine/addCourse',data)
|
||||
//保存导入的教师信息
|
||||
export const saveTeacher = (data) => http.post('/activityApi/teacher/saveTeacher',data)
|
||||
//退回初稿或终稿
|
||||
export const backDraft = (data) => http.post('/activityApi/examine/rejected',data)
|
||||
//获取教师详情
|
||||
export const getDataById = (data) => http.post('/activityApi/teacher/getDataById',data)
|
||||
//获取认证状态
|
||||
export const getCertificationProcess = (data) => http.post('/activityApi/teacher/getCertificationProcess',data)
|
||||
//编辑认证
|
||||
export const updateExamine = (data) => http.post('/activityApi/examine/updateExamine',data)
|
||||
//添加权限 0: 查看 2: 管理
|
||||
export const addPermission = (data) => http.post('/activityApi/permission/addPermission',data)
|
||||
|
||||
//权限列表
|
||||
export const removePermission = (data)=>{
|
||||
return http({
|
||||
url:'/activityApi/permission/list',
|
||||
method: "post",
|
||||
data:data
|
||||
})
|
||||
}
|
||||
//转移归属权
|
||||
export const transferPermission =(data)=>{
|
||||
return http({
|
||||
url:'/activityApi/permission/transferPermission',
|
||||
method: "post",
|
||||
data:data
|
||||
})
|
||||
}
|
||||
//添加权限
|
||||
// export const addPermission = (data)=>{
|
||||
// return http({
|
||||
// url:'/activityApi/permission/addPermission',
|
||||
// method: "post",
|
||||
// data:data
|
||||
// })
|
||||
// }
|
||||
Reference in New Issue
Block a user