diff --git a/src/i18n/locales/en-US.ts b/src/i18n/locales/en-US.ts index 3843a96c..43593ee5 100644 --- a/src/i18n/locales/en-US.ts +++ b/src/i18n/locales/en-US.ts @@ -588,15 +588,19 @@ export default { common: { neType: 'NE Type', neTypePlease: "Please select network element type", + neTypeTip: 'Fill in the type of network element to be created, e.g. SMF.', neId: 'NE ID', neIdPlease: 'Please enter the network element identification', rmUid: 'Resource Unique ID', rmUidPlease: 'Please enter a resource unique ID', + rmUidTip: "Tagging for data reporting of network element logs, alarms, metrics, etc.", neName: 'NE Name', neNamePlease: 'Please enter the name of the network element', ipAddr: 'IP Addr', ipAddrPlease: 'Please enter the IP address of the network element', + ipAddrTip: "Support IPV4/IPV6, synchronized change of configuration address", port: 'Port', + portTip: "Network element default:33030", serialNum: 'Serial Number', expiryDate: 'Expiry Date', normalcy: 'Normal', @@ -623,10 +627,16 @@ export default { sysDisk: "SYS Store", neCpu: "NE CPU", hostConfig: "Connection Configuration", - rmUID: "Data resource location identifiers are used for data tagging such as logging, alarm reporting, etc.", - ipAddr: "Support IPV4/IPV6, synchronize the change of the configuration address of the following configuration", + pvflag: 'NE Virtualization', + pnf: 'physical network element', + vnf: 'virtual network element', + neAddress: 'MAC', + neAddressTip: 'Record the physical address (MAC) of the network card of the network element', + dn: 'network identifier', + vendorName: 'provider', + province: 'Service Area', addTitle: 'New network element information', - editTitle: 'Editing network element information', + editTitle: 'Edit network element information', delTip: 'Confirm deletion of network element information data items?', oam: { title: 'OAM Configuration', @@ -657,14 +667,13 @@ export default { privateKey: "Private Key", privateKeyPlease: "Please fill in the private key characters correctly ~/.ssh/id_rsa", passPhrase: "Private Key Cipher", - remark: "Remark", - createTime: "Time", delTip: "Confirm that you want to delete the host number [{num}]?", addTitle: "Add Host Connection", editTitle: "Edit Host Connection", test: "Test Connection To Host", testOk: "Test Connection Successful", - authorizedRSA: "Do I have to configure authorization for a password-free direct connection?", + authRSA: 'Secret Authorization', + authRSATip: "Do I have to configure secret-free authorization?", }, neHostCmd: { cmdType: "Type", @@ -673,8 +682,6 @@ export default { titlePlease: "Please fill in the command name correctly", command: "Command", commandPlease: "Please enter a valid command string correctly", - remark: "Remark", - createTime: "Time", delTip: "Are you sure you want to delete the message with command number [{num}]?", addTitle: "New Host Commands", editTitle: "Edit Host Commands", diff --git a/src/i18n/locales/zh-CN.ts b/src/i18n/locales/zh-CN.ts index 4ad10f3c..f14f6c8c 100644 --- a/src/i18n/locales/zh-CN.ts +++ b/src/i18n/locales/zh-CN.ts @@ -588,15 +588,19 @@ export default { common: { neType: '网元类型', neTypePlease: "请选择网元类型", + neTypeTip: '填写创建的网元类型,如:SMF', neId: '网元标识', neIdPlease: '请输入网元标识', rmUid: '资源唯一标识', rmUidPlease: '请输入资源唯一标识', + rmUidTip: "用于网元日志、告警、指标等数据上报的标记", neName: '网元名称', neNamePlease: '请输入网元名称', ipAddr: '网元服务IP', ipAddrPlease: '请输入网元IP地址', + ipAddrTip: "支持IPV4/IPV6,同步变更配置地址", port: '网元服务端口', + portTip: "网元默认:33030", serialNum: '序列号', expiryDate: '许可证到期日期', normalcy: '正常', @@ -623,8 +627,14 @@ export default { sysDisk: "系统存储", neCpu: "网元CPU", hostConfig: "终端连接配置", - rmUID: "数据资源定位标识符用于日志、告警上报等数据标记", - ipAddr: "支持IPV4/IPV6,同步变更下方配置的配置地址", + pvflag: '网元虚拟化标识', + pnf: '物理网元', + vnf: '虚拟网元', + neAddress: '物理地址(MAC)', + neAddressTip: '记录网元的网卡物理地址(MAC)', + dn: '网络标识', + vendorName: '提供厂商', + province: '服务地域', addTitle: '新增网元信息', editTitle: '编辑网元信息', delTip: '确认删除网元信息数据项吗?', @@ -657,14 +667,13 @@ export default { privateKey: "私钥", privateKeyPlease: "请正确填写私钥字符内容 ~/.ssh/id_rsa", passPhrase: "私钥密码", - remark: "备注信息", - createTime: "创建时间", delTip: "确认要删除主机编号为【{num}】的信息吗?", addTitle: "新增主机连接", editTitle: "编辑主机连接", test: "测试连接", testOk: "测试连接成功", - authorizedRSA: "是否要配置授权免密直连?", + authRSA: "免密授权", + authRSATip: "是否要配置免密授权?", }, neHostCmd: { cmdType: "命令类型", @@ -673,8 +682,6 @@ export default { titlePlease: "请正确填写命令名称", command: "命令", commandPlease: "请正确输入有效命令字符串", - remark: "备注", - createTime: "创建时间", delTip: "确认要删除命令编号为【{num}】的信息吗?", addTitle: "新增主机命令", editTitle: "编辑主机命令", diff --git a/src/views/ne/neHost/index.vue b/src/views/ne/neHost/index.vue index c7969c2e..0f47751f 100644 --- a/src/views/ne/neHost/index.vue +++ b/src/views/ne/neHost/index.vue @@ -78,7 +78,7 @@ type TabeStateType = { let tableState: TabeStateType = reactive({ loading: false, size: 'middle', - seached: true, + seached: false, data: [], }); @@ -135,7 +135,7 @@ let tableColumns: ColumnsType = [ width: 100, }, { - title: t('views.ne.neHost.createTime'), + title: t('common.createTime'), dataIndex: 'createTime', align: 'left', width: 150, @@ -798,7 +798,7 @@ onMounted(() => { { { :auto-size="{ minRows: 4, maxRows: 6 }" :maxlength="450" :show-count="true" + :placeholder="t('common.inputPlease')" /> diff --git a/src/views/ne/neInfo/components/EditModal.vue b/src/views/ne/neInfo/components/EditModal.vue index 43cdbba2..ccef9a92 100644 --- a/src/views/ne/neInfo/components/EditModal.vue +++ b/src/views/ne/neInfo/components/EditModal.vue @@ -70,7 +70,7 @@ function fnHostAuthorized(row: Record) { Modal.confirm({ title: t('common.tipTitle'), - content: t('views.ne.neHost.authorizedRSA'), + content: t('views.ne.neHost.authRSATip'), onOk: () => { modalState.confirmLoading = true; neHostAuthorizedRSA(row).then(res => { @@ -369,7 +369,7 @@ onMounted(() => { @@ -386,7 +386,7 @@ onMounted(() => { - {{ t('views.configManage.neManage.neTypeTip') }} + {{ t('views.ne.common.neTypeTip') }} @@ -397,7 +397,7 @@ onMounted(() => { @@ -405,10 +405,10 @@ onMounted(() => { v-model:value="modalState.from.pvFlag" default-value="PNF" > - + PNF - + VNF @@ -419,7 +419,7 @@ onMounted(() => { @@ -433,7 +433,7 @@ onMounted(() => { @@ -451,7 +451,7 @@ onMounted(() => { @@ -466,7 +466,7 @@ onMounted(() => { - {{ t('views.ne.neInfo.ipAddr') }} + {{ t('views.ne.common.ipAddrTip') }} @@ -477,7 +477,7 @@ onMounted(() => { @@ -492,7 +492,7 @@ onMounted(() => { - {{ t('views.configManage.neManage.portTip') }} + {{ t('views.ne.common.portTip') }} @@ -503,7 +503,7 @@ onMounted(() => { { - {{ t('views.ne.neInfo.rmUID') }} + {{ t('views.ne.common.rmUidTip') }} @@ -530,10 +530,7 @@ onMounted(() => { - + { - {{ t('views.configManage.neManage.macTip') }} + {{ t('views.ne.neInfo.neAddressTip') }} @@ -552,7 +549,7 @@ onMounted(() => { - + { { - + { @@ -712,7 +706,7 @@ onMounted(() => { @@ -746,7 +740,7 @@ onMounted(() => { :loading="modalState.confirmLoading" v-if="host.hostType === 'ssh' && host.authMode !== '2'" > - 免密授权 + {{ t('views.ne.neHost.authRSA') }} diff --git a/src/views/ne/neInfo/index.vue b/src/views/ne/neInfo/index.vue index d20176d8..e659ad49 100644 --- a/src/views/ne/neInfo/index.vue +++ b/src/views/ne/neInfo/index.vue @@ -501,7 +501,7 @@ onMounted(() => { :data-source="tableState.data" :size="tableState.size" :pagination="tablePagination" - :scroll="{ x: tableColumns.length * 150, y: 'calc(100vh - 480px)' }" + :scroll="{ x: tableColumns.length * 150 }" :row-selection="{ type: 'checkbox', columnWidth: '48px',