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

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

@@ -94,7 +94,7 @@ export async function getPerfThre(id: string | number) {
export function addPerfThre(data: Record<string, any>) {
let obj: any = {
ne_type: data.neType,
kpi_set: data.performanceArr,
kpi_set: data.kpiSet,
status: 'Inactive',
orig_severity: data.origSeverity,
threshold: data.threshold,

View File

@@ -227,7 +227,7 @@ export default {
},
account: {
settings: {
baseInfo: "Basic Info",
baseInfo: " Basic Info",
sex: "Gender",
sexPleace: "Please select the user's gender",
email: "Email",
@@ -346,8 +346,8 @@ export default {
setBackupTask: 'Set automatic backup time',
neTypePlease: 'Query network element type',
neType: 'Type',
neID: 'Identifying',
fileName: 'FileName',
neID: 'NE ID',
fileName: 'File Name',
createAt: 'CreateAt',
remark:'Remark ',
edit:'Edit Backup File',
@@ -360,7 +360,7 @@ export default {
historyBtn: 'Distribution Record',
neTypePlease: 'Select network element type',
neType: 'Type',
fileName: 'FileName',
fileName: 'File Name',
version: 'Version',
versionPlease: 'Version number cannot be empty',
updateTime: 'Uploaded',
@@ -393,7 +393,7 @@ export default {
license: {
neTypePlease: 'Select network element type',
neType: 'Type',
fileName: 'FileName',
fileName: 'File Name',
createTime: 'Uploaded',
comment: 'File Description',
updateComment: 'License Description',
@@ -401,7 +401,7 @@ export default {
updateFile: 'License File',
updateFilePlease: 'Please upload and update the License file',
selectFile: 'SELECT FILE',
neId: 'Internal identification',
neId: 'NE ID',
neIdPlease: 'Please select the corresponding network element',
},
configParam:{
@@ -494,7 +494,7 @@ export default {
size: 'Measurement Dimensionality',
taskStatus: 'Task Status',
addUser: 'Creator',
addTime: 'Creation time',
addTime: 'Creation Time',
granulOption:'Particle',
performanceList:'Performance Set',
period:'Measurement period',
@@ -559,11 +559,11 @@ export default {
srcIp: 'Source IP address',
dstIp: 'Destination IP address',
signalType: 'Signaling type',
msgDirect: 'Message direct',
msgType: 'Message type',
rowTime: 'Record time',
signalData: 'Signaling data',
signalDetail: 'Signaling details',
msgDirect: 'Message Direct',
msgType: 'Message Type',
rowTime: 'Record Time',
signalData: 'Signaling Data',
signalDetail: 'Signaling Details',
noData: 'No information content',
taskTitle: 'Task {num}',
taskDownText: 'Download HTML',
@@ -736,7 +736,7 @@ export default {
alarmObj:'Object',
alarmTitle:'Alarm Title',
alarmInfo:'Alarm Content',
eventTime:'Generation time',
eventTime:'Generation Time',
logTime:'Record Time'
}
},
@@ -778,11 +778,11 @@ export default {
down: 'down train',
},
online:{
mettingId:'Session number',
mettingId:'Session Number',
account:'Account',
class:'Department',
host:'Host',
loginDes:'Login location',
loginDes:'Login Location',
os:'OS',
lib:'Browser',
loginTime:'Log in time',
@@ -790,19 +790,19 @@ export default {
getOutSure:'Confirm the forced logout of the user whose login account is {userName} ?',
},
system:{
systemInfo:'System Information',
systemInfo:' System Information',
runPlace:'Running Platform',
placeVersion:'Platform Version',
systemPlace:'System Platform',
systemArchitecture:'System Architecture',
host:'Host Name',
runTime:'Running Time',
cpuInfo:'CPU information',
cpuInfo:'CPU Information',
model:'Model',
hz:'Rate Hz',
cores:'Number of Cores',
usage:'Usage Rate (%)',
memory:'memory information',
memory:'memory Information',
totalMemory:'Total Memory',
lastMemory:'Remaining Memory',
proMemory:'Total process memory',
@@ -812,34 +812,34 @@ export default {
timeInfo:'Time Information',
time:'Time',
timeZone:'Time Zone',
timeZoneName:'time Zone Name',
timeZoneName:'Time Zone Name',
networkInfo:'Network Information',
ethernet:'Ethernet',
localConnect:'Local Connection* ',
diskInfo:'Disk Information',
disk:'Path Drive Letter',
totalSize:'Total size',
lastSize:'Remaining size',
usageSize:'Used size',
spaceUsage:'Space usage (%)'
totalSize:'Total Size',
lastSize:'Remaining Size',
usageSize:'Used Size',
spaceUsage:'Space Usage (%)'
},
job: {
jobName: "Job Name",
jobNamePlease: 'Please enter the task name correctly, limited to 2-50 characters',
jobGroup: "Job Group",
invokeTarget: "Invoke target",
invokeTarget: "Invoke Target",
invokeTargetPlease: 'Please enter the call target correctly, limited to 2-50 characters.',
invokeTargetTip: "Parameter description: support for preset incoming parameters, serialized processing parameters in the processor",
cronExpression: "cron expressions",
cronExpression: "Cron Expressions",
cronExpressionPlease: 'Please enter or generate a cron execution expression',
cronExpressionTip: "Example of an expression:0/20 * * * * ?",
cronExpressionTip1: "Illustrative example: Execute tasks every 20 seconds",
cronExpressionNew: "Generating Expressions",
status: "Status",
status0: "disable",
status1: "opens",
status00: "pause",
status01: "normalcy",
status0: "Disable",
status1: "Opens",
status00: "Pause",
status01: "Normalcy",
statusChange: "Are you sure you want the {text} {num} job?",
saveLog: "Recording log",
tipRowErr: "Errors in the recording of jobs",
@@ -851,42 +851,42 @@ export default {
runOneTip: "Are you sure you want to perform a [{num}] job right away?",
runOneOk: "{num} Executed successfully",
delTip: "Are you sure you want to delete job number [{num}]?",
delOk: "Deleted successfully",
delOk: "Deleted Successfully",
resetTip: "Sure you want to reset and refresh the scheduling job?",
resetOk: "Reset Successful",
exportTip: "Confirm exporting xlsx table files based on search criteria?",
exportOk: "Completed export",
exportOk: "Completed Export",
resetQueue: "Reset Queue",
jobLog: "Job log",
jobLog: "Job Log",
createTime: "CreateTime",
targetParams: "TargetParams",
targetParamsPlease: 'Call target incoming parameters, only support json strings',
misfirePolicy: "Error strategy",
misfirePolicy1: "immediate implementation",
misfirePolicy2: "execute once",
misfirePolicy: "Error Strategy",
misfirePolicy1: "Immediate Implementation",
misfirePolicy2: "Execute Once",
misfirePolicy3: "Waiver of implementation",
concurrent: "Concurrency",
concurrent0: "prohibit",
concurrent1: "allowed",
concurrent0: "Prohibit",
concurrent1: "Allowed",
remark: "Remarks",
},
jobLog: {
jobName: "Job Name",
jobGroup: "Job Group",
invokeTarget: "Invoke target",
invokeTarget: "Invoke Target",
status: "Status",
status0: "failures",
status1: "normalcy",
createTime: "CreateTime",
costTime: "CostTime",
status0: "Failures",
status1: "Normalcy",
createTime: "Create Time",
costTime: "Cost Time",
viewLog: "Scheduling log Info",
delTip: "Are you sure you want to delete the scheduling log entry with the number [{num}]?",
delOk: "Deleted successfully",
delOk: "Deleted Successfully",
clearText: "Clear",
clearTip: "Confirm that all dispatch log data items are cleared?",
clearOk: "Cleared successfully",
clearOk: "Cleared Successfully",
exportTip: "Confirm exporting xlsx table files based on search criteria?",
exportOk: "Export completed",
exportOk: "Export Completed",
jobMsg: "Job Messages",
targetParams: "TargetParams",
},
@@ -980,17 +980,17 @@ export default {
configValue: "Config Value",
configValuePlease: 'Please enter the Config Value correctly',
remark: "Config description",
createTime: "CreateTime",
createTime: "Create Time",
refreshCache: "Refresh Cache",
viewInfo: "Config Info",
viewInfoErr: "Failed to get Config Info",
addInfo: "Adding Parameter Configuration",
addInfo: "Add Parameter Configuration",
editInfo: "Modify the Config Info",
tipRowErr: "There is an error in the Config Info record",
delTip: "Confirm deleting the data item with parameter number [{num}] ?",
delOk: "Deleted successfully",
delOk: "Deleted Successfully",
exportTip: "Confirm exporting xlsx table files based on search criteria?",
exportOk: "Completed export",
exportOk: "Completed Export",
refreshCacheTip: "Are you sure you want to refresh the parameter configuration cache?",
refreshCacheOk: "Refresh Cache Successful",
},
@@ -1041,9 +1041,9 @@ export default {
roleId:'Role Id',
roleName:'Role Name',
roleKey:'Role Key',
roleSort:'Role order',
roleSort:'Role Order',
roleStatus:'Status',
createTime:'Creation time',
createTime:'Creation Time',
trueValue:'Please enter {msg} correctly',
roleInfo:'Role information',
distribute:'Assign data permissions',
@@ -1052,9 +1052,9 @@ export default {
statusSure:'Are you sure you want {text} {roleName} role?',
statusFailed:'{roleName} {text} failed',
delSure:'Confirm to delete the data item with role number [{roleId}]?',
distributeUser:'Assign users',
distributeUser:'Assign Users',
roleMark:'Role Description',
menu:'Menu permissions',
menu:'Menu Permissions',
roleKeyTip:"Example of permission identification: Use permission identification in dba controller, such as: @PreAuthorize({ hasRoles: ['dba'] })",
openSwitch:'Expand/Collapse',
selAllSwitch:'Select all/Deselect all',
@@ -1063,37 +1063,37 @@ export default {
stop:'Pause',
preScope:'Scope of authority',
dataPer:'Data permission',
userId:'User number',
account:'Login account',
userName:'User nickname',
userId:'User Number',
account:'Login Account',
userName:'User Nickname',
phone:'Phone',
email:'Email',
userStaus:'User status',
userStaus:'User Status',
selectPls:'Please select the user to be assigned',
suss:'{oper}success',
giveUser:'Authorized user',
giveUser:'Authorized User',
cancelGive:'Cancel authorization',
cancelSure:'Confirm to cancel the authorization of the data item with user number [{userId}]?',
batchCancel:'Batch cancellation of authorization',
},
dept:{
classInfo:' Department information',
className:'Department name',
classInfo:' Department Information',
className:'Department Name',
classId:'Department Number',
classSort:'Department sorting',
status:'Position status',
createTime:'Creation time',
highClass:'Higher office',
classSort:'Department Sorting',
status:'Position Status',
createTime:'Creation Time',
highClass:'Higher Office',
emailTip:'Please input the correct email address',
phoneTip:'Please enter the correct phone number',
node:'Root node',
node:'Root Node',
delSure:'Are you sure to delete the data item with department number [{deptId}]?',
open:'Exhibition',
close:'Fold',
addClass:'Add new sub-department',
showSort:'Show sort',
showSort:'Show Sort',
admin:'Principal',
phone:'Contact number',
phone:'Contact Number',
email:'Mail',
},
post:{
@@ -1186,10 +1186,10 @@ export default {
perms:`Permission identification example: monitor:server:query Permission identification is used in the back-end controller, such as: @PreAuthorize({ hasPermissions: ['monitor:server:query'] }) Permission identification is used in the front-end Vue page, such as: v-perms:has="['monitor:server:query']"`
},
dict:{
dictInfo:'Dictionary Type Information',
dictInfo:' Dictionary Type Information',
dictId:'Dictionary Number',
dictName:'Dictionary Name',
dictType:'Dictionary Type',
dictType:' Dictionary Type',
dictSatus:'Status',
createTime:'Creation Time',
realDictName:'Please enter the dictionary name correctly',

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);