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" >