lu
2025-04-07 e19ea4337fa65725e6e22073a7b600dcc9887d4b
DevApp/Gs.DevApp/DevFrm/Sys/Frm_MesSysPageview.cs
@@ -11,7 +11,6 @@
    public partial class Frm_MesSysPageview : DevExpress.XtraEditors.XtraForm
    {
        string _webServiceName = "MesSysPageviewManager/";
        List<FilterEntity> _filterList = new List<FilterEntity>();
        public Frm_MesSysPageview()
        {
            InitializeComponent();
@@ -25,7 +24,7 @@
            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, null, null, "", "", (value) =>
            {
                Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 0);
            });
            }, tips);
            Gs.DevApp.ToolBox.UtilityHelper.SetTabParameter(gridView1, xtraTabControl1, pageBar1, (value) =>
            {
                getModel(value);
@@ -125,7 +124,6 @@
        /// <param name="e"></param>
        private void ToolBarMenu1_btnEdtClick(object sender, EventArgs e)
        {
            string rowGuid = "", rowName = "";
            (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_pageView, gridView1);
            if (string.IsNullOrEmpty(rowGuid))
@@ -142,8 +140,6 @@
            {
                UtilityHelper.ChangeEnableByControl(this.layoutMx1.Controls, true);
            }
        }
        /// <summary>
        /// 新增事件
@@ -163,7 +159,6 @@
        /// <param name="e"></param>
        private void ToolBarMenu1_btnSaveClick(object sender, EventArgs e)
        {
            toolBarMenu1.isSetBtn = false;
            if (string.IsNullOrEmpty(txt_pageView.Text.Trim()))
            {
@@ -219,7 +214,7 @@
        /// <param name="pageSize">每页几条</param>
        private void getPageList(int curPage)
        {
            var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList);
            var _sbSqlWhere ="";
            PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "a.PAGE_GROUP", "desc", "", _sbSqlWhere.ToString());
            string json = JsonConvert.SerializeObject(pgq);
            try
@@ -287,6 +282,11 @@
            }
        }
        /// <summary>
        /// 上传按钮
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void repositoryItemButtonEdit1_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
        {
            var rowhandle = gridView1.FocusedRowHandle;