lu
2024-12-20 a55730702b0b1b541d6ec40cac4469a2418936d5
DevApp/Gs.DevApp/DevFrm/FrmLogin.cs
@@ -21,10 +21,11 @@
                _autoUpdate();
            else
                getTree();
            Text = lbVersion.Text =
                ConfigurationManager.AppSettings["ProductName"];
            Text = lbVersion.Text = ConfigurationManager.AppSettings["ProductName"];
            btnLogin.Click += BtnLogin_Click;
            btnCancel.Click += BtnCancel_Click;
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
        }
        /// <summary>
@@ -32,7 +33,7 @@
        /// </summary>
        private void getTree()
        {
            var pgq = new PageQueryModel(1, 999999, "factory", "asc", "",
            var pgq = new PageQueryModel(1, 999999, "FID", "asc", "",
                " and IS_STATUS=1");
            var json = JsonConvert.SerializeObject(pgq);
            try
@@ -114,8 +115,7 @@
                        _login["loginOrgGuid"].ToString();
                    LoginInfoModel.CurrentUser.LoginTime =
                        DateTime.Now.ToString("yyyy-MM-dd hh:mm");
                    LoginInfoModel.CurrentUser.LoginFactory =
                        _login["loginFactory"].ToString();
                    DialogResult = DialogResult.OK;
                }
                else