【调整】打包配置调整

This commit is contained in:
chenzhihua
2025-07-17 14:02:54 +08:00
parent 260601055f
commit 074f2c5903
78 changed files with 1358 additions and 825 deletions

View File

@@ -11404,5 +11404,311 @@
"arDZ": "علي بابا كلاود ESA"
},
"timestamp": "2025-07-11T10:35:48.948Z"
},
"导入监控": {
"text": "导入监控",
"key": "t_0_1752724141380",
"translations": {
"zhCN": "导入监控",
"zhTW": "匯入監控",
"enUS": "Import Monitoring",
"jaJP": "モニタリングのインポート",
"koKR": "모니터링 가져오기",
"ruRU": "Импорт мониторинга",
"ptBR": "Importar Monitoramento",
"frFR": "Importer le monitoring",
"esAR": "Importar Monitoreo",
"arDZ": "استيراد المراقبة"
},
"timestamp": "2025-07-17T03:49:10.341Z"
},
"不支持的文件格式,请上传 txt、csv、json 或 xlsx 文件": {
"text": "不支持的文件格式,请上传 txt、csv、json 或 xlsx 文件",
"key": "t_1_1752724147270",
"translations": {
"zhCN": "不支持的文件格式,请上传 txt、csv、json 或 xlsx 文件",
"zhTW": "不支援的檔案格式,請上傳 txt、csv、json 或 xlsx 檔案",
"enUS": "Unsupported file format, please upload a txt, csv, json, or xlsx file",
"jaJP": "サポートされていないファイル形式です。txt、csv、json、またはxlsxファイルをアップロードしてください。",
"koKR": "지원되지 않는 파일 형식입니다. txt, csv, json 또는 xlsx 파일을 업로드해주세요.",
"ruRU": "Неподдерживаемый формат файла. Пожалуйста, загрузите файл в формате txt, csv, json или xlsx.",
"ptBR": "Formato de arquivo não suportado, por favor, faça o upload de um arquivo txt, csv, json ou xlsx.",
"frFR": "Format de fichier non pris en charge, veuillez télécharger un fichier txt, csv, json ou xlsx.",
"esAR": "Formato de archivo no soportado, por favor suba un archivo txt, csv, json o xlsx.",
"arDZ": "تنسيق ملف غير مدعوم، يرجى تحميل ملف بصيغة txt أو csv أو json أو xlsx."
},
"timestamp": "2025-07-17T03:49:10.341Z"
},
"文件大小不能超过 10MB": {
"text": "文件大小不能超过 10MB",
"key": "t_2_1752724144669",
"translations": {
"zhCN": "文件大小不能超过 10MB",
"zhTW": "檔案大小不能超過 10MB",
"enUS": "File size cannot exceed 10MB",
"jaJP": "ファイルサイズは10MBを超えてはなりません",
"koKR": "파일 크기는 10MB를 초과할 수 없습니다",
"ruRU": "Размер файла не должен превышать 10МБ",
"ptBR": "O tamanho do arquivo não pode exceder 10MB",
"frFR": "La taille du fichier ne doit pas dépasser 10 Mo",
"esAR": "El tamaño del archivo no puede superar los 10MB",
"arDZ": "لا يمكن أن يتجاوز حجم الملف 10 ميغابايت"
},
"timestamp": "2025-07-17T03:49:10.341Z"
},
"导入完成!成功:{success} 条,失败:{failed} 条": {
"text": "导入完成!成功:{success} 条,失败:{failed} 条",
"key": "t_3_1752724148992",
"translations": {
"zhCN": "导入完成!成功:{success} 条,失败:{failed} 条",
"zhTW": "匯入完成!成功:{success} 筆,失敗:{failed} 筆",
"enUS": "Import completed! Success: {success} items, Failed: {failed} items",
"jaJP": "インポートが完了しました!成功:{success} 件、失敗:{failed} 件",
"koKR": "가져오기 완료! 성공: {success} 건, 실패: {failed} 건",
"ruRU": "Импорт завершен! Успешно: {success} элементов, Неудачно: {failed} элементов",
"ptBR": "Importação concluída! Sucesso: {success} itens, Falha: {failed} itens",
"frFR": "Importation terminée ! Succès : {success} éléments, Échec : {failed} éléments",
"esAR": "¡Importación completada! Éxito: {success} elementos, Falla: {failed} elementos",
"arDZ": "اكتملت الاستيراد! نجح: {success} عنصر، فشل: {failed} عنصر"
},
"timestamp": "2025-07-17T03:49:10.341Z"
},
"文件导入成功": {
"text": "文件导入成功",
"key": "t_4_1752724142308",
"translations": {
"zhCN": "文件导入成功",
"zhTW": "檔案導入成功",
"enUS": "File imported successfully",
"jaJP": "ファイルのインポートが成功しました",
"koKR": "파일이 성공적으로 가져와졌습니다",
"ruRU": "Файл успешно импортирован",
"ptBR": "Arquivo importado com sucesso",
"frFR": "Fichier importé avec succès",
"esAR": "Archivo importado con éxito",
"arDZ": "تم استيراد الملف بنجاح"
},
"timestamp": "2025-07-17T03:49:10.341Z"
},
"文件导入失败": {
"text": "文件导入失败",
"key": "t_5_1752724143078",
"translations": {
"zhCN": "文件导入失败",
"zhTW": "檔案匯入失敗",
"enUS": "File import failed",
"jaJP": "ファイルのインポートに失敗しました",
"koKR": "파일 가져오기 실패",
"ruRU": "Импорт файла не удался",
"ptBR": "A importação do arquivo falhou",
"frFR": "L'importation du fichier a échoué",
"esAR": "La importación del archivo falló",
"arDZ": "فشل استيراد الملف"
},
"timestamp": "2025-07-17T03:49:10.341Z"
},
"模板下载成功": {
"text": "模板下载成功",
"key": "t_6_1752724141819",
"translations": {
"zhCN": "模板下载成功",
"zhTW": "模板下載成功",
"enUS": "Template downloaded successfully",
"jaJP": "テンプレートのダウンロードが成功しました",
"koKR": "템플릿 다운로드가 성공했습니다",
"ruRU": "Шаблон успешно загружен",
"ptBR": "Modelo baixado com sucesso",
"frFR": "Modèle téléchargé avec succès",
"esAR": "Plantilla descargada con éxito",
"arDZ": "تم تنزيل القالب بنجاح"
},
"timestamp": "2025-07-17T03:49:10.341Z"
},
"模板下载失败": {
"text": "模板下载失败",
"key": "t_7_1752724142049",
"translations": {
"zhCN": "模板下载失败",
"zhTW": "模板下載失敗",
"enUS": "Template download failed",
"jaJP": "テンプレートのダウンロードに失敗しました",
"koKR": "템플릿 다운로드에 실패했습니다",
"ruRU": "Не удалось загрузить шаблон",
"ptBR": "Falha no download do modelo",
"frFR": "Échec du téléchargement du modèle",
"esAR": "Error en la descarga de la plantilla",
"arDZ": "فشل تحميل القالب"
},
"timestamp": "2025-07-17T03:49:10.341Z"
},
"正在上传...": {
"text": "正在上传...",
"key": "t_8_1752724140497",
"translations": {
"zhCN": "正在上传...",
"zhTW": "正在上傳...",
"enUS": "Uploading...",
"jaJP": "アップロードしています...",
"koKR": "업로드 중입니다...",
"ruRU": "Загрузка...",
"ptBR": "Fazendo upload...",
"frFR": "Téléchargement en cours...",
"esAR": "Subiendo...",
"arDZ": "جاري التحميل..."
},
"timestamp": "2025-07-17T03:49:10.341Z"
},
"上传成功!": {
"text": "上传成功!",
"key": "t_9_1752724142231",
"translations": {
"zhCN": "上传成功!",
"zhTW": "上傳成功!",
"enUS": "Upload successful!",
"jaJP": "アップロードに成功しました!",
"koKR": "업로드 성공!",
"ruRU": "Загрузка выполнена успешно!",
"ptBR": "Upload realizado com sucesso!",
"frFR": "Téléchargement réussi !",
"esAR": "¡Carga exitosa!",
"arDZ": "تم التحميل بنجاح!"
},
"timestamp": "2025-07-17T03:49:10.341Z"
},
"点击或拖拽文件到此区域进行上传": {
"text": "点击或拖拽文件到此区域进行上传",
"key": "t_10_1752724143320",
"translations": {
"zhCN": "点击或拖拽文件到此区域进行上传",
"zhTW": "點擊或拖拽文件到此區域進行上傳",
"enUS": "Click or drag files to this area to upload",
"jaJP": "ファイルをクリックまたはドラッグしてこの領域にアップロードします",
"koKR": "파일을 클릭하거나 끌어서 이 영역에 업로드하세요",
"ruRU": "Нажмите или перетащите файлы в эту область для загрузки",
"ptBR": "Clique ou arraste arquivos para esta área para fazer o upload",
"frFR": "Cliquez ou faites glisser des fichiers dans cette zone pour les télécharger",
"esAR": "Haga clic o arrastre archivos a esta área para subirlos",
"arDZ": "انقر أو اسحب الملفات إلى هذه المنطقة للتحميل"
},
"timestamp": "2025-07-17T03:49:10.341Z"
},
"文件导入": {
"text": "文件导入",
"key": "t_11_1752724141334",
"translations": {
"zhCN": "文件导入",
"zhTW": "檔案匯入",
"enUS": "File import",
"jaJP": "ファイルインポート",
"koKR": "파일 가져오기",
"ruRU": "Импорт файла",
"ptBR": "Importação de arquivo",
"frFR": "Importation de fichier",
"esAR": "Importación de archivo",
"arDZ": "استيراد الملف"
},
"timestamp": "2025-07-17T03:49:10.341Z"
},
"上传监控文件": {
"text": "上传监控文件",
"key": "t_12_1752724142422",
"translations": {
"zhCN": "上传监控文件",
"zhTW": "上傳監控檔案",
"enUS": "Upload monitoring file",
"jaJP": "監視ファイルをアップロードする",
"koKR": "감시 파일 업로드",
"ruRU": "Загрузить файл мониторинга",
"ptBR": "Fazer upload do arquivo de monitoramento",
"frFR": "Télécharger le fichier de surveillance",
"esAR": "Subir archivo de monitoreo",
"arDZ": "تحميل ملف المراقبة"
},
"timestamp": "2025-07-17T03:49:10.341Z"
},
"支持 CSV、JSON、Excel 格式,文件大小不超过 10MB": {
"text": "支持 CSV、JSON、Excel 格式,文件大小不超过 10MB",
"key": "t_13_1752724148548",
"translations": {
"zhCN": "支持 CSV、JSON、Excel 格式,文件大小不超过 10MB",
"zhTW": "支援 CSV、JSON、Excel 格式,檔案大小不超過 10MB",
"enUS": "Supports CSV, JSON, Excel formats, file size not exceeding 10MB",
"jaJP": "CSV、JSON、Excel形式をサポートし、ファイルサイズは10MBを超えないでください",
"koKR": "CSV, JSON, Excel 형식을 지원하며, 파일 크기는 10MB를 초과하지 않아야 합니다",
"ruRU": "Поддерживаемые форматы: CSV, JSON, Excel. Размер файла не должен превышать 10 МБ",
"ptBR": "Suporta formatos CSV, JSON, Excel, o tamanho do arquivo não deve exceder 10MB",
"frFR": "Prend en charge les formats CSV, JSON, Excel, la taille du fichier ne doit pas dépasser 10 Mo",
"esAR": "Soporta formatos CSV, JSON, Excel, el tamaño del archivo no debe superar los 10MB",
"arDZ": "يدعم تنسيقات CSV و JSON و Excel، ويجب ألا يتجاوز حجم الملف 10 ميغابايت"
},
"timestamp": "2025-07-17T03:49:10.341Z"
},
"文件格式说明": {
"text": "文件格式说明",
"key": "t_14_1752724142256",
"translations": {
"zhCN": "文件格式说明",
"zhTW": "檔案格式說明",
"enUS": "File format description",
"jaJP": "ファイル形式の説明",
"koKR": "파일 형식 설명",
"ruRU": "Описание формата файла",
"ptBR": "Descrição do formato de arquivo",
"frFR": "Description du format de fichier",
"esAR": "Descripción del formato de archivo",
"arDZ": "وصف تنسيق الملف"
},
"timestamp": "2025-07-17T03:49:10.341Z"
},
"下载模板": {
"text": "下载模板",
"key": "t_15_1752724141047",
"translations": {
"zhCN": "下载模板",
"zhTW": "下載範本",
"enUS": "Download template",
"jaJP": "テンプレートをダウンロード",
"koKR": "템플릿 다운로드",
"ruRU": "Скачать шаблон",
"ptBR": "Baixar modelo",
"frFR": "Télécharger le modèle",
"esAR": "Descargar plantilla",
"arDZ": "تنزيل القالب"
},
"timestamp": "2025-07-17T03:49:10.341Z"
},
"下载导入模板": {
"text": "下载导入模板",
"key": "t_16_1752724141914",
"translations": {
"zhCN": "下载导入模板",
"zhTW": "下載匯入模板",
"enUS": "Download import template",
"jaJP": "インポートテンプレートをダウンロード",
"koKR": "수입 템플릿 다운로드",
"ruRU": "Скачать шаблон для импорта",
"ptBR": "Baixar modelo de importação",
"frFR": "Télécharger le modèle d'importation",
"esAR": "Descargar plantilla de importación",
"arDZ": "تحميل قالب الاستيراد"
},
"timestamp": "2025-07-17T03:49:10.341Z"
},
"下载标准模板文件,编辑后上传导入": {
"text": "下载标准模板文件,编辑后上传导入",
"key": "t_17_1752724150341",
"translations": {
"zhCN": "下载标准模板文件,编辑后上传导入",
"zhTW": "下載標準範本檔案,編輯後上傳匯入",
"enUS": "Download the standard template file, edit it, and then upload to import",
"jaJP": "標準テンプレートファイルをダウンロードし、編集してからアップロードしてインポートします",
"koKR": "표준 템플릿 파일을 다운로드하여 편집한 후 업로드하여 가져옵니다",
"ruRU": "Скачайте стандартный шаблон файла, отредактируйте его, а затем загрузите для импорта",
"ptBR": "Baixe o arquivo modelo padrão, edite-o e, em seguida, faça o upload para importar",
"frFR": "Téléchargez le fichier modèle standard, éditez-le, puis téléchargez-le pour l'importer",
"esAR": "Descargue el archivo de plantilla estándar, edítelo y luego cárguelo para importarlo",
"arDZ": "قم بتحميل ملف القالب القياسي، ثم تحريره وتحميله للوارد"
},
"timestamp": "2025-07-17T03:49:10.341Z"
}
}

