From 055520c299a6c062c7f2518b436d6b11c693d0a9 Mon Sep 17 00:00:00 2001
From: significative <163999932+significative@users.noreply.github.com>
Date: Thu, 22 Aug 2024 16:23:07 +0800
Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E8=AE=BE=E7=BD=AE=E5=90=8D?=
=?UTF-8?q?=E5=AD=97=E3=80=81logo=E3=80=81=E5=AD=98=E5=82=A8=E8=B7=AF?=
=?UTF-8?q?=E5=BE=84=E7=AD=89?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
jeecgboot-vue3-master/src/api/sys/user.ts | 19 +++
.../src/views/setPath/Modal.vue | 113 +++++++-------
.../src/views/setPath/index.vue | 147 ++++++++++--------
3 files changed, 159 insertions(+), 120 deletions(-)
diff --git a/jeecgboot-vue3-master/src/api/sys/user.ts b/jeecgboot-vue3-master/src/api/sys/user.ts
index bfc93a61..20259eaf 100644
--- a/jeecgboot-vue3-master/src/api/sys/user.ts
+++ b/jeecgboot-vue3-master/src/api/sys/user.ts
@@ -44,6 +44,25 @@ enum Api {
getLoginQrcode = '/sys/getLoginQrcode',
//监控二维码扫描状态
getQrcodeToken = '/sys/getQrcodeToken',
+ path = '/online/cgform/head/rootFile',
+ pathTree = '/online/cgform/head/fileTree',
+ dataList = '/sysconfiguration/sysConfiguration/list',
+ updPath = '/sysconfiguration/sysConfiguration/add',
+}
+
+export function getPathApi() {
+ return defHttp.get({ url: Api.path });
+}
+export function getPathTreeApi(parentPath: string) {
+ return defHttp.get({ url: Api.pathTree, params: { parentPath } });
+}
+
+export function getDataListApi() {
+ return defHttp.get({ url: Api.dataList });
+}
+type updPathPar = { name: string; logo: string; newsPage: string; recordNumber: string; copyright: string; certificate: string; composition: string }
+export function updPathApi(params: updPathPar) {
+ return defHttp.post({ url: Api.updPath, params });
}
/**
diff --git a/jeecgboot-vue3-master/src/views/setPath/Modal.vue b/jeecgboot-vue3-master/src/views/setPath/Modal.vue
index 05b7c3cb..f61cdef5 100644
--- a/jeecgboot-vue3-master/src/views/setPath/Modal.vue
+++ b/jeecgboot-vue3-master/src/views/setPath/Modal.vue
@@ -1,69 +1,64 @@
-
-
+
+
\ No newline at end of file
diff --git a/jeecgboot-vue3-master/src/views/setPath/index.vue b/jeecgboot-vue3-master/src/views/setPath/index.vue
index 0a3a4c94..7ae49489 100644
--- a/jeecgboot-vue3-master/src/views/setPath/index.vue
+++ b/jeecgboot-vue3-master/src/views/setPath/index.vue
@@ -1,43 +1,44 @@
-
-
- 浏览
+
+
-
-
- 浏览
+
+
-
-
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ 浏览
+
+
+
+ 浏览
- Submit
+ Submit
-
+