import { TChkrptDetailModel } from '@/types'
import request from '@/until/request'



/**
* 编辑拷机报告明细
* @param data TChkrptDetailModel
*/
const EditTCheckDetail = (data: TChkrptDetailModel) =>
    request({
        url: '/TChkrptAction/updateTChkrptDetail',
        method: 'post',
        data: data
    })

    /**
* 删除TCheckDetail
* @param id number
*/
const DelteTCheckDetail = (id: number) =>
    request({
        url: '/TCheckDetailAction/deleteTCheckDetail/'+id,
        method: 'get',
    })
export default {
    EditTCheckDetail,
    DelteTCheckDetail
}