import { request } from '@/service/request';
|
|
|
/** 获取卷接机分析列表 */
|
export function fetchGetRollerSampleDataList (params?: Api.Qa.RollerDataSearchParams) {
|
return request<Api.Qa.RollerDataList>({
|
url: '/analy/roller/sampleList',
|
method: 'get',
|
params
|
});
|
}
|
|
|
/** 获取卷接机分析列表 */
|
export function fetchGetRollerDataList (params?: Api.Qa.RollerDataSearchParams) {
|
return request<Api.Qa.RollerDataList>({
|
url: '/analy/roller/list',
|
method: 'get',
|
params
|
});
|
}
|
/** 新增卷接机分析 */
|
export function fetchCreateRollerData (data: Api.Qa.RollerDataOperateParams) {
|
return request<boolean>({
|
url: '/analy/roller',
|
method: 'post',
|
data
|
});
|
}
|
|
/** 修改卷接机分析 */
|
export function fetchUpdateRollerData (data: Api.Qa.RollerDataOperateParams) {
|
return request<boolean>({
|
url: '/analy/roller',
|
method: 'put',
|
data
|
});
|
}
|
|
/** 批量删除卷接机分析 */
|
export function fetchBatchDeleteRollerData (times: CommonType.IdType[]) {
|
return request<boolean>({
|
url: `/analy/roller/${times.join(',')}`,
|
method: 'delete'
|
});
|
}
|