feat(mobile-app): 暂时隐藏自助申请授权页面的"省团队"选项

- 在 _buildAuthorizationTypes() 方法中过滤掉 AuthorizationType.provinceTeam
- 现在"自助申请授权"页面只显示"社区"和"市团队"两个选项
- 原代码以注释形式保留,方便未来需要时快速恢复
- 相关枚举和后端逻辑保持不变,仅前端UI隐藏

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-02-05 17:46:02 -08:00
parent d29454fc74
commit 1c621c32ec
1 changed files with 7 additions and 1 deletions

View File

@ -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)),
],
);
}