检测项

This commit is contained in:
JinLu.Yin
2022-05-17 22:01:51 +08:00
parent a10bbcc09f
commit a90e521d3f
2 changed files with 410 additions and 0 deletions

44
src/api/mes/qc/qcindex.js Normal file
View File

@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询检测项列表
export function listQcindex(query) {
return request({
url: '/mes/qc/qcindex/list',
method: 'get',
params: query
})
}
// 查询检测项详细
export function getQcindex(indexId) {
return request({
url: '/mes/qc/qcindex/' + indexId,
method: 'get'
})
}
// 新增检测项
export function addQcindex(data) {
return request({
url: '/mes/qc/qcindex',
method: 'post',
data: data
})
}
// 修改检测项
export function updateQcindex(data) {
return request({
url: '/mes/qc/qcindex',
method: 'put',
data: data
})
}
// 删除检测项
export function delQcindex(indexId) {
return request({
url: '/mes/qc/qcindex/' + indexId,
method: 'delete'
})
}