View File

@@ -0,0 +1,18 @@
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="./favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>AllinSSL</title>
<script>
// SPA路由回退处理
// 将当前路径存储到sessionStorage然后重定向到根路径
sessionStorage.setItem('redirectPath', location.pathname + location.search + location.hash);
location.replace('/');
</script>
</head>
<body>
<div id="app"></div>
</body>
</html>

View File

@@ -669,5 +669,23 @@
"t_3_1750399513606": "شهادة CA",
"t_0_1750469182154": "صيغة اسم المجال خاطئة",
"t_0_1752230148946": "Alibaba Cloud DCDN",
"t_1_1752230146379": "علي بابا كلاود ESA"
"t_1_1752230146379": "علي بابا كلاود ESA",
"t_0_1752724141380": "استيراد المراقبة",
"t_1_1752724147270": "تنسيق ملف غير مدعوم، يرجى تحميل ملف بصيغة txt أو csv أو json أو xlsx.",
"t_2_1752724144669": "لا يمكن أن يتجاوز حجم الملف 10 ميغابايت",
"t_3_1752724148992": "اكتملت الاستيراد! نجح: {success} عنصر، فشل: {failed} عنصر",
"t_4_1752724142308": "تم استيراد الملف بنجاح",
"t_5_1752724143078": "فشل استيراد الملف",
"t_6_1752724141819": "تم تنزيل القالب بنجاح",
"t_7_1752724142049": "فشل تحميل القالب",
"t_8_1752724140497": "جاري التحميل...",
"t_9_1752724142231": "تم التحميل بنجاح!",
"t_10_1752724143320": "انقر أو اسحب الملفات إلى هذه المنطقة للتحميل",
"t_11_1752724141334": "استيراد الملف",
"t_12_1752724142422": "تحميل ملف المراقبة",
"t_13_1752724148548": "يدعم تنسيقات CSV و JSON و Excel، ويجب ألا يتجاوز حجم الملف 10 ميغابايت",
"t_14_1752724142256": "وصف تنسيق الملف",
"t_15_1752724141047": "تنزيل القالب",
"t_16_1752724141914": "تحميل قالب الاستيراد",
"t_17_1752724150341": "قم بتحميل ملف القالب القياسي، ثم تحريره وتحميله للوارد"
}

