From d42e6356f35eb4f781b466872bd19cacdb868f62 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Wed, 5 Mar 2025 19:40:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20UDM=E7=94=A8=E6=88=B7=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E9=99=90=E5=88=B6=E8=BE=93=E5=85=A5=E6=A1=86?= =?UTF-8?q?=E6=9C=80=E5=A4=A7=E5=80=BC500?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/neUser/auth/index.vue | 14 ++++++++------ src/views/neUser/sub/index.vue | 19 +++++++++---------- 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/src/views/neUser/auth/index.vue b/src/views/neUser/auth/index.vue index 3610b9fd..9bf360fe 100644 --- a/src/views/neUser/auth/index.vue +++ b/src/views/neUser/auth/index.vue @@ -385,7 +385,7 @@ function fnBatchDelModalOk() { const neId = queryParams.neId || '-'; batchDelUDMAuth(neId, from.imsi, from.num).then(res => { if (res.code === RESULT_CODE_SUCCESS) { - const timerS = Math.ceil(+from.num / 1500) + 1; + const timerS = Math.ceil(+from.num / 800) + 1; notification.success({ message: modalState.title, description: t('common.operateOk'), @@ -530,7 +530,7 @@ function fnLoadData() { resetUDMAuth(neId).then(res => { if (res.code === RESULT_CODE_SUCCESS) { const num = res.data; - const timerS = Math.ceil(+num / 3000) + 3; + const timerS = Math.ceil(+num / 800) + 3; notification.success({ message: t('views.neUser.auth.loadData'), description: t('views.neUser.auth.loadDataTip', { num, timer: timerS }), @@ -1047,8 +1047,9 @@ onMounted(() => { v-model:value="modalState.from.num" style="width: 100%" :min="1" - :max="10000" - placeholder="<=10000" + :max="500" + :maxlength="3" + placeholder="<=500" > @@ -1208,8 +1209,9 @@ onMounted(() => { v-model:value="modalState.BatchDelForm.num" style="width: 100%" :min="1" - :max="10000" - placeholder="<=10000" + :max="500" + :maxlength="3" + placeholder="<=500" > diff --git a/src/views/neUser/sub/index.vue b/src/views/neUser/sub/index.vue index 162b7b64..6b5ebef1 100644 --- a/src/views/neUser/sub/index.vue +++ b/src/views/neUser/sub/index.vue @@ -662,10 +662,7 @@ function fnModalOk() { }); fnGetList(1); } else { - const timerS = Math.max( - Math.ceil(+from.num / 500), - `${from.num}`.length * 5 - ); + const timerS = Math.ceil(+from.num / 800) + 1; notification.success({ message: modalState.title, description: t('common.operateOk'), @@ -728,7 +725,7 @@ function fnBatchDelModalOk() { const neId = queryParams.neId || '-'; batchDelUDMSub(neId, from.imsi, from.num).then(res => { if (res.code === RESULT_CODE_SUCCESS) { - const timerS = Math.ceil(+from.num / 1500) + 1; + const timerS = Math.ceil(+from.num / 800) + 1; notification.success({ message: modalState.title, description: t('common.operateOk'), @@ -909,7 +906,7 @@ function fnLoadData() { resetUDMSub(neId).then(res => { if (res.code === RESULT_CODE_SUCCESS) { const num = res.data; - const timerS = Math.ceil(+num / 2000) + 3; + const timerS = Math.ceil(+num / 800) + 3; notification.success({ message: t('views.neUser.sub.loadData'), description: t('views.neUser.sub.loadDataTip', { num, timer: timerS }), @@ -1456,8 +1453,9 @@ onMounted(() => { v-model:value="modalState.from.num" style="width: 100%" :min="1" - :max="10000" - placeholder="<=10000" + :max="500" + :maxlength="3" + placeholder="<=500" > @@ -2088,8 +2086,9 @@ onMounted(() => { v-model:value="modalState.BatchDelForm.num" style="width: 100%" :min="1" - :max="10000" - placeholder="<=10000" + :max="500" + :maxlength="3" + placeholder="<=500" >