feat(v2.7): 接入协作治理前端体验
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
'use client';
|
||||
|
||||
import { X } from 'lucide-react';
|
||||
import { CommentPanel } from '@/components/comment/CommentPanel';
|
||||
import type { Requirement, DictItem, SourceTarget } from '@/lib/requirement';
|
||||
import { REQ_STATUS_LABEL, REQ_STATUS_COLOR, SOURCE_TYPE_LABEL } from '@/lib/requirement';
|
||||
|
||||
@@ -114,6 +115,16 @@ export function RequirementDetail({
|
||||
<InfoItem label="来源对象" value={sourceTargetName} />
|
||||
</div>
|
||||
</DetailSection>
|
||||
|
||||
<section className="border-b border-[var(--line)] px-5 py-4 last:border-b-0">
|
||||
<CommentPanel
|
||||
entityType="requirement"
|
||||
entityId={req.id}
|
||||
entityVersionId={req.versionId}
|
||||
projectId={req.projectId}
|
||||
versionId={req.versionId}
|
||||
/>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user