1
lu
2024-12-04 a952e19c231c432c365e649d3b354ec331c5f642
DevApp/Gs.DevApp/DevFrm/Sys/DocNoRule.cs
@@ -2,7 +2,6 @@
using System.Collections.Generic;
using System.Data;
using System.Windows.Forms;
using DevExpress.RichEdit.Export;
using DevExpress.XtraEditors;
using DevExpress.XtraEditors.Controls;
using Gs.DevApp.Entity;
@@ -29,7 +28,7 @@
            {
                UtilityHelper.SetCheckIco(s, picCheckBox, this, "checkStatus", "");
            };
            getPageList(1, UtilityHelper.GetPageSize());
            getPageList(1);
            pageBar1.PagerEvent += PageBar1_PagerEvent;
            getTree();
            txt_docCode.EditValueChanged += Txt_docCode_EditValueChanged;
@@ -43,7 +42,7 @@
            txt_isSpilit.CheckedChanged +=
                Txt_flagIncludeDocCode_CheckedChanged;
            Gs.DevApp.ToolBox.UtilityHelper.SetGridSear(gridView1);
        }
        /// <summary>
@@ -70,7 +69,7 @@
        /// <param name="pageSize"></param>
        private void PageBar1_PagerEvent(int curPage, int pageSize)
        {
            getPageList(curPage, pageSize);
            getPageList(1);
        }
        /// <summary>
@@ -142,7 +141,7 @@
                if (_rtn.rtnCode > 0)
                {
                    UtilityHelper.JumpToTab(xtraTabControl1, 0);
                    getPageList(1, UtilityHelper.GetPageSize());
                    getPageList(1);
                }
                MsgHelper.Warning("提示:" + _rtn.rtnMsg);
@@ -161,7 +160,7 @@
        private void ToolBarMenu1_btnLoadClick(object sender, EventArgs e)
        {
            UtilityHelper.JumpToTab(xtraTabControl1, 0);
            getPageList(1, UtilityHelper.GetPageSize());
            getPageList(1);
        }
        /// <summary>
@@ -265,9 +264,9 @@
        /// </summary>
        /// <param name="curPage">第几页</param>
        /// <param name="pageSize">每页几条</param>
        private void getPageList(int curPage, int pageSize)
        private void getPageList(int curPage)
        {
            var pgq = new PageQueryModel(curPage, pageSize, "doc_Code");
            var pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "doc_Code");
            var json = JsonConvert.SerializeObject(pgq);
            try
            {