Quellcode durchsuchen

1.增加云医保入口医保辅助查询:人员待遇检查

zzz vor 1 Jahr
Ursprung
Commit
819d19f203

+ 1 - 0
Business/HisMainBusiness.cs

@@ -496,6 +496,7 @@ namespace PTMedicalInsurance.Business
                 {
                     outParam = joRtn1101.ToString();
                     Global.pat.insuplc_admdvs = JsonHelper.getDestValue(JObject.Parse(outParam), "output.insuinfo.insuplc_admdvs"); //参保地
+                    Global.pat.psn_no = JsonHelper.getDestValue(JObject.Parse(outParam), "output.insuinfo.psn_no"); //参保地
 
                     return 0;
                 }

+ 17 - 0
Business/InsuServices.cs

@@ -163,6 +163,23 @@ namespace PTMedicalInsurance.Business
             InvokeHelper invoker = new InvokeHelper();
             return invoker.invokeInsuService(joSettlQuery.ToString(), "查询指定字典信息");
         }
+        /// 获取指定字典编码值信息
+        public JObject getSpecDictionaryValue(string interfaceDr, string dicType, string code)
+        {
+            string sqlStr = " select '' Code,'' Name,'' PinyinSearchCode union all ";
+            sqlStr = sqlStr + " SELECT B.Code,B.Descripts AS Name,'' PinyinSearchCode FROM HB_Dictionary A JOIN HB_DictionaryDataDetail B ON A.ID = B.HBDictionary_Dr " +
+                "WHERE A.Interface_Dr= " + interfaceDr + " And A.InsuCode = '" + dicType + "' and B.Code='" + code + "'";
+
+            JObject joSqlstr = new JObject();
+            joSqlstr.Add("sqlStr", sqlStr);
+            JArray jaParam = new JArray();
+            jaParam.Add(joSqlstr);
+            JObject joSettlQuery = new JObject();
+            joSettlQuery.Add("params", jaParam);
+            joSettlQuery.Add("code", "09010063");
+            InvokeHelper invoker = new InvokeHelper();
+            return invoker.invokeInsuService(joSettlQuery.ToString(), "查询指定字典信息");
+        }
 
         /// <summary>
         /// 保存登记信息到云医保平台

+ 1 - 1
Business/IrisServices.cs

@@ -1248,7 +1248,7 @@ namespace PTMedicalInsurance.Business
                 joSetlinfo.Add("recordID", Global.pat.recordID);
                 joSetlinfo.Add("msgid", Global.curEvt.msgid);
                 joSetlinfo.Add("interfaceDr", Global.inf.interfaceDr);
-                joSetlinfo.Add("admType", 2);
+                joSetlinfo.Add("admType", 1);
                 
                 if (!joSetlinfo.ToString().Contains("insuplc_admdvs"))
                 {

+ 9 - 0
CCunMI.csproj

@@ -112,6 +112,12 @@
     <Compile Include="Forms\Clearing.designer.cs">
       <DependentUpon>Clearing.cs</DependentUpon>
     </Compile>
+    <Compile Include="Forms\AssistSelect.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="Forms\AssistSelect.Designer.cs">
+      <DependentUpon>AssistSelect.cs</DependentUpon>
+    </Compile>
     <Compile Include="Forms\FrmDRG.cs">
       <SubType>Form</SubType>
     </Compile>
@@ -244,6 +250,9 @@
     <EmbeddedResource Include="Forms\Clearing.resx">
       <DependentUpon>Clearing.cs</DependentUpon>
     </EmbeddedResource>
+    <EmbeddedResource Include="Forms\AssistSelect.resx">
+      <DependentUpon>AssistSelect.cs</DependentUpon>
+    </EmbeddedResource>
     <EmbeddedResource Include="Forms\FrmDRG.resx">
       <DependentUpon>FrmDRG.cs</DependentUpon>
     </EmbeddedResource>

+ 2 - 2
Common/CardReader.cs

@@ -591,8 +591,8 @@ namespace PTMedicalInsurance.Common
         //}
         public string InsuQRCodeQuery(string URL, string InData, out string OutData)
         {
-            MessageBox.Show("进入医保电子凭读卡");
-            MessageBox.Show("入参:" + URL + ":" + InData);
+           // MessageBox.Show("进入医保电子凭读卡");
+           // MessageBox.Show("入参:" + URL + ":" + InData);
             OutData = "";
             try
             {

+ 68 - 0
FormSetter/GridViewSetter.cs

@@ -910,6 +910,74 @@ namespace PTMedicalInsurance.FormSetter
             dgv.Refresh();
         }
         #endregion
+
+
+        #region【设置医保辅助查询标题】
+        #region【设置人员待遇检查标题】
+        public void SetTreatmentEnjoyVerify(DataGridView dgv)
+        {
+            dgv.Columns.Clear();
+            dgv.AutoGenerateColumns = false;
+
+            AddDGVColumn(dgv, "人员编号", "psn_no", 150);
+            AddDGVColumn(dgv, "待遇检查类型(基金项检查)", "trt_chk_type", 150);
+            AddDGVColumn(dgv, "基金支付类型", "fund_pay_type", 200);
+            AddDGVColumn(dgv, "是否享受", "trt_enjymnt_flag", 80);
+            AddDGVColumn(dgv, "开始时间", "begndate", 150);
+
+            AddDGVColumn(dgv, "结束时间", "enddate", 150);
+            AddDGVColumn(dgv, "待遇检查结果", "trt_chk_rslt", 200);
+            AddDGVColumn(dgv, "备注", "exp_content", 150);
+        }
+        #endregion
+        #region【设置人员慢性病用药查询标题】
+        public void SetMbMedicationHistory(DataGridView dgv)
+        {
+            dgv.Columns.Clear();
+            dgv.AutoGenerateColumns = false;
+
+            AddDGVColumn(dgv, "费用明细流水号", "feedetl_sn", 200);
+            AddDGVColumn(dgv, "处方号", "rx_drord_no", 150);
+            AddDGVColumn(dgv, "医院编码", "fixmedins_code", 100);
+            AddDGVColumn(dgv, "医院名称", "fixmedins_name", 150);
+            AddDGVColumn(dgv, "人员编号", "psn_no", 150);
+
+            AddDGVColumn(dgv, "医疗类别", "med_type", 150);
+            AddDGVColumn(dgv, "费用发生时间", "fee_ocur_time", 150);
+            AddDGVColumn(dgv, "数量", "cnt", 150);
+            AddDGVColumn(dgv, "单价", "pric", 150);
+            AddDGVColumn(dgv, "收费项目等级", "chrgitm_lv", 150);
+
+            AddDGVColumn(dgv, "医保目录编码", "hilist_code", 150);
+            AddDGVColumn(dgv, "医保目录名称", "hilist_name", 150);
+            AddDGVColumn(dgv, "目录类别", "list_type", 150);
+            AddDGVColumn(dgv, "医疗目录编码", "med_list_codg", 150);
+            AddDGVColumn(dgv, "医药机构目录编码", "medins_list_codg", 150);
+
+            AddDGVColumn(dgv, "医药机构目录名称", "medins_list_name", 150);
+            AddDGVColumn(dgv, "医疗收费项目类别", "med_chrgitm_type", 150);
+            AddDGVColumn(dgv, "商品名", "prodname", 150);
+            AddDGVColumn(dgv, "规格", "spec", 150);
+            AddDGVColumn(dgv, "剂型", "dosform_name", 150);
+
+            AddDGVColumn(dgv, "限制使用标志", "lmt_used_flag", 150);
+            AddDGVColumn(dgv, "医院制剂标志", "hosp_prep_flag", 150);
+            AddDGVColumn(dgv, "医院审批标志", "hosp_appr_flag", 150);
+            AddDGVColumn(dgv, "中药使用方式", "tcmdrug_used_way", 150);
+            AddDGVColumn(dgv, "生产地类别", "prodplac_type", 150);
+
+            AddDGVColumn(dgv, "基本药物标志", "bas_medn_flag", 150);
+            AddDGVColumn(dgv, "医保谈判药物标志", "hi_nego_drug_flag", 150);
+            AddDGVColumn(dgv, "儿童用药标志", "chld_medc_flag", 150);
+            AddDGVColumn(dgv, "外检标志", "etip_flag", 150);
+            AddDGVColumn(dgv, "外检医院编码", "etip_hosp_code", 150);
+
+            AddDGVColumn(dgv, "出院带药编码", "dscg_tkdrug_flag", 150);
+            AddDGVColumn(dgv, "目录特项标志", "list_sp_item_flag", 150);
+            AddDGVColumn(dgv, "生育费用标志", "matn_fee_flag", 150);
+        }
+        #endregion
+        #endregion
     }
 
 }

