feat:网元信息界面部分显示修改

This commit is contained in:
zhongzm
2025-09-17 20:13:37 +08:00
parent 1e27a414db
commit fe13f56aa1
2 changed files with 73 additions and 7 deletions

View File

@@ -458,6 +458,8 @@ onMounted(() => {
:label-col="{ span: 6 }" :label-col="{ span: 6 }"
:labelWrap="true" :labelWrap="true"
> >
<!-- 编辑状态NeType | Resource Unique ID -->
<!-- 新增状态NeType | NE Virtualization -->
<a-row> <a-row>
<a-col :lg="12" :md="12" :xs="24"> <a-col :lg="12" :md="12" :xs="24">
<a-form-item <a-form-item
@@ -488,6 +490,69 @@ onMounted(() => {
</a-auto-complete> </a-auto-complete>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :lg="12" :md="12" :xs="24">
<!-- 编辑状态显示Resource Unique ID -->
<a-form-item
v-if="modalState.from.id"
:label="t('views.ne.common.rmUid')"
name="rmUid"
>
<a-input
v-model:value="modalState.from.rmUid"
:disabled="true"
:placeholder="t('common.inputPlease')"
:maxlength="64"
>
<template #prefix>
<a-tooltip placement="topLeft">
<template #title>
Resource Unique ID
</template>
<InfoCircleOutlined style="opacity: 0.45; color: inherit" />
</a-tooltip>
</template>
</a-input>
</a-form-item>
<!-- 新增状态显示NE Virtualization -->
<a-form-item
v-if="!modalState.from.id"
:label="t('views.ne.neInfo.pvflag')"
name="pvFlag"
v-bind="modalStateFrom.validateInfos.pvFlag"
>
<a-select
v-model:value="modalState.from.pvFlag"
default-value="PNF"
>
<a-select-opt-group :label="t('views.ne.neInfo.pnf')">
<a-select-option value="PNF">PNF</a-select-option>
</a-select-opt-group>
<a-select-opt-group :label="t('views.ne.neInfo.vnf')">
<a-select-option value="VNF">VNF</a-select-option>
</a-select-opt-group>
</a-select>
</a-form-item>
</a-col>
</a-row>
<!-- 编辑状态NE Name | NE Virtualization -->
<!-- 新增状态NE Name 占满整行 -->
<a-row v-if="modalState.from.id">
<a-col :lg="12" :md="12" :xs="24">
<a-form-item
:label="t('views.ne.common.neName')"
name="neName"
v-bind="modalStateFrom.validateInfos.neName"
>
<a-input
v-model:value="modalState.from.neName"
allow-clear
:placeholder="t('common.inputPlease')"
:maxlength="64"
>
</a-input>
</a-form-item>
</a-col>
<a-col :lg="12" :md="12" :xs="24"> <a-col :lg="12" :md="12" :xs="24">
<a-form-item <a-form-item
:label="t('views.ne.neInfo.pvflag')" :label="t('views.ne.neInfo.pvflag')"
@@ -509,8 +574,9 @@ onMounted(() => {
</a-col> </a-col>
</a-row> </a-row>
<!-- NE Name 占满整行 --> <!-- 新增状态下NE Name占满整行 -->
<a-form-item <a-form-item
v-if="!modalState.from.id"
:label="t('views.ne.common.neName')" :label="t('views.ne.common.neName')"
name="neName" name="neName"
v-bind="modalStateFrom.validateInfos.neName" v-bind="modalStateFrom.validateInfos.neName"

View File

@@ -111,12 +111,12 @@ let tableColumns: ColumnsType = [
align: 'left', align: 'left',
width: 100, width: 100,
}, },
{ // {
title: t('views.ne.common.rmUid'), // title: t('views.ne.common.rmUid'),
dataIndex: 'rmUid', // dataIndex: 'rmUid',
align: 'left', // align: 'left',
width: 150, // width: 150,
}, // },
{ {
title: t('views.ne.common.neName'), title: t('views.ne.common.neName'),
dataIndex: 'neName', dataIndex: 'neName',