| | |
| | | { |
| | | 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; |