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

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>) { export function addPerfThre(data: Record<string, any>) {
let obj: any = { let obj: any = {
ne_type: data.neType, ne_type: data.neType,
kpi_set: data.performanceArr, kpi_set: data.kpiSet,
status: 'Inactive', status: 'Inactive',
orig_severity: data.origSeverity, orig_severity: data.origSeverity,
threshold: data.threshold, threshold: data.threshold,

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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