【修复】通知告警的提示信息

This commit is contained in:
chudong
2025-05-30 15:58:37 +08:00
parent b40da5378f
commit f9c593c01b
77 changed files with 351 additions and 122 deletions

View File

@@ -10656,5 +10656,141 @@
"arDZ": "يرجى اختيار اسم الموقع، اختيار فردي فقط"
},
"timestamp": "2025-05-30T06:24:08.783Z"
},
"请输入网站名,只支持单个网站部署": {
"text": "请输入网站名,只支持单个网站部署",
"key": "t_0_1748589752275",
"translations": {
"zhCN": "请输入网站名,只支持单个网站部署",
"zhTW": "請輸入網站名,只支持單個網站部署",
"enUS": "Please enter the website name, only supports single website deployment",
"jaJP": "ウェブサイト名を入力してください、単一サイトの展開のみサポートしています",
"koKR": "웹사이트 이름을 입력하세요. 단일 웹사이트 배포만 지원합니다",
"ruRU": "Введите название веб-сайта, поддерживается только развертывание одного сайта",
"ptBR": "Por favor, insira o nome do site, suporta apenas implantação de site único",
"frFR": "Veuillez entrer le nom du site, ne prend en charge que le déploiement d'un seul site",
"esAR": "Por favor ingrese el nombre del sitio web, solo admite la implementación de un solo sitio web",
"arDZ": "الرجاء إدخال اسم الموقع، يدعم فقط نشر موقع واحد"
},
"timestamp": "2025-05-30T07:22:32.275Z"
},
"最多只能配置一个飞书通知渠道": {
"text": "最多只能配置一个飞书通知渠道",
"key": "t_0_1748591495320",
"translations": {
"zhCN": "最多只能配置一个飞书通知渠道",
"zhTW": "最多只能配置一個飛書通知渠道",
"enUS": "You can configure only one Feishu notification channel at most",
"jaJP": "最大で1つのFeishu通知チャネルのみを設定できます",
"koKR": "최대 하나의 Feishu 알림 채널만 구성할 수 있습니다",
"ruRU": "Можно настроить только один канал уведомлений Feishu",
"ptBR": "Você pode configurar apenas um canal de notificação Feishu no máximo",
"frFR": "Vous ne pouvez configurer qu'un seul canal de notification Feishu au maximum",
"esAR": "Solo puedes configurar un canal de notificación Feishu como máximo",
"arDZ": "يمكنك تكوين قناة إشعار Feishu واحدة فقط على الأكثر"
},
"timestamp": "2025-05-30T07:51:39.373Z"
},
"最多只能配置一个Webhook通知渠道": {
"text": "最多只能配置一个Webhook通知渠道",
"key": "t_1_1748591498948",
"translations": {
"zhCN": "最多只能配置一个Webhook通知渠道",
"zhTW": "最多只能配置一個Webhook通知渠道",
"enUS": "At most one Webhook notification channel can be configured",
"jaJP": "最大で1つのWebhook通知チャネルしか設定できません",
"koKR": "최대 하나의 Webhook 알림 채널만 구성할 수 있습니다",
"ruRU": "Можно настроить не более одного канала уведомлений Webhook",
"ptBR": "No máximo, um canal de notificação Webhook pode ser configurado",
"frFR": "Un seul canal de notification Webhook peut être configuré au maximum",
"esAR": "Solo se puede configurar un canal de notificación Webhook como máximo",
"arDZ": "يمكن تكوين قناة إشعار Webhook واحدة على الأكثر"
},
"timestamp": "2025-05-30T07:51:39.374Z"
},
"最多只能配置一个钉钉通知渠道": {
"text": "最多只能配置一个钉钉通知渠道",
"key": "t_2_1748591495339",
"translations": {
"zhCN": "最多只能配置一个钉钉通知渠道",
"zhTW": "最多只能配置一個釘釘通知渠道",
"enUS": "Only one DingTalk notification channel can be configured at most",
"jaJP": "最大で1つのDingTalk通知チャネルしか設定できません",
"koKR": "최대 하나의 DingTalk 알림 채널만 구성할 수 있습니다",
"ruRU": "Можно настроить не более одного канала уведомлений DingTalk",
"ptBR": "No máximo, apenas um canal de notificação DingTalk pode ser configurado",
"frFR": "Un seul canal de notification DingTalk peut être configuré au maximum",
"esAR": "Solo se puede configurar un canal de notificación DingTalk como máximo",
"arDZ": "يمكن تكوين قناة إشعار DingTalk واحدة فقط كحد أقصى"
},
"timestamp": "2025-05-30T07:51:39.374Z"
},
"Webhook": {
"text": "Webhook",
"key": "t_3_1748591484673",
"translations": {
"zhCN": "Webhook",
"zhTW": "Webhook",
"enUS": "Webhook",
"jaJP": "Webhook",
"koKR": "Webhook",
"ruRU": "Webhook",
"ptBR": "Webhook",
"frFR": "Webhook",
"esAR": "Webhook",
"arDZ": "Webhook"
},
"timestamp": "2025-05-30T07:51:39.374Z"
},
"正在测试{type}通知": {
"text": "正在测试{type}通知",
"key": "t_4_1748591492587",
"translations": {
"zhCN": "正在测试{type}通知",
"zhTW": "正在測試{type}通知",
"enUS": "Testing {type} notification",
"jaJP": "{type}通知をテスト中",
"koKR": "{type} 알림 테스트 중",
"ruRU": "Тестирование уведомления {type}",
"ptBR": "Testando notificação {type}",
"frFR": "Test de la notification {type}",
"esAR": "Probando notificación {type}",
"arDZ": "جارٍ اختبار إشعار {type}"
},
"timestamp": "2025-05-30T07:51:39.374Z"
},
"测试{type}": {
"text": "测试{type}",
"key": "t_5_1748591491370",
"translations": {
"zhCN": "测试{type}",
"zhTW": "測試{type}",
"enUS": "Test{type}",
"jaJP": "テスト{type}",
"koKR": "테스트{type}",
"ruRU": "Тест{type}",
"ptBR": "Teste{type}",
"frFR": "Test{type}",
"esAR": "Prueba{type}",
"arDZ": "اختبار{type}"
},
"timestamp": "2025-05-30T07:51:39.374Z"
},
"发送测试信息到,当前配置{type}通知,是否继续?": {
"text": "发送测试信息到,当前配置{type}通知,是否继续?",
"key": "t_0_1748591669194",
"translations": {
"zhCN": "发送测试信息到,当前配置{type}通知,是否继续?",
"zhTW": "發送測試信息到,當前配置{type}通知,是否繼續?",
"enUS": "Send test message to, current configuration {type} notification, continue?",
"jaJP": "テストメッセージを送信します、現在の設定 {type} 通知、続行しますか?",
"koKR": "테스트 메시지를 보냅니다, 현재 구성 {type} 알림, 계속하시겠습니까?",
"ruRU": "Отправить тестовое сообщение, текущая конфигурация {type} уведомления, продолжить?",
"ptBR": "Enviar mensagem de teste para, configuração atual {type} notificação, continuar?",
"frFR": "Envoyer un message test à, configuration actuelle {type} notification, continuer ?",
"esAR": "Enviar mensaje de prueba a, configuración actual {type} notificación, ¿continuar?",
"arDZ": "إرسال رسالة اختبار إلى، التكوين الحالي {type} إشعار، هل تتابع؟"
},
"timestamp": "2025-05-30T07:54:29.194Z"
}
}

