|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <div>
|
|
|
+ <div class="mb-12">
|
|
|
<ui-textarea
|
|
|
:model-value="data.description"
|
|
|
:placeholder="t('common.description')"
|
|
@@ -26,10 +26,10 @@
|
|
|
:label="t('workflow.blocks.execute-workflow.executeId')"
|
|
|
:title="t('workflow.blocks.execute-workflow.executeId')"
|
|
|
placeholder="abc123"
|
|
|
- class="mb-3 w-full"
|
|
|
+ class="w-full"
|
|
|
@change="updateData({ executeId: $event })"
|
|
|
/>
|
|
|
- <p class="text-sm text-gray-600 dark:text-gray-200 ml-1 mb-1">
|
|
|
+ <p class="text-sm mt-4 text-gray-600 dark:text-gray-200 ml-1 mb-1">
|
|
|
{{ t('common.globalData') }}
|
|
|
</p>
|
|
|
<pre
|
|
@@ -38,6 +38,30 @@
|
|
|
@click="state.showGlobalData = true"
|
|
|
v-text="data.globalData || '____'"
|
|
|
/>
|
|
|
+ <ui-checkbox
|
|
|
+ :model-value="data.insertAllVars"
|
|
|
+ class="leading-tight mt-4"
|
|
|
+ @change="updateData({ insertAllVars: $event })"
|
|
|
+ >
|
|
|
+ {{ t('workflow.blocks.execute-workflow.insertAllVars') }}
|
|
|
+ </ui-checkbox>
|
|
|
+ <template v-if="!data.insertAllVars">
|
|
|
+ <label class="mt-4 block">
|
|
|
+ <span class="text-sm ml-1 block text-gray-600 dark:text-gray-200">
|
|
|
+ {{ t('workflow.blocks.execute-workflow.insertVars') }}
|
|
|
+ </span>
|
|
|
+ <ui-textarea
|
|
|
+ :model-value="data.insertVars"
|
|
|
+ placeholder="varA,varB,varC"
|
|
|
+ @change="updateData({ insertVars: $event })"
|
|
|
+ />
|
|
|
+ </label>
|
|
|
+ <span
|
|
|
+ class="text-sm ml-1 block text-gray-600 dark:text-gray-200 leading-tight"
|
|
|
+ >
|
|
|
+ {{ t('workflow.blocks.execute-workflow.useCommas') }}
|
|
|
+ </span>
|
|
|
+ </template>
|
|
|
<ui-modal
|
|
|
v-model="state.showGlobalData"
|
|
|
title="Global data"
|