+ 648 - 0
Forms/AssistSelect.Designer.cs

@@ -0,0 +1,648 @@
+namespace CCunMI.Forms
+{
+    partial class AssistSelect
+    {
+        /// <summary>
+        /// Required designer variable.
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary>
+        /// Clean up any resources being used.
+        /// </summary>
+        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Windows Form Designer generated code
+
+        /// <summary>
+        /// Required method for Designer support - do not modify
+        /// the contents of this method with the code editor.
+        /// </summary>
+        private void InitializeComponent()
+        {
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
+            this.uiTabControl1 = new Sunny.UI.UITabControl();
+            this.tabPage1 = new System.Windows.Forms.TabPage();
+            this.uiDataGridView1 = new Sunny.UI.UIDataGridView();
+            this.uiPanel1 = new Sunny.UI.UIPanel();
+            this.uiTextBox1 = new Sunny.UI.UITextBox();
+            this.uiButton1 = new Sunny.UI.UIButton();
+            this.uiMbyyButton1 = new Sunny.UI.UIButton();
+            this.uiLabel2 = new Sunny.UI.UILabel();
+            this.uiDatetimePicker2 = new Sunny.UI.UIDatetimePicker();
+            this.uiDatetimePicker1 = new Sunny.UI.UIDatetimePicker();
+            this.uiLabel1 = new Sunny.UI.UILabel();
+            this.tabPage2 = new System.Windows.Forms.TabPage();
+            this.uiPanel2 = new Sunny.UI.UIPanel();
+            this.uiLabel3 = new Sunny.UI.UILabel();
+            this.uiTextBox2 = new Sunny.UI.UITextBox();
+            this.uiLabel4 = new Sunny.UI.UILabel();
+            this.uiLabel5 = new Sunny.UI.UILabel();
+            this.uiLabel6 = new Sunny.UI.UILabel();
+            this.uiDatetimePicker3 = new Sunny.UI.UIDatetimePicker();
+            this.uiDatetimePicker4 = new Sunny.UI.UIDatetimePicker();
+            this.uiLabel7 = new Sunny.UI.UILabel();
+            this.uiLabel8 = new Sunny.UI.UILabel();
+            this.uiComboBox1 = new Sunny.UI.UIComboBox();
+            this.uiComboBox2 = new Sunny.UI.UIComboBox();
+            this.uiLabel9 = new Sunny.UI.UILabel();
+            this.uiButton2 = new Sunny.UI.UIButton();
+            this.uiButton3 = new Sunny.UI.UIButton();
+            this.uiTextBox4 = new Sunny.UI.UITextBox();
+            this.uiComboBox3 = new Sunny.UI.UIComboBox();
+            this.DGrV2001 = new Sunny.UI.UIDataGridView();
+            this.uiTabControl1.SuspendLayout();
+            this.tabPage1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.uiDataGridView1)).BeginInit();
+            this.uiPanel1.SuspendLayout();
+            this.tabPage2.SuspendLayout();
+            this.uiPanel2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.DGrV2001)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // uiTabControl1
+            // 
+            this.uiTabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
+            | System.Windows.Forms.AnchorStyles.Left) 
+            | System.Windows.Forms.AnchorStyles.Right)));
+            this.uiTabControl1.Controls.Add(this.tabPage2);
+            this.uiTabControl1.Controls.Add(this.tabPage1);
+            this.uiTabControl1.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed;
+            this.uiTabControl1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiTabControl1.ItemSize = new System.Drawing.Size(150, 40);
+            this.uiTabControl1.Location = new System.Drawing.Point(12, 2);
+            this.uiTabControl1.MainPage = "";
+            this.uiTabControl1.Name = "uiTabControl1";
+            this.uiTabControl1.SelectedIndex = 0;
+            this.uiTabControl1.Size = new System.Drawing.Size(1421, 694);
+            this.uiTabControl1.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
+            this.uiTabControl1.TabIndex = 0;
+            this.uiTabControl1.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiTabControl1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // tabPage1
+            // 
+            this.tabPage1.Controls.Add(this.uiDataGridView1);
+            this.tabPage1.Controls.Add(this.uiPanel1);
+            this.tabPage1.Location = new System.Drawing.Point(0, 40);
+            this.tabPage1.Name = "tabPage1";
+            this.tabPage1.Size = new System.Drawing.Size(1421, 654);
+            this.tabPage1.TabIndex = 0;
+            this.tabPage1.Text = "人员慢病用药历史查询";
+            this.tabPage1.UseVisualStyleBackColor = true;
+            // 
+            // uiDataGridView1
+            // 
+            dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
+            this.uiDataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle6;
+            this.uiDataGridView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
+            | System.Windows.Forms.AnchorStyles.Left) 
+            | System.Windows.Forms.AnchorStyles.Right)));
+            this.uiDataGridView1.BackgroundColor = System.Drawing.Color.White;
+            this.uiDataGridView1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
+            dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle7.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle7.ForeColor = System.Drawing.Color.White;
+            dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.uiDataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7;
+            this.uiDataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+            dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Window;
+            dataGridViewCellStyle8.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.ControlText;
+            dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+            this.uiDataGridView1.DefaultCellStyle = dataGridViewCellStyle8;
+            this.uiDataGridView1.EnableHeadersVisualStyles = false;
+            this.uiDataGridView1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiDataGridView1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            this.uiDataGridView1.Location = new System.Drawing.Point(323, 14);
+            this.uiDataGridView1.Name = "uiDataGridView1";
+            dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle9.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle9.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle9.SelectionForeColor = System.Drawing.Color.White;
+            dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.uiDataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle9;
+            dataGridViewCellStyle10.BackColor = System.Drawing.Color.White;
+            dataGridViewCellStyle10.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiDataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle10;
+            this.uiDataGridView1.RowTemplate.Height = 23;
+            this.uiDataGridView1.SelectedIndex = -1;
+            this.uiDataGridView1.Size = new System.Drawing.Size(1095, 635);
+            this.uiDataGridView1.StripeOddColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
+            this.uiDataGridView1.TabIndex = 1;
+            this.uiDataGridView1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiPanel1
+            // 
+            this.uiPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
+            | System.Windows.Forms.AnchorStyles.Left) 
+            | System.Windows.Forms.AnchorStyles.Right)));
+            this.uiPanel1.Controls.Add(this.uiTextBox1);
+            this.uiPanel1.Controls.Add(this.uiButton1);
+            this.uiPanel1.Controls.Add(this.uiMbyyButton1);
+            this.uiPanel1.Controls.Add(this.uiLabel2);
+            this.uiPanel1.Controls.Add(this.uiDatetimePicker2);
+            this.uiPanel1.Controls.Add(this.uiDatetimePicker1);
+            this.uiPanel1.Controls.Add(this.uiLabel1);
+            this.uiPanel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiPanel1.Location = new System.Drawing.Point(4, 5);
+            this.uiPanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiPanel1.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiPanel1.Name = "uiPanel1";
+            this.uiPanel1.Size = new System.Drawing.Size(312, 644);
+            this.uiPanel1.TabIndex = 0;
+            this.uiPanel1.Text = null;
+            this.uiPanel1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
+            this.uiPanel1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            this.uiPanel1.Click += new System.EventHandler(this.uiPanel1_Click);
+            // 
+            // uiTextBox1
+            // 
+            this.uiTextBox1.Cursor = System.Windows.Forms.Cursors.IBeam;
+            this.uiTextBox1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiTextBox1.Location = new System.Drawing.Point(14, 98);
+            this.uiTextBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiTextBox1.MinimumSize = new System.Drawing.Size(1, 16);
+            this.uiTextBox1.Name = "uiTextBox1";
+            this.uiTextBox1.ShowText = false;
+            this.uiTextBox1.Size = new System.Drawing.Size(230, 29);
+            this.uiTextBox1.TabIndex = 7;
+            this.uiTextBox1.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiTextBox1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiButton1
+            // 
+            this.uiButton1.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.uiButton1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton1.Location = new System.Drawing.Point(38, 450);
+            this.uiButton1.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiButton1.Name = "uiButton1";
+            this.uiButton1.Size = new System.Drawing.Size(156, 35);
+            this.uiButton1.TabIndex = 6;
+            this.uiButton1.Text = "医保读卡";
+            this.uiButton1.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            this.uiButton1.Click += new System.EventHandler(this.uiButton1_Click);
+            // 
+            // uiMbyyButton1
+            // 
+            this.uiMbyyButton1.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.uiMbyyButton1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiMbyyButton1.Location = new System.Drawing.Point(38, 365);
+            this.uiMbyyButton1.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiMbyyButton1.Name = "uiMbyyButton1";
+            this.uiMbyyButton1.Size = new System.Drawing.Size(156, 36);
+            this.uiMbyyButton1.TabIndex = 5;
+            this.uiMbyyButton1.Text = "查   询";
+            this.uiMbyyButton1.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiMbyyButton1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            this.uiMbyyButton1.Click += new System.EventHandler(this.uiMbyyButton1_Click);
+            // 
+            // uiLabel2
+            // 
+            this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiLabel2.Location = new System.Drawing.Point(10, 150);
+            this.uiLabel2.Name = "uiLabel2";
+            this.uiLabel2.Size = new System.Drawing.Size(197, 23);
+            this.uiLabel2.TabIndex = 4;
+            this.uiLabel2.Text = "开始-截止时间范围";
+            this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiLabel2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiDatetimePicker2
+            // 
+            this.uiDatetimePicker2.FillColor = System.Drawing.Color.White;
+            this.uiDatetimePicker2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiDatetimePicker2.Location = new System.Drawing.Point(7, 254);
+            this.uiDatetimePicker2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiDatetimePicker2.MaxLength = 19;
+            this.uiDatetimePicker2.MinimumSize = new System.Drawing.Size(63, 0);
+            this.uiDatetimePicker2.Name = "uiDatetimePicker2";
+            this.uiDatetimePicker2.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
+            this.uiDatetimePicker2.Size = new System.Drawing.Size(200, 29);
+            this.uiDatetimePicker2.SymbolDropDown = 61555;
+            this.uiDatetimePicker2.SymbolNormal = 61555;
+            this.uiDatetimePicker2.TabIndex = 3;
+            this.uiDatetimePicker2.Text = "2023-09-06 17:16:27";
+            this.uiDatetimePicker2.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiDatetimePicker2.Value = new System.DateTime(2023, 9, 6, 17, 16, 27, 131);
+            this.uiDatetimePicker2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiDatetimePicker1
+            // 
+            this.uiDatetimePicker1.FillColor = System.Drawing.Color.White;
+            this.uiDatetimePicker1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiDatetimePicker1.Location = new System.Drawing.Point(7, 190);
+            this.uiDatetimePicker1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiDatetimePicker1.MaxLength = 19;
+            this.uiDatetimePicker1.MinimumSize = new System.Drawing.Size(63, 0);
+            this.uiDatetimePicker1.Name = "uiDatetimePicker1";
+            this.uiDatetimePicker1.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
+            this.uiDatetimePicker1.Size = new System.Drawing.Size(200, 29);
+            this.uiDatetimePicker1.SymbolDropDown = 61555;
+            this.uiDatetimePicker1.SymbolNormal = 61555;
+            this.uiDatetimePicker1.TabIndex = 2;
+            this.uiDatetimePicker1.Text = "2023-09-06 17:16:15";
+            this.uiDatetimePicker1.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiDatetimePicker1.Value = new System.DateTime(2023, 9, 6, 17, 16, 15, 0);
+            this.uiDatetimePicker1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiLabel1
+            // 
+            this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiLabel1.Location = new System.Drawing.Point(3, 47);
+            this.uiLabel1.Name = "uiLabel1";
+            this.uiLabel1.Size = new System.Drawing.Size(107, 29);
+            this.uiLabel1.TabIndex = 0;
+            this.uiLabel1.Text = "医保人员编号";
+            this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiLabel1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // tabPage2
+            // 
+            this.tabPage2.Controls.Add(this.DGrV2001);
+            this.tabPage2.Controls.Add(this.uiPanel2);
+            this.tabPage2.Location = new System.Drawing.Point(0, 40);
+            this.tabPage2.Name = "tabPage2";
+            this.tabPage2.Size = new System.Drawing.Size(1421, 654);
+            this.tabPage2.TabIndex = 1;
+            this.tabPage2.Text = "人员待遇检查";
+            this.tabPage2.UseVisualStyleBackColor = true;
+            // 
+            // uiPanel2
+            // 
+            this.uiPanel2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
+            | System.Windows.Forms.AnchorStyles.Left) 
+            | System.Windows.Forms.AnchorStyles.Right)));
+            this.uiPanel2.Controls.Add(this.uiComboBox3);
+            this.uiPanel2.Controls.Add(this.uiTextBox4);
+            this.uiPanel2.Controls.Add(this.uiButton3);
+            this.uiPanel2.Controls.Add(this.uiButton2);
+            this.uiPanel2.Controls.Add(this.uiLabel9);
+            this.uiPanel2.Controls.Add(this.uiComboBox2);
+            this.uiPanel2.Controls.Add(this.uiComboBox1);
+            this.uiPanel2.Controls.Add(this.uiLabel8);
+            this.uiPanel2.Controls.Add(this.uiLabel7);
+            this.uiPanel2.Controls.Add(this.uiDatetimePicker4);
+            this.uiPanel2.Controls.Add(this.uiDatetimePicker3);
+            this.uiPanel2.Controls.Add(this.uiLabel6);
+            this.uiPanel2.Controls.Add(this.uiLabel5);
+            this.uiPanel2.Controls.Add(this.uiLabel4);
+            this.uiPanel2.Controls.Add(this.uiTextBox2);
+            this.uiPanel2.Controls.Add(this.uiLabel3);
+            this.uiPanel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiPanel2.Location = new System.Drawing.Point(4, 0);
+            this.uiPanel2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiPanel2.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiPanel2.Name = "uiPanel2";
+            this.uiPanel2.Size = new System.Drawing.Size(346, 649);
+            this.uiPanel2.TabIndex = 0;
+            this.uiPanel2.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
+            this.uiPanel2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiLabel3
+            // 
+            this.uiLabel3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiLabel3.Location = new System.Drawing.Point(3, 30);
+            this.uiLabel3.Name = "uiLabel3";
+            this.uiLabel3.Size = new System.Drawing.Size(100, 23);
+            this.uiLabel3.TabIndex = 0;
+            this.uiLabel3.Text = "人员编号:";
+            this.uiLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiLabel3.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiTextBox2
+            // 
+            this.uiTextBox2.Cursor = System.Windows.Forms.Cursors.IBeam;
+            this.uiTextBox2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiTextBox2.Location = new System.Drawing.Point(106, 30);
+            this.uiTextBox2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiTextBox2.MinimumSize = new System.Drawing.Size(1, 16);
+            this.uiTextBox2.Name = "uiTextBox2";
+            this.uiTextBox2.ShowText = false;
+            this.uiTextBox2.Size = new System.Drawing.Size(210, 29);
+            this.uiTextBox2.TabIndex = 1;
+            this.uiTextBox2.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiTextBox2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiLabel4
+            // 
+            this.uiLabel4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiLabel4.Location = new System.Drawing.Point(3, 136);
+            this.uiLabel4.Name = "uiLabel4";
+            this.uiLabel4.Size = new System.Drawing.Size(100, 23);
+            this.uiLabel4.TabIndex = 2;
+            this.uiLabel4.Text = "医疗类别:";
+            this.uiLabel4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiLabel4.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiLabel5
+            // 
+            this.uiLabel5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiLabel5.Location = new System.Drawing.Point(-1, 178);
+            this.uiLabel5.Name = "uiLabel5";
+            this.uiLabel5.Size = new System.Drawing.Size(100, 23);
+            this.uiLabel5.TabIndex = 4;
+            this.uiLabel5.Text = "开始时间:";
+            this.uiLabel5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiLabel5.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiLabel6
+            // 
+            this.uiLabel6.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiLabel6.Location = new System.Drawing.Point(3, 238);
+            this.uiLabel6.Name = "uiLabel6";
+            this.uiLabel6.Size = new System.Drawing.Size(100, 23);
+            this.uiLabel6.TabIndex = 5;
+            this.uiLabel6.Text = "截止时间:";
+            this.uiLabel6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiLabel6.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiDatetimePicker3
+            // 
+            this.uiDatetimePicker3.FillColor = System.Drawing.Color.White;
+            this.uiDatetimePicker3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiDatetimePicker3.Location = new System.Drawing.Point(106, 178);
+            this.uiDatetimePicker3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiDatetimePicker3.MaxLength = 19;
+            this.uiDatetimePicker3.MinimumSize = new System.Drawing.Size(63, 0);
+            this.uiDatetimePicker3.Name = "uiDatetimePicker3";
+            this.uiDatetimePicker3.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
+            this.uiDatetimePicker3.Size = new System.Drawing.Size(210, 29);
+            this.uiDatetimePicker3.SymbolDropDown = 61555;
+            this.uiDatetimePicker3.SymbolNormal = 61555;
+            this.uiDatetimePicker3.TabIndex = 6;
+            this.uiDatetimePicker3.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiDatetimePicker3.Value = new System.DateTime(2023, 9, 15, 1, 15, 30, 171);
+            this.uiDatetimePicker3.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiDatetimePicker4
+            // 
+            this.uiDatetimePicker4.FillColor = System.Drawing.Color.White;
+            this.uiDatetimePicker4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiDatetimePicker4.Location = new System.Drawing.Point(106, 238);
+            this.uiDatetimePicker4.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiDatetimePicker4.MaxLength = 19;
+            this.uiDatetimePicker4.MinimumSize = new System.Drawing.Size(63, 0);
+            this.uiDatetimePicker4.Name = "uiDatetimePicker4";
+            this.uiDatetimePicker4.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
+            this.uiDatetimePicker4.Size = new System.Drawing.Size(210, 23);
+            this.uiDatetimePicker4.SymbolDropDown = 61555;
+            this.uiDatetimePicker4.SymbolNormal = 61555;
+            this.uiDatetimePicker4.TabIndex = 7;
+            this.uiDatetimePicker4.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiDatetimePicker4.Value = new System.DateTime(2023, 9, 15, 1, 15, 39, 777);
+            this.uiDatetimePicker4.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiLabel7
+            // 
+            this.uiLabel7.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiLabel7.Location = new System.Drawing.Point(3, 297);
+            this.uiLabel7.Name = "uiLabel7";
+            this.uiLabel7.Size = new System.Drawing.Size(100, 23);
+            this.uiLabel7.TabIndex = 8;
+            this.uiLabel7.Text = "病     种:";
+            this.uiLabel7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiLabel7.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiLabel8
+            // 
+            this.uiLabel8.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiLabel8.Location = new System.Drawing.Point(3, 353);
+            this.uiLabel8.Name = "uiLabel8";
+            this.uiLabel8.Size = new System.Drawing.Size(100, 23);
+            this.uiLabel8.TabIndex = 9;
+            this.uiLabel8.Text = "手术操作:";
+            this.uiLabel8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiLabel8.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiComboBox1
+            // 
+            this.uiComboBox1.DataSource = null;
+            this.uiComboBox1.FillColor = System.Drawing.Color.White;
+            this.uiComboBox1.FilterMaxCount = 50;
+            this.uiComboBox1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiComboBox1.Location = new System.Drawing.Point(106, 291);
+            this.uiComboBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiComboBox1.MinimumSize = new System.Drawing.Size(63, 0);
+            this.uiComboBox1.Name = "uiComboBox1";
+            this.uiComboBox1.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
+            this.uiComboBox1.Size = new System.Drawing.Size(210, 29);
+            this.uiComboBox1.TabIndex = 10;
+            this.uiComboBox1.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiComboBox1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiComboBox2
+            // 
+            this.uiComboBox2.DataSource = null;
+            this.uiComboBox2.FillColor = System.Drawing.Color.White;
+            this.uiComboBox2.FilterMaxCount = 50;
+            this.uiComboBox2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiComboBox2.Location = new System.Drawing.Point(106, 353);
+            this.uiComboBox2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiComboBox2.MinimumSize = new System.Drawing.Size(63, 0);
+            this.uiComboBox2.Name = "uiComboBox2";
+            this.uiComboBox2.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
+            this.uiComboBox2.Size = new System.Drawing.Size(210, 29);
+            this.uiComboBox2.TabIndex = 11;
+            this.uiComboBox2.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiComboBox2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiLabel9
+            // 
+            this.uiLabel9.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiLabel9.Location = new System.Drawing.Point(3, 81);
+            this.uiLabel9.Name = "uiLabel9";
+            this.uiLabel9.Size = new System.Drawing.Size(100, 23);
+            this.uiLabel9.TabIndex = 12;
+            this.uiLabel9.Text = "险种类型:";
+            this.uiLabel9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiLabel9.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiButton2
+            // 
+            this.uiButton2.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.uiButton2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton2.Location = new System.Drawing.Point(71, 443);
+            this.uiButton2.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiButton2.Name = "uiButton2";
+            this.uiButton2.Size = new System.Drawing.Size(164, 35);
+            this.uiButton2.TabIndex = 14;
+            this.uiButton2.Text = "人员待遇检查";
+            this.uiButton2.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            this.uiButton2.Click += new System.EventHandler(this.uiButton2_Click);
+            // 
+            // uiButton3
+            // 
+            this.uiButton3.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.uiButton3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton3.Location = new System.Drawing.Point(71, 511);
+            this.uiButton3.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiButton3.Name = "uiButton3";
+            this.uiButton3.Size = new System.Drawing.Size(164, 36);
+            this.uiButton3.TabIndex = 15;
+            this.uiButton3.Text = "医保读卡";
+            this.uiButton3.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton3.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            this.uiButton3.Click += new System.EventHandler(this.uiButton3_Click);
+            // 
+            // uiTextBox4
+            // 
+            this.uiTextBox4.Cursor = System.Windows.Forms.Cursors.IBeam;
+            this.uiTextBox4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiTextBox4.Location = new System.Drawing.Point(106, 82);
+            this.uiTextBox4.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiTextBox4.MinimumSize = new System.Drawing.Size(1, 16);
+            this.uiTextBox4.Name = "uiTextBox4";
+            this.uiTextBox4.ShowText = false;
+            this.uiTextBox4.Size = new System.Drawing.Size(210, 29);
+            this.uiTextBox4.TabIndex = 16;
+            this.uiTextBox4.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiTextBox4.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // uiComboBox3
+            // 
+            this.uiComboBox3.DataSource = null;
+            this.uiComboBox3.FillColor = System.Drawing.Color.White;
+            this.uiComboBox3.FilterMaxCount = 50;
+            this.uiComboBox3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiComboBox3.Items.AddRange(new object[] {
+            "普通门诊",
+            "普通住院",
+            "单病种住院"});
+            this.uiComboBox3.Location = new System.Drawing.Point(106, 136);
+            this.uiComboBox3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiComboBox3.MinimumSize = new System.Drawing.Size(63, 0);
+            this.uiComboBox3.Name = "uiComboBox3";
+            this.uiComboBox3.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
+            this.uiComboBox3.Size = new System.Drawing.Size(210, 29);
+            this.uiComboBox3.TabIndex = 17;
+            this.uiComboBox3.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiComboBox3.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // DGrV2001
+            // 
+            dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
+            this.DGrV2001.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
+            this.DGrV2001.BackgroundColor = System.Drawing.Color.White;
+            this.DGrV2001.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
+            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White;
+            dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.DGrV2001.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
+            this.DGrV2001.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Window;
+            dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.ControlText;
+            dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+            this.DGrV2001.DefaultCellStyle = dataGridViewCellStyle3;
+            this.DGrV2001.EnableHeadersVisualStyles = false;
+            this.DGrV2001.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.DGrV2001.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            this.DGrV2001.Location = new System.Drawing.Point(347, 0);
+            this.DGrV2001.Name = "DGrV2001";
+            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+            dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
+            dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.White;
+            dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.DGrV2001.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
+            dataGridViewCellStyle5.BackColor = System.Drawing.Color.White;
+            dataGridViewCellStyle5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.DGrV2001.RowsDefaultCellStyle = dataGridViewCellStyle5;
+            this.DGrV2001.RowTemplate.Height = 23;
+            this.DGrV2001.SelectedIndex = -1;
+            this.DGrV2001.Size = new System.Drawing.Size(1071, 649);
+            this.DGrV2001.StripeOddColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
+            this.DGrV2001.TabIndex = 1;
+            this.DGrV2001.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            // 
+            // AssistSelect
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.ClientSize = new System.Drawing.Size(1432, 694);
+            this.Controls.Add(this.uiTabControl1);
+            this.Name = "AssistSelect";
+            this.Text = "辅助查询";
+            this.Load += new System.EventHandler(this.AssistSelect_Load);
+            this.uiTabControl1.ResumeLayout(false);
+            this.tabPage1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.uiDataGridView1)).EndInit();
+            this.uiPanel1.ResumeLayout(false);
+            this.tabPage2.ResumeLayout(false);
+            this.uiPanel2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.DGrV2001)).EndInit();
+            this.ResumeLayout(false);
+
+        }
+
+        #endregion
+
+        private Sunny.UI.UITabControl uiTabControl1;
+        private System.Windows.Forms.TabPage tabPage1;
+        private Sunny.UI.UIPanel uiPanel1;
+        private System.Windows.Forms.TabPage tabPage2;
+        private Sunny.UI.UIButton uiButton1;
+        private Sunny.UI.UIButton uiMbyyButton1;
+        private Sunny.UI.UILabel uiLabel2;
+        private Sunny.UI.UIDatetimePicker uiDatetimePicker2;
+        private Sunny.UI.UIDatetimePicker uiDatetimePicker1;
+        private Sunny.UI.UILabel uiLabel1;
+        private Sunny.UI.UIDataGridView uiDataGridView1;
+        private Sunny.UI.UITextBox uiTextBox1;
+        private Sunny.UI.UIPanel uiPanel2;
+        private Sunny.UI.UILabel uiLabel8;
+        private Sunny.UI.UILabel uiLabel7;
+        private Sunny.UI.UIDatetimePicker uiDatetimePicker4;
+        private Sunny.UI.UIDatetimePicker uiDatetimePicker3;
+        private Sunny.UI.UILabel uiLabel6;
+        private Sunny.UI.UILabel uiLabel5;
+        private Sunny.UI.UILabel uiLabel4;
+        private Sunny.UI.UITextBox uiTextBox2;
+        private Sunny.UI.UILabel uiLabel3;
+        private Sunny.UI.UIComboBox uiComboBox2;
+        private Sunny.UI.UIComboBox uiComboBox1;
+        private Sunny.UI.UIButton uiButton3;
+        private Sunny.UI.UIButton uiButton2;
+        private Sunny.UI.UILabel uiLabel9;
+        private Sunny.UI.UITextBox uiTextBox4;
+        private Sunny.UI.UIComboBox uiComboBox3;
+        private Sunny.UI.UIDataGridView DGrV2001;
+    }
+}

