| | |
| | | using DevExpress.XtraEditors; |
| | | using Gs.DevApp.Entity; |
| | | using Gs.DevApp.Entity; |
| | | using 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.DevFrm.Work |
| | | { |
| | | public partial class Frm_WorkStart : DevExpress.XtraEditors.XtraForm |
| | | { |
| | | /// <summary> |
| | | /// pc只需要过站 |
| | | /// </summary> |
| | | private string isPc = "投入,电检,水检,终检"; |
| | | public Frm_WorkStart() |
| | | { |
| | | InitializeComponent(); |
| | | |
| | | _getListJyxm(); |
| | | btnLogin.Click += BtnLogin_Click; |
| | | } |
| | |
| | | /// </summary> |
| | | private void _getListJyxm() |
| | | { |
| | | |
| | | var pgq = new PageQueryModel(1, 999999, "a.processNo", "asc", "", ""); |
| | | var json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | |
| | | txt_gx.Properties.Items.Add("-请选择-"); |
| | | foreach (DataRow dr in dt.Rows) |
| | | { |
| | | txt_gx.Properties.Items.Add(dr["processNo"].ToString() + ":" + dr["processName"].ToString()); |
| | | if (isPc.Contains(dr["processName"].ToString())) |
| | | txt_gx.Properties.Items.Add(dr["processNo"].ToString() + ":" + dr["processName"].ToString()); |
| | | } |
| | | txt_gx.Focus(); |
| | | txt_gx.SelectedIndex = 0; |