init
This commit is contained in:
56
src/api/quality-manage/detecRegistration.js
Normal file
56
src/api/quality-manage/detecRegistration.js
Normal file
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
* @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
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user