+ 203 - 0
Forms/AssistSelect.cs

@@ -0,0 +1,203 @@
+using Newtonsoft.Json.Linq;
+using PTMedicalInsurance.Business;
+using PTMedicalInsurance.Helper;
+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;
+using PTMedicalInsurance.Variables;
+using PTMedicalInsurance.FormSetter;
+using Sunny.UI;
+using FastReport.DevComponents.Editors;
+using FastReport.Utils;
+
+namespace CCunMI.Forms
+{
+    public partial class AssistSelect : Form
+    {
+        public AssistSelect()
+        {
+            InitializeComponent();
+        }
+        HisMainBusiness hBus = new HisMainBusiness();
+        private InvokeHelper invoker = new InvokeHelper();
+        InsuServices rIS= new InsuServices();
+        GridViewSetter grdSetter = new GridViewSetter();
+        private void AssistSelect_Load(object sender, EventArgs e)
+        {
+            uiDatetimePicker1.Text = DateTime.Now.ToString("yyyy-MM-01 00:00:00");
+            uiDatetimePicker2.Value = DateTime.Now.AddDays(1 - DateTime.Now.Day).AddMonths(1).AddDays(-1);
+
+            //ComboxSetter cbxSetter = new ComboxSetter();            
+            //cbxSetter.setCbxDictionaryDataSource(Global.inf.interfaceDr.ToString(), "insutype", uiComboBox3);
+
+            uiDatetimePicker3.Text = DateTime.Now.ToString("yyyy-MM-01 00:00:00");
+            uiDatetimePicker4.Text = DateTime.Now.AddDays(1).ToString("yyyy-MM-dd 23:59:59");
+        }
+        private void uiButton1_Click(object sender, EventArgs e)
+        {
+            string outParam;
+            //打开读卡窗口,操作员选择读卡类型后进行读卡器读卡,再进行1101获取参保信息
+            if (hBus.readCard(out outParam) != 0)
+            {
+                MessageBox.Show(JsonHelper.setExceptionJson(-100, "读卡失败!", outParam).ToString());
+            }
+            else
+            {
+                //展示患者信息界面
+                if (hBus.showPatInfo(outParam, out outParam) != 0)
+                {
+                    MessageBox.Show(JsonHelper.setIrisReturnValue(0, "展示患者信息失败", JObject.Parse(outParam)).ToString());
+                }
+                else
+                {
+
+                }
+            }
+            uiTextBox1.Text = Global.pat.psn_no;
+        }
+
+        private void uiMbyyButton1_Click(object sender, EventArgs e)
+        {            
+            grdSetter.SetMbMedicationHistory(uiDataGridView1);
+            JObject jo5205 = new JObject();
+            jo5205.Add("psn_no", uiTextBox1.Text);//必填
+            jo5205.Add("begntime", uiDatetimePicker1.Text);//yyyy-MM-dd HH:mm:ss必填
+            jo5205.Add("endtime", uiDatetimePicker2.Text);//yyyy-MM-dd HH:mm:ss
+            JObject data5205 = new JObject();
+            data5205.Add("data", jo5205);
+            JObject out5205 = invoker.invokeCenterService("5205", JObject.Parse(JsonHelper.setCenterInpar("5205", data5205)));
+            DataTable dt = (DataTable)out5205["output"]["feedetail"].ToObject(typeof(DataTable));
+            uiDataGridView1.DataSource = dt;
+        }
+
+        private void uiPanel1_Click(object sender, EventArgs e)
+        {
+
+        }
+
+        private void uiButton2_Click(object sender, EventArgs e)
+        {
+            string Yllb = "";
+            if (uiComboBox3.SelectedIndex == 0)
+            {
+                Yllb = "11";
+            }else if (uiComboBox3.SelectedIndex == 1)
+            {
+                Yllb = "21";
+            }
+            else if (uiComboBox3.SelectedIndex == 2)
+            {
+                Yllb = "26";
+            }
+            //人员待遇享受检查
+            string errMsg = "";
+            JObject joData2001 = new JObject();
+            joData2001.Add("psn_no", uiTextBox2.Text);
+            joData2001.Add("insutype", uiTextBox4.Text);
+            joData2001.Add("fixmedins_code", Global.inf.hospitalNO);
+            joData2001.Add("med_type", Yllb);
+            joData2001.Add("begntime", uiDatetimePicker3.Text);
+            joData2001.Add("endtime", uiDatetimePicker4.Text);
+            joData2001.Add("dise_codg", "");
+            joData2001.Add("dise_name", "");
+            joData2001.Add("oprn_oprt_code", "");
+            joData2001.Add("oprn_oprt_name", "");
+            joData2001.Add("matn_type", "");
+            joData2001.Add("birctrl_type", "");
+
+            JObject joInput = new JObject();
+            joInput.Add("data", joData2001);
+            InvokeHelper invoker = new InvokeHelper();
+            JObject joRtn2001 = invoker.invokeCenterService("2001", JsonHelper.setCenterInpar("2001", joInput));
+
+            JObject OutIDInfo=new JObject();
+            JArray joDic;
+            if (JsonHelper.parseCenterRtnValue(joRtn2001, out errMsg) != 0)
+            {
+                MessageBox.Show("人员待遇享受检查调用失败,中心返回错误信息:" + errMsg);
+              
+            }
+            else
+            {
+                JArray joTrtinfo = JArray.Parse(JsonHelper.getDestValue(joRtn2001, "output.trtinfo"));
+               // MessageBox.Show("获取到返回值数组" + joTrtinfo.ToString());
+               // MessageBox.Show("数组数量" + joTrtinfo.Count);
+                if (joTrtinfo.Count > 0)
+                {
+                    for(int i=0;  i<joTrtinfo.Count; i++)
+                    {
+
+
+
+                        OutIDInfo = rIS.getSpecDictionaryValue(Global.inf.interfaceDr.ToString(), "fund_pay_type", joRtn2001["output"]["trtinfo"][i]["fund_pay_type"].ToString());
+                        joDic = JArray.Parse(JsonHelper.getDestValue(OutIDInfo, "result.data"));
+                        if (joDic.Count > 1)
+                        {
+                            joRtn2001["output"]["trtinfo"][i]["fund_pay_type"] = joDic[1]["name"].ToString();
+                        }
+                    }
+                }
+                //MessageBox.Show("转换后数据" + joRtn2001["output"]["trtinfo"].ToString());
+                DataTable dt = (DataTable)joRtn2001["output"]["trtinfo"].ToObject(typeof(DataTable));
+                grdSetter.SetTreatmentEnjoyVerify(DGrV2001);
+                DGrV2001.DataSource= dt;
+
+
+
+            }
+        }
+
+        private void uiButton3_Click(object sender, EventArgs e)
+        {
+            string outParam;
+            //打开读卡窗口,操作员选择读卡类型后进行读卡器读卡,再进行1101获取参保信息
+            if (hBus.readCard(out outParam) != 0)
+            {
+                MessageBox.Show(JsonHelper.setExceptionJson(-100, "读卡失败!", outParam).ToString());
+            }
+            else
+            {
+                //展示患者信息界面
+                if (hBus.showPatInfo(outParam, out outParam) != 0)
+                {
+                    MessageBox.Show(JsonHelper.setIrisReturnValue(0, "展示患者信息失败", JObject.Parse(outParam)).ToString());
+                }
+                else
+                {
+                    JObject joPatInfo = JObject.Parse(outParam);
+                    Global.pat.insuType = JsonHelper.getDestValue(joPatInfo, "selectedInsuInfo.insutype");
+                    Global.pat.psn_no = JsonHelper.getDestValue(joPatInfo, "output.baseinfo.psn_no");
+                    uiTextBox2.Text = Global.pat.psn_no;
+                    uiTextBox4.Text = Global.pat.insuType;
+                }
+            }   
+        }
+        private DataTable GetDBLKComboxTable(string sqlStr)
+        {
+            InvokeHelper invoker = new InvokeHelper();
+            dynamic joInparm = new JObject();
+
+            dynamic joTmp = new JObject();
+            joTmp.sqlStr = sqlStr;
+            JArray jaParams = new JArray();
+            jaParams.Add(joTmp);
+            joInparm.Add("params", JArray.FromObject(jaParams));
+            joInparm.code = "09010014";
+            string inParam = joInparm.ToString();
+            JObject joRtn = invoker.invokeInsuService(inParam, "获取下拉框消息");
+            //dynamic jsonRtn = JsonConvert.DeserializeObject(strRtn);
+            DataTable dt = (DataTable)joRtn["result"].ToObject(typeof(DataTable));
+            //dt.Columns[0].ColumnName = "编码";
+            //dt.Columns[1].ColumnName = "名称";
+            //dt.Columns[2].ColumnName = "拼音查找码";
+            return dt;
+        }
+    }
+}
+ 