View File

@@ -669,5 +669,23 @@
"t_3_1750399513606": "Certificate CA",
"t_0_1750469182154": "Domain name format is incorrect",
"t_0_1752230148946": "Alibaba Cloud DCDN",
"t_1_1752230146379": "Aliyun ESA"
"t_1_1752230146379": "Aliyun ESA",
"t_0_1752724141380": "Import Monitoring",
"t_1_1752724147270": "Unsupported file format, please upload a txt, csv, json, or xlsx file",
"t_2_1752724144669": "File size cannot exceed 10MB",
"t_3_1752724148992": "Import completed! Success: {success} items, Failed: {failed} items",
"t_4_1752724142308": "File imported successfully",
"t_5_1752724143078": "File import failed",
"t_6_1752724141819": "Template downloaded successfully",
"t_7_1752724142049": "Template download failed",
"t_8_1752724140497": "Uploading...",
"t_9_1752724142231": "Upload successful!",
"t_10_1752724143320": "Click or drag files to this area to upload",
"t_11_1752724141334": "File import",
"t_12_1752724142422": "Upload monitoring file",
"t_13_1752724148548": "Supports CSV, JSON, Excel formats, file size not exceeding 10MB",
"t_14_1752724142256": "File format description",
"t_15_1752724141047": "Download template",
"t_16_1752724141914": "Download import template",
"t_17_1752724150341": "Download the standard template file, edit it, and then upload to import"
}