View File

@@ -0,0 +1 @@
<svg class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="200" height="200"><path d="m576 512 277.333 277.333-64 64L512 576 234.667 853.333l-64-64L448 512 170.667 234.667l64-64L512 448l277.333-277.333 64 64L576 512z"/></svg>

After

Width:  |  Height:  |  Size: 250 B

View File

@@ -0,0 +1 @@
<svg class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="200" height="200"><path d="M939.94 459.073h-377.6V83.519H462.055v375.554h-377.6v100.284h377.6v379.646H562.34V559.357h377.6z"/></svg>

After

Width:  |  Height:  |  Size: 216 B

View File

@@ -0,0 +1 @@
<svg class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="200" height="200"><path d="M128 479.2h768v65.6H128z"/></svg>

After

Width:  |  Height:  |  Size: 144 B

View File

@@ -0,0 +1 @@
<svg class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="200" height="200"><path d="M512 .445C229.477.445.445 229.477.445 512.003c0 282.521 229.032 511.552 511.555 511.552s511.555-229.032 511.555-511.552C1023.555 229.477 794.523.445 512 .445zm0 900.338c-47.087 0-85.26-39.416-85.26-88.035S464.913 724.71 512 724.71c47.085 0 85.257 39.417 85.257 88.038s-38.17 88.035-85.257 88.035zm66.202-316.928c0 48.621-26.946 88.035-60.183 88.035h-12.036c-33.24 0-60.183-39.414-60.183-88.035l-36.11-352.14c0-48.62 26.944-88.031 60.181-88.031h84.258c33.239 0 60.183 39.412 60.183 88.032l-36.11 352.14z"/></svg>

