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
775 B
45 lines
775 B
|
6 months ago
|
import request from '@/axios';
|
||
|
|
|
||
|
|
// 获取列表数据 bsCraftAbility/queryAllCa
|
||
|
|
export const getList = (current, size, params) => {
|
||
|
|
return request({
|
||
|
|
url: '/blade-desk/dsBatchPreservePlan/list',
|
||
|
|
method: 'get',
|
||
|
|
params: {
|
||
|
|
...params,
|
||
|
|
current,
|
||
|
|
size,
|
||
|
|
},
|
||
|
|
});
|
||
|
|
};
|
||
|
|
|
||
|
|
// 保存
|
||
|
|
export const add = row => {
|
||
|
|
return request({
|
||
|
|
url: '/blade-desk/dsBatchPreservePlan/save',
|
||
|
|
method: 'post',
|
||
|
|
data: row,
|
||
|
|
});
|
||
|
|
};
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
// 修改
|
||
|
|
export const update = row => {
|
||
|
|
return request({
|
||
|
|
url: '/blade-desk/dsBatchPreservePlan/update',
|
||
|
|
method: 'post',
|
||
|
|
data: row,
|
||
|
|
});
|
||
|
|
};
|
||
|
|
|
||
|
|
// 删除
|
||
|
|
export const remove = ids => {
|
||
|
|
return request({
|
||
|
|
url: '/blade-desk/dsBatchPreservePlan/remove',
|
||
|
|
method: 'post',
|
||
|
|
params: {
|
||
|
|
ids,
|
||
|
|
},
|
||
|
|
});
|
||
|
|
};
|