import request,{download,requestType} from "@/utils/request";
|
import {BaseEntityInterface} from "@/utils/globalInterface";
|
export interface DispatchFeeSummaryViLogI extends BaseEntityInterface{
|
id ?: number , headId ?: number , createBy ?: string , createTime ?: string , notes ?: string }
|
|
|
/**
|
* 查询派车台账备注记录列表
|
*/
|
export const listDispatchFeeSummaryViLog:requestType = (query) => {
|
return request({
|
url: '/tms/dispatchFeeSummaryViLog/list',
|
method:'get',
|
params:query
|
})
|
}
|
/**
|
* 查询派车台账备注记录详细
|
*/
|
export const getDispatchFeeSummaryViLog:requestType = (id) => {
|
return request({
|
url: '/tms/dispatchFeeSummaryViLog/' + id,
|
method:'get'
|
})
|
}
|
|
/**
|
* 新增派车台账备注记录
|
*/
|
export const addDispatchFeeSummaryViLog:requestType = (data) => {
|
return request({
|
url: '/tms/dispatchFeeSummaryViLog',
|
method: 'post',
|
data
|
})
|
}
|
|
/**
|
* 修改派车台账备注记录
|
*/
|
export const updateDispatchFeeSummaryViLog:requestType = (data) => {
|
return request({
|
url: '/tms/dispatchFeeSummaryViLog',
|
method: 'put',
|
data
|
})
|
}
|
|
/**
|
* 删除派车台账备注记录
|
*/
|
export const delDispatchFeeSummaryViLog:requestType = (id) => {
|
return request({
|
url: '/tms/dispatchFeeSummaryViLog/' + id,
|
method: 'delete'
|
})
|
}
|
|
|
/**
|
* 导出派车台账备注记录
|
*/
|
export const exportDispatchFeeSummaryViLog:requestType = (query) => {
|
return new Promise<any>(()=>{
|
download('/tms/dispatchFeeSummaryViLog/export',query);
|
})
|
}
|