import request from '@/utils/request';

// 系统字典
export async function checkTablelist(data) {
  return request({
    path: '/risk/risk/checkTable/list',
    data,
    type: 'get',
  });
}

export async function checkTablequery(data) {
  return request({
    path: '/risk/risk/checkTable/query',
    data,
    type: 'get',
  });
}

export async function hiddenentlist(data) {
  return request({
    path: '/risk/risk/hidden/ent/list',
    data,
    type: 'get',
  });
}

export async function hiddenentquery(data) {
  return request({
    path: '/risk/risk/hidden/ent/query',
    data,
    type: 'get',
  });
}

export async function examinelist(data) {
  return request({
    path: '/risk/risk/hidden/examine/list',
    data,
    type: 'get',
  });
}

export async function examinequery(data) {
  return request({
    path: '/risk/risk/hidden/examine/query',
    data,
    type: 'get',
  });
}

export async function examinedelete(data) {
  return request({
    path: '/risk/risk/hidden/examine/delete',
    data,
    type: 'post',
  });
}

export async function correctivecheck(data) {
  return request({
    path: '/risk/risk/hidden/corrective/check',
    data,
    type: 'post',
  });
}

export async function correctivesubmit(data) {
  return request({
    path: '/risk/risk/hidden/corrective/submit',
    data,
    type: 'post',
  });
}

export async function examinecreate(data) {
  return request({
    path: '/risk/risk/hidden/examine/create',
    data,
    type: 'post',
  });
}

export async function examineupdate(data) {
  return request({
    path: '/risk/risk/hidden/examine/update',
    data,
    type: 'post',
  });
}

export async function sheetlist(data) {
  return request({
    path: '/risk/risk/task/sheet/list',
    data,
    type: 'get',
  });
}

export async function sheetquery(data) {
  return request({
    path: '/risk/risk/task/sheet/query',
    data,
    type: 'get',
  });
}

export async function hiddentasklist(data) {
  return request({
    path: '/risk/risk/hidden/task/list',
    data,
    type: 'get',
  });
}

export async function hiddentaskdelete(data) {
  return request({
    path: '/risk/risk/hidden/task/delete',
    data,
    type: 'post',
  });
}

export async function sheetcheck(data) {
  return request({
    path: '/risk/risk/task/sheet/check',
    data,
    type: 'post',
  });
}

export async function sheetsubmit(data) {
  return request({
    path: '/risk/risk/task/sheet/submit',
    data,
    type: 'post',
  });
}

export async function sheetclose(data) {
  return request({
    path: '/risk/risk/task/sheet/close',
    data,
    type: 'post',
  });
}

export async function taskExamineCombobox(data) {
  return request({
    path: '/risk/risk/task/examine/combobox',
    data,
    type: 'get',
  });
}

export async function hiddenTaskBatch(data) {
  return request({
    path: '/risk/risk/hidden/task/batch',
    data,
    type: 'post',
  });
}

export async function hiddenTaskDelete(data) {
  return request({
    path: '/risk/risk/hidden/task/delete',
    data,
    type: 'post',
  });
}

export async function taskExamineQuery(data) {
  return request({
    path: '/risk/risk/task/examine/query',
    data,
    type: 'get',
  });
}

export async function taskExamineExist(data) {
  return request({
    path: '/risk/risk/task/examine/exist',
    data,
    type: 'post',
  });
}

export async function hiddenlibraryex(data) {
  return request({
    path: '/risk/combobox/hidden/library/ex',
    data,
    type: 'get',
  });
}

export async function taskPerson(data) {
  return request({
    path: '/risk/risk/task/person',
    data,
    type: 'get',
  });
}

export async function taskSheetUpdate(data) {
  return request({
    path: '/risk/risk/task/sheet/update',
    data,
    type: 'post',
  });
}
