1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- import { httpApi } from '../../request/httpApi'
- export default {
- //分页
- async getarchiveQueryPage(form, msg = true) {
- return httpApi({
- url: '/api/blade-archive/archivesauto/pageByArchivesAuto',
- method: 'get',
- params: form,
- }, msg)
- },
- async getarchiveQueryPage2(form, msg = true) {
- return httpApi({
- url: '/api/blade-archive/archivesauto/pageByArchivesAuto2',
- method: 'get',
- params: form,
- }, msg)
- },
- //获取目录树 /blade-manager/archiveTreeContract/getArchiveTreeByNodeType
- async getArchiveTreeByNodeType(form, msg = true) {
- return httpApi({
- url: '/api/blade-manager/archiveTreeContract/getArchiveTreeByNodeType',
- method: 'get',
- params: form,
- }, msg)
- },
- //获取目录树子节点 GET/blade-manager/archiveTreeContract/getChildrenNodeByNodeId
- async getChildrenNodeByNodeId(form, msg = true) {
- return httpApi({
- url: '/api/blade-manager/archiveTreeContract/getChildrenNodeByNodeId',
- method: 'get',
- params: form,
- }, msg)
- },
- //获取档案查询类别/blade-archive/archivesauto/getCarrierTypeByDict
- async getCarrierTypeByDict(form, msg = true) {
- return httpApi({
- url: '/api/blade-archive/archivesauto/getCarrierTypeByDict',
- method: 'get',
- params: form,
- }, msg)
- },
- //档案柜切换档案查看权限
- async getArchivesAuthByUser(form, msg = true) {
- return httpApi({
- url: '/api/blade-archive/archivesauto/getArchivesAuthByUser',
- method: 'get',
- params: form,
- }, msg)
- },
- //语音搜索接口
- async micSearchInfo(form, msg = true) {
- return httpApi({
- url: '/api/blade-archive/archivesauto/search-info',
- method: 'post',
- data: form,
- }, msg)
- },
- //查询案卷里的文件
- async getArchiveFileList(form, msg = true) {
- return httpApi({
- url: '/api/blade-archive/archivesauto/getArchiveFileList',
- method: 'get',
- params: form,
- }, msg)
- },
- //批量下载档案
- async batchDownloadFileToZip(form, msg = true) {
- return httpApi({
- url: '/api/blade-archive/archivesauto/batchDownloadFileToZip',
- method: 'get',
- params: form,
- responseType: 'blob',
- }, msg)
- },
- }
|