增加审批组件
This commit is contained in:
parent
d30614c857
commit
50a035092b
1208
frontend/docs/http-node-response-extraction.md
Normal file
1208
frontend/docs/http-node-response-extraction.md
Normal file
File diff suppressed because it is too large
Load Diff
@ -237,7 +237,6 @@ const EditModal: React.FC<EditModalProps> = ({ visible, onClose, onSuccess, reco
|
||||
<div className="space-y-2">
|
||||
<Label htmlFor="formDefinitionId">
|
||||
启动表单
|
||||
{isEdit && <span className="text-xs text-muted-foreground ml-1">(不可修改)</span>}
|
||||
</Label>
|
||||
<div className="flex gap-2">
|
||||
<Select
|
||||
@ -248,7 +247,6 @@ const EditModal: React.FC<EditModalProps> = ({ visible, onClose, onSuccess, reco
|
||||
formDefinitionId: value ? Number(value) : undefined,
|
||||
}));
|
||||
}}
|
||||
disabled={isEdit}
|
||||
>
|
||||
<SelectTrigger id="formDefinitionId" className="h-10 flex-1">
|
||||
<SelectValue placeholder="请选择启动表单(可选)" />
|
||||
@ -261,7 +259,7 @@ const EditModal: React.FC<EditModalProps> = ({ visible, onClose, onSuccess, reco
|
||||
))}
|
||||
</SelectContent>
|
||||
</Select>
|
||||
{formData.formDefinitionId && !isEdit && (
|
||||
{formData.formDefinitionId && (
|
||||
<Button
|
||||
type="button"
|
||||
variant="outline"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user