docs: 更新 README — 去历史化,关联 apes-Authon 组织仓库
- 移除 apes-Authdata 引用,以全新面貌展示 - 仓库地址更新为组织路径(apes-Authon/apes-Authon-Web) - 后端引用更新为 apes-Authon-Server - 剥离说明指向 apes-Authon-history 仓库 - docs/剥离历史与说明.md 更新仓库地址
This commit is contained in:
@@ -1,18 +1,11 @@
|
||||
# apes-Authon-Web — 账权管理前端
|
||||
|
||||
> 从 saas-web 单体应用中剥离的纯净账权管理前端,与后端 [apes-Authon](https://gitea.apescale.com/figmar/apes-Authon) 配合使用
|
||||
> Vue 2.7 账权管理前端,与后端 [apes-Authon-Server](https://gitea.apescale.com/apes-Authon/apes-Authon-Server) 配合使用
|
||||
> **已通过构建验证**,可独立部署
|
||||
|
||||
## 项目背景
|
||||
|
||||
本项目源自 `saas-web`(账权平台前端单体应用),经过模块耦合度分析确认账权前端页面与业务页面(溯源、过磅、灌溉等)之间仅通过路由配置和 Vuex Store 间接关联,具备独立剥离条件。本仓库是提取后的纯净账权前端代码,不包含任何业务页面逻辑。
|
||||
|
||||
### 剥离依据
|
||||
|
||||
- 账权页面(login/user/permission/customer/app)与业务页面(fei/trace/weight/tracing)之间零组件互相引用
|
||||
- 业务 API(weightApi/huobanTableApi/traceApi 等)仅被业务页面引用,账权页面不依赖
|
||||
- 动态路由通过后端菜单接口 + `require.context` 运行时注册,页面删除不影响路由框架
|
||||
- 共享层(request.js / store / layout / utils)可通过移除业务引用实现纯净化
|
||||
apes-Authon-Web 是一套独立的账权管理前端应用,提供用户管理、角色权限、客户管理、应用管理、系统配置和 AI/LLM 工具管理等功能。采用 Vue 2.7 + Element UI 技术栈,通过 CDN externals 机制优化构建体积,支持动态路由和多应用菜单切换。
|
||||
|
||||
## 技术栈
|
||||
|
||||
@@ -152,7 +145,7 @@ apes-Authon-Web/
|
||||
|
||||
```bash
|
||||
# 1. 克隆仓库
|
||||
git clone https://gitea.apescale.com/figmar/apes-Authon-Web.git
|
||||
git clone https://gitea.apescale.com/apes-Authon/apes-Authon-Web.git
|
||||
cd apes-Authon-Web
|
||||
|
||||
# 2. 安装依赖
|
||||
@@ -177,7 +170,7 @@ npm run build:stage
|
||||
```javascript
|
||||
proxy: {
|
||||
'/api/user-service': {
|
||||
target: 'http://localhost:8202', // 后端 apes-Authon 服务地址
|
||||
target: 'http://localhost:8202', // 后端 apes-Authon-Server 服务地址
|
||||
changeOrigin: true,
|
||||
pathRewrite: { '^/api/user-service': '/' }
|
||||
}
|
||||
@@ -324,7 +317,7 @@ config.headers = {
|
||||
|
||||
## 与后端对应关系
|
||||
|
||||
| 后端 Controller (apes-Authon) | 前端页面 | API 文件 |
|
||||
| 后端 Controller (apes-Authon-Server) | 前端页面 | API 文件 |
|
||||
|-------------------------------|----------|----------|
|
||||
| UserController | views/user/ | user.js |
|
||||
| PermissionController | views/permission/ | permissionApi.js |
|
||||
@@ -389,18 +382,18 @@ export default {
|
||||
|
||||
## 剥离说明
|
||||
|
||||
本项目从 saas-web 单体前端中剥离,移除了约 82 个业务页面及对应的 API、组件、工具函数。详细剥离方案和执行记录见 `docs/` 目录:
|
||||
本项目的完整剥离方案和执行记录已归档至 [apes-Authon-history](https://gitea.apescale.com/apes-Authon/apes-Authon-history) 仓库,`docs/` 目录保留操作参考文档:
|
||||
|
||||
- [剥离方案](docs/apes-Authon-Web-剥离方案.md) — 剥离前的计划文档(保留/删除/修改清单)
|
||||
- [剥离历史与说明](docs/剥离历史与说明.md) — 剥离执行记录、变更明细和框架修改说明
|
||||
- [剥离方案](docs/apes-Authon-Web-剥离方案.md) — 保留/删除/修改清单
|
||||
- [剥离历史与说明](docs/剥离历史与说明.md) — 变更明细和框架修改说明
|
||||
|
||||
## 关联仓库
|
||||
|
||||
| 仓库 | 说明 | 地址 |
|
||||
|------|------|------|
|
||||
| apes-Authon | 后端账权服务 | https://gitea.apescale.com/figmar/apes-Authon |
|
||||
| apes-Authon-Web | 前端账权管理(本仓库) | https://gitea.apescale.com/figmar/apes-Authon-Web |
|
||||
| apes-Authdata | 源码归档(完整单体应用) | https://gitea.apescale.com/figmar/apes-Authdata |
|
||||
| apes-Authon-Server | 后端账权服务 | https://gitea.apescale.com/apes-Authon/apes-Authon-Server |
|
||||
| apes-Authon-Web | 前端账权管理(本仓库) | https://gitea.apescale.com/apes-Authon/apes-Authon-Web |
|
||||
| apes-Authon-history | 剥离历史与分析归档 | https://gitea.apescale.com/apes-Authon/apes-Authon-history |
|
||||
|
||||
## License
|
||||
|
||||
|
||||
+1
-1
@@ -341,4 +341,4 @@ npm run build:prod
|
||||
|
||||
---
|
||||
|
||||
*文档更新时间: 2026-08-09 | 仓库: https://gitea.apescale.com/figmar/apes-Authon-Web*
|
||||
*文档更新时间: 2026-08-09 | 仓库: https://gitea.apescale.com/apes-Authon/apes-Authon-Web*
|
||||
|
||||
Reference in New Issue
Block a user