import { HcApi } from '../../../request/index'

//合同段下拉框
export const getContractList = (form, msg = true) => HcApi({
    url: '/api/blade-business/trial/summary/contract/list',
    method: 'get',
    params: form,
}, msg)

//汇总分类列表
export const getSummaryList = (form, msg = true) => HcApi({
    url: '/api//blade-business/trial/summary/list',
    method: 'get',
    params: form,
}, msg)

//分页查询
export const getPage = (form, msg = true) => HcApi({
    url: '/api/blade-business/trial/summary/page',
    method: 'post',
    data: form,
}, msg)

//删除
export const removeByIds = (form, msg = true) => HcApi({
    url: '/api//blade-business/trial/summary/remove',
    method: 'post',
    params: form,
}, msg)

//新增
export const save = (form, msg = true) => HcApi({
    url: '/api/blade-business/trial/summary/save',
    method: 'post',
    data: form,
}, msg)
//下载
export const download = (form, msg = true) => HcApi({
    url: '/api/blade-business/trial/summary/download',
    method: 'get',
    params: form,
}, msg)


