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.
336 lines
6.4 KiB
336 lines
6.4 KiB
import request from '@/axios'; |
|
|
|
|
|
|
|
|
|
export const getList = (current, size, params) => { |
|
return request({ |
|
url: '/api/logpm-aftersales/aftersalesWorkOrder/list', |
|
method: 'get', |
|
params: { |
|
...params, |
|
current, |
|
size, |
|
} |
|
}) |
|
} |
|
|
|
export const getDetail = (id) => { |
|
return request({ |
|
url: '/api/logpm-aftersales/aftersalesWorkOrder/detail', |
|
method: 'get', |
|
params: { |
|
id |
|
} |
|
}) |
|
} |
|
|
|
|
|
export const getProcessor = (current, size, params) => { |
|
return request({ |
|
url: '/api/logpm-aftersales/aftersalesWorkOrder/pendingWorkOrder', |
|
method: 'get', |
|
params: { |
|
...params, |
|
current, |
|
size, |
|
} |
|
}) |
|
} |
|
|
|
export const remove = (ids) => { |
|
return request({ |
|
url: '/api/logpm-aftersales/aftersalesWorkOrder/remove', |
|
method: 'post', |
|
params: { |
|
ids, |
|
} |
|
}) |
|
} |
|
|
|
export const add = (row) => { |
|
return request({ |
|
url: '/api/logpm-aftersales/aftersalesWorkOrder/submit', |
|
method: 'post', |
|
data: row |
|
}) |
|
} |
|
/** |
|
* 完结异常工单 |
|
* @param row |
|
* @returns {*} |
|
*/ |
|
export const addCompletionEnd = (row) => { |
|
return request({ |
|
url: '/api/logpm-aftersales/aftersalesWorkOrder/addCompletionEnd', |
|
method: 'post', |
|
data: row |
|
}) |
|
} |
|
|
|
export const update = (row) => { |
|
return request({ |
|
url: '/api/logpm-aftersales/aftersalesWorkOrder/submit', |
|
method: 'post', |
|
data: row |
|
}) |
|
} |
|
|
|
// 表格初始化 |
|
export const $_getList = (params) => { |
|
return request({ |
|
url: '/api/logpm-aftersales/aftersalesWorkOrder/listOwn', //listOwn |
|
method: 'get', |
|
params |
|
}) |
|
} |
|
|
|
|
|
// 首页工单新增 |
|
export const $_submit = (data) => { |
|
return request({ |
|
url: '/api/logpm-aftersales/aftersalesWorkOrder/submit', |
|
method: 'post', |
|
data |
|
}) |
|
} |
|
|
|
// 首页查看详情 |
|
export const $_getDetail = (params) => { |
|
return request({ |
|
url: '/api/logpm-aftersales/aftersalesWorkOrder/detail', |
|
method: 'get', |
|
params |
|
}) |
|
} |
|
// 首页删除 |
|
export const $_remove = (params) => { |
|
return request({ |
|
url: '/api/logpm-aftersales/aftersalesWorkOrder/remove', |
|
method: 'post', |
|
params |
|
}) |
|
} |
|
|
|
// 处理方数据 |
|
export const $_getProcessor = (params) => { |
|
return request({ |
|
url: '/api/logpm-aftersales/aftersalesWorkOrder/pendingWorkOrder', |
|
method: 'get', |
|
params |
|
}) |
|
} |
|
|
|
// 添加回复 |
|
export const $_AddReply = (data) => { |
|
return request({ |
|
url: '/api/logpm-aftersales/aftersalesExchange/submit', |
|
method: 'post', |
|
data |
|
}) |
|
} |
|
// 查看消息 |
|
export const $_getExchangeList = (params) => { |
|
return request({ |
|
url: '/api/logpm-aftersales/aftersalesExchange/exchangeList', |
|
method: 'get', |
|
params |
|
}) |
|
} |
|
|
|
// ID查询信息 |
|
export const $_getInfo = (params) => { |
|
return request({ |
|
url: '/api/logpm-aftersales/aftersalesWorkOrder/getProcessingResults', |
|
method: 'get', |
|
params |
|
}) |
|
} |
|
|
|
// 添加移除记录 |
|
export const $_addSubmit = (data) => { |
|
return request({ |
|
url: '/api/logpm-aftersales/aftersalesProcessingResults/submit', |
|
method: 'post', |
|
data |
|
}) |
|
} |
|
|
|
// 批量打回 |
|
export const $_batchReturn = (data) => { |
|
return request({ |
|
url: '/api/logpm-aftersales/aftersalesReturnRecord/batchRepulse', |
|
method: 'post', |
|
data |
|
}) |
|
} |
|
|
|
// 工单指派接口 |
|
export const $_assignCustomerService = (data) => { |
|
return request({ |
|
url: '/api/logpm-aftersales/aftersalesWorkOrder/assignCustomerService', |
|
method: 'post', |
|
data |
|
}) |
|
} |
|
|
|
|
|
|
|
// 客服列表 |
|
export const $_getCustomerServicePersonnel = (params) => { |
|
return request({ |
|
url: '/api/logpm-aftersales/aftersalesWorkOrder/getCustomerServicePersonnel', |
|
method: 'get', |
|
params |
|
}) |
|
} |
|
|
|
// 仲裁申请 |
|
export const $_arbitrate = (data) => { |
|
return request({ |
|
url: '/api/logpm-aftersales/aftersalesWorkOrder/arbitrate', |
|
method: 'post', |
|
data |
|
}) |
|
} |
|
|
|
|
|
// 工单完结 |
|
export const $_addCompletionEnd = (data) => { |
|
return request({ |
|
url: '/api/logpm-aftersales/aftersalesWorkOrder/addCompletionEnd', |
|
method: 'post', |
|
data |
|
}) |
|
} |
|
|
|
// 获取责任人 |
|
export const $_getBusinessDepartmentUser = (params) => { |
|
return request({ |
|
url: '/api/logpm-aftersales/aftersalesWorkOrder/getBusinessDepartmentUser', |
|
method: 'get', |
|
params |
|
}) |
|
} |
|
|
|
|
|
// 回复调查接口 |
|
export const $_savaSurveyRecord = (data) => { |
|
return request({ |
|
url: '/api/logpm-aftersales/aftersalesWorkOrder/savaSurveyRecord ', |
|
method: 'post', |
|
data |
|
}) |
|
} |
|
|
|
|
|
// 提交异常工单处理结果 |
|
export const $_addProcessingResults = (data) => { |
|
return request({ |
|
url: '/api/logpm-aftersales/aftersalesWorkOrder/addProcessingResults', |
|
method: 'post', |
|
data |
|
}) |
|
} |
|
|
|
|
|
|
|
// 获取回复记录 |
|
export const $_getSurveyRecord = (params) => { |
|
return request({ |
|
url: '/api/logpm-aftersales/aftersalesWorkOrder/getSurveyRecord', |
|
method: 'get', |
|
params |
|
}) |
|
} |
|
|
|
// 工单申诉 |
|
|
|
|
|
export const $_appealSubmit = (data) => { |
|
return request({ |
|
url: '/api/logpm-aftersales/aftersalesAppeal/submit', |
|
method: 'post', |
|
data |
|
}) |
|
} |
|
|
|
|
|
|
|
// 查询理赔数据 |
|
export const $_listSettlement = (params) => { |
|
return request({ |
|
url: '/api/logpm-aftersales/aftersalesWorkOrder/listSettlement', |
|
method: 'get', |
|
params |
|
}) |
|
} |
|
|
|
// 查询包件信息 |
|
export const $_getAbnormalPackage = (params) => { |
|
return request({ |
|
url: '/api/logpm-aftersales/aftersalesAbnormalPackage/getAbnormalPackage', |
|
method: 'get', |
|
params |
|
}) |
|
} |
|
|
|
//查询申述数据 |
|
export const $_listAppeal = (params) => { |
|
return request({ |
|
url: '/api/logpm-aftersales/aftersalesAppeal/listAppeal', |
|
method: 'get', |
|
params |
|
}) |
|
} |
|
|
|
|
|
|
|
// 查询超时记录 |
|
export const $_listOwn = (params) => { |
|
return request({ |
|
url: '/api/logpm-aftersales/aftersalesOvertimeFine/listOwn', |
|
method: 'get', |
|
params |
|
}) |
|
} |
|
|
|
|
|
|
|
// 修改超时记录金额 |
|
export const $_moneyUpdate = (data) => { |
|
return request({ |
|
url: '/api/logpm-aftersales/aftersalesOvertimeFine/update', |
|
method: 'post', |
|
data |
|
}) |
|
} |
|
|
|
// 客服仲裁完结 |
|
export const $_arbitrateEnd = (data) => { |
|
return request({ |
|
url: '/api/logpm-aftersales/aftersalesWorkOrder/arbitrateEnd', |
|
method: 'post', |
|
data |
|
}) |
|
} |
|
|
|
// 查询处理记录 |
|
export const $_getTrackRecord = (params) => { |
|
return request({ |
|
url: '/api/logpm-aftersales/aftersalesWorkOrder/getTrackRecord', |
|
method: 'get', |
|
params |
|
}) |
|
} |
|
|
|
|
|
|
|
// 修改工单数据 |
|
export const $_modifyData = (data) => { |
|
return request({ |
|
url: '/api/logpm-aftersales/aftersalesWorkOrder/submit', |
|
method: 'post', |
|
data |
|
}) |
|
} |