import { httpApi } from '../../request/httpApi' export default { //验收申请-汇总目录 async getAllUnitArchivesView(form, msg = true) { return httpApi({ url: '/api/blade-archive/archivesauto/getAllUnitArchivesView', method: 'get', params: form, }, msg) }, //验收申请保存 async saveApply(form, msg = true) { return httpApi({ url: '/api/blade-archive/archivesauto/saveApply', method: 'post', data: form, }, msg) }, //查看申请状态 async getApplyStatus(form, msg = true) { return httpApi({ url: '/api/blade-archive/archivesauto/getApplyStatus', method: 'get', params: form, }, msg) }, //撤销申请 async annulApply(form, msg = true) { return httpApi({ url: '/api/blade-archive/archivesauto/annulApply', method: 'get', params: form, }, msg) }, //在线验收-根据单位显示档案 async getUnitArchivesAutoView(form, msg = true) { return httpApi({ url: '/api/blade-archive/archivesauto/getUnitArchivesAutoView', method: 'get', params: form, }, msg) }, //档案验收返回单位所有节点 async getUnitAllNode(form, msg = true) { return httpApi({ url: '/api/blade-manager/archiveTreeContract/getUnitAllNode', method: 'get', params: form, }, msg) }, //档案在线验收-确认并进入抽检 async saveAllSelectNodes(form, msg = true) { return httpApi({ url: '/api/blade-manager/archiveTreeContract/saveAllSelectNodes', method: 'post', data: form, }, msg) }, }