View File

@@ -669,5 +669,23 @@
"t_3_1750399513606": "Certificado CA",
"t_0_1750469182154": "Formato de nombre de dominio incorrecto",
"t_0_1752230148946": "Alibaba Cloud DCDN",
"t_1_1752230146379": "Aliyun ESA"
"t_1_1752230146379": "Aliyun ESA",
"t_0_1752724141380": "Importar Monitoreo",
"t_1_1752724147270": "Formato de archivo no soportado, por favor suba un archivo txt, csv, json o xlsx.",
"t_2_1752724144669": "El tamaño del archivo no puede superar los 10MB",
"t_3_1752724148992": "¡Importación completada! Éxito: {success} elementos, Falla: {failed} elementos",
"t_4_1752724142308": "Archivo importado con éxito",
"t_5_1752724143078": "La importación del archivo falló",
"t_6_1752724141819": "Plantilla descargada con éxito",
"t_7_1752724142049": "Error en la descarga de la plantilla",
"t_8_1752724140497": "Subiendo...",
"t_9_1752724142231": "¡Carga exitosa!",
"t_10_1752724143320": "Haga clic o arrastre archivos a esta área para subirlos",
"t_11_1752724141334": "Importación de archivo",
"t_12_1752724142422": "Subir archivo de monitoreo",
"t_13_1752724148548": "Soporta formatos CSV, JSON, Excel, el tamaño del archivo no debe superar los 10MB",
"t_14_1752724142256": "Descripción del formato de archivo",
"t_15_1752724141047": "Descargar plantilla",
"t_16_1752724141914": "Descargar plantilla de importación",
"t_17_1752724150341": "Descargue el archivo de plantilla estándar, edítelo y luego cárguelo para importarlo"
}

