+
{intl.get('使用此 URL 接收外部触发')}:
+
{data.webhookUrl}
+
+ ),
+ width: 600,
+ });
+ }
+ } catch (error) {
+ message.error(intl.get('获取 Webhook URL 失败'));
+ }
+ };
+
+ const getTriggerTypeName = (type: string) => {
+ const types: any = {
+ variable: intl.get('变量监听'),
+ webhook: 'Webhook',
+ task_status: intl.get('任务状态'),
+ time: intl.get('时间触发'),
+ system_event: intl.get('系统事件'),
+ };
+ return types[type] || type;
+ };
+
+ const getActionsMenu = (record: any): MenuProps => ({
+ items: [
+ {
+ key: 'trigger',
+ icon: