admin_new/src/modules
Sisyphus a36dda7ccc fix(F006-W17.4.6): UserFormDialog 关联企业下拉改从 user/user/page 聚合
用户反馈: 关联企业的下拉框是空的

排查:
1. nginx-vue.conf 加 /enterprise/ location (W17.4.5) ✅
2. gateway.json 加 enterprise 路由 + 推 nacos ✅
3. 但 gateway 启动时 bootstrap.yml 没订阅 gateway.json dataId
   (bootstrap.yml 只订阅 datasource.yaml + common.yaml + gateway-server.yaml/-dev.yaml)
   gateway.json 仅供运维手工管理, 实际不参与路由
4. /enterprise/list 在 user-server 也 404 (jar 是旧版本, ApiEnterpriseController
   @RequestMapping 路径未生效)

修法: 前端从 /user/user/page 拉用户列表聚合 (enterpriseId, enterpriseName) 去重
- 端点 100% 可用 (已在 W11 验收过 2284 用户)
- 字段 enterpriseId + enterpriseName 已在 user 表
- 聚合 Map<id, name> 去重, 按 id 排序
- 弹窗打开时拉一次缓存, 后续复用

nginx /enterprise/ location + gateway.json 路由保留: future-proof,
等后端 jar 重打包后会自动生效

前端聚合方式短期可行, 但仅用于下拉选项场景;
如要真正查询某企业的所有用户等场景, 仍需后端打 jar 暴露 /enterprise/page
2026-07-08 11:15:47 +08:00
..
api fix(F006-W17.3.7): list 页统一规范 (:borderless + :page-sizes) + product/shop redirect 2026-07-07 16:54:37 +08:00
auth fix(auth): 移除登录请求 client: front 头,恢复 captcha 校验 (W15.1.5) 2026-07-07 11:43:36 +08:00
dashboard feat(F006-W3xB): Dashboard 加图表 + 较昨日真值 2026-07-04 18:36:49 +08:00
generic fix(F006-W14): 财务 4 视图 + 商品 4 操作按钮 接真 API (1.6K+ 真数据) 2026-07-07 09:07:01 +08:00
inquiry fix(F006-W17.3.7): list 页统一规范 (:borderless + :page-sizes) + product/shop redirect 2026-07-07 16:54:37 +08:00
openapi fix(F006-W17.3.7): list 页统一规范 (:borderless + :page-sizes) + product/shop redirect 2026-07-07 16:54:37 +08:00
order fix(F006-W17.3.7): list 页统一规范 (:borderless + :page-sizes) + product/shop redirect 2026-07-07 16:54:37 +08:00
other fix(F006-W17.3.7): list 页统一规范 (:borderless + :page-sizes) + product/shop redirect 2026-07-07 16:54:37 +08:00
placeholder fix(F006-W17): nginx proxy_hide_header WWW-Authenticate 去除浏览器原生认证弹窗 2026-07-07 11:03:15 +08:00
statistics feat(F006-W3xC): 数据统计首页 statistics/index 走 order 真 API 2026-07-04 19:01:09 +08:00
supplier fix(F006-W17.4.3): 单位列 width 70 → 90 + minWidth 90 (列宽足够) 2026-07-07 18:40:11 +08:00
sys fix(F006-W17.3.7): list 页统一规范 (:borderless + :page-sizes) + product/shop redirect 2026-07-07 16:54:37 +08:00
user fix(F006-W17.4.6): UserFormDialog 关联企业下拉改从 user/user/page 聚合 2026-07-08 11:15:47 +08:00