View File

@@ -669,5 +669,23 @@
"t_3_1750399513606": "Certificat CA",
"t_0_1750469182154": "Format du nom de domaine incorrect",
"t_0_1752230148946": "Alibaba Cloud DCDN",
"t_1_1752230146379": "Aliyun ESA"
"t_1_1752230146379": "Aliyun ESA",
"t_0_1752724141380": "Importer le monitoring",
"t_1_1752724147270": "Format de fichier non pris en charge, veuillez télécharger un fichier txt, csv, json ou xlsx.",
"t_2_1752724144669": "La taille du fichier ne doit pas dépasser 10 Mo",
"t_3_1752724148992": "Importation terminée ! Succès : {success} éléments, Échec : {failed} éléments",
"t_4_1752724142308": "Fichier importé avec succès",
"t_5_1752724143078": "L'importation du fichier a échoué",
"t_6_1752724141819": "Modèle téléchargé avec succès",
"t_7_1752724142049": "Échec du téléchargement du modèle",
"t_8_1752724140497": "Téléchargement en cours...",
"t_9_1752724142231": "Téléchargement réussi !",
"t_10_1752724143320": "Cliquez ou faites glisser des fichiers dans cette zone pour les télécharger",
"t_11_1752724141334": "Importation de fichier",
"t_12_1752724142422": "Télécharger le fichier de surveillance",
"t_13_1752724148548": "Prend en charge les formats CSV, JSON, Excel, la taille du fichier ne doit pas dépasser 10 Mo",
"t_14_1752724142256": "Description du format de fichier",
"t_15_1752724141047": "Télécharger le modèle",
"t_16_1752724141914": "Télécharger le modèle d'importation",
"t_17_1752724150341": "Téléchargez le fichier modèle standard, éditez-le, puis téléchargez-le pour l'importer"
}

View File

@@ -669,5 +669,23 @@
"t_3_1750399513606": "証明書CA",
"t_0_1750469182154": "ドメイン名の形式が間違っています",
"t_0_1752230148946": "アリババクラウドDCDN",
"t_1_1752230146379": "アリババクラウドESA"
"t_1_1752230146379": "アリババクラウドESA",
"t_0_1752724141380": "モニタリングのインポート",
"t_1_1752724147270": "サポートされていないファイル形式です。txt、csv、json、またはxlsxファイルをアップロードしてください。",
"t_2_1752724144669": "ファイルサイズは10MBを超えてはなりません",
"t_3_1752724148992": "インポートが完了しました!成功:{success} 件、失敗:{failed} 件",
"t_4_1752724142308": "ファイルのインポートが成功しました",
"t_5_1752724143078": "ファイルのインポートに失敗しました",
"t_6_1752724141819": "テンプレートのダウンロードが成功しました",
"t_7_1752724142049": "テンプレートのダウンロードに失敗しました",
"t_8_1752724140497": "アップロードしています...",
"t_9_1752724142231": "アップロードに成功しました!",
"t_10_1752724143320": "ファイルをクリックまたはドラッグしてこの領域にアップロードします",
"t_11_1752724141334": "ファイルインポート",
"t_12_1752724142422": "監視ファイルをアップロードする",
"t_13_1752724148548": "CSV、JSON、Excel形式をサポートし、ファイルサイズは10MBを超えないでください",
"t_14_1752724142256": "ファイル形式の説明",
"t_15_1752724141047": "テンプレートをダウンロード",
"t_16_1752724141914": "インポートテンプレートをダウンロード",
"t_17_1752724150341": "標準テンプレートファイルをダウンロードし、編集してからアップロードしてインポートします"
}