+ 120 - 0
Forms/AssistSelect.resx

@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+</root>

+ 22 - 22
Forms/Clearing.Designer.cs

@@ -308,7 +308,7 @@
             this.uiTabControl1.MainPage = "";
             this.uiTabControl1.Name = "uiTabControl1";
             this.uiTabControl1.SelectedIndex = 0;
-            this.uiTabControl1.Size = new System.Drawing.Size(1282, 649);
+            this.uiTabControl1.Size = new System.Drawing.Size(1282, 693);
             this.uiTabControl1.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
             this.uiTabControl1.TabIndex = 0;
             this.uiTabControl1.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -320,7 +320,7 @@
             this.tabPage1.Controls.Add(this.uiPanel1);
             this.tabPage1.Location = new System.Drawing.Point(0, 30);
             this.tabPage1.Name = "tabPage1";
-            this.tabPage1.Size = new System.Drawing.Size(1282, 619);
+            this.tabPage1.Size = new System.Drawing.Size(1282, 663);
             this.tabPage1.TabIndex = 0;
             this.tabPage1.Text = "本地对账";
             this.tabPage1.UseVisualStyleBackColor = true;
@@ -335,7 +335,7 @@
             this.uiPanel2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
             this.uiPanel2.MinimumSize = new System.Drawing.Size(1, 1);
             this.uiPanel2.Name = "uiPanel2";
