From 0a2d917dba66be92bfaa628abee1a5792f0f4e7a Mon Sep 17 00:00:00 2001
From: lg <999544862qq.com>
Date: 星期三, 11 九月 2024 11:09:59 +0800
Subject: [PATCH] 日志

---
 DevApp/Gs.DevApp/DevFrm/Sys/EasyCode.cs          |    7 ++++++-
 DevApp/Gs.DevApp/DevFrm/Sys/EasyCode.Designer.cs |   28 ++++++++++++++++++++++++++--
 DevApp/Gs.DevApp/DevFrm/Sys/SysLog.cs            |    2 +-
 3 files changed, 33 insertions(+), 4 deletions(-)

diff --git a/DevApp/Gs.DevApp/DevFrm/Sys/EasyCode.Designer.cs b/DevApp/Gs.DevApp/DevFrm/Sys/EasyCode.Designer.cs
index 049182b..e3fe1dd 100644
--- a/DevApp/Gs.DevApp/DevFrm/Sys/EasyCode.Designer.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Sys/EasyCode.Designer.cs
@@ -43,10 +43,13 @@
             this.label3 = new System.Windows.Forms.Label();
             this.label2 = new System.Windows.Forms.Label();
             this.label1 = new System.Windows.Forms.Label();
+            this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage();
+            this.button1 = new System.Windows.Forms.Button();
             ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
             this.xtraTabControl1.SuspendLayout();
             this.xtraTabPage1.SuspendLayout();
             ((System.ComponentModel.ISupportInitialize)(this.txt_sqlconn.Properties)).BeginInit();
+            this.xtraTabPage2.SuspendLayout();
             this.SuspendLayout();
             // 
             // xtraTabControl1
@@ -58,7 +61,8 @@
             this.xtraTabControl1.Size = new System.Drawing.Size(889, 524);
             this.xtraTabControl1.TabIndex = 0;
             this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
-            this.xtraTabPage1});
+            this.xtraTabPage1,
+            this.xtraTabPage2});
             // 
             // xtraTabPage1
             // 
@@ -78,7 +82,7 @@
             this.xtraTabPage1.Controls.Add(this.label1);
             this.xtraTabPage1.Name = "xtraTabPage1";
             this.xtraTabPage1.Size = new System.Drawing.Size(887, 492);
-            this.xtraTabPage1.Text = "閰嶇疆淇℃伅";
+            this.xtraTabPage1.Text = "Dev浠g爜鐢熸垚鍣�";
             // 
             // lbMsg
             // 
@@ -196,6 +200,23 @@
             this.label1.TabIndex = 257;
             this.label1.Text = "閫夋嫨琛ㄦ垨瑙嗗浘锛�";
             // 
+            // xtraTabPage2
+            // 
+            this.xtraTabPage2.Controls.Add(this.button1);
+            this.xtraTabPage2.Name = "xtraTabPage2";
+            this.xtraTabPage2.Size = new System.Drawing.Size(887, 492);
+            this.xtraTabPage2.Text = "Dev鎶ヨ〃璁捐鍣�";
+            // 
+            // button1
+            // 
+            this.button1.Location = new System.Drawing.Point(39, 70);
+            this.button1.Name = "button1";
+            this.button1.Size = new System.Drawing.Size(194, 41);
+            this.button1.TabIndex = 1;
+            this.button1.Text = "鐢ㄦ埛鏉冮檺鎶ヨ〃";
+            this.button1.UseVisualStyleBackColor = true;
+            this.button1.Click += new System.EventHandler(this.button1_Click);
+            // 
             // EasyCode
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F);
@@ -209,6 +230,7 @@
             this.xtraTabPage1.ResumeLayout(false);
             this.xtraTabPage1.PerformLayout();
             ((System.ComponentModel.ISupportInitialize)(this.txt_sqlconn.Properties)).EndInit();
+            this.xtraTabPage2.ResumeLayout(false);
             this.ResumeLayout(false);
 
         }
@@ -229,5 +251,7 @@
         private System.Windows.Forms.Label label2;
         private System.Windows.Forms.Label label1;
         private System.Windows.Forms.Label lbMsg;
+        private DevExpress.XtraTab.XtraTabPage xtraTabPage2;
+        private System.Windows.Forms.Button button1;
     }
 }
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/DevFrm/Sys/EasyCode.cs b/DevApp/Gs.DevApp/DevFrm/Sys/EasyCode.cs
index 0c06a41..d75c1fb 100644
--- a/DevApp/Gs.DevApp/DevFrm/Sys/EasyCode.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Sys/EasyCode.cs
@@ -243,7 +243,7 @@
                            + "this." + _gvName + ".Width =94;" + line
                            + "this." + _gvName + ".OptionsColumn.AllowEdit = false;" + line
                            + "this." + _gvName + ".VisibleIndex = 0;" + line;
-                   
+
 
                     strbuilder.Replace("BQSetControlInfo", BQSetControlInfo);
                     //BQAddControltoMContainer//灏嗘帶浠舵坊鍔犲埌Form 瀹瑰櫒涓�  杩欎釜瀹瑰櫒鍙互鏄� panel 鍙互鏄痝roupbox 绛夌瓑 
@@ -291,5 +291,10 @@
             txtCreateDBPath.Text = _GetfilePath;
         }
 
+        private void button1_Click(object sender, EventArgs e)
+        {
+            EasyRpt frm = new EasyRpt("001");
+            frm.Show();
+        }
     }
 }
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/DevFrm/Sys/SysLog.cs b/DevApp/Gs.DevApp/DevFrm/Sys/SysLog.cs
index 3f0fc86..298ea7c 100644
--- a/DevApp/Gs.DevApp/DevFrm/Sys/SysLog.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Sys/SysLog.cs
@@ -64,7 +64,7 @@
         /// <param name="pageSize">姣忛〉鍑犳潯</param>
         private void getPageList(int curPage, int pageSize)
         {
-            PageQueryModel pgq = new PageQueryModel(curPage, pageSize, "operationTime", "asc", "", "");
+            PageQueryModel pgq = new PageQueryModel(curPage, pageSize, "operationTime", "desc", "", "");
             string json = JsonConvert.SerializeObject(pgq);
             try
             {

--
Gitblit v1.9.3