From da80ea880c559b172731c227af859db885c53380 Mon Sep 17 00:00:00 2001
From: MO <448233645@qq.com>
Date: Wed, 13 Sep 2023 15:11:38 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=A1=A3=E6=A1=88=E8=AE=BE?=
=?UTF-8?q?=E7=BD=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/archives/record.js | 8 +
src/api/setting/organization.js | 9 +
src/views/archives/record/index.vue | 248 +++++++++++-----
src/views/setting/depot/index.vue | 354 +++++++++++++++--------
src/views/setting/depotCabinet/index.vue | 319 ++++++++++++--------
src/views/setting/organization/index.vue | 318 ++++++++++++++------
6 files changed, 854 insertions(+), 402 deletions(-)
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) }}
-
+
@@ -128,7 +145,7 @@
-
+
-
+ /> -->
+
+
+
+
@@ -240,8 +270,14 @@
-
-
+
+
@@ -275,14 +311,21 @@
-
+
-
+
@@ -290,13 +333,13 @@
-
+
@@ -305,63 +348,40 @@
-
-
-
-
-
+
+
-
+
-
+
+
+
+