123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- import request from '@/config/axios'
- // 获取学校基本信息
- export const getSchoolInformation = async () => {
- return await request.get({
- url: '/app-api/menduner/system/teacher/info/get'
- })
- }
- // 注册学校账号
- export const schoolRegister = async (data) => {
- return await request.post({
- url: '/app-api/menduner/system/teacher/info/register',
- data
- })
- }
- // 学生列表
- export const studentList = async (data) => {
- return await request.post({
- url: '/app-api/flames/student/list',
- data
- })
- }
- // 学生详情
- export const stuDetail = async (data) => {
- return await request.post({
- url: '/app-api/flames/student/detail',
- data
- })
- }
- // 实习证书
- export const certificateList = async (data) => {
- return await request.post({
- url: '/app-api/flames/student/internship/certificate/list',
- data
- })
- }
- // 推荐信
- export const recommendationList = async (data) => {
- return await request.post({
- url: '/app-api/flames/student/recommendation/list',
- data
- })
- }
- // 学生实习情况
- export const studentPracticeStatistics = async (data) => {
- return await request.post({
- url: '/app-api/flames/school/student/internship/statistics',
- data
- })
- }
- // 实习企业列表
- export const internshipCompanyList = async (data) => {
- return await request.post({
- url: '/app-api/flames/enterprise/school/practice/list',
- data
- })
- }
- // 学校列表
- export const flameSchoolList = async (params) => {
- return await request.get({
- url: '/app-api/menduner/system/school/list',
- params
- })
- }
- // 更新老师信息
- export const updateTeacherInfo = async (data) => {
- return await request.post({
- url: '/app-api/menduner/system/teacher/info/update',
- data
- })
- }
- // 更新学校信息
- export const updateSchoolInfo = async (data) => {
- return await request.post({
- url: '/app-api/menduner/system/teacher/school/update',
- data
- })
- }
- // 获取学校机构列表
- export const getSchoolOrganizationList = async (params) => {
- return await request.get({
- url: '/app-api/menduner/system/teacher/school/organization/list',
- params
- })
- }
|