From a662a250f31bb05286da771b70d4b36c988a575e Mon Sep 17 00:00:00 2001
From: gyc <2649472510@qq.com>
Date: Sat, 24 Feb 2024 19:39:53 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0book?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/system/bookinfo.js | 55 +++++
src/views/system/book/index.vue | 350 ++++++++++++++++++++++++++++++++
2 files changed, 405 insertions(+)
create mode 100644 src/api/system/bookinfo.js
create mode 100644 src/views/system/book/index.vue
diff --git a/src/api/system/bookinfo.js b/src/api/system/bookinfo.js
new file mode 100644
index 0000000..a36cbed
--- /dev/null
+++ b/src/api/system/bookinfo.js
@@ -0,0 +1,55 @@
+import request from '@/utils/request'
+
+// 查询参数列表
+export function listBookInfo(query) {
+ return request({
+ url: '/system/book-info/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询参数详细
+export function getBookInfo(configId) {
+ return request({
+ url: '/system/book-info/' + configId,
+ method: 'get'
+ })
+}
+
+// 根据参数键名查询参数值
+
+
+// 新增参数配置
+export function addBookInfo(data) {
+ return request({
+ url: '/system/book-info',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改参数配置
+export function updateBookInfo(data) {
+ return request({
+ url: '/system/book-info',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除参数配置
+export function delBookInfo(configId) {
+ return request({
+ url: '/system/book-info/' + configId,
+ method: 'delete'
+ })
+}
+
+// 刷新参数缓存
+export function refreshCache() {
+ return request({
+ url: '/system/book-info/refreshCache',
+ method: 'delete'
+ })
+}
diff --git a/src/views/system/book/index.vue b/src/views/system/book/index.vue
new file mode 100644
index 0000000..3506776
--- /dev/null
+++ b/src/views/system/book/index.vue
@@ -0,0 +1,350 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+
+ 修改
+
+
+
+ 删除
+
+
+
+ 导出
+
+
+
+ 刷新缓存
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.createTime) }}
+
+
+
+
+ 修改
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ dict.label }}
+
+
+
+
+
+
+
+
+
+
+
+
+