From 3f25be49ff124a55c6aede983f0159289c771e6a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=82=A2=E6=B5=A9=E4=B8=9C?= <975115611@qq.com>
Date: Fri, 27 Dec 2024 18:18:50 +0800
Subject: [PATCH] =?UTF-8?q?feat(system):=20=E6=96=B0=E5=A2=9E=E7=BB=84?=
=?UTF-8?q?=E7=BB=87=E7=AE=A1=E7=90=86=E5=8A=9F=E8=83=BD=E5=B9=B6=E4=BC=98?=
=?UTF-8?q?=E5=8C=96=E5=86=85=E9=83=A8=E7=94=A8=E6=88=B7=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 新增组织管理页面,实现组织结构的添加、编辑和删除功能
- 优化内部用户页面布局,增加角色选择功能
- 修改环境变量中的静态资源 URL
- 更新 .gitignore 文件,忽略更多的环境变量配置
---
.env.development | 2 +-
.gitignore | 7 +-
src/pages/index.vue | 2 +-
src/pages/systemSetting/internalusers.vue | 34 +++-
src/pages/systemSetting/management.vue | 222 ++++++++++++++++++++++
src/utils/request.js | 13 ++
6 files changed, 264 insertions(+), 16 deletions(-)
create mode 100644 src/pages/systemSetting/management.vue
diff --git a/.env.development b/.env.development
index 4bd3fe9..396dfc6 100644
--- a/.env.development
+++ b/.env.development
@@ -17,4 +17,4 @@ VITE_PROXY_DOMAIN_REAL = "http://127.0.0.1:3001"
# 开发环境WebSocket地址
VITE_PROXY_DOMAIN_SOCKET = "ws://127.0.0.1:3000"
# 开发环境静态资源地址:
-VITE_STATIC_URL = "http://127.0.0.1:3000/uploads/"
\ No newline at end of file
+VITE_STATIC_URL = "http://127.0.0.1:3001/api/"
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
index 6ac7ccd..e97e5c2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -38,10 +38,9 @@ lerna-debug.log*
# dotenv environment variable files
.env
-.env.development.local
-.env.test.local
-.env.production.local
-.env.local
+.env.test
+.env.production
+.env
# temp directory
.temp
diff --git a/src/pages/index.vue b/src/pages/index.vue
index b775766..47dc4a6 100644
--- a/src/pages/index.vue
+++ b/src/pages/index.vue
@@ -60,7 +60,7 @@
-->
-
+
diff --git a/src/pages/systemSetting/internalusers.vue b/src/pages/systemSetting/internalusers.vue
index e3b24f9..f7a70e9 100644
--- a/src/pages/systemSetting/internalusers.vue
+++ b/src/pages/systemSetting/internalusers.vue
@@ -12,8 +12,8 @@
>
-
-
+
+
@@ -66,12 +66,12 @@
>
-
-
-
-
+
+
+
+
@@ -86,10 +86,16 @@
name="avatar"
:data="{ userId: ruleForm.id || '' }"
>
-
+
+
+
+
+
+
+