123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143 |
- 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
- })
- }
- // 获取机构分页
- export const getOrganizationPage = async (params) => {
- return await request.get({
- url: '/app-api/menduner/system/teacher/school/organization/page',
- params
- })
- }
- // 获取机构列表
- export const getOrganizationList = async (params) => {
- return await request.get({
- url: '/app-api/menduner/system/teacher/school/organization/list',
- params
- })
- }
- // 获取机构树状结构
- export const getOrganizationTree = async (params) => {
- return await request.get({
- url: '/app-api/menduner/system/teacher/school/organization/get/tree',
- params
- })
- }
- // 创建机构
- export const createOrganization = async (data) => {
- return await request.post({
- url: '/app-api/menduner/system/teacher/school/organization/create',
- data
- })
- }
- // 更新机构
- export const updateOrganization = async (data) => {
- return await request.post({
- url: '/app-api/menduner/system/teacher/school/organization/update',
- data
- })
- }
- // 删除机构
- export const deleteOrganization = async (id) => {
- return await request.post({
- url: '/app-api/menduner/system/teacher/school/delete?id=' + id
- })
- }
|