refactor: 移除测试模块相关代码并完善物料管理查询功能
移除不再使用的测试模块路由、API和视图组件 在物料管理页面添加物料编码、名称和分类的查询条件
This commit is contained in:
@@ -1,44 +0,0 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询测试模块列表
|
||||
export function listTestModule(query) {
|
||||
return request({
|
||||
url: '/testModule/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询测试模块详细
|
||||
export function getTestModule(id) {
|
||||
return request({
|
||||
url: '/testModule/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增测试模块
|
||||
export function addTestModule(data) {
|
||||
return request({
|
||||
url: '/testModule/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改测试模块
|
||||
export function updateTestModule(data) {
|
||||
return request({
|
||||
url: '/testModule/edit',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除测试模块
|
||||
export function delTestModule(id) {
|
||||
return request({
|
||||
url: '/testModule/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user