diff --git a/src/api/archives/record.js b/src/api/archives/record.js index 6e213ca9..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({ 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/views/archives/record/index.vue b/src/views/archives/record/index.vue index 9c6448f3..fc724ad6 100644 --- a/src/views/archives/record/index.vue +++ b/src/views/archives/record/index.vue @@ -79,6 +79,18 @@ >导出 + + 归档 + - + + @@ -115,7 +132,7 @@ {{ parseTime(scope.row.createTime) }} - +