中航光电热表web
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.

58 lines
1.1 KiB

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,
});
};
3 months ago
// 根据角色ID获取加药人列表
export const getDosingManList = (data) => {
return request({
url: '/api/blade-system/user/page',
method: 'get',
params: {
status: 1, // 固定状态为1(启用)
current: data.current || 1, // 页码,默认1
size: data.size || 10000000,
deptId: data.deptId || '',
roleId: data.roleId || ''
}
})
}