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.
45 lines
744 B
45 lines
744 B
|
3 months ago
|
import request from 'axios';
|
||
|
|
|
||
|
|
// 获取废水 废气 加药记录列表
|
||
|
|
export const getList = (current, size, params) => {
|
||
|
|
return request({
|
||
|
|
url: '/blade-desk/bsDosingRec/page',
|
||
|
|
method: 'get',
|
||
|
|
params: {
|
||
|
|
...params,
|
||
|
|
current,
|
||
|
|
size,
|
||
|
|
},
|
||
|
|
});
|
||
|
|
};
|
||
|
|
|
||
|
|
// 批量新增
|
||
|
|
export const add = row => {
|
||
|
|
return request({
|
||
|
|
url: '/blade-desk/bsDosingRec/saveList',
|
||
|
|
method: 'post',
|
||
|
|
data: row,
|
||
|
|
});
|
||
|
|
};
|
||
|
|
|
||
|
|
// 删除
|
||
|
|
export const remove = ids => {
|
||
|
|
return request({
|
||
|
|
url: '/blade-desk/bsDosingRec/remove',
|
||
|
|
method: 'post',
|
||
|
|
params: {
|
||
|
|
ids,
|
||
|
|
},
|
||
|
|
});
|
||
|
|
};
|
||
|
|
|
||
|
|
// 修改
|
||
|
|
export const update = row => {
|
||
|
|
return request({
|
||
|
|
url: '/blade-desk/bsDosingRec/update',
|
||
|
|
method: 'post',
|
||
|
|
data: row,
|
||
|
|
});
|
||
|
|
};
|
||
|
|
|