From d77ba7011caadd12cf78a399ac36620fc2cf7267 Mon Sep 17 00:00:00 2001 From: wkc <978997012@qq.com> Date: Fri, 27 Feb 2026 14:32:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=88=86=E9=A1=B5?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E6=9C=AA=E7=94=9F=E6=95=88=E9=97=AE=E9=A2=98?= =?UTF-8?q?=EF=BC=8C=E7=A7=BB=E9=99=A4=E5=89=8D=E7=AB=AF=E6=8E=92=E5=BA=8F?= =?UTF-8?q?=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/ccdiProject/index.vue | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/ruoyi-ui/src/views/ccdiProject/index.vue b/ruoyi-ui/src/views/ccdiProject/index.vue index 3a04fd5..560caa4 100644 --- a/ruoyi-ui/src/views/ccdiProject/index.vue +++ b/ruoyi-ui/src/views/ccdiProject/index.vue @@ -19,7 +19,7 @@ :data-list="projectList" :total="total" :page-params="queryParams" - @pagination="getList" + @pagination="handlePagination" @enter="handleEnter" @view-result="handleViewResult" @re-analyze="handleReAnalyze" @@ -94,9 +94,7 @@ export default { pageNum: 1, pageSize: 10, projectName: null, - status: null, - orderByColumn: 'updateTime', - isAsc: 'desc' + status: null }, // 标签页数量统计 tabCounts: { @@ -153,6 +151,14 @@ export default { this.queryParams.pageNum = 1 this.getList() }, + /** 分页事件处理 */ + handlePagination(pagination) { + if (pagination) { + this.queryParams.pageNum = pagination.pageNum + this.queryParams.pageSize = pagination.pageSize + } + this.getList() + }, /** 新增按钮操作 */ handleAdd() { this.projectForm = this.getEmptyForm()