src/api/platform/work-order.js
@@ -97,6 +97,17 @@
  })
}
export function ywConditionList(data){
  return request({
    url: '/work-order/yw-condition-list',
    method: 'put',
    data: data
  })
}
// 获取工单运维情况
export function getYwCondition(data) {
  return request({
@@ -136,3 +147,31 @@
    method: 'get'
  })
}
// 检测工单
export function checkWorkOrder(query) {
  return request({
    url: '/work-order/check',
    method: 'get',
    params: query,
    timeout: 120 * 1000,
  })
}
// 批量删除工单
export function batchDelWorkOrder(data) {
  return request({
    url: '/work-order/batchDelete',
    method: 'delete',
    data: data
  })
}
// 故障类型列表
export function errorTypeAll(data) {
  return request({
    url: '/work-order/errorType/list',
    method: 'get',
  })
}