import $http from '../index'

// 项目列表
export const Purchase_List = (params: any) => $http.post('/storage/Purchase/List', params)
// 审批
export const Purchase_Approval = (params: any) => $http.post('/storage/Purchase/Approval', params)
// 我的项目
export const Purchase_User_list = (params: any) => $http.post('/storage/Purchase/User_list', params)
// 详情
export const Purchase_Get = (params: any) => $http.post('/storage/Purchase/Get', params)
// 立项申请
export const Purchase_Add = (params: any) => $http.post('/storage/Purchase/Add', params)
// 编辑
export const Purchase_Edit = (params: any) => $http.post('/storage/Purchase/Edit', params)
// 删除
export const Purchase_Del = (params: any) => $http.post('/storage/Purchase/Del', params)
export const Purchase_Audit_List = (params: any) => $http.post('/storage/Purchase/Audit_List', params)
export const Purchase_Excel = (params: any) => $http.post('/storage/Purchase/Excel', params)
export const Purchase_Stat_Excel = (params: any) => $http.post('/storage/Purchase/Stat_Excel', params, { responseType: 'blob' })
export const Purchase_Apply_User_List = (params: any) => $http.post('/storage/Purchase/User/list', params, { responseType: 'blob' })
