From 82a37e0d1299f12a3a5abb2f31907f0fe33d31c4 Mon Sep 17 00:00:00 2001
From: lion <120344285@qq.com>
Date: Fri, 17 May 2024 10:31:01 +0800
Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E4=B9=A6=20=E6=96=87=E7=89=A9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.env.development | 4 +-
.env.production | 4 +-
src/api/book/index.js | 34 ++
src/views/book/component/addBook.vue | 294 ++++++++++++++
src/views/book/index.vue | 123 ++++++
src/views/relic/component/addRelic.vue | 521 +++++++++++++++++++------
src/views/relic/index.vue | 35 +-
7 files changed, 872 insertions(+), 143 deletions(-)
create mode 100644 src/api/book/index.js
create mode 100644 src/views/book/component/addBook.vue
create mode 100644 src/views/book/index.vue
diff --git a/.env.development b/.env.development
index c203c6e..da32a70 100644
--- a/.env.development
+++ b/.env.development
@@ -2,7 +2,7 @@
ENV = 'development'
# base api
-#VUE_APP_BASE_API = 'https://gb-test.ali251.langye.net'
+VUE_APP_BASE_API = 'https://gb-test.ali251.langye.net'
-VUE_APP_BASE_API = 'https://gbyuyue.szgmbwg.org.cn'
+#VUE_APP_BASE_API = 'https://gbyuyue.szgmbwg.org.cn'
diff --git a/.env.production b/.env.production
index 3605b1d..b6888c1 100644
--- a/.env.production
+++ b/.env.production
@@ -3,5 +3,5 @@ ENV = 'production'
# base api
-#VUE_APP_BASE_API = 'https://gb-test.ali251.langye.net'
-VUE_APP_BASE_API = 'https://gbyuyue.szgmbwg.org.cn'
+VUE_APP_BASE_API = 'https://gb-test.ali251.langye.net'
+#VUE_APP_BASE_API = 'https://gbyuyue.szgmbwg.org.cn'
diff --git a/src/api/book/index.js b/src/api/book/index.js
new file mode 100644
index 0000000..6921611
--- /dev/null
+++ b/src/api/book/index.js
@@ -0,0 +1,34 @@
+import request from '@/utils/request'
+
+export function index(params) {
+ return request({
+ url: '/api/admin/book/index',
+ method: 'get',
+ params: params
+ })
+}
+
+export function save(data) {
+ return request({
+ url: '/api/admin/book/save',
+ method: 'post',
+ data
+ })
+}
+
+export function show(params) {
+ return request({
+ url: '/api/admin/book/show',
+ method: 'get',
+ params
+ })
+}
+
+export function destroy(params) {
+ return request({
+ url: '/api/admin/book/destroy',
+ method: 'get',
+ params
+ })
+}
+
diff --git a/src/views/book/component/addBook.vue b/src/views/book/component/addBook.vue
new file mode 100644
index 0000000..3ebee89
--- /dev/null
+++ b/src/views/book/component/addBook.vue
@@ -0,0 +1,294 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/book/index.vue b/src/views/book/index.vue
new file mode 100644
index 0000000..9c21e6b
--- /dev/null
+++ b/src/views/book/index.vue
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
select.pageSize = e"
+ @pageIndexChange="pageChange"
+ :table-item="table">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/relic/component/addRelic.vue b/src/views/relic/component/addRelic.vue
index f7a3fe6..d76c9ff 100644
--- a/src/views/relic/component/addRelic.vue
+++ b/src/views/relic/component/addRelic.vue
@@ -11,30 +11,57 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ 关联文物:
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 列表显示:
+
+
+
+ 显示
+ 不显示
+
+
+
+
+
+
+
+
+
+
+
+ 3D图:
+
+
+
+ 点击上传
+
+
+
+
+
+
+
+ obj文件:
+
+
+
+ 点击上传
+
+
+
+
+
+
+
+ jpg文件:
+
+
+
+ 点击上传
+
+
+
-
+
- 头图:
+ jpg文件2:
-
-
+
+ 点击上传
-
-
-
+
+
+
+
+ 语音文件:
+
+
+
+ 点击上传
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
-