You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
828 B
23 lines
828 B
import http from 'apis/axios';
|
|
|
|
const apiUrl = import.meta.env.VITE_API_URL;
|
|
const ptccsens = `${apiUrl}/ptccsens/v1.0`;
|
|
const finance = `${ptccsens}/finance`;
|
|
|
|
// 发起申请
|
|
export const apply = params => http.post(`${finance}/apply`, params);
|
|
|
|
// 审批
|
|
export const audit = params => http.post(`${finance}/audit`, params);
|
|
|
|
// 查询申请详情
|
|
export const getApplyDetail = params => http.post(`${finance}/getApplyDetail`, params);
|
|
|
|
// 通过任务id查看任务关联的财务信息
|
|
export const getByTask = params => http.post(`${finance}/getByTask`, params);
|
|
|
|
// 查看当前用户的费用申请历史信息(奖金)
|
|
export const personalHistory = params => http.post(`${finance}/personalHistory`, params);
|
|
|
|
// 查询费用申请类型
|
|
export const queryType = params => http.post(`${finance}/queryType`, params);
|
|
|