yudao-dev/src/api/base/qualityInspectionDet.js
‘937886381’ 3c99ddc4c0 修改bug
2023-11-22 14:00:02 +08:00

70 lines
1.5 KiB
JavaScript

/*
* @Author: zhp
* @Date: 2023-10-17 09:26:38
* @LastEditTime: 2023-11-20 15:50:08
* @LastEditors: zhp
* @Description:
*/
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'
})
}
export function getQualityInspectionDetList(query) {
return request({
url: '/base/quality-inspection-det/listAll',
method: 'get',
params: query
})
}