维护系统->检查方法前端页面优化、接口功能完善(搜索栏和导出表格未处理),后端接口优化。
This commit is contained in:
@@ -46,12 +46,38 @@ export function delCheckType(checkTypeId) {
|
||||
// 查询检查方法列表
|
||||
export function listCheckMethod(query) {
|
||||
return request({
|
||||
url: '/system/check-method/list',
|
||||
url: '/check/method/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 新增检查方法
|
||||
export function addCheckMethod(data) {
|
||||
return request({
|
||||
url: '/check/method/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改检查方法
|
||||
export function updateCheckMethod(data) {
|
||||
return request({
|
||||
url: '/check/method/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除检查方法
|
||||
export function delCheckMethod(checkMethodId) {
|
||||
return request({
|
||||
url: '/check/method/delete/' + checkMethodId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 查询检查部位列表
|
||||
export function listCheckPart(query) {
|
||||
return request({
|
||||
|
||||
Reference in New Issue
Block a user