import request from '@/utils/request';

// 工伤企业列表
export async function injuryenterpriselist(data) {
  return request({
    path: '/injury/enterprise/list',
    data,
    type: 'get',
  });
}
export async function injuryenterprisequery(data) {
  return request({
    path: '/injury/enterprise/query',
    data,
    type: 'get',
  });
}
export async function injuryHospitalList(data) {
  return request({
    path: '/injury/hospital/list',
    data,
    type: 'get',
  });
}
export async function injuryEnterpriseEarlyWarningChange(data) {
  return request({
    path: '/injury/enterprise/early/warning/change',
    data,
    type: 'post',
  });
}
export async function declarationlist(data) {
  return request({
    path: '/injury/declaration/list',
    data,
    type: 'get',
  });
}
export async function declarationstatistics(data) {
  return request({
    path: '/injury/declaration/statistics',
    data,
    type: 'get',
  });
}
export async function declarationquery(data) {
  return request({
    path: '/injury/declaration/query',
    data,
    type: 'get',
  });
}
export async function declarationUpdate(data) {
  return request({
    path: '/injury/declaration/update',
    data,
    type: 'post',
  });
}
export async function declarationCreate(data) {
  return request({
    path: '/injury/declaration/create',
    data,
    type: 'post',
  });
}
export async function notificationlist(data) {
  return request({
    path: '/injury/notification/list',
    data,
    type: 'get',
  });
}
export async function notificationstatistics(data) {
  return request({
    path: '/injury/notification/statistics',
    data,
    type: 'get',
  });
}
export async function notificationquery(data) {
  return request({
    path: '/injury/notification/query',
    data,
    type: 'get',
  });
}
export async function notificationcorrective(data) {
  return request({
    path: '/injury/notification/corrective',
    data,
    type: 'post',
  });
}
export async function notificationsubmit(data) {
  return request({
    path: '/injury/notification/submit',
    data,
    type: 'post',
  });
}
export async function notificationcheck(data) {
  return request({
    path: '/injury/notification/check',
    data,
    type: 'post',
  });
}
export async function revocationapply(data) {
  return request({
    path: '/injury/declaration/revocation/apply',
    data,
    type: 'post',
  });
}
