Add Feishu notification

This commit is contained in:
wuwenjing
2021-10-11 17:20:09 +08:00
parent 2a1fd93444
commit 6d9b71c054
6 changed files with 108 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
<template>
<div class="mb-3">
<label for="Feishu-WebHookUrl" class="form-label">{{ $t("Feishu WebHookUrl") }}<span style="color: red;"><sup>*</sup></span></label>
<input id="Feishu-WebHookUrl" v-model="$parent.notification.feishuWebHookUrl" type="text" class="form-control" required>
<div class="form-text">
<p><span style="color: red;"><sup>*</sup></span>{{ $t("Required") }}</p>
</div>
<i18n-t tag="div" keypath="wayToGetTeamsURL" class="form-text">
<a
href="https://www.feishu.cn/hc/zh-CN/articles/360024984973"
target="_blank"
>{{ $t("here") }}</a>
</i18n-t>
</div>
</template>

View File

@@ -12,6 +12,7 @@ import Pushy from "./Pushy.vue";
import Octopush from "./Octopush.vue";
import PromoSMS from "./PromoSMS.vue";
import LunaSea from "./LunaSea.vue";
import Feishu from "./Feishu.vue";
import Apprise from "./Apprise.vue";
import Pushbullet from "./Pushbullet.vue";
import Line from "./Line.vue";
@@ -38,6 +39,7 @@ const NotificationFormList = {
"octopush": Octopush,
"promosms": PromoSMS,
"lunasea": LunaSea,
"Feishu": Feishu,
"apprise": Apprise,
"pushbullet": Pushbullet,
"line": Line,