fix: 多语言删除无用定义
This commit is contained in:
@@ -351,163 +351,6 @@ export default {
|
|||||||
description: "No data yet, try refreshing",
|
description: "No data yet, try refreshing",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
configManage: {
|
|
||||||
neManage: {
|
|
||||||
addNe:'Add Network Element',
|
|
||||||
delSure:'Confirm deleting the data item with network element name {msg}',
|
|
||||||
editNe:'Edit Network Element',
|
|
||||||
exportSure:'Confirm exporting the configuration information with the network element name {msg}',
|
|
||||||
exportTip:'Export successful, please go to backup management for download',
|
|
||||||
getInfo:'Failed to get network element information',
|
|
||||||
neType:'NE Type',
|
|
||||||
neTypePlease: 'Select network element type',
|
|
||||||
neId:'NE ID',
|
|
||||||
neName:'NE Name',
|
|
||||||
neTypeTip:'Fill in the type of network element created, such as:SMF',
|
|
||||||
uid:'RM UID',
|
|
||||||
uidTip:'Please enter a unique resource identifier',
|
|
||||||
ip:'IP Address',
|
|
||||||
mac:'NE MAC address',
|
|
||||||
macTip:'Able to locate the physical address (MAC) of the network element',
|
|
||||||
port:'Port',
|
|
||||||
portTip:'Maximum range 0~65535',
|
|
||||||
pvflag:'PV Flag',
|
|
||||||
pnf:'Physical Network Element',
|
|
||||||
vnf:'Virtual Network Element',
|
|
||||||
province:'Region',
|
|
||||||
vendorName:'Vendor Name',
|
|
||||||
dn:'Network Identification',
|
|
||||||
reload: 'Reload',
|
|
||||||
restart: 'Restart',
|
|
||||||
totalSure:'Confirm the network element with {operator} network element name {msg}',
|
|
||||||
stop: 'Stop',
|
|
||||||
start: 'Start',
|
|
||||||
log: 'Logs',
|
|
||||||
export: 'Export',
|
|
||||||
import: 'Import',
|
|
||||||
fileForm:'File Source',
|
|
||||||
selectPlease:'Please select the source of the import file',
|
|
||||||
server:'Server File',
|
|
||||||
local:'Local File',
|
|
||||||
fileSelect:'Please select the current import file',
|
|
||||||
sync:'Synchronize to NE',
|
|
||||||
open:'Open',
|
|
||||||
close:'Close',
|
|
||||||
addFail:'Add failed',
|
|
||||||
operFail:'Operation Failed'
|
|
||||||
},
|
|
||||||
backupManage: {
|
|
||||||
setBackupTask: 'Set automatic backup time',
|
|
||||||
neTypePlease: 'Query network element type',
|
|
||||||
neType: 'NE Type',
|
|
||||||
neID: 'NE ID',
|
|
||||||
fileName: 'File Name',
|
|
||||||
createAt: 'Create at',
|
|
||||||
remark:'Remark',
|
|
||||||
edit:'Edit Backup File',
|
|
||||||
totalSure:'Confirm that {oper} records item number {id}?',
|
|
||||||
},
|
|
||||||
softwareManage: {
|
|
||||||
sendBtn: 'Distribute',
|
|
||||||
runBtn: 'Activate',
|
|
||||||
backBtn: 'Rollback',
|
|
||||||
historyBtn: 'Distribution Record',
|
|
||||||
neTypePlease: 'Select network element type',
|
|
||||||
neType: 'NE Type',
|
|
||||||
fileName: 'File Name',
|
|
||||||
version: 'Version',
|
|
||||||
versionPlease: 'Version number cannot be empty',
|
|
||||||
updateTime: 'Uploaded Time',
|
|
||||||
description: 'Description',
|
|
||||||
deleteTip: 'Are you sure to delete the data item with software [{fileName}]?',
|
|
||||||
downloadTip: 'Are you sure to download the data item with software [{fileName}]?',
|
|
||||||
updateComment: 'Comment',
|
|
||||||
updateCommentPlease: 'Please enter the software description',
|
|
||||||
updateFile: 'Software File',
|
|
||||||
updateFilePlease: 'Please upload the updated software file',
|
|
||||||
verifyFile: 'Verify File',
|
|
||||||
selectFile: 'SELECT FILE',
|
|
||||||
sendTitle: 'Distribute software version',
|
|
||||||
sendContent: 'Are you sure to send the file with the software package [{fileName}] to the corresponding network element?',
|
|
||||||
runTitle: 'Activate software version',
|
|
||||||
runContent: 'Are you sure to activate the software version of [{fileName}] that has been issued to the corresponding network element?',
|
|
||||||
backTitle: 'Fallback software version',
|
|
||||||
backContent: 'Confirm that the software version of [{fileName}] has been issued for the corresponding network element rollback?',
|
|
||||||
neId: 'Corresponding network element',
|
|
||||||
neIdPlease: 'Please select the corresponding network element',
|
|
||||||
versions:'Version',
|
|
||||||
upVersions:'Version before upgrade',
|
|
||||||
backVersions:'Version before rollback',
|
|
||||||
status:'Status',
|
|
||||||
letUpTime:'Activation time',
|
|
||||||
createTime:'Creation time',
|
|
||||||
onlyAble:'Only upload file format {fileText} is supported',
|
|
||||||
nullVersion:'There is no rollback version for the current network element.',
|
|
||||||
},
|
|
||||||
license: {
|
|
||||||
neTypePlease: 'Select network element type',
|
|
||||||
neType: 'NE Type',
|
|
||||||
serialNum: 'Serial Num',
|
|
||||||
createTime: 'Time',
|
|
||||||
comment: 'Description',
|
|
||||||
updateComment: 'License Description',
|
|
||||||
updateCommentPlease: 'Please enter a license description',
|
|
||||||
updateFile: 'License File',
|
|
||||||
updateFilePlease: 'Please upload and update the License file',
|
|
||||||
selectFile: 'SELECT FILE',
|
|
||||||
neId: 'NE ID',
|
|
||||||
neIdPlease: 'Please select the corresponding network element',
|
|
||||||
},
|
|
||||||
configParam:{
|
|
||||||
dataNull:'No configuration item data yet',
|
|
||||||
editSuss:'Modification successful',
|
|
||||||
editFail:'Edit failed',
|
|
||||||
Unable:'Illegal operation of attribute value',
|
|
||||||
delSure:'Confirm to delete the data item with Index [{value}]?',
|
|
||||||
addSuss:'Add successfully',
|
|
||||||
addFail:'Add failed',
|
|
||||||
delArraySure:'Confirm to delete the data item with {arrayChildTitle} Index as [{value}]?',
|
|
||||||
parUnable:'The parameter value is not within the reasonable range',
|
|
||||||
ipv4Tip:'Not a legal IPV4 address',
|
|
||||||
ipv6Tip:'Not a legal IPV6 address',
|
|
||||||
enumTip:'Not a reasonable enumeration value',
|
|
||||||
boolTip:'Not a reasonable Boolean value',
|
|
||||||
default:'The input value is of unknown type',
|
|
||||||
reloadSuss:'Network element reloading completed',
|
|
||||||
reloadFail:'Network element reloading failed',
|
|
||||||
neNUll:'No network element list data yet',
|
|
||||||
reload:'Reload',
|
|
||||||
post:'Submit',
|
|
||||||
editSure:'Are you sure you want to update this attribute value? ',
|
|
||||||
arraryEdit:'Are you sure to submit the record whose updated Index is [{value}]? ',
|
|
||||||
addSure:'Are you sure to submit the new record of Index: [{value}]? '
|
|
||||||
},
|
|
||||||
configParamForm: {
|
|
||||||
treeTitle: "Navigation Configuration",
|
|
||||||
treeSelectTip: "Select configuration item information in the left configuration navigation!",
|
|
||||||
neType: 'NE Type',
|
|
||||||
neTypePleace: "Please select the network element type",
|
|
||||||
noConfigData: "No data on configuration items",
|
|
||||||
updateValue: "[ {num} ] parameter value modified successfully.",
|
|
||||||
updateValueErr: "Attribute value modification failure",
|
|
||||||
updateItem: "Modify Index to {num}.",
|
|
||||||
updateItemErr: "Record modification failure",
|
|
||||||
delItemOk: "Deleting Index as {num} succeeded",
|
|
||||||
addItemOk: "Add Index as {num} Record Succeeded",
|
|
||||||
addItemErr: "Record addition failure",
|
|
||||||
requireUn: "[ {display} ] input value is of unknown type",
|
|
||||||
requireString: "[ {display} ] parameter value is invalid.",
|
|
||||||
requireInt: "[ {display} ] parameter value not in reasonable range {filter}",
|
|
||||||
requireIpv4: "[ {display} ] not a legitimate IPV4 address",
|
|
||||||
requireIpv6: "[ {display} ] not a legitimate IPV6 address.",
|
|
||||||
requireEnum: "[ {display} ] is not a reasonable enumeration value.",
|
|
||||||
requireBool: "[ {display} ] is not a reasonable boolean value.",
|
|
||||||
editOkTip: "Confirm updating the value of this [ {num} ] attribute?",
|
|
||||||
updateItemTip: "Confirm updating the data item with Index [{num}]?",
|
|
||||||
delItemTip: "Confirm deleting the data item with Index [{num}]?",
|
|
||||||
arrayMore: "Expand",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
dashboard: {
|
dashboard: {
|
||||||
overview:{
|
overview:{
|
||||||
title: "Core Network Dashboard",
|
title: "Core Network Dashboard",
|
||||||
@@ -784,6 +627,7 @@ export default {
|
|||||||
treeSelectTip: "Select configuration item information in the left configuration navigation!",
|
treeSelectTip: "Select configuration item information in the left configuration navigation!",
|
||||||
neType: 'NE Type',
|
neType: 'NE Type',
|
||||||
neTypePleace: "Please select the network element type",
|
neTypePleace: "Please select the network element type",
|
||||||
|
neIdSyncPleace: "Please select the synchronized network element",
|
||||||
noConfigData: "No data on configuration items",
|
noConfigData: "No data on configuration items",
|
||||||
updateValue: "[ {num} ] parameter value modified successfully.",
|
updateValue: "[ {num} ] parameter value modified successfully.",
|
||||||
updateValueErr: "Attribute value modification failure",
|
updateValueErr: "Attribute value modification failure",
|
||||||
@@ -803,6 +647,12 @@ export default {
|
|||||||
updateItemTip: "Confirm updating the data item with Index [{num}]?",
|
updateItemTip: "Confirm updating the data item with Index [{num}]?",
|
||||||
delItemTip: "Confirm deleting the data item with Index [{num}]?",
|
delItemTip: "Confirm deleting the data item with Index [{num}]?",
|
||||||
arrayMore: "Expand",
|
arrayMore: "Expand",
|
||||||
|
checkSync: {
|
||||||
|
sync: "Sync",
|
||||||
|
tip: "Synchronize regional network elements",
|
||||||
|
title: "Select All/Select None",
|
||||||
|
selectProvince: "Select",
|
||||||
|
}
|
||||||
},
|
},
|
||||||
neConfigBackup: {
|
neConfigBackup: {
|
||||||
name: "Name",
|
name: "Name",
|
||||||
|
|||||||
@@ -351,163 +351,6 @@ export default {
|
|||||||
description: "暂无数据,尝试刷新看看",
|
description: "暂无数据,尝试刷新看看",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
configManage: {
|
|
||||||
neManage: {
|
|
||||||
addNe:'添加网元',
|
|
||||||
delSure:'确认删除网元名称为{msg}的数据项 ',
|
|
||||||
editNe:'修改网元',
|
|
||||||
exportSure:'确认导出网元名称为 {msg} 的配置信息',
|
|
||||||
exportTip:'导出成功,请到备份管理进行下载',
|
|
||||||
getInfo:'获取网元信息失败',
|
|
||||||
neType:'网元类型',
|
|
||||||
neTypePlease: '请输入网元类型',
|
|
||||||
neId:'网元内部标识',
|
|
||||||
neName:'网元名称',
|
|
||||||
neTypeTip:'填写创建的网元类型,如:SMF',
|
|
||||||
uid:'资源唯一标识',
|
|
||||||
uidTip:'请输入资源唯一标识',
|
|
||||||
ip:'IP地址',
|
|
||||||
mac:'网元物理地址',
|
|
||||||
macTip:'能够定位网元的物理地址(MAC)',
|
|
||||||
port:'端口',
|
|
||||||
portTip:'最大范围0~65535',
|
|
||||||
pvflag:'网元虚拟化标识',
|
|
||||||
pnf:'物理网元',
|
|
||||||
vnf:'虚拟网元',
|
|
||||||
province:'网元服务省份',
|
|
||||||
vendorName:'厂商名称',
|
|
||||||
dn:'网络标识',
|
|
||||||
reload: '重载',
|
|
||||||
restart: '重启',
|
|
||||||
totalSure:'确认{oper}网元名称为 {msg} 的网元',
|
|
||||||
stop: '停止',
|
|
||||||
start: '启动',
|
|
||||||
log: '日志',
|
|
||||||
export: '导出',
|
|
||||||
import: '导入',
|
|
||||||
fileForm:'文件来源',
|
|
||||||
selectPlease:'请选择导入文件来源',
|
|
||||||
server:'服务器文件',
|
|
||||||
local:'本地文件',
|
|
||||||
fileSelect:'请选择当前导入文件',
|
|
||||||
sync:'同步到网元',
|
|
||||||
open:'开',
|
|
||||||
close:'关',
|
|
||||||
addFail:'新增失败',
|
|
||||||
operFail:'操作失败'
|
|
||||||
},
|
|
||||||
backupManage: {
|
|
||||||
setBackupTask: '设置自动备份时间',
|
|
||||||
neTypePlease: '查询网元类型',
|
|
||||||
neType: '网元类型',
|
|
||||||
neID: '网元内部标识',
|
|
||||||
fileName: '文件名',
|
|
||||||
createAt: '创建时间',
|
|
||||||
remark:'备份说明',
|
|
||||||
edit:'编辑备份文件',
|
|
||||||
totalSure:'确认{oper}记录编号为 {id} 的数据项?',
|
|
||||||
},
|
|
||||||
softwareManage: {
|
|
||||||
sendBtn: '下发',
|
|
||||||
runBtn: '激活',
|
|
||||||
backBtn: '回退',
|
|
||||||
historyBtn: '下发记录',
|
|
||||||
neTypePlease: '选择网元类型',
|
|
||||||
neType: '网元类型',
|
|
||||||
fileName: '文件名',
|
|
||||||
version: '版本号',
|
|
||||||
versionPlease: '版本号不能为空',
|
|
||||||
updateTime: '上传时间',
|
|
||||||
description: '功能描述',
|
|
||||||
deleteTip: '确认删除 【{fileName}】 的软件数据项?',
|
|
||||||
downloadTip: '确认下载 【{fileName}】 的软件数据项?',
|
|
||||||
updateComment: '软件说明',
|
|
||||||
updateCommentPlease: '请输入软件说明',
|
|
||||||
updateFile: '软件文件',
|
|
||||||
updateFilePlease: '请上传更新软件文件',
|
|
||||||
verifyFile: '校验文件',
|
|
||||||
selectFile: '选择文件',
|
|
||||||
sendTitle: '下发软件版本',
|
|
||||||
sendContent: '确认下发软件包为【{fileName}】的文件到对应网元?',
|
|
||||||
runTitle: '激活软件版本',
|
|
||||||
runContent: '确认在对应网元激活已下发【{fileName}】的软件版本?',
|
|
||||||
backTitle: '回退软件版本',
|
|
||||||
backContent: '确认在对应网元回退已下发【{fileName}】的软件版本?',
|
|
||||||
neId: '对应网元',
|
|
||||||
neIdPlease: '请选择对应网元',
|
|
||||||
versions:'版本',
|
|
||||||
upVersions:'升级前版本',
|
|
||||||
backVersions:'回退前版本',
|
|
||||||
status:'状态',
|
|
||||||
letUpTime:'激活时间',
|
|
||||||
createTime:'创建时间',
|
|
||||||
onlyAble:'只支持上传文件格式 {fileText}',
|
|
||||||
nullVersion:'当前网元无可回退版本',
|
|
||||||
},
|
|
||||||
license: {
|
|
||||||
neTypePlease: '选择网元类型',
|
|
||||||
neType: '网元类型',
|
|
||||||
serialNum: '序列号',
|
|
||||||
createTime: '时间',
|
|
||||||
comment: '说明',
|
|
||||||
updateComment: 'License说明',
|
|
||||||
updateCommentPlease: '请输入License说明',
|
|
||||||
updateFile: 'License文件',
|
|
||||||
updateFilePlease: '请上传更新License文件',
|
|
||||||
selectFile: '选择文件',
|
|
||||||
neId: '网元内部标识',
|
|
||||||
neIdPlease: '请选择对应网元',
|
|
||||||
},
|
|
||||||
configParam:{
|
|
||||||
dataNull:'暂无配置项数据',
|
|
||||||
editSuss:'修改成功',
|
|
||||||
editFail:'修改失败',
|
|
||||||
unable:'非法操作属性值',
|
|
||||||
delSure:'确认删除Index为 【{value}】 的数据项?',
|
|
||||||
addSuss:'新增成功',
|
|
||||||
addFail:'新增失败',
|
|
||||||
delArraySure:'确认删除{arrayChildTitle} Index 为 【{value}】 的数据项?',
|
|
||||||
parUnable:'参数值不在合理范围',
|
|
||||||
ipv4Tip:'不是合法的IPV4地址',
|
|
||||||
ipv6Tip:'不是合法的IPV6地址',
|
|
||||||
enumTip:'不是合理的枚举值',
|
|
||||||
boolTip:'不是合理的布尔类型的值',
|
|
||||||
default:'输入值是未知类型',
|
|
||||||
reloadSuss:'网元重新加载完成',
|
|
||||||
reloadFail:'网元重新加载失败',
|
|
||||||
neNUll:'暂无网元列表数据',
|
|
||||||
reload:'重载',
|
|
||||||
post:'提交',
|
|
||||||
editSure:'确认更新该属性值吗?',
|
|
||||||
arraryEdit:'确认提交更新 Index 为 【{value}】 的记录吗?',
|
|
||||||
addSure:'确认提交新增 Index :【{value}】 的记录吗?',
|
|
||||||
},
|
|
||||||
configParamForm: {
|
|
||||||
treeTitle: "配置导航",
|
|
||||||
treeSelectTip: "左侧配置导航中选择配置项信息!",
|
|
||||||
neType: "网元类型",
|
|
||||||
neTypePleace: "请选择网元类型",
|
|
||||||
noConfigData: "暂无配置项数据",
|
|
||||||
updateValue: "【 {num} 】 属性值修改成功",
|
|
||||||
updateValueErr: "属性值修改失败",
|
|
||||||
updateItem: "修改 Index 为 {num} 记录成功",
|
|
||||||
updateItemErr: "记录修改失败",
|
|
||||||
delItemOk: "删除 Index 为 {num} 记录成功",
|
|
||||||
addItemOk: "新增 Index 为 {num} 记录成功",
|
|
||||||
addItemErr: "记录新增失败",
|
|
||||||
requireUn: "【 {display} 】输入值是未知类型",
|
|
||||||
requireString: "【 {display} 】参数值不合理",
|
|
||||||
requireInt: "【 {display} 】参数值不在合理范围 {filter}",
|
|
||||||
requireIpv4: "【 {display} 】不是合法的IPV4地址",
|
|
||||||
requireIpv6: "【 {display} 】不是合法的IPV6地址",
|
|
||||||
requireEnum: "【 {display} 】不是合理的枚举值",
|
|
||||||
requireBool: "【 {display} 】不是合理的布尔类型的值",
|
|
||||||
editOkTip: "确认更新该【 {num} 】属性值吗?",
|
|
||||||
updateItemTip: "确认更新Index为 【{num}】 的数据项?",
|
|
||||||
delItemTip: "确认删除Index为 【{num}】 的数据项?",
|
|
||||||
arrayMore: "展开",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
dashboard: {
|
dashboard: {
|
||||||
overview:{
|
overview:{
|
||||||
title: "核心网系统看板",
|
title: "核心网系统看板",
|
||||||
@@ -784,6 +627,7 @@ export default {
|
|||||||
treeSelectTip: "左侧配置导航中选择配置项信息!",
|
treeSelectTip: "左侧配置导航中选择配置项信息!",
|
||||||
neType: "网元类型",
|
neType: "网元类型",
|
||||||
neTypePleace: "请选择网元类型",
|
neTypePleace: "请选择网元类型",
|
||||||
|
neIdSyncPleace: "请选择同步网元",
|
||||||
noConfigData: "暂无配置项数据",
|
noConfigData: "暂无配置项数据",
|
||||||
updateValue: "【 {num} 】 属性值修改成功",
|
updateValue: "【 {num} 】 属性值修改成功",
|
||||||
updateValueErr: "属性值修改失败",
|
updateValueErr: "属性值修改失败",
|
||||||
@@ -803,6 +647,12 @@ export default {
|
|||||||
updateItemTip: "确认更新Index为 【{num}】 的数据项?",
|
updateItemTip: "确认更新Index为 【{num}】 的数据项?",
|
||||||
delItemTip: "确认删除Index为 【{num}】 的数据项?",
|
delItemTip: "确认删除Index为 【{num}】 的数据项?",
|
||||||
arrayMore: "展开",
|
arrayMore: "展开",
|
||||||
|
checkSync: {
|
||||||
|
sync: "同步",
|
||||||
|
tip: "同步区域网元",
|
||||||
|
title: "全选/全不选",
|
||||||
|
selectProvince: "选择区域",
|
||||||
|
}
|
||||||
},
|
},
|
||||||
neConfigBackup: {
|
neConfigBackup: {
|
||||||
name: "名称",
|
name: "名称",
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -77,8 +77,12 @@ onMounted(() => {
|
|||||||
<div></div>
|
<div></div>
|
||||||
<div>
|
<div>
|
||||||
{{ t('views.dashboard.overview.userActivity.time') }}:
|
{{ t('views.dashboard.overview.userActivity.time') }}:
|
||||||
<span :title="parseDateToStr(item.data.releaseTime * 1000)">
|
<span :title="item.data.releaseTime">
|
||||||
{{ parseDateToStr(item.data.releaseTime * 1000) }}
|
{{
|
||||||
|
typeof item.data.releaseTime === 'number'
|
||||||
|
? parseDateToStr(+item.data.releaseTime * 1000)
|
||||||
|
: item.data.releaseTime
|
||||||
|
}}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -203,7 +207,11 @@ onMounted(() => {
|
|||||||
<div>
|
<div>
|
||||||
{{ t('views.dashboard.overview.userActivity.time') }}:
|
{{ t('views.dashboard.overview.userActivity.time') }}:
|
||||||
<span :title="item.data?.timestamp">
|
<span :title="item.data?.timestamp">
|
||||||
{{ parseDateToStr(+item.data?.timestamp * 1000) }}
|
{{
|
||||||
|
typeof item.data?.timestamp === 'number'
|
||||||
|
? parseDateToStr(+item.data?.timestamp * 1000)
|
||||||
|
: item.data?.timestamp
|
||||||
|
}}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -704,7 +704,8 @@ onBeforeUnmount(() => {
|
|||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
<template #expandedRowRender="{ record }">
|
<template #expandedRowRender="{ record }">
|
||||||
<div style="width: 46%; padding-left: 32px; padding-bottom: 16px">
|
<a-row :gutter="16">
|
||||||
|
<a-col :lg="8" :md="12" :xs="24" :offset="2">
|
||||||
<a-divider orientation="left">
|
<a-divider orientation="left">
|
||||||
{{ t('views.dashboard.cdr.cdrInfo') }}
|
{{ t('views.dashboard.cdr.cdrInfo') }}
|
||||||
</a-divider>
|
</a-divider>
|
||||||
@@ -726,6 +727,8 @@ onBeforeUnmount(() => {
|
|||||||
}}
|
}}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
</a-col>
|
||||||
|
<a-col :lg="8" :md="12" :xs="24">
|
||||||
<a-divider orientation="left">
|
<a-divider orientation="left">
|
||||||
{{ t('views.dashboard.cdr.rowInfo') }}
|
{{ t('views.dashboard.cdr.rowInfo') }}
|
||||||
</a-divider>
|
</a-divider>
|
||||||
@@ -755,7 +758,8 @@ onBeforeUnmount(() => {
|
|||||||
{{ t('views.dashboard.cdr.resultOk') }}
|
{{ t('views.dashboard.cdr.resultOk') }}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</a-col>
|
||||||
|
</a-row>
|
||||||
</template>
|
</template>
|
||||||
</a-table>
|
</a-table>
|
||||||
</a-card>
|
</a-card>
|
||||||
|
|||||||
@@ -92,13 +92,13 @@ const graphNodeMenu = new Menu({
|
|||||||
${neState.neName ?? '--'}
|
${neState.neName ?? '--'}
|
||||||
</h3>
|
</h3>
|
||||||
<div id="restart" style="cursor: pointer; margin-bottom: 4px">
|
<div id="restart" style="cursor: pointer; margin-bottom: 4px">
|
||||||
> ${t('views.configManage.neManage.restart')}
|
> ${t('views.ne.common.restart')}
|
||||||
</div>
|
</div>
|
||||||
<div id="stop" style="cursor: pointer; margin-bottom: 4px;">
|
<div id="stop" style="cursor: pointer; margin-bottom: 4px;">
|
||||||
> ${t('views.configManage.neManage.stop')}
|
> ${t('views.ne.common.stop')}
|
||||||
</div>
|
</div>
|
||||||
<div id="log" style="cursor: pointer; margin-bottom: 4px;">
|
<div id="log" style="cursor: pointer; margin-bottom: 4px;">
|
||||||
> ${t('views.configManage.neManage.log')}
|
> ${t('views.ne.common.log')}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
|
|||||||
@@ -166,8 +166,8 @@ function fnBeforeUploadFile(file: FileType) {
|
|||||||
const suff = fileName.substring(fileName.lastIndexOf('.'));
|
const suff = fileName.substring(fileName.lastIndexOf('.'));
|
||||||
if (!['.deb', '.rpm'].includes(suff)) {
|
if (!['.deb', '.rpm'].includes(suff)) {
|
||||||
message.error(
|
message.error(
|
||||||
t('views.configManage.softwareManage.onlyAble', {
|
t('views.ne.neSoftware.fileTypeNotEq', {
|
||||||
fileText: '(.deb、.rpm)',
|
txt: '(.deb、.rpm)',
|
||||||
}),
|
}),
|
||||||
3
|
3
|
||||||
);
|
);
|
||||||
@@ -238,8 +238,8 @@ function fnBeforeUploadFileDep(file: FileType) {
|
|||||||
const suff = fileName.substring(fileName.lastIndexOf('.'));
|
const suff = fileName.substring(fileName.lastIndexOf('.'));
|
||||||
if (!['.deb', '.rpm'].includes(suff)) {
|
if (!['.deb', '.rpm'].includes(suff)) {
|
||||||
message.error(
|
message.error(
|
||||||
t('views.configManage.softwareManage.onlyAble', {
|
t('views.ne.neSoftware.fileTypeNotEq', {
|
||||||
fileText: '(.deb、.rpm)',
|
txt: '(.deb、.rpm)',
|
||||||
}),
|
}),
|
||||||
3
|
3
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -171,8 +171,8 @@ function fnBeforeUploadFile(file: FileType) {
|
|||||||
const suff = fileName.substring(fileName.lastIndexOf('.'));
|
const suff = fileName.substring(fileName.lastIndexOf('.'));
|
||||||
if (!['.deb', '.rpm'].includes(suff)) {
|
if (!['.deb', '.rpm'].includes(suff)) {
|
||||||
message.error(
|
message.error(
|
||||||
t('views.configManage.softwareManage.onlyAble', {
|
t('views.ne.neSoftware.fileTypeNotEq', {
|
||||||
fileText: '(.deb、.rpm)',
|
txt: '(.deb、.rpm)',
|
||||||
}),
|
}),
|
||||||
3
|
3
|
||||||
);
|
);
|
||||||
@@ -286,8 +286,8 @@ function fnBeforeUploadFileDep(file: FileType) {
|
|||||||
const suff = fileName.substring(fileName.lastIndexOf('.'));
|
const suff = fileName.substring(fileName.lastIndexOf('.'));
|
||||||
if (!['.deb', '.rpm'].includes(suff)) {
|
if (!['.deb', '.rpm'].includes(suff)) {
|
||||||
message.error(
|
message.error(
|
||||||
t('views.configManage.softwareManage.onlyAble', {
|
t('views.ne.neSoftware.fileTypeNotEq', {
|
||||||
fileText: '(.deb、.rpm)',
|
txt: '(.deb、.rpm)',
|
||||||
}),
|
}),
|
||||||
3
|
3
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -391,9 +391,7 @@ function fnRecordRun(row: Record<string, any>) {
|
|||||||
threRun(row).then(res => {
|
threRun(row).then(res => {
|
||||||
if (res.code === RESULT_CODE_SUCCESS) {
|
if (res.code === RESULT_CODE_SUCCESS) {
|
||||||
message.success({
|
message.success({
|
||||||
content: t('common.msgSuccess', {
|
content: 'Run',
|
||||||
msg: t('views.configManage.softwareManage.runBtn'),
|
|
||||||
}),
|
|
||||||
key,
|
key,
|
||||||
duration: 2,
|
duration: 2,
|
||||||
});
|
});
|
||||||
@@ -610,7 +608,7 @@ onMounted(() => {
|
|||||||
<a-space :size="8" align="center">
|
<a-space :size="8" align="center">
|
||||||
<a-tooltip>
|
<a-tooltip>
|
||||||
<template #title>
|
<template #title>
|
||||||
{{ t('views.configManage.softwareManage.runBtn') }}
|
Run
|
||||||
</template>
|
</template>
|
||||||
<a-button
|
<a-button
|
||||||
type="link"
|
type="link"
|
||||||
|
|||||||
@@ -616,9 +616,7 @@ function fnRecordRun(row: Record<string, any>) {
|
|||||||
taskRun(row).then(res => {
|
taskRun(row).then(res => {
|
||||||
if (res.code === RESULT_CODE_SUCCESS) {
|
if (res.code === RESULT_CODE_SUCCESS) {
|
||||||
message.success({
|
message.success({
|
||||||
content: t('common.msgSuccess', {
|
content: 'Run',
|
||||||
msg: t('views.configManage.softwareManage.runBtn'),
|
|
||||||
}),
|
|
||||||
key,
|
key,
|
||||||
duration: 2,
|
duration: 2,
|
||||||
});
|
});
|
||||||
@@ -861,7 +859,7 @@ onMounted(() => {
|
|||||||
>
|
>
|
||||||
<a-menu-item key="run">
|
<a-menu-item key="run">
|
||||||
<ThunderboltOutlined />
|
<ThunderboltOutlined />
|
||||||
{{ t('views.configManage.softwareManage.runBtn') }}
|
Run
|
||||||
</a-menu-item>
|
</a-menu-item>
|
||||||
<a-menu-item key="stop">
|
<a-menu-item key="stop">
|
||||||
<UndoOutlined />
|
<UndoOutlined />
|
||||||
|
|||||||
@@ -230,7 +230,7 @@ function fnNeTypeChange(v: any, data: any) {
|
|||||||
function fnModalVisibleByEdit(record?: any) {
|
function fnModalVisibleByEdit(record?: any) {
|
||||||
if (!record) {
|
if (!record) {
|
||||||
//modalStateFrom.resetFields();
|
//modalStateFrom.resetFields();
|
||||||
modalState.title = t('views.configManage.neManage.addNe');
|
modalState.title = t('views.ne.neInfo.addTitle');
|
||||||
const neId = `${new Date().getMilliseconds()}`.padStart(3, '0');
|
const neId = `${new Date().getMilliseconds()}`.padStart(3, '0');
|
||||||
modalState.from = {
|
modalState.from = {
|
||||||
id: undefined,
|
id: undefined,
|
||||||
@@ -287,7 +287,7 @@ function fnModalVisibleByEdit(record?: any) {
|
|||||||
hide();
|
hide();
|
||||||
if (res.code === RESULT_CODE_SUCCESS) {
|
if (res.code === RESULT_CODE_SUCCESS) {
|
||||||
Object.assign(modalState.from, res.data);
|
Object.assign(modalState.from, res.data);
|
||||||
modalState.title = t('views.configManage.neManage.editNe');
|
modalState.title = t('views.ne.neInfo.editTitle');
|
||||||
modalState.openByEdit = true;
|
modalState.openByEdit = true;
|
||||||
} else {
|
} else {
|
||||||
message.error(t('common.getInfoFail'), 2);
|
message.error(t('common.getInfoFail'), 2);
|
||||||
|
|||||||
Reference in New Issue
Block a user