diff --git a/src/api/configPublic.js b/src/api/configPublic.js index d5345e8e..672b89f3 100644 --- a/src/api/configPublic.js +++ b/src/api/configPublic.js @@ -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( diff --git a/src/api/examineApi.js b/src/api/examineApi.js new file mode 100644 index 00000000..7f91c497 --- /dev/null +++ b/src/api/examineApi.js @@ -0,0 +1,115 @@ +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 + }) +} \ No newline at end of file diff --git a/src/assets/2.png b/src/assets/2.png new file mode 100644 index 00000000..a86d0f5e Binary files /dev/null and b/src/assets/2.png differ diff --git a/src/assets/33.png b/src/assets/33.png new file mode 100644 index 00000000..1f80977f Binary files /dev/null and b/src/assets/33.png differ diff --git a/src/assets/39.png b/src/assets/39.png new file mode 100644 index 00000000..3464fa0b Binary files /dev/null and b/src/assets/39.png differ diff --git a/src/assets/44.png b/src/assets/44.png new file mode 100644 index 00000000..08b11400 Binary files /dev/null and b/src/assets/44.png differ diff --git a/src/assets/46.png b/src/assets/46.png new file mode 100644 index 00000000..8b58d573 Binary files /dev/null and b/src/assets/46.png differ diff --git a/src/assets/47.png b/src/assets/47.png new file mode 100644 index 00000000..a2585bcd Binary files /dev/null and b/src/assets/47.png differ diff --git a/src/assets/49.png b/src/assets/49.png new file mode 100644 index 00000000..d34fcb94 Binary files /dev/null and b/src/assets/49.png differ diff --git a/src/assets/50.png b/src/assets/50.png new file mode 100644 index 00000000..1a435940 Binary files /dev/null and b/src/assets/50.png differ diff --git a/src/assets/8.png b/src/assets/8.png new file mode 100644 index 00000000..86e4b31c Binary files /dev/null and b/src/assets/8.png differ diff --git a/src/components/BreadCrumb.vue b/src/components/BreadCrumb.vue index 4f84ee0b..eacd91a9 100644 --- a/src/components/BreadCrumb.vue +++ b/src/components/BreadCrumb.vue @@ -495,6 +495,18 @@ } ]; } + if ( + n.indexOf("/InstructorCertification") !== -1 || + n.indexOf("/InstructorCertification") !== -1 + ) { + state.list = [ + { + name: "感恩教师", + }, { + name:'讲师认证' + } + ]; + } if ( n.indexOf("/tooldown") !== -1 || n.indexOf("/ToolDown") !== -1 diff --git a/src/components/NavLeft.vue b/src/components/NavLeft.vue index 2dd78605..d13ece89 100644 --- a/src/components/NavLeft.vue +++ b/src/components/NavLeft.vue @@ -339,7 +339,7 @@ - +