---针对UDM签约用户静态ip
This commit is contained in:
@@ -252,7 +252,7 @@ let modalState: ModalStateType = reactive({
|
|||||||
epstpl: 'def_eps',
|
epstpl: 'def_eps',
|
||||||
contextId: '1',
|
contextId: '1',
|
||||||
apnContext: '',
|
apnContext: '',
|
||||||
staticIp: '',
|
staticIp: '-',
|
||||||
},
|
},
|
||||||
BatchForm: {
|
BatchForm: {
|
||||||
num: '',
|
num: '',
|
||||||
@@ -275,7 +275,7 @@ let modalState: ModalStateType = reactive({
|
|||||||
epstpl: 'def_eps',
|
epstpl: 'def_eps',
|
||||||
contextId: '1',
|
contextId: '1',
|
||||||
apnContext: '',
|
apnContext: '',
|
||||||
staticIp: '',
|
staticIp: '-',
|
||||||
},
|
},
|
||||||
BatchDelForm: {
|
BatchDelForm: {
|
||||||
num: '',
|
num: '',
|
||||||
@@ -415,6 +415,7 @@ const modalStateFrom = Form.useForm(
|
|||||||
modalState.from,
|
modalState.from,
|
||||||
reactive({
|
reactive({
|
||||||
imsi: [{ required: true, message: 'IMSI不能为空' }],
|
imsi: [{ required: true, message: 'IMSI不能为空' }],
|
||||||
|
staticIp: [{ required: true, message: '静态IP不能为空' }],
|
||||||
smData: [{ required: true, message: 'Subscribed SM Data不能为空' }],
|
smData: [{ required: true, message: 'Subscribed SM Data不能为空' }],
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
@@ -424,7 +425,7 @@ const modalStateFrom = Form.useForm(
|
|||||||
* 进行表达规则校验
|
* 进行表达规则校验
|
||||||
*/
|
*/
|
||||||
function fnModalOk() {
|
function fnModalOk() {
|
||||||
let validateNames = ['imsi'];
|
let validateNames = ['imsi', 'staticIp'];
|
||||||
|
|
||||||
if (modalState.from.id === '') {
|
if (modalState.from.id === '') {
|
||||||
validateNames.push('smData');
|
validateNames.push('smData');
|
||||||
@@ -491,6 +492,7 @@ const modalStateBatchFrom = Form.useForm(
|
|||||||
num: [{ required: true, message: '放号数不能为空' }],
|
num: [{ required: true, message: '放号数不能为空' }],
|
||||||
imsi: [{ required: true, message: 'IMSI不能为空' }],
|
imsi: [{ required: true, message: 'IMSI不能为空' }],
|
||||||
msisdn: [{ required: true, message: 'MSISDN不能为空' }],
|
msisdn: [{ required: true, message: 'MSISDN不能为空' }],
|
||||||
|
staticIp: [{ required: true, message: '静态IP不能为空' }],
|
||||||
smData: [{ required: true, message: 'Subscribed SM Data不能为空' }],
|
smData: [{ required: true, message: 'Subscribed SM Data不能为空' }],
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
@@ -1104,19 +1106,6 @@ onMounted(() => {
|
|||||||
</a-input>
|
</a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<!-- <a-col :lg="12" :md="12" :xs="24">
|
|
||||||
<a-form-item
|
|
||||||
label="cn"
|
|
||||||
name="cn"
|
|
||||||
v-bind="modalStateFrom.validateInfos.cn"
|
|
||||||
>
|
|
||||||
<a-input
|
|
||||||
v-model:value="modalState.from.cn"
|
|
||||||
allow-clear
|
|
||||||
placeholder="请输入cn"
|
|
||||||
></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="MSISDN"
|
label="MSISDN"
|
||||||
@@ -1356,7 +1345,7 @@ onMounted(() => {
|
|||||||
<template #suffixIcon>
|
<template #suffixIcon>
|
||||||
<a-tooltip placement="topLeft">
|
<a-tooltip placement="topLeft">
|
||||||
<template #title>
|
<template #title>
|
||||||
指定手机用户上网时使用的静态IP地址,为空时表示使用动态IP地址
|
指定手机用户上网时使用的静态IP地址,为"-"时表示使用动态IP地址
|
||||||
</template>
|
</template>
|
||||||
<InfoCircleOutlined style="color: rgba(0, 0, 0, 0.45)" />
|
<InfoCircleOutlined style="color: rgba(0, 0, 0, 0.45)" />
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
@@ -1403,8 +1392,8 @@ onMounted(() => {
|
|||||||
<a-col :lg="12" :md="12" :xs="24">
|
<a-col :lg="12" :md="12" :xs="24">
|
||||||
<a-form-item
|
<a-form-item
|
||||||
label="4G Static IP"
|
label="4G Static IP"
|
||||||
name="staticIp"
|
|
||||||
v-bind="modalStateFrom.validateInfos.staticIp"
|
v-bind="modalStateFrom.validateInfos.staticIp"
|
||||||
|
name="staticIp"
|
||||||
>
|
>
|
||||||
<a-input
|
<a-input
|
||||||
v-model:value="modalState.from.staticIp"
|
v-model:value="modalState.from.staticIp"
|
||||||
@@ -1414,7 +1403,7 @@ onMounted(() => {
|
|||||||
<template #prefix>
|
<template #prefix>
|
||||||
<a-tooltip placement="topLeft">
|
<a-tooltip placement="topLeft">
|
||||||
<template #title>
|
<template #title>
|
||||||
指定手机用户上网时使用的静态IP地址,为空时表示使用动态IP地址
|
指定手机用户上网时使用的静态IP地址,为"-"时表示使用动态IP地址
|
||||||
</template>
|
</template>
|
||||||
<InfoCircleOutlined style="color: rgba(0, 0, 0, 0.45)" />
|
<InfoCircleOutlined style="color: rgba(0, 0, 0, 0.45)" />
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
@@ -1700,14 +1689,6 @@ onMounted(() => {
|
|||||||
:options="modalStateFromOption.ardJson"
|
:options="modalStateFromOption.ardJson"
|
||||||
@change=""
|
@change=""
|
||||||
>
|
>
|
||||||
<template #suffixIcon>
|
|
||||||
<a-tooltip placement="topLeft">
|
|
||||||
<template #title>
|
|
||||||
指定手机用户上网时使用的静态IP地址,为空时表示使用动态IP地址
|
|
||||||
</template>
|
|
||||||
<InfoCircleOutlined style="color: rgba(0, 0, 0, 0.45)" />
|
|
||||||
</a-tooltip>
|
|
||||||
</template>
|
|
||||||
</a-select>
|
</a-select>
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
@@ -1740,7 +1721,11 @@ onMounted(() => {
|
|||||||
</a-row>
|
</a-row>
|
||||||
<a-row :gutter="16">
|
<a-row :gutter="16">
|
||||||
<a-col :lg="12" :md="12" :xs="24">
|
<a-col :lg="12" :md="12" :xs="24">
|
||||||
<a-form-item label="4G Static IP" name="staticIp">
|
<a-form-item
|
||||||
|
label="4G Static IP"
|
||||||
|
name="staticIp"
|
||||||
|
v-bind="modalStateBatchFrom.validateInfos.staticIp"
|
||||||
|
>
|
||||||
<a-input
|
<a-input
|
||||||
v-model:value="modalState.BatchForm.staticIp"
|
v-model:value="modalState.BatchForm.staticIp"
|
||||||
allow-clear
|
allow-clear
|
||||||
@@ -1749,7 +1734,7 @@ onMounted(() => {
|
|||||||
<template #prefix>
|
<template #prefix>
|
||||||
<a-tooltip placement="topLeft">
|
<a-tooltip placement="topLeft">
|
||||||
<template #title>
|
<template #title>
|
||||||
指定手机用户上网时使用的静态IP地址,为空时表示使用动态IP地址
|
指定手机用户上网时使用的静态IP地址,为"-"时表示使用动态IP地址
|
||||||
</template>
|
</template>
|
||||||
<InfoCircleOutlined style="color: rgba(0, 0, 0, 0.45)" />
|
<InfoCircleOutlined style="color: rgba(0, 0, 0, 0.45)" />
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
|
|||||||
Reference in New Issue
Block a user