-            this.uiPanel2.Size = new System.Drawing.Size(1054, 619);
+            this.uiPanel2.Size = new System.Drawing.Size(1054, 663);
             this.uiPanel2.TabIndex = 3;
             this.uiPanel2.Text = null;
             this.uiPanel2.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
@@ -354,7 +354,7 @@
             this.uiTabControl3.MainPage = "";
             this.uiTabControl3.Name = "uiTabControl3";
             this.uiTabControl3.SelectedIndex = 0;
-            this.uiTabControl3.Size = new System.Drawing.Size(1054, 195);
+            this.uiTabControl3.Size = new System.Drawing.Size(1054, 239);
             this.uiTabControl3.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
             this.uiTabControl3.TabIndex = 1;
             this.uiTabControl3.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -365,7 +365,7 @@
             this.tabPage6.Controls.Add(this.dgvHisSettlRec);
             this.tabPage6.Location = new System.Drawing.Point(0, 25);
             this.tabPage6.Name = "tabPage6";
-            this.tabPage6.Size = new System.Drawing.Size(1054, 170);
+            this.tabPage6.Size = new System.Drawing.Size(1054, 214);
             this.tabPage6.TabIndex = 0;
             this.tabPage6.Text = "HIS结算记录";
             this.tabPage6.UseVisualStyleBackColor = true;
