yudao-dev/src/api/base/qualityInspectionDet.js

55 lines
1.2 KiB
JavaScript
Raw Normal View History

2023-07-27 15:16:13 +08:00
import request from '@/utils/request'
// 创建质量检测信息基础
export function createQualityInspectionDet(data) {
return request({
url: '/base/quality-inspection-det/create',
method: 'post',
data: data
})
}
// 更新质量检测信息基础
export function updateQualityInspectionDet(data) {
return request({
url: '/base/quality-inspection-det/update',
method: 'put',
data: data
})
}
// 删除质量检测信息基础
export function deleteQualityInspectionDet(id) {
return request({
url: '/base/quality-inspection-det/delete?id=' + id,
method: 'delete'
})
}
// 获得质量检测信息基础
export function getQualityInspectionDet(id) {
return request({
url: '/base/quality-inspection-det/get?id=' + id,
method: 'get'
})
}
// 获得质量检测信息基础分页
export function getQualityInspectionDetPage(query) {
return request({
url: '/base/quality-inspection-det/page',
method: 'get',
params: query
})
}
// 导出质量检测信息基础 Excel
export function exportQualityInspectionDetExcel(query) {
return request({
url: '/base/quality-inspection-det/export-excel',
method: 'get',
params: query,
responseType: 'blob'
})
}