From e130abe3640751f084d4caa8eeaa34d5ae0a66cb Mon Sep 17 00:00:00 2001 From: lai <371757574@qq.com> Date: Tue, 16 Jan 2024 15:53:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=AD=BE=E7=BA=A6=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E8=A1=A8=E5=8D=95=E6=8E=92=E7=89=88=E4=BB=A5=E5=8F=8A?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=88=86=E9=A1=B5=E5=99=A8=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/neUser/sub/index.vue | 1367 +++++++++++++++++--------------- 1 file changed, 726 insertions(+), 641 deletions(-) diff --git a/src/views/neUser/sub/index.vue b/src/views/neUser/sub/index.vue index 26ebcb5d..d5529254 100644 --- a/src/views/neUser/sub/index.vue +++ b/src/views/neUser/sub/index.vue @@ -888,8 +888,13 @@ function fnGetList(pageNum?: number) { if (tableState.selectedRowKeys.length > 0) { tableState.selectedRowKeys = []; } + tablePagination.total = res.total; tableState.data = res.rows; + if(tablePagination.total<=(queryParams.pageNum-1)*tablePagination.pageSize&&queryParams.pageNum!==1) { + tableState.loading = false; + fnGetList(queryParams.pageNum-1) + } } tableState.loading = false; }); @@ -1316,296 +1321,22 @@ onMounted(() => { - 5G - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{ t('views.neUser.sub.enable') }} - - - {{ t('views.neUser.sub.disable') }} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 4G - - - - - - - {{ t('views.neUser.sub.enable') }} - - - {{ t('views.neUser.sub.disable') }} - - - - - - - - - - - - - - - - - - - - - - - - - + +