diff --git a/src/api/archivesManagement/index.js b/src/api/archivesManagement/index.js new file mode 100644 index 0000000..63bf9cb --- /dev/null +++ b/src/api/archivesManagement/index.js @@ -0,0 +1,55 @@ +import request from '@/utils/request' + +// 获取档案目录树 +export function getArchivalCatalogueTreeApi(params) { + return request({ + url: '/smartArchives/archive/getArchivalCatalogueTree', + method: 'get', + params, + }) +} + +// 新增档案目录 +export function addArchiveApi(data) { + return request({ + url: '/smartArchives/archive', + method: 'post', + data, + }) +} + +// 修改档案目录 +export function putArchiveApi(data) { + return request({ + url: '/smartArchives/archive', + method: 'put', + data, + }) +} + +// 删除档案目录 +export function delArchiveApi(data) { + return request({ + url: '/smartArchives/archive', + method: 'delete', + data, + }) +} + +// 编辑-详情 +export function getArchivalCatalogueByIdApi(params) { + return request({ + url: '/smartArchives/archive/getArchivalCatalogueById', + method: 'get', + params + }) +} + +// 列表 +export function getArchivalCatalogueListApi(params) { + return request({ + url: '/smartArchives/archive/getArchivalCatalogue', + method: 'get', + params + }) +} \ No newline at end of file diff --git a/src/views/archivesManagement/archClass/archCatalogue/index.vue b/src/views/archivesManagement/archClass/archCatalogue/index.vue index ef247ae..e53f241 100644 --- a/src/views/archivesManagement/archClass/archCatalogue/index.vue +++ b/src/views/archivesManagement/archClass/archCatalogue/index.vue @@ -14,7 +14,7 @@ " > - + @@ -296,38 +297,40 @@ - + - - + - - - - 确 定 - 取 消 - - + + 确 定 + 取 消 + - + - + - + - + - + - + - + + + 确 定 + {{ + isView ? '关 闭' : '取 消' + }} + @@ -414,102 +432,90 @@