From be94e54dc7cd0eb2e66f25d7def9a873c563564c Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期五, 10 一月 2025 09:53:30 +0800
Subject: [PATCH] 细节

---
 DevApp/Gs.DevApp/UserControl/SelectWompba.cs |   18 +++++-------------
 1 files changed, 5 insertions(+), 13 deletions(-)

diff --git a/DevApp/Gs.DevApp/UserControl/SelectWompba.cs b/DevApp/Gs.DevApp/UserControl/SelectWompba.cs
index 01542e2..057b23d 100644
--- a/DevApp/Gs.DevApp/UserControl/SelectWompba.cs
+++ b/DevApp/Gs.DevApp/UserControl/SelectWompba.cs
@@ -1,14 +1,7 @@
-锘縰sing DevExpress.XtraEditors;
-using Gs.DevApp.ToolBox;
+锘縰sing Gs.DevApp.ToolBox;
 using Newtonsoft.Json;
 using System;
 using System.Collections.Generic;
-using System.ComponentModel;
-using System.Data;
-using System.Drawing;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
 using System.Windows.Forms;
 
 namespace Gs.DevApp.UserControl
@@ -18,10 +11,11 @@
         private readonly List<FilterEntity> _filterList =
            new List<FilterEntity>();
         private readonly string _webServiceName = "WompbaManager/";
-        private string lineId = "";
-        public SelectWompba(string _lineId)
+        private string workId = "";
+        public SelectWompba(string _workId)
         {
             InitializeComponent();
+            this.workId = _workId;
             pageBar1.PagerEvent += PageBar1_PagerEvent;
             getPageList(1, UtilityHelper.GetPageSize());
             gridView1.IndicatorWidth = 50;
@@ -76,8 +70,7 @@
                 everyPageSize = pageSize,
                 sortName = "",
                 keyWhere = "",
-                inBusType = "CG",
-                lineId = this.lineId
+                workId = this.workId
             };
             var json = JsonConvert.SerializeObject(_obj);
             try
@@ -93,7 +86,6 @@
                 pageBar1.TotalPages = dddd;
                 pageBar1.RecordCount = dd.rtnData.total; //璁板綍鎬绘暟
                 pageBar1.CurrentPage = curPage; //褰撳墠椤�
-                pageBar1.RowsCount = pageSize; //姣忛〉鏄剧ず
             }
             catch (Exception ex)
             {

--
Gitblit v1.9.3