style: UDM用户数据限制imsi长度输入

This commit is contained in:
TsMask
2024-07-11 15:02:53 +08:00
parent 3bdae264e1
commit 4dc6699974
3 changed files with 21 additions and 4 deletions

View File

@@ -770,6 +770,7 @@ onMounted(() => {
<a-input
v-model:value="queryParams.imsi"
allow-clear
:maxlength="15"
:placeholder="t('common.inputPlease')"
></a-input>
</a-form-item>
@@ -1026,6 +1027,7 @@ onMounted(() => {
<a-input
v-model:value="modalState.from.imsi"
allow-clear
:maxlength="15"
:disabled="!!modalState.from.id"
>
<template #prefix>
@@ -1196,7 +1198,11 @@ onMounted(() => {
name="imsi"
v-bind="modalStateBatchFrom.validateInfos.imsi"
>
<a-input v-model:value="modalState.BatchForm.imsi" allow-clear>
<a-input
v-model:value="modalState.BatchForm.imsi"
allow-clear
:maxlength="15"
>
<template #prefix>
<a-tooltip placement="topLeft">
<template #title>
@@ -1344,7 +1350,11 @@ onMounted(() => {
name="imsi"
v-bind="modalStateBatchDelFrom.validateInfos.imsi"
>
<a-input v-model:value="modalState.BatchDelForm.imsi" allow-clear>
<a-input
v-model:value="modalState.BatchDelForm.imsi"
allow-clear
:maxlength="15"
>
<template #prefix>
<a-tooltip placement="topLeft">
<template #title>

View File

@@ -223,7 +223,7 @@ onMounted(() => {
</a-col>
<a-col :lg="6" :md="12" :xs="24">
<a-form-item label="IMSI" name="imsi">
<a-input v-model:value="queryParams.imsi" allow-clear></a-input>
<a-input v-model:value="queryParams.imsi" allow-clear :maxlength="15"></a-input>
</a-form-item>
</a-col>
<a-col :lg="6" :md="12" :xs="24">

View File

@@ -1262,6 +1262,7 @@ onMounted(() => {
<a-input
v-model:value="queryParams.imsi"
allow-clear
:maxlength="15"
:placeholder="t('common.inputPlease')"
></a-input>
</a-form-item>
@@ -1271,6 +1272,7 @@ onMounted(() => {
<a-input
v-model:value="queryParams.msisdn"
allow-clear
:maxlength="32"
:placeholder="t('common.inputPlease')"
></a-input>
</a-form-item>
@@ -1538,6 +1540,7 @@ onMounted(() => {
<a-input
v-model:value="modalState.from.imsi"
allow-clear
:maxlength="15"
:disabled="!!modalState.from.id"
>
<template #prefix>
@@ -2628,7 +2631,11 @@ onMounted(() => {
name="imsi"
v-bind="modalStateBatchDelFrom.validateInfos.imsi"
>
<a-input v-model:value="modalState.BatchDelForm.imsi" allow-clear>
<a-input
v-model:value="modalState.BatchDelForm.imsi"
allow-clear
:maxlength="15"
>
<template #prefix>
<a-tooltip placement="topLeft">
<template #title>