From 1c621c32ec42d5768b845b3a033f0c036e74a109 Mon Sep 17 00:00:00 2001 From: hailin Date: Thu, 5 Feb 2026 17:46:02 -0800 Subject: [PATCH] =?UTF-8?q?feat(mobile-app):=20=E6=9A=82=E6=97=B6=E9=9A=90?= =?UTF-8?q?=E8=97=8F=E8=87=AA=E5=8A=A9=E7=94=B3=E8=AF=B7=E6=8E=88=E6=9D=83?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E7=9A=84"=E7=9C=81=E5=9B=A2=E9=98=9F"?= =?UTF-8?q?=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 _buildAuthorizationTypes() 方法中过滤掉 AuthorizationType.provinceTeam - 现在"自助申请授权"页面只显示"社区"和"市团队"两个选项 - 原代码以注释形式保留,方便未来需要时快速恢复 - 相关枚举和后端逻辑保持不变,仅前端UI隐藏 Co-Authored-By: Claude Opus 4.5 --- .../presentation/pages/authorization_apply_page.dart | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/frontend/mobile-app/lib/features/authorization/presentation/pages/authorization_apply_page.dart b/frontend/mobile-app/lib/features/authorization/presentation/pages/authorization_apply_page.dart index 2842a483..6733a78b 100644 --- a/frontend/mobile-app/lib/features/authorization/presentation/pages/authorization_apply_page.dart +++ b/frontend/mobile-app/lib/features/authorization/presentation/pages/authorization_apply_page.dart @@ -854,6 +854,11 @@ class _AuthorizationApplyPageState /// 构建授权类型选择 Widget _buildAuthorizationTypes() { + // 暂时隐藏省团队申请选项,未来需要时取消注释恢复 + final availableTypes = AuthorizationType.values + .where((type) => type != AuthorizationType.provinceTeam) + .toList(); + return Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ @@ -867,7 +872,8 @@ class _AuthorizationApplyPageState ), ), const SizedBox(height: 12), - ...AuthorizationType.values.map((type) => _buildTypeItem(type)), + // 原代码: ...AuthorizationType.values.map((type) => _buildTypeItem(type)), + ...availableTypes.map((type) => _buildTypeItem(type)), ], ); }