feat: UDM签约补充CAG参数和备注标记参数
This commit is contained in:
@@ -275,6 +275,8 @@ let modalState: ModalStateType = reactive({
|
|||||||
staticIp: '-',
|
staticIp: '-',
|
||||||
rfsp: 1,
|
rfsp: 1,
|
||||||
ueType: 1,
|
ueType: 1,
|
||||||
|
cag: 'def_cag',
|
||||||
|
remark: '',
|
||||||
},
|
},
|
||||||
BatchDelForm: {
|
BatchDelForm: {
|
||||||
num: 1,
|
num: 1,
|
||||||
@@ -591,13 +593,9 @@ function fnModalOk() {
|
|||||||
console.error(error.message);
|
console.error(error.message);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
let validateNames = ['imsi', 'msisdn', 'staticIp'];
|
|
||||||
|
|
||||||
if (from.id === '') {
|
|
||||||
validateNames.push('smData');
|
|
||||||
}
|
|
||||||
modalStateFrom
|
modalStateFrom
|
||||||
.validate(validateNames)
|
.validate()
|
||||||
.then(e => {
|
.then(e => {
|
||||||
modalState.confirmLoading = true;
|
modalState.confirmLoading = true;
|
||||||
let ardArr = [0, 0, 0, 0, 0, 0, 0, 0];
|
let ardArr = [0, 0, 0, 0, 0, 0, 0, 0];
|
||||||
@@ -1174,17 +1172,6 @@ onMounted(() => {
|
|||||||
{{ t('common.addText') }}
|
{{ t('common.addText') }}
|
||||||
</a-button>
|
</a-button>
|
||||||
|
|
||||||
<a-button
|
|
||||||
type="default"
|
|
||||||
danger
|
|
||||||
:disabled="tableState.selectedRowKeys.length <= 0"
|
|
||||||
:loading="modalState.loadDataLoading"
|
|
||||||
@click.prevent="fnRecordDelete('0')"
|
|
||||||
>
|
|
||||||
<template #icon><DeleteOutlined /></template>
|
|
||||||
{{ t('views.neUser.sub.checkDel') }}
|
|
||||||
</a-button>
|
|
||||||
|
|
||||||
<a-button
|
<a-button
|
||||||
type="primary"
|
type="primary"
|
||||||
danger
|
danger
|
||||||
@@ -1242,6 +1229,17 @@ onMounted(() => {
|
|||||||
</a-button>
|
</a-button>
|
||||||
</a-popconfirm>
|
</a-popconfirm>
|
||||||
|
|
||||||
|
<a-button
|
||||||
|
type="default"
|
||||||
|
danger
|
||||||
|
:disabled="tableState.selectedRowKeys.length <= 0"
|
||||||
|
:loading="modalState.loadDataLoading"
|
||||||
|
@click.prevent="fnRecordDelete('0')"
|
||||||
|
>
|
||||||
|
<template #icon><DeleteOutlined /></template>
|
||||||
|
{{ t('views.neUser.sub.checkDel') }}
|
||||||
|
</a-button>
|
||||||
|
|
||||||
<a-popconfirm
|
<a-popconfirm
|
||||||
:title="t('views.neUser.sub.checkExportConfirm')"
|
:title="t('views.neUser.sub.checkExportConfirm')"
|
||||||
placement="topRight"
|
placement="topRight"
|
||||||
@@ -1468,6 +1466,20 @@ onMounted(() => {
|
|||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
|
|
||||||
|
<a-form-item
|
||||||
|
:label="t('common.remark')"
|
||||||
|
:label-col="{ span: 3 }"
|
||||||
|
:label-wrap="true"
|
||||||
|
>
|
||||||
|
<a-textarea
|
||||||
|
v-model:value="modalState.from.remark"
|
||||||
|
:auto-size="{ minRows: 1, maxRows: 6 }"
|
||||||
|
:maxlength="500"
|
||||||
|
:show-count="true"
|
||||||
|
:placeholder="t('common.inputPlease')"
|
||||||
|
/>
|
||||||
|
</a-form-item>
|
||||||
|
|
||||||
<!-- SM Data ---- S -->
|
<!-- SM Data ---- S -->
|
||||||
<a-divider orientation="left">
|
<a-divider orientation="left">
|
||||||
Subscribed SM Data
|
Subscribed SM Data
|
||||||
@@ -1645,9 +1657,6 @@ onMounted(() => {
|
|||||||
</a-input>
|
</a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
|
||||||
|
|
||||||
<a-row :gutter="16">
|
|
||||||
<a-col :lg="24" :md="24" :xs="24">
|
<a-col :lg="24" :md="24" :xs="24">
|
||||||
<a-form-item
|
<a-form-item
|
||||||
label="5G Subscribed SMF Selection Data Template"
|
label="5G Subscribed SMF Selection Data Template"
|
||||||
@@ -1691,9 +1700,30 @@ onMounted(() => {
|
|||||||
</a-input>
|
</a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
<a-col :lg="24" :md="24" :xs="24">
|
||||||
|
<a-form-item
|
||||||
<a-row :gutter="16">
|
label="5G CAG Template"
|
||||||
|
name="cag"
|
||||||
|
v-bind="modalStateFrom.validateInfos.cag"
|
||||||
|
>
|
||||||
|
<a-input
|
||||||
|
v-model:value="modalState.from.cag"
|
||||||
|
allow-clear
|
||||||
|
:maxlength="50"
|
||||||
|
>
|
||||||
|
<template #prefix>
|
||||||
|
<a-tooltip placement="topLeft">
|
||||||
|
<template #title>
|
||||||
|
{{ t('views.neUser.sub.inputTip', { num: '50' }) }}
|
||||||
|
</template>
|
||||||
|
<InfoCircleOutlined
|
||||||
|
style="color: rgba(0, 0, 0, 0.45)"
|
||||||
|
/>
|
||||||
|
</a-tooltip>
|
||||||
|
</template>
|
||||||
|
</a-input>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
<a-col :lg="24" :md="24" :xs="24">
|
<a-col :lg="24" :md="24" :xs="24">
|
||||||
<a-form-item
|
<a-form-item
|
||||||
label="5G Service Area Restriction Template"
|
label="5G Service Area Restriction Template"
|
||||||
@@ -1717,31 +1747,6 @@ onMounted(() => {
|
|||||||
</a-input>
|
</a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :lg="24" :md="24" :xs="24">
|
|
||||||
<a-form-item label="5G RFSP Index" name="rfsp">
|
|
||||||
<a-input-number
|
|
||||||
v-model:value="modalState.from.rfsp"
|
|
||||||
style="width: 100%"
|
|
||||||
:min="0"
|
|
||||||
:max="127"
|
|
||||||
placeholder="0 ~ 127"
|
|
||||||
>
|
|
||||||
<template #prefix>
|
|
||||||
<a-tooltip placement="topLeft">
|
|
||||||
<template #title>
|
|
||||||
{{ t('views.neUser.sub.rfspTip') }}
|
|
||||||
</template>
|
|
||||||
<InfoCircleOutlined
|
|
||||||
style="color: rgba(0, 0, 0, 0.45)"
|
|
||||||
/>
|
|
||||||
</a-tooltip>
|
|
||||||
</template>
|
|
||||||
</a-input-number>
|
|
||||||
</a-form-item>
|
|
||||||
</a-col>
|
|
||||||
</a-row>
|
|
||||||
|
|
||||||
<a-row :gutter="16">
|
|
||||||
<a-col :lg="24" :md="24" :xs="24">
|
<a-col :lg="24" :md="24" :xs="24">
|
||||||
<a-form-item
|
<a-form-item
|
||||||
label="5G MICO Mode"
|
label="5G MICO Mode"
|
||||||
@@ -1758,7 +1763,6 @@ onMounted(() => {
|
|||||||
</a-select>
|
</a-select>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
|
||||||
<a-col :lg="24" :md="24" :xs="24">
|
<a-col :lg="24" :md="24" :xs="24">
|
||||||
<a-form-item label="5G UE Usage Type" name="ueType">
|
<a-form-item label="5G UE Usage Type" name="ueType">
|
||||||
<a-input-number
|
<a-input-number
|
||||||
@@ -1781,6 +1785,28 @@ onMounted(() => {
|
|||||||
</a-input-number>
|
</a-input-number>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
<a-col :lg="24" :md="24" :xs="24">
|
||||||
|
<a-form-item label="5G RFSP Index" name="rfsp">
|
||||||
|
<a-input-number
|
||||||
|
v-model:value="modalState.from.rfsp"
|
||||||
|
style="width: 100%"
|
||||||
|
:min="0"
|
||||||
|
:max="127"
|
||||||
|
placeholder="0 ~ 127"
|
||||||
|
>
|
||||||
|
<template #prefix>
|
||||||
|
<a-tooltip placement="topLeft">
|
||||||
|
<template #title>
|
||||||
|
{{ t('views.neUser.sub.rfspTip') }}
|
||||||
|
</template>
|
||||||
|
<InfoCircleOutlined
|
||||||
|
style="color: rgba(0, 0, 0, 0.45)"
|
||||||
|
/>
|
||||||
|
</a-tooltip>
|
||||||
|
</template>
|
||||||
|
</a-input-number>
|
||||||
|
</a-form-item>
|
||||||
|
</a-col>
|
||||||
</a-row>
|
</a-row>
|
||||||
</a-collapse-panel>
|
</a-collapse-panel>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user