feat: align frontend document and rule management flows
This commit is contained in:
@@ -517,6 +517,12 @@ export default function DocumentEdit() {
|
||||
<i className="ri-file-list-line"></i>
|
||||
<span>{getDocumentTypeName(documentData.type)}</span>
|
||||
</div>
|
||||
{documentData.groupName && (
|
||||
<div className="meta-item">
|
||||
<i className="ri-git-merge-line"></i>
|
||||
<span>子类型:{documentData.groupName}</span>
|
||||
</div>
|
||||
)}
|
||||
<div className="meta-item">
|
||||
<i className="ri-time-line"></i>
|
||||
<span>{documentData.uploadTime}</span>
|
||||
@@ -568,6 +574,20 @@ export default function DocumentEdit() {
|
||||
/>
|
||||
<div className="text-sm text-secondary mt-1">如无编号可留空</div>
|
||||
</div>
|
||||
|
||||
{documentData.groupName && (
|
||||
<div className="form-group">
|
||||
<label className="form-label">子类型</label>
|
||||
<input
|
||||
type="text"
|
||||
className="form-input"
|
||||
value={documentData.groupName}
|
||||
disabled
|
||||
readOnly
|
||||
/>
|
||||
<div className="text-sm text-secondary mt-1">子类型由上传时命中的二级分组决定,当前页面仅展示不可修改。</div>
|
||||
</div>
|
||||
)}
|
||||
|
||||
<div className="form-group">
|
||||
<label htmlFor="audit-status" className="form-label">审核状态 <span className="text-red-500">*</span></label>
|
||||
|
||||
Reference in New Issue
Block a user