| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 | 
							- import request from "@/utils/request"
 
- // 获取企业推荐信列表
 
- export const getRecommendationPage = async (data) => {
 
- 	return request({
 
- 		url: '/app-api/flames/student/recommendation/list',
 
- 		method: 'POST',
 
- 		data,
 
- 		custom: {
 
- 			openEncryption: true,
 
- 			showLoading: false,
 
- 			auth: true
 
- 		}
 
- 	})
 
- }
 
- // 获取实习证书列表
 
- export const getEnterpriseCertificateList = async (data) => {
 
- 	return request({
 
- 		url: '/app-api/flames/student/internship/certificate/list',
 
- 		method: 'POST',
 
- 		data,
 
- 		custom: {
 
- 			openEncryption: true,
 
- 			showLoading: false,
 
- 			auth: true
 
- 		}
 
- 	})
 
- }
 
- // 获取学校详情
 
- export const getSchoolDetails = async (data) => {
 
- 	return request({
 
- 		url: '/app-api/flames/school/detail',
 
- 		method: 'POST',
 
- 		data,
 
- 		custom: {
 
- 			openEncryption: true,
 
- 			showLoading: false,
 
- 			auth: true
 
- 		}
 
- 	})
 
- }
 
- // 获得学生实习记录分页
 
- export const getStudentPage = async (params) => {
 
- 	return request({
 
- 		url: '/app-api/menduner/system/student/page',
 
- 		method: 'GET',
 
- 		params,
 
- 		custom: {
 
- 			auth: true
 
- 		}
 
- 	})
 
- }
 
- // 获得学生实习报告列表
 
- export const getStudentReportList = async (params) => {
 
- 	return request({
 
- 		url: '/app-api/menduner/system/student/get/report/list',
 
- 		method: 'GET',
 
- 		params,
 
- 		custom: {
 
- 			auth: true
 
- 		}
 
- 	})
 
- }
 
- // 保存学生实习报告
 
- export const saveStudentReport = async (data) => {
 
- 	return request({
 
- 		url: '/app-api/menduner/system/student/report/save',
 
- 		method: 'POST',
 
- 		data,
 
- 		custom: {
 
- 			openEncryption: true,
 
- 			showLoading: false,
 
- 			auth: true
 
- 		}
 
- 	})
 
- }
 
- // 获取学生实习的企业列表
 
- export const getStudentPracticeCompanyList = async () => {
 
- 	return request({
 
- 		url: '/app-api/menduner/system/student/record-enterprise/list',
 
- 		method: 'GET',
 
- 		custom: {
 
- 			auth: true
 
- 		}
 
- 	})
 
- }
 
- // 获取学校信息列表
 
- export const getSchoolList = async (params) => {
 
- 	return request({
 
- 		url: '/app-api/menduner/system/school/info/list',
 
- 		params,
 
- 		method: 'GET',
 
- 		custom: {
 
- 			auth: false
 
- 		}
 
- 	})
 
- }
 
- // 根据学校id获取院系列表
 
- export const getDepartmentListBySchoolId = async (params) => {
 
- 	return request({
 
- 		url: '/app-api/menduner/system/school/organization/list',
 
- 		params,
 
- 		method: 'GET',
 
- 		custom: {
 
- 			auth: false
 
- 		}
 
- 	})
 
- }
 
- // 获取专业列表
 
- export const getMajorList = async (params) => {
 
- 	return request({
 
-     url: '/app-api/menduner/system/major/list',
 
- 		params,
 
- 		method: 'GET',
 
- 		custom: {
 
- 			auth: false
 
- 		}
 
- 	})
 
- }
 
- // 上报实习企业
 
- export const reportStudentPracticeEnterprise = async (enterpriseId, internshipJobId) => {
 
- 	return request({
 
- 		url: `/app-api/menduner/system/student/internship/enterprise?enterpriseId=${enterpriseId}&internshipJobId=${internshipJobId}`,
 
- 		method: 'POST',
 
- 		custom: {
 
- 			auth: true
 
- 		}
 
- 	})
 
- }
 
 
  |