57 lines
1.3 KiB
JavaScript
57 lines
1.3 KiB
JavaScript
/*
|
|
* @Author: zwq
|
|
* @Date: 2020-12-29 16:00:14
|
|
* @LastEditors: Please set LastEditors
|
|
* @LastEditTime: 2021-05-25 15:57:55
|
|
* @Description:
|
|
*/
|
|
import request from '@/utils/request'
|
|
|
|
export function detecRegistrationList(data) { // 获取检测登记列表
|
|
return request({
|
|
url: '/quality/offline-detec-register/page',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
export function detecRegistrationDetail(id) { // 获取检测登记单条数据
|
|
return request({
|
|
url: '/quality/offline-detec-register/findById',
|
|
method: 'post',
|
|
data: { id }
|
|
})
|
|
}
|
|
|
|
export function detecRegistrationUpdate(data) { // 更新检测登记单条数据
|
|
return request({
|
|
url: '/quality/offline-detec-register/update',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
export function detecRegistrationAdd(data) { // 新增检测登记单条数据
|
|
return request({
|
|
url: '/quality/offline-detec-register/create',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
export function detecRegistrationDelete(id) { // 删除检测登记单条数据
|
|
return request({
|
|
url: '/quality/offline-detec-register/delete',
|
|
method: 'post',
|
|
data: { id }
|
|
})
|
|
}
|
|
|
|
export function getDetecRegistrationList(data) { // 获取检测登记列表
|
|
return request({
|
|
url: '/quality/offline-detec-register/page',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|