style: 快速开站多语言翻译

This commit is contained in:
TsMask
2024-05-21 17:10:45 +08:00
parent 814b7b0058
commit 7c78eab431
5 changed files with 111 additions and 41 deletions

View File

@@ -19,16 +19,16 @@ function fnGetList() {
if (!stepState.setupNE) {
infoList.value.push({
type: 'error',
title: '未进行安装配置网元',
description: '系统将会默认初始网元信息,可自行修改信息',
title: t('views.system.quickStart.doneSkipTitle'),
description: t('views.system.quickStart.doneSkipDesc'),
});
return;
}
infoList.value.push({
type: 'warning',
title: '已经进行网元安装配置',
description: '如有部分异常网元请进入系统后自行配置',
title: t('views.system.quickStart.doneNETitle'),
description: t('views.system.quickStart.doneNEDesc'),
});
}
@@ -36,7 +36,7 @@ function fnGetList() {
function fnStepPrev() {
Modal.confirm({
title: t('common.tipTitle'),
content: '确认要返回上一步吗?',
content: t('views.system.quickStart.donePrevTip'),
onOk() {
let stepName = 'NeInfoSoftwareLicense';
if (!stepState.setupNE) {
@@ -51,7 +51,7 @@ function fnStepPrev() {
function fnGuideDone() {
Modal.confirm({
title: t('common.tipTitle'),
content: '确认开始使用吗?',
content: t('views.system.quickStart.doneOkTip'),
onOk() {
bootloaderDone()
.then(res => {
@@ -75,16 +75,16 @@ onMounted(() => {
<template>
<a-result
status="success"
title="完成配置"
sub-title="请进入系统后根据情况进行更多相关配置"
:title="t('views.system.quickStart.doneTitle')"
:sub-title="t('views.system.quickStart.doneTip')"
>
<template #extra>
<a-space direction="vertical" style="width: 40%">
<a-button block type="primary" @click="fnGuideDone()">
开始使用
{{ t('views.system.quickStart.finish') }}
</a-button>
<a-button block type="default" @click="fnStepPrev()">
返回上一步
{{ t('views.system.quickStart.stepPrev') }}
</a-button>
</a-space>
</template>