View File

@@ -669,5 +669,23 @@
"t_3_1750399513606": "인증서 CA",
"t_0_1750469182154": "도메인 이름 형식이 잘못되었습니다",
"t_0_1752230148946": "알리바바 클라우드 DCDN",
"t_1_1752230146379": "알리바바 클라우드 ESA"
"t_1_1752230146379": "알리바바 클라우드 ESA",
"t_0_1752724141380": "모니터링 가져오기",
"t_1_1752724147270": "지원되지 않는 파일 형식입니다. txt, csv, json 또는 xlsx 파일을 업로드해주세요.",
"t_2_1752724144669": "파일 크기는 10MB를 초과할 수 없습니다",
"t_3_1752724148992": "가져오기 완료! 성공: {success} 건, 실패: {failed} 건",
"t_4_1752724142308": "파일이 성공적으로 가져와졌습니다",
"t_5_1752724143078": "파일 가져오기 실패",
"t_6_1752724141819": "템플릿 다운로드가 성공했습니다",
"t_7_1752724142049": "템플릿 다운로드에 실패했습니다",
"t_8_1752724140497": "업로드 중입니다...",
"t_9_1752724142231": "업로드 성공!",
"t_10_1752724143320": "파일을 클릭하거나 끌어서 이 영역에 업로드하세요",
"t_11_1752724141334": "파일 가져오기",
"t_12_1752724142422": "감시 파일 업로드",
"t_13_1752724148548": "CSV, JSON, Excel 형식을 지원하며, 파일 크기는 10MB를 초과하지 않아야 합니다",
"t_14_1752724142256": "파일 형식 설명",
"t_15_1752724141047": "템플릿 다운로드",
"t_16_1752724141914": "수입 템플릿 다운로드",
"t_17_1752724150341": "표준 템플릿 파일을 다운로드하여 편집한 후 업로드하여 가져옵니다"
}

View File

@@ -669,5 +669,23 @@
"t_3_1750399513606": "Certificado CA",
"t_0_1750469182154": "Formato do nome de domínio incorreto",
"t_0_1752230148946": "Alibaba Cloud DCDN",
"t_1_1752230146379": "Aliyun ESA"
"t_1_1752230146379": "Aliyun ESA",
"t_0_1752724141380": "Importar Monitoramento",
"t_1_1752724147270": "Formato de arquivo não suportado, por favor, faça o upload de um arquivo txt, csv, json ou xlsx.",
"t_2_1752724144669": "O tamanho do arquivo não pode exceder 10MB",
"t_3_1752724148992": "Importação concluída! Sucesso: {success} itens, Falha: {failed} itens",
"t_4_1752724142308": "Arquivo importado com sucesso",
"t_5_1752724143078": "A importação do arquivo falhou",
"t_6_1752724141819": "Modelo baixado com sucesso",
"t_7_1752724142049": "Falha no download do modelo",
"t_8_1752724140497": "Fazendo upload...",
"t_9_1752724142231": "Upload realizado com sucesso!",
"t_10_1752724143320": "Clique ou arraste arquivos para esta área para fazer o upload",
"t_11_1752724141334": "Importação de arquivo",
"t_12_1752724142422": "Fazer upload do arquivo de monitoramento",
"t_13_1752724148548": "Suporta formatos CSV, JSON, Excel, o tamanho do arquivo não deve exceder 10MB",
"t_14_1752724142256": "Descrição do formato de arquivo",
"t_15_1752724141047": "Baixar modelo",
"t_16_1752724141914": "Baixar modelo de importação",
"t_17_1752724150341": "Baixe o arquivo modelo padrão, edite-o e, em seguida, faça o upload para importar"
}

View File

