diff --git a/.env.local b/.env.local index 1d8bbdab..3e21c0ed 100644 --- a/.env.local +++ b/.env.local @@ -15,7 +15,7 @@ VUE_CLI_BABEL_TRANSPILE_MODULES = true VUE_APP_TENANT_ENABLE = true # 验证码的开关 -VUE_APP_CAPTCHA_ENABLE = true +VUE_APP_CAPTCHA_ENABLE = false # 文档的开关 VUE_APP_DOC_ENABLE = true diff --git a/src/api/archives/record.js b/src/api/archives/record.js index 0be03494..fa308c54 100644 --- a/src/api/archives/record.js +++ b/src/api/archives/record.js @@ -18,6 +18,14 @@ export function updateRecord(data) { }) } +// 批量归档 +export function archivesRecord(data) { + return request({ + url: '/archives/record/record?ids=' + data, + method: 'put', + }) +} + // 删除归档 export function deleteRecord(id) { return request({ @@ -52,3 +60,13 @@ export function exportRecordExcel(query) { responseType: 'blob' }) } + + +// 生成编码 +export function createCodeRule(data) { + return request({ + url: '/archives/code-rule/create', + method: 'post', + data: data + }) +} \ No newline at end of file diff --git a/src/api/borrow/apply.js b/src/api/borrow/apply.js new file mode 100644 index 00000000..702603bc --- /dev/null +++ b/src/api/borrow/apply.js @@ -0,0 +1,54 @@ +import request from '@/utils/request' + +// 创建档案借阅申请 +export function createBorrowApply(data) { + return request({ + url: '/archives/borrow-apply/create', + method: 'post', + data: data + }) +} + +// 更新档案借阅申请 +export function updateBorrowApply(data) { + return request({ + url: '/archives/borrow-apply/update', + method: 'put', + data: data + }) +} + +// 删除档案借阅申请 +export function deleteBorrowApply(id) { + return request({ + url: '/archives/borrow-apply/delete?id=' + id, + method: 'delete' + }) +} + +// 获得档案借阅申请 +export function getBorrowApply(id) { + return request({ + url: '/archives/borrow-apply/get?id=' + id, + method: 'get' + }) +} + +// 获得档案借阅申请分页 +export function getBorrowApplyPage(query) { + return request({ + url: '/archives/borrow-apply/page', + method: 'get', + params: query + }) +} + +// 导出档案借阅申请 Excel +export function exportBorrowApplyExcel(query) { + return request({ + url: '/archives/borrow-apply/export-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} diff --git a/src/api/ea/electronicAssets/assetFile.js b/src/api/ea/electronicAssets/assetFile.js new file mode 100644 index 00000000..f88f03a0 --- /dev/null +++ b/src/api/ea/electronicAssets/assetFile.js @@ -0,0 +1,54 @@ +import request from '@/utils/request' + +// 创建资产档案 +export function createElectronicAssets(data) { + return request({ + url: '/ea/electronic/create', + method: 'post', + data: data + }) +} + +// 更新资产档案 +export function updateElectronicAssets(data) { + return request({ + url: '/ea/electronic/update', + method: 'put', + data: data + }) +} + +// 删除资产档案 +export function deleteElectronicAssets(id) { + return request({ + url: '/ea/electronic/delete?id=' + id, + method: 'delete' + }) +} + +// 获得资产档案 +export function getElectronicAssets(id) { + return request({ + url: '/ea/electronic/get?id=' + id, + method: 'get' + }) +} + +// 获得资产档案分页 +export function getElectronicAssetsPage(query) { + return request({ + url: '/ea/electronic/page', + method: 'get', + params: query + }) +} + +// 导出资产档案 Excel +export function exportElectronicAssetsExcel(query) { + return request({ + url: '/ea/electronic/export-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} diff --git a/src/api/fileAuth/authenticate.js b/src/api/fileAuth/authenticate.js new file mode 100644 index 00000000..79c6e0a1 --- /dev/null +++ b/src/api/fileAuth/authenticate.js @@ -0,0 +1,64 @@ +import request from '@/utils/request' + +// 创建档案鉴定 +export function createAuthenticate(data) { + return request({ + url: '/archives/authenticate/create', + method: 'post', + data: data + }) +} + +// 更新档案鉴定 +export function updateAuthenticate(data) { + return request({ + url: '/archives/authenticate/update', + method: 'put', + data: data + }) +} + +// 删除档案鉴定 +export function deleteAuthenticate(id) { + return request({ + url: '/archives/authenticate/delete?id=' + id, + method: 'delete' + }) +} + +// 获得档案鉴定 +export function getAuthenticate(id) { + return request({ + url: '/archives/authenticate/get?id=' + id, + method: 'get' + }) +} + +// 获得档案鉴定分页 +export function getAuthenticatePage(query) { + return request({ + url: '/archives/authenticate/page', + method: 'get', + params: query + }) +} + +// 获得档案鉴定列表 +export function getAuthenticateList(query) { + return request({ + url: '/archives/authenticate/get/record', + method: 'get', + params: query + }) + } + + +// 导出档案鉴定 Excel +export function exportAuthenticateExcel(query) { + return request({ + url: '/archives/authenticate/export-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} diff --git a/src/api/setting/fileCategory.js b/src/api/setting/fileCategory.js new file mode 100644 index 00000000..681b35a3 --- /dev/null +++ b/src/api/setting/fileCategory.js @@ -0,0 +1,54 @@ +import request from '@/utils/request' + +// 创建档案分类 +export function createFileCategory(data) { + return request({ + url: '/setting/file-category/create', + method: 'post', + data: data + }) +} + +// 更新档案分类 +export function updateFileCategory(data) { + return request({ + url: '/setting/file-category/update', + method: 'put', + data: data + }) +} + +// 删除档案分类 +export function deleteFileCategory(id) { + return request({ + url: '/setting/file-category/delete?id=' + id, + method: 'delete' + }) +} + +// 获得档案分类 +export function getFileCategory(id) { + return request({ + url: '/setting/file-category/get?id=' + id, + method: 'get' + }) +} + +// 获得档案分类分页 +export function getFileCategoryPage(query) { + return request({ + url: '/setting/file-category/page', + method: 'get', + params: query + }) +} + +// 导出档案分类 Excel +export function exportFileCategoryExcel(query) { + return request({ + url: '/setting/file-category/export-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} diff --git a/src/api/setting/organization.js b/src/api/setting/organization.js index af8acf43..3589fd3c 100644 --- a/src/api/setting/organization.js +++ b/src/api/setting/organization.js @@ -52,3 +52,12 @@ export function exportOrganizationExcel(query) { responseType: 'blob' }) } + +// 获取立档单位-库房-档案柜树状 +export function getSiteTree(query) { + return request({ + url: '/setting/organization/getTree', + method: 'get', + params: query + }) +} \ No newline at end of file diff --git a/src/utils/dict.js b/src/utils/dict.js index 55cc3491..36d674c5 100644 --- a/src/utils/dict.js +++ b/src/utils/dict.js @@ -109,7 +109,20 @@ export const DICT_TYPE = { BS_SUPPLIER_TYPE: 'supplier_centre_state', // 采购进度(采购状态) BS_PROCUREMENT_TYPE: 'supplier_procurement_state', - + // 档案类型 + ARCHIVES_FILE_TYPE: 'archives_file_type', + // 归档状态 + ARCHIVES_FILE_STATUS: 'archives_file_status', + // 借阅申请状态 + BORROW_APPLY: 'borrow_apply', + // 档案借阅介质 + ARCHIVES_MEDIA: 'archives_media', + // 档案借阅方式 + ARCHIVES_APPLY: 'borrow_apply', + // 目录号 + ARCHIVES_CATALOG_NUM: 'archives_catalog_num', + // 全宗号 + ARCHIVES_CASE_NUM: 'archives_case_num', } /** diff --git a/src/views/archives/record/index.vue b/src/views/archives/record/index.vue index 0957679d..fc724ad6 100644 --- a/src/views/archives/record/index.vue +++ b/src/views/archives/record/index.vue @@ -1,103 +1,55 @@ + + diff --git a/src/views/borrow/apply/index.vue b/src/views/borrow/apply/index.vue new file mode 100644 index 00000000..8da472c9 --- /dev/null +++ b/src/views/borrow/apply/index.vue @@ -0,0 +1,508 @@ + + + diff --git a/src/views/borrow/record/index.vue b/src/views/borrow/record/index.vue new file mode 100644 index 00000000..016d1ed0 --- /dev/null +++ b/src/views/borrow/record/index.vue @@ -0,0 +1,491 @@ + + + diff --git a/src/views/ea/electronicAssets/index.vue b/src/views/ea/electronicAssets/index.vue new file mode 100644 index 00000000..fc3ac964 --- /dev/null +++ b/src/views/ea/electronicAssets/index.vue @@ -0,0 +1,667 @@ + + + diff --git a/src/views/fileAuth/authRecord/index.vue b/src/views/fileAuth/authRecord/index.vue new file mode 100644 index 00000000..3e7c4bee --- /dev/null +++ b/src/views/fileAuth/authRecord/index.vue @@ -0,0 +1,178 @@ + + + diff --git a/src/views/fileAuth/authenticate/index.vue b/src/views/fileAuth/authenticate/index.vue new file mode 100644 index 00000000..d5169e2a --- /dev/null +++ b/src/views/fileAuth/authenticate/index.vue @@ -0,0 +1,273 @@ + + + + + diff --git a/src/views/setting/depot/index.vue b/src/views/setting/depot/index.vue index 74e5a67f..e0d32c6c 100644 --- a/src/views/setting/depot/index.vue +++ b/src/views/setting/depot/index.vue @@ -1,56 +1,62 @@ diff --git a/src/views/setting/depotCabinet/index.vue b/src/views/setting/depotCabinet/index.vue index 99cf6bd9..f8e87afb 100644 --- a/src/views/setting/depotCabinet/index.vue +++ b/src/views/setting/depotCabinet/index.vue @@ -1,50 +1,63 @@ diff --git a/src/views/setting/fileCategory/index.vue b/src/views/setting/fileCategory/index.vue new file mode 100644 index 00000000..57491e87 --- /dev/null +++ b/src/views/setting/fileCategory/index.vue @@ -0,0 +1,440 @@ + + + diff --git a/src/views/setting/organization/index.vue b/src/views/setting/organization/index.vue index b5635f79..5c0a82c2 100644 --- a/src/views/setting/organization/index.vue +++ b/src/views/setting/organization/index.vue @@ -1,41 +1,61 @@