mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 11:26:45 +08:00
63 lines
3.8 KiB
JavaScript
63 lines
3.8 KiB
JavaScript
import http from "./config";
|
|
//内部授课页面 -- 讲师费详情
|
|
export const getExpenseByCourseId = (obj) => http.get('/admin/teacherExpense/getExpenseByCourseId', {params: obj})
|
|
// 获取讲师费列表
|
|
export const getTeacherFeeList = (obj) => http.get('/admin/teacherExpense/list', {params: obj})
|
|
//获取讲师费详情
|
|
export const getTeacherFeeDetail= (obj) => http.get('/admin/teacherExpense/queryById',{params: obj})
|
|
//查看详情讲师费审批
|
|
export const getListByTeacherExpenseId= (teacherExpenseId) => http.post(`/admin/approval/getListByTeacherExpenseId?teacherExpenseId=${teacherExpenseId}`)
|
|
//添加讲师费
|
|
export const addTeacherFee= (obj) => http.post('/admin/teacherExpense/addTeacherExpense',obj)
|
|
//删除讲师费
|
|
export const deleteInTeacher= (obj) => http.post(`/admin/teacher/delByIdr?id=${obj}`)
|
|
//修改讲师费信息
|
|
export const updateTeacherFee= (obj) => http.post('/admin/teacherExpense/editTeacherExpense',obj)
|
|
//修改讲师费状态提交/admin/expenseBill
|
|
export const updateStatusSubmit= (obj) => http.post('/admin/teacherExpense/confirm',obj)
|
|
//修改讲师费状态撤回
|
|
export const approveTeacherFee= (obj) => http.post('/admin/teacherExpense/withdraw',obj)
|
|
//讲师费汇总审批列表
|
|
export const expenseBillList= (obj) => http.get('/admin/expenseBill/list',{params: obj})
|
|
//讲师费汇总审批详情
|
|
export const queryById= (obj) => http.get('/admin/expenseBill/queryById',{params: obj})
|
|
//移除讲师费
|
|
export const withdrawRecord= (obj) => http.post('/admin/expenseBill/withdrawRecord',obj)
|
|
//确认讲师费
|
|
export const confirm= (obj) => http.post('/admin/teacherExpense/confirm',obj)
|
|
//获取培训发生组织列表
|
|
export const getTrainOrg= (obj) => http.get('/admin/affiliation/list',{params: obj})
|
|
//获取资源归属所有
|
|
export const getParentAapprovallist= (obj) => http.get('/admin/affiliation/getParentAapprovallist',{params: obj})
|
|
// 根据发生组织查询汇总的讲师费数据(一键确认弹框使用)
|
|
export const getListByIds= (obj) => http.get('/admin/teacherExpense/getListByIds',{params: obj})
|
|
//根据发生组织查询汇总的数据(一键确认弹框使用)
|
|
export const getListByAffiliation= (obj) => http.get('/admin/teacherExpense/getListByAffiliation',{params: obj})
|
|
|
|
|
|
//获取讲师级别
|
|
export const getTeacherLevel= (obj) => http.post('/teacher/fee/getTeacherLevel',obj)
|
|
//列表查看讲师费审批(用于讲师费管理查看讲师费详情里面)
|
|
export const getTeacherFeeApprovalList= (obj) => http.post('/teacher/fee/getTeacherFeeApprovalList',obj)
|
|
//列表查看讲师费统计
|
|
export const queryTeacherFeeTotalList= (obj) => http.post('/teacher/fee/queryTeacherFeeTotalList',obj)
|
|
//汇总上月讲师费
|
|
export const getPreviousTeacherFee= (obj) => http.post('/teacher/fee/getPreviousTeacherFee',obj)
|
|
//汇总上月讲师费月度数据
|
|
export const CreateMonthSummary= (obj) => http.post('/admin/expenseSummary/createMonthSummary',obj)
|
|
//是否显示重汇按钮
|
|
export const isShowReimport= () => http.get('/admin/expenseSummary/isAdmin')
|
|
//讲师费统计列表
|
|
export const expenseSummaryList= (obj) => http.get('/admin/expenseSummary/list',{params:obj})
|
|
//提交/撤回
|
|
export const isConfirm= (obj) => http.post('/admin/expenseBill/isConfirm',obj)
|
|
//汇总讲师费审批数据
|
|
export const CreateSummary= () => http.post('/admin/expenseBill/CreateSummary')
|
|
//审批列表中编辑讲师费审批弹框-查询讲师费
|
|
export const queryExpnseByBillId= (obj) => http.get('/admin/expenseBill/queryExpnseByBillId',{params:obj})
|
|
//
|
|
export const CreateSummaryAgain= (id) => http.post(`/admin/expenseBill/createSummaryAgain?billId=${id}`)
|
|
//删除 费用审批删除
|
|
export const expenseBillDelById = (id)=>http.post(`/admin/expenseBill/delById?id=${id}`)
|
|
//
|
|
export const submitApproval= (obj) => http.post('/admin/expenseBill/submitApproval',obj) |