增加审批组件
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">
|
<div className="space-y-2">
|
||||||
<Label htmlFor="formDefinitionId">
|
<Label htmlFor="formDefinitionId">
|
||||||
启动表单
|
启动表单
|
||||||
{isEdit && <span className="text-xs text-muted-foreground ml-1">(不可修改)</span>}
|
|
||||||
</Label>
|
</Label>
|
||||||
<div className="flex gap-2">
|
<div className="flex gap-2">
|
||||||
<Select
|
<Select
|
||||||
@ -248,7 +247,6 @@ const EditModal: React.FC<EditModalProps> = ({ visible, onClose, onSuccess, reco
|
|||||||
formDefinitionId: value ? Number(value) : undefined,
|
formDefinitionId: value ? Number(value) : undefined,
|
||||||
}));
|
}));
|
||||||
}}
|
}}
|
||||||
disabled={isEdit}
|
|
||||||
>
|
>
|
||||||
<SelectTrigger id="formDefinitionId" className="h-10 flex-1">
|
<SelectTrigger id="formDefinitionId" className="h-10 flex-1">
|
||||||
<SelectValue placeholder="请选择启动表单(可选)" />
|
<SelectValue placeholder="请选择启动表单(可选)" />
|
||||||
@ -261,7 +259,7 @@ const EditModal: React.FC<EditModalProps> = ({ visible, onClose, onSuccess, reco
|
|||||||
))}
|
))}
|
||||||
</SelectContent>
|
</SelectContent>
|
||||||
</Select>
|
</Select>
|
||||||
{formData.formDefinitionId && !isEdit && (
|
{formData.formDefinitionId && (
|
||||||
<Button
|
<Button
|
||||||
type="button"
|
type="button"
|
||||||
variant="outline"
|
variant="outline"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user