@@ -415,7 +415,7 @@
             this.dgvHisSettlRec.RowsDefaultCellStyle = dataGridViewCellStyle5;
             this.dgvHisSettlRec.RowTemplate.Height = 23;
             this.dgvHisSettlRec.SelectedIndex = -1;
-            this.dgvHisSettlRec.Size = new System.Drawing.Size(1054, 170);
+            this.dgvHisSettlRec.Size = new System.Drawing.Size(1054, 214);
             this.dgvHisSettlRec.StripeOddColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
             this.dgvHisSettlRec.TabIndex = 1;
             this.dgvHisSettlRec.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
@@ -774,7 +774,7 @@
             this.uiPanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
             this.uiPanel1.MinimumSize = new System.Drawing.Size(1, 1);
             this.uiPanel1.Name = "uiPanel1";
-            this.uiPanel1.Size = new System.Drawing.Size(228, 619);
+            this.uiPanel1.Size = new System.Drawing.Size(228, 663);
             this.uiPanel1.TabIndex = 2;
             this.uiPanel1.Text = null;
             this.uiPanel1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
@@ -785,7 +785,7 @@
             this.tbTmp.Dock = System.Windows.Forms.DockStyle.Top;
             this.tbTmp.Location = new System.Drawing.Point(0, 493);
             this.tbTmp.Name = "tbTmp";