@@ -669,5 +669,23 @@
"t_3_1750399513606": "Сертификат CA",
"t_0_1750469182154": "Неверный формат доменного имени",
"t_0_1752230148946": "Alibaba Cloud DCDN",
"t_1_1752230146379": "Алибаба Клауд ESA"
"t_1_1752230146379": "Алибаба Клауд ESA",
"t_0_1752724141380": "Импорт мониторинга",
"t_1_1752724147270": "Неподдерживаемый формат файла. Пожалуйста, загрузите файл в формате txt, csv, json или xlsx.",
"t_2_1752724144669": "Размер файла не должен превышать 10МБ",
"t_3_1752724148992": "Импорт завершен! Успешно: {success} элементов, Неудачно: {failed} элементов",
"t_4_1752724142308": "Файл успешно импортирован",
"t_5_1752724143078": "Импорт файла не удался",
"t_6_1752724141819": "Шаблон успешно загружен",
"t_7_1752724142049": "Не удалось загрузить шаблон",
"t_8_1752724140497": "Загрузка...",
"t_9_1752724142231": "Загрузка выполнена успешно!",
"t_10_1752724143320": "Нажмите или перетащите файлы в эту область для загрузки",
"t_11_1752724141334": "Импорт файла",
"t_12_1752724142422": "Загрузить файл мониторинга",
"t_13_1752724148548": "Поддерживаемые форматы: CSV, JSON, Excel. Размер файла не должен превышать 10 МБ",
"t_14_1752724142256": "Описание формата файла",
"t_15_1752724141047": "Скачать шаблон",
"t_16_1752724141914": "Скачать шаблон для импорта",
"t_17_1752724150341": "Скачайте стандартный шаблон файла, отредактируйте его, а затем загрузите для импорта"
}

File diff suppressed because it is too large Load Diff

View File

@@ -668,5 +668,23 @@
"t_3_1750399513606": "證書CA",
"t_0_1750469182154": "網域名稱格式錯誤",
"t_0_1752230148946": "阿里雲DCDN",
"t_1_1752230146379": "阿里雲ESA"
"t_1_1752230146379": "阿里雲ESA",
"t_0_1752724141380": "匯入監控",
"t_1_1752724147270": "不支援的檔案格式,請上傳 txt、csv、json 或 xlsx 檔案",
"t_2_1752724144669": "檔案大小不能超過 10MB",
"t_3_1752724148992": "匯入完成!成功:{success} 筆,失敗:{failed} 筆",
"t_4_1752724142308": "檔案導入成功",
"t_5_1752724143078": "檔案匯入失敗",
"t_6_1752724141819": "模板下載成功",
"t_7_1752724142049": "模板下載失敗",
"t_8_1752724140497": "正在上傳...",
"t_9_1752724142231": "上傳成功!",
"t_10_1752724143320": "點擊或拖拽文件到此區域進行上傳",
"t_11_1752724141334": "檔案匯入",
"t_12_1752724142422": "上傳監控檔案",
"t_13_1752724148548": "支援 CSV、JSON、Excel 格式,檔案大小不超過 10MB",
"t_14_1752724142256": "檔案格式說明",
"t_15_1752724141047": "下載範本",
"t_16_1752724141914": "下載匯入模板",
"t_17_1752724150341": "下載標準範本檔案,編輯後上傳匯入"
}

View File

