From 08a96d1c2ef43ae127020542f348ca3e0177a26e Mon Sep 17 00:00:00 2001
From: JilingLee <18850011309@139.com>
Date: Fri, 15 Sep 2023 17:13:10 +0800
Subject: [PATCH] =?UTF-8?q?=E8=A3=85=E5=86=8C=E7=AE=A1=E7=90=86=E9=A1=B5?=
=?UTF-8?q?=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/archives/packages.js | 54 ++++
src/views/archives/packages/index.vue | 420 ++++++++++++++++++++++++++
2 files changed, 474 insertions(+)
create mode 100644 src/api/archives/packages.js
create mode 100644 src/views/archives/packages/index.vue
diff --git a/src/api/archives/packages.js b/src/api/archives/packages.js
new file mode 100644
index 00000000..8f67a1bc
--- /dev/null
+++ b/src/api/archives/packages.js
@@ -0,0 +1,54 @@
+import request from '@/utils/request'
+
+// 创建装册
+export function createPackages(data) {
+ return request({
+ url: '/archives/packages/create',
+ method: 'post',
+ data: data
+ })
+}
+
+// 更新装册
+export function updatePackages(data) {
+ return request({
+ url: '/archives/packages/update',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除装册
+export function deletePackages(id) {
+ return request({
+ url: '/archives/packages/delete?id=' + id,
+ method: 'delete'
+ })
+}
+
+// 获得装册
+export function getPackages(id) {
+ return request({
+ url: '/archives/packages/get?id=' + id,
+ method: 'get'
+ })
+}
+
+// 获得装册分页
+export function getPackagesPage(query) {
+ return request({
+ url: '/archives/packages/page',
+ method: 'get',
+ params: query
+ })
+}
+
+// 导出装册 Excel
+export function exportPackagesExcel(query) {
+ return request({
+ url: '/archives/packages/export-excel',
+ method: 'get',
+ params: query,
+ responseType: 'blob'
+ })
+}
diff --git a/src/views/archives/packages/index.vue b/src/views/archives/packages/index.vue
new file mode 100644
index 00000000..5c5db24d
--- /dev/null
+++ b/src/views/archives/packages/index.vue
@@ -0,0 +1,420 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+ 新增
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.createTime) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 请选择字典生成
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+