维护系统->检查方法前端页面优化、接口功能完善(搜索栏和导出表格未处理),后端接口优化。

This commit is contained in:
qk123
2025-12-03 16:00:24 +08:00
parent 601ae40666
commit b3c27ec789
6 changed files with 242 additions and 145 deletions

View File

@@ -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({