查询管理 使用中问题优化
This commit is contained in:
parent
c97980e086
commit
0679dacefb
27
AIMS/DocManager/frmDocument.Designer.cs
generated
27
AIMS/DocManager/frmDocument.Designer.cs
generated
@ -35,12 +35,12 @@
|
|||||||
this.expandableSplitter2 = new DevComponents.DotNetBar.ExpandableSplitter();
|
this.expandableSplitter2 = new DevComponents.DotNetBar.ExpandableSplitter();
|
||||||
this.panel1 = new System.Windows.Forms.Panel();
|
this.panel1 = new System.Windows.Forms.Panel();
|
||||||
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
|
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
|
||||||
|
this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
|
||||||
this.lblPatient = new DevComponents.DotNetBar.LabelX();
|
this.lblPatient = new DevComponents.DotNetBar.LabelX();
|
||||||
this.btnSel = new DevComponents.DotNetBar.ButtonX();
|
this.btnSel = new DevComponents.DotNetBar.ButtonX();
|
||||||
this.expandablePanel1 = new DevComponents.DotNetBar.ExpandablePanel();
|
this.expandablePanel1 = new DevComponents.DotNetBar.ExpandablePanel();
|
||||||
this.tabControlPanel1 = new DevComponents.DotNetBar.TabControlPanel();
|
this.tabControlPanel1 = new DevComponents.DotNetBar.TabControlPanel();
|
||||||
this.tabItem1 = new DevComponents.DotNetBar.TabItem(this.components);
|
this.tabItem1 = new DevComponents.DotNetBar.TabItem(this.components);
|
||||||
this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
|
|
||||||
this.panel2.SuspendLayout();
|
this.panel2.SuspendLayout();
|
||||||
this.panel3.SuspendLayout();
|
this.panel3.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.tsbDoc)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.tsbDoc)).BeginInit();
|
||||||
@ -157,6 +157,18 @@
|
|||||||
this.panelEx1.Style.GradientAngle = 90;
|
this.panelEx1.Style.GradientAngle = 90;
|
||||||
this.panelEx1.TabIndex = 0;
|
this.panelEx1.TabIndex = 0;
|
||||||
//
|
//
|
||||||
|
// buttonX1
|
||||||
|
//
|
||||||
|
this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||||
|
this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||||
|
this.buttonX1.Location = new System.Drawing.Point(86, 10);
|
||||||
|
this.buttonX1.Margin = new System.Windows.Forms.Padding(2);
|
||||||
|
this.buttonX1.Name = "buttonX1";
|
||||||
|
this.buttonX1.Size = new System.Drawing.Size(70, 23);
|
||||||
|
this.buttonX1.TabIndex = 4;
|
||||||
|
this.buttonX1.Text = "数据中心";
|
||||||
|
this.buttonX1.Click += new System.EventHandler(this.buttonX1_Click);
|
||||||
|
//
|
||||||
// lblPatient
|
// lblPatient
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
@ -232,18 +244,6 @@
|
|||||||
this.tabItem1.Name = "tabItem1";
|
this.tabItem1.Name = "tabItem1";
|
||||||
this.tabItem1.Text = "tabItem1";
|
this.tabItem1.Text = "tabItem1";
|
||||||
//
|
//
|
||||||
// buttonX1
|
|
||||||
//
|
|
||||||
this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
|
||||||
this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
|
||||||
this.buttonX1.Location = new System.Drawing.Point(86, 10);
|
|
||||||
this.buttonX1.Margin = new System.Windows.Forms.Padding(2);
|
|
||||||
this.buttonX1.Name = "buttonX1";
|
|
||||||
this.buttonX1.Size = new System.Drawing.Size(70, 23);
|
|
||||||
this.buttonX1.TabIndex = 4;
|
|
||||||
this.buttonX1.Text = "数据中心";
|
|
||||||
this.buttonX1.Click += new System.EventHandler(this.buttonX1_Click);
|
|
||||||
//
|
|
||||||
// frmDocument
|
// frmDocument
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||||
@ -251,6 +251,7 @@
|
|||||||
this.ClientSize = new System.Drawing.Size(1074, 542);
|
this.ClientSize = new System.Drawing.Size(1074, 542);
|
||||||
this.Controls.Add(this.panel2);
|
this.Controls.Add(this.panel2);
|
||||||
this.Margin = new System.Windows.Forms.Padding(2);
|
this.Margin = new System.Windows.Forms.Padding(2);
|
||||||
|
this.MinimizeBox = false;
|
||||||
this.Name = "frmDocument";
|
this.Name = "frmDocument";
|
||||||
this.ShowIcon = false;
|
this.ShowIcon = false;
|
||||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||||
|
|||||||
@ -25,6 +25,7 @@ namespace AIMS
|
|||||||
|
|
||||||
private void frmLogin_Load(object sender, EventArgs e)
|
private void frmLogin_Load(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
AIMSExtension.PublicMethod.SetLocalDateTime();
|
||||||
//label1.Text = AIMSExtension.PublicMethod.GetSystemName();
|
//label1.Text = AIMSExtension.PublicMethod.GetSystemName();
|
||||||
//label2.Text = "@山西瑞禾康医疗科技有限公司 V" + System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString();
|
//label2.Text = "@山西瑞禾康医疗科技有限公司 V" + System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString();
|
||||||
txtNo.Select();
|
txtNo.Select();
|
||||||
|
|||||||
531
AIMS/OperationAfter/frmOperationManage.Designer.cs
generated
531
AIMS/OperationAfter/frmOperationManage.Designer.cs
generated
@ -28,6 +28,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
||||||
this.tsbReviewApply = new System.Windows.Forms.ToolStripButton();
|
this.tsbReviewApply = new System.Windows.Forms.ToolStripButton();
|
||||||
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
@ -38,7 +39,7 @@
|
|||||||
this.tsbExit = new System.Windows.Forms.ToolStripButton();
|
this.tsbExit = new System.Windows.Forms.ToolStripButton();
|
||||||
this.panel1 = new System.Windows.Forms.Panel();
|
this.panel1 = new System.Windows.Forms.Panel();
|
||||||
this.panel3 = new System.Windows.Forms.Panel();
|
this.panel3 = new System.Windows.Forms.Panel();
|
||||||
this.dgv = new System.Windows.Forms.DataGridView();
|
this.dgv = new DevComponents.DotNetBar.Controls.DataGridViewX();
|
||||||
this.CheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
this.CheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||||
this.ApplyId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.ApplyId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.StateColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.StateColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
@ -66,7 +67,7 @@
|
|||||||
this.OperationHourTimeSpan = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.OperationHourTimeSpan = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.AnaesthesiaMethodNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.AnaesthesiaMethodNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.OperationInfoName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.OperationInfoName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.OperationCutTypeName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.OperationCut = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.OperationPositionName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.OperationPositionName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.OperationBodyPositionName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.OperationBodyPositionName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.OperationLevelNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.OperationLevelNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
@ -82,6 +83,10 @@
|
|||||||
this.RemarkColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.RemarkColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.OperatorName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.OperatorName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.panel2 = new System.Windows.Forms.Panel();
|
this.panel2 = new System.Windows.Forms.Panel();
|
||||||
|
this.btnFind = new System.Windows.Forms.Button();
|
||||||
|
this.AgeEnd = new System.Windows.Forms.NumericUpDown();
|
||||||
|
this.AgeBegin = new System.Windows.Forms.NumericUpDown();
|
||||||
|
this.label14 = new System.Windows.Forms.Label();
|
||||||
this.cboIsNotPlanReturnOperation = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
this.cboIsNotPlanReturnOperation = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||||
this.txtName = new System.Windows.Forms.TextBox();
|
this.txtName = new System.Windows.Forms.TextBox();
|
||||||
this.label5 = new System.Windows.Forms.Label();
|
this.label5 = new System.Windows.Forms.Label();
|
||||||
@ -92,22 +97,24 @@
|
|||||||
this.tokenEditor3 = new DevComponents.DotNetBar.Controls.TokenEditor();
|
this.tokenEditor3 = new DevComponents.DotNetBar.Controls.TokenEditor();
|
||||||
this.tokenEditor2 = new DevComponents.DotNetBar.Controls.TokenEditor();
|
this.tokenEditor2 = new DevComponents.DotNetBar.Controls.TokenEditor();
|
||||||
this.tokenEditor1 = new DevComponents.DotNetBar.Controls.TokenEditor();
|
this.tokenEditor1 = new DevComponents.DotNetBar.Controls.TokenEditor();
|
||||||
this.panel5 = new System.Windows.Forms.Panel();
|
|
||||||
this.rboZY = new System.Windows.Forms.RadioButton();
|
|
||||||
this.rboMZ = new System.Windows.Forms.RadioButton();
|
|
||||||
this.label10 = new System.Windows.Forms.Label();
|
this.label10 = new System.Windows.Forms.Label();
|
||||||
this.panel4 = new System.Windows.Forms.Panel();
|
this.label13 = new System.Windows.Forms.Label();
|
||||||
this.rboZQ = new System.Windows.Forms.RadioButton();
|
this.label12 = new System.Windows.Forms.Label();
|
||||||
this.rboJZ = new System.Windows.Forms.RadioButton();
|
this.label11 = new System.Windows.Forms.Label();
|
||||||
|
this.label15 = new System.Windows.Forms.Label();
|
||||||
this.label20 = new System.Windows.Forms.Label();
|
this.label20 = new System.Windows.Forms.Label();
|
||||||
this.label8 = new System.Windows.Forms.Label();
|
this.label8 = new System.Windows.Forms.Label();
|
||||||
this.btnFind = new System.Windows.Forms.Button();
|
|
||||||
this.label7 = new System.Windows.Forms.Label();
|
this.label7 = new System.Windows.Forms.Label();
|
||||||
this.dtpBegInDate = new System.Windows.Forms.DateTimePicker();
|
this.dtpBegInDate = new System.Windows.Forms.DateTimePicker();
|
||||||
this.label4 = new System.Windows.Forms.Label();
|
this.label4 = new System.Windows.Forms.Label();
|
||||||
this.label2 = new System.Windows.Forms.Label();
|
this.label2 = new System.Windows.Forms.Label();
|
||||||
this.label3 = new System.Windows.Forms.Label();
|
this.label3 = new System.Windows.Forms.Label();
|
||||||
this.dtpEndDate = new System.Windows.Forms.DateTimePicker();
|
this.dtpEndDate = new System.Windows.Forms.DateTimePicker();
|
||||||
|
this.cmbPatType = new System.Windows.Forms.ComboBox();
|
||||||
|
this.txtASALevel = new System.Windows.Forms.ComboBox();
|
||||||
|
this.txtOperationCut = new System.Windows.Forms.ComboBox();
|
||||||
|
this.cboOperationLevel = new System.Windows.Forms.ComboBox();
|
||||||
|
this.cmbOpeType = new System.Windows.Forms.ComboBox();
|
||||||
this.cboDepartment = new System.Windows.Forms.ComboBox();
|
this.cboDepartment = new System.Windows.Forms.ComboBox();
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
this.toolStrip1.SuspendLayout();
|
this.toolStrip1.SuspendLayout();
|
||||||
@ -115,8 +122,8 @@
|
|||||||
this.panel3.SuspendLayout();
|
this.panel3.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dgv)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.dgv)).BeginInit();
|
||||||
this.panel2.SuspendLayout();
|
this.panel2.SuspendLayout();
|
||||||
this.panel5.SuspendLayout();
|
((System.ComponentModel.ISupportInitialize)(this.AgeEnd)).BeginInit();
|
||||||
this.panel4.SuspendLayout();
|
((System.ComponentModel.ISupportInitialize)(this.AgeBegin)).BeginInit();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// toolStrip1
|
// toolStrip1
|
||||||
@ -134,7 +141,7 @@
|
|||||||
this.tsbExit});
|
this.tsbExit});
|
||||||
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
|
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
|
||||||
this.toolStrip1.Name = "toolStrip1";
|
this.toolStrip1.Name = "toolStrip1";
|
||||||
this.toolStrip1.Size = new System.Drawing.Size(1004, 49);
|
this.toolStrip1.Size = new System.Drawing.Size(1187, 49);
|
||||||
this.toolStrip1.TabIndex = 2;
|
this.toolStrip1.TabIndex = 2;
|
||||||
this.toolStrip1.Text = "toolStrip1";
|
this.toolStrip1.Text = "toolStrip1";
|
||||||
//
|
//
|
||||||
@ -207,21 +214,22 @@
|
|||||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.panel1.Location = new System.Drawing.Point(0, 49);
|
this.panel1.Location = new System.Drawing.Point(0, 49);
|
||||||
this.panel1.Name = "panel1";
|
this.panel1.Name = "panel1";
|
||||||
this.panel1.Size = new System.Drawing.Size(1004, 432);
|
this.panel1.Size = new System.Drawing.Size(1187, 432);
|
||||||
this.panel1.TabIndex = 3;
|
this.panel1.TabIndex = 3;
|
||||||
//
|
//
|
||||||
// panel3
|
// panel3
|
||||||
//
|
//
|
||||||
this.panel3.Controls.Add(this.dgv);
|
this.panel3.Controls.Add(this.dgv);
|
||||||
this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.panel3.Location = new System.Drawing.Point(0, 116);
|
this.panel3.Location = new System.Drawing.Point(0, 112);
|
||||||
this.panel3.Name = "panel3";
|
this.panel3.Name = "panel3";
|
||||||
this.panel3.Size = new System.Drawing.Size(1004, 316);
|
this.panel3.Size = new System.Drawing.Size(1187, 320);
|
||||||
this.panel3.TabIndex = 1;
|
this.panel3.TabIndex = 1;
|
||||||
//
|
//
|
||||||
// dgv
|
// dgv
|
||||||
//
|
//
|
||||||
this.dgv.AllowUserToAddRows = false;
|
this.dgv.AllowUserToAddRows = false;
|
||||||
|
this.dgv.AllowUserToDeleteRows = false;
|
||||||
this.dgv.BackgroundColor = System.Drawing.Color.White;
|
this.dgv.BackgroundColor = System.Drawing.Color.White;
|
||||||
this.dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
this.dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
this.dgv.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
this.dgv.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||||
@ -252,7 +260,7 @@
|
|||||||
this.OperationHourTimeSpan,
|
this.OperationHourTimeSpan,
|
||||||
this.AnaesthesiaMethodNameColumn,
|
this.AnaesthesiaMethodNameColumn,
|
||||||
this.OperationInfoName,
|
this.OperationInfoName,
|
||||||
this.OperationCutTypeName,
|
this.OperationCut,
|
||||||
this.OperationPositionName,
|
this.OperationPositionName,
|
||||||
this.OperationBodyPositionName,
|
this.OperationBodyPositionName,
|
||||||
this.OperationLevelNameColumn,
|
this.OperationLevelNameColumn,
|
||||||
@ -267,20 +275,33 @@
|
|||||||
this.IsNotPlanReturnOperation,
|
this.IsNotPlanReturnOperation,
|
||||||
this.RemarkColumn,
|
this.RemarkColumn,
|
||||||
this.OperatorName});
|
this.OperatorName});
|
||||||
|
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||||
|
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
|
||||||
|
dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, 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.dgv.DefaultCellStyle = dataGridViewCellStyle1;
|
||||||
this.dgv.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.dgv.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.dgv.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
|
||||||
this.dgv.Location = new System.Drawing.Point(0, 0);
|
this.dgv.Location = new System.Drawing.Point(0, 0);
|
||||||
this.dgv.Name = "dgv";
|
this.dgv.Name = "dgv";
|
||||||
|
this.dgv.ReadOnly = true;
|
||||||
this.dgv.RowTemplate.Height = 23;
|
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(1004, 316);
|
this.dgv.Size = new System.Drawing.Size(1187, 320);
|
||||||
this.dgv.TabIndex = 4;
|
this.dgv.TabIndex = 4;
|
||||||
|
this.dgv.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dgv_RowPostPaint);
|
||||||
//
|
//
|
||||||
// CheckBoxColumn
|
// CheckBoxColumn
|
||||||
//
|
//
|
||||||
this.CheckBoxColumn.HeaderText = "选择";
|
this.CheckBoxColumn.HeaderText = "选择";
|
||||||
this.CheckBoxColumn.Name = "CheckBoxColumn";
|
this.CheckBoxColumn.Name = "CheckBoxColumn";
|
||||||
|
this.CheckBoxColumn.ReadOnly = true;
|
||||||
this.CheckBoxColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
this.CheckBoxColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||||
this.CheckBoxColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
this.CheckBoxColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||||
|
this.CheckBoxColumn.Visible = false;
|
||||||
this.CheckBoxColumn.Width = 35;
|
this.CheckBoxColumn.Width = 35;
|
||||||
//
|
//
|
||||||
// ApplyId
|
// ApplyId
|
||||||
@ -320,11 +341,12 @@
|
|||||||
this.Age.DataPropertyName = "Age";
|
this.Age.DataPropertyName = "Age";
|
||||||
this.Age.HeaderText = "年龄";
|
this.Age.HeaderText = "年龄";
|
||||||
this.Age.Name = "Age";
|
this.Age.Name = "Age";
|
||||||
|
this.Age.ReadOnly = true;
|
||||||
this.Age.Width = 40;
|
this.Age.Width = 40;
|
||||||
//
|
//
|
||||||
// ApplyDepNameColumn
|
// ApplyDepNameColumn
|
||||||
//
|
//
|
||||||
this.ApplyDepNameColumn.DataPropertyName = "ApplyDepName";
|
this.ApplyDepNameColumn.DataPropertyName = "ApplyDeptName";
|
||||||
this.ApplyDepNameColumn.HeaderText = "科室";
|
this.ApplyDepNameColumn.HeaderText = "科室";
|
||||||
this.ApplyDepNameColumn.Name = "ApplyDepNameColumn";
|
this.ApplyDepNameColumn.Name = "ApplyDepNameColumn";
|
||||||
this.ApplyDepNameColumn.ReadOnly = true;
|
this.ApplyDepNameColumn.ReadOnly = true;
|
||||||
@ -343,6 +365,7 @@
|
|||||||
this.PatientType.DataPropertyName = "PatientType";
|
this.PatientType.DataPropertyName = "PatientType";
|
||||||
this.PatientType.HeaderText = "患者类别";
|
this.PatientType.HeaderText = "患者类别";
|
||||||
this.PatientType.Name = "PatientType";
|
this.PatientType.Name = "PatientType";
|
||||||
|
this.PatientType.ReadOnly = true;
|
||||||
this.PatientType.Width = 80;
|
this.PatientType.Width = 80;
|
||||||
//
|
//
|
||||||
// MdrecNoColumn
|
// MdrecNoColumn
|
||||||
@ -374,6 +397,7 @@
|
|||||||
this.ApplyTimeColumn.DataPropertyName = "ApplyTime";
|
this.ApplyTimeColumn.DataPropertyName = "ApplyTime";
|
||||||
this.ApplyTimeColumn.HeaderText = "申请时间";
|
this.ApplyTimeColumn.HeaderText = "申请时间";
|
||||||
this.ApplyTimeColumn.Name = "ApplyTimeColumn";
|
this.ApplyTimeColumn.Name = "ApplyTimeColumn";
|
||||||
|
this.ApplyTimeColumn.ReadOnly = true;
|
||||||
this.ApplyTimeColumn.Width = 110;
|
this.ApplyTimeColumn.Width = 110;
|
||||||
//
|
//
|
||||||
// OrderOperationTimeColumn
|
// OrderOperationTimeColumn
|
||||||
@ -405,54 +429,72 @@
|
|||||||
this.InRoomTime.DataPropertyName = "InRoomTime";
|
this.InRoomTime.DataPropertyName = "InRoomTime";
|
||||||
this.InRoomTime.HeaderText = "入室时间";
|
this.InRoomTime.HeaderText = "入室时间";
|
||||||
this.InRoomTime.Name = "InRoomTime";
|
this.InRoomTime.Name = "InRoomTime";
|
||||||
|
this.InRoomTime.ReadOnly = true;
|
||||||
|
this.InRoomTime.Width = 110;
|
||||||
//
|
//
|
||||||
// OutRoomTime
|
// OutRoomTime
|
||||||
//
|
//
|
||||||
this.OutRoomTime.DataPropertyName = "OutRoomTime";
|
this.OutRoomTime.DataPropertyName = "OutRoomTime";
|
||||||
this.OutRoomTime.HeaderText = "出室时间";
|
this.OutRoomTime.HeaderText = "出室时间";
|
||||||
this.OutRoomTime.Name = "OutRoomTime";
|
this.OutRoomTime.Name = "OutRoomTime";
|
||||||
|
this.OutRoomTime.ReadOnly = true;
|
||||||
|
this.OutRoomTime.Width = 110;
|
||||||
//
|
//
|
||||||
// RoomHourTimeSpan
|
// RoomHourTimeSpan
|
||||||
//
|
//
|
||||||
this.RoomHourTimeSpan.DataPropertyName = "RoomHourTimeSpan";
|
this.RoomHourTimeSpan.DataPropertyName = "RoomHourTimeSpan";
|
||||||
this.RoomHourTimeSpan.HeaderText = "总时长";
|
this.RoomHourTimeSpan.HeaderText = "总时长";
|
||||||
this.RoomHourTimeSpan.Name = "RoomHourTimeSpan";
|
this.RoomHourTimeSpan.Name = "RoomHourTimeSpan";
|
||||||
|
this.RoomHourTimeSpan.ReadOnly = true;
|
||||||
|
this.RoomHourTimeSpan.Width = 80;
|
||||||
//
|
//
|
||||||
// AnesthesiaBeginTime
|
// AnesthesiaBeginTime
|
||||||
//
|
//
|
||||||
this.AnesthesiaBeginTime.DataPropertyName = "AnesthesiaBeginTime";
|
this.AnesthesiaBeginTime.DataPropertyName = "AnesthesiaBeginTime";
|
||||||
this.AnesthesiaBeginTime.HeaderText = "麻醉开始时间";
|
this.AnesthesiaBeginTime.HeaderText = "麻醉开始时间";
|
||||||
this.AnesthesiaBeginTime.Name = "AnesthesiaBeginTime";
|
this.AnesthesiaBeginTime.Name = "AnesthesiaBeginTime";
|
||||||
|
this.AnesthesiaBeginTime.ReadOnly = true;
|
||||||
|
this.AnesthesiaBeginTime.Width = 110;
|
||||||
//
|
//
|
||||||
// AnesthesiaEndTime
|
// AnesthesiaEndTime
|
||||||
//
|
//
|
||||||
this.AnesthesiaEndTime.DataPropertyName = "AnesthesiaEndTime";
|
this.AnesthesiaEndTime.DataPropertyName = "AnesthesiaEndTime";
|
||||||
this.AnesthesiaEndTime.HeaderText = "麻醉结束时间";
|
this.AnesthesiaEndTime.HeaderText = "麻醉结束时间";
|
||||||
this.AnesthesiaEndTime.Name = "AnesthesiaEndTime";
|
this.AnesthesiaEndTime.Name = "AnesthesiaEndTime";
|
||||||
|
this.AnesthesiaEndTime.ReadOnly = true;
|
||||||
|
this.AnesthesiaEndTime.Width = 110;
|
||||||
//
|
//
|
||||||
// AnaesthesiaHourTimeSpan
|
// AnaesthesiaHourTimeSpan
|
||||||
//
|
//
|
||||||
this.AnaesthesiaHourTimeSpan.DataPropertyName = "AnaesthesiaHourTimeSpan";
|
this.AnaesthesiaHourTimeSpan.DataPropertyName = "AnaesthesiaHourTimeSpan";
|
||||||
this.AnaesthesiaHourTimeSpan.HeaderText = "麻醉时长";
|
this.AnaesthesiaHourTimeSpan.HeaderText = "麻醉时长";
|
||||||
this.AnaesthesiaHourTimeSpan.Name = "AnaesthesiaHourTimeSpan";
|
this.AnaesthesiaHourTimeSpan.Name = "AnaesthesiaHourTimeSpan";
|
||||||
|
this.AnaesthesiaHourTimeSpan.ReadOnly = true;
|
||||||
|
this.AnaesthesiaHourTimeSpan.Width = 80;
|
||||||
//
|
//
|
||||||
// OperationBeginTime
|
// OperationBeginTime
|
||||||
//
|
//
|
||||||
this.OperationBeginTime.DataPropertyName = "OperationBeginTime";
|
this.OperationBeginTime.DataPropertyName = "OperationBeginTime";
|
||||||
this.OperationBeginTime.HeaderText = "手术开始时间";
|
this.OperationBeginTime.HeaderText = "手术开始时间";
|
||||||
this.OperationBeginTime.Name = "OperationBeginTime";
|
this.OperationBeginTime.Name = "OperationBeginTime";
|
||||||
|
this.OperationBeginTime.ReadOnly = true;
|
||||||
|
this.OperationBeginTime.Width = 110;
|
||||||
//
|
//
|
||||||
// OperationEndTime
|
// OperationEndTime
|
||||||
//
|
//
|
||||||
this.OperationEndTime.DataPropertyName = "OperationEndTime";
|
this.OperationEndTime.DataPropertyName = "OperationEndTime";
|
||||||
this.OperationEndTime.HeaderText = "手术结束时间";
|
this.OperationEndTime.HeaderText = "手术结束时间";
|
||||||
this.OperationEndTime.Name = "OperationEndTime";
|
this.OperationEndTime.Name = "OperationEndTime";
|
||||||
|
this.OperationEndTime.ReadOnly = true;
|
||||||
|
this.OperationEndTime.Width = 110;
|
||||||
//
|
//
|
||||||
// OperationHourTimeSpan
|
// OperationHourTimeSpan
|
||||||
//
|
//
|
||||||
this.OperationHourTimeSpan.DataPropertyName = "OperationHourTimeSpan";
|
this.OperationHourTimeSpan.DataPropertyName = "OperationHourTimeSpan";
|
||||||
this.OperationHourTimeSpan.HeaderText = "手术时长";
|
this.OperationHourTimeSpan.HeaderText = "手术时长";
|
||||||
this.OperationHourTimeSpan.Name = "OperationHourTimeSpan";
|
this.OperationHourTimeSpan.Name = "OperationHourTimeSpan";
|
||||||
|
this.OperationHourTimeSpan.ReadOnly = true;
|
||||||
|
this.OperationHourTimeSpan.Width = 80;
|
||||||
//
|
//
|
||||||
// AnaesthesiaMethodNameColumn
|
// AnaesthesiaMethodNameColumn
|
||||||
//
|
//
|
||||||
@ -466,20 +508,22 @@
|
|||||||
this.OperationInfoName.DataPropertyName = "OperationInfoName";
|
this.OperationInfoName.DataPropertyName = "OperationInfoName";
|
||||||
this.OperationInfoName.HeaderText = "实施手术";
|
this.OperationInfoName.HeaderText = "实施手术";
|
||||||
this.OperationInfoName.Name = "OperationInfoName";
|
this.OperationInfoName.Name = "OperationInfoName";
|
||||||
|
this.OperationInfoName.ReadOnly = true;
|
||||||
//
|
//
|
||||||
// OperationCutTypeName
|
// OperationCut
|
||||||
//
|
//
|
||||||
this.OperationCutTypeName.DataPropertyName = "OperationCutTypeName";
|
this.OperationCut.DataPropertyName = "OperationCut";
|
||||||
this.OperationCutTypeName.HeaderText = "切口类型";
|
this.OperationCut.HeaderText = "切口类型";
|
||||||
this.OperationCutTypeName.Name = "OperationCutTypeName";
|
this.OperationCut.Name = "OperationCut";
|
||||||
this.OperationCutTypeName.ReadOnly = true;
|
this.OperationCut.ReadOnly = true;
|
||||||
this.OperationCutTypeName.Width = 80;
|
this.OperationCut.Width = 80;
|
||||||
//
|
//
|
||||||
// OperationPositionName
|
// OperationPositionName
|
||||||
//
|
//
|
||||||
this.OperationPositionName.DataPropertyName = "OperationPositionName";
|
this.OperationPositionName.DataPropertyName = "OperationPositionName";
|
||||||
this.OperationPositionName.HeaderText = "手术部位";
|
this.OperationPositionName.HeaderText = "手术部位";
|
||||||
this.OperationPositionName.Name = "OperationPositionName";
|
this.OperationPositionName.Name = "OperationPositionName";
|
||||||
|
this.OperationPositionName.ReadOnly = true;
|
||||||
this.OperationPositionName.Width = 80;
|
this.OperationPositionName.Width = 80;
|
||||||
//
|
//
|
||||||
// OperationBodyPositionName
|
// OperationBodyPositionName
|
||||||
@ -487,10 +531,12 @@
|
|||||||
this.OperationBodyPositionName.DataPropertyName = "OperationBodyPositionName";
|
this.OperationBodyPositionName.DataPropertyName = "OperationBodyPositionName";
|
||||||
this.OperationBodyPositionName.HeaderText = "手术体位";
|
this.OperationBodyPositionName.HeaderText = "手术体位";
|
||||||
this.OperationBodyPositionName.Name = "OperationBodyPositionName";
|
this.OperationBodyPositionName.Name = "OperationBodyPositionName";
|
||||||
|
this.OperationBodyPositionName.ReadOnly = true;
|
||||||
|
this.OperationBodyPositionName.Width = 80;
|
||||||
//
|
//
|
||||||
// OperationLevelNameColumn
|
// OperationLevelNameColumn
|
||||||
//
|
//
|
||||||
this.OperationLevelNameColumn.DataPropertyName = "OperationLevelName";
|
this.OperationLevelNameColumn.DataPropertyName = "OperationLevel";
|
||||||
this.OperationLevelNameColumn.HeaderText = "手术分级";
|
this.OperationLevelNameColumn.HeaderText = "手术分级";
|
||||||
this.OperationLevelNameColumn.Name = "OperationLevelNameColumn";
|
this.OperationLevelNameColumn.Name = "OperationLevelNameColumn";
|
||||||
this.OperationLevelNameColumn.ReadOnly = true;
|
this.OperationLevelNameColumn.ReadOnly = true;
|
||||||
@ -501,6 +547,8 @@
|
|||||||
this.ASALevelName.DataPropertyName = "ASALevelName";
|
this.ASALevelName.DataPropertyName = "ASALevelName";
|
||||||
this.ASALevelName.HeaderText = "ASA等级";
|
this.ASALevelName.HeaderText = "ASA等级";
|
||||||
this.ASALevelName.Name = "ASALevelName";
|
this.ASALevelName.Name = "ASALevelName";
|
||||||
|
this.ASALevelName.ReadOnly = true;
|
||||||
|
this.ASALevelName.Width = 80;
|
||||||
//
|
//
|
||||||
// OperationDoctorColumn
|
// OperationDoctorColumn
|
||||||
//
|
//
|
||||||
@ -512,9 +560,10 @@
|
|||||||
//
|
//
|
||||||
// Assistant1Column
|
// Assistant1Column
|
||||||
//
|
//
|
||||||
this.Assistant1Column.DataPropertyName = "Assistants";
|
this.Assistant1Column.DataPropertyName = "Assistant";
|
||||||
this.Assistant1Column.HeaderText = "助手";
|
this.Assistant1Column.HeaderText = "助手";
|
||||||
this.Assistant1Column.Name = "Assistant1Column";
|
this.Assistant1Column.Name = "Assistant1Column";
|
||||||
|
this.Assistant1Column.ReadOnly = true;
|
||||||
this.Assistant1Column.Width = 90;
|
this.Assistant1Column.Width = 90;
|
||||||
//
|
//
|
||||||
// AnesthesiaDoctorColumn
|
// AnesthesiaDoctorColumn
|
||||||
@ -522,6 +571,7 @@
|
|||||||
this.AnesthesiaDoctorColumn.DataPropertyName = "AnesthesiaDoctor";
|
this.AnesthesiaDoctorColumn.DataPropertyName = "AnesthesiaDoctor";
|
||||||
this.AnesthesiaDoctorColumn.HeaderText = "麻醉";
|
this.AnesthesiaDoctorColumn.HeaderText = "麻醉";
|
||||||
this.AnesthesiaDoctorColumn.Name = "AnesthesiaDoctorColumn";
|
this.AnesthesiaDoctorColumn.Name = "AnesthesiaDoctorColumn";
|
||||||
|
this.AnesthesiaDoctorColumn.ReadOnly = true;
|
||||||
this.AnesthesiaDoctorColumn.Width = 60;
|
this.AnesthesiaDoctorColumn.Width = 60;
|
||||||
//
|
//
|
||||||
// TourNurseColumn
|
// TourNurseColumn
|
||||||
@ -529,6 +579,7 @@
|
|||||||
this.TourNurseColumn.DataPropertyName = "TourNurse";
|
this.TourNurseColumn.DataPropertyName = "TourNurse";
|
||||||
this.TourNurseColumn.HeaderText = "巡回";
|
this.TourNurseColumn.HeaderText = "巡回";
|
||||||
this.TourNurseColumn.Name = "TourNurseColumn";
|
this.TourNurseColumn.Name = "TourNurseColumn";
|
||||||
|
this.TourNurseColumn.ReadOnly = true;
|
||||||
this.TourNurseColumn.Width = 60;
|
this.TourNurseColumn.Width = 60;
|
||||||
//
|
//
|
||||||
// InstrumentNurseColumn
|
// InstrumentNurseColumn
|
||||||
@ -536,6 +587,7 @@
|
|||||||
this.InstrumentNurseColumn.DataPropertyName = "InstrumentNurse";
|
this.InstrumentNurseColumn.DataPropertyName = "InstrumentNurse";
|
||||||
this.InstrumentNurseColumn.HeaderText = "器械";
|
this.InstrumentNurseColumn.HeaderText = "器械";
|
||||||
this.InstrumentNurseColumn.Name = "InstrumentNurseColumn";
|
this.InstrumentNurseColumn.Name = "InstrumentNurseColumn";
|
||||||
|
this.InstrumentNurseColumn.ReadOnly = true;
|
||||||
this.InstrumentNurseColumn.Width = 60;
|
this.InstrumentNurseColumn.Width = 60;
|
||||||
//
|
//
|
||||||
// OperationRoomColumn
|
// OperationRoomColumn
|
||||||
@ -551,6 +603,7 @@
|
|||||||
this.PlanOrder.DataPropertyName = "PlanOrder";
|
this.PlanOrder.DataPropertyName = "PlanOrder";
|
||||||
this.PlanOrder.HeaderText = "台次";
|
this.PlanOrder.HeaderText = "台次";
|
||||||
this.PlanOrder.Name = "PlanOrder";
|
this.PlanOrder.Name = "PlanOrder";
|
||||||
|
this.PlanOrder.ReadOnly = true;
|
||||||
this.PlanOrder.Width = 40;
|
this.PlanOrder.Width = 40;
|
||||||
//
|
//
|
||||||
// IsNotPlanReturnOperation
|
// IsNotPlanReturnOperation
|
||||||
@ -558,21 +611,28 @@
|
|||||||
this.IsNotPlanReturnOperation.DataPropertyName = "IsNotPlanReturnOperation";
|
this.IsNotPlanReturnOperation.DataPropertyName = "IsNotPlanReturnOperation";
|
||||||
this.IsNotPlanReturnOperation.HeaderText = "非计划二次手术";
|
this.IsNotPlanReturnOperation.HeaderText = "非计划二次手术";
|
||||||
this.IsNotPlanReturnOperation.Name = "IsNotPlanReturnOperation";
|
this.IsNotPlanReturnOperation.Name = "IsNotPlanReturnOperation";
|
||||||
|
this.IsNotPlanReturnOperation.ReadOnly = true;
|
||||||
//
|
//
|
||||||
// RemarkColumn
|
// RemarkColumn
|
||||||
//
|
//
|
||||||
this.RemarkColumn.DataPropertyName = "Remark";
|
this.RemarkColumn.DataPropertyName = "Remark";
|
||||||
this.RemarkColumn.HeaderText = "停止原因";
|
this.RemarkColumn.HeaderText = "停止原因";
|
||||||
this.RemarkColumn.Name = "RemarkColumn";
|
this.RemarkColumn.Name = "RemarkColumn";
|
||||||
|
this.RemarkColumn.ReadOnly = true;
|
||||||
//
|
//
|
||||||
// OperatorName
|
// OperatorName
|
||||||
//
|
//
|
||||||
this.OperatorName.DataPropertyName = "OperatorName";
|
this.OperatorName.DataPropertyName = "OperatorName";
|
||||||
this.OperatorName.HeaderText = "停止人";
|
this.OperatorName.HeaderText = "停止人";
|
||||||
this.OperatorName.Name = "OperatorName";
|
this.OperatorName.Name = "OperatorName";
|
||||||
|
this.OperatorName.ReadOnly = true;
|
||||||
|
this.OperatorName.Width = 80;
|
||||||
//
|
//
|
||||||
// panel2
|
// panel2
|
||||||
//
|
//
|
||||||
|
this.panel2.Controls.Add(this.AgeEnd);
|
||||||
|
this.panel2.Controls.Add(this.AgeBegin);
|
||||||
|
this.panel2.Controls.Add(this.label14);
|
||||||
this.panel2.Controls.Add(this.cboIsNotPlanReturnOperation);
|
this.panel2.Controls.Add(this.cboIsNotPlanReturnOperation);
|
||||||
this.panel2.Controls.Add(this.txtName);
|
this.panel2.Controls.Add(this.txtName);
|
||||||
this.panel2.Controls.Add(this.label5);
|
this.panel2.Controls.Add(this.label5);
|
||||||
@ -583,89 +643,140 @@
|
|||||||
this.panel2.Controls.Add(this.tokenEditor3);
|
this.panel2.Controls.Add(this.tokenEditor3);
|
||||||
this.panel2.Controls.Add(this.tokenEditor2);
|
this.panel2.Controls.Add(this.tokenEditor2);
|
||||||
this.panel2.Controls.Add(this.tokenEditor1);
|
this.panel2.Controls.Add(this.tokenEditor1);
|
||||||
this.panel2.Controls.Add(this.panel5);
|
|
||||||
this.panel2.Controls.Add(this.label10);
|
this.panel2.Controls.Add(this.label10);
|
||||||
this.panel2.Controls.Add(this.panel4);
|
this.panel2.Controls.Add(this.label13);
|
||||||
|
this.panel2.Controls.Add(this.label12);
|
||||||
|
this.panel2.Controls.Add(this.label11);
|
||||||
|
this.panel2.Controls.Add(this.label15);
|
||||||
this.panel2.Controls.Add(this.label20);
|
this.panel2.Controls.Add(this.label20);
|
||||||
this.panel2.Controls.Add(this.label8);
|
this.panel2.Controls.Add(this.label8);
|
||||||
this.panel2.Controls.Add(this.btnFind);
|
|
||||||
this.panel2.Controls.Add(this.label7);
|
this.panel2.Controls.Add(this.label7);
|
||||||
this.panel2.Controls.Add(this.dtpBegInDate);
|
this.panel2.Controls.Add(this.dtpBegInDate);
|
||||||
this.panel2.Controls.Add(this.label4);
|
this.panel2.Controls.Add(this.label4);
|
||||||
this.panel2.Controls.Add(this.label2);
|
this.panel2.Controls.Add(this.label2);
|
||||||
this.panel2.Controls.Add(this.label3);
|
this.panel2.Controls.Add(this.label3);
|
||||||
this.panel2.Controls.Add(this.dtpEndDate);
|
this.panel2.Controls.Add(this.dtpEndDate);
|
||||||
|
this.panel2.Controls.Add(this.cmbPatType);
|
||||||
|
this.panel2.Controls.Add(this.txtASALevel);
|
||||||
|
this.panel2.Controls.Add(this.txtOperationCut);
|
||||||
|
this.panel2.Controls.Add(this.cboOperationLevel);
|
||||||
|
this.panel2.Controls.Add(this.cmbOpeType);
|
||||||
this.panel2.Controls.Add(this.cboDepartment);
|
this.panel2.Controls.Add(this.cboDepartment);
|
||||||
this.panel2.Controls.Add(this.label1);
|
this.panel2.Controls.Add(this.label1);
|
||||||
|
this.panel2.Controls.Add(this.btnFind);
|
||||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
|
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
this.panel2.Font = new System.Drawing.Font("宋体", 10.5F);
|
this.panel2.Font = new System.Drawing.Font("宋体", 10.5F);
|
||||||
this.panel2.Location = new System.Drawing.Point(0, 0);
|
this.panel2.Location = new System.Drawing.Point(0, 0);
|
||||||
this.panel2.Name = "panel2";
|
this.panel2.Name = "panel2";
|
||||||
this.panel2.Size = new System.Drawing.Size(1004, 116);
|
this.panel2.Size = new System.Drawing.Size(1187, 112);
|
||||||
this.panel2.TabIndex = 0;
|
this.panel2.TabIndex = 0;
|
||||||
//
|
//
|
||||||
|
// btnFind
|
||||||
|
//
|
||||||
|
this.btnFind.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.btnFind.Location = new System.Drawing.Point(1070, 33);
|
||||||
|
this.btnFind.Name = "btnFind";
|
||||||
|
this.btnFind.Size = new System.Drawing.Size(105, 63);
|
||||||
|
this.btnFind.TabIndex = 18;
|
||||||
|
this.btnFind.Text = "查询";
|
||||||
|
this.btnFind.UseVisualStyleBackColor = true;
|
||||||
|
this.btnFind.Click += new System.EventHandler(this.btnFind_Click);
|
||||||
|
//
|
||||||
|
// AgeEnd
|
||||||
|
//
|
||||||
|
this.AgeEnd.Location = new System.Drawing.Point(990, 42);
|
||||||
|
this.AgeEnd.Maximum = new decimal(new int[] {
|
||||||
|
150,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0});
|
||||||
|
this.AgeEnd.Name = "AgeEnd";
|
||||||
|
this.AgeEnd.Size = new System.Drawing.Size(50, 23);
|
||||||
|
this.AgeEnd.TabIndex = 104;
|
||||||
|
this.AgeEnd.Value = new decimal(new int[] {
|
||||||
|
100,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0});
|
||||||
|
//
|
||||||
|
// AgeBegin
|
||||||
|
//
|
||||||
|
this.AgeBegin.Location = new System.Drawing.Point(922, 42);
|
||||||
|
this.AgeBegin.Name = "AgeBegin";
|
||||||
|
this.AgeBegin.Size = new System.Drawing.Size(50, 23);
|
||||||
|
this.AgeBegin.TabIndex = 103;
|
||||||
|
//
|
||||||
|
// label14
|
||||||
|
//
|
||||||
|
this.label14.AutoSize = true;
|
||||||
|
this.label14.Location = new System.Drawing.Point(975, 46);
|
||||||
|
this.label14.Name = "label14";
|
||||||
|
this.label14.Size = new System.Drawing.Size(14, 14);
|
||||||
|
this.label14.TabIndex = 102;
|
||||||
|
this.label14.Text = "-";
|
||||||
|
//
|
||||||
// cboIsNotPlanReturnOperation
|
// cboIsNotPlanReturnOperation
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
this.cboIsNotPlanReturnOperation.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
this.cboIsNotPlanReturnOperation.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
this.cboIsNotPlanReturnOperation.Location = new System.Drawing.Point(627, 72);
|
this.cboIsNotPlanReturnOperation.Location = new System.Drawing.Point(917, 13);
|
||||||
this.cboIsNotPlanReturnOperation.Name = "cboIsNotPlanReturnOperation";
|
this.cboIsNotPlanReturnOperation.Name = "cboIsNotPlanReturnOperation";
|
||||||
this.cboIsNotPlanReturnOperation.Size = new System.Drawing.Size(167, 23);
|
this.cboIsNotPlanReturnOperation.Size = new System.Drawing.Size(123, 23);
|
||||||
this.cboIsNotPlanReturnOperation.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
this.cboIsNotPlanReturnOperation.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||||
this.cboIsNotPlanReturnOperation.TabIndex = 39;
|
this.cboIsNotPlanReturnOperation.TabIndex = 101;
|
||||||
this.cboIsNotPlanReturnOperation.Text = "非计划二次手术";
|
this.cboIsNotPlanReturnOperation.Text = "非计划二次手术";
|
||||||
//
|
//
|
||||||
// txtName
|
// txtName
|
||||||
//
|
//
|
||||||
this.txtName.Location = new System.Drawing.Point(518, 43);
|
this.txtName.Location = new System.Drawing.Point(736, 13);
|
||||||
this.txtName.Name = "txtName";
|
this.txtName.Name = "txtName";
|
||||||
this.txtName.Size = new System.Drawing.Size(101, 23);
|
this.txtName.Size = new System.Drawing.Size(124, 23);
|
||||||
this.txtName.TabIndex = 38;
|
this.txtName.TabIndex = 100;
|
||||||
//
|
//
|
||||||
// label5
|
// label5
|
||||||
//
|
//
|
||||||
this.label5.AutoSize = true;
|
this.label5.AutoSize = true;
|
||||||
this.label5.ForeColor = System.Drawing.Color.Black;
|
this.label5.ForeColor = System.Drawing.Color.Black;
|
||||||
this.label5.Location = new System.Drawing.Point(409, 48);
|
this.label5.Location = new System.Drawing.Point(633, 17);
|
||||||
this.label5.Name = "label5";
|
this.label5.Name = "label5";
|
||||||
this.label5.Size = new System.Drawing.Size(105, 14);
|
this.label5.Size = new System.Drawing.Size(105, 14);
|
||||||
this.label5.TabIndex = 37;
|
this.label5.TabIndex = 99;
|
||||||
this.label5.Text = "术者/麻醉/护士";
|
this.label5.Text = "术者/麻醉/护士";
|
||||||
//
|
//
|
||||||
// txtOperation
|
// txtOperation
|
||||||
//
|
//
|
||||||
this.txtOperation.Location = new System.Drawing.Point(358, 73);
|
this.txtOperation.Location = new System.Drawing.Point(696, 42);
|
||||||
this.txtOperation.Name = "txtOperation";
|
this.txtOperation.Name = "txtOperation";
|
||||||
this.txtOperation.Size = new System.Drawing.Size(253, 23);
|
this.txtOperation.Size = new System.Drawing.Size(164, 23);
|
||||||
this.txtOperation.TabIndex = 36;
|
this.txtOperation.TabIndex = 98;
|
||||||
//
|
//
|
||||||
// label9
|
// label9
|
||||||
//
|
//
|
||||||
this.label9.AutoSize = true;
|
this.label9.AutoSize = true;
|
||||||
this.label9.ForeColor = System.Drawing.Color.Black;
|
this.label9.ForeColor = System.Drawing.Color.Black;
|
||||||
this.label9.Location = new System.Drawing.Point(295, 78);
|
this.label9.Location = new System.Drawing.Point(633, 46);
|
||||||
this.label9.Name = "label9";
|
this.label9.Name = "label9";
|
||||||
this.label9.Size = new System.Drawing.Size(63, 14);
|
this.label9.Size = new System.Drawing.Size(63, 14);
|
||||||
this.label9.TabIndex = 35;
|
this.label9.TabIndex = 96;
|
||||||
this.label9.Text = "手术名称";
|
this.label9.Text = "手术名称";
|
||||||
//
|
//
|
||||||
// txtArchivesNo
|
// txtArchivesNo
|
||||||
//
|
//
|
||||||
this.txtArchivesNo.Location = new System.Drawing.Point(298, 45);
|
this.txtArchivesNo.Location = new System.Drawing.Point(374, 13);
|
||||||
this.txtArchivesNo.Name = "txtArchivesNo";
|
this.txtArchivesNo.Name = "txtArchivesNo";
|
||||||
this.txtArchivesNo.Size = new System.Drawing.Size(105, 23);
|
this.txtArchivesNo.Size = new System.Drawing.Size(80, 23);
|
||||||
this.txtArchivesNo.TabIndex = 36;
|
this.txtArchivesNo.TabIndex = 97;
|
||||||
//
|
//
|
||||||
// label6
|
// label6
|
||||||
//
|
//
|
||||||
this.label6.AutoSize = true;
|
this.label6.AutoSize = true;
|
||||||
this.label6.ForeColor = System.Drawing.Color.Black;
|
this.label6.ForeColor = System.Drawing.Color.Black;
|
||||||
this.label6.Location = new System.Drawing.Point(211, 48);
|
this.label6.Location = new System.Drawing.Point(287, 17);
|
||||||
this.label6.Name = "label6";
|
this.label6.Name = "label6";
|
||||||
this.label6.Size = new System.Drawing.Size(84, 14);
|
this.label6.Size = new System.Drawing.Size(84, 14);
|
||||||
this.label6.TabIndex = 35;
|
this.label6.TabIndex = 95;
|
||||||
this.label6.Text = "住院号/姓名";
|
this.label6.Text = "住院号/姓名";
|
||||||
//
|
//
|
||||||
// tokenEditor3
|
// tokenEditor3
|
||||||
@ -677,13 +788,13 @@
|
|||||||
this.tokenEditor3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
this.tokenEditor3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
this.tokenEditor3.CheckBoxesVisible = true;
|
this.tokenEditor3.CheckBoxesVisible = true;
|
||||||
this.tokenEditor3.DropDownButtonVisible = true;
|
this.tokenEditor3.DropDownButtonVisible = true;
|
||||||
this.tokenEditor3.Location = new System.Drawing.Point(73, 73);
|
this.tokenEditor3.Location = new System.Drawing.Point(698, 71);
|
||||||
this.tokenEditor3.Margin = new System.Windows.Forms.Padding(2);
|
this.tokenEditor3.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.tokenEditor3.Name = "tokenEditor3";
|
this.tokenEditor3.Name = "tokenEditor3";
|
||||||
this.tokenEditor3.Separators.Add(";");
|
this.tokenEditor3.Separators.Add(";");
|
||||||
this.tokenEditor3.Separators.Add(",");
|
this.tokenEditor3.Separators.Add(",");
|
||||||
this.tokenEditor3.Size = new System.Drawing.Size(207, 24);
|
this.tokenEditor3.Size = new System.Drawing.Size(164, 24);
|
||||||
this.tokenEditor3.TabIndex = 34;
|
this.tokenEditor3.TabIndex = 94;
|
||||||
//
|
//
|
||||||
// tokenEditor2
|
// tokenEditor2
|
||||||
//
|
//
|
||||||
@ -694,13 +805,13 @@
|
|||||||
this.tokenEditor2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
this.tokenEditor2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
this.tokenEditor2.CheckBoxesVisible = true;
|
this.tokenEditor2.CheckBoxesVisible = true;
|
||||||
this.tokenEditor2.DropDownButtonVisible = true;
|
this.tokenEditor2.DropDownButtonVisible = true;
|
||||||
this.tokenEditor2.Location = new System.Drawing.Point(678, 43);
|
this.tokenEditor2.Location = new System.Drawing.Point(922, 71);
|
||||||
this.tokenEditor2.Margin = new System.Windows.Forms.Padding(2);
|
this.tokenEditor2.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.tokenEditor2.Name = "tokenEditor2";
|
this.tokenEditor2.Name = "tokenEditor2";
|
||||||
this.tokenEditor2.Separators.Add(";");
|
this.tokenEditor2.Separators.Add(";");
|
||||||
this.tokenEditor2.Separators.Add(",");
|
this.tokenEditor2.Separators.Add(",");
|
||||||
this.tokenEditor2.Size = new System.Drawing.Size(124, 24);
|
this.tokenEditor2.Size = new System.Drawing.Size(118, 24);
|
||||||
this.tokenEditor2.TabIndex = 34;
|
this.tokenEditor2.TabIndex = 93;
|
||||||
//
|
//
|
||||||
// tokenEditor1
|
// tokenEditor1
|
||||||
//
|
//
|
||||||
@ -711,193 +822,223 @@
|
|||||||
this.tokenEditor1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
this.tokenEditor1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
this.tokenEditor1.CheckBoxesVisible = true;
|
this.tokenEditor1.CheckBoxesVisible = true;
|
||||||
this.tokenEditor1.DropDownButtonVisible = true;
|
this.tokenEditor1.DropDownButtonVisible = true;
|
||||||
this.tokenEditor1.Location = new System.Drawing.Point(73, 11);
|
this.tokenEditor1.Location = new System.Drawing.Point(59, 71);
|
||||||
this.tokenEditor1.Margin = new System.Windows.Forms.Padding(2);
|
this.tokenEditor1.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.tokenEditor1.Name = "tokenEditor1";
|
this.tokenEditor1.Name = "tokenEditor1";
|
||||||
this.tokenEditor1.Separators.Add(";");
|
this.tokenEditor1.Separators.Add(";");
|
||||||
this.tokenEditor1.Separators.Add(",");
|
this.tokenEditor1.Separators.Add(",");
|
||||||
this.tokenEditor1.Size = new System.Drawing.Size(207, 24);
|
this.tokenEditor1.Size = new System.Drawing.Size(217, 24);
|
||||||
this.tokenEditor1.TabIndex = 34;
|
this.tokenEditor1.TabIndex = 92;
|
||||||
//
|
|
||||||
// panel5
|
|
||||||
//
|
|
||||||
this.panel5.Controls.Add(this.rboZY);
|
|
||||||
this.panel5.Controls.Add(this.rboMZ);
|
|
||||||
this.panel5.Location = new System.Drawing.Point(877, 11);
|
|
||||||
this.panel5.Name = "panel5";
|
|
||||||
this.panel5.Size = new System.Drawing.Size(124, 26);
|
|
||||||
this.panel5.TabIndex = 33;
|
|
||||||
//
|
|
||||||
// rboZY
|
|
||||||
//
|
|
||||||
this.rboZY.AutoSize = true;
|
|
||||||
this.rboZY.Location = new System.Drawing.Point(6, 5);
|
|
||||||
this.rboZY.Name = "rboZY";
|
|
||||||
this.rboZY.Size = new System.Drawing.Size(53, 18);
|
|
||||||
this.rboZY.TabIndex = 12;
|
|
||||||
this.rboZY.TabStop = true;
|
|
||||||
this.rboZY.Text = "住院";
|
|
||||||
this.rboZY.UseVisualStyleBackColor = true;
|
|
||||||
//
|
|
||||||
// rboMZ
|
|
||||||
//
|
|
||||||
this.rboMZ.AutoSize = true;
|
|
||||||
this.rboMZ.Location = new System.Drawing.Point(63, 5);
|
|
||||||
this.rboMZ.Name = "rboMZ";
|
|
||||||
this.rboMZ.Size = new System.Drawing.Size(53, 18);
|
|
||||||
this.rboMZ.TabIndex = 13;
|
|
||||||
this.rboMZ.TabStop = true;
|
|
||||||
this.rboMZ.Text = "门诊";
|
|
||||||
this.rboMZ.UseVisualStyleBackColor = true;
|
|
||||||
//
|
//
|
||||||
// label10
|
// label10
|
||||||
//
|
//
|
||||||
this.label10.AutoSize = true;
|
this.label10.AutoSize = true;
|
||||||
this.label10.ForeColor = System.Drawing.Color.Black;
|
this.label10.ForeColor = System.Drawing.Color.Black;
|
||||||
this.label10.Location = new System.Drawing.Point(814, 16);
|
this.label10.Location = new System.Drawing.Point(301, 46);
|
||||||
this.label10.Name = "label10";
|
this.label10.Name = "label10";
|
||||||
this.label10.Size = new System.Drawing.Size(63, 14);
|
this.label10.Size = new System.Drawing.Size(70, 14);
|
||||||
this.label10.TabIndex = 32;
|
this.label10.TabIndex = 90;
|
||||||
this.label10.Text = "患者类型";
|
this.label10.Text = "住院/门诊";
|
||||||
//
|
//
|
||||||
// panel4
|
// label13
|
||||||
//
|
//
|
||||||
this.panel4.Controls.Add(this.rboZQ);
|
this.label13.AutoSize = true;
|
||||||
this.panel4.Controls.Add(this.rboJZ);
|
this.label13.ForeColor = System.Drawing.Color.Black;
|
||||||
this.panel4.Location = new System.Drawing.Point(678, 11);
|
this.label13.Location = new System.Drawing.Point(475, 17);
|
||||||
this.panel4.Name = "panel4";
|
this.label13.Name = "label13";
|
||||||
this.panel4.Size = new System.Drawing.Size(124, 26);
|
this.label13.Size = new System.Drawing.Size(56, 14);
|
||||||
this.panel4.TabIndex = 33;
|
this.label13.TabIndex = 89;
|
||||||
|
this.label13.Text = "ASA分级";
|
||||||
//
|
//
|
||||||
// rboZQ
|
// label12
|
||||||
//
|
//
|
||||||
this.rboZQ.AutoSize = true;
|
this.label12.AutoSize = true;
|
||||||
this.rboZQ.Location = new System.Drawing.Point(6, 5);
|
this.label12.ForeColor = System.Drawing.Color.Black;
|
||||||
this.rboZQ.Name = "rboZQ";
|
this.label12.Location = new System.Drawing.Point(468, 46);
|
||||||
this.rboZQ.Size = new System.Drawing.Size(53, 18);
|
this.label12.Name = "label12";
|
||||||
this.rboZQ.TabIndex = 12;
|
this.label12.Size = new System.Drawing.Size(63, 14);
|
||||||
this.rboZQ.TabStop = true;
|
this.label12.TabIndex = 88;
|
||||||
this.rboZQ.Text = "择期";
|
this.label12.Text = "切口类型";
|
||||||
this.rboZQ.UseVisualStyleBackColor = true;
|
|
||||||
//
|
//
|
||||||
// rboJZ
|
// label11
|
||||||
//
|
//
|
||||||
this.rboJZ.AutoSize = true;
|
this.label11.AutoSize = true;
|
||||||
this.rboJZ.Location = new System.Drawing.Point(63, 5);
|
this.label11.ForeColor = System.Drawing.Color.Black;
|
||||||
this.rboJZ.Name = "rboJZ";
|
this.label11.Location = new System.Drawing.Point(468, 76);
|
||||||
this.rboJZ.Size = new System.Drawing.Size(53, 18);
|
this.label11.Name = "label11";
|
||||||
this.rboJZ.TabIndex = 13;
|
this.label11.Size = new System.Drawing.Size(63, 14);
|
||||||
this.rboJZ.TabStop = true;
|
this.label11.TabIndex = 91;
|
||||||
this.rboJZ.Text = "急诊";
|
this.label11.Text = "手术分级";
|
||||||
this.rboJZ.UseVisualStyleBackColor = true;
|
//
|
||||||
|
// label15
|
||||||
|
//
|
||||||
|
this.label15.AutoSize = true;
|
||||||
|
this.label15.ForeColor = System.Drawing.Color.Black;
|
||||||
|
this.label15.Location = new System.Drawing.Point(884, 46);
|
||||||
|
this.label15.Name = "label15";
|
||||||
|
this.label15.Size = new System.Drawing.Size(35, 14);
|
||||||
|
this.label15.TabIndex = 86;
|
||||||
|
this.label15.Text = "年龄";
|
||||||
//
|
//
|
||||||
// label20
|
// label20
|
||||||
//
|
//
|
||||||
this.label20.AutoSize = true;
|
this.label20.AutoSize = true;
|
||||||
this.label20.ForeColor = System.Drawing.Color.Black;
|
this.label20.ForeColor = System.Drawing.Color.Black;
|
||||||
this.label20.Location = new System.Drawing.Point(615, 16);
|
this.label20.Location = new System.Drawing.Point(301, 76);
|
||||||
this.label20.Name = "label20";
|
this.label20.Name = "label20";
|
||||||
this.label20.Size = new System.Drawing.Size(63, 14);
|
this.label20.Size = new System.Drawing.Size(70, 14);
|
||||||
this.label20.TabIndex = 32;
|
this.label20.TabIndex = 87;
|
||||||
this.label20.Text = "手术类别";
|
this.label20.Text = "择期/急诊";
|
||||||
//
|
//
|
||||||
// label8
|
// label8
|
||||||
//
|
//
|
||||||
this.label8.AutoSize = true;
|
this.label8.AutoSize = true;
|
||||||
this.label8.Location = new System.Drawing.Point(5, 78);
|
this.label8.Location = new System.Drawing.Point(635, 76);
|
||||||
this.label8.Name = "label8";
|
this.label8.Name = "label8";
|
||||||
this.label8.Size = new System.Drawing.Size(63, 14);
|
this.label8.Size = new System.Drawing.Size(63, 14);
|
||||||
this.label8.TabIndex = 14;
|
this.label8.TabIndex = 82;
|
||||||
this.label8.Text = "麻醉方式";
|
this.label8.Text = "麻醉方式";
|
||||||
//
|
//
|
||||||
// btnFind
|
|
||||||
//
|
|
||||||
this.btnFind.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
||||||
this.btnFind.Location = new System.Drawing.Point(877, 40);
|
|
||||||
this.btnFind.Name = "btnFind";
|
|
||||||
this.btnFind.Size = new System.Drawing.Size(105, 63);
|
|
||||||
this.btnFind.TabIndex = 18;
|
|
||||||
this.btnFind.Text = "查询";
|
|
||||||
this.btnFind.UseVisualStyleBackColor = true;
|
|
||||||
this.btnFind.Click += new System.EventHandler(this.btnFind_Click);
|
|
||||||
//
|
|
||||||
// label7
|
// label7
|
||||||
//
|
//
|
||||||
this.label7.AutoSize = true;
|
this.label7.AutoSize = true;
|
||||||
this.label7.Location = new System.Drawing.Point(624, 48);
|
this.label7.Location = new System.Drawing.Point(884, 76);
|
||||||
this.label7.Name = "label7";
|
this.label7.Name = "label7";
|
||||||
this.label7.Size = new System.Drawing.Size(49, 14);
|
this.label7.Size = new System.Drawing.Size(35, 14);
|
||||||
this.label7.TabIndex = 14;
|
this.label7.TabIndex = 81;
|
||||||
this.label7.Text = "手术间";
|
this.label7.Text = "术间";
|
||||||
//
|
//
|
||||||
// dtpBegInDate
|
// dtpBegInDate
|
||||||
//
|
//
|
||||||
this.dtpBegInDate.CustomFormat = "yyyy-MM-dd";
|
this.dtpBegInDate.CustomFormat = "yyyy-MM-dd";
|
||||||
this.dtpBegInDate.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
this.dtpBegInDate.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
||||||
this.dtpBegInDate.Location = new System.Drawing.Point(358, 11);
|
this.dtpBegInDate.Location = new System.Drawing.Point(59, 13);
|
||||||
this.dtpBegInDate.Name = "dtpBegInDate";
|
this.dtpBegInDate.Name = "dtpBegInDate";
|
||||||
this.dtpBegInDate.Size = new System.Drawing.Size(97, 23);
|
this.dtpBegInDate.Size = new System.Drawing.Size(97, 23);
|
||||||
this.dtpBegInDate.TabIndex = 15;
|
this.dtpBegInDate.TabIndex = 83;
|
||||||
//
|
//
|
||||||
// label4
|
// label4
|
||||||
//
|
//
|
||||||
this.label4.AutoSize = true;
|
this.label4.AutoSize = true;
|
||||||
this.label4.Location = new System.Drawing.Point(5, 16);
|
this.label4.Location = new System.Drawing.Point(22, 76);
|
||||||
this.label4.Name = "label4";
|
this.label4.Name = "label4";
|
||||||
this.label4.Size = new System.Drawing.Size(63, 14);
|
this.label4.Size = new System.Drawing.Size(35, 14);
|
||||||
this.label4.TabIndex = 14;
|
this.label4.TabIndex = 80;
|
||||||
this.label4.Text = "手术状态";
|
this.label4.Text = "状态";
|
||||||
//
|
//
|
||||||
// label2
|
// label2
|
||||||
//
|
//
|
||||||
this.label2.AutoSize = true;
|
this.label2.AutoSize = true;
|
||||||
this.label2.Location = new System.Drawing.Point(295, 16);
|
this.label2.Location = new System.Drawing.Point(22, 17);
|
||||||
this.label2.Name = "label2";
|
this.label2.Name = "label2";
|
||||||
this.label2.Size = new System.Drawing.Size(63, 14);
|
this.label2.Size = new System.Drawing.Size(35, 14);
|
||||||
this.label2.TabIndex = 14;
|
this.label2.TabIndex = 79;
|
||||||
this.label2.Text = "开始时间";
|
this.label2.Text = "日期";
|
||||||
//
|
//
|
||||||
// label3
|
// label3
|
||||||
//
|
//
|
||||||
this.label3.AutoSize = true;
|
this.label3.AutoSize = true;
|
||||||
this.label3.Location = new System.Drawing.Point(455, 16);
|
this.label3.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
|
this.label3.Location = new System.Drawing.Point(157, 17);
|
||||||
this.label3.Name = "label3";
|
this.label3.Name = "label3";
|
||||||
this.label3.Size = new System.Drawing.Size(63, 14);
|
this.label3.Size = new System.Drawing.Size(22, 14);
|
||||||
this.label3.TabIndex = 16;
|
this.label3.TabIndex = 84;
|
||||||
this.label3.Text = "结束时间";
|
this.label3.Text = "~";
|
||||||
//
|
//
|
||||||
// dtpEndDate
|
// dtpEndDate
|
||||||
//
|
//
|
||||||
this.dtpEndDate.CustomFormat = "yyyy-MM-dd";
|
this.dtpEndDate.CustomFormat = "yyyy-MM-dd";
|
||||||
this.dtpEndDate.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
this.dtpEndDate.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
||||||
this.dtpEndDate.Location = new System.Drawing.Point(518, 11);
|
this.dtpEndDate.Location = new System.Drawing.Point(179, 13);
|
||||||
this.dtpEndDate.Name = "dtpEndDate";
|
this.dtpEndDate.Name = "dtpEndDate";
|
||||||
this.dtpEndDate.Size = new System.Drawing.Size(97, 23);
|
this.dtpEndDate.Size = new System.Drawing.Size(97, 23);
|
||||||
this.dtpEndDate.TabIndex = 17;
|
this.dtpEndDate.TabIndex = 85;
|
||||||
|
//
|
||||||
|
// cmbPatType
|
||||||
|
//
|
||||||
|
this.cmbPatType.FormattingEnabled = true;
|
||||||
|
this.cmbPatType.Items.AddRange(new object[] {
|
||||||
|
"",
|
||||||
|
"住院",
|
||||||
|
"门诊"});
|
||||||
|
this.cmbPatType.Location = new System.Drawing.Point(374, 42);
|
||||||
|
this.cmbPatType.Name = "cmbPatType";
|
||||||
|
this.cmbPatType.Size = new System.Drawing.Size(80, 22);
|
||||||
|
this.cmbPatType.TabIndex = 77;
|
||||||
|
//
|
||||||
|
// txtASALevel
|
||||||
|
//
|
||||||
|
this.txtASALevel.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||||
|
this.txtASALevel.FormattingEnabled = true;
|
||||||
|
this.txtASALevel.Items.AddRange(new object[] {
|
||||||
|
"",
|
||||||
|
"择期",
|
||||||
|
"急诊"});
|
||||||
|
this.txtASALevel.Location = new System.Drawing.Point(534, 13);
|
||||||
|
this.txtASALevel.Name = "txtASALevel";
|
||||||
|
this.txtASALevel.Size = new System.Drawing.Size(80, 22);
|
||||||
|
this.txtASALevel.TabIndex = 76;
|
||||||
|
//
|
||||||
|
// txtOperationCut
|
||||||
|
//
|
||||||
|
this.txtOperationCut.BackColor = System.Drawing.Color.White;
|
||||||
|
this.txtOperationCut.FormattingEnabled = true;
|
||||||
|
this.txtOperationCut.Items.AddRange(new object[] {
|
||||||
|
"",
|
||||||
|
"择期",
|
||||||
|
"急诊"});
|
||||||
|
this.txtOperationCut.Location = new System.Drawing.Point(534, 42);
|
||||||
|
this.txtOperationCut.Name = "txtOperationCut";
|
||||||
|
this.txtOperationCut.Size = new System.Drawing.Size(80, 22);
|
||||||
|
this.txtOperationCut.TabIndex = 75;
|
||||||
|
//
|
||||||
|
// cboOperationLevel
|
||||||
|
//
|
||||||
|
this.cboOperationLevel.BackColor = System.Drawing.Color.White;
|
||||||
|
this.cboOperationLevel.FormattingEnabled = true;
|
||||||
|
this.cboOperationLevel.Items.AddRange(new object[] {
|
||||||
|
"",
|
||||||
|
"择期",
|
||||||
|
"急诊"});
|
||||||
|
this.cboOperationLevel.Location = new System.Drawing.Point(534, 72);
|
||||||
|
this.cboOperationLevel.Name = "cboOperationLevel";
|
||||||
|
this.cboOperationLevel.Size = new System.Drawing.Size(80, 22);
|
||||||
|
this.cboOperationLevel.TabIndex = 74;
|
||||||
|
//
|
||||||
|
// cmbOpeType
|
||||||
|
//
|
||||||
|
this.cmbOpeType.FormattingEnabled = true;
|
||||||
|
this.cmbOpeType.Items.AddRange(new object[] {
|
||||||
|
"",
|
||||||
|
"择期",
|
||||||
|
"急诊"});
|
||||||
|
this.cmbOpeType.Location = new System.Drawing.Point(374, 72);
|
||||||
|
this.cmbOpeType.Name = "cmbOpeType";
|
||||||
|
this.cmbOpeType.Size = new System.Drawing.Size(80, 22);
|
||||||
|
this.cmbOpeType.TabIndex = 73;
|
||||||
//
|
//
|
||||||
// cboDepartment
|
// cboDepartment
|
||||||
//
|
//
|
||||||
this.cboDepartment.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
||||||
this.cboDepartment.FormattingEnabled = true;
|
this.cboDepartment.FormattingEnabled = true;
|
||||||
this.cboDepartment.Location = new System.Drawing.Point(73, 43);
|
this.cboDepartment.Location = new System.Drawing.Point(59, 42);
|
||||||
this.cboDepartment.Name = "cboDepartment";
|
this.cboDepartment.Name = "cboDepartment";
|
||||||
this.cboDepartment.Size = new System.Drawing.Size(121, 22);
|
this.cboDepartment.Size = new System.Drawing.Size(217, 22);
|
||||||
this.cboDepartment.TabIndex = 10;
|
this.cboDepartment.TabIndex = 78;
|
||||||
//
|
//
|
||||||
// label1
|
// label1
|
||||||
//
|
//
|
||||||
this.label1.AutoSize = true;
|
this.label1.AutoSize = true;
|
||||||
this.label1.Location = new System.Drawing.Point(5, 48);
|
this.label1.Location = new System.Drawing.Point(22, 46);
|
||||||
this.label1.Name = "label1";
|
this.label1.Name = "label1";
|
||||||
this.label1.Size = new System.Drawing.Size(63, 14);
|
this.label1.Size = new System.Drawing.Size(35, 14);
|
||||||
this.label1.TabIndex = 0;
|
this.label1.TabIndex = 72;
|
||||||
this.label1.Text = "申请科室";
|
this.label1.Text = "科室";
|
||||||
//
|
//
|
||||||
// frmOperationManage
|
// frmOperationManage
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.ClientSize = new System.Drawing.Size(1004, 481);
|
this.ClientSize = new System.Drawing.Size(1187, 481);
|
||||||
this.ControlBox = false;
|
this.ControlBox = false;
|
||||||
this.Controls.Add(this.panel1);
|
this.Controls.Add(this.panel1);
|
||||||
this.Controls.Add(this.toolStrip1);
|
this.Controls.Add(this.toolStrip1);
|
||||||
@ -912,10 +1053,8 @@
|
|||||||
((System.ComponentModel.ISupportInitialize)(this.dgv)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.dgv)).EndInit();
|
||||||
this.panel2.ResumeLayout(false);
|
this.panel2.ResumeLayout(false);
|
||||||
this.panel2.PerformLayout();
|
this.panel2.PerformLayout();
|
||||||
this.panel5.ResumeLayout(false);
|
((System.ComponentModel.ISupportInitialize)(this.AgeEnd)).EndInit();
|
||||||
this.panel5.PerformLayout();
|
((System.ComponentModel.ISupportInitialize)(this.AgeBegin)).EndInit();
|
||||||
this.panel4.ResumeLayout(false);
|
|
||||||
this.panel4.PerformLayout();
|
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
this.PerformLayout();
|
this.PerformLayout();
|
||||||
|
|
||||||
@ -931,29 +1070,11 @@
|
|||||||
private System.Windows.Forms.Panel panel1;
|
private System.Windows.Forms.Panel panel1;
|
||||||
private System.Windows.Forms.Panel panel3;
|
private System.Windows.Forms.Panel panel3;
|
||||||
private System.Windows.Forms.Panel panel2;
|
private System.Windows.Forms.Panel panel2;
|
||||||
private System.Windows.Forms.Label label1;
|
|
||||||
private System.Windows.Forms.ComboBox cboDepartment;
|
|
||||||
private System.Windows.Forms.DateTimePicker dtpBegInDate;
|
|
||||||
private System.Windows.Forms.Label label2;
|
|
||||||
private System.Windows.Forms.Label label3;
|
|
||||||
private System.Windows.Forms.DateTimePicker dtpEndDate;
|
|
||||||
private System.Windows.Forms.ToolStripButton tsbReviewApply;
|
private System.Windows.Forms.ToolStripButton tsbReviewApply;
|
||||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
||||||
private System.Windows.Forms.ToolStripButton tsbExportExcel;
|
private System.Windows.Forms.ToolStripButton tsbExportExcel;
|
||||||
private System.Windows.Forms.Button btnFind;
|
private System.Windows.Forms.Button btnFind;
|
||||||
private System.Windows.Forms.Panel panel4;
|
private DevComponents.DotNetBar.Controls.DataGridViewX dgv;
|
||||||
private System.Windows.Forms.RadioButton rboZQ;
|
|
||||||
private System.Windows.Forms.RadioButton rboJZ;
|
|
||||||
private System.Windows.Forms.Label label20;
|
|
||||||
private System.Windows.Forms.Label label4;
|
|
||||||
private DevComponents.DotNetBar.Controls.TokenEditor tokenEditor1;
|
|
||||||
private System.Windows.Forms.TextBox txtName;
|
|
||||||
private System.Windows.Forms.Label label5;
|
|
||||||
private System.Windows.Forms.TextBox txtArchivesNo;
|
|
||||||
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.DataGridViewCheckBoxColumn CheckBoxColumn;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyId;
|
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyId;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn StateColumn;
|
private System.Windows.Forms.DataGridViewTextBoxColumn StateColumn;
|
||||||
@ -981,7 +1102,7 @@
|
|||||||
private System.Windows.Forms.DataGridViewTextBoxColumn OperationHourTimeSpan;
|
private System.Windows.Forms.DataGridViewTextBoxColumn OperationHourTimeSpan;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn AnaesthesiaMethodNameColumn;
|
private System.Windows.Forms.DataGridViewTextBoxColumn AnaesthesiaMethodNameColumn;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn OperationInfoName;
|
private System.Windows.Forms.DataGridViewTextBoxColumn OperationInfoName;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn OperationCutTypeName;
|
private System.Windows.Forms.DataGridViewTextBoxColumn OperationCut;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn OperationPositionName;
|
private System.Windows.Forms.DataGridViewTextBoxColumn OperationPositionName;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn OperationBodyPositionName;
|
private System.Windows.Forms.DataGridViewTextBoxColumn OperationBodyPositionName;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn OperationLevelNameColumn;
|
private System.Windows.Forms.DataGridViewTextBoxColumn OperationLevelNameColumn;
|
||||||
@ -996,14 +1117,38 @@
|
|||||||
private System.Windows.Forms.DataGridViewTextBoxColumn IsNotPlanReturnOperation;
|
private System.Windows.Forms.DataGridViewTextBoxColumn IsNotPlanReturnOperation;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn RemarkColumn;
|
private System.Windows.Forms.DataGridViewTextBoxColumn RemarkColumn;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn OperatorName;
|
private System.Windows.Forms.DataGridViewTextBoxColumn OperatorName;
|
||||||
|
private System.Windows.Forms.NumericUpDown AgeEnd;
|
||||||
|
private System.Windows.Forms.NumericUpDown AgeBegin;
|
||||||
|
private System.Windows.Forms.Label label14;
|
||||||
|
private DevComponents.DotNetBar.Controls.CheckBoxX cboIsNotPlanReturnOperation;
|
||||||
|
private System.Windows.Forms.TextBox txtName;
|
||||||
|
private System.Windows.Forms.Label label5;
|
||||||
private System.Windows.Forms.TextBox txtOperation;
|
private System.Windows.Forms.TextBox txtOperation;
|
||||||
private System.Windows.Forms.Label label9;
|
private System.Windows.Forms.Label label9;
|
||||||
|
private System.Windows.Forms.TextBox txtArchivesNo;
|
||||||
|
private System.Windows.Forms.Label label6;
|
||||||
private DevComponents.DotNetBar.Controls.TokenEditor tokenEditor3;
|
private DevComponents.DotNetBar.Controls.TokenEditor tokenEditor3;
|
||||||
private System.Windows.Forms.Label label8;
|
private DevComponents.DotNetBar.Controls.TokenEditor tokenEditor2;
|
||||||
private System.Windows.Forms.Panel panel5;
|
private DevComponents.DotNetBar.Controls.TokenEditor tokenEditor1;
|
||||||
private System.Windows.Forms.RadioButton rboMZ;
|
|
||||||
private System.Windows.Forms.Label label10;
|
private System.Windows.Forms.Label label10;
|
||||||
private System.Windows.Forms.RadioButton rboZY;
|
private System.Windows.Forms.Label label13;
|
||||||
private DevComponents.DotNetBar.Controls.CheckBoxX cboIsNotPlanReturnOperation;
|
private System.Windows.Forms.Label label12;
|
||||||
|
private System.Windows.Forms.Label label11;
|
||||||
|
private System.Windows.Forms.Label label15;
|
||||||
|
private System.Windows.Forms.Label label20;
|
||||||
|
private System.Windows.Forms.Label label8;
|
||||||
|
private System.Windows.Forms.Label label7;
|
||||||
|
private System.Windows.Forms.DateTimePicker dtpBegInDate;
|
||||||
|
private System.Windows.Forms.Label label4;
|
||||||
|
private System.Windows.Forms.Label label2;
|
||||||
|
private System.Windows.Forms.Label label3;
|
||||||
|
private System.Windows.Forms.DateTimePicker dtpEndDate;
|
||||||
|
private System.Windows.Forms.ComboBox cmbPatType;
|
||||||
|
private System.Windows.Forms.ComboBox txtASALevel;
|
||||||
|
private System.Windows.Forms.ComboBox txtOperationCut;
|
||||||
|
private System.Windows.Forms.ComboBox cboOperationLevel;
|
||||||
|
private System.Windows.Forms.ComboBox cmbOpeType;
|
||||||
|
private System.Windows.Forms.ComboBox cboDepartment;
|
||||||
|
private System.Windows.Forms.Label label1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -5,6 +5,7 @@ using System.Collections.Generic;
|
|||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
@ -52,7 +53,7 @@ namespace AIMS.OperationAfter.UI
|
|||||||
tokenEditor1.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken("6,7", "手术中"));
|
tokenEditor1.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken("6,7", "手术中"));
|
||||||
tokenEditor1.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken("8,9", "手术结束"));
|
tokenEditor1.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken("8,9", "手术结束"));
|
||||||
tokenEditor1.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken("10,11", "手术停止"));
|
tokenEditor1.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken("10,11", "手术停止"));
|
||||||
tokenEditor1.SelectedTokens.Add(tokenEditor1.Tokens[0]);
|
tokenEditor1.SelectedTokens.Add(tokenEditor1.Tokens[3]);
|
||||||
|
|
||||||
|
|
||||||
List<OperationRoom> rooms = BOperationRoom.GetOperationRooms("IsValid=1 and Site='手术室'");
|
List<OperationRoom> rooms = BOperationRoom.GetOperationRooms("IsValid=1 and Site='手术室'");
|
||||||
@ -65,6 +66,36 @@ namespace AIMS.OperationAfter.UI
|
|||||||
{
|
{
|
||||||
tokenEditor3.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken(item.Id.ToString(), item.Name));
|
tokenEditor3.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken(item.Id.ToString(), item.Name));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BindBasicDictionaryToComboBox(txtASALevel, "ASA分级");
|
||||||
|
BindBasicDictionaryToComboBox(txtOperationCut, "手术切口");
|
||||||
|
|
||||||
|
List<OperationLevel> basicDictionary = BOperationLevel.Select();
|
||||||
|
basicDictionary.Insert(0, new OperationLevel() { Id = -1, Name = "" });
|
||||||
|
cboOperationLevel.DataSource = basicDictionary;
|
||||||
|
|
||||||
|
cboOperationLevel.DisplayMember = "Name";
|
||||||
|
cboOperationLevel.ValueMember = "Id";
|
||||||
|
cboOperationLevel.SelectedIndex = -1;
|
||||||
|
|
||||||
|
btnFind_Click(null, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 绑定基础表项目数据 到 ComboBox
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="loadCbo"></param>
|
||||||
|
/// <param name="setDataName"></param>
|
||||||
|
public static void BindBasicDictionaryToComboBox(ComboBox loadCbo, string setDataName)
|
||||||
|
{
|
||||||
|
BasicDictionary basicDictionary = BBasicDictionary.GetBasicDictionaryByName(setDataName);
|
||||||
|
if (basicDictionary == null) return;
|
||||||
|
basicDictionary.SubItem.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
|
||||||
|
loadCbo.DataSource = basicDictionary.SubItem;
|
||||||
|
|
||||||
|
loadCbo.DisplayMember = "Name";
|
||||||
|
loadCbo.ValueMember = "Id";
|
||||||
|
loadCbo.SelectedIndex = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void tsbExit_Click(object sender, EventArgs e)
|
private void tsbExit_Click(object sender, EventArgs e)
|
||||||
@ -104,25 +135,24 @@ namespace AIMS.OperationAfter.UI
|
|||||||
{
|
{
|
||||||
var item = tokenEditor3.SelectedTokens[i];
|
var item = tokenEditor3.SelectedTokens[i];
|
||||||
if (i == tokenEditor3.SelectedTokens.Count - 1)
|
if (i == tokenEditor3.SelectedTokens.Count - 1)
|
||||||
Anaes += item.Value ;
|
Anaes += item.Value;
|
||||||
else
|
else
|
||||||
Anaes += item.Value + ",";
|
Anaes += item.Value + ",";
|
||||||
}
|
}
|
||||||
string type = "";
|
string type = "";
|
||||||
if (rboZQ.Checked == true)
|
if (cmbOpeType.Text != "")
|
||||||
type = "择期";
|
type = cmbOpeType.Text;
|
||||||
if (rboJZ.Checked == true)
|
|
||||||
type = "急诊";
|
|
||||||
|
|
||||||
string type1 = "";
|
string type1 = "";
|
||||||
if (rboZY.Checked == true)
|
if (cmbPatType.Text != "")
|
||||||
type1 = "住院";
|
type = cmbPatType.Text;
|
||||||
if (rboMZ.Checked == true)
|
|
||||||
type1 = "门诊";
|
|
||||||
|
|
||||||
string inNO = txtArchivesNo.Text;
|
string inNO = txtArchivesNo.Text;
|
||||||
|
|
||||||
string name = txtName.Text;
|
string name = txtName.Text;
|
||||||
|
string cut = txtOperationCut.Text;
|
||||||
|
string level = cboOperationLevel.Text;
|
||||||
|
string asa = txtASALevel.Text;
|
||||||
|
|
||||||
DataTable dt = BOperationApply.GetOperationDoingDataTable(dtpBegInDate.Value.ToString("yyyy-MM-dd"), dtpEndDate.Value.AddDays(1).ToString("yyyy-MM-dd"));
|
DataTable dt = BOperationApply.GetOperationDoingDataTable(dtpBegInDate.Value.ToString("yyyy-MM-dd"), dtpEndDate.Value.AddDays(1).ToString("yyyy-MM-dd"));
|
||||||
string Where = "";
|
string Where = "";
|
||||||
@ -131,7 +161,7 @@ namespace AIMS.OperationAfter.UI
|
|||||||
else
|
else
|
||||||
Where += " StateId IN (" + state + ") ";
|
Where += " StateId IN (" + state + ") ";
|
||||||
if (Department != "")
|
if (Department != "")
|
||||||
Where += " and ApplyDepName LIKE '%" + Department + "%' ";
|
Where += " and ApplyDeptName LIKE '%" + Department + "%' ";
|
||||||
if (Room != "")
|
if (Room != "")
|
||||||
Where += " and OperationRoomId IN (" + Room + ") ";
|
Where += " and OperationRoomId IN (" + Room + ") ";
|
||||||
if (Anaes != "")
|
if (Anaes != "")
|
||||||
@ -140,16 +170,62 @@ namespace AIMS.OperationAfter.UI
|
|||||||
Where += " and OperationType='" + type + "' ";
|
Where += " and OperationType='" + type + "' ";
|
||||||
if (type1 != "")
|
if (type1 != "")
|
||||||
Where += " and PatientType='" + type1 + "' ";
|
Where += " and PatientType='" + type1 + "' ";
|
||||||
|
if (cut != "")
|
||||||
|
Where += " and OperationCut='" + cut + "' ";
|
||||||
|
if (asa != "")
|
||||||
|
Where += " and ASALevelName='" + asa + "' ";
|
||||||
|
if (level != "")
|
||||||
|
Where += " and OperationLevel='" + level + "' ";
|
||||||
if (inNO != "")
|
if (inNO != "")
|
||||||
Where += " and (MdrecNo LIKE '%" + inNO + "%' or PatientName LIKE '%" + inNO + "%' ) ";
|
Where += " and (MdrecNo LIKE '%" + inNO + "%' or PatientName LIKE '%" + inNO + "%' ) ";
|
||||||
if (name != "")
|
if (name != "")
|
||||||
Where += " and (OperationDoctor LIKE '%" + name + "%' or Assistant LIKE '%" + name + "%' or AnesthesiaDoctor LIKE '%" + name + "%' or InstrumentNurse LIKE '%" + name + "%' or TourNurse LIKE '%" + name + "%' ) ";
|
Where += " and (OperationDoctor LIKE '%" + name + "%' or Assistant LIKE '%" + name + "%' or AnesthesiaDoctor LIKE '%" + name + "%' or InstrumentNurse LIKE '%" + name + "%' or TourNurse LIKE '%" + name + "%' ) ";
|
||||||
|
if (AgeBegin.Value != 0 || AgeEnd.Value != 100)
|
||||||
|
{
|
||||||
|
Where += " and (AgeNum >="+AgeBegin.Value+" and AgeNum <="+ AgeEnd.Value+") ";
|
||||||
|
}
|
||||||
if (cboIsNotPlanReturnOperation.Checked == true)
|
if (cboIsNotPlanReturnOperation.Checked == true)
|
||||||
Where += " and IsNotPlanReturnOperation=1 ";
|
Where += " and IsNotPlanReturnOperation ='是' ";
|
||||||
if (txtOperation.Text != "")
|
if (txtOperation.Text != "")
|
||||||
Where += " and (ApplyOperationInfoName LIKE '%" + txtOperation.Text + "%' or OperationInfoName LIKE '%" + txtOperation.Text + "%' ) ";
|
Where += " and (ApplyOperationInfoName LIKE '%" + txtOperation.Text + "%' or OperationInfoName LIKE '%" + txtOperation.Text + "%' ) ";
|
||||||
|
DataTable dataTable = AIMSExtension.PublicMethod.GetNewDataTable(dt, Where, "");
|
||||||
|
foreach (DataRow item in dataTable.Rows)
|
||||||
|
{
|
||||||
|
if (item["StateId"].ToString() != "10" && item["StateId"].ToString() != "10")
|
||||||
|
{
|
||||||
|
item["Remark"] = "";
|
||||||
|
item["OperatorName"] = "";
|
||||||
|
}
|
||||||
|
if (item["RoomHourTimeSpan"].ToString() != "")
|
||||||
|
{
|
||||||
|
double RoomHourTimeSpan = 0;
|
||||||
|
bool isNum = double.TryParse(item["RoomHourTimeSpan"].ToString(), out RoomHourTimeSpan);
|
||||||
|
if (isNum)
|
||||||
|
{
|
||||||
|
item["RoomHourTimeSpan"] = Math.Round(RoomHourTimeSpan, 1).ToString();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (item["OperationHourTimeSpan"].ToString() != "")
|
||||||
|
{
|
||||||
|
double OperationHourTimeSpan = 0;
|
||||||
|
bool isNum = double.TryParse(item["OperationHourTimeSpan"].ToString(), out OperationHourTimeSpan);
|
||||||
|
if (isNum)
|
||||||
|
{
|
||||||
|
item["OperationHourTimeSpan"] = Math.Round(OperationHourTimeSpan, 1).ToString();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (item["AnaesthesiaHourTimeSpan"].ToString() != "")
|
||||||
|
{
|
||||||
|
double AnaesthesiaHourTimeSpan = 0;
|
||||||
|
bool isNum = double.TryParse(item["AnaesthesiaHourTimeSpan"].ToString(), out AnaesthesiaHourTimeSpan);
|
||||||
|
if (isNum)
|
||||||
|
{
|
||||||
|
item["AnaesthesiaHourTimeSpan"] = Math.Round(AnaesthesiaHourTimeSpan, 1).ToString();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
dgv.DataSource = AIMSExtension.PublicMethod.GetNewDataTable(dt, Where, "");
|
}
|
||||||
|
dgv.DataSource = dataTable;
|
||||||
|
|
||||||
//for (int i = 0; i < dgv.Rows.Count; i++)
|
//for (int i = 0; i < dgv.Rows.Count; i++)
|
||||||
//{
|
//{
|
||||||
@ -201,11 +277,86 @@ namespace AIMS.OperationAfter.UI
|
|||||||
|
|
||||||
private void tsbPrint_Click(object sender, EventArgs e)
|
private void tsbPrint_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
string Department = cboDepartment.Text;
|
if (dgv.Rows.Count < 1 || dgv.Rows.Count < 1)
|
||||||
if (cboDepartment.Text == "全部科室")
|
|
||||||
{
|
{
|
||||||
Department = "";
|
MessageBox.Show("没有记录,请查询到数据后再导出数据到Excel");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
DataToExcel(dgv);
|
||||||
|
}
|
||||||
|
public static void DataToExcel(DataGridView m_DataView)
|
||||||
|
{
|
||||||
|
SaveFileDialog kk = new SaveFileDialog();
|
||||||
|
kk.Title = "保存EXECL文件";
|
||||||
|
kk.Filter = "EXECL文件(*.xls) |*.xls |所有文件(*.*) |*.*";
|
||||||
|
kk.FilterIndex = 1;
|
||||||
|
if (kk.ShowDialog() == DialogResult.OK)
|
||||||
|
{
|
||||||
|
string FileName = kk.FileName;
|
||||||
|
if (File.Exists(FileName))
|
||||||
|
File.Delete(FileName);
|
||||||
|
FileStream objFileStream;
|
||||||
|
StreamWriter objStreamWriter;
|
||||||
|
string strLine = "";
|
||||||
|
objFileStream = new FileStream(FileName, FileMode.OpenOrCreate, FileAccess.Write);
|
||||||
|
objStreamWriter = new StreamWriter(objFileStream, System.Text.Encoding.Unicode);
|
||||||
|
for (int i = 0; i < m_DataView.Columns.Count; i++)
|
||||||
|
{
|
||||||
|
if (m_DataView.Columns[i].Visible == true)
|
||||||
|
{
|
||||||
|
strLine = strLine + m_DataView.Columns[i].HeaderText.ToString() + Convert.ToChar(9);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
objStreamWriter.WriteLine(strLine);
|
||||||
|
strLine = "";
|
||||||
|
|
||||||
|
for (int i = 0; i < m_DataView.Rows.Count; i++)
|
||||||
|
{
|
||||||
|
if (m_DataView.Columns[0].Visible == true)
|
||||||
|
{
|
||||||
|
if (m_DataView.Rows[i].Cells[0].Value == null)
|
||||||
|
strLine = strLine + " " + Convert.ToChar(9);
|
||||||
|
else
|
||||||
|
strLine = strLine + m_DataView.Rows[i].Cells[0].Value.ToString() + Convert.ToChar(9);
|
||||||
|
}
|
||||||
|
for (int j = 1; j < m_DataView.Columns.Count; j++)
|
||||||
|
{
|
||||||
|
if (m_DataView.Columns[j].Visible == true)
|
||||||
|
{
|
||||||
|
if (m_DataView.Rows[i].Cells[j].Value == null)
|
||||||
|
strLine = strLine + " " + Convert.ToChar(9);
|
||||||
|
else
|
||||||
|
{
|
||||||
|
string rowstr = "";
|
||||||
|
rowstr = m_DataView.Rows[i].Cells[j].Value.ToString();
|
||||||
|
if (rowstr.IndexOf("\r\n") > 0)
|
||||||
|
rowstr = rowstr.Replace("\r\n", " ");
|
||||||
|
if (rowstr.IndexOf("\t") > 0)
|
||||||
|
rowstr = rowstr.Replace("\t", " ");
|
||||||
|
strLine = strLine + rowstr + Convert.ToChar(9);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
objStreamWriter.WriteLine(strLine);
|
||||||
|
strLine = "";
|
||||||
|
}
|
||||||
|
objStreamWriter.Close();
|
||||||
|
objFileStream.Close();
|
||||||
|
MessageBox.Show("保存成功!", "系统提示");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void dgv_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e)
|
||||||
|
{
|
||||||
|
Rectangle rectangle = new Rectangle(e.RowBounds.Location.X,
|
||||||
|
e.RowBounds.Location.Y,
|
||||||
|
dgv.RowHeadersWidth - 4,
|
||||||
|
e.RowBounds.Height);
|
||||||
|
TextRenderer.DrawText(e.Graphics, (e.RowIndex + 1).ToString(),
|
||||||
|
dgv.RowHeadersDefaultCellStyle.Font,
|
||||||
|
rectangle,
|
||||||
|
dgv.RowHeadersDefaultCellStyle.ForeColor,
|
||||||
|
TextFormatFlags.VerticalCenter | TextFormatFlags.Right);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -201,7 +201,7 @@
|
|||||||
<metadata name="OperationInfoName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="OperationInfoName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="OperationCutTypeName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="OperationCut.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="OperationPositionName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="OperationPositionName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
|||||||
@ -77,7 +77,6 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
|||||||
this.picAnesEnd.BackgroundImage = global::AIMS.Properties.Resources.麻醉结束;
|
this.picAnesEnd.BackgroundImage = global::AIMS.Properties.Resources.麻醉结束;
|
||||||
this.picOutRoom.BackgroundImage = global::AIMS.Properties.Resources.出手术室;
|
this.picOutRoom.BackgroundImage = global::AIMS.Properties.Resources.出手术室;
|
||||||
#endregion
|
#endregion
|
||||||
AIMSExtension.PublicMethod.SetLocalDateTime();
|
|
||||||
panel8.MouseWheel += new System.Windows.Forms.MouseEventHandler(panel8_MouseWheel);
|
panel8.MouseWheel += new System.Windows.Forms.MouseEventHandler(panel8_MouseWheel);
|
||||||
panel82.MouseWheel += new System.Windows.Forms.MouseEventHandler(panel82_MouseWheel);
|
panel82.MouseWheel += new System.Windows.Forms.MouseEventHandler(panel82_MouseWheel);
|
||||||
}
|
}
|
||||||
@ -741,8 +740,8 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
|||||||
if (GetOpeState(ref messing) == false)
|
if (GetOpeState(ref messing) == false)
|
||||||
{
|
{
|
||||||
if (messing != "") MessageBox.Show(messing, "系统提示");
|
if (messing != "") MessageBox.Show(messing, "系统提示");
|
||||||
//if (messing == "请填写手术不良事件!")
|
if (messing == "请与手术信息选择手术分级!" || messing == "请与手术信息选择手术切口!")
|
||||||
// btnAdverseFactEvents_Click(null, null);
|
btnOperationInfo_Click(null, null);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1100,7 +1099,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
|||||||
{
|
{
|
||||||
AIMS.OperationDoing.AnasRecordBill.UI.frmOperationInfoNew2 frmOperationInfo = new frmOperationInfoNew2();
|
AIMS.OperationDoing.AnasRecordBill.UI.frmOperationInfoNew2 frmOperationInfo = new frmOperationInfoNew2();
|
||||||
frmOperationInfo._record = _record;
|
frmOperationInfo._record = _record;
|
||||||
frmOperationInfo.FormClosed += new FormClosedEventHandler(plRefresh_Click);
|
//frmOperationInfo.FormClosed += new FormClosedEventHandler(plRefresh_Click);
|
||||||
frmOperationInfo.ShowDialog();
|
frmOperationInfo.ShowDialog();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -1475,7 +1474,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
|||||||
List<DeviceCacheData> lists = e.Result as List<DeviceCacheData>;
|
List<DeviceCacheData> lists = e.Result as List<DeviceCacheData>;
|
||||||
if (lists != null && lists.Count > 0)
|
if (lists != null && lists.Count > 0)
|
||||||
{
|
{
|
||||||
DeviceCacheData deviceCacheData = lists[0];
|
DeviceCacheData deviceCacheData = lists[0];
|
||||||
NowPhysioData nowPhysioData = JsonConvert.DeserializeObject<NowPhysioData>(deviceCacheData.JsonData);
|
NowPhysioData nowPhysioData = JsonConvert.DeserializeObject<NowPhysioData>(deviceCacheData.JsonData);
|
||||||
|
|
||||||
if (nowPhysioData.HR != null && nowPhysioData.HR.ToString() != string.Empty && nowPhysioData.HR.ToString() != "NaN" && nowPhysioData.HR.ToString() != "NULL")
|
if (nowPhysioData.HR != null && nowPhysioData.HR.ToString() != string.Empty && nowPhysioData.HR.ToString() != "NaN" && nowPhysioData.HR.ToString() != "NULL")
|
||||||
@ -1520,7 +1519,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
|||||||
}
|
}
|
||||||
|
|
||||||
string szyssy = ssy + "/" + szy;
|
string szyssy = ssy + "/" + szy;
|
||||||
lblDia.Text = szyssy == "/" ? "---/---" : szyssy;
|
lblDia.Text = szyssy == "/" ? "---/---" : szyssy;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -2065,15 +2064,8 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
|||||||
private bool GetOpeState(ref string message)
|
private bool GetOpeState(ref string message)
|
||||||
{
|
{
|
||||||
bool isTrue = true;
|
bool isTrue = true;
|
||||||
string anaesName = DBManage.GetDictionaryValuesById(_record.AnaesthesiaMethodName, "麻醉方式");
|
|
||||||
|
|
||||||
if (_record.AnaesthesiaMethodName == null || _record.AnaesthesiaMethodName.ToString().Trim() == "")
|
if (_record.AnesthesiaDoctor != null && _record.AnesthesiaDoctor.Trim() != "")
|
||||||
{
|
|
||||||
message = "请添加麻醉方法!";
|
|
||||||
isTrue = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (anaesName.Contains("全身麻醉"))
|
|
||||||
{
|
{
|
||||||
if (_record.AnaseDataQualityRecordList == null || _record.AnaseDataQualityRecordList.Count <= 0)
|
if (_record.AnaseDataQualityRecordList == null || _record.AnaseDataQualityRecordList.Count <= 0)
|
||||||
{
|
{
|
||||||
@ -2092,12 +2084,11 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
|||||||
// isTrue = false;
|
// isTrue = false;
|
||||||
//}
|
//}
|
||||||
|
|
||||||
if (_record.AnesthesiaDoctor != null && _record.AnesthesiaDoctor.Trim() != "")
|
if (_record.ASALevel == null || _record.ASALevel == null)
|
||||||
if (_record.ASALevel == null || _record.ASALevel == null)
|
{
|
||||||
{
|
message = "请添写ASA分级!";
|
||||||
message = "请添写ASA分级!";
|
isTrue = false;
|
||||||
isTrue = false;
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (_record.OperationDoctor == null || _record.OperationDoctor.Trim() == "")
|
if (_record.OperationDoctor == null || _record.OperationDoctor.Trim() == "")
|
||||||
{
|
{
|
||||||
@ -2105,6 +2096,17 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
|||||||
isTrue = false;
|
isTrue = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (_record.OpeRecordInfo.OperationLevel == null || _record.OpeRecordInfo.OperationLevel.ToString().Trim() == "")
|
||||||
|
{
|
||||||
|
message = "请与手术信息选择手术分级!";
|
||||||
|
isTrue = false;
|
||||||
|
}
|
||||||
|
if (_record.OpeRecordInfo.OperationCut == null || _record.OpeRecordInfo.OperationCut.ToString().Trim() == "")
|
||||||
|
{
|
||||||
|
message = "请与手术信息选择手术切口!";
|
||||||
|
isTrue = false;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return isTrue;
|
return isTrue;
|
||||||
|
|||||||
@ -939,7 +939,7 @@
|
|||||||
//
|
//
|
||||||
this.label26.AutoSize = true;
|
this.label26.AutoSize = true;
|
||||||
this.label26.Font = new System.Drawing.Font("微软雅黑", 12F);
|
this.label26.Font = new System.Drawing.Font("微软雅黑", 12F);
|
||||||
this.label26.Location = new System.Drawing.Point(37, 105);
|
this.label26.Location = new System.Drawing.Point(414, 106);
|
||||||
this.label26.Name = "label26";
|
this.label26.Name = "label26";
|
||||||
this.label26.Size = new System.Drawing.Size(74, 21);
|
this.label26.Size = new System.Drawing.Size(74, 21);
|
||||||
this.label26.TabIndex = 851;
|
this.label26.TabIndex = 851;
|
||||||
@ -949,7 +949,7 @@
|
|||||||
//
|
//
|
||||||
this.label27.AutoSize = true;
|
this.label27.AutoSize = true;
|
||||||
this.label27.Font = new System.Drawing.Font("微软雅黑", 12F);
|
this.label27.Font = new System.Drawing.Font("微软雅黑", 12F);
|
||||||
this.label27.Location = new System.Drawing.Point(519, 105);
|
this.label27.Location = new System.Drawing.Point(121, 108);
|
||||||
this.label27.Name = "label27";
|
this.label27.Name = "label27";
|
||||||
this.label27.Size = new System.Drawing.Size(74, 21);
|
this.label27.Size = new System.Drawing.Size(74, 21);
|
||||||
this.label27.TabIndex = 850;
|
this.label27.TabIndex = 850;
|
||||||
@ -975,7 +975,7 @@
|
|||||||
this.txtTourNurse.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
this.txtTourNurse.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
this.txtTourNurse.DisabledBackColor = System.Drawing.Color.White;
|
this.txtTourNurse.DisabledBackColor = System.Drawing.Color.White;
|
||||||
this.txtTourNurse.ForeColor = System.Drawing.Color.Black;
|
this.txtTourNurse.ForeColor = System.Drawing.Color.Black;
|
||||||
this.txtTourNurse.Location = new System.Drawing.Point(129, 106);
|
this.txtTourNurse.Location = new System.Drawing.Point(506, 107);
|
||||||
this.txtTourNurse.Name = "txtTourNurse";
|
this.txtTourNurse.Name = "txtTourNurse";
|
||||||
this.txtTourNurse.Size = new System.Drawing.Size(120, 22);
|
this.txtTourNurse.Size = new System.Drawing.Size(120, 22);
|
||||||
this.txtTourNurse.TabIndex = 847;
|
this.txtTourNurse.TabIndex = 847;
|
||||||
@ -1001,7 +1001,7 @@
|
|||||||
this.txtInstrumentNurse.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
this.txtInstrumentNurse.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
this.txtInstrumentNurse.DisabledBackColor = System.Drawing.Color.White;
|
this.txtInstrumentNurse.DisabledBackColor = System.Drawing.Color.White;
|
||||||
this.txtInstrumentNurse.ForeColor = System.Drawing.Color.Black;
|
this.txtInstrumentNurse.ForeColor = System.Drawing.Color.Black;
|
||||||
this.txtInstrumentNurse.Location = new System.Drawing.Point(599, 106);
|
this.txtInstrumentNurse.Location = new System.Drawing.Point(201, 109);
|
||||||
this.txtInstrumentNurse.Name = "txtInstrumentNurse";
|
this.txtInstrumentNurse.Name = "txtInstrumentNurse";
|
||||||
this.txtInstrumentNurse.Size = new System.Drawing.Size(120, 22);
|
this.txtInstrumentNurse.Size = new System.Drawing.Size(120, 22);
|
||||||
this.txtInstrumentNurse.TabIndex = 848;
|
this.txtInstrumentNurse.TabIndex = 848;
|
||||||
|
|||||||
@ -328,11 +328,16 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{ timeistrue = true; }
|
{ timeistrue = true; }
|
||||||
//if (EventName == "出室" && _record.StateName == "手术中" && state == 0)
|
if (EventName == "出室" && _record.StateName == "手术中" && state == 0)
|
||||||
//{
|
{
|
||||||
// if (messing != "") MessageBox.Show(messing, "系统提示");
|
if (GetOpeState(ref messing) == false)
|
||||||
// return;
|
{
|
||||||
//}
|
if (messing != "") MessageBox.Show(messing, "系统提示");
|
||||||
|
if (messing == "请与手术信息选择手术分级!" || messing == "请与手术信息选择手术切口!")
|
||||||
|
btnOperationInfo_Click(null, null);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
if (timeistrue == false)
|
if (timeistrue == false)
|
||||||
{
|
{
|
||||||
if (tb.Tag != null) tb.Value = DateTime.Parse(tb.Tag.ToString());
|
if (tb.Tag != null) tb.Value = DateTime.Parse(tb.Tag.ToString());
|
||||||
@ -946,30 +951,10 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
|||||||
reDrawEvent();
|
reDrawEvent();
|
||||||
templateManage.Bind();
|
templateManage.Bind();
|
||||||
|
|
||||||
txtInstrumentNurse.Text = "";
|
|
||||||
SelectInstrumentNurseData = BFactPersonDuty.GetPersonIdList(_record.PatientId.Value, 6);
|
|
||||||
foreach (int RowId in SelectInstrumentNurseData)
|
|
||||||
{
|
|
||||||
txtInstrumentNurse.Text += BPerson.SelectSingle(RowId).Name + ",";
|
|
||||||
}
|
|
||||||
if (SelectInstrumentNurseData.Count > 0)
|
|
||||||
{
|
|
||||||
txtInstrumentNurse.Text = txtInstrumentNurse.Text.Substring(0, txtInstrumentNurse.Text.LastIndexOf(","));
|
|
||||||
}
|
|
||||||
|
|
||||||
txtTourNurse.Text = "";
|
|
||||||
SelectTourNurseData = BFactPersonDuty.GetPersonIdList(_record.PatientId.Value, 7);
|
|
||||||
foreach (int RowId in SelectTourNurseData)
|
|
||||||
{
|
|
||||||
txtTourNurse.Text += BPerson.SelectSingle(RowId).Name + ",";
|
|
||||||
}
|
|
||||||
if (SelectTourNurseData.Count > 0)
|
|
||||||
{
|
|
||||||
txtTourNurse.Text = txtTourNurse.Text.Substring(0, txtTourNurse.Text.LastIndexOf(","));
|
|
||||||
}
|
|
||||||
|
|
||||||
if (_record.InstrumentList.ApplianceUseType != null && _record.InstrumentList.ApplianceUseType != "")
|
if (_record.InstrumentList.ApplianceUseType != null && _record.InstrumentList.ApplianceUseType != "")
|
||||||
{
|
{
|
||||||
|
txtInstrumentNurse.Text = _record.InstrumentList.InstrumentNurse;
|
||||||
|
txtTourNurse.Text = _record.InstrumentList.TourNurse;
|
||||||
txtRemark.Text = _record.InstrumentList.Remark;
|
txtRemark.Text = _record.InstrumentList.Remark;
|
||||||
LoadOperationGoodsBillRecord();
|
LoadOperationGoodsBillRecord();
|
||||||
}
|
}
|
||||||
@ -977,9 +962,32 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
|||||||
{
|
{
|
||||||
FirstbtnEnter();
|
FirstbtnEnter();
|
||||||
}
|
}
|
||||||
|
SelectInstrumentNurseData = BFactPersonDuty.GetPersonIdList(_record.PatientId.Value, 6);
|
||||||
|
if (SelectInstrumentNurseData.Count > 0)
|
||||||
|
{
|
||||||
|
txtInstrumentNurse.Text = "";
|
||||||
|
|
||||||
|
foreach (int RowId in SelectInstrumentNurseData)
|
||||||
|
{
|
||||||
|
txtInstrumentNurse.Text += BPerson.SelectSingle(RowId).Name + ",";
|
||||||
|
}
|
||||||
|
txtInstrumentNurse.Text = txtInstrumentNurse.Text.Substring(0, txtInstrumentNurse.Text.LastIndexOf(","));
|
||||||
|
}
|
||||||
|
|
||||||
|
SelectTourNurseData = BFactPersonDuty.GetPersonIdList(_record.PatientId.Value, 7);
|
||||||
|
if (SelectTourNurseData.Count > 0)
|
||||||
|
{
|
||||||
|
txtTourNurse.Text = "";
|
||||||
|
foreach (int RowId in SelectTourNurseData)
|
||||||
|
{
|
||||||
|
txtTourNurse.Text += BPerson.SelectSingle(RowId).Name + ",";
|
||||||
|
}
|
||||||
|
txtTourNurse.Text = txtTourNurse.Text.Substring(0, txtTourNurse.Text.LastIndexOf(","));
|
||||||
|
}
|
||||||
|
|
||||||
zgcAnaesRecord.Refresh();
|
zgcAnaesRecord.Refresh();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void DrawEvent()
|
private void DrawEvent()
|
||||||
{
|
{
|
||||||
@ -1114,6 +1122,21 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
private bool GetOpeState(ref string message)
|
||||||
|
{
|
||||||
|
bool isTrue = true;
|
||||||
|
if (_record.OpeRecordInfo.OperationLevel == null || _record.OpeRecordInfo.OperationLevel.ToString().Trim() == "")
|
||||||
|
{
|
||||||
|
message = "请与手术信息选择手术分级!";
|
||||||
|
isTrue = false;
|
||||||
|
}
|
||||||
|
if (_record.OpeRecordInfo.OperationCut == null || _record.OpeRecordInfo.OperationCut.ToString().Trim() == "")
|
||||||
|
{
|
||||||
|
message = "请与手术信息选择手术切口!";
|
||||||
|
isTrue = false;
|
||||||
|
}
|
||||||
|
return isTrue;
|
||||||
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region 右侧按钮
|
#region 右侧按钮
|
||||||
|
|||||||
@ -74,7 +74,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
|||||||
|
|
||||||
#region 初始化所有控件内容
|
#region 初始化所有控件内容
|
||||||
private void InitData()
|
private void InitData()
|
||||||
{
|
{
|
||||||
|
|
||||||
listOnit = BPerson.GetruleAnesthesiaDoctor("");
|
listOnit = BPerson.GetruleAnesthesiaDoctor("");
|
||||||
this.txtruleAnesthesiaDoctor.Items.AddRange(listOnit.ToArray());
|
this.txtruleAnesthesiaDoctor.Items.AddRange(listOnit.ToArray());
|
||||||
@ -113,18 +113,44 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
|||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region 填充患者信息
|
#region 填充患者信息
|
||||||
|
public void SetOPInfoNewOpeRecordInfo()
|
||||||
|
{
|
||||||
|
OperationRecordInfo OpeRecordInfo = BOperationRecordInfo.SelectSingle("OperationRecordId=" + _record.Id, null);
|
||||||
|
|
||||||
|
_record.OpeRecordInfo.OperationLevel = OpeRecordInfo.OperationLevel;
|
||||||
|
_record.OpeRecordInfo.OperationLevelId = OpeRecordInfo.OperationLevelId;
|
||||||
|
_record.OpeRecordInfo.OperationCutId = OpeRecordInfo.OperationCutId;
|
||||||
|
_record.OpeRecordInfo.OperationCut = OpeRecordInfo.OperationCut;
|
||||||
|
_record.OpeRecordInfo.AnesthesiaSucceed = OpeRecordInfo.AnesthesiaSucceed;
|
||||||
|
_record.OpeRecordInfo.TourNurseSucceed = OpeRecordInfo.TourNurseSucceed;
|
||||||
|
_record.OpeRecordInfo.InstrumentNurseSucceed = OpeRecordInfo.InstrumentNurseSucceed;
|
||||||
|
_record.OpeRecordInfo.AnesthesiaSucceedTime = OpeRecordInfo.AnesthesiaSucceedTime;
|
||||||
|
_record.OpeRecordInfo.InstrumentNurseSucceedTime = OpeRecordInfo.InstrumentNurseSucceedTime;
|
||||||
|
_record.OpeRecordInfo.TourNurseSucceedTime = OpeRecordInfo.TourNurseSucceedTime;
|
||||||
|
_record.OpeRecordInfo.Experts = OpeRecordInfo.Experts;
|
||||||
|
_record.OpeRecordInfo.RuleAnesthesiaDoctor = OpeRecordInfo.RuleAnesthesiaDoctor;
|
||||||
|
_record.OpeRecordInfo.RuleNurse = OpeRecordInfo.RuleNurse;
|
||||||
|
_record.OpeRecordInfo.AnesthesiaMethodFirstName = OpeRecordInfo.AnesthesiaMethodFirstName;
|
||||||
|
_record.OpeRecordInfo.AnesthesiaMethodLastName = OpeRecordInfo.AnesthesiaMethodLastName;
|
||||||
|
_record.OpeRecordInfo.AnesthesiaMethodChangeReason = OpeRecordInfo.AnesthesiaMethodChangeReason;
|
||||||
|
_record.OpeRecordInfo.AnesthesiaMethodChangeTime = OpeRecordInfo.AnesthesiaMethodChangeTime;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
public void FullPatientInfo()
|
public void FullPatientInfo()
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
||||||
if (_record.OpeRecordInfo != null)
|
if (_record.OpeRecordInfo != null)
|
||||||
{
|
{
|
||||||
|
SetOPInfoNewOpeRecordInfo();
|
||||||
OPInfo = _record.OpeRecordInfo;
|
OPInfo = _record.OpeRecordInfo;
|
||||||
|
|
||||||
cboOperationLevel.Text = OPInfo.OperationLevel;
|
cboOperationLevel.Text = OPInfo.OperationLevel;
|
||||||
cboOperationLevel.Tag = OPInfo.OperationLevelId;
|
cboOperationLevel.Tag = OPInfo.OperationLevelId;
|
||||||
txtOperationCut.Tag = OPInfo.OperationCutId;
|
txtOperationCut.Tag = OPInfo.OperationCutId;
|
||||||
txtOperationCut.Text = OPInfo.OperationCut;
|
txtOperationCut.Text = OPInfo.OperationCut;
|
||||||
//麻醉医生 || 麻醉接台 || 巡回护士|| 护士接台||器械护士||器械接台||体外循环
|
//麻醉医生 || 麻醉接台 || 巡回护士|| 护士接台||器械护士||器械接台||体外循环
|
||||||
txtAnesthesiaByDoctor.Text = OPInfo.AnesthesiaSucceed;
|
txtAnesthesiaByDoctor.Text = OPInfo.AnesthesiaSucceed;
|
||||||
txtTourNurseSucceed.Text = OPInfo.TourNurseSucceed;
|
txtTourNurseSucceed.Text = OPInfo.TourNurseSucceed;
|
||||||
@ -150,10 +176,10 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
|||||||
if (OPInfo.Experts != null) txtexperts.Text = OPInfo.Experts;
|
if (OPInfo.Experts != null) txtexperts.Text = OPInfo.Experts;
|
||||||
if (OPInfo.RuleAnesthesiaDoctor != null) txtruleAnesthesiaDoctor.Text = OPInfo.RuleAnesthesiaDoctor;
|
if (OPInfo.RuleAnesthesiaDoctor != null) txtruleAnesthesiaDoctor.Text = OPInfo.RuleAnesthesiaDoctor;
|
||||||
if (OPInfo.RuleNurse != null) txtruleNurse.Text = OPInfo.RuleNurse;
|
if (OPInfo.RuleNurse != null) txtruleNurse.Text = OPInfo.RuleNurse;
|
||||||
|
|
||||||
txtOperationCut.Text = OPInfo.OperationCut;
|
txtOperationCut.Text = OPInfo.OperationCut;
|
||||||
cboOperationLevel.Text = OPInfo.OperationLevel;
|
cboOperationLevel.Text = OPInfo.OperationLevel;
|
||||||
|
|
||||||
if (OPInfo.AnesthesiaMethodFirstName != null)
|
if (OPInfo.AnesthesiaMethodFirstName != null)
|
||||||
{
|
{
|
||||||
rdoYes.Checked = true;
|
rdoYes.Checked = true;
|
||||||
@ -161,7 +187,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
|||||||
txtAnaesthesiaMethod.Tag = OPInfo.AnesthesiaMethodLastName;
|
txtAnaesthesiaMethod.Tag = OPInfo.AnesthesiaMethodLastName;
|
||||||
txtCause.Text = OPInfo.AnesthesiaMethodChangeReason;
|
txtCause.Text = OPInfo.AnesthesiaMethodChangeReason;
|
||||||
if (OPInfo.AnesthesiaMethodChangeTime != null) dtpTime.Value = OPInfo.AnesthesiaMethodChangeTime.Value;
|
if (OPInfo.AnesthesiaMethodChangeTime != null) dtpTime.Value = OPInfo.AnesthesiaMethodChangeTime.Value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
@ -185,9 +211,9 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
|||||||
OPInfo.Experts = txtexperts.Text.Trim();
|
OPInfo.Experts = txtexperts.Text.Trim();
|
||||||
OPInfo.RuleAnesthesiaDoctor = txtruleAnesthesiaDoctor.Text.Trim();
|
OPInfo.RuleAnesthesiaDoctor = txtruleAnesthesiaDoctor.Text.Trim();
|
||||||
OPInfo.RuleNurse = txtruleNurse.Text.Trim();
|
OPInfo.RuleNurse = txtruleNurse.Text.Trim();
|
||||||
|
|
||||||
OPInfo.OperationCut = txtOperationCut.Text;
|
OPInfo.OperationCut = txtOperationCut.Text;
|
||||||
OPInfo.OperationLevel = cboOperationLevel.Text;
|
OPInfo.OperationLevel = cboOperationLevel.Text;
|
||||||
|
|
||||||
if (rdoYes.Checked == true && txtAnaesthesiaMethod.Text != "")
|
if (rdoYes.Checked == true && txtAnaesthesiaMethod.Text != "")
|
||||||
{
|
{
|
||||||
@ -196,7 +222,13 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
|||||||
OPInfo.AnesthesiaMethodChangeReason = txtCause.Text.Trim();
|
OPInfo.AnesthesiaMethodChangeReason = txtCause.Text.Trim();
|
||||||
OPInfo.AnesthesiaMethodChangeTime = dtpTime.Value;
|
OPInfo.AnesthesiaMethodChangeTime = dtpTime.Value;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
OPInfo.AnesthesiaMethodFirstName = null;
|
||||||
|
OPInfo.AnesthesiaMethodChangeReason = null;
|
||||||
|
OPInfo.AnesthesiaMethodChangeTime = null;
|
||||||
|
}
|
||||||
|
|
||||||
OPInfo.OperatorId = PublicMethod.OperatorName;
|
OPInfo.OperatorId = PublicMethod.OperatorName;
|
||||||
if (OPInfo.Id == null)
|
if (OPInfo.Id == null)
|
||||||
{
|
{
|
||||||
@ -247,7 +279,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
|||||||
private void txtTourNurseSucceed_TextChanged(object sender, EventArgs e)
|
private void txtTourNurseSucceed_TextChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
setDoctor(sender as TextBox, "护士");
|
setDoctor(sender as TextBox, "护士");
|
||||||
OPInfo.TourNurseSucceed = txtTourNurseSucceed.Text;
|
OPInfo.TourNurseSucceed = txtTourNurseSucceed.Text;
|
||||||
if (txtTourNurseSucceed.Text != "")
|
if (txtTourNurseSucceed.Text != "")
|
||||||
{
|
{
|
||||||
txtDateTime_MouseDown(dtpTourNurseSucceed, null);
|
txtDateTime_MouseDown(dtpTourNurseSucceed, null);
|
||||||
@ -269,7 +301,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
|||||||
private void txtInstrumentNurseSucceed_TextChanged(object sender, EventArgs e)
|
private void txtInstrumentNurseSucceed_TextChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
setDoctor(sender as TextBox, "护士"); ;
|
setDoctor(sender as TextBox, "护士"); ;
|
||||||
OPInfo.InstrumentNurseSucceed = txtInstrumentNurseSucceed.Text;
|
OPInfo.InstrumentNurseSucceed = txtInstrumentNurseSucceed.Text;
|
||||||
if (txtInstrumentNurseSucceed.Text != "")
|
if (txtInstrumentNurseSucceed.Text != "")
|
||||||
{
|
{
|
||||||
txtDateTime_MouseDown(dtpInstrumentNurseSucceed, null);
|
txtDateTime_MouseDown(dtpInstrumentNurseSucceed, null);
|
||||||
@ -326,7 +358,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region 手术特殊事件时间点处理事件
|
#region 手术特殊事件时间点处理事件
|
||||||
public void txtDateTime_MouseDown(object sender, MouseEventArgs e)
|
public void txtDateTime_MouseDown(object sender, MouseEventArgs e)
|
||||||
{
|
{
|
||||||
@ -654,7 +686,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
|||||||
chkdmcc = null;
|
chkdmcc = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region 接台验证
|
#region 接台验证
|
||||||
@ -781,6 +813,6 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
|||||||
int idxStart = txtAnaesthesiaMethod.Text.LastIndexOf(" ,");
|
int idxStart = txtAnaesthesiaMethod.Text.LastIndexOf(" ,");
|
||||||
txtAnaesthesiaMethod.Text = txtAnaesthesiaMethod.Text.Substring(0, idxStart);
|
txtAnaesthesiaMethod.Text = txtAnaesthesiaMethod.Text.Substring(0, idxStart);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -39,7 +39,7 @@ namespace AIMS.OperationFront.UI
|
|||||||
private Dictionary<int, string> dicSchedulingTypeIdName = new Dictionary<int, string>();
|
private Dictionary<int, string> dicSchedulingTypeIdName = new Dictionary<int, string>();
|
||||||
private string[] validSchedulingTypes = null;
|
private string[] validSchedulingTypes = null;
|
||||||
private string[] doctorRoles = new string[1] { "医生" };
|
private string[] doctorRoles = new string[1] { "医生" };
|
||||||
private string[] nurseRoles = new string[3] { "洗手", "巡回", " " };
|
private string[] nurseRoles = new string[3] { " ", "洗手", "巡回" };
|
||||||
private List<string> listHeaderChinese;
|
private List<string> listHeaderChinese;
|
||||||
private List<string> listHeaderWeek;
|
private List<string> listHeaderWeek;
|
||||||
private List<string> listHeaderDays;
|
private List<string> listHeaderDays;
|
||||||
@ -609,22 +609,21 @@ namespace AIMS.OperationFront.UI
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
dr2["Role"] = "手术室护士";
|
dv2.RowFilter = string.Format("ScheduleMonth={0} and WorkerId={1}", strMonth, workerId);
|
||||||
//dv2.RowFilter = string.Format("ScheduleMonth={0} and WorkerId={1}", strMonth, workerId);
|
if (dv2.Count > 0)
|
||||||
//if (dv2.Count > 0)
|
{
|
||||||
//{
|
dr2["OperationRoom"] = getOperationRoomName((int)dv2[0]["OperationRoomId"]);
|
||||||
// dr2["OperationRoom"] = getOperationRoomName((int)dv2[0]["OperationRoomId"]);
|
dr2["Role"] = dv2[0]["nurseType"];
|
||||||
// dr2["Role"] = dv2[0]["nurseType"];
|
dr2["BeginDate"] = dv2[0]["BeginTime"];
|
||||||
// dr2["BeginDate"] = dv2[0]["BeginTime"];
|
dr2["EndDate"] = dv2[0]["EndTime"];
|
||||||
// dr2["EndDate"] = dv2[0]["EndTime"];
|
}
|
||||||
//}
|
else
|
||||||
//else
|
{
|
||||||
//{
|
//dr2["OperationRoom"] = "";// getOperationRoomName(int.Parse(dr["OperationRoomId"].ToString()));
|
||||||
// //dr2["OperationRoom"] = "";// getOperationRoomName(int.Parse(dr["OperationRoomId"].ToString()));
|
//dr2["Role"] = dr["NurseRole"].ToString();
|
||||||
// //dr2["Role"] = dr["NurseRole"].ToString();
|
//dr2["BeginDate"] = beginTime;
|
||||||
// //dr2["BeginDate"] = beginTime;
|
//dr2["EndDate"] = endTime;
|
||||||
// //dr2["EndDate"] = endTime;
|
}
|
||||||
//}
|
|
||||||
}
|
}
|
||||||
dv1.RowFilter = string.Format("ScheduleMonth={0} and WorkerId={1}", strMonth, workerId);
|
dv1.RowFilter = string.Format("ScheduleMonth={0} and WorkerId={1}", strMonth, workerId);
|
||||||
int n = dv1.Count;
|
int n = dv1.Count;
|
||||||
@ -675,8 +674,14 @@ namespace AIMS.OperationFront.UI
|
|||||||
GetDataTableDoctorsNursesRoom();
|
GetDataTableDoctorsNursesRoom();
|
||||||
|
|
||||||
this.WindowState = FormWindowState.Maximized;
|
this.WindowState = FormWindowState.Maximized;
|
||||||
dateTimePicker1.Value = DateTime.Now.Date;
|
dateTimePicker1.Value = DateTime.Now.Date;
|
||||||
|
|
||||||
|
radioDoctor.Focus();
|
||||||
|
if (PublicMethod.RoleId == 6 || PublicMethod.RoleId == 8 || PublicMethod.RoleId == 10)
|
||||||
|
{
|
||||||
|
radioNurse.Checked = true;
|
||||||
|
radioNurse.Focus();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ChxSelectAllRows_CheckedChanged(object sender, EventArgs e)
|
private void ChxSelectAllRows_CheckedChanged(object sender, EventArgs e)
|
||||||
@ -940,34 +945,34 @@ namespace AIMS.OperationFront.UI
|
|||||||
}
|
}
|
||||||
SetOperatorId(dataTable, operatorId);
|
SetOperatorId(dataTable, operatorId);
|
||||||
|
|
||||||
///*转换护士值班数据*/
|
/*转换护士值班数据*/
|
||||||
///*SELECT Id, WorkerId, OperationRoomId, nurseType, beginTime, endTime, ScheduleMonth, Remark FROM SchedulingNurseToOperationRoom*/
|
/*SELECT Id, WorkerId, OperationRoomId, nurseType, beginTime, endTime, ScheduleMonth, Remark FROM SchedulingNurseToOperationRoom*/
|
||||||
//DataTable dataTable2 = dtSchedulingNurseToOperationRoom.Clone();
|
DataTable dataTable2 = dtSchedulingNurseToOperationRoom.Clone();
|
||||||
//for (int i = 0, n = dvMain.Count; i < n; i++)
|
for (int i = 0, n = dvMain.Count; i < n; i++)
|
||||||
//{
|
{
|
||||||
// DataRowView drv = dvMain[i];
|
DataRowView drv = dvMain[i];
|
||||||
// DataRow dr;
|
DataRow dr;
|
||||||
// int OperationRoomId;
|
int OperationRoomId;
|
||||||
// DateTime beginTime, endTime;
|
DateTime beginTime, endTime;
|
||||||
// OperationRoomId = GetOperationRoomId(drv["OperationRoom"].ToString());
|
OperationRoomId = GetOperationRoomId(drv["OperationRoom"].ToString());
|
||||||
// if (OperationRoomId > 0)
|
if (OperationRoomId > 0)
|
||||||
// {
|
{
|
||||||
// beginTime = Convert.ToDateTime(drv["BeginDate"]);
|
beginTime = Convert.ToDateTime(drv["BeginDate"]);
|
||||||
// endTime = Convert.ToDateTime(drv["EndDate"]);
|
endTime = Convert.ToDateTime(drv["EndDate"]);
|
||||||
// if (beginTime.Year < year) beginTime = monthFirstDay;
|
if (beginTime.Year < year) beginTime = monthFirstDay;
|
||||||
// if (endTime.Year < year) endTime = monthLastDay;
|
if (endTime.Year < year) endTime = monthLastDay;
|
||||||
|
|
||||||
// dr = dataTable2.NewRow();
|
dr = dataTable2.NewRow();
|
||||||
// dr["WorkerId"] = (int)drv["WorkerId"];
|
dr["WorkerId"] = (int)drv["WorkerId"];
|
||||||
// dr["OperationRoomId"] = OperationRoomId;
|
dr["OperationRoomId"] = OperationRoomId;
|
||||||
// dr["ScheduleMonth"] = scheduleMonth;
|
dr["ScheduleMonth"] = scheduleMonth;
|
||||||
// dr["nurseType"] = drv["Role"].ToString();
|
dr["nurseType"] = drv["Role"].ToString();
|
||||||
// dr["beginTime"] = beginTime;
|
dr["beginTime"] = beginTime;
|
||||||
// dr["endTime"] = endTime;
|
dr["endTime"] = endTime;
|
||||||
// dr["Remark"] = drv["Remark"].ToString();
|
dr["Remark"] = drv["Remark"].ToString();
|
||||||
// dataTable2.Rows.Add(dr);
|
dataTable2.Rows.Add(dr);
|
||||||
// }
|
}
|
||||||
//}
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@ -981,7 +986,7 @@ namespace AIMS.OperationFront.UI
|
|||||||
dbHelper.Execute(string.Format("delete SchedulingNew where ScheduleMonth={0} and WorkersType=1", scheduleMonth));
|
dbHelper.Execute(string.Format("delete SchedulingNew where ScheduleMonth={0} and WorkersType=1", scheduleMonth));
|
||||||
dbHelper.Execute(string.Format("delete SchedulingNurseToOperationRoom where ScheduleMonth={0}", scheduleMonth));
|
dbHelper.Execute(string.Format("delete SchedulingNurseToOperationRoom where ScheduleMonth={0}", scheduleMonth));
|
||||||
int n = dbHelper.DataTableSave(dataTable, "select id, workerId, WorkersType, ScheduleMonth, ScheduleDay, SchedulingType, SchedulingDate, OperatorId, OperatorTime, sbsj, xbsj from SchedulingNew");
|
int n = dbHelper.DataTableSave(dataTable, "select id, workerId, WorkersType, ScheduleMonth, ScheduleDay, SchedulingType, SchedulingDate, OperatorId, OperatorTime, sbsj, xbsj from SchedulingNew");
|
||||||
//n = dbHelper.DataTableSave(dataTable2, "SELECT Id, WorkerId, OperationRoomId, nurseType, beginTime, endTime, ScheduleMonth, Remark FROM SchedulingNurseToOperationRoom");
|
n = dbHelper.DataTableSave(dataTable2, "SELECT Id, WorkerId, OperationRoomId, nurseType, beginTime, endTime, ScheduleMonth, Remark FROM SchedulingNurseToOperationRoom");
|
||||||
dbHelper.Commit();
|
dbHelper.Commit();
|
||||||
dtMainTable.AcceptChanges();
|
dtMainTable.AcceptChanges();
|
||||||
MessageBox.Show("保存成功。", "提示信息");
|
MessageBox.Show("保存成功。", "提示信息");
|
||||||
@ -1329,6 +1334,7 @@ namespace AIMS.OperationFront.UI
|
|||||||
|
|
||||||
private void dateTimePicker1_ValueChanged(object sender, EventArgs e)
|
private void dateTimePicker1_ValueChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
|
||||||
/*改变月份*/
|
/*改变月份*/
|
||||||
GetDataTableSchedulingNew();
|
GetDataTableSchedulingNew();
|
||||||
}
|
}
|
||||||
@ -2123,5 +2129,31 @@ namespace AIMS.OperationFront.UI
|
|||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void dgvShiftPlan_CellClick(object sender, DataGridViewCellEventArgs e)
|
||||||
|
{
|
||||||
|
if (e.ColumnIndex == -1 || e.RowIndex == -1) return;
|
||||||
|
int x = dgvShiftPlan.CurrentCell.ColumnIndex;//获取鼠标的点击列
|
||||||
|
if (x == 0)//点击第一列是单选。
|
||||||
|
{
|
||||||
|
for (int i = 0; i < dgvShiftPlan.Rows.Count; i++)
|
||||||
|
{
|
||||||
|
DataGridViewCheckBoxCell checkcell = (DataGridViewCheckBoxCell)dgvShiftPlan.Rows[i].Cells[0];
|
||||||
|
checkcell.Value = false;
|
||||||
|
}
|
||||||
|
DataGridViewCheckBoxCell ifcheck = (DataGridViewCheckBoxCell)dgvShiftPlan.Rows[e.RowIndex].Cells[0];
|
||||||
|
ifcheck.Value = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void btnupMonth_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
dateTimePicker1.Value = dateTimePicker1.Value.AddMonths(-1);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void btnDownMonth_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
dateTimePicker1.Value = dateTimePicker1.Value.AddMonths(1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
2549
AIMS/OperationFront/FrmScheduling2.designer.cs
generated
2549
AIMS/OperationFront/FrmScheduling2.designer.cs
generated
File diff suppressed because it is too large
Load Diff
@ -237,6 +237,9 @@
|
|||||||
<metadata name="Remark.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="Remark.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
<metadata name="colChecked2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
<metadata name="ScheduleName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="ScheduleName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
|||||||
@ -4,25 +4,26 @@ using AIMSModel;
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using DrawGraph;
|
using DrawGraph;
|
||||||
|
using System.Data.SqlClient;
|
||||||
|
|
||||||
namespace AIMSBLL
|
namespace AIMSBLL
|
||||||
{
|
{
|
||||||
public partial class BOperationRecord
|
public partial class BOperationRecord
|
||||||
{
|
{
|
||||||
#region 插入实体操作部份
|
#region 插入实体操作部份
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 插入实体
|
/// 插入实体
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="operationRecord">实体类对象</param>
|
/// <param name="operationRecord">实体类对象</param>
|
||||||
/// <returns>标识列值或影响的记录行数</returns>
|
/// <returns>标识列值或影响的记录行数</returns>
|
||||||
public static int Insert(OperationRecord operationRecord)
|
public static int Insert(OperationRecord operationRecord)
|
||||||
{
|
{
|
||||||
return DOperationRecord.Insert(operationRecord);
|
return DOperationRecord.Insert(operationRecord);
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region 删除实体操作
|
#region 删除实体操作
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 删除实体
|
/// 删除实体
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="operationRecord">实体类对象</param>
|
/// <param name="operationRecord">实体类对象</param>
|
||||||
@ -31,7 +32,7 @@ namespace AIMSBLL
|
|||||||
{
|
{
|
||||||
return DOperationRecord.Delete(operationRecord);
|
return DOperationRecord.Delete(operationRecord);
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 根据对象查询语句删除
|
/// 根据对象查询语句删除
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="oql">对象查询语句</param>
|
/// <param name="oql">对象查询语句</param>
|
||||||
@ -39,23 +40,23 @@ namespace AIMSBLL
|
|||||||
/// <returns>影响的记录行数</returns>
|
/// <returns>影响的记录行数</returns>
|
||||||
public static int Delete(string oql, ParameterList parameters)
|
public static int Delete(string oql, ParameterList parameters)
|
||||||
{
|
{
|
||||||
return DOperationRecord.Delete(oql,parameters);
|
return DOperationRecord.Delete(oql, parameters);
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region 更新实体操作
|
#region 更新实体操作
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 更新实体
|
/// 更新实体
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="operationRecord">实体类对象</param>
|
/// <param name="operationRecord">实体类对象</param>
|
||||||
/// <returns>影响的记录行数</returns>
|
/// <returns>影响的记录行数</returns>
|
||||||
public static int Update(OperationRecord operationRecord)
|
public static int Update(OperationRecord operationRecord)
|
||||||
{
|
{
|
||||||
return DOperationRecord.Update(operationRecord);
|
return DOperationRecord.Update(operationRecord);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 根据对象查询语句更新实体
|
/// 根据对象查询语句更新实体
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="oql">对象查询语句</param>
|
/// <param name="oql">对象查询语句</param>
|
||||||
@ -63,31 +64,43 @@ namespace AIMSBLL
|
|||||||
/// <returns>影响的记录行数</returns>
|
/// <returns>影响的记录行数</returns>
|
||||||
public static int Update(string oql, ParameterList parameters)
|
public static int Update(string oql, ParameterList parameters)
|
||||||
{
|
{
|
||||||
return DOperationRecord.Update(oql,parameters);
|
int Result = DOperationRecord.Update(oql, parameters);
|
||||||
|
if (Result > 0 && parameters != null && oql.Contains("Time") && parameters.Keys.Count > 0)
|
||||||
|
{
|
||||||
|
foreach (string key in parameters.Keys)
|
||||||
|
{
|
||||||
|
if (key.ToUpper() == "@ID")
|
||||||
|
{
|
||||||
|
DOperationRecord.UpdateTimeSpan(int.Parse(parameters[key].ToString()));
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return Result;
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region 查询实体集合
|
#region 查询实体集合
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// \查询实体集合
|
/// \查询实体集合
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns>实体类对象集合</returns>
|
/// <returns>实体类对象集合</returns>
|
||||||
public static List<OperationRecord> Select()
|
public static List<OperationRecord> Select()
|
||||||
{
|
{
|
||||||
return DOperationRecord.Select();
|
return DOperationRecord.Select();
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 递归查询实体集合
|
/// 递归查询实体集合
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="recursiveType">递归类型</param>
|
/// <param name="recursiveType">递归类型</param>
|
||||||
/// <param name="recursiveDepth">递归深度</param>
|
/// <param name="recursiveDepth">递归深度</param>
|
||||||
/// <returns>实体类对象集合</returns>
|
/// <returns>实体类对象集合</returns>
|
||||||
public static List<OperationRecord> Select(RecursiveType recursiveType, int recursiveDepth)
|
public static List<OperationRecord> Select(RecursiveType recursiveType, int recursiveDepth)
|
||||||
{
|
{
|
||||||
return DOperationRecord.Select(recursiveType, recursiveDepth);
|
return DOperationRecord.Select(recursiveType, recursiveDepth);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 根据对象查询语句查询实体集合
|
/// 根据对象查询语句查询实体集合
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="oql">对象查询语句</param>
|
/// <param name="oql">对象查询语句</param>
|
||||||
@ -95,25 +108,25 @@ namespace AIMSBLL
|
|||||||
/// <returns>实体类对象集合</returns>
|
/// <returns>实体类对象集合</returns>
|
||||||
public static List<OperationRecord> Select(string oql, ParameterList parameters)
|
public static List<OperationRecord> Select(string oql, ParameterList parameters)
|
||||||
{
|
{
|
||||||
return DOperationRecord.Select(oql, parameters);
|
return DOperationRecord.Select(oql, parameters);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 根据对象查询语句递归查询实体集合
|
/// 根据对象查询语句递归查询实体集合
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="oql">对象查询语句</param>
|
/// <param name="oql">对象查询语句</param>
|
||||||
/// <param name="parameters">参数列表</param>
|
/// <param name="parameters">参数列表</param>
|
||||||
/// <param name="recursiveType">递归类型</param>
|
/// <param name="recursiveType">递归类型</param>
|
||||||
/// <param name="recursiveDepth">递归深度</param>
|
/// <param name="recursiveDepth">递归深度</param>
|
||||||
/// <returns>实体类对象集合</returns>
|
/// <returns>实体类对象集合</returns>
|
||||||
public static List<OperationRecord> Select(string oql, ParameterList parameters,RecursiveType recursiveType, int recursiveDepth)
|
public static List<OperationRecord> Select(string oql, ParameterList parameters, RecursiveType recursiveType, int recursiveDepth)
|
||||||
{
|
{
|
||||||
return DOperationRecord.Select(oql, parameters, recursiveType, recursiveDepth);
|
return DOperationRecord.Select(oql, parameters, recursiveType, recursiveDepth);
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region 查询单个实体
|
#region 查询单个实体
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 更据对象查询语句查询单个实体
|
/// 更据对象查询语句查询单个实体
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="oql">对象查询语句</param>
|
/// <param name="oql">对象查询语句</param>
|
||||||
@ -121,22 +134,22 @@ namespace AIMSBLL
|
|||||||
/// <returns>实体对象</returns>
|
/// <returns>实体对象</returns>
|
||||||
public static OperationRecord SelectSingle(string oql, ParameterList parameters)
|
public static OperationRecord SelectSingle(string oql, ParameterList parameters)
|
||||||
{
|
{
|
||||||
return DOperationRecord.SelectSingle(oql, parameters);
|
return DOperationRecord.SelectSingle(oql, parameters);
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 更据对象查询语句递归查询单个实体
|
/// 更据对象查询语句递归查询单个实体
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="oql">对象查询语句</param>
|
/// <param name="oql">对象查询语句</param>
|
||||||
/// <param name="parameters">参数列表</param>
|
/// <param name="parameters">参数列表</param>
|
||||||
/// <param name="recursiveType">递归类型</param>
|
/// <param name="recursiveType">递归类型</param>
|
||||||
/// <param name="recursiveDepth">递归深度</param>
|
/// <param name="recursiveDepth">递归深度</param>
|
||||||
/// <returns>实体对象</returns>
|
/// <returns>实体对象</returns>
|
||||||
public static OperationRecord SelectSingle(string oql, ParameterList parameters, RecursiveType recursiveType, int recursiveDepth)
|
public static OperationRecord SelectSingle(string oql, ParameterList parameters, RecursiveType recursiveType, int recursiveDepth)
|
||||||
{
|
{
|
||||||
return DOperationRecord.SelectSingle(oql, parameters, recursiveType, recursiveDepth);
|
return DOperationRecord.SelectSingle(oql, parameters, recursiveType, recursiveDepth);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 按主键字段查询特定实体
|
/// 按主键字段查询特定实体
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="id">主键值</param>
|
/// <param name="id">主键值</param>
|
||||||
@ -145,17 +158,17 @@ namespace AIMSBLL
|
|||||||
{
|
{
|
||||||
return DOperationRecord.SelectSingle(id);
|
return DOperationRecord.SelectSingle(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 更据主键递归查询单个实体
|
/// 更据主键递归查询单个实体
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="recursiveType">递归类型</param>
|
/// <param name="recursiveType">递归类型</param>
|
||||||
/// <param name="recursiveDepth">递归深度</param>
|
/// <param name="recursiveDepth">递归深度</param>
|
||||||
/// <returns>实体对象</returns>
|
/// <returns>实体对象</returns>
|
||||||
public static OperationRecord SelectSingle(int? id, RecursiveType recursiveType, int recursiveDepth)
|
public static OperationRecord SelectSingle(int? id, RecursiveType recursiveType, int recursiveDepth)
|
||||||
{
|
{
|
||||||
return DOperationRecord.SelectSingle(id, recursiveType, recursiveDepth);
|
return DOperationRecord.SelectSingle(id, recursiveType, recursiveDepth);
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -62,9 +62,31 @@ namespace AIMSBLL
|
|||||||
_record.Sex = OperationFrontdt.Rows[0]["Sex"].ToString();
|
_record.Sex = OperationFrontdt.Rows[0]["Sex"].ToString();
|
||||||
_record.Age = OperationFrontdt.Rows[0]["Age"].ToString();
|
_record.Age = OperationFrontdt.Rows[0]["Age"].ToString();
|
||||||
if (OperationFrontdt.Rows[0]["Height"].ToString() != "")
|
if (OperationFrontdt.Rows[0]["Height"].ToString() != "")
|
||||||
_record.Height = double.Parse(OperationFrontdt.Rows[0]["Height"].ToString()).ToString();
|
{
|
||||||
|
double Height = 0;
|
||||||
|
bool isNum = double.TryParse(OperationFrontdt.Rows[0]["Height"].ToString(), out Height);
|
||||||
|
if (isNum == true)
|
||||||
|
{
|
||||||
|
_record.Height = Height.ToString();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
_record.Height = OperationFrontdt.Rows[0]["Height"].ToString();
|
||||||
|
}
|
||||||
|
}
|
||||||
if (OperationFrontdt.Rows[0]["Weight"].ToString() != "")
|
if (OperationFrontdt.Rows[0]["Weight"].ToString() != "")
|
||||||
_record.Weight = double.Parse(OperationFrontdt.Rows[0]["Weight"].ToString()).ToString();
|
{
|
||||||
|
double Weight = 0;
|
||||||
|
bool isNum = double.TryParse(OperationFrontdt.Rows[0]["Weight"].ToString(), out Weight);
|
||||||
|
if (isNum == true)
|
||||||
|
{
|
||||||
|
_record.Weight = Weight.ToString();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
_record.Weight = OperationFrontdt.Rows[0]["Weight"].ToString();
|
||||||
|
}
|
||||||
|
}
|
||||||
_record.Applydiagnose = OperationFrontdt.Rows[0]["ApplyDiagnoseInfoId"].ToString();
|
_record.Applydiagnose = OperationFrontdt.Rows[0]["ApplyDiagnoseInfoId"].ToString();
|
||||||
_record.Applyoperation = OperationFrontdt.Rows[0]["ApplyOperationInfoId"].ToString();
|
_record.Applyoperation = OperationFrontdt.Rows[0]["ApplyOperationInfoId"].ToString();
|
||||||
_record.OperationType = OperationFrontdt.Rows[0]["OperationType"].ToString();
|
_record.OperationType = OperationFrontdt.Rows[0]["OperationType"].ToString();
|
||||||
|
|||||||
@ -298,7 +298,7 @@ namespace AIMSDAL
|
|||||||
}
|
}
|
||||||
public static DataTable GetOperationDoingDataTable(string BegInData, string EndData)
|
public static DataTable GetOperationDoingDataTable(string BegInData, string EndData)
|
||||||
{
|
{
|
||||||
string strSql = " SELECT OP.Id PatientId, OA.Id ApplyId, OD.Id OperationRecordId, oa.State StateId, CASE oa.State WHEN 1 THEN '已申请' WHEN 2 THEN '已审核' WHEN 3 THEN '预排程' WHEN 4 THEN'已排程' WHEN 5 THEN '已排程' WHEN 6 THEN '手术中' WHEN 7 THEN '麻醉恢复中' WHEN 8 THEN '手术结束' WHEN 9 THEN '麻醉恢复结束' WHEN 10 THEN '退回' WHEN 11 THEN '作废' END State, OP.Name PatientName, OP.Sex, OP.Age , Dept.Name ApplyDepName, OP.PatientType, OP.MdrecNo, OA.OperationType, OA.ApplyOperatorNo, OA.ApplyTime, adi.ApplyDiagnoseInfoName, aoi.ApplyOperationInfoNames ApplyOperationInfoName, InRoomTime, OutRoomTime, CONVERT(DECIMAL(18,2),RoomTimeSpan) /60 RoomHourTimeSpan, AnesthesiaBeginTime, AnesthesiaEndTime, CONVERT(DECIMAL(18,2),AnaesthesiaTimeSpan) /60 AnaesthesiaHourTimeSpan, OperationBeginTime, OperationEndTime, CONVERT(DECIMAL(18,2),OperationTimeSpan) /60 OperationHourTimeSpan, dbo.funNameById(od.AnaesthesiaMethodName) as AnaesthesiaMethodName, foi.OperationInfoName OperationInfoName, foct.OperationCutTypeName, fop.OperationPositionName, fobp.OperationBodyPositionName, of1.OperationLevel, asa.Name ASALevelName, ISNULL(dbo.GetPersonDuty(OD.PatientId,1),'') AS OperationDoctor, ISNULL(dbo.GetPersonDuty(OD.PatientId,2),'') + ' ' + ISNULL(dbo.GetPersonDuty(OD.PatientId,3),'') + ' ' + ISNULL(dbo.GetPersonDuty(OD.PatientId,4),'') AS Assistant, ISNULL(dbo.GetPersonDuty(OD.PatientId,5),'') AS AnesthesiaDoctor, ISNULL(dbo.GetPersonDuty(OD.PatientId,6),'') AS InstrumentNurse , ISNULL(dbo.GetPersonDuty(OD.PatientId,7),'') AS TourNurse , ROOM.Name OperationRoomName, PlanOrder, CASE oa.IsPlanReturnOperation WHEN 1 THEN '是' when 0 then '否' else '' end as IsNotPlanReturnOperation, od.AnaesthesiaMethodName AnaesthesiaMethodId, OA.Remark, OA.OperatorName ,OA.OperationRoomId FROM dbo.Oris_Patient OP LEFT JOIN OperationApply OA on OA.Oris_PatientId=OP.Id LEFT JOIN OperationRecord OD on OD.PatientId=OP.Id LEFT JOIN OperationRoom ROOM on ROOM.Id=OA.OperationRoomId LEFT JOIN Department Dept on Dept.Id=OA.ApplyDepId LEFT JOIN V_ApplyDiagnoseInfo adi ON adi.OperationApplyId = oa.Id LEFT JOIN V_ApplyOperationInfo aoi ON aoi.OperationApplyId =oa.Id LEFT JOIN V_FactOperationInfo foi ON foi.PatientId =od.PatientId LEFT JOIN V_FactOperationCutType foct ON foct.PatientId =od.PatientId LEFT JOIN V_FactOperationBodyPosition fobp ON fobp.PatientId =od.PatientId LEFT JOIN V_FactOperationPosition fop ON fop.PatientId =od.PatientId LEFT JOIN BasicDictionary asa ON asa.Id = OD.ASALevel LEFT JOIN OperationRecordInfo of1 ON of1.OperationRecordId = OD.Id WHERE oa.OrderOperationTime>='" + BegInData + "' and oa.OrderOperationTime<'" + EndData + "' order by OperationRoomId,PlanOrder asc";
|
string strSql = " SELECT * from [dbo].[V_OperationRecordInfo] WHERE OrderOperationTime>='" + BegInData + "' and OrderOperationTime<'" + EndData + "' order by OperationRoomId,PlanOrder asc";
|
||||||
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -50,6 +50,11 @@ namespace AIMSDAL
|
|||||||
"',OperateDate = '" + AIMSExtension.PublicMethod.SystemDate() +
|
"',OperateDate = '" + AIMSExtension.PublicMethod.SystemDate() +
|
||||||
"' WHERE PatientId=" + PatientId + " and RecoverId='" + TypeId + "'";
|
"' WHERE PatientId=" + PatientId + " and RecoverId='" + TypeId + "'";
|
||||||
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
|
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
|
||||||
|
}
|
||||||
|
public static void UpdateTimeSpan(int Id)
|
||||||
|
{
|
||||||
|
string strSql = " update OperationRecord set RoomTimeSpan=ISNULL(DATEDIFF(minute,InRoomTime,OutRoomTime),0),OperationTimeSpan=ISNULL(DATEDIFF(minute,OperationBeginTime,OperationEndTime),0),AnaesthesiaTimeSpan=ISNULL(DATEDIFF(minute,AnesthesiaBeginTime, AnesthesiaEndTime),0) where id ='" + Id+"' ";
|
||||||
|
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void DeleteOperationRecordData(int RecorId, int PatientId, int TypeId)
|
public static void DeleteOperationRecordData(int RecorId, int PatientId, int TypeId)
|
||||||
|
|||||||
@ -223,6 +223,9 @@ namespace DocumentManagement
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
//100038004389
|
||||||
|
|
||||||
|
//https://wqs.jd.com/order/m.confirm.shtml?sceneval=2&bid=&wdref=https%3A%2F%2Fitem.m.jd.com%2Fproduct%2F100038004389.html%3Fsceneval%3D2%26jxsid%3D16698592780168569097&scene=jd&isCanEdit=1&EncryptInfo=&Token=&commlist=100038004389%2C%2C1%2C100038004389%2C1%2C0%2C0&locationid=1-72-2819&type=0&lg=0&supm=0&favorablerate=97&jxsid=16698592780168569097&login=1&r=0.9297322414368827#/index
|
||||||
|
|
||||||
//var p = element.GetType().GetProperty("ID").GetValue(element, null);
|
//var p = element.GetType().GetProperty("ID").GetValue(element, null);
|
||||||
//string pID = p.ToString();
|
//string pID = p.ToString();
|
||||||
|
|||||||
@ -107,18 +107,25 @@ namespace DrawGraph
|
|||||||
|
|
||||||
public void SetBMI(bool IsUpdate = false)
|
public void SetBMI(bool IsUpdate = false)
|
||||||
{
|
{
|
||||||
if (myOpeRecord.Height != null && myOpeRecord.Height != "" && myOpeRecord.Weight != null && myOpeRecord.Weight != "" && myOpeRecord.Weight != "卧床")
|
if (myOpeRecord.Height != null && myOpeRecord.Height != "" && myOpeRecord.Weight != null && myOpeRecord.Weight != "" && myOpeRecord.Height != "卧床" && myOpeRecord.Weight != "卧床")
|
||||||
{
|
{
|
||||||
double hei = double.Parse(myOpeRecord.Height) / 100;
|
double Weight = 0;
|
||||||
double wei = double.Parse(myOpeRecord.Weight);
|
bool isNum = double.TryParse(myOpeRecord.Weight, out Weight);
|
||||||
double BMI = wei / hei / hei;
|
double Height = 0;
|
||||||
myOpeRecord.BMI = Math.Floor(BMI).ToString();
|
bool isNum2 = double.TryParse(myOpeRecord.Height, out Height);
|
||||||
template.SetObjValue(myOpeRecord, "OperationRecord.BMI", myOpeRecord.BMI.ToString(), myOpeRecord.BMI.ToString(), IsUpdate);
|
if (isNum == true && isNum2 == true && Height != 0 && Weight != 0)
|
||||||
}
|
{
|
||||||
else
|
double hei = Height / 100;
|
||||||
{
|
double wei = Weight;
|
||||||
myOpeRecord.BMI = "";
|
double BMI = wei / hei / hei;
|
||||||
template.SetObjValue(myOpeRecord, "OperationRecord.BMI", myOpeRecord.BMI.ToString(), myOpeRecord.BMI.ToString(), IsUpdate);
|
myOpeRecord.BMI = Math.Floor(BMI).ToString();
|
||||||
|
template.SetObjValue(myOpeRecord, "OperationRecord.BMI", myOpeRecord.BMI.ToString(), myOpeRecord.BMI.ToString(), IsUpdate);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
myOpeRecord.BMI = "";
|
||||||
|
template.SetObjValue(myOpeRecord, "OperationRecord.BMI", myOpeRecord.BMI.ToString(), myOpeRecord.BMI.ToString(), IsUpdate);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@ -308,14 +308,14 @@ namespace DrawGraph
|
|||||||
{
|
{
|
||||||
SetApplianceMethod(myOpeRecord.InstrumentList.ApplianceRecordList);
|
SetApplianceMethod(myOpeRecord.InstrumentList.ApplianceRecordList);
|
||||||
}
|
}
|
||||||
if (myOpeRecord.InstrumentList.InstrumentNurse != null)
|
if (myOpeRecord.InstrumentList.InstrumentNurse != null && myOpeRecord.InstrumentList.InstrumentNurse != "")
|
||||||
{
|
{
|
||||||
template.SetObjValue(myOpeRecord, "OperationRecord.InstrumentList.InstrumentNurse", myOpeRecord.InstrumentList.InstrumentNurse, myOpeRecord.InstrumentList.InstrumentNurse);
|
template.SetObjValue(myOpeRecord, "OperationRecord.InstrumentList.InstrumentNurse", myOpeRecord.InstrumentList.InstrumentNurse, myOpeRecord.InstrumentList.InstrumentNurse);
|
||||||
}
|
}
|
||||||
if (myOpeRecord.InstrumentList.TourNurse != null)
|
if (myOpeRecord.InstrumentList.TourNurse != null && myOpeRecord.InstrumentList.TourNurse != "")
|
||||||
{
|
{
|
||||||
template.SetObjValue(myOpeRecord, "OperationRecord.InstrumentList.TourNurse", myOpeRecord.InstrumentList.TourNurse, myOpeRecord.InstrumentList.TourNurse);
|
template.SetObjValue(myOpeRecord, "OperationRecord.InstrumentList.TourNurse", myOpeRecord.InstrumentList.TourNurse, myOpeRecord.InstrumentList.TourNurse);
|
||||||
}
|
}
|
||||||
if (myOpeRecord.InstrumentList.Remark != null)
|
if (myOpeRecord.InstrumentList.Remark != null)
|
||||||
{
|
{
|
||||||
template.SetObjValue(myOpeRecord, "OperationRecord.InstrumentList.Remark", myOpeRecord.InstrumentList.Remark, myOpeRecord.InstrumentList.Remark);
|
template.SetObjValue(myOpeRecord, "OperationRecord.InstrumentList.Remark", myOpeRecord.InstrumentList.Remark, myOpeRecord.InstrumentList.Remark);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user