项目管理 @if (loading) {

{{ loadingMessage }}

} @if (error && !loading) {

加载失败

{{ error }}

重新加载
} @if (showCreateGuide && !loading && !error) {
{{ groupChat?.get('name') }} 当前群聊暂无关联项目

您可以为该群聊创建新项目,或选择已有项目关联。

创建新项目 项目名称 @if (creating) { 创建中... } @else { 创建项目 } @if (historyProjects.length > 0) { 群聊相关的历史项目 点击关联到当前群聊 @for (proj of historyProjects; track proj.id) {

{{ proj.get('title') }}

{{ proj.get('status') }} {{ proj.get('currentStage') }}

创建时间: {{ formatDate(proj.get('createdAt')) }}

}
} @if (currentUser) { }
}