-            this.tbTmp.Size = new System.Drawing.Size(228, 146);
+            this.tbTmp.Size = new System.Drawing.Size(228, 49);
             this.tbTmp.TabIndex = 31;
             this.tbTmp.Text = "E:\\GHSF\\SCYBDownLoad\\result.txt";
             // 
@@ -1007,7 +1007,7 @@
             this.uiGroupBox1.Padding = new System.Windows.Forms.Padding(0, 10, 0, 0);
             this.uiGroupBox1.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
             this.uiGroupBox1.RectSize = 2;
-            this.uiGroupBox1.Size = new System.Drawing.Size(228, 507);
+            this.uiGroupBox1.Size = new System.Drawing.Size(228, 551);
             this.uiGroupBox1.TabIndex = 22;
             this.uiGroupBox1.Text = null;
             this.uiGroupBox1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1020,7 +1020,7 @@
             this.uiGroupBox10.Controls.Add(this.Btn_Query);
             this.uiGroupBox10.Dock = System.Windows.Forms.DockStyle.Bottom;
             this.uiGroupBox10.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.uiGroupBox10.Location = new System.Drawing.Point(0, 394);
+            this.uiGroupBox10.Location = new System.Drawing.Point(0, 438);
             this.uiGroupBox10.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
             this.uiGroupBox10.MinimumSize = new System.Drawing.Size(1, 1);
             this.uiGroupBox10.Name = "uiGroupBox10";
@@ -1086,7 +1086,7 @@
             this.btnQuerySettlSummary.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
             this.btnQuerySettlSummary.Cursor = System.Windows.Forms.Cursors.Hand;
             this.btnQuerySettlSummary.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnQuerySettlSummary.Location = new System.Drawing.Point(34, 572);
+            this.btnQuerySettlSummary.Location = new System.Drawing.Point(34, 616);
             this.btnQuerySettlSummary.MinimumSize = new System.Drawing.Size(1, 1);
             this.btnQuerySettlSummary.Name = "btnQuerySettlSummary";
             this.btnQuerySettlSummary.Size = new System.Drawing.Size(168, 27);
@@ -1100,7 +1100,7 @@
             this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
             this.btnClose.Cursor = System.Windows.Forms.Cursors.Hand;
             this.btnClose.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnClose.Location = new System.Drawing.Point(34, 681);
+            this.btnClose.Location = new System.Drawing.Point(34, 725);
             this.btnClose.MinimumSize = new System.Drawing.Size(1, 1);
             this.btnClose.Name = "btnClose";
             this.btnClose.Size = new System.Drawing.Size(168, 27);
@@ -1115,7 +1115,7 @@
             this.btnBatchCheck.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
             this.btnBatchCheck.Cursor = System.Windows.Forms.Cursors.Hand;
             this.btnBatchCheck.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.btnBatchCheck.Location = new System.Drawing.Point(34, 632);
+            this.btnBatchCheck.Location = new System.Drawing.Point(34, 676);
             this.btnBatchCheck.MinimumSize = new System.Drawing.Size(1, 1);
             this.btnBatchCheck.Name = "btnBatchCheck";
             this.btnBatchCheck.Size = new System.Drawing.Size(168, 27);
@@ -1692,7 +1692,7 @@
             this.tabPage2.Controls.Add(this.uiPanel3);
             this.tabPage2.Location = new System.Drawing.Point(0, 30);
             this.tabPage2.Name = "tabPage2";
-            this.tabPage2.Size = new System.Drawing.Size(1282, 619);
+            this.tabPage2.Size = new System.Drawing.Size(1282, 663);
             this.tabPage2.TabIndex = 1;
             this.tabPage2.Text = "清算汇总";
             this.tabPage2.UseVisualStyleBackColor = true;
@@ -1707,7 +1707,7 @@
             this.uiPanel4.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
             this.uiPanel4.MinimumSize = new System.Drawing.Size(1, 1);
             this.uiPanel4.Name = "uiPanel4";
-            this.uiPanel4.Size = new System.Drawing.Size(1065, 619);
+            this.uiPanel4.Size = new System.Drawing.Size(1065, 663);
             this.uiPanel4.TabIndex = 4;
             this.uiPanel4.Text = null;
             this.uiPanel4.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1724,7 +1724,7 @@
             this.uiTabControl4.MainPage = "";
             this.uiTabControl4.Name = "uiTabControl4";
             this.uiTabControl4.SelectedIndex = 0;
