--遗漏的中文信息以及英文拼写

This commit is contained in:
lai
2023-11-13 17:00:17 +08:00
parent 38c2c6bdc3
commit 07779ebd37
7 changed files with 92 additions and 91 deletions

View File

@@ -1030,7 +1030,7 @@ onMounted(() => {
onChange: onSelectChange,
}"
:pagination="tablePagination"
:scroll="{ x: true }"
:scroll="{ x: 2000, y: 400 }"
>
<template #bodyCell="{ column, record }">
<template v-if="column.key === 'origSeverity'">

View File

@@ -783,7 +783,7 @@ onMounted(() => {
onChange: onSelectChange,
}"
:pagination="tablePagination"
:scroll="{ x: true }"
:scroll="{ x: 2000, y: 400 }"
>
<template #bodyCell="{ column, record }">
<template v-if="column.key === 'origSeverity'">

View File

@@ -167,13 +167,13 @@ function fnGetList() {
},
series: [
{
name: '网元状态',
name: t('views.index.realNeStatus') ,
type: 'pie',
radius: '70%',
center: ['50%', '50%'],
data: [
{ value: rightNum, name: '正常' },
{ value: errorNum, name: '异常' },
{ value: rightNum, name: t('views.index.normal') },
{ value: errorNum, name: t('views.index.abnormal') },
],
emphasis: {
itemStyle: {

View File

@@ -1145,7 +1145,7 @@ onMounted(() => {
<a-row :gutter="16">
<a-col :lg="24" :md="24" :xs="24">
<a-form-item
label="5G Subscribed UE AMBR template"
label="5G Subscribed UE AMBR Template"
name="ambr"
v-bind="modalStateFrom.validateInfos.ambr"
>
@@ -1155,7 +1155,7 @@ onMounted(() => {
</a-col>
<a-col :lg="24" :md="24" :xs="24">
<a-form-item
label="5G Subscribed SNSSAIs template"
label="5G Subscribed SNSSAIs Template"
name="nssai"
v-bind="modalStateFrom.validateInfos.nssai"
>
@@ -1168,7 +1168,7 @@ onMounted(() => {
<a-row :gutter="16">
<a-col :lg="24" :md="24" :xs="24">
<a-form-item
label="5G Subscribed SMF Selection Data template"
label="5G Subscribed SMF Selection Data Template"
name="smfSel"
>
<a-input v-model:value="modalState.from.smfSel" allow-clear>
@@ -1184,7 +1184,7 @@ onMounted(() => {
</a-form-item>
</a-col>
<a-col :lg="24" :md="24" :xs="24">
<a-form-item label="5G Forbidden Areas template" name="arfb">
<a-form-item label="5G Forbidden Areas Template" name="arfb">
<a-input v-model:value="modalState.from.arfb" allow-clear>
<template #prefix>
<a-tooltip placement="topLeft">
@@ -1202,7 +1202,7 @@ onMounted(() => {
<a-row :gutter="16">
<a-col :lg="24" :md="24" :xs="24">
<a-form-item
label="5G Service Area Restriction template"
label="5G Service Area Restriction Template"
name="sar"
>
<a-input v-model:value="modalState.from.sar" allow-clear>
@@ -1218,7 +1218,7 @@ onMounted(() => {
</a-form-item>
</a-col>
<a-col :lg="24" :md="24" :xs="24">
<a-form-item label="5G MICO mode" name="mico">
<a-form-item label="5G MICO Mode" name="mico">
<a-tooltip :title="t('views.neUser.sub.micoTip')">
<a-select value="1">
<a-select-option value="1">Enable</a-select-option>
@@ -1470,14 +1470,14 @@ onMounted(() => {
<a-row :gutter="16">
<a-col :lg="24" :md="24" :xs="24">
<a-form-item label="5G Subscribed UE AMBR template" name="ambr">
<a-form-item label="5G Subscribed UE AMBR Template" name="ambr">
<a-input v-model:value="modalState.BatchForm.ambr" allow-clear>
</a-input>
</a-form-item>
</a-col>
<a-col :lg="24" :md="24" :xs="24">
<a-form-item
label="5G Subscribed SNSSAIs template"
label="5G Subscribed SNSSAIs Template"
name="nssai"
v-bind="modalStateBatchFrom.validateInfos.nssai"
>
@@ -1490,7 +1490,7 @@ onMounted(() => {
<a-row :gutter="16">
<a-col :lg="24" :md="24" :xs="24">
<a-form-item
label="5G Subscribed SMF Selection Data template"
label="5G Subscribed SMF Selection Data Template"
name="smfSel"
>
<a-input v-model:value="modalState.BatchForm.smfSel" allow-clear>
@@ -1507,7 +1507,7 @@ onMounted(() => {
</a-col>
<a-col :lg="24" :md="24" :xs="24">
<a-form-item label="5G Forbidden Areas template" name="arfb">
<a-form-item label="5G Forbidden Areas Template" name="arfb">
<a-input v-model:value="modalState.BatchForm.arfb" allow-clear>
<template #prefix>
<a-tooltip placement="topLeft">
@@ -1525,7 +1525,7 @@ onMounted(() => {
<a-row :gutter="16">
<a-col :lg="24" :md="24" :xs="24">
<a-form-item
label="5G Service Area Restriction template"
label="5G Service Area Restriction Template"
name="sar"
>
<a-input v-model:value="modalState.BatchForm.sar" allow-clear>
@@ -1541,7 +1541,7 @@ onMounted(() => {
</a-form-item>
</a-col>
<a-col :lg="24" :md="24" :xs="24">
<a-form-item label="5G MICO mode" name="mico">
<a-form-item label="5G MICO Mode" name="mico">
<a-tooltip :title="t('views.neUser.sub.micoTip')">
<a-select value="1">
<a-select-option value="1">Enable</a-select-option>
@@ -1712,7 +1712,6 @@ onMounted(() => {
<a-input
v-model:value="modalState.BatchDelForm.imsi"
allow-clear
placeholder="请输入IMSI"
>
<template #prefix>
<a-tooltip placement="topLeft">

View File

@@ -472,8 +472,7 @@ function fnModalVisibleByEdit(id?: string) {
res.data.granulOption.substring(0, 2)
);
if (res.data.kpiSet.includes('[') && res.data.neIds.includes('[')) {
modalState.neType = [res.data.neType, JSON.parse(res.data.neIds)[0]];
if (res.data.kpiSet.includes('[')) {
modalState.neTypPerformanceList = JSON.parse(res.data.kpiSet).reduce(
(acc: any, item: any) => acc.concat(item.KPIs),
[]
@@ -485,6 +484,8 @@ function fnModalVisibleByEdit(id?: string) {
modalState.from.smPlan = JSON.parse(res.data.schedule)[0].Days;
}
modalState.neType = [res.data.neType, JSON.parse(res.data.neIds)[0]];
modalState.from.neId=JSON.parse(res.data.neIds)[0];
modalState.timeRangePicker = [res.data.startTime, res.data.endTime];
modalState.from = Object.assign(modalState.from, res.data);
@@ -513,6 +514,8 @@ function fnModalVisibleByEdit(id?: string) {
modalState.initPeriods = [];
modalState.from.periods = modalState.timeSlotAll;
}
} else {
modalState.from.periods = [];
}
modalState.title = t('views.perfManage.taskManage.editTask');
modalState.visibleByEdit = true;
@@ -533,7 +536,6 @@ function fnModalOk() {
.then(e => {
const from = toRaw(modalState.from);
from.accountId = useUserStore().userName;
console.log(from);
modalState.confirmLoading = true;
const perfTask = from.id ? updatePerfTask(from) : addPerfTask(from);
const hide = message.loading(t('common.loading'), 0);