style: 网元新增输入端口提示-多语言

This commit is contained in:
TsMask
2023-11-17 10:01:12 +08:00
parent bb92be64fd
commit b8feb6fa35
3 changed files with 12 additions and 5 deletions

View File

@@ -323,6 +323,7 @@ export default {
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',

View File

@@ -323,6 +323,7 @@ export default {
mac:'网元物理地址',
macTip:'能够定位网元的物理地址(MAC)',
port:'端口',
portTip:'最大范围0~65535',
pvflag:'网元虚拟化标识',
pnf:'物理网元',
vnf:'虚拟网元',

View File

@@ -450,9 +450,9 @@ function fnModalCancel() {
*/
function fnRecordDelete(row: Record<string, any>) {
message.success({
content: t('common.msgSuccess', { msg: t('common.deleteText') }),
duration: 2,
});
content: t('common.msgSuccess', { msg: t('common.deleteText') }),
duration: 2,
});
Modal.confirm({
title: t('common.tipTitle'),
content: t('views.configManage.neManage.delSure', { msg: row.neName }),
@@ -904,7 +904,10 @@ onMounted(() => {
<pause-outlined />
{{ t('views.configManage.neManage.stop') }}
</a-menu-item>
<a-menu-item key="reload" v-if="!['OMC','PCF','IMS'].includes(record.neType)">
<a-menu-item
key="reload"
v-if="!['OMC', 'PCF', 'IMS'].includes(record.neType)"
>
<SyncOutlined />
{{ t('views.configManage.neManage.reload') }}
</a-menu-item>
@@ -1030,7 +1033,9 @@ onMounted(() => {
<a-input v-model:value="modalState.from.port" allow-clear>
<template #prefix>
<a-tooltip placement="topLeft">
<template #title> <div>最大范围0~65535</div> </template>
<template #title>
<div>{{ t('views.configManage.neManage.portTip') }}</div>
</template>
<InfoCircleOutlined style="color: rgba(0, 0, 0, 0.45)" />
</a-tooltip>
</template>