-            this.uiTabControl4.Size = new System.Drawing.Size(1065, 195);
+            this.uiTabControl4.Size = new System.Drawing.Size(1065, 239);
             this.uiTabControl4.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
             this.uiTabControl4.TabIndex = 1;
             this.uiTabControl4.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
@@ -1735,7 +1735,7 @@
             this.tabPage9.Controls.Add(this.dgvHisSettlRec_2);
             this.tabPage9.Location = new System.Drawing.Point(0, 25);
             this.tabPage9.Name = "tabPage9";
-            this.tabPage9.Size = new System.Drawing.Size(1065, 170);
+            this.tabPage9.Size = new System.Drawing.Size(1065, 214);
             this.tabPage9.TabIndex = 0;
             this.tabPage9.Text = "HIS结算记录";
             this.tabPage9.UseVisualStyleBackColor = true;
@@ -1785,7 +1785,7 @@
             this.dgvHisSettlRec_2.RowsDefaultCellStyle = dataGridViewCellStyle25;
             this.dgvHisSettlRec_2.RowTemplate.Height = 23;
             this.dgvHisSettlRec_2.SelectedIndex = -1;
-            this.dgvHisSettlRec_2.Size = new System.Drawing.Size(1065, 170);
+            this.dgvHisSettlRec_2.Size = new System.Drawing.Size(1065, 214);
             this.dgvHisSettlRec_2.StripeOddColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
             this.dgvHisSettlRec_2.TabIndex = 1;
             this.dgvHisSettlRec_2.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
@@ -1878,7 +1878,7 @@
             this.tmsClearing_2,
             this.tmsHisSettlRecord_2});
             this.cmsClearing.Name = "cmsClearing";
-            this.cmsClearing.Size = new System.Drawing.Size(203, 78);
+            this.cmsClearing.Size = new System.Drawing.Size(203, 56);
             this.cmsClearing.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
             this.cmsClearing.Opening += new System.ComponentModel.CancelEventHandler(this.cmsClearing_Opening);
             // 
@@ -1906,7 +1906,7 @@
             this.uiPanel3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
             this.uiPanel3.MinimumSize = new System.Drawing.Size(1, 1);
             this.uiPanel3.Name = "uiPanel3";
-            this.uiPanel3.Size = new System.Drawing.Size(217, 619);
+            this.uiPanel3.Size = new System.Drawing.Size(217, 663);
             this.uiPanel3.TabIndex = 3;
             this.uiPanel3.Text = null;
             this.uiPanel3.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1919,7 +1919,7 @@
             this.uiGroupBox3.Controls.Add(this.btnQueryClrSum);
             this.uiGroupBox3.Dock = System.Windows.Forms.DockStyle.Bottom;
             this.uiGroupBox3.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.uiGroupBox3.Location = new System.Drawing.Point(0, 510);
+            this.uiGroupBox3.Location = new System.Drawing.Point(0, 554);
             this.uiGroupBox3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
             this.uiGroupBox3.MinimumSize = new System.Drawing.Size(1, 1);
             this.uiGroupBox3.Name = "uiGroupBox3";
@@ -3006,7 +3006,7 @@
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
-            this.ClientSize = new System.Drawing.Size(1282, 649);
+            this.ClientSize = new System.Drawing.Size(1282, 693);
             this.Controls.Add(this.uiTabControl1);
             this.Name = "Clearing";
             this.Text = "对账与清算";

+ 17 - 15
Helper/JsonHelper.cs

@@ -209,23 +209,17 @@ namespace PTMedicalInsurance.Helper
             {
                 Global.inf.areaCode = "220100";
             }
- 
-            //if (Global.pat.insuplc_admdvs == "")
-            //{
-            //    Global.pat.insuplc_admdvs = Global.inf.areaCode;
-            //}
-
-            //if (Global.pat.insuplc_admdvs.Substring(0, 4) != "2201")
-            //{
-            //    Jo.mdtrtarea_admvs = "229900";//长春省直异地用229900
 
-            //}
-            //else
-            //{
-            //    Jo.mdtrtarea_admvs = "220100";
-            //}
             Jo.insuplc_admdvs = Global.pat.insuplc_admdvs;
             Jo.mdtrtarea_admvs = "220100";
+            if (Global.inf.interfaceDr == 9)
+            {
+                Jo.mdtrtarea_admvs = "220100"; //长春市
+            }
+            if (Global.inf.interfaceDr == 20)
+            {
+                Jo.mdtrtarea_admvs = "229900";//长春省直异地用229900
+            }
             Jo.recer_sys_code = "MBS_LOCAL";
             Jo.dev_safe_info = Global.inf.dev_safe_info; //设备编号
             Jo.dev_no = "";
@@ -294,7 +288,7 @@ namespace PTMedicalInsurance.Helper
                 Jo.recer_admdvs = "220100";//长春省直异地用229900
 
             }*/
-                        
+
             //if (Global.pat.insuplc_admdvs.Substring(0, 4) != "2201")
             //{
             //    Jo.mdtrtarea_admvs = "229900";//长春省直异地用229900
@@ -304,6 +298,14 @@ namespace PTMedicalInsurance.Helper
             //    Jo.mdtrtarea_admvs = "220100"; 
             //}
             Jo.mdtrtarea_admvs = "220100";
+            if (Global.inf.interfaceDr == 9)
+            {
+                Jo.mdtrtarea_admvs = "220100";
+            }
+            if (Global.inf.interfaceDr == 20)
+            {
+                Jo.mdtrtarea_admvs = "229900";
+            }
             Jo.recer_sys_code = "MBS_LOCAL";
             Jo.dev_no = "";// Global.curEvt.mac;
             Jo.dev_safe_info = Global.inf.dev_safe_info; //设备编号

+ 19 - 5
InsuBusiness.cs

@@ -13,6 +13,7 @@ using PTMedicalInsurance.Forms;
 using System.IO;
 using System.Reflection;
 using System.Data;
+using CCunMI.Forms;
 
 namespace PTMedicalInsurance
 {
@@ -95,11 +96,19 @@ namespace PTMedicalInsurance
                 else
                 {
                     InvokeHelper invoker = new InvokeHelper();
-                    Global.curEvt.token = invoker.GetToken("http://ddjk.jlhs.gov.cn:20215",1);//获取市医保TOKEN地址
-                                                                                               // MessageBox.Show("Token:" + Global.curEvt.token);
+                    if (Global.inf.interfaceDr == 9)
+                    {
+                        Global.curEvt.token = invoker.GetToken("http://ddjk.jlhs.gov.cn:20215", 1);//获取市医保TOKEN地址 MessageBox.Show("Token:" + Global.curEvt.token);
+                    }
+                    else
+                    {
+                        Global.curEvt.token = invoker.GetToken("http://ddjk.jlhs.gov.cn:20215", 2);//获取市医保TOKEN地址 MessageBox.Show("Token:" + Global.curEvt.token);
+                    }
+
 
-                    //MessageBox.Show("准备签到");
-                    if (mIS.isSigned(ref Global.curEvt.signno) != true)
+
+                        //MessageBox.Show("准备签到");
+                        if (mIS.isSigned(ref Global.curEvt.signno) != true)
                     {
                         //MessageBox.Show("开始调用签到");
                         //签到
@@ -1512,7 +1521,12 @@ namespace PTMedicalInsurance
                             Referral.ShowDialog();
                             break;
                         }
-
+                    case "AssistSelect"://辅助查询
+                        {
+                            AssistSelect Serach = new AssistSelect();
+                            Serach.ShowDialog();
+                            break;
+                        }
                     case "DRG"://DRG付费管理
                         {                                                     
                             if (hBus.initEnvironment(InParam, out errMsg) != 0)