You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
759 B
48 lines
759 B
|
4 months ago
|
import request from 'axios';
|
||
|
|
|
||
|
|
// 获取列表
|
||
|
|
export const getList = (current, size, params) => {
|
||
|
|
return request({
|
||
|
|
url: '/blade-desk/bsEpciuInspectionPoint/page',
|
||
|
|
method: 'get',
|
||
|
|
params: {
|
||
|
|
...params,
|
||
|
|
current,
|
||
|
|
size,
|
||
|
|
},
|
||
|
|
});
|
||
|
|
};
|
||
|
|
|
||
|
|
// 新增
|
||
|
|
export const add = row => {
|
||
|
|
return request({
|
||
|
|
url: '/blade-desk/bsEpciuInspectionPoint/saveList',
|
||
|
|
method: 'post',
|
||
|
|
data: row,
|
||
|
|
});
|
||
|
|
};
|
||
|
|
|
||
|
|
// 删除
|
||
|
|
export const remove = ids => {
|
||
|
|
return request({
|
||
|
|
url: '/blade-desk/bsEpciuInspectionPoint/remove',
|
||
|
|
method: 'post',
|
||
|
|
params: {
|
||
|
|
ids,
|
||
|
|
},
|
||
|
|
});
|
||
|
|
};
|
||
|
|
|
||
|
|
// 修改
|
||
|
|
export const update = row => {
|
||
|
|
return request({
|
||
|
|
url: '/blade-desk/bsEpciuInspectionPoint/update',
|
||
|
|
method: 'post',
|
||
|
|
data: row,
|
||
|
|
});
|
||
|
|
};
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|