沈丘营商办后台前端项目
wjt
2024-06-19 d5458eb28c1da630004b7679601bfd5474cd924d
src/api/system/company/company.ts
@@ -35,13 +35,13 @@
  })
}
// 删除企业信息
export function delCompany(companyId) {
  return request({
    url: '/system/company/' + companyId,
    method: 'delete'
  })
}
// // 删除企业信息
// export function delCompany(companyId) {
//   return request({
//     url: '/system/company/' + companyId,
//     method: 'delete'
//   })
// }
// 导出企业模板下载
@@ -58,7 +58,7 @@
  return request({
    url: '/system/company/import',
    method: 'get',
   })
  })
}
// 导入记录 /system/company/export
@@ -68,7 +68,6 @@
  return request({
    url: '/system/company/export',
    method: 'get',
    responseType: 'blob'
  })
}
// /system/doc/list 慧企政策列表
@@ -76,6 +75,85 @@
  return request({
    url: '/system/doc/list',
    method: 'get',
    responseType: 'blob'
  })
}
// 新增企业信息 /system/doc/add
export function addDoc(data) {
  return request({
    url: '/system/doc/add',
    method: 'post',
    data: data
  })
}
// 修改政策 /system/doc/upd
export function updDoc(data) {
  return request({
    url: '/system/doc/upd',
    method: 'post',
    data: data
  })
}
// system/doc/ 删除政策
export function delDoc(data) {
  return request({
    url: `/system/doc/${data.delId}`,
    method: 'DELETE',
    data: data
  })
}
// 处理导入信息
export function doImport(data) {
  return request({
    url: `/system/company/doImport`,
    method: 'post',
    data: data
  })
}
// 上传文件信息/tool/file/upload
export function uploadFile(data) {
  return request({
    url: `/tool/file/upload`,
    method: 'post',
    data: data
  })
}
// 校验导入信息 /system/company/checkImport
export function checkImport(data) {
  return request({
    url: `/system/company/checkImport`,
    method: 'post',
    data: data
  })
}
// 保存导入信息 /system/company/saveImport
export function saveImport(data) {
  return request({
    url: `/system/company/saveImport`,
    method: 'post',
    data: data
  })
}
// 删除企业信息 listCompany
export function delCompany(data) {
  return request({
    url: `/system/company/${data.delId}`,
    method: 'DELETE',
  })
}
// 审核 /tool/check/checkOrder
export function checkOrder(data) {
  return request({
    url: `/tool/check/checkOrder`,
    method: 'post',
    data: data
  })
}
// 执法单列表 /enforce/order/list
export function listOrder(data) {
  return request({
    url: `/enforce/order/list`,
    method: 'post',
    data: data
  })
}