From a2835a50da510190672b5ba63f436cd1e9489d7f Mon Sep 17 00:00:00 2001 From: leomon Date: Tue, 22 Nov 2022 22:50:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=BA=E7=A1=80=E5=8A=9F=E8=83=BD=E7=BB=86?= =?UTF-8?q?=E8=8A=82=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AIMS/DataDictionary/frmApplianceSelect.cs | 14 +- .../frmApplianceSelect.designer.cs | 275 ++--- AIMS/DataDictionary/frmPerson.Designer.cs | 1 + AIMS/DataDictionary/frmPerson.cs | 5 + AIMS/DocManager/frmDocument3.cs | 1 + .../frmOperationManage.Designer.cs | 954 +++++++----------- AIMS/OperationAfter/frmOperationManage.resx | 101 +- .../frmAnasRecordBill2.Designer.cs | 15 +- .../AnasRecordBill/frmAnasRecordBill2.cs | 2 + .../AnasRecordBill/frmAnasRecordBill2.resx | 3 + .../frmAnasRecordInstrument.Designer.cs | 892 ++++++++-------- .../AnasRecordBill/frmAnasRecordInstrument.cs | 2 + .../frmAnasRecordInstrument.resx | 3 + .../frmSelectPatientNew2.Designer.cs | 48 +- .../AnasRecordBill/frmSelectPatientNew2.cs | 26 +- .../frmSelectApplianceUseType.cs | 29 +- .../frmSelectPatientGoodsBill.Designer.cs | 47 +- .../frmSelectPatientGoodsBill.cs | 25 +- .../frmSelectPatientGoodsBill.resx | 4 +- .../frmOperationApply.Designer.cs | 7 +- AIMS/OperationFront/frmOperationApply.resx | 3 - .../ucPatientCard.Designer.cs | 116 +-- AIMS/OremrUserControl/ucPatientCard.cs | 9 +- AIMSEntity/DAL/Extension/DPerson.cs | 1 + AIMSEntity/Extensions/SelectPatient.cs | 15 + DrawGraph/AreaManage/BaseInfoBottomManage.cs | 14 +- DrawGraph/AreaManage/BaseInfoTopManage.cs | 18 +- DrawGraph/AreaManage/DBManage.cs | 49 +- DrawGraph/AreaManage/InstrumentDataManage.cs | 114 ++- DrawGraph/AreaManage/SelectDictText.cs | 3 +- DrawGraph/AreaManage/SelectDictValue.cs | 18 +- DrawGraph/AreaManage/SelectWorkerValue.cs | 17 +- 32 files changed, 1446 insertions(+), 1385 deletions(-) diff --git a/AIMS/DataDictionary/frmApplianceSelect.cs b/AIMS/DataDictionary/frmApplianceSelect.cs index 7a20270..1885108 100644 --- a/AIMS/DataDictionary/frmApplianceSelect.cs +++ b/AIMS/DataDictionary/frmApplianceSelect.cs @@ -113,13 +113,13 @@ namespace AIMS.PublicUI.UI private void SetPageText(DataTable table) { total = table.Rows.Count; - if (total % 10 == 0) + if (total % 25 == 0) { - pages = total / 10; + pages = total / 25; } else { - pages = total / 10 + 1; + pages = total / 25 + 1; } lblPage.Text = currentPage + 1 + "/" + pages + ",共" + total + "条"; } @@ -132,8 +132,8 @@ namespace AIMS.PublicUI.UI private DataTable GetTableByCurrentPage(int currPage, DataTable dt) { DataTable pdt = dt.Clone(); - int index = currPage * 10; - for (int i = index; i < index + 10; i++) + int index = currPage * 25; + for (int i = index; i < index + 25; i++) { if (i == total) { @@ -234,6 +234,8 @@ namespace AIMS.PublicUI.UI } } BindDgvY(ydt); + txtQuery.Text = ""; + txtQuery.Focus(); } private void btnCancelAll_Click(object sender, EventArgs e) @@ -283,7 +285,7 @@ namespace AIMS.PublicUI.UI if (num > 0) { new frmMessageBox().Show(); - this.Close(); + //this.Close(); } } diff --git a/AIMS/DataDictionary/frmApplianceSelect.designer.cs b/AIMS/DataDictionary/frmApplianceSelect.designer.cs index f8df8d7..15bacaf 100644 --- a/AIMS/DataDictionary/frmApplianceSelect.designer.cs +++ b/AIMS/DataDictionary/frmApplianceSelect.designer.cs @@ -28,12 +28,11 @@ /// private void InitializeComponent() { - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = 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(); this.panel1 = new System.Windows.Forms.Panel(); this.txtQuery = new DevComponents.DotNetBar.Controls.TextBoxX(); this.label3 = new System.Windows.Forms.Label(); - this.btnCancel = new DevComponents.DotNetBar.ButtonX(); this.btnSave = new DevComponents.DotNetBar.ButtonX(); this.cboType = new DevComponents.DotNetBar.Controls.ComboBoxEx(); this.lblUseName = new System.Windows.Forms.Label(); @@ -44,21 +43,27 @@ this.lkDown = new System.Windows.Forms.LinkLabel(); this.lkUp = new System.Windows.Forms.LinkLabel(); this.btnCancelAll = new DevComponents.DotNetBar.ButtonX(); + this.btnSelectDown = new DevComponents.DotNetBar.ButtonX(); + this.btnSelectUp = new DevComponents.DotNetBar.ButtonX(); this.btnSelectAll = new DevComponents.DotNetBar.ButtonX(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.dgvY = new DevComponents.DotNetBar.Controls.DataGridViewX(); this.ySelect = new System.Windows.Forms.DataGridViewCheckBoxColumn(); + this.groupBox1 = new System.Windows.Forms.GroupBox(); + this.dgvD = new DevComponents.DotNetBar.Controls.DataGridViewX(); + this.Select = new System.Windows.Forms.DataGridViewCheckBoxColumn(); + this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.yId = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.yName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.ApplianceNumber = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.groupBox1 = new System.Windows.Forms.GroupBox(); - this.dgvD = new DevComponents.DotNetBar.Controls.DataGridViewX(); this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Index = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.Select = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.oName = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.btnSelectUp = new DevComponents.DotNetBar.ButtonX(); - this.btnSelectDown = new DevComponents.DotNetBar.ButtonX(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); this.groupBox2.SuspendLayout(); @@ -73,7 +78,6 @@ this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel1.Controls.Add(this.txtQuery); this.panel1.Controls.Add(this.label3); - this.panel1.Controls.Add(this.btnCancel); this.panel1.Controls.Add(this.btnSave); this.panel1.Controls.Add(this.cboType); this.panel1.Controls.Add(this.lblUseName); @@ -83,7 +87,7 @@ this.panel1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(717, 97); + this.panel1.Size = new System.Drawing.Size(716, 51); this.panel1.TabIndex = 13; // // txtQuery @@ -95,36 +99,26 @@ this.txtQuery.Border.BorderBottomColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(227)))), ((int)(((byte)(231))))); this.txtQuery.Border.BorderBottomWidth = 1; this.txtQuery.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.txtQuery.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - this.txtQuery.Location = new System.Drawing.Point(82, 61); + this.txtQuery.ForeColor = System.Drawing.Color.Black; + this.txtQuery.Location = new System.Drawing.Point(253, 13); this.txtQuery.Name = "txtQuery"; - this.txtQuery.Size = new System.Drawing.Size(295, 21); + this.txtQuery.Size = new System.Drawing.Size(124, 21); this.txtQuery.TabIndex = 4; this.txtQuery.TextChanged += new System.EventHandler(this.txtQuery_TextChanged); // // label3 // this.label3.AutoSize = true; - this.label3.Location = new System.Drawing.Point(11, 63); + this.label3.Location = new System.Drawing.Point(182, 15); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(65, 20); this.label3.TabIndex = 3; this.label3.Text = "器械名称"; // - // btnCancel - // - this.btnCancel.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnCancel.Location = new System.Drawing.Point(605, 59); - this.btnCancel.Name = "btnCancel"; - this.btnCancel.Size = new System.Drawing.Size(75, 30); - this.btnCancel.TabIndex = 2; - this.btnCancel.Text = "取消"; - this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); - // // btnSave // this.btnSave.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnSave.Location = new System.Drawing.Point(524, 59); + this.btnSave.Location = new System.Drawing.Point(636, 13); this.btnSave.Name = "btnSave"; this.btnSave.Size = new System.Drawing.Size(75, 30); this.btnSave.TabIndex = 2; @@ -139,7 +133,7 @@ "器械", "敷料", "其它"}); - this.cboType.Location = new System.Drawing.Point(82, 24); + this.cboType.Location = new System.Drawing.Point(82, 11); this.cboType.Name = "cboType"; this.cboType.Size = new System.Drawing.Size(85, 28); this.cboType.TabIndex = 1; @@ -148,7 +142,7 @@ // lblUseName // this.lblUseName.AutoSize = true; - this.lblUseName.Location = new System.Drawing.Point(312, 28); + this.lblUseName.Location = new System.Drawing.Point(508, 15); this.lblUseName.Name = "lblUseName"; this.lblUseName.Size = new System.Drawing.Size(0, 20); this.lblUseName.TabIndex = 0; @@ -156,7 +150,7 @@ // label2 // this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(11, 28); + this.label2.Location = new System.Drawing.Point(11, 15); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(65, 20); this.label2.TabIndex = 0; @@ -165,7 +159,7 @@ // label1 // this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(199, 28); + this.label1.Location = new System.Drawing.Point(395, 15); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(107, 20); this.label1.TabIndex = 0; @@ -186,9 +180,9 @@ this.panel2.Controls.Add(this.groupBox1); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.panel2.Location = new System.Drawing.Point(0, 97); + this.panel2.Location = new System.Drawing.Point(0, 51); this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(717, 341); + this.panel2.Size = new System.Drawing.Size(716, 674); this.panel2.TabIndex = 14; // // lblPage @@ -225,7 +219,7 @@ // btnCancelAll // this.btnCancelAll.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnCancelAll.Location = new System.Drawing.Point(338, 195); + this.btnCancelAll.Location = new System.Drawing.Point(338, 331); this.btnCancelAll.Margin = new System.Windows.Forms.Padding(0); this.btnCancelAll.Name = "btnCancelAll"; this.btnCancelAll.Size = new System.Drawing.Size(39, 110); @@ -233,10 +227,34 @@ this.btnCancelAll.Text = "<<"; this.btnCancelAll.Click += new System.EventHandler(this.btnCancelAll_Click); // + // btnSelectDown + // + this.btnSelectDown.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.btnSelectDown.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnSelectDown.Location = new System.Drawing.Point(524, 2); + this.btnSelectDown.Margin = new System.Windows.Forms.Padding(0); + this.btnSelectDown.Name = "btnSelectDown"; + this.btnSelectDown.Size = new System.Drawing.Size(32, 29); + this.btnSelectDown.TabIndex = 2; + this.btnSelectDown.Text = "↓"; + this.btnSelectDown.Click += new System.EventHandler(this.btnSelectDown_Click); + // + // btnSelectUp + // + this.btnSelectUp.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.btnSelectUp.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btnSelectUp.Location = new System.Drawing.Point(470, 2); + this.btnSelectUp.Margin = new System.Windows.Forms.Padding(0); + this.btnSelectUp.Name = "btnSelectUp"; + this.btnSelectUp.Size = new System.Drawing.Size(32, 29); + this.btnSelectUp.TabIndex = 2; + this.btnSelectUp.Text = "↑"; + this.btnSelectUp.Click += new System.EventHandler(this.btnSelectUp_Click); + // // btnSelectAll // this.btnSelectAll.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnSelectAll.Location = new System.Drawing.Point(338, 79); + this.btnSelectAll.Location = new System.Drawing.Point(338, 215); this.btnSelectAll.Margin = new System.Windows.Forms.Padding(0); this.btnSelectAll.Name = "btnSelectAll"; this.btnSelectAll.Size = new System.Drawing.Size(39, 110); @@ -249,7 +267,7 @@ this.groupBox2.Controls.Add(this.dgvY); this.groupBox2.Location = new System.Drawing.Point(380, 24); this.groupBox2.Name = "groupBox2"; - this.groupBox2.Size = new System.Drawing.Size(322, 293); + this.groupBox2.Size = new System.Drawing.Size(322, 648); this.groupBox2.TabIndex = 0; this.groupBox2.TabStop = false; this.groupBox2.Text = "已选"; @@ -258,6 +276,7 @@ // this.dgvY.AllowUserToAddRows = false; this.dgvY.AllowUserToDeleteRows = false; + this.dgvY.AllowUserToResizeRows = false; this.dgvY.BackgroundColor = System.Drawing.Color.Snow; this.dgvY.BorderStyle = System.Windows.Forms.BorderStyle.None; this.dgvY.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; @@ -266,14 +285,14 @@ this.yId, this.yName, this.ApplianceNumber}); - dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Window; - dataGridViewCellStyle5.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dgvY.DefaultCellStyle = dataGridViewCellStyle5; + dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgvY.DefaultCellStyle = dataGridViewCellStyle1; this.dgvY.Dock = System.Windows.Forms.DockStyle.Fill; this.dgvY.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229))))); this.dgvY.Location = new System.Drawing.Point(3, 22); @@ -281,7 +300,7 @@ this.dgvY.RowHeadersVisible = false; this.dgvY.RowTemplate.Height = 23; this.dgvY.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.dgvY.Size = new System.Drawing.Size(316, 268); + this.dgvY.Size = new System.Drawing.Size(316, 623); this.dgvY.TabIndex = 0; this.dgvY.EditingControlShowing += new System.Windows.Forms.DataGridViewEditingControlShowingEventHandler(this.dgvY_EditingControlShowing); // @@ -291,6 +310,96 @@ this.ySelect.Name = "ySelect"; this.ySelect.Width = 60; // + // groupBox1 + // + this.groupBox1.Controls.Add(this.dgvD); + this.groupBox1.Location = new System.Drawing.Point(12, 24); + this.groupBox1.Name = "groupBox1"; + this.groupBox1.Size = new System.Drawing.Size(323, 648); + this.groupBox1.TabIndex = 0; + this.groupBox1.TabStop = false; + this.groupBox1.Text = "待选"; + // + // dgvD + // + this.dgvD.AllowUserToAddRows = false; + this.dgvD.AllowUserToDeleteRows = false; + this.dgvD.AllowUserToResizeRows = false; + this.dgvD.BackgroundColor = System.Drawing.Color.Snow; + this.dgvD.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.dgvD.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dgvD.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.Id, + this.Index, + this.Select, + this.oName}); + dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgvD.DefaultCellStyle = dataGridViewCellStyle2; + this.dgvD.Dock = System.Windows.Forms.DockStyle.Fill; + this.dgvD.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229))))); + this.dgvD.Location = new System.Drawing.Point(3, 22); + this.dgvD.Name = "dgvD"; + this.dgvD.RowHeadersVisible = false; + this.dgvD.RowTemplate.Height = 23; + this.dgvD.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; + this.dgvD.Size = new System.Drawing.Size(317, 623); + this.dgvD.TabIndex = 0; + this.dgvD.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvD_CellDoubleClick); + // + // Select + // + this.Select.HeaderText = "选择"; + this.Select.Name = "Select"; + this.Select.Width = 65; + // + // dataGridViewTextBoxColumn1 + // + this.dataGridViewTextBoxColumn1.DataPropertyName = "Id"; + this.dataGridViewTextBoxColumn1.HeaderText = "编号"; + this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; + this.dataGridViewTextBoxColumn1.Visible = false; + // + // dataGridViewTextBoxColumn2 + // + this.dataGridViewTextBoxColumn2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; + this.dataGridViewTextBoxColumn2.DataPropertyName = "Name"; + this.dataGridViewTextBoxColumn2.HeaderText = "器械名称"; + this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; + this.dataGridViewTextBoxColumn2.ReadOnly = true; + // + // dataGridViewTextBoxColumn3 + // + this.dataGridViewTextBoxColumn3.HeaderText = "使用数量"; + this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3"; + // + // dataGridViewTextBoxColumn4 + // + this.dataGridViewTextBoxColumn4.DataPropertyName = "Id"; + this.dataGridViewTextBoxColumn4.HeaderText = "编号"; + this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4"; + this.dataGridViewTextBoxColumn4.Visible = false; + // + // dataGridViewTextBoxColumn5 + // + this.dataGridViewTextBoxColumn5.HeaderText = "序号"; + this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5"; + this.dataGridViewTextBoxColumn5.Visible = false; + this.dataGridViewTextBoxColumn5.Width = 65; + // + // dataGridViewTextBoxColumn6 + // + this.dataGridViewTextBoxColumn6.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; + this.dataGridViewTextBoxColumn6.DataPropertyName = "Name"; + this.dataGridViewTextBoxColumn6.HeaderText = "器械名称"; + this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6"; + this.dataGridViewTextBoxColumn6.ReadOnly = true; + // // yId // this.yId.DataPropertyName = "Id"; @@ -311,47 +420,6 @@ this.ApplianceNumber.HeaderText = "使用数量"; this.ApplianceNumber.Name = "ApplianceNumber"; // - // groupBox1 - // - this.groupBox1.Controls.Add(this.dgvD); - this.groupBox1.Location = new System.Drawing.Point(12, 24); - this.groupBox1.Name = "groupBox1"; - this.groupBox1.Size = new System.Drawing.Size(323, 293); - this.groupBox1.TabIndex = 0; - this.groupBox1.TabStop = false; - this.groupBox1.Text = "待选"; - // - // dgvD - // - this.dgvD.AllowUserToAddRows = false; - this.dgvD.AllowUserToDeleteRows = false; - this.dgvD.BackgroundColor = System.Drawing.Color.Snow; - this.dgvD.BorderStyle = System.Windows.Forms.BorderStyle.None; - this.dgvD.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this.dgvD.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { - this.Id, - this.Index, - this.Select, - this.oName}); - dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Window; - dataGridViewCellStyle6.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dgvD.DefaultCellStyle = dataGridViewCellStyle6; - this.dgvD.Dock = System.Windows.Forms.DockStyle.Fill; - this.dgvD.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229))))); - this.dgvD.Location = new System.Drawing.Point(3, 22); - this.dgvD.Name = "dgvD"; - this.dgvD.RowHeadersVisible = false; - this.dgvD.RowTemplate.Height = 23; - this.dgvD.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.dgvD.Size = new System.Drawing.Size(317, 268); - this.dgvD.TabIndex = 0; - this.dgvD.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvD_CellDoubleClick); - // // Id // this.Id.DataPropertyName = "Id"; @@ -366,12 +434,6 @@ this.Index.Visible = false; this.Index.Width = 65; // - // Select - // - this.Select.HeaderText = "选择"; - this.Select.Name = "Select"; - this.Select.Width = 65; - // // oName // this.oName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; @@ -380,35 +442,11 @@ this.oName.Name = "oName"; this.oName.ReadOnly = true; // - // btnSelectUp - // - this.btnSelectUp.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnSelectUp.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnSelectUp.Location = new System.Drawing.Point(470, 2); - this.btnSelectUp.Margin = new System.Windows.Forms.Padding(0); - this.btnSelectUp.Name = "btnSelectUp"; - this.btnSelectUp.Size = new System.Drawing.Size(32, 29); - this.btnSelectUp.TabIndex = 2; - this.btnSelectUp.Text = "↑"; - this.btnSelectUp.Click += new System.EventHandler(this.btnSelectUp_Click); - // - // btnSelectDown - // - this.btnSelectDown.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnSelectDown.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnSelectDown.Location = new System.Drawing.Point(524, 2); - this.btnSelectDown.Margin = new System.Windows.Forms.Padding(0); - this.btnSelectDown.Name = "btnSelectDown"; - this.btnSelectDown.Size = new System.Drawing.Size(32, 29); - this.btnSelectDown.TabIndex = 2; - this.btnSelectDown.Text = "↓"; - this.btnSelectDown.Click += new System.EventHandler(this.btnSelectDown_Click); - // // frmApplianceSelect // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(717, 438); + this.ClientSize = new System.Drawing.Size(716, 725); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D; @@ -445,7 +483,6 @@ private DevComponents.DotNetBar.Controls.DataGridViewX dgvY; private System.Windows.Forms.GroupBox groupBox1; private DevComponents.DotNetBar.Controls.DataGridViewX dgvD; - private DevComponents.DotNetBar.ButtonX btnCancel; private DevComponents.DotNetBar.ButtonX btnSave; private DevComponents.DotNetBar.Controls.TextBoxX txtQuery; private System.Windows.Forms.Label label3; @@ -459,5 +496,11 @@ private System.Windows.Forms.DataGridViewTextBoxColumn ApplianceNumber; private DevComponents.DotNetBar.ButtonX btnSelectDown; private DevComponents.DotNetBar.ButtonX btnSelectUp; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6; } } \ No newline at end of file diff --git a/AIMS/DataDictionary/frmPerson.Designer.cs b/AIMS/DataDictionary/frmPerson.Designer.cs index 6368cac..0c8a16b 100644 --- a/AIMS/DataDictionary/frmPerson.Designer.cs +++ b/AIMS/DataDictionary/frmPerson.Designer.cs @@ -746,6 +746,7 @@ this.chkAllShow.TabIndex = 13; this.chkAllShow.Text = "显示全部"; this.chkAllShow.UseVisualStyleBackColor = true; + this.chkAllShow.CheckedChanged += new System.EventHandler(this.chkAllShow_CheckedChanged); // // frmPerson // diff --git a/AIMS/DataDictionary/frmPerson.cs b/AIMS/DataDictionary/frmPerson.cs index 7d66fd6..58328d5 100644 --- a/AIMS/DataDictionary/frmPerson.cs +++ b/AIMS/DataDictionary/frmPerson.cs @@ -311,5 +311,10 @@ namespace AIMS.PublicUI.UI { GetPersonDataTable("", cboDepartment.Text.Trim()); } + + private void chkAllShow_CheckedChanged(object sender, EventArgs e) + { + GetPersonDataTable(txtName.Text, cboDepartment.Text.Trim()); + } } } diff --git a/AIMS/DocManager/frmDocument3.cs b/AIMS/DocManager/frmDocument3.cs index 7d9fd66..a731e60 100644 --- a/AIMS/DocManager/frmDocument3.cs +++ b/AIMS/DocManager/frmDocument3.cs @@ -89,6 +89,7 @@ namespace AIMS.OperationAfter.UI DataTable vPlanedOpeList = BOperationApply.GetOperationFrontDataTable(beginTime.ToString("yyyy-MM-dd 00:00:00"), endTime.ToString("yyyy-MM-dd 23:59:59")); if (vPlanedOpeList.Rows.Count <= 0) return; + vPlanedOpeList = AIMSExtension.PublicMethod.GetNewDataTable( vPlanedOpeList, "State not IN ('退回') ", ""); string roomname = ""; foreach (DataRow po in vPlanedOpeList.Rows) { diff --git a/AIMS/OperationAfter/frmOperationManage.Designer.cs b/AIMS/OperationAfter/frmOperationManage.Designer.cs index d287b33..aabc045 100644 --- a/AIMS/OperationAfter/frmOperationManage.Designer.cs +++ b/AIMS/OperationAfter/frmOperationManage.Designer.cs @@ -38,62 +38,19 @@ this.tsbExit = new System.Windows.Forms.ToolStripButton(); this.panel1 = new System.Windows.Forms.Panel(); this.panel3 = new System.Windows.Forms.Panel(); - this.dgv = new System.Windows.Forms.DataGridView(); - this.CheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn(); - this.ApplyId = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.MdrecNoColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.ArchivesNoColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.ApplyDepNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.PatientKindColume = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.PatientNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.SexColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.BirthDayColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.HeightColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.WeightColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.BloodTypeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.RHBloodTypeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.IlldistrictColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.SickBedColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.OperationTypeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.OrderOperationTimeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.OperationTimeLeightColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.StateColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.IsReturnOperationColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.IsPlanReturnOperationColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.ApplyDiagnoseInfoNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.DiagnoseRemarkColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.ApplyOperationInfoNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.OperationRemarkColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.OperationLevelNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.ApplyOperationCutTypeNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.ApplyOperationPositionNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.AnaesthesiaMethodNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.ContagionColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.OperationDoctorColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.Assistant1Column = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.Assistant2Column = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.Assistant3Column = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.InternColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.OtherColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.ApplyTimeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.ApplyOperatorNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.VerifyTimeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.VerifyOperatorNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.PlanOperationTimeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.OperationRoomColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.AnesthesiaDoctorColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.InstrumentNurseColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.TourNurseColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.AnesthesiaDoctorSucceedColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.InstrumentNurseSucceedColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.TourNurseSucceedColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.RemarkColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.panel2 = new System.Windows.Forms.Panel(); + this.txtName = new System.Windows.Forms.TextBox(); + this.label5 = new System.Windows.Forms.Label(); + this.txtArchivesNo = new System.Windows.Forms.TextBox(); + this.label6 = new System.Windows.Forms.Label(); + this.tokenEditor2 = new DevComponents.DotNetBar.Controls.TokenEditor(); + this.tokenEditor1 = new DevComponents.DotNetBar.Controls.TokenEditor(); this.panel4 = new System.Windows.Forms.Panel(); this.rboZQ = new System.Windows.Forms.RadioButton(); this.rboJZ = new System.Windows.Forms.RadioButton(); this.label20 = new System.Windows.Forms.Label(); this.btnFind = new System.Windows.Forms.Button(); + this.label7 = new System.Windows.Forms.Label(); this.dtpBegInDate = new System.Windows.Forms.DateTimePicker(); this.label4 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); @@ -101,19 +58,41 @@ this.dtpEndDate = new System.Windows.Forms.DateTimePicker(); this.cboDepartment = new System.Windows.Forms.ComboBox(); this.label1 = new System.Windows.Forms.Label(); - this.tokenEditor1 = new DevComponents.DotNetBar.Controls.TokenEditor(); - this.txtName = new System.Windows.Forms.TextBox(); - this.label5 = new System.Windows.Forms.Label(); - this.txtArchivesNo = new System.Windows.Forms.TextBox(); - this.label6 = new System.Windows.Forms.Label(); - this.label7 = new System.Windows.Forms.Label(); - this.tokenEditor2 = new DevComponents.DotNetBar.Controls.TokenEditor(); + this.dgv = new System.Windows.Forms.DataGridView(); + this.CheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn(); + this.ApplyId = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.StateColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.ApplyDepNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.SickBedColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.PatientType = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.MdrecNoColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.PatientNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.SexColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Age = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.ApplyOperatorNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.OperationTypeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.ApplyTimeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.OrderOperationTimeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.ApplyDiagnoseInfoNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.ApplyOperationInfoNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.AnaesthesiaMethodNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.OperationDoctorColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Assistant1Column = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.ApplyOperationPositionNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.OperationLevelNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.ApplyOperationCutTypeNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.AnesthesiaDoctorColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.TourNurseColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.InstrumentNurseColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.OperationRoomColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.PlanOrder = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.RemarkColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.toolStrip1.SuspendLayout(); this.panel1.SuspendLayout(); this.panel3.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.dgv)).BeginInit(); this.panel2.SuspendLayout(); this.panel4.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dgv)).BeginInit(); this.SuspendLayout(); // // toolStrip1 @@ -216,416 +195,6 @@ this.panel3.Size = new System.Drawing.Size(1004, 354); this.panel3.TabIndex = 1; // - // dgv - // - this.dgv.AllowUserToAddRows = false; - this.dgv.BackgroundColor = System.Drawing.Color.White; - this.dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this.dgv.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { - this.CheckBoxColumn, - this.ApplyId, - this.MdrecNoColumn, - this.ArchivesNoColumn, - this.ApplyDepNameColumn, - this.PatientKindColume, - this.PatientNameColumn, - this.SexColumn, - this.BirthDayColumn, - this.HeightColumn, - this.WeightColumn, - this.BloodTypeColumn, - this.RHBloodTypeColumn, - this.IlldistrictColumn, - this.SickBedColumn, - this.OperationTypeColumn, - this.OrderOperationTimeColumn, - this.OperationTimeLeightColumn, - this.StateColumn, - this.IsReturnOperationColumn, - this.IsPlanReturnOperationColumn, - this.ApplyDiagnoseInfoNameColumn, - this.DiagnoseRemarkColumn, - this.ApplyOperationInfoNameColumn, - this.OperationRemarkColumn, - this.OperationLevelNameColumn, - this.ApplyOperationCutTypeNameColumn, - this.ApplyOperationPositionNameColumn, - this.AnaesthesiaMethodNameColumn, - this.ContagionColumn, - this.OperationDoctorColumn, - this.Assistant1Column, - this.Assistant2Column, - this.Assistant3Column, - this.InternColumn, - this.OtherColumn, - this.ApplyTimeColumn, - this.ApplyOperatorNameColumn, - this.VerifyTimeColumn, - this.VerifyOperatorNameColumn, - this.PlanOperationTimeColumn, - this.OperationRoomColumn, - this.AnesthesiaDoctorColumn, - this.InstrumentNurseColumn, - this.TourNurseColumn, - this.AnesthesiaDoctorSucceedColumn, - this.InstrumentNurseSucceedColumn, - this.TourNurseSucceedColumn, - this.RemarkColumn}); - this.dgv.Dock = System.Windows.Forms.DockStyle.Fill; - this.dgv.Location = new System.Drawing.Point(0, 0); - this.dgv.Name = "dgv"; - this.dgv.RowTemplate.Height = 23; - this.dgv.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect; - this.dgv.Size = new System.Drawing.Size(1004, 354); - this.dgv.TabIndex = 4; - // - // CheckBoxColumn - // - this.CheckBoxColumn.HeaderText = "选择"; - this.CheckBoxColumn.Name = "CheckBoxColumn"; - this.CheckBoxColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True; - this.CheckBoxColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; - this.CheckBoxColumn.Width = 35; - // - // ApplyId - // - this.ApplyId.DataPropertyName = "ApplyId"; - this.ApplyId.HeaderText = "ApplyId"; - this.ApplyId.Name = "ApplyId"; - this.ApplyId.ReadOnly = true; - this.ApplyId.Visible = false; - // - // MdrecNoColumn - // - this.MdrecNoColumn.DataPropertyName = "MdrecNo"; - this.MdrecNoColumn.HeaderText = "住院号"; - this.MdrecNoColumn.Name = "MdrecNoColumn"; - this.MdrecNoColumn.ReadOnly = true; - this.MdrecNoColumn.Width = 80; - // - // ArchivesNoColumn - // - this.ArchivesNoColumn.DataPropertyName = "ArchivesNo"; - this.ArchivesNoColumn.HeaderText = "病历号"; - this.ArchivesNoColumn.Name = "ArchivesNoColumn"; - this.ArchivesNoColumn.ReadOnly = true; - this.ArchivesNoColumn.Width = 80; - // - // ApplyDepNameColumn - // - this.ApplyDepNameColumn.DataPropertyName = "ApplyDepName"; - this.ApplyDepNameColumn.HeaderText = "申请科室"; - this.ApplyDepNameColumn.Name = "ApplyDepNameColumn"; - this.ApplyDepNameColumn.ReadOnly = true; - this.ApplyDepNameColumn.Width = 80; - // - // PatientKindColume - // - this.PatientKindColume.DataPropertyName = "PatientKind"; - this.PatientKindColume.HeaderText = "医保类别"; - this.PatientKindColume.Name = "PatientKindColume"; - this.PatientKindColume.ReadOnly = true; - this.PatientKindColume.Width = 80; - // - // PatientNameColumn - // - this.PatientNameColumn.DataPropertyName = "PatientName"; - this.PatientNameColumn.HeaderText = "患者姓名"; - this.PatientNameColumn.Name = "PatientNameColumn"; - this.PatientNameColumn.ReadOnly = true; - this.PatientNameColumn.Width = 80; - // - // SexColumn - // - this.SexColumn.DataPropertyName = "Sex"; - this.SexColumn.HeaderText = "性别"; - this.SexColumn.Name = "SexColumn"; - this.SexColumn.ReadOnly = true; - this.SexColumn.Width = 60; - // - // BirthDayColumn - // - this.BirthDayColumn.DataPropertyName = "BirthDay"; - this.BirthDayColumn.HeaderText = "出生日期"; - this.BirthDayColumn.Name = "BirthDayColumn"; - this.BirthDayColumn.Width = 80; - // - // HeightColumn - // - this.HeightColumn.DataPropertyName = "Height"; - this.HeightColumn.HeaderText = "身高"; - this.HeightColumn.Name = "HeightColumn"; - this.HeightColumn.Width = 70; - // - // WeightColumn - // - this.WeightColumn.DataPropertyName = "Weight"; - this.WeightColumn.HeaderText = "体重"; - this.WeightColumn.Name = "WeightColumn"; - this.WeightColumn.ReadOnly = true; - this.WeightColumn.Width = 70; - // - // BloodTypeColumn - // - this.BloodTypeColumn.DataPropertyName = "BloodType"; - this.BloodTypeColumn.HeaderText = "血型"; - this.BloodTypeColumn.Name = "BloodTypeColumn"; - this.BloodTypeColumn.ReadOnly = true; - this.BloodTypeColumn.Width = 70; - // - // RHBloodTypeColumn - // - this.RHBloodTypeColumn.DataPropertyName = "RHBloodType"; - this.RHBloodTypeColumn.HeaderText = "RH血型"; - this.RHBloodTypeColumn.Name = "RHBloodTypeColumn"; - this.RHBloodTypeColumn.Width = 70; - // - // IlldistrictColumn - // - this.IlldistrictColumn.DataPropertyName = "Illdistrict"; - this.IlldistrictColumn.HeaderText = "病区"; - this.IlldistrictColumn.Name = "IlldistrictColumn"; - this.IlldistrictColumn.Width = 70; - // - // SickBedColumn - // - this.SickBedColumn.DataPropertyName = "SickBed"; - this.SickBedColumn.HeaderText = "床位"; - this.SickBedColumn.Name = "SickBedColumn"; - this.SickBedColumn.ReadOnly = true; - this.SickBedColumn.Width = 70; - // - // OperationTypeColumn - // - this.OperationTypeColumn.DataPropertyName = "OperationType"; - this.OperationTypeColumn.HeaderText = "手术类型"; - this.OperationTypeColumn.Name = "OperationTypeColumn"; - this.OperationTypeColumn.ReadOnly = true; - this.OperationTypeColumn.Width = 80; - // - // OrderOperationTimeColumn - // - this.OrderOperationTimeColumn.DataPropertyName = "OrderOperationTime"; - this.OrderOperationTimeColumn.HeaderText = "预约时间"; - this.OrderOperationTimeColumn.Name = "OrderOperationTimeColumn"; - this.OrderOperationTimeColumn.ReadOnly = true; - this.OrderOperationTimeColumn.Width = 80; - // - // OperationTimeLeightColumn - // - this.OperationTimeLeightColumn.DataPropertyName = "OperationTimeLeight"; - this.OperationTimeLeightColumn.HeaderText = "手术时长"; - this.OperationTimeLeightColumn.Name = "OperationTimeLeightColumn"; - this.OperationTimeLeightColumn.ReadOnly = true; - this.OperationTimeLeightColumn.Width = 80; - // - // StateColumn - // - this.StateColumn.DataPropertyName = "State"; - this.StateColumn.HeaderText = "状态"; - this.StateColumn.Name = "StateColumn"; - this.StateColumn.ReadOnly = true; - // - // IsReturnOperationColumn - // - this.IsReturnOperationColumn.DataPropertyName = "IsReturnOperation"; - this.IsReturnOperationColumn.HeaderText = "是否重返"; - this.IsReturnOperationColumn.Name = "IsReturnOperationColumn"; - this.IsReturnOperationColumn.ReadOnly = true; - // - // IsPlanReturnOperationColumn - // - this.IsPlanReturnOperationColumn.DataPropertyName = "IsPlanReturnOperation"; - this.IsPlanReturnOperationColumn.HeaderText = "是否计划"; - this.IsPlanReturnOperationColumn.Name = "IsPlanReturnOperationColumn"; - // - // ApplyDiagnoseInfoNameColumn - // - this.ApplyDiagnoseInfoNameColumn.DataPropertyName = "ApplyDiagnoseInfoName"; - this.ApplyDiagnoseInfoNameColumn.HeaderText = "术前诊断"; - this.ApplyDiagnoseInfoNameColumn.Name = "ApplyDiagnoseInfoNameColumn"; - this.ApplyDiagnoseInfoNameColumn.ReadOnly = true; - // - // DiagnoseRemarkColumn - // - this.DiagnoseRemarkColumn.DataPropertyName = "DiagnoseRemark"; - this.DiagnoseRemarkColumn.HeaderText = "诊断备注"; - this.DiagnoseRemarkColumn.Name = "DiagnoseRemarkColumn"; - this.DiagnoseRemarkColumn.ReadOnly = true; - // - // ApplyOperationInfoNameColumn - // - this.ApplyOperationInfoNameColumn.DataPropertyName = "ApplyOperationInfoName"; - this.ApplyOperationInfoNameColumn.HeaderText = "拟实手术"; - this.ApplyOperationInfoNameColumn.Name = "ApplyOperationInfoNameColumn"; - this.ApplyOperationInfoNameColumn.ReadOnly = true; - // - // OperationRemarkColumn - // - this.OperationRemarkColumn.DataPropertyName = "OperationRemark"; - this.OperationRemarkColumn.HeaderText = "手术备注"; - this.OperationRemarkColumn.Name = "OperationRemarkColumn"; - this.OperationRemarkColumn.ReadOnly = true; - // - // OperationLevelNameColumn - // - this.OperationLevelNameColumn.DataPropertyName = "OperationLevelName"; - this.OperationLevelNameColumn.HeaderText = "手术分级"; - this.OperationLevelNameColumn.Name = "OperationLevelNameColumn"; - this.OperationLevelNameColumn.ReadOnly = true; - // - // ApplyOperationCutTypeNameColumn - // - this.ApplyOperationCutTypeNameColumn.DataPropertyName = "ApplyOperationCutTypeName"; - this.ApplyOperationCutTypeNameColumn.HeaderText = "切口类型"; - this.ApplyOperationCutTypeNameColumn.Name = "ApplyOperationCutTypeNameColumn"; - this.ApplyOperationCutTypeNameColumn.ReadOnly = true; - // - // ApplyOperationPositionNameColumn - // - this.ApplyOperationPositionNameColumn.DataPropertyName = "ApplyOperationPositionName"; - this.ApplyOperationPositionNameColumn.HeaderText = "手术部位"; - this.ApplyOperationPositionNameColumn.Name = "ApplyOperationPositionNameColumn"; - // - // AnaesthesiaMethodNameColumn - // - this.AnaesthesiaMethodNameColumn.DataPropertyName = "AnaesthesiaMethodName"; - this.AnaesthesiaMethodNameColumn.HeaderText = "拟施麻醉"; - this.AnaesthesiaMethodNameColumn.Name = "AnaesthesiaMethodNameColumn"; - this.AnaesthesiaMethodNameColumn.ReadOnly = true; - // - // ContagionColumn - // - this.ContagionColumn.DataPropertyName = "Contagion"; - this.ContagionColumn.HeaderText = "术前感染筛查"; - this.ContagionColumn.Name = "ContagionColumn"; - // - // OperationDoctorColumn - // - this.OperationDoctorColumn.DataPropertyName = "OperationDoctor"; - this.OperationDoctorColumn.HeaderText = "术者"; - this.OperationDoctorColumn.Name = "OperationDoctorColumn"; - this.OperationDoctorColumn.ReadOnly = true; - // - // Assistant1Column - // - this.Assistant1Column.DataPropertyName = "Assistant1"; - this.Assistant1Column.HeaderText = "一助"; - this.Assistant1Column.Name = "Assistant1Column"; - // - // Assistant2Column - // - this.Assistant2Column.DataPropertyName = "Assistant2"; - this.Assistant2Column.HeaderText = "二助"; - this.Assistant2Column.Name = "Assistant2Column"; - this.Assistant2Column.ReadOnly = true; - // - // Assistant3Column - // - this.Assistant3Column.DataPropertyName = "Assistant3"; - this.Assistant3Column.HeaderText = "三助"; - this.Assistant3Column.Name = "Assistant3Column"; - // - // InternColumn - // - this.InternColumn.DataPropertyName = "Intern"; - this.InternColumn.HeaderText = "进修实习生"; - this.InternColumn.Name = "InternColumn"; - // - // OtherColumn - // - this.OtherColumn.DataPropertyName = "Other"; - this.OtherColumn.HeaderText = "其他人员"; - this.OtherColumn.Name = "OtherColumn"; - this.OtherColumn.ReadOnly = true; - // - // ApplyTimeColumn - // - this.ApplyTimeColumn.DataPropertyName = "ApplyTime"; - this.ApplyTimeColumn.HeaderText = "申请时间"; - this.ApplyTimeColumn.Name = "ApplyTimeColumn"; - // - // ApplyOperatorNameColumn - // - this.ApplyOperatorNameColumn.DataPropertyName = "ApplyOperatorName"; - this.ApplyOperatorNameColumn.HeaderText = "申请人"; - this.ApplyOperatorNameColumn.Name = "ApplyOperatorNameColumn"; - this.ApplyOperatorNameColumn.ReadOnly = true; - // - // VerifyTimeColumn - // - this.VerifyTimeColumn.DataPropertyName = "VerifyTime"; - this.VerifyTimeColumn.HeaderText = "审核时间"; - this.VerifyTimeColumn.Name = "VerifyTimeColumn"; - this.VerifyTimeColumn.ReadOnly = true; - // - // VerifyOperatorNameColumn - // - this.VerifyOperatorNameColumn.DataPropertyName = "VerifyOperatorName"; - this.VerifyOperatorNameColumn.HeaderText = "审核医生"; - this.VerifyOperatorNameColumn.Name = "VerifyOperatorNameColumn"; - this.VerifyOperatorNameColumn.ReadOnly = true; - // - // PlanOperationTimeColumn - // - this.PlanOperationTimeColumn.DataPropertyName = "PlanOperationTime"; - this.PlanOperationTimeColumn.HeaderText = "拟定手术时间"; - this.PlanOperationTimeColumn.Name = "PlanOperationTimeColumn"; - this.PlanOperationTimeColumn.ReadOnly = true; - // - // OperationRoomColumn - // - this.OperationRoomColumn.DataPropertyName = "OperationRoom"; - this.OperationRoomColumn.HeaderText = "手术间"; - this.OperationRoomColumn.Name = "OperationRoomColumn"; - this.OperationRoomColumn.ReadOnly = true; - // - // AnesthesiaDoctorColumn - // - this.AnesthesiaDoctorColumn.DataPropertyName = "AnesthesiaDoctor"; - this.AnesthesiaDoctorColumn.HeaderText = "麻醉医生"; - this.AnesthesiaDoctorColumn.Name = "AnesthesiaDoctorColumn"; - // - // InstrumentNurseColumn - // - this.InstrumentNurseColumn.DataPropertyName = "InstrumentNurse"; - this.InstrumentNurseColumn.HeaderText = "器械护士"; - this.InstrumentNurseColumn.Name = "InstrumentNurseColumn"; - // - // TourNurseColumn - // - this.TourNurseColumn.DataPropertyName = "TourNurse"; - this.TourNurseColumn.HeaderText = "巡回护士"; - this.TourNurseColumn.Name = "TourNurseColumn"; - // - // AnesthesiaDoctorSucceedColumn - // - this.AnesthesiaDoctorSucceedColumn.DataPropertyName = "AnesthesiaDoctorSucceed"; - this.AnesthesiaDoctorSucceedColumn.HeaderText = "麻醉接台"; - this.AnesthesiaDoctorSucceedColumn.Name = "AnesthesiaDoctorSucceedColumn"; - this.AnesthesiaDoctorSucceedColumn.ReadOnly = true; - // - // InstrumentNurseSucceedColumn - // - this.InstrumentNurseSucceedColumn.DataPropertyName = "InstrumentNurseSucceed"; - this.InstrumentNurseSucceedColumn.HeaderText = "器械接台"; - this.InstrumentNurseSucceedColumn.Name = "InstrumentNurseSucceedColumn"; - this.InstrumentNurseSucceedColumn.ReadOnly = true; - // - // TourNurseSucceedColumn - // - this.TourNurseSucceedColumn.DataPropertyName = "TourNurseSucceed"; - this.TourNurseSucceedColumn.HeaderText = "巡回接台"; - this.TourNurseSucceedColumn.Name = "TourNurseSucceedColumn"; - this.TourNurseSucceedColumn.ReadOnly = true; - // - // RemarkColumn - // - this.RemarkColumn.DataPropertyName = "Remark"; - this.RemarkColumn.HeaderText = "备注"; - this.RemarkColumn.Name = "RemarkColumn"; - this.RemarkColumn.ReadOnly = true; - // // panel2 // this.panel2.Controls.Add(this.txtName); @@ -652,6 +221,74 @@ this.panel2.Size = new System.Drawing.Size(1004, 78); this.panel2.TabIndex = 0; // + // txtName + // + this.txtName.Location = new System.Drawing.Point(433, 43); + this.txtName.Name = "txtName"; + this.txtName.Size = new System.Drawing.Size(118, 23); + this.txtName.TabIndex = 38; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.ForeColor = System.Drawing.Color.Black; + this.label5.Location = new System.Drawing.Point(387, 48); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(35, 14); + this.label5.TabIndex = 37; + this.label5.Text = "姓名"; + // + // txtArchivesNo + // + this.txtArchivesNo.Location = new System.Drawing.Point(271, 43); + this.txtArchivesNo.Name = "txtArchivesNo"; + this.txtArchivesNo.Size = new System.Drawing.Size(105, 23); + this.txtArchivesNo.TabIndex = 36; + // + // label6 + // + this.label6.AutoSize = true; + this.label6.ForeColor = System.Drawing.Color.Black; + this.label6.Location = new System.Drawing.Point(211, 48); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(49, 14); + this.label6.TabIndex = 35; + this.label6.Text = "病历号"; + // + // tokenEditor2 + // + // + // + // + this.tokenEditor2.BackgroundStyle.Class = "DateTimeInputBackground"; + this.tokenEditor2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.tokenEditor2.CheckBoxesVisible = true; + this.tokenEditor2.DropDownButtonVisible = true; + this.tokenEditor2.Location = new System.Drawing.Point(622, 43); + this.tokenEditor2.Margin = new System.Windows.Forms.Padding(2); + this.tokenEditor2.Name = "tokenEditor2"; + this.tokenEditor2.Separators.Add(";"); + this.tokenEditor2.Separators.Add(","); + this.tokenEditor2.Size = new System.Drawing.Size(207, 24); + this.tokenEditor2.TabIndex = 34; + // + // tokenEditor1 + // + // + // + // + this.tokenEditor1.BackgroundStyle.Class = "DateTimeInputBackground"; + this.tokenEditor1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.tokenEditor1.CheckBoxesVisible = true; + this.tokenEditor1.DropDownButtonVisible = true; + this.tokenEditor1.Location = new System.Drawing.Point(73, 11); + this.tokenEditor1.Margin = new System.Windows.Forms.Padding(2); + this.tokenEditor1.Name = "tokenEditor1"; + this.tokenEditor1.Separators.Add(";"); + this.tokenEditor1.Separators.Add(","); + this.tokenEditor1.Size = new System.Drawing.Size(207, 24); + this.tokenEditor1.TabIndex = 34; + // // panel4 // this.panel4.Controls.Add(this.rboZQ); @@ -704,6 +341,15 @@ this.btnFind.UseVisualStyleBackColor = true; this.btnFind.Click += new System.EventHandler(this.btnFind_Click); // + // label7 + // + this.label7.AutoSize = true; + this.label7.Location = new System.Drawing.Point(562, 48); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(49, 14); + this.label7.TabIndex = 14; + this.label7.Text = "手术间"; + // // dtpBegInDate // this.dtpBegInDate.CustomFormat = "yyyy-MM-dd"; @@ -767,82 +413,259 @@ this.label1.TabIndex = 0; this.label1.Text = "申请科室"; // - // tokenEditor1 + // dgv // + this.dgv.AllowUserToAddRows = false; + this.dgv.BackgroundColor = System.Drawing.Color.White; + this.dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dgv.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.CheckBoxColumn, + this.ApplyId, + this.StateColumn, + this.ApplyDepNameColumn, + this.SickBedColumn, + this.PatientType, + this.MdrecNoColumn, + this.PatientNameColumn, + this.SexColumn, + this.Age, + this.ApplyOperatorNameColumn, + this.OperationTypeColumn, + this.ApplyTimeColumn, + this.OrderOperationTimeColumn, + this.ApplyDiagnoseInfoNameColumn, + this.ApplyOperationInfoNameColumn, + this.AnaesthesiaMethodNameColumn, + this.OperationDoctorColumn, + this.Assistant1Column, + this.ApplyOperationPositionNameColumn, + this.OperationLevelNameColumn, + this.ApplyOperationCutTypeNameColumn, + this.AnesthesiaDoctorColumn, + this.TourNurseColumn, + this.InstrumentNurseColumn, + this.OperationRoomColumn, + this.PlanOrder, + this.RemarkColumn}); + this.dgv.Dock = System.Windows.Forms.DockStyle.Fill; + this.dgv.Location = new System.Drawing.Point(0, 0); + this.dgv.Name = "dgv"; + this.dgv.RowTemplate.Height = 23; + this.dgv.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect; + this.dgv.Size = new System.Drawing.Size(1004, 354); + this.dgv.TabIndex = 4; // + // CheckBoxColumn // + this.CheckBoxColumn.HeaderText = "选择"; + this.CheckBoxColumn.Name = "CheckBoxColumn"; + this.CheckBoxColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.CheckBoxColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.CheckBoxColumn.Width = 35; // - this.tokenEditor1.BackgroundStyle.Class = "DateTimeInputBackground"; - this.tokenEditor1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.tokenEditor1.CheckBoxesVisible = true; - this.tokenEditor1.DropDownButtonVisible = true; - this.tokenEditor1.Location = new System.Drawing.Point(73, 11); - this.tokenEditor1.Margin = new System.Windows.Forms.Padding(2); - this.tokenEditor1.Name = "tokenEditor1"; - this.tokenEditor1.Separators.Add(";"); - this.tokenEditor1.Separators.Add(","); - this.tokenEditor1.Size = new System.Drawing.Size(207, 24); - this.tokenEditor1.TabIndex = 34; + // ApplyId // - // txtName + this.ApplyId.DataPropertyName = "ApplyId"; + this.ApplyId.HeaderText = "ApplyId"; + this.ApplyId.Name = "ApplyId"; + this.ApplyId.ReadOnly = true; + this.ApplyId.Visible = false; // - this.txtName.Location = new System.Drawing.Point(433, 43); - this.txtName.Name = "txtName"; - this.txtName.Size = new System.Drawing.Size(118, 23); - this.txtName.TabIndex = 38; + // StateColumn // - // label5 + this.StateColumn.DataPropertyName = "State"; + this.StateColumn.HeaderText = "状态"; + this.StateColumn.Name = "StateColumn"; + this.StateColumn.ReadOnly = true; + this.StateColumn.Width = 60; // - this.label5.AutoSize = true; - this.label5.ForeColor = System.Drawing.Color.Black; - this.label5.Location = new System.Drawing.Point(387, 48); - this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(35, 14); - this.label5.TabIndex = 37; - this.label5.Text = "姓名"; + // ApplyDepNameColumn // - // txtArchivesNo + this.ApplyDepNameColumn.DataPropertyName = "ApplyDepName"; + this.ApplyDepNameColumn.HeaderText = "申请科室"; + this.ApplyDepNameColumn.Name = "ApplyDepNameColumn"; + this.ApplyDepNameColumn.ReadOnly = true; + this.ApplyDepNameColumn.Width = 80; // - this.txtArchivesNo.Location = new System.Drawing.Point(271, 43); - this.txtArchivesNo.Name = "txtArchivesNo"; - this.txtArchivesNo.Size = new System.Drawing.Size(105, 23); - this.txtArchivesNo.TabIndex = 36; + // SickBedColumn // - // label6 + this.SickBedColumn.DataPropertyName = "SickBed"; + this.SickBedColumn.HeaderText = "床位"; + this.SickBedColumn.Name = "SickBedColumn"; + this.SickBedColumn.ReadOnly = true; + this.SickBedColumn.Width = 40; // - this.label6.AutoSize = true; - this.label6.ForeColor = System.Drawing.Color.Black; - this.label6.Location = new System.Drawing.Point(211, 48); - this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(49, 14); - this.label6.TabIndex = 35; - this.label6.Text = "病历号"; + // PatientType // - // label7 + this.PatientType.DataPropertyName = "PatientType"; + this.PatientType.HeaderText = "患者类别"; + this.PatientType.Name = "PatientType"; + this.PatientType.Width = 80; // - this.label7.AutoSize = true; - this.label7.Location = new System.Drawing.Point(562, 48); - this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(49, 14); - this.label7.TabIndex = 14; - this.label7.Text = "手术间"; + // MdrecNoColumn // - // tokenEditor2 + this.MdrecNoColumn.DataPropertyName = "MdrecNo"; + this.MdrecNoColumn.HeaderText = "住院号"; + this.MdrecNoColumn.Name = "MdrecNoColumn"; + this.MdrecNoColumn.ReadOnly = true; + this.MdrecNoColumn.Width = 70; // + // PatientNameColumn // + this.PatientNameColumn.DataPropertyName = "PatientName"; + this.PatientNameColumn.HeaderText = "姓名"; + this.PatientNameColumn.Name = "PatientNameColumn"; + this.PatientNameColumn.ReadOnly = true; + this.PatientNameColumn.Width = 60; // + // SexColumn // - this.tokenEditor2.BackgroundStyle.Class = "DateTimeInputBackground"; - this.tokenEditor2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.tokenEditor2.CheckBoxesVisible = true; - this.tokenEditor2.DropDownButtonVisible = true; - this.tokenEditor2.Location = new System.Drawing.Point(622, 43); - this.tokenEditor2.Margin = new System.Windows.Forms.Padding(2); - this.tokenEditor2.Name = "tokenEditor2"; - this.tokenEditor2.Separators.Add(";"); - this.tokenEditor2.Separators.Add(","); - this.tokenEditor2.Size = new System.Drawing.Size(207, 24); - this.tokenEditor2.TabIndex = 34; + this.SexColumn.DataPropertyName = "Sex"; + this.SexColumn.HeaderText = "性别"; + this.SexColumn.Name = "SexColumn"; + this.SexColumn.ReadOnly = true; + this.SexColumn.Width = 40; + // + // Age + // + this.Age.DataPropertyName = "Age"; + this.Age.HeaderText = "年龄"; + this.Age.Name = "Age"; + this.Age.Width = 40; + // + // ApplyOperatorNameColumn + // + this.ApplyOperatorNameColumn.DataPropertyName = "ApplyOperatorName"; + this.ApplyOperatorNameColumn.HeaderText = "申请人"; + this.ApplyOperatorNameColumn.Name = "ApplyOperatorNameColumn"; + this.ApplyOperatorNameColumn.ReadOnly = true; + this.ApplyOperatorNameColumn.Width = 70; + // + // OperationTypeColumn + // + this.OperationTypeColumn.DataPropertyName = "OperationType"; + this.OperationTypeColumn.HeaderText = "手术类型"; + this.OperationTypeColumn.Name = "OperationTypeColumn"; + this.OperationTypeColumn.ReadOnly = true; + this.OperationTypeColumn.Width = 40; + // + // ApplyTimeColumn + // + this.ApplyTimeColumn.DataPropertyName = "ApplyTime"; + this.ApplyTimeColumn.HeaderText = "申请时间"; + this.ApplyTimeColumn.Name = "ApplyTimeColumn"; + this.ApplyTimeColumn.Width = 110; + // + // OrderOperationTimeColumn + // + this.OrderOperationTimeColumn.DataPropertyName = "OrderOperationTime"; + this.OrderOperationTimeColumn.HeaderText = "预约时间"; + this.OrderOperationTimeColumn.Name = "OrderOperationTimeColumn"; + this.OrderOperationTimeColumn.ReadOnly = true; + this.OrderOperationTimeColumn.Width = 110; + // + // ApplyDiagnoseInfoNameColumn + // + this.ApplyDiagnoseInfoNameColumn.DataPropertyName = "ApplyDiagnoseInfoName"; + this.ApplyDiagnoseInfoNameColumn.HeaderText = "术前诊断"; + this.ApplyDiagnoseInfoNameColumn.Name = "ApplyDiagnoseInfoNameColumn"; + this.ApplyDiagnoseInfoNameColumn.ReadOnly = true; + this.ApplyDiagnoseInfoNameColumn.Width = 150; + // + // ApplyOperationInfoNameColumn + // + this.ApplyOperationInfoNameColumn.DataPropertyName = "ApplyOperationInfoName"; + this.ApplyOperationInfoNameColumn.HeaderText = "拟施手术"; + this.ApplyOperationInfoNameColumn.Name = "ApplyOperationInfoNameColumn"; + this.ApplyOperationInfoNameColumn.ReadOnly = true; + this.ApplyOperationInfoNameColumn.Width = 150; + // + // AnaesthesiaMethodNameColumn + // + this.AnaesthesiaMethodNameColumn.DataPropertyName = "AnaesthesiaMethodName"; + this.AnaesthesiaMethodNameColumn.HeaderText = "拟施麻醉"; + this.AnaesthesiaMethodNameColumn.Name = "AnaesthesiaMethodNameColumn"; + this.AnaesthesiaMethodNameColumn.ReadOnly = true; + // + // OperationDoctorColumn + // + this.OperationDoctorColumn.DataPropertyName = "OperationDoctor"; + this.OperationDoctorColumn.HeaderText = "术者"; + this.OperationDoctorColumn.Name = "OperationDoctorColumn"; + this.OperationDoctorColumn.ReadOnly = true; + this.OperationDoctorColumn.Width = 60; + // + // Assistant1Column + // + this.Assistant1Column.DataPropertyName = "Assistants"; + this.Assistant1Column.HeaderText = "助手"; + this.Assistant1Column.Name = "Assistant1Column"; + this.Assistant1Column.Width = 90; + // + // ApplyOperationPositionNameColumn + // + this.ApplyOperationPositionNameColumn.DataPropertyName = "ApplyOperationPositionName"; + this.ApplyOperationPositionNameColumn.HeaderText = "手术部位"; + this.ApplyOperationPositionNameColumn.Name = "ApplyOperationPositionNameColumn"; + this.ApplyOperationPositionNameColumn.Width = 80; + // + // OperationLevelNameColumn + // + this.OperationLevelNameColumn.DataPropertyName = "OperationLevelName"; + this.OperationLevelNameColumn.HeaderText = "手术分级"; + this.OperationLevelNameColumn.Name = "OperationLevelNameColumn"; + this.OperationLevelNameColumn.ReadOnly = true; + this.OperationLevelNameColumn.Width = 80; + // + // ApplyOperationCutTypeNameColumn + // + this.ApplyOperationCutTypeNameColumn.DataPropertyName = "ApplyOperationCutTypeName"; + this.ApplyOperationCutTypeNameColumn.HeaderText = "切口类型"; + this.ApplyOperationCutTypeNameColumn.Name = "ApplyOperationCutTypeNameColumn"; + this.ApplyOperationCutTypeNameColumn.ReadOnly = true; + this.ApplyOperationCutTypeNameColumn.Width = 80; + // + // AnesthesiaDoctorColumn + // + this.AnesthesiaDoctorColumn.DataPropertyName = "AnesthesiaDoctor"; + this.AnesthesiaDoctorColumn.HeaderText = "麻醉"; + this.AnesthesiaDoctorColumn.Name = "AnesthesiaDoctorColumn"; + this.AnesthesiaDoctorColumn.Width = 60; + // + // TourNurseColumn + // + this.TourNurseColumn.DataPropertyName = "TourNurse"; + this.TourNurseColumn.HeaderText = "巡回"; + this.TourNurseColumn.Name = "TourNurseColumn"; + this.TourNurseColumn.Width = 60; + // + // InstrumentNurseColumn + // + this.InstrumentNurseColumn.DataPropertyName = "InstrumentNurse"; + this.InstrumentNurseColumn.HeaderText = "器械"; + this.InstrumentNurseColumn.Name = "InstrumentNurseColumn"; + this.InstrumentNurseColumn.Width = 60; + // + // OperationRoomColumn + // + this.OperationRoomColumn.DataPropertyName = "OperationRoom"; + this.OperationRoomColumn.HeaderText = "术间"; + this.OperationRoomColumn.Name = "OperationRoomColumn"; + this.OperationRoomColumn.ReadOnly = true; + this.OperationRoomColumn.Width = 40; + // + // PlanOrder + // + this.PlanOrder.DataPropertyName = "PlanOrder"; + this.PlanOrder.HeaderText = "台次"; + this.PlanOrder.Name = "PlanOrder"; + this.PlanOrder.Width = 40; + // + // RemarkColumn + // + this.RemarkColumn.DataPropertyName = "Remark"; + this.RemarkColumn.HeaderText = "备注"; + this.RemarkColumn.Name = "RemarkColumn"; // // frmOperationManage // @@ -860,11 +683,11 @@ this.toolStrip1.PerformLayout(); this.panel1.ResumeLayout(false); this.panel3.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.dgv)).EndInit(); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); this.panel4.ResumeLayout(false); this.panel4.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dgv)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); @@ -880,7 +703,6 @@ private System.Windows.Forms.Panel panel1; private System.Windows.Forms.Panel panel3; private System.Windows.Forms.Panel panel2; - private System.Windows.Forms.DataGridView dgv; private System.Windows.Forms.Label label1; private System.Windows.Forms.ComboBox cboDepartment; private System.Windows.Forms.DateTimePicker dtpBegInDate; @@ -891,55 +713,6 @@ private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; private System.Windows.Forms.ToolStripButton tsbExportExcel; private System.Windows.Forms.Button btnFind; - private System.Windows.Forms.DataGridViewCheckBoxColumn CheckBoxColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn ApplyId; - private System.Windows.Forms.DataGridViewTextBoxColumn MdrecNoColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn ArchivesNoColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn ApplyDepNameColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn PatientKindColume; - private System.Windows.Forms.DataGridViewTextBoxColumn PatientNameColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn SexColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn BirthDayColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn HeightColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn WeightColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn BloodTypeColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn RHBloodTypeColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn IlldistrictColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn SickBedColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn OperationTypeColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn OrderOperationTimeColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn OperationTimeLeightColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn StateColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn IsReturnOperationColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn IsPlanReturnOperationColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn ApplyDiagnoseInfoNameColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn DiagnoseRemarkColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn ApplyOperationInfoNameColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn OperationRemarkColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn OperationLevelNameColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn ApplyOperationCutTypeNameColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn ApplyOperationPositionNameColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn AnaesthesiaMethodNameColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn ContagionColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn OperationDoctorColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn Assistant1Column; - private System.Windows.Forms.DataGridViewTextBoxColumn Assistant2Column; - private System.Windows.Forms.DataGridViewTextBoxColumn Assistant3Column; - private System.Windows.Forms.DataGridViewTextBoxColumn InternColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn OtherColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn ApplyTimeColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn ApplyOperatorNameColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn VerifyTimeColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn VerifyOperatorNameColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn PlanOperationTimeColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn OperationRoomColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn AnesthesiaDoctorColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn InstrumentNurseColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn TourNurseColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn AnesthesiaDoctorSucceedColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn InstrumentNurseSucceedColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn TourNurseSucceedColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn RemarkColumn; private System.Windows.Forms.Panel panel4; private System.Windows.Forms.RadioButton rboZQ; private System.Windows.Forms.RadioButton rboJZ; @@ -952,5 +725,34 @@ private System.Windows.Forms.Label label6; private DevComponents.DotNetBar.Controls.TokenEditor tokenEditor2; private System.Windows.Forms.Label label7; + private System.Windows.Forms.DataGridView dgv; + private System.Windows.Forms.DataGridViewCheckBoxColumn CheckBoxColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn ApplyId; + private System.Windows.Forms.DataGridViewTextBoxColumn StateColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn ApplyDepNameColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn SickBedColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn PatientType; + private System.Windows.Forms.DataGridViewTextBoxColumn MdrecNoColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn PatientNameColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn SexColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn Age; + private System.Windows.Forms.DataGridViewTextBoxColumn ApplyOperatorNameColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn OperationTypeColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn ApplyTimeColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn OrderOperationTimeColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn ApplyDiagnoseInfoNameColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn ApplyOperationInfoNameColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn AnaesthesiaMethodNameColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn OperationDoctorColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn Assistant1Column; + private System.Windows.Forms.DataGridViewTextBoxColumn ApplyOperationPositionNameColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn OperationLevelNameColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn ApplyOperationCutTypeNameColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn AnesthesiaDoctorColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn TourNurseColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn InstrumentNurseColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn OperationRoomColumn; + private System.Windows.Forms.DataGridViewTextBoxColumn PlanOrder; + private System.Windows.Forms.DataGridViewTextBoxColumn RemarkColumn; } } \ No newline at end of file diff --git a/AIMS/OperationAfter/frmOperationManage.resx b/AIMS/OperationAfter/frmOperationManage.resx index 4efebb8..1d3da37 100644 --- a/AIMS/OperationAfter/frmOperationManage.resx +++ b/AIMS/OperationAfter/frmOperationManage.resx @@ -126,16 +126,19 @@ True - - True - - + True True - + + True + + + True + + True @@ -144,124 +147,58 @@ True - + True - - True - - - True - - - True - - - True - - - True - - + True True + + True + True - - True - - - True - - - True - - - True - True - - True - True - - True - - - True - - - True - - - True - True - - True - True True - + True - + True - - True - - - True - - - True - - - True - - - True - - - True - - - True - - + True True - - True - True - + True - + True - + True diff --git a/AIMS/OperationDoing/AnasRecordBill/frmAnasRecordBill2.Designer.cs b/AIMS/OperationDoing/AnasRecordBill/frmAnasRecordBill2.Designer.cs index 12771a4..7d95f12 100644 --- a/AIMS/OperationDoing/AnasRecordBill/frmAnasRecordBill2.Designer.cs +++ b/AIMS/OperationDoing/AnasRecordBill/frmAnasRecordBill2.Designer.cs @@ -130,6 +130,7 @@ this.picInRoom = new System.Windows.Forms.PictureBox(); this.txtInRoom1 = new System.Windows.Forms.Button(); this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); + this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.panel3.SuspendLayout(); this.panel14.SuspendLayout(); this.panel4.SuspendLayout(); @@ -859,7 +860,7 @@ this.superTabMain.TabIndex = 14; this.superTabMain.Tabs.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.spTabQXQDD, - this.spTabBM}); + this.spTabBM}); // // superTabControlPanel1 // @@ -1079,7 +1080,8 @@ this.panel17.Name = "panel17"; this.panel17.Size = new System.Drawing.Size(28, 28); this.panel17.TabIndex = 7; - this.panel17.Tag = "下一页"; + this.panel17.Tag = "未页"; + this.toolTip1.SetToolTip(this.panel17, "未页"); this.panel17.Click += new System.EventHandler(this.btnNextEndPage_Click); // // btnNextPage @@ -1092,6 +1094,7 @@ this.btnNextPage.Size = new System.Drawing.Size(28, 28); this.btnNextPage.TabIndex = 8; this.btnNextPage.Tag = "下一页"; + this.toolTip1.SetToolTip(this.btnNextPage, "下一页"); this.btnNextPage.Click += new System.EventHandler(this.btnNextPage_Click); // // panel18 @@ -1103,7 +1106,8 @@ this.panel18.Name = "panel18"; this.panel18.Size = new System.Drawing.Size(28, 28); this.panel18.TabIndex = 5; - this.panel18.Tag = "上一页"; + this.panel18.Tag = "首页"; + this.toolTip1.SetToolTip(this.panel18, "首页"); this.panel18.Click += new System.EventHandler(this.btnUpFsPage_Click); // // btnUpPage @@ -1116,6 +1120,7 @@ this.btnUpPage.Size = new System.Drawing.Size(28, 28); this.btnUpPage.TabIndex = 6; this.btnUpPage.Tag = "上一页"; + this.toolTip1.SetToolTip(this.btnUpPage, "上一页"); this.btnUpPage.Click += new System.EventHandler(this.btnUpPage_Click); // // plPrintBrowse @@ -1127,6 +1132,7 @@ this.plPrintBrowse.Name = "plPrintBrowse"; this.plPrintBrowse.Size = new System.Drawing.Size(28, 28); this.plPrintBrowse.TabIndex = 4; + this.toolTip1.SetToolTip(this.plPrintBrowse, "预览"); this.plPrintBrowse.Click += new System.EventHandler(this.plPrintBrowse_Click); // // plPrint @@ -1138,6 +1144,7 @@ this.plPrint.Name = "plPrint"; this.plPrint.Size = new System.Drawing.Size(28, 28); this.plPrint.TabIndex = 3; + this.toolTip1.SetToolTip(this.plPrint, "打印"); this.plPrint.Click += new System.EventHandler(this.plPrint_Click); // // plRefresh @@ -1149,6 +1156,7 @@ this.plRefresh.Name = "plRefresh"; this.plRefresh.Size = new System.Drawing.Size(28, 28); this.plRefresh.TabIndex = 2; + this.toolTip1.SetToolTip(this.plRefresh, "刷新"); this.plRefresh.Click += new System.EventHandler(this.plRefresh_Click); // // lblRoom @@ -2116,5 +2124,6 @@ private System.Windows.Forms.Panel btnNextPage; private System.Windows.Forms.Panel panel18; private System.Windows.Forms.Panel btnUpPage; + private System.Windows.Forms.ToolTip toolTip1; } } \ No newline at end of file diff --git a/AIMS/OperationDoing/AnasRecordBill/frmAnasRecordBill2.cs b/AIMS/OperationDoing/AnasRecordBill/frmAnasRecordBill2.cs index d65ce50..3e60885 100644 --- a/AIMS/OperationDoing/AnasRecordBill/frmAnasRecordBill2.cs +++ b/AIMS/OperationDoing/AnasRecordBill/frmAnasRecordBill2.cs @@ -87,6 +87,8 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI labOperatorName.Text = "(" + AIMSExtension.PublicMethod.OperatorNo + ")" + " " + AIMSExtension.PublicMethod.OperatorName; if (NowRoom != null) lblRoom.Text = NowRoom.Name; circularProgress1.Location = new Point((panel8.Width - circularProgress1.Width) / 2, (panel8.Height - circularProgress1.Height) / 2); + this.MaximizeBox = false; + this.MinimizeBox = false; LoadAnesRescue(); } diff --git a/AIMS/OperationDoing/AnasRecordBill/frmAnasRecordBill2.resx b/AIMS/OperationDoing/AnasRecordBill/frmAnasRecordBill2.resx index 35348c8..e6263d6 100644 --- a/AIMS/OperationDoing/AnasRecordBill/frmAnasRecordBill2.resx +++ b/AIMS/OperationDoing/AnasRecordBill/frmAnasRecordBill2.resx @@ -117,6 +117,9 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 17, 17 + 62 diff --git a/AIMS/OperationDoing/AnasRecordBill/frmAnasRecordInstrument.Designer.cs b/AIMS/OperationDoing/AnasRecordBill/frmAnasRecordInstrument.Designer.cs index d7ab11d..222a109 100644 --- a/AIMS/OperationDoing/AnasRecordBill/frmAnasRecordInstrument.Designer.cs +++ b/AIMS/OperationDoing/AnasRecordBill/frmAnasRecordInstrument.Designer.cs @@ -71,35 +71,6 @@ this.superTabMain = new DevComponents.DotNetBar.SuperTabControl(); this.superTabControlPanel1 = new DevComponents.DotNetBar.SuperTabControlPanel(); this.panelExZKZB = new DevComponents.DotNetBar.PanelEx(); - this.spTabQXQDD = new DevComponents.DotNetBar.SuperTabItem(); - this.panel7 = new System.Windows.Forms.Panel(); - this.panel21 = new System.Windows.Forms.Panel(); - this.plPrintBrowse = new System.Windows.Forms.Panel(); - this.PanelSave = new System.Windows.Forms.Panel(); - this.plPrint = new System.Windows.Forms.Panel(); - this.plRefresh = new System.Windows.Forms.Panel(); - this.lblRoom = new System.Windows.Forms.Label(); - this.label22 = new System.Windows.Forms.Label(); - this.labOperatorName = new System.Windows.Forms.Label(); - this.label19 = new System.Windows.Forms.Label(); - this.plTitleEventTime = new System.Windows.Forms.Panel(); - this.panel13 = new System.Windows.Forms.Panel(); - this.txtOutRoom = new DevComponents.Editors.DateTimeAdv.DateTimeInput(); - this.picOutRoom = new System.Windows.Forms.PictureBox(); - this.button5 = new System.Windows.Forms.Button(); - this.panel10 = new System.Windows.Forms.Panel(); - this.txtOperationBegin = new DevComponents.Editors.DateTimeAdv.DateTimeInput(); - this.picOpeBegin = new System.Windows.Forms.PictureBox(); - this.button2 = new System.Windows.Forms.Button(); - this.panel11 = new System.Windows.Forms.Panel(); - this.txtOperationEnd = new DevComponents.Editors.DateTimeAdv.DateTimeInput(); - this.picOpeEnd = new System.Windows.Forms.PictureBox(); - this.button3 = new System.Windows.Forms.Button(); - this.panel6 = new System.Windows.Forms.Panel(); - this.txtInRoom = new DevComponents.Editors.DateTimeAdv.DateTimeInput(); - this.picInRoom = new System.Windows.Forms.PictureBox(); - this.txtInRoom1 = new System.Windows.Forms.Button(); - this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); this.panel8 = new AIMS.PublicUI.UI.DrawPanel(); this.panelQX = new System.Windows.Forms.Panel(); this.plBottom = new System.Windows.Forms.Panel(); @@ -129,6 +100,36 @@ this.plTop = new System.Windows.Forms.Panel(); this.circularProgress1 = new DevComponents.DotNetBar.Controls.CircularProgress(); this.zgcAnaesRecord = new DrawGraph.ZedGraphControl(); + this.spTabQXQDD = new DevComponents.DotNetBar.SuperTabItem(); + this.panel7 = new System.Windows.Forms.Panel(); + this.panel21 = new System.Windows.Forms.Panel(); + this.plPrintBrowse = new System.Windows.Forms.Panel(); + this.PanelSave = new System.Windows.Forms.Panel(); + this.plPrint = new System.Windows.Forms.Panel(); + this.plRefresh = new System.Windows.Forms.Panel(); + this.lblRoom = new System.Windows.Forms.Label(); + this.label22 = new System.Windows.Forms.Label(); + this.labOperatorName = new System.Windows.Forms.Label(); + this.label19 = new System.Windows.Forms.Label(); + this.plTitleEventTime = new System.Windows.Forms.Panel(); + this.panel13 = new System.Windows.Forms.Panel(); + this.txtOutRoom = new DevComponents.Editors.DateTimeAdv.DateTimeInput(); + this.picOutRoom = new System.Windows.Forms.PictureBox(); + this.button5 = new System.Windows.Forms.Button(); + this.panel10 = new System.Windows.Forms.Panel(); + this.txtOperationBegin = new DevComponents.Editors.DateTimeAdv.DateTimeInput(); + this.picOpeBegin = new System.Windows.Forms.PictureBox(); + this.button2 = new System.Windows.Forms.Button(); + this.panel11 = new System.Windows.Forms.Panel(); + this.txtOperationEnd = new DevComponents.Editors.DateTimeAdv.DateTimeInput(); + this.picOpeEnd = new System.Windows.Forms.PictureBox(); + this.button3 = new System.Windows.Forms.Button(); + this.panel6 = new System.Windows.Forms.Panel(); + this.txtInRoom = new DevComponents.Editors.DateTimeAdv.DateTimeInput(); + this.picInRoom = new System.Windows.Forms.PictureBox(); + this.txtInRoom1 = new System.Windows.Forms.Button(); + this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); + this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.panel3.SuspendLayout(); this.panel14.SuspendLayout(); this.panel4.SuspendLayout(); @@ -138,6 +139,13 @@ this.superTabMain.SuspendLayout(); this.superTabControlPanel1.SuspendLayout(); this.panelExZKZB.SuspendLayout(); + this.panel8.SuspendLayout(); + this.panelQX.SuspendLayout(); + this.plBottom.SuspendLayout(); + this.panelButton.SuspendLayout(); + this.plTital.SuspendLayout(); + this.panel15.SuspendLayout(); + this.panel16.SuspendLayout(); this.panel7.SuspendLayout(); this.panel21.SuspendLayout(); this.plTitleEventTime.SuspendLayout(); @@ -153,13 +161,6 @@ this.panel6.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtInRoom)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.picInRoom)).BeginInit(); - this.panel8.SuspendLayout(); - this.panelQX.SuspendLayout(); - this.plBottom.SuspendLayout(); - this.panelButton.SuspendLayout(); - this.plTital.SuspendLayout(); - this.panel15.SuspendLayout(); - this.panel16.SuspendLayout(); this.SuspendLayout(); // // panel2 @@ -842,6 +843,403 @@ this.panelExZKZB.Style.GradientAngle = 90; this.panelExZKZB.TabIndex = 0; // + // panel8 + // + this.panel8.AutoScroll = true; + this.panel8.BackColor = System.Drawing.Color.White; + this.panel8.Controls.Add(this.panelQX); + this.panel8.Controls.Add(this.circularProgress1); + this.panel8.Controls.Add(this.zgcAnaesRecord); + this.panel8.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel8.Location = new System.Drawing.Point(0, 0); + this.panel8.Name = "panel8"; + this.panel8.Size = new System.Drawing.Size(1389, 803); + this.panel8.TabIndex = 2; + this.panel8.Scroll += new System.Windows.Forms.ScrollEventHandler(this.panel8_Scroll); + // + // panelQX + // + this.panelQX.BackColor = System.Drawing.Color.White; + this.panelQX.Controls.Add(this.plBottom); + this.panelQX.Controls.Add(this.plTop); + this.panelQX.Location = new System.Drawing.Point(217, 213); + this.panelQX.Margin = new System.Windows.Forms.Padding(0); + this.panelQX.Name = "panelQX"; + this.panelQX.Size = new System.Drawing.Size(952, 562); + this.panelQX.TabIndex = 12; + this.panelQX.Visible = false; + // + // plBottom + // + this.plBottom.BackColor = System.Drawing.Color.White; + this.plBottom.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.plBottom.Controls.Add(this.panelButton); + this.plBottom.Controls.Add(this.panelQXList); + this.plBottom.Controls.Add(this.plTital); + this.plBottom.Dock = System.Windows.Forms.DockStyle.Fill; + this.plBottom.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.plBottom.Location = new System.Drawing.Point(0, 2); + this.plBottom.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.plBottom.Name = "plBottom"; + this.plBottom.Size = new System.Drawing.Size(952, 560); + this.plBottom.TabIndex = 1355; + // + // panelButton + // + this.panelButton.Controls.Add(this.txtRemark); + this.panelButton.Controls.Add(this.label18); + this.panelButton.Controls.Add(this.label26); + this.panelButton.Controls.Add(this.label27); + this.panelButton.Controls.Add(this.txtTourNurse); + this.panelButton.Controls.Add(this.txtInstrumentNurse); + this.panelButton.Dock = System.Windows.Forms.DockStyle.Top; + this.panelButton.Location = new System.Drawing.Point(0, 425); + this.panelButton.Name = "panelButton"; + this.panelButton.Size = new System.Drawing.Size(950, 141); + this.panelButton.TabIndex = 1351; + // + // txtRemark + // + this.txtRemark.BackColor = System.Drawing.Color.White; + // + // + // + this.txtRemark.Border.BackColor = System.Drawing.SystemColors.Desktop; + this.txtRemark.Border.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtRemark.Border.BorderBottomColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(227)))), ((int)(((byte)(231))))); + this.txtRemark.Border.BorderBottomWidth = 1; + this.txtRemark.Border.BorderColor = System.Drawing.SystemColors.Desktop; + this.txtRemark.Border.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtRemark.Border.BorderLeftWidth = 1; + this.txtRemark.Border.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtRemark.Border.BorderRightWidth = 1; + this.txtRemark.Border.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtRemark.Border.BorderTopWidth = 1; + this.txtRemark.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.txtRemark.DisabledBackColor = System.Drawing.Color.White; + this.txtRemark.Font = new System.Drawing.Font("微软雅黑", 10.5F); + this.txtRemark.ForeColor = System.Drawing.Color.Black; + this.txtRemark.Location = new System.Drawing.Point(103, 25); + this.txtRemark.Multiline = true; + this.txtRemark.Name = "txtRemark"; + this.txtRemark.Size = new System.Drawing.Size(722, 75); + this.txtRemark.TabIndex = 849; + // + // label18 + // + this.label18.AutoSize = true; + this.label18.Font = new System.Drawing.Font("微软雅黑", 12F); + this.label18.Location = new System.Drawing.Point(37, 48); + this.label18.Name = "label18"; + this.label18.Size = new System.Drawing.Size(42, 21); + this.label18.TabIndex = 851; + this.label18.Text = "备注"; + // + // label26 + // + this.label26.AutoSize = true; + this.label26.Font = new System.Drawing.Font("微软雅黑", 12F); + this.label26.Location = new System.Drawing.Point(37, 105); + this.label26.Name = "label26"; + this.label26.Size = new System.Drawing.Size(74, 21); + this.label26.TabIndex = 851; + this.label26.Text = "巡回护士"; + // + // label27 + // + this.label27.AutoSize = true; + this.label27.Font = new System.Drawing.Font("微软雅黑", 12F); + this.label27.Location = new System.Drawing.Point(519, 105); + this.label27.Name = "label27"; + this.label27.Size = new System.Drawing.Size(74, 21); + this.label27.TabIndex = 850; + this.label27.Text = "器械护士"; + // + // txtTourNurse + // + this.txtTourNurse.BackColor = System.Drawing.Color.White; + // + // + // + this.txtTourNurse.Border.BackColor = System.Drawing.SystemColors.Desktop; + this.txtTourNurse.Border.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtTourNurse.Border.BorderBottomColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(227)))), ((int)(((byte)(231))))); + this.txtTourNurse.Border.BorderBottomWidth = 1; + this.txtTourNurse.Border.BorderColor = System.Drawing.SystemColors.Desktop; + this.txtTourNurse.Border.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtTourNurse.Border.BorderLeftWidth = 1; + this.txtTourNurse.Border.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtTourNurse.Border.BorderRightWidth = 1; + this.txtTourNurse.Border.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtTourNurse.Border.BorderTopWidth = 1; + this.txtTourNurse.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.txtTourNurse.DisabledBackColor = System.Drawing.Color.White; + this.txtTourNurse.ForeColor = System.Drawing.Color.Black; + this.txtTourNurse.Location = new System.Drawing.Point(129, 106); + this.txtTourNurse.Name = "txtTourNurse"; + this.txtTourNurse.Size = new System.Drawing.Size(120, 22); + this.txtTourNurse.TabIndex = 847; + this.txtTourNurse.Click += new System.EventHandler(this.txtTourNurse_Click); + // + // txtInstrumentNurse + // + this.txtInstrumentNurse.BackColor = System.Drawing.Color.White; + // + // + // + this.txtInstrumentNurse.Border.BackColor = System.Drawing.SystemColors.Desktop; + this.txtInstrumentNurse.Border.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtInstrumentNurse.Border.BorderBottomColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(227)))), ((int)(((byte)(231))))); + this.txtInstrumentNurse.Border.BorderBottomWidth = 1; + this.txtInstrumentNurse.Border.BorderColor = System.Drawing.SystemColors.Desktop; + this.txtInstrumentNurse.Border.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtInstrumentNurse.Border.BorderLeftWidth = 1; + this.txtInstrumentNurse.Border.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtInstrumentNurse.Border.BorderRightWidth = 1; + this.txtInstrumentNurse.Border.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtInstrumentNurse.Border.BorderTopWidth = 1; + this.txtInstrumentNurse.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.txtInstrumentNurse.DisabledBackColor = System.Drawing.Color.White; + this.txtInstrumentNurse.ForeColor = System.Drawing.Color.Black; + this.txtInstrumentNurse.Location = new System.Drawing.Point(599, 106); + this.txtInstrumentNurse.Name = "txtInstrumentNurse"; + this.txtInstrumentNurse.Size = new System.Drawing.Size(120, 22); + this.txtInstrumentNurse.TabIndex = 848; + this.txtInstrumentNurse.Click += new System.EventHandler(this.txtInstrumentNurse_Click); + // + // panelQXList + // + this.panelQXList.Dock = System.Windows.Forms.DockStyle.Top; + this.panelQXList.Location = new System.Drawing.Point(0, 47); + this.panelQXList.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.panelQXList.Name = "panelQXList"; + this.panelQXList.Size = new System.Drawing.Size(950, 378); + this.panelQXList.TabIndex = 1350; + // + // plTital + // + this.plTital.BackColor = System.Drawing.SystemColors.Control; + this.plTital.Controls.Add(this.panel15); + this.plTital.Controls.Add(this.panel16); + this.plTital.Dock = System.Windows.Forms.DockStyle.Top; + this.plTital.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.plTital.Location = new System.Drawing.Point(0, 0); + this.plTital.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.plTital.Name = "plTital"; + this.plTital.Size = new System.Drawing.Size(950, 47); + this.plTital.TabIndex = 1349; + // + // panel15 + // + this.panel15.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel15.Controls.Add(this.label11); + this.panel15.Controls.Add(this.label12); + this.panel15.Controls.Add(this.label13); + this.panel15.Controls.Add(this.label14); + this.panel15.Controls.Add(this.label17); + this.panel15.Controls.Add(this.label15); + this.panel15.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel15.Location = new System.Drawing.Point(477, 0); + this.panel15.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.panel15.Name = "panel15"; + this.panel15.Size = new System.Drawing.Size(473, 47); + this.panel15.TabIndex = 13; + // + // label11 + // + this.label11.AutoSize = true; + this.label11.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label11.Location = new System.Drawing.Point(42, 5); + this.label11.Name = "label11"; + this.label11.Size = new System.Drawing.Size(32, 34); + this.label11.TabIndex = 9; + this.label11.Text = "器械\r\n名称"; + // + // label12 + // + this.label12.AutoSize = true; + this.label12.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label12.Location = new System.Drawing.Point(140, 5); + this.label12.Margin = new System.Windows.Forms.Padding(0); + this.label12.Name = "label12"; + this.label12.Size = new System.Drawing.Size(32, 34); + this.label12.TabIndex = 10; + this.label12.Text = "术前\r\n清点"; + this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label13 + // + this.label13.AutoSize = true; + this.label13.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label13.Location = new System.Drawing.Point(208, 5); + this.label13.Name = "label13"; + this.label13.Size = new System.Drawing.Size(32, 34); + this.label13.TabIndex = 12; + this.label13.Text = "术中\r\n加数"; + // + // label14 + // + this.label14.AutoSize = true; + this.label14.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label14.Location = new System.Drawing.Point(276, 5); + this.label14.Margin = new System.Windows.Forms.Padding(0); + this.label14.Name = "label14"; + this.label14.Size = new System.Drawing.Size(32, 34); + this.label14.TabIndex = 8; + this.label14.Text = "关体\r\n腔前"; + // + // label17 + // + this.label17.AutoSize = true; + this.label17.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label17.Location = new System.Drawing.Point(412, 5); + this.label17.Name = "label17"; + this.label17.Size = new System.Drawing.Size(32, 34); + this.label17.TabIndex = 11; + this.label17.Text = "缝合\r\n皮后"; + // + // label15 + // + this.label15.AutoSize = true; + this.label15.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label15.Location = new System.Drawing.Point(344, 5); + this.label15.Name = "label15"; + this.label15.Size = new System.Drawing.Size(32, 34); + this.label15.TabIndex = 11; + this.label15.Text = "关体\r\n腔后"; + // + // panel16 + // + this.panel16.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel16.Controls.Add(this.label65); + this.panel16.Controls.Add(this.label57); + this.panel16.Controls.Add(this.label59); + this.panel16.Controls.Add(this.label16); + this.panel16.Controls.Add(this.label66); + this.panel16.Controls.Add(this.label58); + this.panel16.Dock = System.Windows.Forms.DockStyle.Left; + this.panel16.Location = new System.Drawing.Point(0, 0); + this.panel16.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.panel16.Name = "panel16"; + this.panel16.Size = new System.Drawing.Size(477, 47); + this.panel16.TabIndex = 11; + // + // label65 + // + this.label65.AutoSize = true; + this.label65.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label65.Location = new System.Drawing.Point(46, 5); + this.label65.Name = "label65"; + this.label65.Size = new System.Drawing.Size(32, 34); + this.label65.TabIndex = 9; + this.label65.Text = "器械\r\n名称"; + // + // label57 + // + this.label57.AutoSize = true; + this.label57.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label57.Location = new System.Drawing.Point(139, 5); + this.label57.Margin = new System.Windows.Forms.Padding(0); + this.label57.Name = "label57"; + this.label57.Size = new System.Drawing.Size(32, 34); + this.label57.TabIndex = 10; + this.label57.Text = "术前\r\n清点"; + this.label57.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label59 + // + this.label59.AutoSize = true; + this.label59.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label59.Location = new System.Drawing.Point(277, 5); + this.label59.Margin = new System.Windows.Forms.Padding(0); + this.label59.Name = "label59"; + this.label59.Size = new System.Drawing.Size(32, 34); + this.label59.TabIndex = 8; + this.label59.Text = "关体\r\n腔前"; + // + // label16 + // + this.label16.AutoSize = true; + this.label16.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label16.Location = new System.Drawing.Point(415, 5); + this.label16.Name = "label16"; + this.label16.Size = new System.Drawing.Size(32, 34); + this.label16.TabIndex = 11; + this.label16.Text = "缝合\r\n皮后"; + // + // label66 + // + this.label66.AutoSize = true; + this.label66.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label66.Location = new System.Drawing.Point(346, 5); + this.label66.Name = "label66"; + this.label66.Size = new System.Drawing.Size(32, 34); + this.label66.TabIndex = 11; + this.label66.Text = "关体\r\n腔后"; + // + // label58 + // + this.label58.AutoSize = true; + this.label58.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label58.Location = new System.Drawing.Point(208, 5); + this.label58.Name = "label58"; + this.label58.Size = new System.Drawing.Size(32, 34); + this.label58.TabIndex = 12; + this.label58.Text = "术中\r\n加数"; + // + // plTop + // + this.plTop.BackColor = System.Drawing.Color.White; + this.plTop.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.plTop.Dock = System.Windows.Forms.DockStyle.Top; + this.plTop.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.plTop.Location = new System.Drawing.Point(0, 0); + this.plTop.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.plTop.Name = "plTop"; + this.plTop.Size = new System.Drawing.Size(952, 2); + this.plTop.TabIndex = 22; + // + // circularProgress1 + // + this.circularProgress1.AnimationSpeed = 50; + // + // + // + this.circularProgress1.BackgroundStyle.BackgroundImageAlpha = ((byte)(0)); + this.circularProgress1.BackgroundStyle.BackgroundImagePosition = DevComponents.DotNetBar.eStyleBackgroundImage.Zoom; + this.circularProgress1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.circularProgress1.FocusCuesEnabled = false; + this.circularProgress1.Font = new System.Drawing.Font("微软雅黑", 9F); + this.circularProgress1.Location = new System.Drawing.Point(602, 274); + this.circularProgress1.Margin = new System.Windows.Forms.Padding(4); + this.circularProgress1.Name = "circularProgress1"; + this.circularProgress1.ProgressColor = System.Drawing.Color.DodgerBlue; + this.circularProgress1.Size = new System.Drawing.Size(389, 239); + this.circularProgress1.Style = DevComponents.DotNetBar.eDotNetBarStyle.OfficeXP; + this.circularProgress1.TabIndex = 6; + this.circularProgress1.Value = 100; + // + // zgcAnaesRecord + // + this.zgcAnaesRecord.Location = new System.Drawing.Point(416, 41); + this.zgcAnaesRecord.Name = "zgcAnaesRecord"; + this.zgcAnaesRecord.ScrollGrace = 0D; + this.zgcAnaesRecord.ScrollMaxX = 0D; + this.zgcAnaesRecord.ScrollMaxY = 0D; + this.zgcAnaesRecord.ScrollMaxY2 = 0D; + this.zgcAnaesRecord.ScrollMinX = 0D; + this.zgcAnaesRecord.ScrollMinY = 0D; + this.zgcAnaesRecord.ScrollMinY2 = 0D; + this.zgcAnaesRecord.Size = new System.Drawing.Size(800, 1000); + this.zgcAnaesRecord.TabIndex = 0; + this.zgcAnaesRecord.Visible = false; + this.zgcAnaesRecord.ContextMenuBuilder += new DrawGraph.ZedGraphControl.ContextMenuBuilderEventHandler(this.zgcAnaesRecord_ContextMenuBuilder); + this.zgcAnaesRecord.MouseDownEvent += new DrawGraph.ZedGraphControl.ZedMouseEventHandler(this.zgcAnaesRecord_MouseDownEvent); + this.zgcAnaesRecord.MouseUpEvent += new DrawGraph.ZedGraphControl.ZedMouseEventHandler(this.zgcAnaesRecord_MouseUpEvent); + this.zgcAnaesRecord.MouseMoveEvent += new DrawGraph.ZedGraphControl.ZedMouseEventHandler(this.zgcAnaesRecord_MouseMoveEvent); + this.zgcAnaesRecord.KeyUp += new System.Windows.Forms.KeyEventHandler(this.zgcAnaesRecord_KeyUp); + this.zgcAnaesRecord.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.zgcAnaesRecord_MouseDoubleClick); + // // spTabQXQDD // this.spTabQXQDD.AttachedControl = this.superTabControlPanel1; @@ -884,6 +1282,7 @@ this.plPrintBrowse.Name = "plPrintBrowse"; this.plPrintBrowse.Size = new System.Drawing.Size(28, 28); this.plPrintBrowse.TabIndex = 4; + this.toolTip1.SetToolTip(this.plPrintBrowse, "预览"); this.plPrintBrowse.Click += new System.EventHandler(this.plPrintBrowse_Click); // // PanelSave @@ -895,6 +1294,7 @@ this.PanelSave.Name = "PanelSave"; this.PanelSave.Size = new System.Drawing.Size(28, 28); this.PanelSave.TabIndex = 3; + this.toolTip1.SetToolTip(this.PanelSave, "保存"); this.PanelSave.Click += new System.EventHandler(this.PanelSave_Click); // // plPrint @@ -906,6 +1306,7 @@ this.plPrint.Name = "plPrint"; this.plPrint.Size = new System.Drawing.Size(28, 28); this.plPrint.TabIndex = 3; + this.toolTip1.SetToolTip(this.plPrint, "打印"); this.plPrint.Click += new System.EventHandler(this.plPrint_Click); // // plRefresh @@ -917,6 +1318,7 @@ this.plRefresh.Name = "plRefresh"; this.plRefresh.Size = new System.Drawing.Size(28, 28); this.plRefresh.TabIndex = 2; + this.toolTip1.SetToolTip(this.plRefresh, "刷新"); this.plRefresh.Click += new System.EventHandler(this.plRefresh_Click); // // lblRoom @@ -1351,403 +1753,6 @@ this.flowLayoutPanel1.Size = new System.Drawing.Size(147, 71); this.flowLayoutPanel1.TabIndex = 0; // - // panel8 - // - this.panel8.AutoScroll = true; - this.panel8.BackColor = System.Drawing.Color.White; - this.panel8.Controls.Add(this.panelQX); - this.panel8.Controls.Add(this.circularProgress1); - this.panel8.Controls.Add(this.zgcAnaesRecord); - this.panel8.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel8.Location = new System.Drawing.Point(0, 0); - this.panel8.Name = "panel8"; - this.panel8.Size = new System.Drawing.Size(1389, 803); - this.panel8.TabIndex = 2; - this.panel8.Scroll += new System.Windows.Forms.ScrollEventHandler(this.panel8_Scroll); - // - // panelQX - // - this.panelQX.BackColor = System.Drawing.Color.White; - this.panelQX.Controls.Add(this.plBottom); - this.panelQX.Controls.Add(this.plTop); - this.panelQX.Location = new System.Drawing.Point(217, 213); - this.panelQX.Margin = new System.Windows.Forms.Padding(0); - this.panelQX.Name = "panelQX"; - this.panelQX.Size = new System.Drawing.Size(952, 562); - this.panelQX.TabIndex = 12; - this.panelQX.Visible = false; - // - // plBottom - // - this.plBottom.BackColor = System.Drawing.Color.White; - this.plBottom.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.plBottom.Controls.Add(this.panelButton); - this.plBottom.Controls.Add(this.panelQXList); - this.plBottom.Controls.Add(this.plTital); - this.plBottom.Dock = System.Windows.Forms.DockStyle.Fill; - this.plBottom.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.plBottom.Location = new System.Drawing.Point(0, 2); - this.plBottom.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); - this.plBottom.Name = "plBottom"; - this.plBottom.Size = new System.Drawing.Size(952, 560); - this.plBottom.TabIndex = 1355; - // - // panelButton - // - this.panelButton.Controls.Add(this.txtRemark); - this.panelButton.Controls.Add(this.label18); - this.panelButton.Controls.Add(this.label26); - this.panelButton.Controls.Add(this.label27); - this.panelButton.Controls.Add(this.txtTourNurse); - this.panelButton.Controls.Add(this.txtInstrumentNurse); - this.panelButton.Dock = System.Windows.Forms.DockStyle.Top; - this.panelButton.Location = new System.Drawing.Point(0, 425); - this.panelButton.Name = "panelButton"; - this.panelButton.Size = new System.Drawing.Size(950, 141); - this.panelButton.TabIndex = 1351; - // - // txtRemark - // - this.txtRemark.BackColor = System.Drawing.Color.White; - // - // - // - this.txtRemark.Border.BackColor = System.Drawing.SystemColors.Desktop; - this.txtRemark.Border.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.txtRemark.Border.BorderBottomColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(227)))), ((int)(((byte)(231))))); - this.txtRemark.Border.BorderBottomWidth = 1; - this.txtRemark.Border.BorderColor = System.Drawing.SystemColors.Desktop; - this.txtRemark.Border.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.txtRemark.Border.BorderLeftWidth = 1; - this.txtRemark.Border.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.txtRemark.Border.BorderRightWidth = 1; - this.txtRemark.Border.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.txtRemark.Border.BorderTopWidth = 1; - this.txtRemark.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.txtRemark.DisabledBackColor = System.Drawing.Color.White; - this.txtRemark.Font = new System.Drawing.Font("微软雅黑", 10.5F); - this.txtRemark.ForeColor = System.Drawing.Color.Black; - this.txtRemark.Location = new System.Drawing.Point(103, 25); - this.txtRemark.Multiline = true; - this.txtRemark.Name = "txtRemark"; - this.txtRemark.Size = new System.Drawing.Size(722, 75); - this.txtRemark.TabIndex = 849; - // - // label18 - // - this.label18.AutoSize = true; - this.label18.Font = new System.Drawing.Font("微软雅黑", 12F); - this.label18.Location = new System.Drawing.Point(37, 48); - this.label18.Name = "label18"; - this.label18.Size = new System.Drawing.Size(42, 21); - this.label18.TabIndex = 851; - this.label18.Text = "备注"; - // - // label26 - // - this.label26.AutoSize = true; - this.label26.Font = new System.Drawing.Font("微软雅黑", 12F); - this.label26.Location = new System.Drawing.Point(37, 105); - this.label26.Name = "label26"; - this.label26.Size = new System.Drawing.Size(74, 21); - this.label26.TabIndex = 851; - this.label26.Text = "巡回护士"; - // - // label27 - // - this.label27.AutoSize = true; - this.label27.Font = new System.Drawing.Font("微软雅黑", 12F); - this.label27.Location = new System.Drawing.Point(519, 105); - this.label27.Name = "label27"; - this.label27.Size = new System.Drawing.Size(74, 21); - this.label27.TabIndex = 850; - this.label27.Text = "器械护士"; - // - // txtTourNurse - // - this.txtTourNurse.BackColor = System.Drawing.Color.White; - // - // - // - this.txtTourNurse.Border.BackColor = System.Drawing.SystemColors.Desktop; - this.txtTourNurse.Border.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.txtTourNurse.Border.BorderBottomColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(227)))), ((int)(((byte)(231))))); - this.txtTourNurse.Border.BorderBottomWidth = 1; - this.txtTourNurse.Border.BorderColor = System.Drawing.SystemColors.Desktop; - this.txtTourNurse.Border.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.txtTourNurse.Border.BorderLeftWidth = 1; - this.txtTourNurse.Border.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.txtTourNurse.Border.BorderRightWidth = 1; - this.txtTourNurse.Border.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.txtTourNurse.Border.BorderTopWidth = 1; - this.txtTourNurse.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.txtTourNurse.DisabledBackColor = System.Drawing.Color.White; - this.txtTourNurse.ForeColor = System.Drawing.Color.Black; - this.txtTourNurse.Location = new System.Drawing.Point(129, 106); - this.txtTourNurse.Name = "txtTourNurse"; - this.txtTourNurse.Size = new System.Drawing.Size(120, 22); - this.txtTourNurse.TabIndex = 847; - this.txtTourNurse.Click += new System.EventHandler(this.txtTourNurse_Click); - // - // txtInstrumentNurse - // - this.txtInstrumentNurse.BackColor = System.Drawing.Color.White; - // - // - // - this.txtInstrumentNurse.Border.BackColor = System.Drawing.SystemColors.Desktop; - this.txtInstrumentNurse.Border.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.txtInstrumentNurse.Border.BorderBottomColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(227)))), ((int)(((byte)(231))))); - this.txtInstrumentNurse.Border.BorderBottomWidth = 1; - this.txtInstrumentNurse.Border.BorderColor = System.Drawing.SystemColors.Desktop; - this.txtInstrumentNurse.Border.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.txtInstrumentNurse.Border.BorderLeftWidth = 1; - this.txtInstrumentNurse.Border.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.txtInstrumentNurse.Border.BorderRightWidth = 1; - this.txtInstrumentNurse.Border.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.txtInstrumentNurse.Border.BorderTopWidth = 1; - this.txtInstrumentNurse.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.txtInstrumentNurse.DisabledBackColor = System.Drawing.Color.White; - this.txtInstrumentNurse.ForeColor = System.Drawing.Color.Black; - this.txtInstrumentNurse.Location = new System.Drawing.Point(599, 106); - this.txtInstrumentNurse.Name = "txtInstrumentNurse"; - this.txtInstrumentNurse.Size = new System.Drawing.Size(120, 22); - this.txtInstrumentNurse.TabIndex = 848; - this.txtInstrumentNurse.Click += new System.EventHandler(this.txtInstrumentNurse_Click); - // - // panelQXList - // - this.panelQXList.Dock = System.Windows.Forms.DockStyle.Top; - this.panelQXList.Location = new System.Drawing.Point(0, 47); - this.panelQXList.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); - this.panelQXList.Name = "panelQXList"; - this.panelQXList.Size = new System.Drawing.Size(950, 378); - this.panelQXList.TabIndex = 1350; - // - // plTital - // - this.plTital.BackColor = System.Drawing.SystemColors.Control; - this.plTital.Controls.Add(this.panel15); - this.plTital.Controls.Add(this.panel16); - this.plTital.Dock = System.Windows.Forms.DockStyle.Top; - this.plTital.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.plTital.Location = new System.Drawing.Point(0, 0); - this.plTital.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); - this.plTital.Name = "plTital"; - this.plTital.Size = new System.Drawing.Size(950, 47); - this.plTital.TabIndex = 1349; - // - // panel15 - // - this.panel15.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel15.Controls.Add(this.label11); - this.panel15.Controls.Add(this.label12); - this.panel15.Controls.Add(this.label13); - this.panel15.Controls.Add(this.label14); - this.panel15.Controls.Add(this.label17); - this.panel15.Controls.Add(this.label15); - this.panel15.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel15.Location = new System.Drawing.Point(477, 0); - this.panel15.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); - this.panel15.Name = "panel15"; - this.panel15.Size = new System.Drawing.Size(473, 47); - this.panel15.TabIndex = 13; - // - // label11 - // - this.label11.AutoSize = true; - this.label11.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label11.Location = new System.Drawing.Point(42, 5); - this.label11.Name = "label11"; - this.label11.Size = new System.Drawing.Size(32, 34); - this.label11.TabIndex = 9; - this.label11.Text = "器械\r\n名称"; - // - // label12 - // - this.label12.AutoSize = true; - this.label12.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label12.Location = new System.Drawing.Point(140, 5); - this.label12.Margin = new System.Windows.Forms.Padding(0); - this.label12.Name = "label12"; - this.label12.Size = new System.Drawing.Size(32, 34); - this.label12.TabIndex = 10; - this.label12.Text = "术前\r\n清点"; - this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label13 - // - this.label13.AutoSize = true; - this.label13.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label13.Location = new System.Drawing.Point(208, 5); - this.label13.Name = "label13"; - this.label13.Size = new System.Drawing.Size(32, 34); - this.label13.TabIndex = 12; - this.label13.Text = "术中\r\n加数"; - // - // label14 - // - this.label14.AutoSize = true; - this.label14.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label14.Location = new System.Drawing.Point(276, 5); - this.label14.Margin = new System.Windows.Forms.Padding(0); - this.label14.Name = "label14"; - this.label14.Size = new System.Drawing.Size(32, 34); - this.label14.TabIndex = 8; - this.label14.Text = "关体\r\n腔前"; - // - // label17 - // - this.label17.AutoSize = true; - this.label17.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label17.Location = new System.Drawing.Point(412, 5); - this.label17.Name = "label17"; - this.label17.Size = new System.Drawing.Size(32, 34); - this.label17.TabIndex = 11; - this.label17.Text = "缝合\r\n皮后"; - // - // label15 - // - this.label15.AutoSize = true; - this.label15.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label15.Location = new System.Drawing.Point(344, 5); - this.label15.Name = "label15"; - this.label15.Size = new System.Drawing.Size(32, 34); - this.label15.TabIndex = 11; - this.label15.Text = "关体\r\n腔后"; - // - // panel16 - // - this.panel16.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel16.Controls.Add(this.label65); - this.panel16.Controls.Add(this.label57); - this.panel16.Controls.Add(this.label59); - this.panel16.Controls.Add(this.label16); - this.panel16.Controls.Add(this.label66); - this.panel16.Controls.Add(this.label58); - this.panel16.Dock = System.Windows.Forms.DockStyle.Left; - this.panel16.Location = new System.Drawing.Point(0, 0); - this.panel16.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); - this.panel16.Name = "panel16"; - this.panel16.Size = new System.Drawing.Size(477, 47); - this.panel16.TabIndex = 11; - // - // label65 - // - this.label65.AutoSize = true; - this.label65.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label65.Location = new System.Drawing.Point(46, 5); - this.label65.Name = "label65"; - this.label65.Size = new System.Drawing.Size(32, 34); - this.label65.TabIndex = 9; - this.label65.Text = "器械\r\n名称"; - // - // label57 - // - this.label57.AutoSize = true; - this.label57.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label57.Location = new System.Drawing.Point(139, 5); - this.label57.Margin = new System.Windows.Forms.Padding(0); - this.label57.Name = "label57"; - this.label57.Size = new System.Drawing.Size(32, 34); - this.label57.TabIndex = 10; - this.label57.Text = "术前\r\n清点"; - this.label57.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label59 - // - this.label59.AutoSize = true; - this.label59.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label59.Location = new System.Drawing.Point(277, 5); - this.label59.Margin = new System.Windows.Forms.Padding(0); - this.label59.Name = "label59"; - this.label59.Size = new System.Drawing.Size(32, 34); - this.label59.TabIndex = 8; - this.label59.Text = "关体\r\n腔前"; - // - // label16 - // - this.label16.AutoSize = true; - this.label16.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label16.Location = new System.Drawing.Point(415, 5); - this.label16.Name = "label16"; - this.label16.Size = new System.Drawing.Size(32, 34); - this.label16.TabIndex = 11; - this.label16.Text = "缝合\r\n皮后"; - // - // label66 - // - this.label66.AutoSize = true; - this.label66.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label66.Location = new System.Drawing.Point(346, 5); - this.label66.Name = "label66"; - this.label66.Size = new System.Drawing.Size(32, 34); - this.label66.TabIndex = 11; - this.label66.Text = "关体\r\n腔后"; - // - // label58 - // - this.label58.AutoSize = true; - this.label58.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label58.Location = new System.Drawing.Point(208, 5); - this.label58.Name = "label58"; - this.label58.Size = new System.Drawing.Size(32, 34); - this.label58.TabIndex = 12; - this.label58.Text = "术中\r\n加数"; - // - // plTop - // - this.plTop.BackColor = System.Drawing.Color.White; - this.plTop.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.plTop.Dock = System.Windows.Forms.DockStyle.Top; - this.plTop.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.plTop.Location = new System.Drawing.Point(0, 0); - this.plTop.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); - this.plTop.Name = "plTop"; - this.plTop.Size = new System.Drawing.Size(952, 2); - this.plTop.TabIndex = 22; - // - // circularProgress1 - // - this.circularProgress1.AnimationSpeed = 50; - // - // - // - this.circularProgress1.BackgroundStyle.BackgroundImageAlpha = ((byte)(0)); - this.circularProgress1.BackgroundStyle.BackgroundImagePosition = DevComponents.DotNetBar.eStyleBackgroundImage.Zoom; - this.circularProgress1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.circularProgress1.FocusCuesEnabled = false; - this.circularProgress1.Font = new System.Drawing.Font("微软雅黑", 9F); - this.circularProgress1.Location = new System.Drawing.Point(602, 274); - this.circularProgress1.Margin = new System.Windows.Forms.Padding(4); - this.circularProgress1.Name = "circularProgress1"; - this.circularProgress1.ProgressColor = System.Drawing.Color.DodgerBlue; - this.circularProgress1.Size = new System.Drawing.Size(389, 239); - this.circularProgress1.Style = DevComponents.DotNetBar.eDotNetBarStyle.OfficeXP; - this.circularProgress1.TabIndex = 6; - this.circularProgress1.Value = 100; - // - // zgcAnaesRecord - // - this.zgcAnaesRecord.Location = new System.Drawing.Point(416, 41); - this.zgcAnaesRecord.Name = "zgcAnaesRecord"; - this.zgcAnaesRecord.ScrollGrace = 0D; - this.zgcAnaesRecord.ScrollMaxX = 0D; - this.zgcAnaesRecord.ScrollMaxY = 0D; - this.zgcAnaesRecord.ScrollMaxY2 = 0D; - this.zgcAnaesRecord.ScrollMinX = 0D; - this.zgcAnaesRecord.ScrollMinY = 0D; - this.zgcAnaesRecord.ScrollMinY2 = 0D; - this.zgcAnaesRecord.Size = new System.Drawing.Size(800, 1000); - this.zgcAnaesRecord.TabIndex = 0; - this.zgcAnaesRecord.Visible = false; - this.zgcAnaesRecord.ContextMenuBuilder += new DrawGraph.ZedGraphControl.ContextMenuBuilderEventHandler(this.zgcAnaesRecord_ContextMenuBuilder); - this.zgcAnaesRecord.MouseDownEvent += new DrawGraph.ZedGraphControl.ZedMouseEventHandler(this.zgcAnaesRecord_MouseDownEvent); - this.zgcAnaesRecord.MouseUpEvent += new DrawGraph.ZedGraphControl.ZedMouseEventHandler(this.zgcAnaesRecord_MouseUpEvent); - this.zgcAnaesRecord.MouseMoveEvent += new DrawGraph.ZedGraphControl.ZedMouseEventHandler(this.zgcAnaesRecord_MouseMoveEvent); - this.zgcAnaesRecord.KeyUp += new System.Windows.Forms.KeyEventHandler(this.zgcAnaesRecord_KeyUp); - this.zgcAnaesRecord.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.zgcAnaesRecord_MouseDoubleClick); - // // frmAnasRecordInstrument // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; @@ -1770,6 +1775,16 @@ this.superTabMain.ResumeLayout(false); this.superTabControlPanel1.ResumeLayout(false); this.panelExZKZB.ResumeLayout(false); + this.panel8.ResumeLayout(false); + this.panelQX.ResumeLayout(false); + this.plBottom.ResumeLayout(false); + this.panelButton.ResumeLayout(false); + this.panelButton.PerformLayout(); + this.plTital.ResumeLayout(false); + this.panel15.ResumeLayout(false); + this.panel15.PerformLayout(); + this.panel16.ResumeLayout(false); + this.panel16.PerformLayout(); this.panel7.ResumeLayout(false); this.panel7.PerformLayout(); this.panel21.ResumeLayout(false); @@ -1786,16 +1801,6 @@ this.panel6.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.txtInRoom)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.picInRoom)).EndInit(); - this.panel8.ResumeLayout(false); - this.panelQX.ResumeLayout(false); - this.plBottom.ResumeLayout(false); - this.panelButton.ResumeLayout(false); - this.panelButton.PerformLayout(); - this.plTital.ResumeLayout(false); - this.panel15.ResumeLayout(false); - this.panel15.PerformLayout(); - this.panel16.ResumeLayout(false); - this.panel16.PerformLayout(); this.ResumeLayout(false); } @@ -1901,5 +1906,6 @@ private System.Windows.Forms.Label label2; private System.Windows.Forms.Label label4; private System.Windows.Forms.Label label1; + private System.Windows.Forms.ToolTip toolTip1; } } \ No newline at end of file diff --git a/AIMS/OperationDoing/AnasRecordBill/frmAnasRecordInstrument.cs b/AIMS/OperationDoing/AnasRecordBill/frmAnasRecordInstrument.cs index 838e7b1..3422d8c 100644 --- a/AIMS/OperationDoing/AnasRecordBill/frmAnasRecordInstrument.cs +++ b/AIMS/OperationDoing/AnasRecordBill/frmAnasRecordInstrument.cs @@ -58,6 +58,8 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI labOperatorName.Text = "(" + AIMSExtension.PublicMethod.OperatorNo + ")" + " " + AIMSExtension.PublicMethod.OperatorName; if (NowRoom != null) lblRoom.Text = NowRoom.Name; circularProgress1.Location = new Point((panel8.Width - circularProgress1.Width) / 2, (panel8.Height - circularProgress1.Height) / 2); + this.MaximizeBox = false; + this.MinimizeBox = false; LoadAnesRescue(); } diff --git a/AIMS/OperationDoing/AnasRecordBill/frmAnasRecordInstrument.resx b/AIMS/OperationDoing/AnasRecordBill/frmAnasRecordInstrument.resx index 35348c8..e6263d6 100644 --- a/AIMS/OperationDoing/AnasRecordBill/frmAnasRecordInstrument.resx +++ b/AIMS/OperationDoing/AnasRecordBill/frmAnasRecordInstrument.resx @@ -117,6 +117,9 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 17, 17 + 62 diff --git a/AIMS/OperationDoing/AnasRecordBill/frmSelectPatientNew2.Designer.cs b/AIMS/OperationDoing/AnasRecordBill/frmSelectPatientNew2.Designer.cs index fbb613e..572da1e 100644 --- a/AIMS/OperationDoing/AnasRecordBill/frmSelectPatientNew2.Designer.cs +++ b/AIMS/OperationDoing/AnasRecordBill/frmSelectPatientNew2.Designer.cs @@ -67,6 +67,9 @@ this.label3 = new System.Windows.Forms.Label(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.panel3 = new System.Windows.Forms.Panel(); + this.txtquery = new DevComponents.DotNetBar.Controls.TextBoxX(); + this.label4 = new System.Windows.Forms.Label(); + this.btnQuery = new DevComponents.DotNetBar.ButtonX(); this.panel1.SuspendLayout(); this.groupBox1.SuspendLayout(); this.panel2.SuspendLayout(); @@ -76,8 +79,11 @@ // panel1 // this.panel1.BackColor = System.Drawing.Color.AliceBlue; + this.panel1.Controls.Add(this.txtquery); + this.panel1.Controls.Add(this.btnQuery); this.panel1.Controls.Add(this.buttonX3); this.panel1.Controls.Add(this.label1); + this.panel1.Controls.Add(this.label4); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.cboRoom); this.panel1.Controls.Add(this.btnFrontDay); @@ -93,10 +99,9 @@ // buttonX3 // this.buttonX3.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.buttonX3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.buttonX3.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.buttonX3.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.buttonX3.Location = new System.Drawing.Point(515, 8); + this.buttonX3.Location = new System.Drawing.Point(742, 9); this.buttonX3.Name = "buttonX3"; this.buttonX3.Size = new System.Drawing.Size(93, 23); this.buttonX3.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; @@ -484,6 +489,42 @@ this.panel3.Size = new System.Drawing.Size(1029, 499); this.panel3.TabIndex = 0; // + // txtquery + // + // + // + // + this.txtquery.Border.Class = "TextBoxBorder"; + this.txtquery.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.txtquery.Location = new System.Drawing.Point(550, 8); + this.txtquery.Name = "txtquery"; + this.txtquery.PreventEnterBeep = true; + this.txtquery.Size = new System.Drawing.Size(100, 23); + this.txtquery.TabIndex = 9; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label4.Location = new System.Drawing.Point(481, 8); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(65, 20); + this.label4.TabIndex = 6; + this.label4.Text = "患者查询"; + // + // btnQuery + // + this.btnQuery.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.btnQuery.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; + this.btnQuery.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnQuery.Location = new System.Drawing.Point(656, 9); + this.btnQuery.Name = "btnQuery"; + this.btnQuery.Size = new System.Drawing.Size(80, 23); + this.btnQuery.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnQuery.TabIndex = 8; + this.btnQuery.Text = "查询"; + this.btnQuery.Click += new System.EventHandler(this.btnQuery_Click); + // // frmSelectPatientNew2 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); @@ -549,5 +590,8 @@ private System.Windows.Forms.Label txtType; private System.Windows.Forms.Label label3; private DevComponents.DotNetBar.ButtonX buttonX3; + private DevComponents.DotNetBar.Controls.TextBoxX txtquery; + private DevComponents.DotNetBar.ButtonX btnQuery; + private System.Windows.Forms.Label label4; } } \ No newline at end of file diff --git a/AIMS/OperationDoing/AnasRecordBill/frmSelectPatientNew2.cs b/AIMS/OperationDoing/AnasRecordBill/frmSelectPatientNew2.cs index 9b7a9d1..0b9b3a9 100644 --- a/AIMS/OperationDoing/AnasRecordBill/frmSelectPatientNew2.cs +++ b/AIMS/OperationDoing/AnasRecordBill/frmSelectPatientNew2.cs @@ -75,8 +75,12 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI int count = 5; if (isMainOpen == true) count = 4; - DataTable dt = SelectPatient.GetSelectPatientDataTable - (DateTime.Parse(dtpSelectPatientTime.Value.ToString("yyyy-MM-dd").ToString()), cboRoom.SelectedValue.ToString()); + DataTable dt = new DataTable(); + if (txtquery.Text.Trim() != "") + dt = SelectPatient.GetSelectPatientDataTable(txtquery.Text); + else + dt = SelectPatient.GetSelectPatientDataTable(DateTime.Parse(dtpSelectPatientTime.Value.ToString("yyyy-MM-dd").ToString()), cboRoom.SelectedValue.ToString()); + foreach (DataRow dr in dt.Rows) { ucPatientCard uc = new ucPatientCard(dr); @@ -95,8 +99,12 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI if (i >= 5) break; } - DataTable dt2 = SelectPatient.GetRelieveLockingPatientDataTable - (DateTime.Parse(dtpSelectPatientTime.Value.ToString("yyyy-MM-dd").ToString()), cboRoom.SelectedValue.ToString()); + DataTable dt2 = new DataTable(); + if (txtquery.Text.Trim() != "") + dt2 = SelectPatient.GetRelieveLockingPatientDataTable(txtquery.Text); + else + dt2 = SelectPatient.GetRelieveLockingPatientDataTable(DateTime.Parse(dtpSelectPatientTime.Value.ToString("yyyy-MM-dd").ToString()), cboRoom.SelectedValue.ToString()); + foreach (DataRow dr in dt2.Rows) { ucPatientCard uc = new ucPatientCard(dr); @@ -218,7 +226,8 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI frmAnasRecord.State = AIMSExtension.EditState.ADD; SelectPatient.UpdateApplyState(PatientId, applyId); //修改状态 - uc.label2.Text = "状态:手术中"; + uc.label2.Text = "手术中"; + uc.label2.ForeColor = Color.Red; uc.buttonX1.Text = "继续手术"; uc.buttonX2.Text = "取消手术"; uc.buttonX1.Visible = true; @@ -288,7 +297,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI //判断当前字符串是否为正确IP地址 if (PublicMethod.IsRightIP(IPadd.ToString())) { - if (room.Ip == IPadd.ToString() || room.Ip2 == IPadd.ToString()|| room.Ip3 == IPadd.ToString() ) + if (room.Ip == IPadd.ToString() || room.Ip2 == IPadd.ToString() || room.Ip3 == IPadd.ToString()) { return room; } @@ -430,5 +439,10 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI frmOperationApplyDetail.State = AIMSExtension.EditState.ADD; frmOperationApplyDetail.ShowDialog(); } + + private void btnQuery_Click(object sender, EventArgs e) + { + FillDgv(); + } } } \ No newline at end of file diff --git a/AIMS/OperationDoing/oldSystemCode/frmSelectApplianceUseType.cs b/AIMS/OperationDoing/oldSystemCode/frmSelectApplianceUseType.cs index 3c81690..69e92af 100644 --- a/AIMS/OperationDoing/oldSystemCode/frmSelectApplianceUseType.cs +++ b/AIMS/OperationDoing/oldSystemCode/frmSelectApplianceUseType.cs @@ -166,6 +166,20 @@ namespace AIMS.OperationDoing.AnasRecordBill private void dgvApplianceUseType_CellClick(object sender, DataGridViewCellEventArgs e) { if (dgvApplianceUseType.CurrentRow == null) return; + //if (dgvApplianceUseType.CurrentRow.Cells[0].EditedFormattedValue.ToString() == "True") + //{ + // dgvApplianceUseType.CurrentRow.Cells[0].Value = false; + // _nowApplianceUseType = _SelectApplianceUseType.Where(a => a.Id == int.Parse(dgvApplianceUseType.CurrentRow.Cells["Id1"].Value.ToString())).ToList()[0]; + // _SelectApplianceUseType.Remove(_nowApplianceUseType); + //} + //else + //{ + + // dgvApplianceUseType.CurrentRow.Cells[0].Value = true; + // _nowApplianceUseType = BApplianceUseType.SelectSingle(int.Parse(dgvApplianceUseType.CurrentRow.Cells["Id1"].Value.ToString()), RecursiveType.None, 0); + // _SelectApplianceUseType.Add(_nowApplianceUseType); + //} + if (dgvApplianceUseType.CurrentRow.Cells[0].EditedFormattedValue.ToString() == "True") { dgvApplianceUseType.CurrentRow.Cells[0].Value = false; @@ -174,13 +188,22 @@ namespace AIMS.OperationDoing.AnasRecordBill } else { - dgvApplianceUseType.CurrentRow.Cells[0].Value = true; _nowApplianceUseType = BApplianceUseType.SelectSingle(int.Parse(dgvApplianceUseType.CurrentRow.Cells["Id1"].Value.ToString()), RecursiveType.None, 0); _SelectApplianceUseType.Add(_nowApplianceUseType); - //DataTable ydt = BAppliance.GetApplianiceByIds(_nowApplianceUseType.TheApplianceId); - //dgvY.DataSource = ydt; + + foreach (DataGridViewRow item in dgvApplianceUseType.Rows) + { + if (item != dgvApplianceUseType.CurrentRow) + if (item.Cells[0].EditedFormattedValue.ToString() == "True") + { + item.Cells[0].Value = false; + _nowApplianceUseType = _SelectApplianceUseType.Where(a => a.Id == int.Parse(item.Cells["Id1"].Value.ToString())).ToList()[0]; + _SelectApplianceUseType.Remove(_nowApplianceUseType); + } + } } + int n = 0; foreach (ApplianceUseType item in _SelectApplianceUseType) { diff --git a/AIMS/OperationDoing/oldSystemCode/frmSelectPatientGoodsBill.Designer.cs b/AIMS/OperationDoing/oldSystemCode/frmSelectPatientGoodsBill.Designer.cs index 07e91a9..4f7d069 100644 --- a/AIMS/OperationDoing/oldSystemCode/frmSelectPatientGoodsBill.Designer.cs +++ b/AIMS/OperationDoing/oldSystemCode/frmSelectPatientGoodsBill.Designer.cs @@ -66,6 +66,9 @@ this.label3 = new System.Windows.Forms.Label(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.panel3 = new System.Windows.Forms.Panel(); + this.txtquery = new DevComponents.DotNetBar.Controls.TextBoxX(); + this.btnQuery = new DevComponents.DotNetBar.ButtonX(); + this.label4 = new System.Windows.Forms.Label(); this.panel1.SuspendLayout(); this.groupBox1.SuspendLayout(); this.panel2.SuspendLayout(); @@ -75,6 +78,9 @@ // panel1 // this.panel1.BackColor = System.Drawing.Color.AliceBlue; + this.panel1.Controls.Add(this.txtquery); + this.panel1.Controls.Add(this.btnQuery); + this.panel1.Controls.Add(this.label4); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.cboRoom); @@ -434,7 +440,7 @@ this.txtType.ForeColor = System.Drawing.Color.Red; this.txtType.Location = new System.Drawing.Point(22, 52); this.txtType.Name = "txtType"; - this.txtType.Size = new System.Drawing.Size(24, 16); + this.txtType.Size = new System.Drawing.Size(23, 16); this.txtType.TabIndex = 5; this.txtType.Text = "急"; // @@ -467,6 +473,42 @@ this.panel3.Size = new System.Drawing.Size(993, 475); this.panel3.TabIndex = 0; // + // txtquery + // + // + // + // + this.txtquery.Border.Class = "TextBoxBorder"; + this.txtquery.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.txtquery.Location = new System.Drawing.Point(540, 9); + this.txtquery.Name = "txtquery"; + this.txtquery.PreventEnterBeep = true; + this.txtquery.Size = new System.Drawing.Size(100, 23); + this.txtquery.TabIndex = 12; + // + // btnQuery + // + this.btnQuery.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.btnQuery.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; + this.btnQuery.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnQuery.Location = new System.Drawing.Point(646, 10); + this.btnQuery.Name = "btnQuery"; + this.btnQuery.Size = new System.Drawing.Size(80, 23); + this.btnQuery.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnQuery.TabIndex = 11; + this.btnQuery.Text = "查询"; + this.btnQuery.Click += new System.EventHandler(this.btnQuery_Click); + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label4.Location = new System.Drawing.Point(471, 9); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(65, 20); + this.label4.TabIndex = 10; + this.label4.Text = "患者查询"; + // // frmSelectPatientGoodsBill // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); @@ -531,5 +573,8 @@ private System.Windows.Forms.Label label23; private System.Windows.Forms.Label txtType; private System.Windows.Forms.Label label3; + private DevComponents.DotNetBar.Controls.TextBoxX txtquery; + private DevComponents.DotNetBar.ButtonX btnQuery; + private System.Windows.Forms.Label label4; } } \ No newline at end of file diff --git a/AIMS/OperationDoing/oldSystemCode/frmSelectPatientGoodsBill.cs b/AIMS/OperationDoing/oldSystemCode/frmSelectPatientGoodsBill.cs index 7bec467..2ce9796 100644 --- a/AIMS/OperationDoing/oldSystemCode/frmSelectPatientGoodsBill.cs +++ b/AIMS/OperationDoing/oldSystemCode/frmSelectPatientGoodsBill.cs @@ -2,6 +2,7 @@ using AIMSBLL; using AIMSExtension; using AIMSModel; +using AxNsoOfficeLib; using DrawGraph; using System; using System.Collections.Generic; @@ -75,8 +76,12 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI panel2.Visible = false; int i = 0, j = 0; - DataTable dt = SelectPatient.GetSelectPatientDataTable - (DateTime.Parse(dtpSelectPatientTime.Value.ToString("yyyy-MM-dd").ToString()), cboRoom.SelectedValue.ToString()); + DataTable dt = new DataTable(); + if (txtquery.Text.Trim() != "") + dt = SelectPatient.GetSelectPatientDataTable(txtquery.Text); + else + dt = SelectPatient.GetSelectPatientDataTable(DateTime.Parse(dtpSelectPatientTime.Value.ToString("yyyy-MM-dd").ToString()), cboRoom.SelectedValue.ToString()); + foreach (DataRow dr in dt.Rows) { ucPatientCard uc = new ucPatientCard(dr); @@ -99,8 +104,12 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI if (i >= 5) break; } - DataTable dt2 = SelectPatient.GetRelieveLockingPatientDataTable - (DateTime.Parse(dtpSelectPatientTime.Value.ToString("yyyy-MM-dd").ToString()), cboRoom.SelectedValue.ToString()); + DataTable dt2 = new DataTable(); + if (txtquery.Text.Trim() != "") + dt2 = SelectPatient.GetRelieveLockingPatientDataTable (txtquery.Text); + else + dt2 = SelectPatient.GetRelieveLockingPatientDataTable (DateTime.Parse(dtpSelectPatientTime.Value.ToString("yyyy-MM-dd").ToString()), cboRoom.SelectedValue.ToString()); + foreach (DataRow dr in dt2.Rows) { ucPatientCard uc = new ucPatientCard(dr); @@ -228,7 +237,8 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI frmAnasRecord.State = AIMSExtension.EditState.ADD; SelectPatient.UpdateApplyState(PatientId, applyId); //修改状态 - uc.label2.Text = "状态:手术中"; + uc.label2.Text = "手术中"; + uc.label2.ForeColor = Color.Red; uc.buttonX1.Text = "器械清点"; uc.buttonX2.Text = "取消手术"; uc.buttonX1.Visible = true; @@ -421,5 +431,10 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI return null; } } + + private void btnQuery_Click(object sender, EventArgs e) + { + FillDgv(); + } } } diff --git a/AIMS/OperationDoing/oldSystemCode/frmSelectPatientGoodsBill.resx b/AIMS/OperationDoing/oldSystemCode/frmSelectPatientGoodsBill.resx index 9f66a8a..70f8230 100644 --- a/AIMS/OperationDoing/oldSystemCode/frmSelectPatientGoodsBill.resx +++ b/AIMS/OperationDoing/oldSystemCode/frmSelectPatientGoodsBill.resx @@ -165,7 +165,7 @@ RudN65tdA8sHzg46DF645Xrr8m2v29fvrLwzMBQydHc4cnjkLvvu5L2key/vZ9yff7DpIfph4SOpR+WP lR7X/aj3Y+uI5ciZUdfRvidBTx6Mscae/5T+04fx/Kfkp+UTqhONk2aTp6fcp24+W/1s/Hnq8/npgp+l f65+ofviu18cf+mbWTUz/pL/cuHX4lfyr468Xva6e9Z/9vGb5Dfzc4Vv5d8efcd41/s+7P3EfOYH7IeK - j3ofuz55f3q4kLyw8Bv3hPP74uYdwgAAAAlwSFlzAAALDgAACw4BQL7hQQAAAXJJREFUSEu1lk1KxTAU + j3ofuz55f3q4kLyw8Bv3hPP74uYdwgAAAAlwSFlzAAALDQAACw0B7QfALAAAAXJJREFUSEu1lk1KxTAU hTMSF6Ag6ExBHLkHceISXIP0J0n7+n7U5bgHFyCIougSnPgDOnD2wEE8t6+tSW5FafIG3+T2cA9Jzm0i jDGMNJNzm6SYCZepSDQxsTlOc/Xa148VCDQ2Nkl5JhxglKqRSHMNJOk30ix/JK3fi2AFwjYgFs1PfzFR W9DcNtp5Xz9WINrmLV1z30TqdZjcW9pQE7aSVazkztNGNpHlpa8DkbZrdE5JmuHAHU1DgEkd0TG2qBKJ @@ -222,7 +222,7 @@ RudN65tdA8sHzg46DF645Xrr8m2v29fvrLwzMBQydHc4cnjkLvvu5L2key/vZ9yff7DpIfph4SOpR+WP lR7X/aj3Y+uI5ciZUdfRvidBTx6Mscae/5T+04fx/Kfkp+UTqhONk2aTp6fcp24+W/1s/Hnq8/npgp+l f65+ofviu18cf+mbWTUz/pL/cuHX4lfyr468Xva6e9Z/9vGb5Dfzc4Vv5d8efcd41/s+7P3EfOYH7IeK - j3ofuz55f3q4kLyw8Bv3hPP74uYdwgAAAAlwSFlzAAALDgAACw4BQL7hQQAAAaJJREFUSEu1lkFKw0AY + j3ofuz55f3q4kLyw8Bv3hPP74uYdwgAAAAlwSFlzAAALDQAACw0B7QfALAAAAaJJREFUSEu1lkFKw0AY hWclHkBB0J2CuPIO4sYjeAbJZGaSttqqx/EOHkCQiqJHcKMWdOFOcDG+lzRN8/+ldpEsPgovr+9lkn+G mBijwrrwkWQXp8DUDE2Sk1EDm/qfeRblKYHAHG3qXvC7ZZ1HaWZs6JfBvasGpbdGZhElEJh5V/zTA1a1 s7jksrWSiJIn67PNLlcyLcoeUbLe3UoqfO+2+xLnI6ZslPSv54raLkkd3893EgYnNgww0ufFaEufzCJK diff --git a/AIMS/OperationFront/frmOperationApply.Designer.cs b/AIMS/OperationFront/frmOperationApply.Designer.cs index 05c6135..75abfda 100644 --- a/AIMS/OperationFront/frmOperationApply.Designer.cs +++ b/AIMS/OperationFront/frmOperationApply.Designer.cs @@ -375,7 +375,7 @@ this.dgv.Location = new System.Drawing.Point(0, 0); this.dgv.Name = "dgv"; this.dgv.RowTemplate.Height = 23; - this.dgv.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect; + this.dgv.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.dgv.Size = new System.Drawing.Size(942, 436); this.dgv.TabIndex = 3; this.dgv.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dgv_RowPostPaint); @@ -522,6 +522,7 @@ this.dataGridViewTextBoxColumn18.HeaderText = "手术部位"; this.dataGridViewTextBoxColumn18.Name = "dataGridViewTextBoxColumn18"; this.dataGridViewTextBoxColumn18.ReadOnly = true; + this.dataGridViewTextBoxColumn18.Width = 80; // // dataGridViewTextBoxColumn19 // @@ -552,12 +553,14 @@ this.dataGridViewTextBoxColumn22.DataPropertyName = "TourNurse"; this.dataGridViewTextBoxColumn22.HeaderText = "巡回护士"; this.dataGridViewTextBoxColumn22.Name = "dataGridViewTextBoxColumn22"; + this.dataGridViewTextBoxColumn22.Width = 60; // // dataGridViewTextBoxColumn23 // this.dataGridViewTextBoxColumn23.DataPropertyName = "InstrumentNurse"; this.dataGridViewTextBoxColumn23.HeaderText = "器械护士"; this.dataGridViewTextBoxColumn23.Name = "dataGridViewTextBoxColumn23"; + this.dataGridViewTextBoxColumn23.Width = 60; // // dataGridViewTextBoxColumn24 // @@ -565,6 +568,7 @@ this.dataGridViewTextBoxColumn24.HeaderText = "手术间"; this.dataGridViewTextBoxColumn24.Name = "dataGridViewTextBoxColumn24"; this.dataGridViewTextBoxColumn24.ReadOnly = true; + this.dataGridViewTextBoxColumn24.Width = 40; // // dataGridViewTextBoxColumn25 // @@ -593,6 +597,7 @@ this.CheckBoxColumn.Name = "CheckBoxColumn"; this.CheckBoxColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.CheckBoxColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.CheckBoxColumn.Visible = false; this.CheckBoxColumn.Width = 35; // // ApplyId diff --git a/AIMS/OperationFront/frmOperationApply.resx b/AIMS/OperationFront/frmOperationApply.resx index d59b55d..30e6f25 100644 --- a/AIMS/OperationFront/frmOperationApply.resx +++ b/AIMS/OperationFront/frmOperationApply.resx @@ -120,9 +120,6 @@ 17, 17 - - 17, 17 - True diff --git a/AIMS/OremrUserControl/ucPatientCard.Designer.cs b/AIMS/OremrUserControl/ucPatientCard.Designer.cs index c5f1f0e..5b00d5d 100644 --- a/AIMS/OremrUserControl/ucPatientCard.Designer.cs +++ b/AIMS/OremrUserControl/ucPatientCard.Designer.cs @@ -29,14 +29,14 @@ private void InitializeComponent() { this.panel2 = new System.Windows.Forms.Panel(); - this.label2 = new System.Windows.Forms.Label(); - this.buttonX1 = new DevComponents.DotNetBar.ButtonX(); this.buttonX2 = new DevComponents.DotNetBar.ButtonX(); + this.buttonX1 = new DevComponents.DotNetBar.ButtonX(); + this.label2 = new System.Windows.Forms.Label(); this.panel1 = new System.Windows.Forms.Panel(); - this.labelName = new System.Windows.Forms.Label(); - this.labTabindex = new System.Windows.Forms.Label(); - this.label3 = new System.Windows.Forms.Label(); this.lbaCon = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); + this.labTabindex = new System.Windows.Forms.Label(); + this.labelName = new System.Windows.Forms.Label(); this.lblOpeDoctors = new System.Windows.Forms.Label(); this.lblAnesDoctors = new System.Windows.Forms.Label(); this.lblNurse = new System.Windows.Forms.Label(); @@ -59,17 +59,17 @@ this.panel2.TabIndex = 14; this.panel2.Click += new System.EventHandler(this.labTabindex_Click); // - // label2 + // buttonX2 // - this.label2.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label2.ForeColor = System.Drawing.Color.DarkRed; - this.label2.Location = new System.Drawing.Point(0, 10); - this.label2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(95, 20); - this.label2.TabIndex = 6; - this.label2.Text = "状态:手术中"; - this.label2.Click += new System.EventHandler(this.labTabindex_Click); + this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; + this.buttonX2.Location = new System.Drawing.Point(170, 7); + this.buttonX2.Name = "buttonX2"; + this.buttonX2.Size = new System.Drawing.Size(63, 23); + this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.buttonX2.TabIndex = 7; + this.buttonX2.Text = "取消手术"; + this.buttonX2.Click += new System.EventHandler(this.buttonX2_Click); // // buttonX1 // @@ -83,17 +83,17 @@ this.buttonX1.Text = "继续手术"; this.buttonX1.Click += new System.EventHandler(this.buttonX1_Click); // - // buttonX2 + // label2 // - this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; - this.buttonX2.Location = new System.Drawing.Point(170, 7); - this.buttonX2.Name = "buttonX2"; - this.buttonX2.Size = new System.Drawing.Size(63, 23); - this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.buttonX2.TabIndex = 7; - this.buttonX2.Text = "取消手术"; - this.buttonX2.Click += new System.EventHandler(this.buttonX2_Click); + this.label2.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold); + this.label2.ForeColor = System.Drawing.Color.Red; + this.label2.Location = new System.Drawing.Point(3, 4); + this.label2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(95, 28); + this.label2.TabIndex = 6; + this.label2.Text = "手术中"; + this.label2.Click += new System.EventHandler(this.labTabindex_Click); // // panel1 // @@ -108,29 +108,18 @@ this.panel1.TabIndex = 9; this.panel1.Click += new System.EventHandler(this.labTabindex_Click); // - // labelName + // lbaCon // - this.labelName.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labelName.ForeColor = System.Drawing.Color.Red; - this.labelName.Location = new System.Drawing.Point(0, 10); - this.labelName.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.labelName.Name = "labelName"; - this.labelName.Size = new System.Drawing.Size(36, 20); - this.labelName.TabIndex = 6; - this.labelName.Text = "急诊"; - this.labelName.Click += new System.EventHandler(this.labTabindex_Click); - // - // labTabindex - // - this.labTabindex.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labTabindex.Location = new System.Drawing.Point(69, 10); - this.labTabindex.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.labTabindex.Name = "labTabindex"; - this.labTabindex.Size = new System.Drawing.Size(95, 20); - this.labTabindex.TabIndex = 7; - this.labTabindex.Text = "患者1"; - this.labTabindex.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.labTabindex.Click += new System.EventHandler(this.labTabindex_Click); + this.lbaCon.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.lbaCon.ForeColor = System.Drawing.Color.Purple; + this.lbaCon.Location = new System.Drawing.Point(40, 10); + this.lbaCon.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.lbaCon.Name = "lbaCon"; + this.lbaCon.Size = new System.Drawing.Size(36, 20); + this.lbaCon.TabIndex = 8; + this.lbaCon.Text = "感染"; + this.lbaCon.Visible = false; + this.lbaCon.Click += new System.EventHandler(this.labTabindex_Click); // // label3 // @@ -144,18 +133,29 @@ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.label3.Click += new System.EventHandler(this.labTabindex_Click); // - // lbaCon + // labTabindex // - this.lbaCon.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.lbaCon.ForeColor = System.Drawing.Color.Purple; - this.lbaCon.Location = new System.Drawing.Point(40, 10); - this.lbaCon.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); - this.lbaCon.Name = "lbaCon"; - this.lbaCon.Size = new System.Drawing.Size(36, 20); - this.lbaCon.TabIndex = 8; - this.lbaCon.Text = "感染"; - this.lbaCon.Visible = false; - this.lbaCon.Click += new System.EventHandler(this.labTabindex_Click); + this.labTabindex.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.labTabindex.Location = new System.Drawing.Point(69, 10); + this.labTabindex.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.labTabindex.Name = "labTabindex"; + this.labTabindex.Size = new System.Drawing.Size(95, 20); + this.labTabindex.TabIndex = 7; + this.labTabindex.Text = "患者1"; + this.labTabindex.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.labTabindex.Click += new System.EventHandler(this.labTabindex_Click); + // + // labelName + // + this.labelName.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.labelName.ForeColor = System.Drawing.Color.Red; + this.labelName.Location = new System.Drawing.Point(0, 10); + this.labelName.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.labelName.Name = "labelName"; + this.labelName.Size = new System.Drawing.Size(36, 20); + this.labelName.TabIndex = 6; + this.labelName.Text = "急诊"; + this.labelName.Click += new System.EventHandler(this.labTabindex_Click); // // lblOpeDoctors // diff --git a/AIMS/OremrUserControl/ucPatientCard.cs b/AIMS/OremrUserControl/ucPatientCard.cs index 7582828..e304045 100644 --- a/AIMS/OremrUserControl/ucPatientCard.cs +++ b/AIMS/OremrUserControl/ucPatientCard.cs @@ -55,37 +55,42 @@ namespace AIMS.OremrUserControl lbaCon.Visible = true; } if (!labelName.Text.Contains("急")) labelName.ForeColor = Color.DarkGreen; - label2.Text = "状态:" + dr["State"].ToString(); + label2.Text = dr["State"].ToString(); if (dr["State"].ToString() == "手术中") { panelExMain.Style.BackColor1.Color = Color.OldLace; buttonX1.Text = "继续手术"; buttonX2.Text = "取消手术"; + label2.ForeColor = Color.Red; } else if (dr["State"].ToString() == "已排程" || dr["State"].ToString() == "已访视") { panelExMain.Style.BackColor1.Color = Color.WhiteSmoke; buttonX1.Text = "转入术间"; buttonX2.Visible = false; + label2.ForeColor = Color.DarkRed; } else if (dr["State"].ToString() == "已审核" || dr["State"].ToString() == "预排程") { panelExMain.Style.BackColor1.Color = Color.WhiteSmoke; buttonX1.Text = "转入术间"; buttonX2.Visible = false; - label2.Text = "状态:未排程"; + label2.Text = "未排程"; + label2.ForeColor = Color.DarkRed; } else if (dr["State"].ToString() == "停止手术") { panelExMain.Style.BackColor1.Color = Color.MistyRose; buttonX1.Text = "查看手术"; buttonX2.Text = "返回手术"; + label2.ForeColor = Color.DarkGray; } else { panelExMain.Style.BackColor1.Color = Color.Honeydew; buttonX1.Text = "查看手术"; buttonX2.Text = "返回手术"; + label2.ForeColor = Color.DarkGreen; } } diff --git a/AIMSEntity/DAL/Extension/DPerson.cs b/AIMSEntity/DAL/Extension/DPerson.cs index 847995c..968b212 100644 --- a/AIMSEntity/DAL/Extension/DPerson.cs +++ b/AIMSEntity/DAL/Extension/DPerson.cs @@ -115,6 +115,7 @@ namespace AIMSDAL strSql.Append("p.Diploma,p.JobTitle,p.PersonType,p.PersonOrder,CASE p.IsValid WHEN 1 THEN '有效' WHEN 0 THEN '无效' END AS IsValid FROM Person p "); strSql.Append("LEFT JOIN Department d ON d.Id =p.DepId "); strSql.Append("LEFT JOIN [Role] r ON r.Id = p.RoleId "); + if (DeptName == "全部科室") DeptName = ""; if (DeptName.Length > 0 && name.Length > 0) { strSql.Append(" WHERE p.No like '%" + name + "%' Or p.Name like '%" + name + "%' Or p.HelpCode like '%" + name + "%' and d.Name = '" + DeptName + "' "); diff --git a/AIMSEntity/Extensions/SelectPatient.cs b/AIMSEntity/Extensions/SelectPatient.cs index 1bce1a1..2b10f5a 100644 --- a/AIMSEntity/Extensions/SelectPatient.cs +++ b/AIMSEntity/Extensions/SelectPatient.cs @@ -21,6 +21,15 @@ namespace AIMSBLL return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString()); } + public static DataTable GetSelectPatientDataTable(string PatientName) + { + string strSql = "SELECT of1.ApplyId Id, of1.PatientId, of1.ApplyId, of1.ApplyDepName, of1.OperationType, of1.MdrecNo, of1.PatientName, " + + "of1.ApplyOperationInfoName, of1.OperationDoctor, " + + "of1.AnesthesiaDoctor,of1.OperationRoomId , of1.State ,of1.Sex,[dbo].[funGetAge](of1.BirthDay,getdate()) age,of1.PlanOperationTime,of1.InstrumentNurse,of1.TourNurse,of1.ApplyDiagnoseInfoName,of1.OperationRoom ,of1.Contagion,of1.OrderOperationTime " + + "FROM V_OperationFront of1 WHERE of1.State in('已审核','预排程','已排程','已访视') and ( of1.MdrecNo like '%" + PatientName + "%' or of1.PatientName like '%" + PatientName + "%')"; + return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString()); + } + public static DataTable GetRelieveLockingPatientDataTable(DateTime BeginDate, string Room) { string strSql = "SELECT of2.Id,of1.PatientId, of1.ApplyId, of1.ApplyDepName, of1.OperationType, of1.MdrecNo, of1.PatientName, of2.OperationInfoNames ApplyOperationInfoName, of2.OperationDoctor, of2.AnesthesiaDoctor,of2.OperationRoomId,of2.State ,of1.Sex,[dbo].[funGetAge](of1.BirthDay,getdate()) age,of2.InRoomTime PlanOperationTime,of2.Nurse InstrumentNurse,of2.Nurse2 TourNurse,of2.DiagnoseInfoName ApplyDiagnoseInfoName ,of2.OperationRoom ,of1.Contagion,of1.OrderOperationTime,of2.AnaesthesiaMethodName,of2.InRoomTime FROM V_OperationDoing of2 left join[dbo].[V_OperationFront] of1 on of1.PatientId = of2.PatientId WHERE of2.State in( '手术中','手术结束','停止手术') and of2.InRoomTime >= '" + BeginDate + "' AND of2.InRoomTime<'" + BeginDate.AddDays(1) + "' and RecoverId=1"; @@ -28,6 +37,12 @@ namespace AIMSBLL strSql += " order by [StateId] asc"; return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString()); } + public static DataTable GetRelieveLockingPatientDataTable( string PatientName) + { + string strSql = "SELECT of2.Id,of1.PatientId, of1.ApplyId, of1.ApplyDepName, of1.OperationType, of1.MdrecNo, of1.PatientName, of2.OperationInfoNames ApplyOperationInfoName, of2.OperationDoctor, of2.AnesthesiaDoctor,of2.OperationRoomId,of2.State ,of1.Sex,[dbo].[funGetAge](of1.BirthDay,getdate()) age,of2.InRoomTime PlanOperationTime,of2.Nurse InstrumentNurse,of2.Nurse2 TourNurse,of2.DiagnoseInfoName ApplyDiagnoseInfoName ,of2.OperationRoom ,of1.Contagion,of1.OrderOperationTime,of2.AnaesthesiaMethodName,of2.InRoomTime FROM V_OperationDoing of2 left join[dbo].[V_OperationFront] of1 on of1.PatientId = of2.PatientId WHERE of2.State in( '手术中','手术结束','停止手术') and RecoverId=1 and ( of1.MdrecNo like '%" + PatientName + "%' or of1.PatientName like '%" + PatientName + "%')"; + strSql += " order by [StateId] asc"; + return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString()); + } public static DataTable GetTodayDoOpePatientDataTable(DateTime BeginDate, string Room = "") { string strSql = "SELECT of2.Id,of1.PatientId, of1.ApplyId, of1.ApplyDepName, of1.OperationType, of1.MdrecNo, of1.PatientName, of2.OperationInfoNames ApplyOperationInfoName, of2.OperationDoctor, of2.AnesthesiaDoctor,of2.OperationRoomId,of2.State ,of1.Sex,[dbo].[funGetAge](of1.BirthDay,getdate()) age,of2.InRoomTime PlanOperationTime,of2.Nurse InstrumentNurse,of2.Nurse2 TourNurse,of2.DiagnoseInfoName ApplyDiagnoseInfoName ,of2.OperationRoom ,of1.Contagion,of1.OrderOperationTime,of2.AnaesthesiaMethodName,of2.InRoomTime FROM V_OperationDoing of2 left join[dbo].[V_OperationFront] of1 on of1.PatientId = of2.PatientId WHERE of2.State in( '手术中' ) and of2.InRoomTime >= '" + BeginDate + "' AND of2.InRoomTime<'" + BeginDate.AddDays(1) + "' and RecoverId=1 "; diff --git a/DrawGraph/AreaManage/BaseInfoBottomManage.cs b/DrawGraph/AreaManage/BaseInfoBottomManage.cs index 79d89dd..413c8cf 100644 --- a/DrawGraph/AreaManage/BaseInfoBottomManage.cs +++ b/DrawGraph/AreaManage/BaseInfoBottomManage.cs @@ -144,6 +144,9 @@ namespace DrawGraph case "OperationRecord.OperationSiteId": //手术体位 TYZD_Click(aEdit1, e); break; + case "OperationRecord.OperationPositionId": //手术体位 + TYZD_Click(aEdit1, e); + break; case "OperationRecord.TourNurse": Worker_Click(aEdit1, e, 3); break; @@ -182,9 +185,9 @@ namespace DrawGraph ableEdit.CControl.MouseDown += new MouseEventHandler(CControl_MouseDown); ableEdit.CControl.KeyUp -= new KeyEventHandler(CControl_KeyUp); ableEdit.CControl.KeyUp += new KeyEventHandler(CControl_KeyUp); - ableEdit.CControl.KeyPress -= new KeyPressEventHandler(CControl_KeyPress); - ableEdit.CControl.KeyPress += new KeyPressEventHandler(CControl_KeyPress); - + ableEdit.CControl.KeyPress -= new KeyPressEventHandler(CControl_KeyPress); + ableEdit.CControl.KeyPress += new KeyPressEventHandler(CControl_KeyPress); + SelectWorkerValue.ChageText = ""; if (myOpeRecord != null) { Control conl = sender.CControl; @@ -222,8 +225,11 @@ namespace DrawGraph Control conl = sender as Control; if (e.KeyCode == Keys.Delete || e.KeyCode == Keys.Back) { - if (conl.Text != SelectWorkerValue.Value) + if (conl.Text != SelectWorkerValue.Value && SelectWorkerValue.ChageText == "") + { aSyncSelectDict.DelSel(conl, OpeRecord); + SelectDictValue.ChageText = ""; + } } else if (e.KeyCode == Keys.Down) { diff --git a/DrawGraph/AreaManage/BaseInfoTopManage.cs b/DrawGraph/AreaManage/BaseInfoTopManage.cs index e93a279..f64971c 100644 --- a/DrawGraph/AreaManage/BaseInfoTopManage.cs +++ b/DrawGraph/AreaManage/BaseInfoTopManage.cs @@ -361,6 +361,9 @@ namespace DrawGraph //case "OperationRecord.Fasting": //术前禁食 // conl.Leave += new EventHandler(txt_Leave); // break; + case "OperationRecord.OperationPositionId": //手术体位 + TYZD_Click(aEdit1, e); + break; case "OperationRecord.SpecialCase": //特殊情况 ((TextBox)conl).BorderStyle = BorderStyle.Fixed3D; ((TextBox)conl).Focus(); @@ -431,9 +434,9 @@ namespace DrawGraph ableEdit.CControl.MouseDown += new MouseEventHandler(CControl_MouseDown); ableEdit.CControl.KeyUp -= new KeyEventHandler(CControl_KeyUp); ableEdit.CControl.KeyUp += new KeyEventHandler(CControl_KeyUp); - ableEdit.CControl.KeyPress -= new KeyPressEventHandler(CControl_KeyPress); - ableEdit.CControl.KeyPress += new KeyPressEventHandler(CControl_KeyPress); - + ableEdit.CControl.KeyPress -= new KeyPressEventHandler(CControl_KeyPress); + ableEdit.CControl.KeyPress += new KeyPressEventHandler(CControl_KeyPress); + SelectDictValue.ChageText = ""; if (myOpeRecord != null) { Control conl = sender.CControl; @@ -450,7 +453,6 @@ namespace DrawGraph } ableEdit.CControl.TextChanged -= new EventHandler(CControl_TextChanged); ableEdit.CControl.TextChanged += new EventHandler(CControl_TextChanged); - aSyncSelectDict.Show(template, OpeRecord, sender, _DictType, isRadio); } } @@ -461,7 +463,6 @@ namespace DrawGraph if (myOpeRecord != null) { Control conl = sender as Control; - aSyncSelectDict.ShowSel(conl, OpeRecord); } } @@ -472,15 +473,17 @@ namespace DrawGraph Control conl = sender as Control; if (e.KeyCode == Keys.Delete || e.KeyCode == Keys.Back) { - if (conl.Text != SelectDictValue.Value) + if (conl.Text != SelectDictValue.Value && SelectDictValue.ChageText == "") + { aSyncSelectDict.DelSel(conl, OpeRecord); + SelectDictValue.ChageText = ""; + } } else if (e.KeyCode == Keys.Down) { if (SelectDictValue.dgvZd.CurrentRow.Index + 1 != SelectDictValue.dgvZd.Rows.Count - 1) { SelectDictValue.dgvZd.CurrentCell = SelectDictValue.dgvZd.Rows[SelectDictValue.dgvZd.CurrentRow.Index + 1].Cells[1]; - //SelectDictValue.dgvZd.Rows[SelectDictValue.dgvZd.CurrentRow.Index + 1].Selected = true; } } else if (e.KeyCode == Keys.Up) @@ -488,7 +491,6 @@ namespace DrawGraph if (SelectDictValue.dgvZd.CurrentRow.Index != 0) { SelectDictValue.dgvZd.CurrentCell = SelectDictValue.dgvZd.Rows[SelectDictValue.dgvZd.CurrentRow.Index - 1].Cells[1]; - //SelectDictValue.dgvZd.Rows[SelectDictValue.dgvZd.CurrentRow.Index - 1].Selected = true; } } } diff --git a/DrawGraph/AreaManage/DBManage.cs b/DrawGraph/AreaManage/DBManage.cs index 0605db2..f565a42 100644 --- a/DrawGraph/AreaManage/DBManage.cs +++ b/DrawGraph/AreaManage/DBManage.cs @@ -62,18 +62,22 @@ namespace DrawGraph case "麻醉方式": strSql = "SELECT p.Id,p.Name,p.Explain Code FROM AnaesthesiaMethod p WHERE p.IsValid=1 AND (p.Name LIKE '%" + HelpCode + "%' OR p.HelpCode LIKE '%" + HelpCode + "%' )"; if (SelPerson != "") strSql += " AND p.Id not in (" + SelPerson + ") "; + strSql += " order by UseRate asc"; break; case "手术体位": strSql = "SELECT top 15 p.Id,p.Name,p.Explain Code FROM OperationBodyPosition p WHERE p.IsValid=1 AND (p.Name LIKE '%" + HelpCode + "%' OR p.HelpCode LIKE '%" + HelpCode + "%' )"; if (SelPerson != "") strSql += " AND p.Id not in (" + SelPerson + ") "; + strSql += " order by PositionOrder asc"; break; case "手术部位": strSql = "SELECT top 15 p.Id,p.Name,p.Explain Code FROM OperationPosition p WHERE p.IsValid=1 AND (p.Name LIKE '%" + HelpCode + "%' OR p.HelpCode LIKE '%" + HelpCode + "%' )"; if (SelPerson != "") strSql += " AND p.Id not in (" + SelPerson + ") "; + strSql += " order by PositionOrder asc"; break; default: strSql = "SELECT top 15 p.Id,p.Name,p.Remark Code FROM BasicDictionary p WHERE p.IsValid=1 and ParentId in(select Id from BasicDictionary where Name='" + _title + "') AND (p.Name LIKE '%" + HelpCode + "%' OR p.HelpCode LIKE '%" + HelpCode + "%' )"; if (SelPerson != "") strSql += " AND p.Id not in (" + SelPerson + ") "; + strSql += " order by Order asc"; break; } @@ -153,6 +157,10 @@ namespace DrawGraph { i += AddOperationSite(_operationRecord, _operationRecord.OperationSiteId); } + else if (items[1] == "OperationPositionId") + { + i += AddOperationPosition(_operationRecord, _operationRecord.OperationPositionId); + } else if (items[1] == "Height" || items[1] == "Weight") { i += UpdatePatient(items[1] + "='" + value + "' where Id= " + _operationRecord.PatientId); @@ -366,6 +374,38 @@ namespace DrawGraph } return i; } + public static int AddOperationPosition(OperationRecord _operationRecord, string OperationPositionId ) + { + int i = 0; + if ( OperationPositionId.Trim() == "" || OperationPositionId== ",") + { + DeleteOperationPosition (_operationRecord.PatientId.Value); + i++; + } + else + { + DeleteOperationPosition(_operationRecord.PatientId.Value); + i++; + string[] Operationstr = OperationPositionId.Split(','); + foreach (string OperationPosition in Operationstr) + { + StringBuilder strSql = new StringBuilder(); + strSql.Append("insert into [FactOperationPosition]("); + strSql.Append("PatientId,ApplyId,OperationPositionId,OperatorNo,OperatorName,OperateDate"); + strSql.Append(")"); + strSql.Append(" values ("); + strSql.Append("" + _operationRecord.PatientId + ","); + strSql.Append("" + _operationRecord.OperationApplyId + ","); + strSql.Append("" + OperationPosition + ","); + strSql.Append("'" + AIMSExtension.PublicMethod.OperatorNo + "',"); + strSql.Append("'" + AIMSExtension.PublicMethod.OperatorName + "',"); + strSql.Append("'" + DateTime.Now + "'"); + strSql.Append(")"); + i += HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString()); + } + } + return i; + } public static int AddAnaesthesiaMethod(OperationRecord _operationRecord, string AnaesthesiaMethod) { int i = 0; @@ -429,7 +469,14 @@ namespace DrawGraph public static void DeleteOperationSite(int PatientId) { StringBuilder strSql = new StringBuilder(); - strSql.Append("delete FactOperationBodyPosition "); + strSql.Append("delete from FactOperationBodyPosition "); + strSql.Append(" where PatientId=" + PatientId + " "); + HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString()); + } + public static void DeleteOperationPosition(int PatientId) + { + StringBuilder strSql = new StringBuilder(); + strSql.Append("delete from FactOperationPosition "); strSql.Append(" where PatientId=" + PatientId + " "); HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString()); } diff --git a/DrawGraph/AreaManage/InstrumentDataManage.cs b/DrawGraph/AreaManage/InstrumentDataManage.cs index d4a89eb..a276724 100644 --- a/DrawGraph/AreaManage/InstrumentDataManage.cs +++ b/DrawGraph/AreaManage/InstrumentDataManage.cs @@ -79,67 +79,75 @@ namespace DrawGraph } for (int index = 0; index < tablePackObj.Rows; index++) { - if (ApplianceRecordList.Count > 0 && index < ApplianceRecordList.Count) - { - double y = tablePackObj.RealY + chaY * index; + //if (ApplianceRecordList.Count > 0 && index < ApplianceRecordList.Count) + //{ + double y = tablePackObj.RealY + chaY * index; + if (index < ApplianceRecordList.Count) ZUtil.DrawText(ApplianceRecordList[index].ApplianceName, tablePackObj.X + tablePackObj.RealX, y, ZedControl, "ApplianceRecordList" + index, Color.Black, fontsize, false); + else + ZUtil.DrawLine1(tablePackObj.X + tablePackObj.RealX, y + chaY, (tablePackObj1.EndX - tablePackObj1.X) / Columns * 1 + tablePackObj1.X + span, y, ZedControl, "ApplianceRecordList" + index, Color.Black); - if (ApplianceRecordList[index].OpeFront != null && ApplianceRecordList[index].OpeFront != "" && ApplianceRecordList[index].OpeFront != @"/") - ZUtil.DrawText(ApplianceRecordList[index].OpeFront, tablePackObj1.X + tablePackObj.RealX, y, ZedControl, "ApplianceRecordListOpeFront" + index, Color.Black, fontsize, false); - else - ZUtil.DrawLine1(tablePackObj1.X + span, y + chaY, (tablePackObj1.EndX - tablePackObj1.X) / Columns * 1 + tablePackObj1.X + span, y, ZedControl, "ApplianceRecordListOpeFront" + index, Color.Black); - if (ApplianceRecordList[index].OpeDoing != null && ApplianceRecordList[index].OpeDoing != "" && ApplianceRecordList[index].OpeDoing != @"/") - ZUtil.DrawText(ApplianceRecordList[index].OpeDoing, (tablePackObj1.EndX - tablePackObj1.X) / Columns * 1 + tablePackObj1.X + tablePackObj.RealX, y, ZedControl, "ApplianceRecordListOpeDoing" + index, Color.Black, fontsize, false); - else - ZUtil.DrawLine1((tablePackObj1.EndX - tablePackObj1.X) / Columns * 1 + tablePackObj1.X + span, y + chaY, (tablePackObj1.EndX - tablePackObj1.X) / Columns * 2 + tablePackObj1.X + span, y, ZedControl, "ApplianceRecordListOpeDoing" + index, Color.Black); - if (ApplianceRecordList[index].CloseFront != null && ApplianceRecordList[index].CloseFront != "" && ApplianceRecordList[index].CloseFront != @"/") - ZUtil.DrawText(ApplianceRecordList[index].CloseFront, (tablePackObj1.EndX - tablePackObj1.X) / Columns * 2 + tablePackObj1.X + tablePackObj.RealX, y, ZedControl, "ApplianceRecordListCloseFront" + index, Color.Black, fontsize, false); - else - ZUtil.DrawLine1((tablePackObj1.EndX - tablePackObj1.X) / Columns * 2 + tablePackObj1.X + span, y + chaY, (tablePackObj1.EndX - tablePackObj1.X) / Columns * 3 + tablePackObj1.X + span, y, ZedControl, "ApplianceRecordListCloseFront" + index, Color.Black); - if (ApplianceRecordList[index].CloseLast != null && ApplianceRecordList[index].CloseLast != "" && ApplianceRecordList[index].CloseLast != @"/") - ZUtil.DrawText(ApplianceRecordList[index].CloseLast, (tablePackObj1.EndX - tablePackObj1.X) / Columns * 3 + tablePackObj1.X + tablePackObj.RealX, y, ZedControl, "ApplianceRecordListCloseLast" + index, Color.Black, fontsize, false); - else - ZUtil.DrawLine1((tablePackObj1.EndX - tablePackObj1.X) / Columns * 3 + tablePackObj1.X + span, y + chaY, (tablePackObj1.EndX - tablePackObj1.X) / Columns * 4 + tablePackObj1.X + span, y, ZedControl, "ApplianceRecordListCloseLast" + index, Color.Black); - if (Columns == 5) - if (ApplianceRecordList[index].SkinCloseLast != null && ApplianceRecordList[index].SkinCloseLast != "" && ApplianceRecordList[index].SkinCloseLast != @"/") - ZUtil.DrawText(ApplianceRecordList[index].SkinCloseLast, (tablePackObj1.EndX - tablePackObj1.X) / Columns * 4 + tablePackObj1.X + tablePackObj.RealX, y, ZedControl, "ApplianceRecordListSkinCloseLast" + index, Color.Black, fontsize, false); - else - ZUtil.DrawLine1((tablePackObj1.EndX - tablePackObj1.X) / Columns * 4 + tablePackObj1.X + span, y + chaY, (tablePackObj1.EndX - tablePackObj1.X) / Columns * 5 + tablePackObj1.X + span, y, ZedControl, "ApplianceRecordListSkinCloseLast" + index, Color.Black); - continue; - } + if (ApplianceRecordList[index].OpeFront != null && ApplianceRecordList[index].OpeFront != "" && ApplianceRecordList[index].OpeFront != @"/") + ZUtil.DrawText(ApplianceRecordList[index].OpeFront, tablePackObj1.X + tablePackObj.RealX, y, ZedControl, "ApplianceRecordListOpeFront" + index, Color.Black, fontsize, false); + else + ZUtil.DrawLine1(tablePackObj1.X + span, y + chaY, (tablePackObj1.EndX - tablePackObj1.X) / Columns * 1 + tablePackObj1.X + span, y, ZedControl, "ApplianceRecordListOpeFront" + index, Color.Black); + if (ApplianceRecordList[index].OpeDoing != null && ApplianceRecordList[index].OpeDoing != "" && ApplianceRecordList[index].OpeDoing != @"/") + ZUtil.DrawText(ApplianceRecordList[index].OpeDoing, (tablePackObj1.EndX - tablePackObj1.X) / Columns * 1 + tablePackObj1.X + tablePackObj.RealX, y, ZedControl, "ApplianceRecordListOpeDoing" + index, Color.Black, fontsize, false); + else + ZUtil.DrawLine1((tablePackObj1.EndX - tablePackObj1.X) / Columns * 1 + tablePackObj1.X + span, y + chaY, (tablePackObj1.EndX - tablePackObj1.X) / Columns * 2 + tablePackObj1.X + span, y, ZedControl, "ApplianceRecordListOpeDoing" + index, Color.Black); + if (ApplianceRecordList[index].CloseFront != null && ApplianceRecordList[index].CloseFront != "" && ApplianceRecordList[index].CloseFront != @"/") + ZUtil.DrawText(ApplianceRecordList[index].CloseFront, (tablePackObj1.EndX - tablePackObj1.X) / Columns * 2 + tablePackObj1.X + tablePackObj.RealX, y, ZedControl, "ApplianceRecordListCloseFront" + index, Color.Black, fontsize, false); + else + ZUtil.DrawLine1((tablePackObj1.EndX - tablePackObj1.X) / Columns * 2 + tablePackObj1.X + span, y + chaY, (tablePackObj1.EndX - tablePackObj1.X) / Columns * 3 + tablePackObj1.X + span, y, ZedControl, "ApplianceRecordListCloseFront" + index, Color.Black); + if (ApplianceRecordList[index].CloseLast != null && ApplianceRecordList[index].CloseLast != "" && ApplianceRecordList[index].CloseLast != @"/") + ZUtil.DrawText(ApplianceRecordList[index].CloseLast, (tablePackObj1.EndX - tablePackObj1.X) / Columns * 3 + tablePackObj1.X + tablePackObj.RealX, y, ZedControl, "ApplianceRecordListCloseLast" + index, Color.Black, fontsize, false); + else + ZUtil.DrawLine1((tablePackObj1.EndX - tablePackObj1.X) / Columns * 3 + tablePackObj1.X + span, y + chaY, (tablePackObj1.EndX - tablePackObj1.X) / Columns * 4 + tablePackObj1.X + span, y, ZedControl, "ApplianceRecordListCloseLast" + index, Color.Black); + if (Columns == 5) + if (ApplianceRecordList[index].SkinCloseLast != null && ApplianceRecordList[index].SkinCloseLast != "" && ApplianceRecordList[index].SkinCloseLast != @"/") + ZUtil.DrawText(ApplianceRecordList[index].SkinCloseLast, (tablePackObj1.EndX - tablePackObj1.X) / Columns * 4 + tablePackObj1.X + tablePackObj.RealX, y, ZedControl, "ApplianceRecordListSkinCloseLast" + index, Color.Black, fontsize, false); + else + ZUtil.DrawLine1((tablePackObj1.EndX - tablePackObj1.X) / Columns * 4 + tablePackObj1.X + span, y + chaY, (tablePackObj1.EndX - tablePackObj1.X) / Columns * 5 + tablePackObj1.X + span, y, ZedControl, "ApplianceRecordListSkinCloseLast" + index, Color.Black); + + continue; + //} } for (int index = (int)tablePackObj.Rows; index < tablePackObj.Rows * 2; index++) { - if (ApplianceRecordList.Count > 0 && index < ApplianceRecordList.Count) - { - double y = tablePackObj.RealY + (chaY * (index - tablePackObj.Rows)); + //if (ApplianceRecordList.Count > 0 && index < ApplianceRecordList.Count) + //{ + double y = tablePackObj.RealY + (chaY * (index - tablePackObj.Rows)); + if (index < ApplianceRecordList.Count) ZUtil.DrawText(ApplianceRecordList[index].ApplianceName, (tablePackObj.EndX - tablePackObj.X) / 2 + tablePackObj.X + tablePackObj.RealX, y, ZedControl, "ApplianceRecordList" + index, Color.Black, fontsize, false); + else + ZUtil.DrawLine1((tablePackObj.EndX - tablePackObj.X) / 2 + tablePackObj.X + tablePackObj.RealX, y + chaY, tablePackObj2.X + span, y, ZedControl, "ApplianceRecordList" + index, Color.Black); - if (ApplianceRecordList[index].OpeFront != null && ApplianceRecordList[index].OpeFront != "" && ApplianceRecordList[index].OpeFront != @"/") - ZUtil.DrawText(ApplianceRecordList[index].OpeFront, tablePackObj2.X + tablePackObj.RealX, y, ZedControl, "ApplianceRecordListOpeFront" + index, Color.Black, fontsize, false); - else - ZUtil.DrawLine1(tablePackObj2.X + span, y + chaY, (tablePackObj2.EndX - tablePackObj2.X) / Columns * 1 + tablePackObj2.X + span, y, ZedControl, "ApplianceRecordListOpeFront" + index, Color.Black); - if (ApplianceRecordList[index].OpeDoing != null && ApplianceRecordList[index].OpeDoing != "" && ApplianceRecordList[index].OpeDoing != @"/") - ZUtil.DrawText(ApplianceRecordList[index].OpeDoing, (tablePackObj2.EndX - tablePackObj2.X) / Columns * 1 + tablePackObj2.X + tablePackObj.RealX, y, ZedControl, "ApplianceRecordListOpeDoing" + index, Color.Black, fontsize, false); - else - ZUtil.DrawLine1((tablePackObj2.EndX - tablePackObj2.X) / Columns * 1 + tablePackObj2.X + span, y + chaY, (tablePackObj2.EndX - tablePackObj2.X) / Columns * 2 + tablePackObj2.X + span, y, ZedControl, "ApplianceRecordListOpeDoing" + index, Color.Black); - if (ApplianceRecordList[index].CloseFront != null && ApplianceRecordList[index].CloseFront != "" && ApplianceRecordList[index].CloseFront != @"/") - ZUtil.DrawText(ApplianceRecordList[index].CloseFront, (tablePackObj2.EndX - tablePackObj2.X) / Columns * 2 + tablePackObj2.X + tablePackObj.RealX, y, ZedControl, "ApplianceRecordListCloseFront" + index, Color.Black, fontsize, false); - else - ZUtil.DrawLine1((tablePackObj2.EndX - tablePackObj2.X) / Columns * 2 + tablePackObj2.X + span, y + chaY, (tablePackObj2.EndX - tablePackObj2.X) / Columns * 3 + tablePackObj2.X + span, y, ZedControl, "ApplianceRecordListCloseFront" + index, Color.Black); - if (ApplianceRecordList[index].CloseLast != null && ApplianceRecordList[index].CloseLast != "" && ApplianceRecordList[index].CloseLast != @"/") - ZUtil.DrawText(ApplianceRecordList[index].CloseLast, (tablePackObj2.EndX - tablePackObj2.X) / Columns * 3 + tablePackObj2.X + tablePackObj.RealX, y, ZedControl, "ApplianceRecordListCloseLast" + index, Color.Black, fontsize, false); - else - ZUtil.DrawLine1((tablePackObj2.EndX - tablePackObj2.X) / Columns * 3 + tablePackObj2.X + span, y + chaY, (tablePackObj2.EndX - tablePackObj2.X) / Columns * 4 + tablePackObj2.X + span, y, ZedControl, "ApplianceRecordListCloseLast" + index, Color.Black); - if (Columns == 5) - if (ApplianceRecordList[index].SkinCloseLast != null && ApplianceRecordList[index].SkinCloseLast != "" && ApplianceRecordList[index].SkinCloseLast != @"/") - ZUtil.DrawText(ApplianceRecordList[index].SkinCloseLast, (tablePackObj2.EndX - tablePackObj2.X) / Columns * 4 + tablePackObj2.X + tablePackObj.RealX, y, ZedControl, "ApplianceRecordListSkinCloseLast" + index, Color.Black, fontsize, false); - else - ZUtil.DrawLine1((tablePackObj2.EndX - tablePackObj2.X) / Columns * 4 + tablePackObj2.X + span, y + chaY, (tablePackObj2.EndX - tablePackObj2.X) / Columns * 5 + tablePackObj2.X + span, y, ZedControl, "ApplianceRecordListSkinCloseLast" + index, Color.Black); - continue; - } + if (index < ApplianceRecordList.Count && ApplianceRecordList[index].OpeFront != null && ApplianceRecordList[index].OpeFront != "" && ApplianceRecordList[index].OpeFront != @"/") + ZUtil.DrawText(ApplianceRecordList[index].OpeFront, tablePackObj2.X + tablePackObj.RealX, y, ZedControl, "ApplianceRecordListOpeFront" + index, Color.Black, fontsize, false); + else + ZUtil.DrawLine1(tablePackObj2.X + span, y + chaY, (tablePackObj2.EndX - tablePackObj2.X) / Columns * 1 + tablePackObj2.X + span, y, ZedControl, "ApplianceRecordListOpeFront" + index, Color.Black); + if (index < ApplianceRecordList.Count && ApplianceRecordList[index].OpeDoing != null && ApplianceRecordList[index].OpeDoing != "" && ApplianceRecordList[index].OpeDoing != @"/") + ZUtil.DrawText(ApplianceRecordList[index].OpeDoing, (tablePackObj2.EndX - tablePackObj2.X) / Columns * 1 + tablePackObj2.X + tablePackObj.RealX, y, ZedControl, "ApplianceRecordListOpeDoing" + index, Color.Black, fontsize, false); + else + ZUtil.DrawLine1((tablePackObj2.EndX - tablePackObj2.X) / Columns * 1 + tablePackObj2.X + span, y + chaY, (tablePackObj2.EndX - tablePackObj2.X) / Columns * 2 + tablePackObj2.X + span, y, ZedControl, "ApplianceRecordListOpeDoing" + index, Color.Black); + if (index < ApplianceRecordList.Count && ApplianceRecordList[index].CloseFront != null && ApplianceRecordList[index].CloseFront != "" && ApplianceRecordList[index].CloseFront != @"/") + ZUtil.DrawText(ApplianceRecordList[index].CloseFront, (tablePackObj2.EndX - tablePackObj2.X) / Columns * 2 + tablePackObj2.X + tablePackObj.RealX, y, ZedControl, "ApplianceRecordListCloseFront" + index, Color.Black, fontsize, false); + else + ZUtil.DrawLine1((tablePackObj2.EndX - tablePackObj2.X) / Columns * 2 + tablePackObj2.X + span, y + chaY, (tablePackObj2.EndX - tablePackObj2.X) / Columns * 3 + tablePackObj2.X + span, y, ZedControl, "ApplianceRecordListCloseFront" + index, Color.Black); + if (index < ApplianceRecordList.Count && ApplianceRecordList[index].CloseLast != null && ApplianceRecordList[index].CloseLast != "" && ApplianceRecordList[index].CloseLast != @"/") + ZUtil.DrawText(ApplianceRecordList[index].CloseLast, (tablePackObj2.EndX - tablePackObj2.X) / Columns * 3 + tablePackObj2.X + tablePackObj.RealX, y, ZedControl, "ApplianceRecordListCloseLast" + index, Color.Black, fontsize, false); + else + ZUtil.DrawLine1((tablePackObj2.EndX - tablePackObj2.X) / Columns * 3 + tablePackObj2.X + span, y + chaY, (tablePackObj2.EndX - tablePackObj2.X) / Columns * 4 + tablePackObj2.X + span, y, ZedControl, "ApplianceRecordListCloseLast" + index, Color.Black); + if (Columns == 5) + if (index < ApplianceRecordList.Count && ApplianceRecordList[index].SkinCloseLast != null && ApplianceRecordList[index].SkinCloseLast != "" && ApplianceRecordList[index].SkinCloseLast != @"/") + ZUtil.DrawText(ApplianceRecordList[index].SkinCloseLast, (tablePackObj2.EndX - tablePackObj2.X) / Columns * 4 + tablePackObj2.X + tablePackObj.RealX, y, ZedControl, "ApplianceRecordListSkinCloseLast" + index, Color.Black, fontsize, false); + else + ZUtil.DrawLine1((tablePackObj2.EndX - tablePackObj2.X) / Columns * 4 + tablePackObj2.X + span, y + chaY, (tablePackObj2.EndX - tablePackObj2.X) / Columns * 5 + tablePackObj2.X + span, y, ZedControl, "ApplianceRecordListSkinCloseLast" + index, Color.Black); + + continue; + //} } //if (tablePackObj3 != null) //{ @@ -664,7 +672,7 @@ namespace DrawGraph } public void DelAddObj(string tagName) { - TextObj text = (TextObj)ZedControl.MasterPane.GraphObjList[tagName]; + GraphObj text = (GraphObj)ZedControl.MasterPane.GraphObjList[tagName]; if (text != null) ZedControl.MasterPane.GraphObjList.Remove(text); } diff --git a/DrawGraph/AreaManage/SelectDictText.cs b/DrawGraph/AreaManage/SelectDictText.cs index 680850f..baea5d9 100644 --- a/DrawGraph/AreaManage/SelectDictText.cs +++ b/DrawGraph/AreaManage/SelectDictText.cs @@ -45,6 +45,7 @@ namespace DrawGraph Code.Name = "Code"; Code.DataPropertyName = "Code"; Code.ReadOnly = true; + Code.Visible = false; dgvZd = new System.Windows.Forms.DataGridView(); dgvZd.AllowUserToAddRows = false; @@ -186,7 +187,7 @@ namespace DrawGraph { try { - if (aEdit != null) + if (aEdit != null && aEdit.CControl.Parent != null) { aEdit.CControl.Parent.Controls.Remove(dgvZd); dgvZd.Visible = false; diff --git a/DrawGraph/AreaManage/SelectDictValue.cs b/DrawGraph/AreaManage/SelectDictValue.cs index 9e762a1..727ef17 100644 --- a/DrawGraph/AreaManage/SelectDictValue.cs +++ b/DrawGraph/AreaManage/SelectDictValue.cs @@ -41,6 +41,7 @@ namespace DrawGraph Code.Name = "Code"; Code.DataPropertyName = "Code"; Code.ReadOnly = true; + Code.Visible = false; dgvZd = new System.Windows.Forms.DataGridView(); dgvZd.AllowUserToAddRows = false; @@ -95,6 +96,7 @@ namespace DrawGraph public static string Key; public static string Value; public static bool isRadio; + public static string ChageText = ""; public void Show(TemplateManage _template, object _OpeRecord, AbleEditPackObj _aEdit, string _type, bool _isRadio) { @@ -119,6 +121,10 @@ namespace DrawGraph { dgvZd.Columns[2].Visible = true; } + if (aEdit.ControlTitleText == "人员" || aEdit.ControlTitleText == "手术" || aEdit.ControlTitleText == "诊断") + { + dgvZd.Columns[2].Visible = true; + } if (dgvZd.Parent == null) aEdit.CControl.Parent.Controls.Add(dgvZd); else @@ -136,9 +142,11 @@ namespace DrawGraph if (dgvZd.Visible == false) return; Key = aEdit.PackValue; Value = aEdit.PackText; - string text = CControl.Text; - text = text.Replace(Value + ",", ""); - DataTable dt = DBManage.GetDictDataTable((OpeRecord as OperationRecord), text, aEdit.ControlTitleText, type.ToString(), Key); + if (Value == null || Value == "") + ChageText = CControl.Text; + else if (CControl.Text.Contains(",")) + ChageText = CControl.Text.Substring(CControl.Text.LastIndexOf(",") + 1, CControl.Text.Length - CControl.Text.LastIndexOf(",") - 1); + DataTable dt = DBManage.GetDictDataTable((OpeRecord as OperationRecord), ChageText, aEdit.ControlTitleText, type.ToString(), Key); dgvZd.DataSource = dt; dgvZd.BringToFront(); } @@ -196,7 +204,7 @@ namespace DrawGraph { try { - if (aEdit != null) + if (aEdit != null && aEdit.CControl.Parent != null) { aEdit.CControl.Parent.Controls.Remove(dgvZd); dgvZd.Visible = false; @@ -215,7 +223,7 @@ namespace DrawGraph { SetContent(e.RowIndex); } - } + } public static void SetContent(int index) { diff --git a/DrawGraph/AreaManage/SelectWorkerValue.cs b/DrawGraph/AreaManage/SelectWorkerValue.cs index 8d89ff8..7acf574 100644 --- a/DrawGraph/AreaManage/SelectWorkerValue.cs +++ b/DrawGraph/AreaManage/SelectWorkerValue.cs @@ -42,6 +42,7 @@ namespace DrawGraph Code.Name = "Code"; Code.DataPropertyName = "Code"; Code.ReadOnly = true; + Code.Visible = false; dgvZd = new System.Windows.Forms.DataGridView(); dgvZd.AllowUserToAddRows = false; @@ -95,6 +96,7 @@ namespace DrawGraph public static object OpeRecord; public static string Key; public static string Value; + public static string ChageText = ""; public void Show(TemplateManage _template, object _OpeRecord, AbleEditPackObj _aEdit, string _type, bool _isUpdate = true) { @@ -130,6 +132,11 @@ namespace DrawGraph point = new System.Drawing.Point(aEdit.CControl.Location.X, aEdit.CControl.Location.Y - 300); dgvZd.Location = point; + if (aEdit.ControlTitleText == "人员" || aEdit.ControlTitleText == "手术" || aEdit.ControlTitleText == "诊断") + { + dgvZd.Columns[2].Visible = true; + } + if (dgvZd.Parent == null) aEdit.CControl.Parent.Controls.Add(dgvZd); else @@ -147,9 +154,11 @@ namespace DrawGraph if (dgvZd.Visible == false) return; Key = aEdit.PackValue; Value = aEdit.PackText; - string text = CControl.Text; - text = text.Replace(Value + ",", ""); - DataTable dt = DBManage.GetDictDataTable((OpeRecord as OperationRecord), text, aEdit.ControlTitleText, type.ToString(), Key); + if (Value == null || Value == "") + ChageText = CControl.Text; + else if (CControl.Text.Contains(",")) + ChageText = CControl.Text.Substring(CControl.Text.LastIndexOf(",") + 1, CControl.Text.Length - CControl.Text.LastIndexOf(",") - 1); + DataTable dt = DBManage.GetDictDataTable((OpeRecord as OperationRecord), ChageText, aEdit.ControlTitleText, type.ToString(), Key); dgvZd.DataSource = dt; dgvZd.BringToFront(); } @@ -207,7 +216,7 @@ namespace DrawGraph { try { - if (aEdit != null) + if (aEdit != null && aEdit.CControl.Parent != null) { aEdit.CControl.Parent.Controls.Remove(dgvZd); dgvZd.Visible = false;