Merge remote-tracking branch 'origin/main' into practical-training

This commit is contained in:
TsMask
2024-07-08 10:57:22 +08:00
7 changed files with 17 additions and 7 deletions

View File

@@ -11,7 +11,7 @@ VITE_APP_NAME = "Core Network EMS"
VITE_APP_CODE = "CN EMS" VITE_APP_CODE = "CN EMS"
# 应用版本 # 应用版本
VITE_APP_VERSION = "2.240627" VITE_APP_VERSION = "2.240704"
# 接口基础URL地址-不带/后缀 # 接口基础URL地址-不带/后缀
VITE_API_BASE_URL = "/omc-api" VITE_API_BASE_URL = "/omc-api"

View File

@@ -11,7 +11,7 @@ VITE_APP_NAME = "Core Network EMS"
VITE_APP_CODE = "CN EMS" VITE_APP_CODE = "CN EMS"
# 应用版本 # 应用版本
VITE_APP_VERSION = "2.240627" VITE_APP_VERSION = "2.240704"
# 接口基础URL地址-不带/后缀 # 接口基础URL地址-不带/后缀
VITE_API_BASE_URL = "/omc-api" VITE_API_BASE_URL = "/omc-api"

View File

@@ -771,6 +771,8 @@ export default {
uploadChangeFail: "Some network elements failed to update the license, please check whether the service terminal environment is available!", uploadChangeFail: "Some network elements failed to update the license, please check whether the service terminal environment is available!",
}, },
neConfPara5G: { neConfPara5G: {
headerTip: 'Check and save the public parameter properties of the network element before performing the installation of the network element, and make sure that the latest parameter properties are applied.',
headerTipToPage: 'Jump Installation',
save: 'Save', save: 'Save',
reload: 'Reload', reload: 'Reload',
title: 'Save Info', title: 'Save Info',

View File

@@ -771,6 +771,8 @@ export default {
uploadChangeFail: "部分网元更新许可证失败,请检查服务终端环境是否可用!", uploadChangeFail: "部分网元更新许可证失败,请检查服务终端环境是否可用!",
}, },
neConfPara5G: { neConfPara5G: {
headerTip: '进行网元安装前检查并保存网元公共参数属性,确认应用为最新参数属性',
headerTipToPage: '跳转安装',
save: '保存', save: '保存',
reload: '刷新', reload: '刷新',
title: '保存信息', title: '保存信息',

View File

@@ -119,8 +119,8 @@ function fnGetData() {
for (const item of resArr[1].rows) { for (const item of resArr[1].rows) {
switch (item.neType) { switch (item.neType) {
case 'OMC': case 'OMC':
state.from.sbi.omc_ip = item.ip; // state.from.sbi.omc_ip = item.ip;
Object.assign(state.omcInfo, item); Object.assign(state.omcInfo, item); // 主动改OMC_IP
break; break;
case 'IMS': case 'IMS':
state.from.sbi.ims_ip = item.ip; state.from.sbi.ims_ip = item.ip;
@@ -204,6 +204,13 @@ onMounted(() => {
<template> <template>
<PageContainer> <PageContainer>
<template #content>
{{ t('views.ne.neConfPara5G.headerTip') }}
<RouterLink :to="{ name: 'NeQuickSetup_2142' }">
{{ t('views.ne.neConfPara5G.headerTipToPage') }}
</RouterLink>
</template>
<a-card :bordered="false"> <a-card :bordered="false">
<!-- 公共参数表单 --> <!-- 公共参数表单 -->
<Para5GForm v-model:data="state.from" :ne="state.hasNE"></Para5GForm> <Para5GForm v-model:data="state.from" :ne="state.hasNE"></Para5GForm>

View File

@@ -184,7 +184,7 @@ type ModalStateType = {
/**对话框对象信息状态 */ /**对话框对象信息状态 */
let modalState: ModalStateType = reactive({ let modalState: ModalStateType = reactive({
visibleBySelectUser: false, visibleBySelectUser: false,
title: '选择用户', title: t('views.system.role.distributeUser'),
}); });
/** /**

View File

@@ -237,7 +237,6 @@ watch(
<template> <template>
<ProModal <ProModal
:drag="true" :drag="true"
:width="800"
:destroyOnClose="true" :destroyOnClose="true"
:forceFullscreen="true" :forceFullscreen="true"
:title="props.title" :title="props.title"
@@ -302,7 +301,7 @@ watch(
:loading="tableState.loading" :loading="tableState.loading"
:data-source="tableState.data" :data-source="tableState.data"
:size="tableState.size" :size="tableState.size"
:scroll="{ scrollToFirstRowOnChange: true, y: 400, x: 600 }" :scroll="{ scrollToFirstRowOnChange: true }"
:pagination="tablePagination" :pagination="tablePagination"
:row-selection="{ :row-selection="{
type: 'checkbox', type: 'checkbox',