|
|
@ -413,14 +413,24 @@ onMounted(async () => { |
|
|
|
<a-row type="flex"> |
|
|
|
<a-row type="flex"> |
|
|
|
<a-col :span="24"> |
|
|
|
<a-col :span="24"> |
|
|
|
<a-form-item v-bind="validateInfos.title"> |
|
|
|
<a-form-item v-bind="validateInfos.title"> |
|
|
|
<a-input v-model:value="hook.title" size="large" :placeholder="$t('general.title')" class="nc-text-field-hook-title" /> |
|
|
|
<a-input |
|
|
|
|
|
|
|
v-model:value="hook.title" |
|
|
|
|
|
|
|
size="large" |
|
|
|
|
|
|
|
:placeholder="$t('general.title')" |
|
|
|
|
|
|
|
class="nc-text-field-hook-title" |
|
|
|
|
|
|
|
/> |
|
|
|
</a-form-item> |
|
|
|
</a-form-item> |
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
</a-row> |
|
|
|
</a-row> |
|
|
|
<a-row type="flex" :gutter="[16, 16]"> |
|
|
|
<a-row type="flex" :gutter="[16, 16]"> |
|
|
|
<a-col :span="12"> |
|
|
|
<a-col :span="12"> |
|
|
|
<a-form-item v-bind="validateInfos.eventOperation"> |
|
|
|
<a-form-item v-bind="validateInfos.eventOperation"> |
|
|
|
<a-select v-model:value="hook.eventOperation" size="large" :placeholder="$t('general.event')" class="nc-text-field-hook-event"> |
|
|
|
<a-select |
|
|
|
|
|
|
|
v-model:value="hook.eventOperation" |
|
|
|
|
|
|
|
size="large" |
|
|
|
|
|
|
|
:placeholder="$t('general.event')" |
|
|
|
|
|
|
|
class="nc-text-field-hook-event" |
|
|
|
|
|
|
|
> |
|
|
|
<a-select-option v-for="(event, i) in eventList" :key="i" :value="event.value.join(' ')"> |
|
|
|
<a-select-option v-for="(event, i) in eventList" :key="i" :value="event.value.join(' ')"> |
|
|
|
{{ event.text.join(' ') }} |
|
|
|
{{ event.text.join(' ') }} |
|
|
|
</a-select-option> |
|
|
|
</a-select-option> |
|
|
@ -471,7 +481,12 @@ onMounted(async () => { |
|
|
|
|
|
|
|
|
|
|
|
<a-col :span="18"> |
|
|
|
<a-col :span="18"> |
|
|
|
<a-form-item v-bind="validateInfos['notification.payload.path']"> |
|
|
|
<a-form-item v-bind="validateInfos['notification.payload.path']"> |
|
|
|
<a-input v-model:value="hook.notification.payload.path" size="large" placeholder="http://example.com" class="nc-text-field-hook-url-path" /> |
|
|
|
<a-input |
|
|
|
|
|
|
|
v-model:value="hook.notification.payload.path" |
|
|
|
|
|
|
|
size="large" |
|
|
|
|
|
|
|
placeholder="http://example.com" |
|
|
|
|
|
|
|
class="nc-text-field-hook-url-path" |
|
|
|
|
|
|
|
/> |
|
|
|
</a-form-item> |
|
|
|
</a-form-item> |
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
|
|
|
|
|
|
|
|