import request from '/@/utils/request';

/**
 * 查询聘用教师
 * @param query
 */
export const queryEmployTeacher = (query?: any) => {
	return request({
		url: '/professional/outercompanyemployee/queryEmployTeacher',
		method: 'get',
		params: query,
	});
};

/**
 * 新增聘用教师
 * @param obj
 */
export const addEmployTeacher = (obj: any) => {
	return request({
		url: '/professional/outercompanyemployee/addEmployTeacher',
		method: 'post',
		data: obj,
	});
};

/**
 * 删除聘用教师
 * @param obj
 */
export const delEmployTeacher = (obj: any) => {
	return request({
		url: '/professional/outercompanyemployee/delEmployTeacher',
		method: 'post',
		data: obj,
	});
};

/**
 * 编辑聘用教师
 * @param obj
 */
export const editEmployTeacher = (obj: any) => {
	return request({
		url: '/professional/outercompanyemployee/editEmployTeacher',
		method: 'post',
		data: obj,
	});
};

