From e8c53423bcd0e33390ba694714e7b34198fb648f Mon Sep 17 00:00:00 2001
From: JilingLee <18850011309@139.com>
Date: Tue, 12 Sep 2023 13:22:27 +0800
Subject: [PATCH] =?UTF-8?q?=E7=AB=8B=E6=A1=A3=E5=8D=95=E4=BD=8D-=E5=BA=93?=
=?UTF-8?q?=E6=88=BF-=E6=A1=A3=E6=A1=88=E6=8C=89=E6=9F=9C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/setting/depot.js | 54 ++++
src/api/setting/depotCabinet.js | 54 ++++
src/api/setting/organization.js | 54 ++++
src/views/setting/depot/index.vue | 325 +++++++++++++++++++++++
src/views/setting/depotCabinet/index.vue | 307 +++++++++++++++++++++
src/views/setting/organization/index.vue | 280 +++++++++++++++++++
6 files changed, 1074 insertions(+)
create mode 100644 src/api/setting/depot.js
create mode 100644 src/api/setting/depotCabinet.js
create mode 100644 src/api/setting/organization.js
create mode 100644 src/views/setting/depot/index.vue
create mode 100644 src/views/setting/depotCabinet/index.vue
create mode 100644 src/views/setting/organization/index.vue
diff --git a/src/api/setting/depot.js b/src/api/setting/depot.js
new file mode 100644
index 00000000..ebfeb4ec
--- /dev/null
+++ b/src/api/setting/depot.js
@@ -0,0 +1,54 @@
+import request from '@/utils/request'
+
+// 创建库房管理
+export function createDepot(data) {
+ return request({
+ url: '/setting/depot/create',
+ method: 'post',
+ data: data
+ })
+}
+
+// 更新库房管理
+export function updateDepot(data) {
+ return request({
+ url: '/setting/depot/update',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除库房管理
+export function deleteDepot(id) {
+ return request({
+ url: '/setting/depot/delete?id=' + id,
+ method: 'delete'
+ })
+}
+
+// 获得库房管理
+export function getDepot(id) {
+ return request({
+ url: '/setting/depot/get?id=' + id,
+ method: 'get'
+ })
+}
+
+// 获得库房管理分页
+export function getDepotPage(query) {
+ return request({
+ url: '/setting/depot/page',
+ method: 'get',
+ params: query
+ })
+}
+
+// 导出库房管理 Excel
+export function exportDepotExcel(query) {
+ return request({
+ url: '/setting/depot/export-excel',
+ method: 'get',
+ params: query,
+ responseType: 'blob'
+ })
+}
diff --git a/src/api/setting/depotCabinet.js b/src/api/setting/depotCabinet.js
new file mode 100644
index 00000000..0a9beae5
--- /dev/null
+++ b/src/api/setting/depotCabinet.js
@@ -0,0 +1,54 @@
+import request from '@/utils/request'
+
+// 创建档案柜管理
+export function createDepotCabinet(data) {
+ return request({
+ url: '/setting/depot-cabinet/create',
+ method: 'post',
+ data: data
+ })
+}
+
+// 更新档案柜管理
+export function updateDepotCabinet(data) {
+ return request({
+ url: '/setting/depot-cabinet/update',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除档案柜管理
+export function deleteDepotCabinet(id) {
+ return request({
+ url: '/setting/depot-cabinet/delete?id=' + id,
+ method: 'delete'
+ })
+}
+
+// 获得档案柜管理
+export function getDepotCabinet(id) {
+ return request({
+ url: '/setting/depot-cabinet/get?id=' + id,
+ method: 'get'
+ })
+}
+
+// 获得档案柜管理分页
+export function getDepotCabinetPage(query) {
+ return request({
+ url: '/setting/depot-cabinet/page',
+ method: 'get',
+ params: query
+ })
+}
+
+// 导出档案柜管理 Excel
+export function exportDepotCabinetExcel(query) {
+ return request({
+ url: '/setting/depot-cabinet/export-excel',
+ method: 'get',
+ params: query,
+ responseType: 'blob'
+ })
+}
diff --git a/src/api/setting/organization.js b/src/api/setting/organization.js
new file mode 100644
index 00000000..af8acf43
--- /dev/null
+++ b/src/api/setting/organization.js
@@ -0,0 +1,54 @@
+import request from '@/utils/request'
+
+// 创建立档单位
+export function createOrganization(data) {
+ return request({
+ url: '/setting/organization/create',
+ method: 'post',
+ data: data
+ })
+}
+
+// 更新立档单位
+export function updateOrganization(data) {
+ return request({
+ url: '/setting/organization/update',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除立档单位
+export function deleteOrganization(id) {
+ return request({
+ url: '/setting/organization/delete?id=' + id,
+ method: 'delete'
+ })
+}
+
+// 获得立档单位
+export function getOrganization(id) {
+ return request({
+ url: '/setting/organization/get?id=' + id,
+ method: 'get'
+ })
+}
+
+// 获得立档单位分页
+export function getOrganizationPage(query) {
+ return request({
+ url: '/setting/organization/page',
+ method: 'get',
+ params: query
+ })
+}
+
+// 导出立档单位 Excel
+export function exportOrganizationExcel(query) {
+ return request({
+ url: '/setting/organization/export-excel',
+ method: 'get',
+ params: query,
+ responseType: 'blob'
+ })
+}
diff --git a/src/views/setting/depot/index.vue b/src/views/setting/depot/index.vue
new file mode 100644
index 00000000..74e5a67f
--- /dev/null
+++ b/src/views/setting/depot/index.vue
@@ -0,0 +1,325 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+ 新增
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.createTime) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/setting/depotCabinet/index.vue b/src/views/setting/depotCabinet/index.vue
new file mode 100644
index 00000000..99cf6bd9
--- /dev/null
+++ b/src/views/setting/depotCabinet/index.vue
@@ -0,0 +1,307 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+ 新增
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.createTime) }}
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/setting/organization/index.vue b/src/views/setting/organization/index.vue
new file mode 100644
index 00000000..b5635f79
--- /dev/null
+++ b/src/views/setting/organization/index.vue
@@ -0,0 +1,280 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+ 新增
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.createTime) }}
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+