import request,{download,requestType} from "@/utils/request";
|
import {BaseEntityInterface} from "@/utils/globalInterface";
|
export interface VoucherSubjectFeeLogI extends BaseEntityInterface{
|
id ?: number , subjectId ?: number , createBy ?: string , createTime ?: string , operation ?: string }
|
|
|
/**
|
* 查询科目费用对照设置日志列表
|
*/
|
export const listVoucherSubjectFeeLog:requestType = (query) => {
|
return request({
|
url: '/cwgl/voucherSubjectFeeLog/list',
|
method:'get',
|
params:query
|
})
|
}
|
/**
|
* 查询科目费用对照设置日志详细
|
*/
|
export const getVoucherSubjectFeeLog:requestType = (id) => {
|
return request({
|
url: '/cwgl/voucherSubjectFeeLog/' + id,
|
method:'get'
|
})
|
}
|
|
/**
|
* 新增科目费用对照设置日志
|
*/
|
export const addVoucherSubjectFeeLog:requestType = (data) => {
|
return request({
|
url: '/cwgl/voucherSubjectFeeLog',
|
method: 'post',
|
data
|
})
|
}
|
|
/**
|
* 修改科目费用对照设置日志
|
*/
|
export const updateVoucherSubjectFeeLog:requestType = (data) => {
|
return request({
|
url: '/cwgl/voucherSubjectFeeLog',
|
method: 'put',
|
data
|
})
|
}
|
|
/**
|
* 删除科目费用对照设置日志
|
*/
|
export const delVoucherSubjectFeeLog:requestType = (id) => {
|
return request({
|
url: '/cwgl/voucherSubjectFeeLog/' + id,
|
method: 'delete'
|
})
|
}
|
|
|
/**
|
* 导出科目费用对照设置日志
|
*/
|
export const exportVoucherSubjectFeeLog:requestType = (query) => {
|
return new Promise<any>(()=>{
|
download('/cwgl/voucherSubjectFeeLog/export',query);
|
})
|
}
|