After

Width:  |  Height:  |  Size: 622 B

View File

@@ -50,9 +50,13 @@ export default defineComponent({
const { iconPath, typeName } = useAuthApiTypeIconController(props)
return () => (
<NTag type={props.type} size="small">
<NTag
type={props.type}
size="small"
class="w-auto text-ellipsis overflow-hidden whitespace-normal p-[.6rem] h-auto"
>
<SvgIcon icon={iconPath.value} size="1.2rem" class="mr-[0.4rem]" />
{props.text && <span class="text-[12px]">{typeName.value}</span>}
<span>{props.text && <span class="text-[12px]">{typeName.value}</span>}</span>
</NTag>
)
},

View File

@@ -1,4 +1,5 @@
{
"t_0_1748591669194": "إرسال رسالة اختبار إلى، التكوين الحالي {type} إشعار، هل تتابع؟",
"t_0_1744098811152": "تحذير: لقد دخلتم منطقة غير معروفة، الصفحة التي تحاول زيارتها غير موجودة، يرجى الضغط على الزر للعودة إلى الصفحة الرئيسية.",
"t_1_1744098801860": "رجوع إلى الصفحة الرئيسية",
"t_2_1744098804908": "نصيحة أمنية: إذا كنت تعتقد أن هذا خطأ، يرجى الاتصال بالمدير على الفور",
@@ -625,5 +626,12 @@
"t_0_1748052857931": "هيئة التصديق/التفويض (اختياري)",
"t_1_1748052860539": "إضافة Zerossl، Google، تفويض شهادة CA",
"t_2_1748052862259": "يرجى إدخال معلومات بريدك الإلكتروني لاستلام رسالة التحقق من الشهادة",
"t_0_1748586248783": "يرجى اختيار اسم الموقع، اختيار فردي فقط"
"t_0_1748586248783": "يرجى اختيار اسم الموقع، اختيار فردي فقط",
"t_0_1748589752275": "الرجاء إدخال اسم الموقع، يدعم فقط نشر موقع واحد",
"t_0_1748591495320": "يمكنك تكوين قناة إشعار Feishu واحدة فقط على الأكثر",
"t_1_1748591498948": "يمكن تكوين قناة إشعار Webhook واحدة على الأكثر",
"t_2_1748591495339": "يمكن تكوين قناة إشعار DingTalk واحدة فقط كحد أقصى",
"t_3_1748591484673": "Webhook",
"t_4_1748591492587": "جارٍ اختبار إشعار {type}",
"t_5_1748591491370": "اختبار{type}"
}

View File

@@ -1,4 +1,5 @@
{
"t_0_1748591669194": "Send test message to, current configuration {type} notification, continue?",
"t_0_1744098811152": "Warning: You have entered an unknown area, the page you are visiting does not exist, please click the button to return to the homepage.",
"t_1_1744098801860": "Return Home",
"t_2_1744098804908": "Safety Tip: If you think this is an error, please contact the administrator immediately",
@@ -625,5 +626,12 @@
"t_0_1748052857931": "Certificate Authority/Authorization (Optional)",
"t_1_1748052860539": "Add Zerossl, Google, CA certificate authorization",
"t_2_1748052862259": "Please enter your email information to receive the certificate verification email",
"t_0_1748586248783": "Please select a website name, single selection only"
"t_0_1748586248783": "Please select a website name, single selection only",
"t_0_1748589752275": "Please enter the website name, only supports single website deployment",
"t_0_1748591495320": "You can configure only one Feishu notification channel at most",
"t_1_1748591498948": "At most one Webhook notification channel can be configured",
"t_2_1748591495339": "Only one DingTalk notification channel can be configured at most",
"t_3_1748591484673": "Webhook",
"t_4_1748591492587": "Testing {type} notification",
"t_5_1748591491370": "Test{type}"
}

View File

@@ -1,4 +1,5 @@
{
"t_0_1748591669194": "Enviar mensaje de prueba a, configuración actual {type} notificación, ¿continuar?",
"t_0_1744098811152": "Advertencia: Ha ingresado a una zona desconocida, la página que intenta visitar no existe, por favor, haga clic en el botón para regresar a la página de inicio.",
"t_1_1744098801860": "Volver al inicio",
"t_2_1744098804908": "Consejo de seguridad: Si piensa que es un error, póngase en contacto con el administrador inmediatamente",
@@ -625,5 +626,12 @@
"t_0_1748052857931": "Autoridad Certificadora/Autorización (Opcional)",
"t_1_1748052860539": "Agregar Zerossl, Google, autorización de certificado CA",
"t_2_1748052862259": "Por favor ingrese la información de su correo electrónico para recibir el correo de verificación del certificado",
"t_0_1748586248783": "Por favor seleccione un nombre de sitio, solo selección única"
"t_0_1748586248783": "Por favor seleccione un nombre de sitio, solo selección única",
"t_0_1748589752275": "Por favor ingrese el nombre del sitio web, solo admite la implementación de un solo sitio web",
"t_0_1748591495320": "Solo puedes configurar un canal de notificación Feishu como máximo",
"t_1_1748591498948": "Solo se puede configurar un canal de notificación Webhook como máximo",
"t_2_1748591495339": "Solo se puede configurar un canal de notificación DingTalk como máximo",
"t_3_1748591484673": "Webhook",
"t_4_1748591492587": "Probando notificación {type}",
"t_5_1748591491370": "Prueba{type}"
}

View File

@@ -1,4 +1,5 @@
{
"t_0_1748591669194": "Envoyer un message test à, configuration actuelle {type} notification, continuer ?",
"t_0_1744098811152": "Avertissement : Vous avez entré dans une zone inconnue, la page que vous visitez n'existe pas, veuillez cliquer sur le bouton pour revenir à la page d'accueil.",
"t_1_1744098801860": "Retour à l'accueil",
"t_2_1744098804908": "Avis de sécurité : Si vous pensez que c'est une erreur, veuillez contacter l'administrateur immédiatement",
@@ -625,5 +626,12 @@
"t_0_1748052857931": "Autorité de Certification/Autorisation (Optionnel)",
"t_1_1748052860539": "Ajouter Zerossl, Google, autorisation de certificat CA",
"t_2_1748052862259": "Veuillez entrer les informations de votre e-mail pour recevoir l'e-mail de vérification du certificat",
"t_0_1748586248783": "Veuillez sélectionner un nom de site, sélection unique uniquement"
"t_0_1748586248783": "Veuillez sélectionner un nom de site, sélection unique uniquement",
"t_0_1748589752275": "Veuillez entrer le nom du site, ne prend en charge que le déploiement d'un seul site",
"t_0_1748591495320": "Vous ne pouvez configurer qu'un seul canal de notification Feishu au maximum",
"t_1_1748591498948": "Un seul canal de notification Webhook peut être configuré au maximum",
"t_2_1748591495339": "Un seul canal de notification DingTalk peut être configuré au maximum",
"t_3_1748591484673": "Webhook",
"t_4_1748591492587": "Test de la notification {type}",
"t_5_1748591491370": "Test{type}"
}

View File

@@ -1,4 +1,5 @@
{
"t_0_1748591669194": "テストメッセージを送信します、現在の設定 {type} 通知、続行しますか?",
"t_0_1744098811152": "警告:未知のエリアに進入しました。アクセスしようとしたページは存在しません。ボタンをクリックしてホームページに戻ってください。",
"t_1_1744098801860": "ホームに戻る",
"t_2_1744098804908": "安全注意:これが誤りだと思われる場合は、すぐに管理者に連絡してください",
@@ -625,5 +626,12 @@
"t_0_1748052857931": "証明機関/認証(オプション)",
"t_1_1748052860539": "Zerossl、Google、CA証明書認証を追加",
"t_2_1748052862259": "証明書確認メールを受け取るためのメール情報を入力してください",
"t_0_1748586248783": "ウェブサイト名を選択してください、単一選択のみ"
"t_0_1748586248783": "ウェブサイト名を選択してください、単一選択のみ",
"t_0_1748589752275": "ウェブサイト名を入力してください、単一サイトの展開のみサポートしています",
"t_0_1748591495320": "最大で1つのFeishu通知チャネルのみを設定できます",
"t_1_1748591498948": "最大で1つのWebhook通知チャネルしか設定できません",
"t_2_1748591495339": "最大で1つのDingTalk通知チャネルしか設定できません",
"t_3_1748591484673": "Webhook",
"t_4_1748591492587": "{type}通知をテスト中",
"t_5_1748591491370": "テスト{type}"
}

View File

@@ -1,4 +1,5 @@
{
"t_0_1748591669194": "테스트 메시지를 보냅니다, 현재 구성 {type} 알림, 계속하시겠습니까?",
"t_0_1744098811152": "경고: 알 수 없는 영역에 진입했습니다. 방문하려는 페이지가 존재하지 않습니다. 버튼을 클릭하여 홈페이지로 돌아가세요。",
"t_1_1744098801860": "홈으로 돌아가기",
"t_2_1744098804908": "안전 유의사항: 이가 오류라면 즉시 관리자에게 연락하십시오",
@@ -625,5 +626,12 @@
"t_0_1748052857931": "인증 기관/인증 (선택 사항)",
"t_1_1748052860539": "Zerossl, Google, CA 인증서 권한 부여 추가",
"t_2_1748052862259": "인증서 검증 이메일을 받기 위해 이메일 정보를 입력하세요",
"t_0_1748586248783": "웹사이트 이름을 선택하세요, 단일 선택만 가능합니다"
"t_0_1748586248783": "웹사이트 이름을 선택하세요, 단일 선택만 가능합니다",
"t_0_1748589752275": "웹사이트 이름을 입력하세요. 단일 웹사이트 배포만 지원합니다",
"t_0_1748591495320": "최대 하나의 Feishu 알림 채널만 구성할 수 있습니다",
"t_1_1748591498948": "최대 하나의 Webhook 알림 채널만 구성할 수 있습니다",
"t_2_1748591495339": "최대 하나의 DingTalk 알림 채널만 구성할 수 있습니다",
"t_3_1748591484673": "Webhook",
"t_4_1748591492587": "{type} 알림 테스트 중",
"t_5_1748591491370": "테스트{type}"
}

View File

@@ -1,4 +1,5 @@
{
"t_0_1748591669194": "Enviar mensagem de teste para, configuração atual {type} notificação, continuar?",
"t_0_1744098811152": "Aviso: Você entrou em uma área desconhecida, a página que você está visitando não existe, por favor, clique no botão para voltar para a página inicial.",
"t_1_1744098801860": "Voltar para a homepage",
"t_2_1744098804908": "Dica de Segurança: Se você acha que isso é um erro, entre em contato com o administrador imediatamente",
@@ -625,5 +626,12 @@
"t_0_1748052857931": "Autoridade Certificadora/Autorização (Opcional)",
"t_1_1748052860539": "Adicionar Zerossl, Google, autorização de certificado CA",
"t_2_1748052862259": "Por favor, insira as informações do seu e-mail para receber o e-mail de verificação do certificado",
"t_0_1748586248783": "Por favor, selecione um nome de site, apenas seleção única"
"t_0_1748586248783": "Por favor, selecione um nome de site, apenas seleção única",
"t_0_1748589752275": "Por favor, insira o nome do site, suporta apenas implantação de site único",
"t_0_1748591495320": "Você pode configurar apenas um canal de notificação Feishu no máximo",
"t_1_1748591498948": "No máximo, um canal de notificação Webhook pode ser configurado",
"t_2_1748591495339": "No máximo, apenas um canal de notificação DingTalk pode ser configurado",
"t_3_1748591484673": "Webhook",
"t_4_1748591492587": "Testando notificação {type}",
"t_5_1748591491370": "Teste{type}"
}

View File

@@ -1,4 +1,5 @@
{
"t_0_1748591669194": "Отправить тестовое сообщение, текущая конфигурация {type} уведомления, продолжить?",
"t_0_1744098811152": "Предупреждение: Вы вошли в неизвестную зону, посещаемая страница не существует, пожалуйста, нажмите кнопку, чтобы вернуться на главную страницу.",
"t_1_1744098801860": "Вернуться на главную",
"t_2_1744098804908": "Совет по безопасности: Если вы считаете, что это ошибка, немедленно свяжитесь с администратором",
@@ -625,5 +626,12 @@
"t_0_1748052857931": "Центр Сертификации/Авторизация (Опционально)",
"t_1_1748052860539": "Добавить Zerossl, Google, авторизацию сертификата CA",
"t_2_1748052862259": "Пожалуйста, введите информацию о вашей электронной почте для получения письма с подтверждением сертификата",
"t_0_1748586248783": "Пожалуйста, выберите название сайта, только одиночный выбор"
"t_0_1748586248783": "Пожалуйста, выберите название сайта, только одиночный выбор",
"t_0_1748589752275": "Введите название веб-сайта, поддерживается только развертывание одного сайта",
"t_0_1748591495320": "Можно настроить только один канал уведомлений Feishu",
"t_1_1748591498948": "Можно настроить не более одного канала уведомлений Webhook",
"t_2_1748591495339": "Можно настроить не более одного канала уведомлений DingTalk",
"t_3_1748591484673": "Webhook",
"t_4_1748591492587": "Тестирование уведомления {type}",
"t_5_1748591491370": "Тест{type}"
}

View File

@@ -1,4 +1,5 @@
{
"t_0_1748591669194": "发送测试信息到,当前配置{type}通知,是否继续?",
"t_0_1744098811152": "警告:您已进入未知区域,所访问的页面不存在,请点击按钮返回首页。",
"t_1_1744098801860": "返回首页",
"t_2_1744098804908": "安全提示:如果您认为这是个错误,请立即联系管理员",
@@ -625,5 +626,12 @@
"t_0_1748052857931": "证书颁发机构/授权(可选)",
"t_1_1748052860539": "添加Zerossl、GoogleCA证书授权",
"t_2_1748052862259": "请输入邮箱信息,用于接收证书验证邮件",
"t_0_1748586248783": "请选择网站名,仅支持单选"
"t_0_1748586248783": "请选择网站名,仅支持单选",
"t_0_1748589752275": "请输入网站名,只支持单个网站部署",
"t_0_1748591495320": "最多只能配置一个飞书通知渠道",
"t_1_1748591498948": "最多只能配置一个Webhook通知渠道",
"t_2_1748591495339": "最多只能配置一个钉钉通知渠道",
"t_3_1748591484673": "Webhook",
"t_4_1748591492587": "正在测试{type}通知",
"t_5_1748591491370": "测试{type}"
}

View File

@@ -1,4 +1,5 @@
{
"t_0_1748591669194": "發送測試信息到,當前配置{type}通知,是否繼續?",
"t_0_1744098811152": "警告:您已進入未知區域,所訪問的頁面不存在,請點擊按鈕返回首頁。",
"t_1_1744098801860": "返回首頁",
"t_2_1744098804908": "安全提示:如果您認為這是個錯誤,請立即聯繫管理員",
@@ -624,5 +625,12 @@
"t_0_1748052857931": "證書頒發機構/授權(可選)",
"t_1_1748052860539": "新增Zerossl、GoogleCA憑證授權",
"t_2_1748052862259": "請輸入郵箱信息,用於接收證書驗證郵件",
"t_0_1748586248783": "請選擇網站名,僅支援單選"
"t_0_1748586248783": "請選擇網站名,僅支援單選",
"t_0_1748589752275": "請輸入網站名,只支持單個網站部署",
"t_0_1748591495320": "最多只能配置一個飛書通知渠道",
"t_1_1748591498948": "最多只能配置一個Webhook通知渠道",
"t_2_1748591495339": "最多只能配置一個釘釘通知渠道",
"t_3_1748591484673": "Webhook",
"t_4_1748591492587": "正在測試{type}通知",
"t_5_1748591491370": "測試{type}"
}

View File

@@ -140,7 +140,7 @@ export function createNodeFormConfig() {
* @param valueRef 值引用
*/
siteDeploy() {
return [this.input($t('t_0_1747296173751'), 'siteName', { placeholder: $t('请输入网站名,只支持单个网站部署') })]
return [this.input($t('t_0_1747296173751'), 'siteName', { placeholder: $t('t_0_1748589752275') })]
},
/**

View File

@@ -143,7 +143,7 @@ export default defineComponent({
<div class=" items-center justify-between p-2 grid grid-cols-12">
<div class="flex items-center col-span-6">
<SvgIcon icon={`notify-${item.type}`} size="3rem" />
<div class="font-medium mb-1 mx-[1rem]">{item.name}</div>
<div class="font-medium mx-[1rem]">{item.name}</div>
<div class="flex items-center ">
<NTag type="info" size="small">
{(channelTypes.value as Record<string, string>)[item.type] || item.id}

View File

@@ -129,7 +129,7 @@ export const useController = () => {
*/
const openAddFeishuChannelModal = (limit: number = 1) => {
if (limit >= 1) {
message.warning($t('t_16_1746773356568'))
message.warning($t('t_0_1748591495320'))
return
}
useModal({
@@ -148,7 +148,7 @@ export const useController = () => {
*/
const openAddWebhookChannelModal = (limit: number = 1) => {
if (limit >= 1) {
message.warning($t('t_16_1746773356568'))
message.warning($t('t_1_1748591498948'))
return
}
useModal({
@@ -167,7 +167,7 @@ export const useController = () => {
*/
const openAddDingtalkChannelModal = (limit: number = 1) => {
if (limit >= 1) {
message.warning($t('t_16_1746773356568'))
message.warning($t('t_2_1748591495339'))
return
}
useModal({
@@ -274,15 +274,20 @@ export const useController = () => {
* @returns {void} 无返回值
*/
const testChannelConfig = (item: ReportType<any>) => {
if (item.type !== 'mail' && item.type !== 'feishu' && item.type !== 'webhook') {
if (item.type !== 'mail' && item.type !== 'feishu' && item.type !== 'webhook' && item.type !== 'dingtalk') {
message.warning($t('t_19_1746773352558'))
return
}
const { open, close } = useLoadingMask({ text: $t('t_20_1746773356060') })
const typeMap = {
mail: $t('t_1_1745735764953'),
feishu: $t('t_34_1746773350153'),
webhook: $t('t_3_1748591484673'),
dingtalk: $t('t_32_1746773348993'),
}
const { open, close } = useLoadingMask({ text: $t('t_4_1748591492587', { type: typeMap[item.type] }) })
useDialog({
title: $t('t_21_1746773350759'),
content: $t('t_22_1746773360711'),
title: $t('t_5_1748591491370', { type: typeMap[item.type] }),
content: $t('t_0_1748591669194', { type: typeMap[item.type] }),
onPositiveClick: async () => {
try {
open()

View File

@@ -16,20 +16,20 @@ declare module 'vue' {
CAProviderSelect: typeof import('./../src/components/CAProviderSelect/index.tsx')['default']
ConditionNode: typeof import('./../src/components/FlowChart/components/base/conditionNode/index.tsx')['default']
Config: typeof import('./../src/components/FlowChart/lib/config.tsx')['default']
DnsProviderSelect: typeof import('../src/components/DnsProviderSelect/index.jsx')['default']
DnsProviderSelect: typeof import('./../src/components/DnsProviderSelect/index.tsx')['default']
Drawer: typeof import('./../src/components/FlowChart/components/other/drawer.tsx')['default']
EndNode: typeof import('./../src/components/FlowChart/components/base/endNode.tsx')['default']
ErrorNode: typeof import('./../src/components/FlowChart/components/base/errorNode/index.tsx')['default']
FlowChart: typeof import('./../src/components/FlowChart/index.tsx')['default']
LogDisplay: typeof import('./../src/components/LogDisplay/index.tsx')['default']
NodeWrap: typeof import('./../src/components/FlowChart/components/render/nodeWrap.tsx')['default']
NotifyProviderSelect: typeof import('../src/components/NotifyProviderSelect/index.jsx')['default']
NotifyProviderSelect: typeof import('./../src/components/NotifyProviderSelect/index.tsx')['default']
RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView']
SvgIcon: typeof import('./../src/components/SvgIcon/index.tsx')['default']
TableEmptyState: typeof import('./../src/components/TableEmptyState/index.tsx')['default']
TypeIcon: typeof import('../src/components/TypeIcon/index.jsx')['default']
UseController: typeof import('../src/components/DnsProviderSelect/useController.jsx)['default']
TypeIcon: typeof import('./../src/components/TypeIcon/index.tsx')['default']
UseController: typeof import('./../src/components/FlowChart/useController.tsx')['default']
UseStore: typeof import('./../src/components/FlowChart/useStore.tsx')['default']
Verify: typeof import('./../src/components/FlowChart/lib/verify.tsx')['default']
}