From 15d3dd67afb21b7000dc8d9ccbd48feba7238432 Mon Sep 17 00:00:00 2001
From: mengqiang <>
Date: Sun, 7 Feb 2021 11:35:21 +0800
Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E9=A1=B9=E7=9B=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
sso-auth-center-vue/.env.development | 2 +-
sso-auth-center-vue/.env.production | 2 +-
sso-auth-center-vue/.env.staging | 2 +-
sso-auth-center-vue/README.md | 28 ++
.../src/views/sso/dept/index.vue | 257 +++++++++---------
.../src/views/sso/platform/platformDetail.vue | 17 +-
.../src/views/sso/platform/platformMgmt.vue | 2 +-
7 files changed, 172 insertions(+), 138 deletions(-)
diff --git a/sso-auth-center-vue/.env.development b/sso-auth-center-vue/.env.development
index 80846b8..fecc91d 100755
--- a/sso-auth-center-vue/.env.development
+++ b/sso-auth-center-vue/.env.development
@@ -2,5 +2,5 @@
ENV = 'development'
# base api
-# VUE_APP_BASE_API = '/dev-api'
+# VUE_APP_BASE_API = '/api'
VUE_APP_BASE_API = 'http://localhost:9901/api'
diff --git a/sso-auth-center-vue/.env.production b/sso-auth-center-vue/.env.production
index 80c8103..07d391e 100755
--- a/sso-auth-center-vue/.env.production
+++ b/sso-auth-center-vue/.env.production
@@ -2,5 +2,5 @@
ENV = 'production'
# base api
-VUE_APP_BASE_API = '/prod-api'
+VUE_APP_BASE_API = '/api'
diff --git a/sso-auth-center-vue/.env.staging b/sso-auth-center-vue/.env.staging
index a8793a0..d69f663 100755
--- a/sso-auth-center-vue/.env.staging
+++ b/sso-auth-center-vue/.env.staging
@@ -4,5 +4,5 @@ NODE_ENV = production
ENV = 'staging'
# base api
-VUE_APP_BASE_API = '/stage-api'
+VUE_APP_BASE_API = '/api'
diff --git a/sso-auth-center-vue/README.md b/sso-auth-center-vue/README.md
index e69de29..fb1310f 100755
--- a/sso-auth-center-vue/README.md
+++ b/sso-auth-center-vue/README.md
@@ -0,0 +1,28 @@
+# 小强认证中心前端项目
+
+```bash
+
+# 进入项目目录
+cd sso-auth-center-vue
+
+# 安装依赖
+npm install
+
+# 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题
+npm install --registry=https://registry.npm.taobao.org
+
+# 启动服务
+npm run dev
+```
+
+浏览器访问 http://localhost:端口
+
+## 发布
+
+```bash
+# 构建测试环境
+npm run build-test
+
+# 构建生产环境
+npm run build
+```
diff --git a/sso-auth-center-vue/src/views/sso/dept/index.vue b/sso-auth-center-vue/src/views/sso/dept/index.vue
index b0e5231..d0b3830 100755
--- a/sso-auth-center-vue/src/views/sso/dept/index.vue
+++ b/sso-auth-center-vue/src/views/sso/dept/index.vue
@@ -4,138 +4,141 @@