ZhangXianQiang
2024-04-19 cc6994a5858cd662f5904005bbbd9d34b712f76c
src/api/platform/work-order.js
@@ -9,6 +9,24 @@
  })
}
// 查询下发工单列表
export function distributeWorkOrder(query) {
  return request({
    url: '/work-order/distribute/page',
    method: 'post',
    data: query
  })
}
// 快速下发工单
export function fastDistribute(data) {
  return request({
    url: '/work-order/distribute/fast',
    method: 'post',
    data: data
  })
}
// 查询运维工单详细
export function getWorkOrder(id) {
  return request({
@@ -42,3 +60,45 @@
    method: 'delete'
  })
}
// 审核工单
export function auditing(data) {
  return request({
    url: '/work-order/auditing',
    method: 'put',
    data: data
  })
}
// 工单运维情况
export function ywCondition(data) {
  return request({
    url: '/work-order/yw-condition',
    method: 'put',
    data: data
  })
}
// 获取工单运维情况
export function getYwCondition(data) {
  return request({
    url: '/work-order/yw-condition/' + data,
    method: 'get'
  })
}
// 获取工单运维审核记录
export function getYwAuditingList(data) {
  return request({
    url: '/work-order/yw-auditing-list/' + data,
    method: 'get'
  })
}
// 获取工单运维情况记录
export function getYwConditionList(data) {
  return request({
    url: '/work-order/yw-condition-list/' + data,
    method: 'get'
  })
}