From 769b5a6f9c67bab1982f935b54dc0f26e7606972 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期四, 10 四月 2025 12:12:55 +0800 Subject: [PATCH] 状态 --- DevApp/Gs.DevApp/UserControl/SelectCgMx.cs | 12 ++---------- 1 files changed, 2 insertions(+), 10 deletions(-) diff --git a/DevApp/Gs.DevApp/UserControl/SelectCgMx.cs b/DevApp/Gs.DevApp/UserControl/SelectCgMx.cs index b8a335d..5c379e0 100644 --- a/DevApp/Gs.DevApp/UserControl/SelectCgMx.cs +++ b/DevApp/Gs.DevApp/UserControl/SelectCgMx.cs @@ -1,11 +1,8 @@ 锘縰sing System; using System.Collections.Generic; using System.Data; -using System.Text; using System.Windows.Forms; -using DevExpress.Utils.DirectXPaint; using DevExpress.XtraEditors; -using Gs.DevApp.Entity; using Gs.DevApp.ToolBox; using Newtonsoft.Json; @@ -31,11 +28,10 @@ radioGroup1.SelectedIndex = 0; this.suppId = _suppId; this.receiveOrgId = _receiveOrgId; - pageBar1.PagerEvent += PageBar1_PagerEvent; Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, null, null, null, "", (value) => { - }); + },null,false); getPageList(1); btnIn.Click += (s, e) => { @@ -81,7 +77,7 @@ var _obj = new { currentPage = curPage, - everyPageSize = this.pageBar1.RowsCount, + everyPageSize = 999999, sortName = "", keyWhere = "", inBusType = (radioGroup1.SelectedIndex+1),//1鏄噰璐紝2鏄澶� @@ -99,10 +95,6 @@ gcMain.DataSource = dt; gcMain.ForceInitialize(); gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); - var dddd = dd.rtnData.pages; //鎬婚〉 - pageBar1.TotalPages = dddd; - pageBar1.RecordCount = dd.rtnData.total; //璁板綍鎬绘暟 - pageBar1.CurrentPage = curPage; //褰撳墠椤� } catch (Exception ex) { -- Gitblit v1.9.3