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 @@ {{ targetSysName }} 部门管理 -
- - - - - - - - - - - - - 搜索 - 重置 - - - - - - - - 新增 - +
+ + + + + + + + + + + + + 搜索 + 重置 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 正常 - 停用 - - - - - - - - - - - - - - - - - - - + + + + 新增 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 正常 + 停用 + + + + + + + + + + + + + + + + + + + +
-