lu
2025-04-15 c4c64129aef67b4127cf141c91205da10ebf482b
DevApp/Gs.DevApp/DevFrm/Work/Frm_WorkStart.cs
@@ -1,25 +1,20 @@
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;
        }
@@ -50,6 +45,7 @@
        /// </summary>
        private void _getListJyxm()
        {
            var pgq = new PageQueryModel(1, 999999, "a.processNo", "asc", "", "");
            var json = JsonConvert.SerializeObject(pgq);
            try
@@ -60,7 +56,8 @@
                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;