@@ -16,6 +16,14 @@ const useRouterEach = (router: Router) =>
beforeEach: (to: RouteLocationNormalized, _: RouteLocationNormalized, next: NavigationGuardNext) => {
// 开始加载
loadingBar.start()
// 处理SPA路由回退重定向
const redirectPath = sessionStorage.getItem('redirectPath')
if (redirectPath && to.path === '/') {
sessionStorage.removeItem('redirectPath')
return next(redirectPath)
}
// 判断当前路由是否存在,如果不存在,则跳转到 404
if (!router.hasRoute(to.name as string)) {
if (!to.path.includes('/404')) return next({ path: '/404' })

View File

@@ -55,13 +55,13 @@ export default defineComponent({
// 验证文件类型
if (!validateFileType(file)) {
message.error($t('t_9_1753000000001'))
message.error($t('t_1_1752724147270'))
return false
}
// 验证文件大小
if (!validateFileSize(file)) {
message.error($t('t_10_1753000000001'))
message.error($t('t_2_1752724144669'))
return false
}
@@ -123,7 +123,7 @@ export default defineComponent({
if (result.data) {
const { success_count, failed_count } = result.data
message.success(
$t('t_14_1753000000001')
$t('t_3_1752724148992')
.replace('{success}', success_count.toString())
.replace('{failed}', failed_count.toString()),
)
@@ -131,7 +131,7 @@ export default defineComponent({
// 通知父组件刷新数据
emit('success')
} else {
message.success($t('t_15_1753000000001'))
message.success($t('t_4_1752724142308'))
emit('success')
}
} catch (error) {
@@ -139,9 +139,9 @@ export default defineComponent({
uploading: false,
progress: 0,
success: false,
error: $t('t_13_1753000000001'),
error: $t('t_39_1745227838696'),
}
handleError(error).default($t('t_16_1753000000001'))
handleError(error).default($t('t_5_1752724143078'))
}
}
@@ -175,33 +175,33 @@ export default defineComponent({
document.body.removeChild(link)
window.URL.revokeObjectURL(url)
message.success(`${type.toUpperCase()} ${$t('t_17_1753000000001')}`)
message.success(`${type.toUpperCase()} ${$t('t_6_1752724141819')}`)
} catch (error) {
handleError(error).default($t('t_18_1753000000001'))
handleError(error).default($t('t_7_1752724142049'))
}
}
// 计算上传提示文本
const uploadTipText = computed(() => {
if (uploadStatus.value.uploading) {
return `${$t('t_11_1753000000001')} ${uploadStatus.value.progress}%`
return `${$t('t_8_1752724140497')} ${uploadStatus.value.progress}%`
}
if (uploadStatus.value.success) {
return $t('t_12_1753000000001')
return $t('t_9_1752724142231')
}
if (uploadStatus.value.error) {
return uploadStatus.value.error
}
return $t('t_4_1753000000001')
return $t('t_10_1752724143320')
})
return () => (
<div class="import-monitor-modal">
<NTabs value={activeTab.value} onUpdateValue={(value) => (activeTab.value = value as 'import' | 'template')}>
{/* 文件导入标签页 */}
<NTabPane name="import" tab={$t('t_1_1753000000001')}>
<NTabPane name="import" tab={$t('t_11_1752724141334')}>
<div class="p-6">
<NCard title={$t('t_3_1753000000001')} class="mb-4">
<NCard title={$t('t_12_1752724142422')} class="mb-4">
<NUpload
multiple={false}
accept=".txt,.csv,.json,.xlsx"
@@ -216,7 +216,7 @@ export default defineComponent({
</NIcon>
<NText class="text-lg block mb-2">{uploadTipText.value}</NText>
<NText depth="3" class="text-sm">
{$t('t_5_1753000000001')}
{$t('t_13_1752724148548')}
</NText>
</div>
</NUploadDragger>
@@ -225,7 +225,7 @@ export default defineComponent({
<NDivider />
<NCard title={$t('t_6_1753000000001')} class="mt-4">
<NCard title={$t('t_14_1752724142256')} class="mt-4">
<div class="space-y-3">
<div>
<NText strong>CSV格式</NText>
@@ -249,11 +249,11 @@ export default defineComponent({
</NTabPane>
{/* 模板下载标签页 */}
<NTabPane name="template" tab={$t('t_2_1753000000001')}>
<NTabPane name="template" tab={$t('t_15_1752724141047')}>
<div class="p-6">
<NCard title={$t('t_7_1753000000001')}>
<NCard title={$t('t_16_1752724141914')}>
<NText class="block mb-6" depth="3">
{$t('t_8_1753000000001')}
{$t('t_17_1752724150341')}
</NText>
<NSpace vertical size="large">

View File

@@ -58,7 +58,7 @@ export default defineComponent({
{$t('t_11_1745289354516')}
</NButton>
<NButton type="default" size="large" class="px-5" onClick={openImportForm}>
{$t('t_0_1753000000001')}
{$t('t_0_1752724141380')}
</NButton>
</NSpace>
),

View File

@@ -304,7 +304,7 @@ export const useController = (): MonitorControllerExposes => {
*/
const openImportForm = (): void => {
useModal({
title: $t('t_0_1753000000001'),
title: $t('t_0_1752724141380'),
area: 600,
component: ImportMonitorModal,
footer: false,

View File

@@ -105,9 +105,8 @@ export default defineConfig({
// targetDir: 'allinssl-gitlab',
// discardChanges: true,
// },
{
repo: 'https://github.com/allinssl/allinssl.git',
repo: 'git@github.com:allinssl/allinssl.git',
branch: '1.0.7',
targetDir: 'allinssl-github',
discardChanges: true,
@@ -184,6 +183,18 @@ export default defineConfig({
chunkSizeWarningLimit: 800, // 警告阈值
assetsInlineLimit: 2048, // 小于2kb的资源内联
modulePreload: false, // 禁用预加载
// SPA路由支持生成404.html作为回退页面
rollupOptions: {
input: {
main: path.resolve(__dirname, 'index.html'),
},
output: {
// 确保资源路径正确
assetFileNames: 'static/[ext]/[name]-[hash].[ext]',
chunkFileNames: 'static/js/[name]-[hash].js',
entryFileNames: 'static/js/[name]-[hash].js',
},
},
terserOptions: {
// 打包后移除console和注释
compress: {
@@ -197,6 +208,7 @@ export default defineConfig({
},
strictDeprecations: true, // 严格弃用
output: {
// 确保资源路径正确支持SPA路由
entryFileNames: `${packPath}js/[name]-[hash].js`,
chunkFileNames: `${packPath}js/[name]-[hash].js`,
assetFileNames: (chunkInfo) => {
@@ -228,7 +240,4 @@ export default defineConfig({
},
},
},
test: {
include: ['src/**/*.spec.ts'],
},
})