恢复室增加待恢复和已恢复患者
This commit is contained in:
parent
eb02a21f0b
commit
ef87cafbb8
@ -412,6 +412,7 @@
|
||||
this.cboYLMC.Size = new System.Drawing.Size(193, 17);
|
||||
this.cboYLMC.TabIndex = 1531;
|
||||
this.cboYLMC.Tag = "";
|
||||
this.cboYLMC.Text = " ";
|
||||
//
|
||||
// txtZPF
|
||||
//
|
||||
|
||||
@ -29,6 +29,7 @@
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmRecoverPatient));
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
@ -36,10 +37,9 @@
|
||||
this.btnNextDay = new System.Windows.Forms.Button();
|
||||
this.dtpSelectPatientTime = new System.Windows.Forms.DateTimePicker();
|
||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.supTabPatient = new DevComponents.DotNetBar.SuperTabControl();
|
||||
this.superTabControlPanel1 = new DevComponents.DotNetBar.SuperTabControlPanel();
|
||||
this.dgv = new System.Windows.Forms.DataGridView();
|
||||
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.PatientIdColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ApplyIdColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@ -48,10 +48,27 @@
|
||||
this.OutRoomTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.OperationDoctorColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.AnesthesiaDoctorColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.待恢复 = new DevComponents.DotNetBar.SuperTabItem();
|
||||
this.superTabControlPanel2 = new DevComponents.DotNetBar.SuperTabControlPanel();
|
||||
this.dgv2 = new System.Windows.Forms.DataGridView();
|
||||
this.已恢复 = new DevComponents.DotNetBar.SuperTabItem();
|
||||
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.PatientIdColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ApplyIdColumn2 = 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.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.panel1.SuspendLayout();
|
||||
this.groupBox1.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.supTabPatient)).BeginInit();
|
||||
this.supTabPatient.SuspendLayout();
|
||||
this.superTabControlPanel1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgv)).BeginInit();
|
||||
this.superTabControlPanel2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgv2)).BeginInit();
|
||||
this.groupBox2.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
@ -122,24 +139,56 @@
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.BackColor = System.Drawing.Color.AliceBlue;
|
||||
this.groupBox1.Controls.Add(this.panel2);
|
||||
this.groupBox1.Controls.Add(this.supTabPatient);
|
||||
this.groupBox1.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.groupBox1.Location = new System.Drawing.Point(0, 39);
|
||||
this.groupBox1.Name = "groupBox1";
|
||||
this.groupBox1.Size = new System.Drawing.Size(253, 598);
|
||||
this.groupBox1.TabIndex = 1;
|
||||
this.groupBox1.TabStop = false;
|
||||
this.groupBox1.Text = "待恢复患者";
|
||||
//
|
||||
// panel2
|
||||
// supTabPatient
|
||||
//
|
||||
this.panel2.AutoScroll = true;
|
||||
this.panel2.Controls.Add(this.dgv);
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel2.Location = new System.Drawing.Point(3, 17);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(247, 578);
|
||||
this.panel2.TabIndex = 0;
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.supTabPatient.ControlBox.CloseBox.Name = "";
|
||||
//
|
||||
//
|
||||
//
|
||||
this.supTabPatient.ControlBox.MenuBox.Name = "";
|
||||
this.supTabPatient.ControlBox.Name = "";
|
||||
this.supTabPatient.ControlBox.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
||||
this.supTabPatient.ControlBox.MenuBox,
|
||||
this.supTabPatient.ControlBox.CloseBox});
|
||||
this.supTabPatient.Controls.Add(this.superTabControlPanel2);
|
||||
this.supTabPatient.Controls.Add(this.superTabControlPanel1);
|
||||
this.supTabPatient.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.supTabPatient.Location = new System.Drawing.Point(3, 17);
|
||||
this.supTabPatient.Name = "supTabPatient";
|
||||
this.supTabPatient.ReorderTabsEnabled = true;
|
||||
this.supTabPatient.SelectedTabFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold);
|
||||
this.supTabPatient.SelectedTabIndex = 0;
|
||||
this.supTabPatient.Size = new System.Drawing.Size(247, 578);
|
||||
this.supTabPatient.TabFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.supTabPatient.TabIndex = 0;
|
||||
this.supTabPatient.Tabs.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
||||
this.待恢复,
|
||||
this.已恢复});
|
||||
this.supTabPatient.Text = "superTabControl1";
|
||||
//
|
||||
// superTabControlPanel1
|
||||
//
|
||||
this.superTabControlPanel1.Controls.Add(this.dgv);
|
||||
this.superTabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.superTabControlPanel1.Location = new System.Drawing.Point(0, 28);
|
||||
this.superTabControlPanel1.Name = "superTabControlPanel1";
|
||||
this.superTabControlPanel1.Size = new System.Drawing.Size(247, 550);
|
||||
this.superTabControlPanel1.TabIndex = 1;
|
||||
this.superTabControlPanel1.TabItem = this.待恢复;
|
||||
//
|
||||
// dgv
|
||||
//
|
||||
@ -155,14 +204,14 @@
|
||||
this.OutRoomTime,
|
||||
this.OperationDoctorColumn,
|
||||
this.AnesthesiaDoctorColumn});
|
||||
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
|
||||
dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 10.5F);
|
||||
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgv.DefaultCellStyle = dataGridViewCellStyle1;
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
|
||||
dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 10.5F);
|
||||
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgv.DefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.dgv.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dgv.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
|
||||
this.dgv.Location = new System.Drawing.Point(0, 0);
|
||||
@ -170,30 +219,10 @@
|
||||
this.dgv.RowHeadersVisible = false;
|
||||
this.dgv.RowTemplate.Height = 23;
|
||||
this.dgv.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||||
this.dgv.Size = new System.Drawing.Size(247, 578);
|
||||
this.dgv.TabIndex = 4;
|
||||
this.dgv.Size = new System.Drawing.Size(247, 550);
|
||||
this.dgv.TabIndex = 5;
|
||||
this.dgv.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgv_CellContentClick);
|
||||
//
|
||||
// groupBox2
|
||||
//
|
||||
this.groupBox2.BackColor = System.Drawing.Color.AliceBlue;
|
||||
this.groupBox2.Controls.Add(this.panel3);
|
||||
this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.groupBox2.Location = new System.Drawing.Point(253, 39);
|
||||
this.groupBox2.Name = "groupBox2";
|
||||
this.groupBox2.Size = new System.Drawing.Size(746, 598);
|
||||
this.groupBox2.TabIndex = 2;
|
||||
this.groupBox2.TabStop = false;
|
||||
this.groupBox2.Text = "恢复床位";
|
||||
//
|
||||
// panel3
|
||||
//
|
||||
this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel3.Location = new System.Drawing.Point(3, 17);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(740, 578);
|
||||
this.panel3.TabIndex = 0;
|
||||
//
|
||||
// Id
|
||||
//
|
||||
this.Id.DataPropertyName = "Id";
|
||||
@ -234,7 +263,7 @@
|
||||
// OutRoomTime
|
||||
//
|
||||
this.OutRoomTime.DataPropertyName = "OutRoomTime";
|
||||
this.OutRoomTime.HeaderText = "出室时间";
|
||||
this.OutRoomTime.HeaderText = "出手术间时间";
|
||||
this.OutRoomTime.Name = "OutRoomTime";
|
||||
this.OutRoomTime.ReadOnly = true;
|
||||
this.OutRoomTime.Width = 200;
|
||||
@ -255,6 +284,135 @@
|
||||
this.AnesthesiaDoctorColumn.ReadOnly = true;
|
||||
this.AnesthesiaDoctorColumn.Width = 120;
|
||||
//
|
||||
// 待恢复
|
||||
//
|
||||
this.待恢复.AttachedControl = this.superTabControlPanel1;
|
||||
this.待恢复.GlobalItem = false;
|
||||
this.待恢复.Name = "待恢复";
|
||||
this.待恢复.Text = "待恢复";
|
||||
//
|
||||
// superTabControlPanel2
|
||||
//
|
||||
this.superTabControlPanel2.Controls.Add(this.dgv2);
|
||||
this.superTabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.superTabControlPanel2.Location = new System.Drawing.Point(0, 28);
|
||||
this.superTabControlPanel2.Name = "superTabControlPanel2";
|
||||
this.superTabControlPanel2.Size = new System.Drawing.Size(247, 550);
|
||||
this.superTabControlPanel2.TabIndex = 0;
|
||||
this.superTabControlPanel2.TabItem = this.已恢复;
|
||||
//
|
||||
// dgv2
|
||||
//
|
||||
this.dgv2.AllowUserToAddRows = false;
|
||||
this.dgv2.BackgroundColor = System.Drawing.Color.White;
|
||||
this.dgv2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgv2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.dataGridViewTextBoxColumn1,
|
||||
this.PatientIdColumn2,
|
||||
this.ApplyIdColumn2,
|
||||
this.dataGridViewTextBoxColumn4,
|
||||
this.dataGridViewTextBoxColumn5,
|
||||
this.dataGridViewTextBoxColumn6,
|
||||
this.dataGridViewTextBoxColumn8});
|
||||
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
|
||||
dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 10.5F);
|
||||
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgv2.DefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.dgv2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dgv2.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
|
||||
this.dgv2.Location = new System.Drawing.Point(0, 0);
|
||||
this.dgv2.Name = "dgv2";
|
||||
this.dgv2.RowHeadersVisible = false;
|
||||
this.dgv2.RowTemplate.Height = 23;
|
||||
this.dgv2.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||||
this.dgv2.Size = new System.Drawing.Size(247, 550);
|
||||
this.dgv2.TabIndex = 5;
|
||||
this.dgv2.CellContentDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgv2_CellContentDoubleClick);
|
||||
//
|
||||
// 已恢复
|
||||
//
|
||||
this.已恢复.AttachedControl = this.superTabControlPanel2;
|
||||
this.已恢复.GlobalItem = false;
|
||||
this.已恢复.Name = "已恢复";
|
||||
this.已恢复.Text = "已恢复";
|
||||
//
|
||||
// groupBox2
|
||||
//
|
||||
this.groupBox2.BackColor = System.Drawing.Color.AliceBlue;
|
||||
this.groupBox2.Controls.Add(this.panel3);
|
||||
this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.groupBox2.Location = new System.Drawing.Point(253, 39);
|
||||
this.groupBox2.Name = "groupBox2";
|
||||
this.groupBox2.Size = new System.Drawing.Size(746, 598);
|
||||
this.groupBox2.TabIndex = 2;
|
||||
this.groupBox2.TabStop = false;
|
||||
this.groupBox2.Text = "恢复床位";
|
||||
//
|
||||
// panel3
|
||||
//
|
||||
this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel3.Location = new System.Drawing.Point(3, 17);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(740, 578);
|
||||
this.panel3.TabIndex = 0;
|
||||
//
|
||||
// dataGridViewTextBoxColumn1
|
||||
//
|
||||
this.dataGridViewTextBoxColumn1.DataPropertyName = "Id";
|
||||
this.dataGridViewTextBoxColumn1.HeaderText = "Id";
|
||||
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
|
||||
this.dataGridViewTextBoxColumn1.Visible = false;
|
||||
//
|
||||
// PatientIdColumn2
|
||||
//
|
||||
this.PatientIdColumn2.DataPropertyName = "PatientId";
|
||||
this.PatientIdColumn2.HeaderText = "PatientId";
|
||||
this.PatientIdColumn2.Name = "PatientIdColumn2";
|
||||
this.PatientIdColumn2.Visible = false;
|
||||
//
|
||||
// ApplyIdColumn2
|
||||
//
|
||||
this.ApplyIdColumn2.DataPropertyName = "ApplyId";
|
||||
this.ApplyIdColumn2.HeaderText = "ApplyId";
|
||||
this.ApplyIdColumn2.Name = "ApplyIdColumn2";
|
||||
this.ApplyIdColumn2.ReadOnly = true;
|
||||
this.ApplyIdColumn2.Visible = false;
|
||||
//
|
||||
// dataGridViewTextBoxColumn4
|
||||
//
|
||||
this.dataGridViewTextBoxColumn4.HeaderText = "床位号";
|
||||
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
|
||||
this.dataGridViewTextBoxColumn4.ReadOnly = true;
|
||||
this.dataGridViewTextBoxColumn4.Width = 70;
|
||||
//
|
||||
// dataGridViewTextBoxColumn5
|
||||
//
|
||||
this.dataGridViewTextBoxColumn5.DataPropertyName = "PatientName";
|
||||
this.dataGridViewTextBoxColumn5.HeaderText = "患者信息";
|
||||
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
|
||||
this.dataGridViewTextBoxColumn5.ReadOnly = true;
|
||||
this.dataGridViewTextBoxColumn5.Width = 80;
|
||||
//
|
||||
// dataGridViewTextBoxColumn6
|
||||
//
|
||||
this.dataGridViewTextBoxColumn6.DataPropertyName = "OutRoomTime";
|
||||
this.dataGridViewTextBoxColumn6.HeaderText = "出恢复室时间";
|
||||
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
|
||||
this.dataGridViewTextBoxColumn6.ReadOnly = true;
|
||||
this.dataGridViewTextBoxColumn6.Width = 200;
|
||||
//
|
||||
// dataGridViewTextBoxColumn8
|
||||
//
|
||||
this.dataGridViewTextBoxColumn8.DataPropertyName = "AnesthesiaDoctor";
|
||||
this.dataGridViewTextBoxColumn8.HeaderText = "恢复医生";
|
||||
this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
|
||||
this.dataGridViewTextBoxColumn8.ReadOnly = true;
|
||||
this.dataGridViewTextBoxColumn8.Width = 120;
|
||||
//
|
||||
// frmRecoverPatient
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
@ -273,8 +431,12 @@
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
this.groupBox1.ResumeLayout(false);
|
||||
this.panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.supTabPatient)).EndInit();
|
||||
this.supTabPatient.ResumeLayout(false);
|
||||
this.superTabControlPanel1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgv)).EndInit();
|
||||
this.superTabControlPanel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgv2)).EndInit();
|
||||
this.groupBox2.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
@ -288,10 +450,14 @@
|
||||
private System.Windows.Forms.Button btnFrontDay;
|
||||
private System.Windows.Forms.GroupBox groupBox1;
|
||||
private System.Windows.Forms.GroupBox groupBox2;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private System.Windows.Forms.Panel panel3;
|
||||
private System.Windows.Forms.DataGridView dgv;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private DevComponents.DotNetBar.SuperTabControl supTabPatient;
|
||||
private DevComponents.DotNetBar.SuperTabControlPanel superTabControlPanel2;
|
||||
private System.Windows.Forms.DataGridView dgv2;
|
||||
private DevComponents.DotNetBar.SuperTabItem 已恢复;
|
||||
private DevComponents.DotNetBar.SuperTabControlPanel superTabControlPanel1;
|
||||
private System.Windows.Forms.DataGridView dgv;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn PatientIdColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyIdColumn;
|
||||
@ -300,5 +466,13 @@
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn OutRoomTime;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn OperationDoctorColumn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn AnesthesiaDoctorColumn;
|
||||
private DevComponents.DotNetBar.SuperTabItem 待恢复;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn PatientIdColumn2;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyIdColumn2;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8;
|
||||
}
|
||||
}
|
||||
@ -71,7 +71,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
dr["OperationRoom"].ToString(),
|
||||
//dr["MdrecNo"].ToString()+" "+
|
||||
dr["PatientName"].ToString(),
|
||||
dr["PlanOperationTime"].ToString(),
|
||||
DateTime.Parse(dr["OutRoomTime"].ToString()).ToString("MM-dd HH:mm"),
|
||||
dr["OperationDoctor"].ToString(),
|
||||
dr["AnesthesiaDoctor"].ToString()
|
||||
);
|
||||
@ -106,16 +106,29 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
//防止显示全部卡顿
|
||||
if (i >= 10) break;
|
||||
}
|
||||
|
||||
dgv2.Rows.Clear();
|
||||
DataTable dtt = SelectPatient.GetRecoverPatientOutDataTable
|
||||
(DateTime.Parse(dtpSelectPatientTime.Value.ToString("yyyy-MM-dd").ToString()));
|
||||
foreach (DataRow dr in dtt.Rows)
|
||||
{
|
||||
dgv2.Rows.Add(dr["Id"].ToString(),
|
||||
dr["PatientId"].ToString(),
|
||||
dr["ApplyId"].ToString(),
|
||||
dr["OperationRoom"].ToString(),
|
||||
//dr["MdrecNo"].ToString()+" "+
|
||||
dr["PatientName"].ToString(),
|
||||
DateTime.Parse(dr["OutRoomTime"].ToString()).ToString("MM-dd HH:mm"),
|
||||
dr["OperationDoctor"].ToString(),
|
||||
dr["AnesthesiaDoctor"].ToString()
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
private void dgv_CellContentClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
SelApplyId = int.Parse(dgv.CurrentRow.Cells["ApplyIdColumn"].Value.ToString());
|
||||
SelPatientId = int.Parse(dgv.CurrentRow.Cells["PatientIdColumn"].Value.ToString());
|
||||
}
|
||||
public int RecoverId = 2;
|
||||
public int SelPatientId;
|
||||
public int SelApplyId;
|
||||
|
||||
private void Uc_Clicks(ucPatientRecoverCard uc, DataRow dr)
|
||||
{
|
||||
@ -125,64 +138,74 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
{
|
||||
try
|
||||
{
|
||||
if (uc.buttonX1.Text == "转入恢复")
|
||||
if (supTabPatient.SelectedTab.Name == "" && dgv.CurrentRow != null)
|
||||
{
|
||||
if (dgv.CurrentRow != null)
|
||||
if (uc.buttonX1.Text == "转入恢复")
|
||||
{
|
||||
SelApplyId = int.Parse(dgv.CurrentRow.Cells["ApplyIdColumn"].Value.ToString());
|
||||
SelPatientId = int.Parse(dgv.CurrentRow.Cells["PatientIdColumn"].Value.ToString());
|
||||
}
|
||||
AIMS.OperationDoing.AnasRecoverBill.UI.frmAnasRecoverBillNew frmAnasRecord = new AnasRecoverBill.UI.frmAnasRecoverBillNew();
|
||||
frmAnasRecord.PatientId = SelPatientId;
|
||||
frmAnasRecord.ApplyId = SelApplyId;
|
||||
frmAnasRecord.RecoverId = RecoverId;
|
||||
frmAnasRecord.NowRoom = AIMSBLL.BOperationRoom.SelectSingle(int.Parse(uc.Tag.ToString()));
|
||||
frmAnasRecord.State = AIMSExtension.EditState.ADD;
|
||||
try
|
||||
{
|
||||
HelperDB.DbHelperSQL.BeginTrans();
|
||||
BOperationApply.UpdateApplyState(SelApplyId, 7);// 7 麻醉恢复中
|
||||
|
||||
//增加入室事件
|
||||
Events EventsObj = BEvents.GetModelByName("入室");
|
||||
if (EventsObj.Name != null)
|
||||
AIMS.OperationDoing.AnasRecoverBill.UI.frmAnasRecoverBillNew frmAnasRecord = new AnasRecoverBill.UI.frmAnasRecoverBillNew();
|
||||
frmAnasRecord.PatientId = int.Parse(dgv.CurrentRow.Cells["PatientIdColumn"].Value.ToString());
|
||||
frmAnasRecord.ApplyId = int.Parse(dgv.CurrentRow.Cells["ApplyIdColumn"].Value.ToString());
|
||||
frmAnasRecord.RecoverId = RecoverId;
|
||||
frmAnasRecord.NowRoom = AIMSBLL.BOperationRoom.SelectSingle(int.Parse(uc.Tag.ToString()));
|
||||
frmAnasRecord.State = AIMSExtension.EditState.ADD;
|
||||
try
|
||||
{
|
||||
FactEvents FactEventsObj = new FactEvents();
|
||||
FactEventsObj.EventId = EventsObj.Id;
|
||||
FactEventsObj.EventTypeId = 2;
|
||||
FactEventsObj.EventBeginTime = DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd HH:mm:00"));
|
||||
FactEventsObj.EventEndTime = FactEventsObj.EventBeginTime;
|
||||
FactEventsObj.IsContinue = 0;
|
||||
FactEventsObj.PatientId = SelPatientId;
|
||||
FactEventsObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo;
|
||||
FactEventsObj.OperatorName = AIMSExtension.PublicMethod.OperatorName;
|
||||
FactEventsObj.OperateDate = AIMSExtension.PublicMethod.SystemDate();
|
||||
HelperDB.DbHelperSQL.BeginTrans();
|
||||
BOperationApply.UpdateApplyState(frmAnasRecord.ApplyId, 7);// 7 麻醉恢复中
|
||||
|
||||
BFactEvents.Add(FactEventsObj);
|
||||
//增加入室事件
|
||||
Events EventsObj = BEvents.GetModelByName("入室");
|
||||
if (EventsObj.Name != null)
|
||||
{
|
||||
FactEvents FactEventsObj = new FactEvents();
|
||||
FactEventsObj.EventId = EventsObj.Id;
|
||||
FactEventsObj.EventTypeId = 2;
|
||||
FactEventsObj.EventBeginTime = DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd HH:mm:00"));
|
||||
FactEventsObj.EventEndTime = FactEventsObj.EventBeginTime;
|
||||
FactEventsObj.IsContinue = 0;
|
||||
FactEventsObj.PatientId = frmAnasRecord.PatientId;
|
||||
FactEventsObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo;
|
||||
FactEventsObj.OperatorName = AIMSExtension.PublicMethod.OperatorName;
|
||||
FactEventsObj.OperateDate = AIMSExtension.PublicMethod.SystemDate();
|
||||
|
||||
BFactEvents.Add(FactEventsObj);
|
||||
}
|
||||
HelperDB.DbHelperSQL.CommitTrans();
|
||||
}
|
||||
HelperDB.DbHelperSQL.CommitTrans();
|
||||
catch
|
||||
{
|
||||
HelperDB.DbHelperSQL.RollbackTrans();
|
||||
}
|
||||
frmAnasRecord.ShowDialog();
|
||||
}
|
||||
catch
|
||||
else
|
||||
{
|
||||
HelperDB.DbHelperSQL.RollbackTrans();
|
||||
AIMS.OperationDoing.AnasRecoverBill.UI.frmAnasRecoverBillNew frmAnasRecord = new AnasRecoverBill.UI.frmAnasRecoverBillNew();
|
||||
frmAnasRecord.PatientId = PatientId;
|
||||
frmAnasRecord.ApplyId = applyId;
|
||||
frmAnasRecord.NowRoom = AIMSBLL.BOperationRoom.SelectSingle(int.Parse(uc.Tag.ToString()));
|
||||
frmAnasRecord.State = AIMSExtension.EditState.EDIT;
|
||||
frmAnasRecord.ShowDialog();
|
||||
}
|
||||
frmAnasRecord.ShowDialog();
|
||||
FillDgv();
|
||||
}
|
||||
else
|
||||
{
|
||||
AIMS.OperationDoing.AnasRecoverBill.UI.frmAnasRecoverBillNew frmAnasRecord = new AnasRecoverBill.UI.frmAnasRecoverBillNew();
|
||||
frmAnasRecord.PatientId = PatientId;
|
||||
frmAnasRecord.ApplyId = applyId;
|
||||
frmAnasRecord.NowRoom = AIMSBLL.BOperationRoom.SelectSingle(int.Parse(uc.Tag.ToString()));
|
||||
frmAnasRecord.State = AIMSExtension.EditState.EDIT;
|
||||
frmAnasRecord.ShowDialog();
|
||||
}
|
||||
FillDgv();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
AIMSExtension.PublicMethod.WriteLog(ex);
|
||||
}
|
||||
}
|
||||
|
||||
private void dgv2_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
int SelApplyId = int.Parse(dgv2.CurrentRow.Cells["ApplyIdColumn2"].Value.ToString());
|
||||
int SelPatientId = int.Parse(dgv2.CurrentRow.Cells["PatientIdColumn2"].Value.ToString());
|
||||
|
||||
AIMS.OperationDoing.AnasRecoverBill.UI.frmAnasRecoverBillNew frmAnasRecord = new OperationDoing.AnasRecoverBill.UI.frmAnasRecoverBillNew();
|
||||
frmAnasRecord.PatientId = SelPatientId;
|
||||
frmAnasRecord.ApplyId = SelApplyId;
|
||||
frmAnasRecord.State = AIMSExtension.EditState.BROWSE;
|
||||
frmAnasRecord.ShowDialog();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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
|
||||
j3ofuz55f3q4kLyw8Bv3hPP74uYdwgAAAAlwSFlzAAALDAAACwwBP0AiyAAAAXJJREFUSEu1lk1KxTAU
|
||||
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
|
||||
j3ofuz55f3q4kLyw8Bv3hPP74uYdwgAAAAlwSFlzAAALDAAACwwBP0AiyAAAAaJJREFUSEu1lkFKw0AY
|
||||
hWclHkBB0J2CuPIO4sYjeAbJZGaSttqqx/EOHkCQiqJHcKMWdOFOcDG+lzRN8/+ldpEsPgovr+9lkn+G
|
||||
mBijwrrwkWQXp8DUDE2Sk1EDm/qfeRblKYHAHG3qXvC7ZZ1HaWZs6JfBvasGpbdGZhElEJh5V/zTA1a1
|
||||
s7jksrWSiJIn67PNLlcyLcoeUbLe3UoqfO+2+xLnI6ZslPSv54raLkkd3893EgYnNgww0ufFaEufzCJK
|
||||
@ -233,6 +233,27 @@
|
||||
RK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="dataGridViewTextBoxColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="PatientIdColumn2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="ApplyIdColumn2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dataGridViewTextBoxColumn4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dataGridViewTextBoxColumn5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dataGridViewTextBoxColumn6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dataGridViewTextBoxColumn8.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
|
||||
@ -44,7 +44,12 @@ namespace AIMSBLL
|
||||
}
|
||||
public static DataTable GetRecoverPatientDataTable(DateTime BeginDate)
|
||||
{
|
||||
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.OutRoomTime PlanOperationTime,of2.Nurse InstrumentNurse,of2.Nurse2 TourNurse,of2.DiagnoseInfoName ApplyDiagnoseInfoName ,of2.OperationRoom FROM V_OperationDoing of2 left join[dbo].[V_OperationFront] of1 on of1.PatientId = of2.PatientId WHERE of1.State in( '手术结束') and of2.OutRoomTime >= '" + BeginDate + "' AND of2.OutRoomTime<'" + BeginDate.AddDays(1) + "' and RecoverId=1 and of2.Id not in (select iD from OperationRecord where RecoverId<>1)";
|
||||
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.OutRoomTime ,of2.Nurse InstrumentNurse,of2.Nurse2 TourNurse,of2.DiagnoseInfoName ApplyDiagnoseInfoName ,of2.OperationRoom FROM V_OperationDoing of2 left join[dbo].[V_OperationFront] of1 on of1.PatientId = of2.PatientId WHERE of1.State in( '手术结束') and of2.OutRoomTime >= '" + BeginDate + "' AND of2.OutRoomTime<'" + BeginDate.AddDays(1) + "' and RecoverId=1 and of2.Id not in (select iD from OperationRecord where RecoverId<>1)";
|
||||
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
}
|
||||
public static DataTable GetRecoverPatientOutDataTable(DateTime BeginDate)
|
||||
{
|
||||
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.OutRoomTime ,of2.Nurse InstrumentNurse,of2.Nurse2 TourNurse,of2.DiagnoseInfoName ApplyDiagnoseInfoName ,of2.OperationRoom FROM V_OperationDoing of2 left join[dbo].[V_OperationFront] of1 on of1.PatientId = of2.PatientId WHERE of1.State in( '麻醉恢复结束') and of2.OutRoomTime >= '" + BeginDate + "' AND of2.OutRoomTime<'" + BeginDate.AddDays(1) + "' and RecoverId=2 order by OutRoomTime desc ";
|
||||
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
}
|
||||
public static DataTable GetSelectPatientDataTable(DateTime BeginDate, DateTime EndDate, bool isLoginPerson, string person, bool isEnOpe)
|
||||
|
||||
@ -669,6 +669,10 @@ namespace DrawGraph
|
||||
showvalue++;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
pp.showStyle = "显示曲线";
|
||||
}
|
||||
DateTime DateTimeNow = DateTime.Now;
|
||||
pp.setAnasArr(ZedControl, chartPack.RealX, chartPack.RealEndX, myOpeRecord.pageBegin,
|
||||
myOpeRecord.pageBegin.AddMinutes(EVERY_PAGE_TIME_SPAN));
|
||||
|
||||
@ -62,6 +62,9 @@
|
||||
<PropertyGroup>
|
||||
<SignManifests>false</SignManifests>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ApplicationIcon>aims.ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="DevComponents.DotNetBar2, Version=12.5.0.2, Culture=neutral, PublicKeyToken=c39c3242a43eee2b, processorArchitecture=MSIL" />
|
||||
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
@ -144,6 +147,7 @@
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="aims.ico" />
|
||||
<Content Include="AIMS.xml">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
|
||||
94
DrawGraphManagement/Main.Designer.cs
generated
94
DrawGraphManagement/Main.Designer.cs
generated
@ -29,6 +29,7 @@
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Main));
|
||||
this.cmbManageList = new System.Windows.Forms.ComboBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
@ -66,6 +67,8 @@
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.myPanel1 = new DrawGraphManagement.MyPanel();
|
||||
this.zedGraphMain = new DrawGraph.ZedGraphControl();
|
||||
this.button6 = new System.Windows.Forms.Button();
|
||||
this.button7 = new System.Windows.Forms.Button();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel4.SuspendLayout();
|
||||
this.pnlManageList.SuspendLayout();
|
||||
@ -83,6 +86,7 @@
|
||||
this.cmbManageList.Name = "cmbManageList";
|
||||
this.cmbManageList.Size = new System.Drawing.Size(155, 20);
|
||||
this.cmbManageList.TabIndex = 0;
|
||||
this.cmbManageList.Visible = false;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
@ -92,6 +96,7 @@
|
||||
this.label1.Size = new System.Drawing.Size(101, 12);
|
||||
this.label1.TabIndex = 1;
|
||||
this.label1.Text = "区域管理器类型:";
|
||||
this.label1.Visible = false;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
@ -101,6 +106,7 @@
|
||||
this.label2.Size = new System.Drawing.Size(101, 12);
|
||||
this.label2.TabIndex = 2;
|
||||
this.label2.Text = "区域管理器名称:";
|
||||
this.label2.Visible = false;
|
||||
//
|
||||
// txtManageName
|
||||
//
|
||||
@ -108,20 +114,22 @@
|
||||
this.txtManageName.Name = "txtManageName";
|
||||
this.txtManageName.Size = new System.Drawing.Size(180, 21);
|
||||
this.txtManageName.TabIndex = 3;
|
||||
this.txtManageName.Visible = false;
|
||||
//
|
||||
// btnCreate
|
||||
//
|
||||
this.btnCreate.Location = new System.Drawing.Point(565, 8);
|
||||
this.btnCreate.Location = new System.Drawing.Point(1302, 8);
|
||||
this.btnCreate.Name = "btnCreate";
|
||||
this.btnCreate.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnCreate.TabIndex = 4;
|
||||
this.btnCreate.Text = "新建";
|
||||
this.btnCreate.UseVisualStyleBackColor = true;
|
||||
this.btnCreate.Visible = false;
|
||||
this.btnCreate.Click += new System.EventHandler(this.btnCreate_Click);
|
||||
//
|
||||
// btnSave
|
||||
//
|
||||
this.btnSave.Location = new System.Drawing.Point(652, 8);
|
||||
this.btnSave.Location = new System.Drawing.Point(753, 7);
|
||||
this.btnSave.Name = "btnSave";
|
||||
this.btnSave.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnSave.TabIndex = 5;
|
||||
@ -131,8 +139,6 @@
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.label7);
|
||||
this.panel1.Controls.Add(this.txtHospitalName);
|
||||
this.panel1.Controls.Add(this.panel4);
|
||||
this.panel1.Controls.Add(this.label3);
|
||||
this.panel1.Controls.Add(this.txtProjectName);
|
||||
@ -140,16 +146,18 @@
|
||||
this.panel1.Controls.Add(this.label1);
|
||||
this.panel1.Controls.Add(this.label2);
|
||||
this.panel1.Controls.Add(this.txtManageName);
|
||||
this.panel1.Controls.Add(this.label7);
|
||||
this.panel1.Controls.Add(this.txtHospitalName);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(1356, 79);
|
||||
this.panel1.Size = new System.Drawing.Size(1356, 46);
|
||||
this.panel1.TabIndex = 6;
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.Location = new System.Drawing.Point(12, 14);
|
||||
this.label7.Location = new System.Drawing.Point(28, 14);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(65, 12);
|
||||
this.label7.TabIndex = 10;
|
||||
@ -157,9 +165,9 @@
|
||||
//
|
||||
// txtHospitalName
|
||||
//
|
||||
this.txtHospitalName.Location = new System.Drawing.Point(83, 10);
|
||||
this.txtHospitalName.Location = new System.Drawing.Point(99, 10);
|
||||
this.txtHospitalName.Name = "txtHospitalName";
|
||||
this.txtHospitalName.Size = new System.Drawing.Size(225, 21);
|
||||
this.txtHospitalName.Size = new System.Drawing.Size(213, 21);
|
||||
this.txtHospitalName.TabIndex = 11;
|
||||
//
|
||||
// panel4
|
||||
@ -172,13 +180,15 @@
|
||||
this.panel4.Controls.Add(this.BtnBind);
|
||||
this.panel4.Controls.Add(this.label6);
|
||||
this.panel4.Controls.Add(this.textBox1);
|
||||
this.panel4.Controls.Add(this.button7);
|
||||
this.panel4.Controls.Add(this.button6);
|
||||
this.panel4.Controls.Add(this.button2);
|
||||
this.panel4.Controls.Add(this.btnCreate);
|
||||
this.panel4.Controls.Add(this.btnSave);
|
||||
this.panel4.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.panel4.Location = new System.Drawing.Point(0, 42);
|
||||
this.panel4.Location = new System.Drawing.Point(0, 4);
|
||||
this.panel4.Name = "panel4";
|
||||
this.panel4.Size = new System.Drawing.Size(1356, 37);
|
||||
this.panel4.Size = new System.Drawing.Size(1356, 42);
|
||||
this.panel4.TabIndex = 9;
|
||||
//
|
||||
// button5
|
||||
@ -189,6 +199,7 @@
|
||||
this.button5.TabIndex = 16;
|
||||
this.button5.Text = "清空";
|
||||
this.button5.UseVisualStyleBackColor = true;
|
||||
this.button5.Visible = false;
|
||||
this.button5.Click += new System.EventHandler(this.button5_Click);
|
||||
//
|
||||
// button4
|
||||
@ -199,6 +210,7 @@
|
||||
this.button4.TabIndex = 15;
|
||||
this.button4.Text = "默认";
|
||||
this.button4.UseVisualStyleBackColor = true;
|
||||
this.button4.Visible = false;
|
||||
this.button4.Click += new System.EventHandler(this.button4_Click);
|
||||
//
|
||||
// button3
|
||||
@ -209,6 +221,7 @@
|
||||
this.button3.TabIndex = 14;
|
||||
this.button3.Text = "更改所有窗体字体";
|
||||
this.button3.UseVisualStyleBackColor = true;
|
||||
this.button3.Visible = false;
|
||||
this.button3.Click += new System.EventHandler(this.button3_Click);
|
||||
//
|
||||
// txtFontSize
|
||||
@ -217,24 +230,26 @@
|
||||
this.txtFontSize.Name = "txtFontSize";
|
||||
this.txtFontSize.Size = new System.Drawing.Size(62, 21);
|
||||
this.txtFontSize.TabIndex = 13;
|
||||
this.txtFontSize.Visible = false;
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Location = new System.Drawing.Point(418, 7);
|
||||
this.button1.Location = new System.Drawing.Point(1221, 8);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(75, 23);
|
||||
this.button1.TabIndex = 12;
|
||||
this.button1.Text = "文书加载";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Visible = false;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click_1);
|
||||
//
|
||||
// BtnBind
|
||||
//
|
||||
this.BtnBind.Location = new System.Drawing.Point(337, 7);
|
||||
this.BtnBind.Location = new System.Drawing.Point(670, 7);
|
||||
this.BtnBind.Name = "BtnBind";
|
||||
this.BtnBind.Size = new System.Drawing.Size(75, 23);
|
||||
this.BtnBind.TabIndex = 11;
|
||||
this.BtnBind.Text = "手术加载";
|
||||
this.BtnBind.Text = "加载数据";
|
||||
this.BtnBind.UseVisualStyleBackColor = true;
|
||||
this.BtnBind.Click += new System.EventHandler(this.BtnBind_Click);
|
||||
//
|
||||
@ -243,24 +258,24 @@
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(12, 12);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(77, 12);
|
||||
this.label6.Size = new System.Drawing.Size(53, 12);
|
||||
this.label6.TabIndex = 9;
|
||||
this.label6.Text = "手术记录ID:";
|
||||
this.label6.Text = "患者ID:";
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
this.textBox1.Location = new System.Drawing.Point(95, 8);
|
||||
this.textBox1.Location = new System.Drawing.Point(83, 8);
|
||||
this.textBox1.Name = "textBox1";
|
||||
this.textBox1.Size = new System.Drawing.Size(213, 21);
|
||||
this.textBox1.TabIndex = 10;
|
||||
//
|
||||
// button2
|
||||
//
|
||||
this.button2.Location = new System.Drawing.Point(739, 8);
|
||||
this.button2.Location = new System.Drawing.Point(349, 7);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(75, 23);
|
||||
this.button2.Size = new System.Drawing.Size(99, 23);
|
||||
this.button2.TabIndex = 6;
|
||||
this.button2.Text = "读取数据库";
|
||||
this.button2.Text = "加载麻醉记录单";
|
||||
this.button2.UseVisualStyleBackColor = true;
|
||||
this.button2.Click += new System.EventHandler(this.button2_Click);
|
||||
//
|
||||
@ -272,6 +287,7 @@
|
||||
this.label3.Size = new System.Drawing.Size(65, 12);
|
||||
this.label3.TabIndex = 7;
|
||||
this.label3.Text = "项目名称:";
|
||||
this.label3.Visible = false;
|
||||
//
|
||||
// txtProjectName
|
||||
//
|
||||
@ -279,14 +295,15 @@
|
||||
this.txtProjectName.Name = "txtProjectName";
|
||||
this.txtProjectName.Size = new System.Drawing.Size(225, 21);
|
||||
this.txtProjectName.TabIndex = 8;
|
||||
this.txtProjectName.Visible = false;
|
||||
//
|
||||
// pnlManageList
|
||||
//
|
||||
this.pnlManageList.Controls.Add(this.treeView1);
|
||||
this.pnlManageList.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.pnlManageList.Location = new System.Drawing.Point(0, 79);
|
||||
this.pnlManageList.Location = new System.Drawing.Point(0, 46);
|
||||
this.pnlManageList.Name = "pnlManageList";
|
||||
this.pnlManageList.Size = new System.Drawing.Size(208, 633);
|
||||
this.pnlManageList.Size = new System.Drawing.Size(208, 666);
|
||||
this.pnlManageList.TabIndex = 7;
|
||||
//
|
||||
// treeView1
|
||||
@ -294,7 +311,7 @@
|
||||
this.treeView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.treeView1.Location = new System.Drawing.Point(0, 0);
|
||||
this.treeView1.Name = "treeView1";
|
||||
this.treeView1.Size = new System.Drawing.Size(208, 633);
|
||||
this.treeView1.Size = new System.Drawing.Size(208, 666);
|
||||
this.treeView1.TabIndex = 1;
|
||||
this.treeView1.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.treeView1_NodeMouseClick);
|
||||
//
|
||||
@ -331,9 +348,9 @@
|
||||
this.panel3.Controls.Add(this.txtAreaX);
|
||||
this.panel3.Controls.Add(this.label4);
|
||||
this.panel3.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.panel3.Location = new System.Drawing.Point(1133, 79);
|
||||
this.panel3.Location = new System.Drawing.Point(1133, 46);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(223, 633);
|
||||
this.panel3.Size = new System.Drawing.Size(223, 666);
|
||||
this.panel3.TabIndex = 9;
|
||||
//
|
||||
// cmbPageType
|
||||
@ -421,9 +438,9 @@
|
||||
this.myPanel1.AutoScroll = true;
|
||||
this.myPanel1.Controls.Add(this.zedGraphMain);
|
||||
this.myPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.myPanel1.Location = new System.Drawing.Point(208, 79);
|
||||
this.myPanel1.Location = new System.Drawing.Point(208, 46);
|
||||
this.myPanel1.Name = "myPanel1";
|
||||
this.myPanel1.Size = new System.Drawing.Size(925, 633);
|
||||
this.myPanel1.Size = new System.Drawing.Size(925, 666);
|
||||
this.myPanel1.TabIndex = 10;
|
||||
this.myPanel1.Scroll += new System.Windows.Forms.ScrollEventHandler(this.myPanel1_Scroll);
|
||||
//
|
||||
@ -446,6 +463,26 @@
|
||||
this.zedGraphMain.KeyUp += new System.Windows.Forms.KeyEventHandler(this.zedGraphMain_KeyUp);
|
||||
this.zedGraphMain.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.zedGraphMain_MouseDoubleClick);
|
||||
//
|
||||
// button6
|
||||
//
|
||||
this.button6.Location = new System.Drawing.Point(456, 7);
|
||||
this.button6.Name = "button6";
|
||||
this.button6.Size = new System.Drawing.Size(99, 23);
|
||||
this.button6.TabIndex = 6;
|
||||
this.button6.Text = "加载恢复记录单";
|
||||
this.button6.UseVisualStyleBackColor = true;
|
||||
this.button6.Click += new System.EventHandler(this.button6_Click);
|
||||
//
|
||||
// button7
|
||||
//
|
||||
this.button7.Location = new System.Drawing.Point(563, 7);
|
||||
this.button7.Name = "button7";
|
||||
this.button7.Size = new System.Drawing.Size(99, 23);
|
||||
this.button7.TabIndex = 6;
|
||||
this.button7.Text = "加载器械清点单";
|
||||
this.button7.UseVisualStyleBackColor = true;
|
||||
this.button7.Click += new System.EventHandler(this.button7_Click);
|
||||
//
|
||||
// Main
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
@ -456,8 +493,9 @@
|
||||
this.Controls.Add(this.panel3);
|
||||
this.Controls.Add(this.pnlManageList);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Name = "Main";
|
||||
this.Text = "模板制作工具";
|
||||
this.Text = "记录单制作工具";
|
||||
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
|
||||
this.Load += new System.EventHandler(this.Main_Load);
|
||||
this.panel1.ResumeLayout(false);
|
||||
@ -512,5 +550,7 @@
|
||||
private System.Windows.Forms.ComboBox cmbPageType;
|
||||
private System.Windows.Forms.Label label9;
|
||||
private System.Windows.Forms.Button button2;
|
||||
private System.Windows.Forms.Button button6;
|
||||
private System.Windows.Forms.Button button7;
|
||||
}
|
||||
}
|
||||
@ -290,6 +290,7 @@ namespace DrawGraphManagement
|
||||
|
||||
private void BtnBind_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (textBox1.Text == "") return;
|
||||
#region 绑定所有手术记录的值
|
||||
int id = 14;
|
||||
if (textBox1.Text != "") id = int.Parse(textBox1.Text);
|
||||
@ -419,6 +420,61 @@ namespace DrawGraphManagement
|
||||
templateManage.ControlClear();
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
string jsonStr = DBHelper.ExecuteScalar("SELECT [JsonDate] FROM [dbo].[OperationRecordTemplate] where id=1").ToString();
|
||||
if (jsonStr != null && jsonStr != "")
|
||||
{
|
||||
templateManage = JsonConvert.DeserializeObject<TemplateManage>(jsonStr);
|
||||
templateManage.ZedControl = zedGraphMain;
|
||||
templateManage.OpeRecord = operationRecor;
|
||||
templateManage.Id = 1;
|
||||
bool reVal = templateManage.Load();
|
||||
if (reVal)
|
||||
{
|
||||
AllRefresh();
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show(templateManage.MsgStr);
|
||||
}
|
||||
AutoSizeF();
|
||||
|
||||
}
|
||||
|
||||
//设置排版值
|
||||
if (templateManage.Typesetting == TypesettingEnum.Vertical)
|
||||
{
|
||||
cmbTypesetting.Text = "竖向";
|
||||
}
|
||||
else
|
||||
{
|
||||
cmbTypesetting.Text = "横向";
|
||||
}
|
||||
//设置纸张类型
|
||||
if (templateManage.PageType == PageTypeEnum.A4)
|
||||
{
|
||||
cmbPageType.Text = "A4";
|
||||
}
|
||||
else
|
||||
{
|
||||
cmbPageType.Text = "A3";
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(ex.Message);
|
||||
}
|
||||
}
|
||||
private void button6_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
if (templateManage != null)
|
||||
{
|
||||
templateManage.ControlClear();
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
@ -466,5 +522,60 @@ namespace DrawGraphManagement
|
||||
MessageBox.Show(ex.Message);
|
||||
}
|
||||
}
|
||||
private void button7_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
if (templateManage != null)
|
||||
{
|
||||
templateManage.ControlClear();
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
string jsonStr = DBHelper.ExecuteScalar("SELECT [JsonDate] FROM [dbo].[OperationRecordTemplate] where id=19").ToString();
|
||||
if (jsonStr != null && jsonStr != "")
|
||||
{
|
||||
templateManage = JsonConvert.DeserializeObject<TemplateManage>(jsonStr);
|
||||
templateManage.ZedControl = zedGraphMain;
|
||||
templateManage.OpeRecord = operationRecor;
|
||||
templateManage.Id = 19;
|
||||
bool reVal = templateManage.Load();
|
||||
if (reVal)
|
||||
{
|
||||
AllRefresh();
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show(templateManage.MsgStr);
|
||||
}
|
||||
AutoSizeF();
|
||||
|
||||
}
|
||||
|
||||
//设置排版值
|
||||
if (templateManage.Typesetting == TypesettingEnum.Vertical)
|
||||
{
|
||||
cmbTypesetting.Text = "竖向";
|
||||
}
|
||||
else
|
||||
{
|
||||
cmbTypesetting.Text = "横向";
|
||||
}
|
||||
//设置纸张类型
|
||||
if (templateManage.PageType == PageTypeEnum.A4)
|
||||
{
|
||||
cmbPageType.Text = "A4";
|
||||
}
|
||||
else
|
||||
{
|
||||
cmbPageType.Text = "A3";
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(ex.Message);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
BIN
DrawGraphManagement/aims.ico
Normal file
BIN
DrawGraphManagement/aims.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 66 KiB |
Loading…
x
Reference in New Issue
Block a user