修改记录单年龄可编辑

This commit is contained in:
leomon 2023-05-28 09:56:39 +08:00
parent 4a3d284fdf
commit 49e6b68658
12 changed files with 127 additions and 119 deletions

View File

@ -1283,15 +1283,11 @@
<None Include="Template\手术排程模板.xlt" /> <None Include="Template\手术排程模板.xlt" />
<None Include="Template\手术间保养维修记录.xlt" /> <None Include="Template\手术间保养维修记录.xlt" />
<None Include="Template\护士收费单.xlt" /> <None Include="Template\护士收费单.xlt" />
<None Include="Template\护士收费单QHD.xlt"> <None Include="Template\护士收费单QHD.xlt" />
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="Template\排班按月.xlt" /> <None Include="Template\排班按月.xlt" />
<None Include="Template\职工出缺勤表.xlt" /> <None Include="Template\职工出缺勤表.xlt" />
<None Include="Template\麻醉收费单.xlt" /> <None Include="Template\麻醉收费单.xlt" />
<None Include="Template\麻醉收费单QHD.xlt"> <None Include="Template\麻醉收费单QHD.xlt" />
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="Template\麻醉机及心电监护仪使用消毒记录.xlt" /> <None Include="Template\麻醉机及心电监护仪使用消毒记录.xlt" />
<None Include="Template\麻醉贵重物品清点本.xlt" /> <None Include="Template\麻醉贵重物品清点本.xlt" />
</ItemGroup> </ItemGroup>

View File

@ -50,11 +50,11 @@ namespace AIMS
txtNo.Select(); txtNo.Select();
txtNo.Focus(); txtNo.Focus();
} }
//#if DEBUG #if DEBUG
// txtNo.Text = "admin"; txtNo.Text = "admin";
// txtPassWord.Text = "1"; txtPassWord.Text = "1";
// btnOk_Click(null, null); btnOk_Click(null, null);
//#endif #endif
} }
private void btnOk_Click(object sender, EventArgs e) private void btnOk_Click(object sender, EventArgs e)
{ {

View File

@ -1256,6 +1256,7 @@ namespace AIMS.OperationAanesthesia
BOperationRecord.DeleteOperationRecordData(_record.Id.Value, PatientId, RecoverId); BOperationRecord.DeleteOperationRecordData(_record.Id.Value, PatientId, RecoverId);
HelperDB.DbHelperSQL.CommitTrans(); HelperDB.DbHelperSQL.CommitTrans();
PublicMethod.WriteLog("取消转入", _record.PatientId.Value, 0, "镇静");
DisposeTimer(); DisposeTimer();
//ClearData(); //ClearData();
this.Close(); this.Close();
@ -2283,7 +2284,7 @@ namespace AIMS.OperationAanesthesia
_record.AnalgesiaRecord.RespiratorySystem = "无"; _record.AnalgesiaRecord.RespiratorySystem = "无";
_record.AnalgesiaRecord.EndocrineSystem = "无"; _record.AnalgesiaRecord.EndocrineSystem = "无";
_record.AnalgesiaRecord.OtherSpecialConditions = "无"; _record.AnalgesiaRecord.OtherSpecialConditions = "无";
_record.AnalgesiaRecord.PatientOutcome = "病房"; _record.AnalgesiaRecord.PatientOutcome = "离院";
_record.AnalgesiaRecord.PainScore = "0"; _record.AnalgesiaRecord.PainScore = "0";
_record.AnalgesiaRecord.StewardScoreDischarge = "6"; _record.AnalgesiaRecord.StewardScoreDischarge = "6";
_record.AnalgesiaRecord.HighFallRisk = "无"; _record.AnalgesiaRecord.HighFallRisk = "无";

View File

@ -72,18 +72,18 @@
this.panel1 = new System.Windows.Forms.Panel(); this.panel1 = new System.Windows.Forms.Panel();
this.panel5 = new System.Windows.Forms.Panel(); this.panel5 = new System.Windows.Forms.Panel();
this.superTabMain = new DevComponents.DotNetBar.SuperTabControl(); this.superTabMain = new DevComponents.DotNetBar.SuperTabControl();
this.superTabControlPanel1 = new DevComponents.DotNetBar.SuperTabControlPanel();
this.panelExZKZB = new DevComponents.DotNetBar.PanelEx();
this.panel8 = new AIMS.PublicUI.UI.DrawPanel();
this.circularProgress1 = new DevComponents.DotNetBar.Controls.CircularProgress();
this.zgcAnaesRecord = new DrawGraph.ZedGraphControl();
this.spTabQXQDD = new DevComponents.DotNetBar.SuperTabItem();
this.superTabControlPanel2 = new DevComponents.DotNetBar.SuperTabControlPanel(); this.superTabControlPanel2 = new DevComponents.DotNetBar.SuperTabControlPanel();
this.panelExBLSJ = new DevComponents.DotNetBar.PanelEx(); this.panelExBLSJ = new DevComponents.DotNetBar.PanelEx();
this.panel82 = new AIMS.PublicUI.UI.DrawPanel(); this.panel82 = new AIMS.PublicUI.UI.DrawPanel();
this.circularProgress2 = new DevComponents.DotNetBar.Controls.CircularProgress(); this.circularProgress2 = new DevComponents.DotNetBar.Controls.CircularProgress();
this.zgcAnaesRecord2 = new DrawGraph.ZedGraphControl(); this.zgcAnaesRecord2 = new DrawGraph.ZedGraphControl();
this.spTabBM = new DevComponents.DotNetBar.SuperTabItem(); this.spTabBM = new DevComponents.DotNetBar.SuperTabItem();
this.superTabControlPanel1 = new DevComponents.DotNetBar.SuperTabControlPanel();
this.panelExZKZB = new DevComponents.DotNetBar.PanelEx();
this.panel8 = new AIMS.PublicUI.UI.DrawPanel();
this.circularProgress1 = new DevComponents.DotNetBar.Controls.CircularProgress();
this.zgcAnaesRecord = new DrawGraph.ZedGraphControl();
this.spTabQXQDD = new DevComponents.DotNetBar.SuperTabItem();
this.panel7 = new System.Windows.Forms.Panel(); this.panel7 = new System.Windows.Forms.Panel();
this.panel21 = new System.Windows.Forms.Panel(); this.panel21 = new System.Windows.Forms.Panel();
this.PanelSave = new System.Windows.Forms.Panel(); this.PanelSave = new System.Windows.Forms.Panel();
@ -140,12 +140,12 @@
this.panel5.SuspendLayout(); this.panel5.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.superTabMain)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.superTabMain)).BeginInit();
this.superTabMain.SuspendLayout(); this.superTabMain.SuspendLayout();
this.superTabControlPanel1.SuspendLayout();
this.panelExZKZB.SuspendLayout();
this.panel8.SuspendLayout();
this.superTabControlPanel2.SuspendLayout(); this.superTabControlPanel2.SuspendLayout();
this.panelExBLSJ.SuspendLayout(); this.panelExBLSJ.SuspendLayout();
this.panel82.SuspendLayout(); this.panel82.SuspendLayout();
this.superTabControlPanel1.SuspendLayout();
this.panelExZKZB.SuspendLayout();
this.panel8.SuspendLayout();
this.panel7.SuspendLayout(); this.panel7.SuspendLayout();
this.panel21.SuspendLayout(); this.panel21.SuspendLayout();
this.plTitleEventTime.SuspendLayout(); this.plTitleEventTime.SuspendLayout();
@ -872,8 +872,8 @@
this.superTabMain.ControlBox.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.superTabMain.ControlBox.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
this.superTabMain.ControlBox.MenuBox, this.superTabMain.ControlBox.MenuBox,
this.superTabMain.ControlBox.CloseBox}); this.superTabMain.ControlBox.CloseBox});
this.superTabMain.Controls.Add(this.superTabControlPanel2);
this.superTabMain.Controls.Add(this.superTabControlPanel1); this.superTabMain.Controls.Add(this.superTabControlPanel1);
this.superTabMain.Controls.Add(this.superTabControlPanel2);
this.superTabMain.Dock = System.Windows.Forms.DockStyle.Fill; this.superTabMain.Dock = System.Windows.Forms.DockStyle.Fill;
this.superTabMain.Location = new System.Drawing.Point(0, 58); this.superTabMain.Location = new System.Drawing.Point(0, 58);
this.superTabMain.Name = "superTabMain"; this.superTabMain.Name = "superTabMain";
@ -888,96 +888,6 @@
this.spTabBM}); this.spTabBM});
this.superTabMain.SelectedTabChanged += new System.EventHandler<DevComponents.DotNetBar.SuperTabStripSelectedTabChangedEventArgs>(this.superTabMain_SelectedTabChanged); this.superTabMain.SelectedTabChanged += new System.EventHandler<DevComponents.DotNetBar.SuperTabStripSelectedTabChangedEventArgs>(this.superTabMain_SelectedTabChanged);
// //
// superTabControlPanel1
//
this.superTabControlPanel1.Controls.Add(this.panelExZKZB);
this.superTabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.superTabControlPanel1.Location = new System.Drawing.Point(0, 28);
this.superTabControlPanel1.Name = "superTabControlPanel1";
this.superTabControlPanel1.Size = new System.Drawing.Size(1389, 803);
this.superTabControlPanel1.TabIndex = 1;
this.superTabControlPanel1.TabItem = this.spTabQXQDD;
//
// panelExZKZB
//
this.panelExZKZB.CanvasColor = System.Drawing.SystemColors.Control;
this.panelExZKZB.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.panelExZKZB.Controls.Add(this.panel8);
this.panelExZKZB.DisabledBackColor = System.Drawing.Color.Empty;
this.panelExZKZB.Dock = System.Windows.Forms.DockStyle.Fill;
this.panelExZKZB.Location = new System.Drawing.Point(0, 0);
this.panelExZKZB.Name = "panelExZKZB";
this.panelExZKZB.Size = new System.Drawing.Size(1389, 803);
this.panelExZKZB.Style.Alignment = System.Drawing.StringAlignment.Center;
this.panelExZKZB.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
this.panelExZKZB.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
this.panelExZKZB.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.panelExZKZB.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.panelExZKZB.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.panelExZKZB.Style.GradientAngle = 90;
this.panelExZKZB.TabIndex = 0;
//
// panel8
//
this.panel8.AutoScroll = true;
this.panel8.BackColor = System.Drawing.Color.White;
this.panel8.Controls.Add(this.circularProgress1);
this.panel8.Controls.Add(this.zgcAnaesRecord);
this.panel8.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel8.Location = new System.Drawing.Point(0, 0);
this.panel8.Name = "panel8";
this.panel8.Size = new System.Drawing.Size(1389, 803);
this.panel8.TabIndex = 2;
this.panel8.Scroll += new System.Windows.Forms.ScrollEventHandler(this.panel8_Scroll);
//
// circularProgress1
//
this.circularProgress1.AnimationSpeed = 50;
//
//
//
this.circularProgress1.BackgroundStyle.BackgroundImageAlpha = ((byte)(0));
this.circularProgress1.BackgroundStyle.BackgroundImagePosition = DevComponents.DotNetBar.eStyleBackgroundImage.Zoom;
this.circularProgress1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.circularProgress1.FocusCuesEnabled = false;
this.circularProgress1.Font = new System.Drawing.Font("微软雅黑", 9F);
this.circularProgress1.Location = new System.Drawing.Point(602, 274);
this.circularProgress1.Margin = new System.Windows.Forms.Padding(4);
this.circularProgress1.Name = "circularProgress1";
this.circularProgress1.ProgressColor = System.Drawing.Color.DodgerBlue;
this.circularProgress1.Size = new System.Drawing.Size(389, 239);
this.circularProgress1.Style = DevComponents.DotNetBar.eDotNetBarStyle.OfficeXP;
this.circularProgress1.TabIndex = 6;
this.circularProgress1.Value = 100;
//
// zgcAnaesRecord
//
this.zgcAnaesRecord.Location = new System.Drawing.Point(416, 41);
this.zgcAnaesRecord.Name = "zgcAnaesRecord";
this.zgcAnaesRecord.ScrollGrace = 0D;
this.zgcAnaesRecord.ScrollMaxX = 0D;
this.zgcAnaesRecord.ScrollMaxY = 0D;
this.zgcAnaesRecord.ScrollMaxY2 = 0D;
this.zgcAnaesRecord.ScrollMinX = 0D;
this.zgcAnaesRecord.ScrollMinY = 0D;
this.zgcAnaesRecord.ScrollMinY2 = 0D;
this.zgcAnaesRecord.Size = new System.Drawing.Size(800, 1000);
this.zgcAnaesRecord.TabIndex = 0;
this.zgcAnaesRecord.Visible = false;
this.zgcAnaesRecord.ContextMenuBuilder += new DrawGraph.ZedGraphControl.ContextMenuBuilderEventHandler(this.zgcAnaesRecord_ContextMenuBuilder);
this.zgcAnaesRecord.MouseDownEvent += new DrawGraph.ZedGraphControl.ZedMouseEventHandler(this.zgcAnaesRecord_MouseDownEvent);
this.zgcAnaesRecord.MouseUpEvent += new DrawGraph.ZedGraphControl.ZedMouseEventHandler(this.zgcAnaesRecord_MouseUpEvent);
this.zgcAnaesRecord.MouseMoveEvent += new DrawGraph.ZedGraphControl.ZedMouseEventHandler(this.zgcAnaesRecord_MouseMoveEvent);
this.zgcAnaesRecord.KeyUp += new System.Windows.Forms.KeyEventHandler(this.zgcAnaesRecord_KeyUp);
this.zgcAnaesRecord.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.zgcAnaesRecord_MouseDoubleClick);
//
// spTabQXQDD
//
this.spTabQXQDD.AttachedControl = this.superTabControlPanel1;
this.spTabQXQDD.GlobalItem = false;
this.spTabQXQDD.Name = "spTabQXQDD";
this.spTabQXQDD.Text = "麻醉记录单正面";
//
// superTabControlPanel2 // superTabControlPanel2
// //
this.superTabControlPanel2.Controls.Add(this.panelExBLSJ); this.superTabControlPanel2.Controls.Add(this.panelExBLSJ);
@ -1068,6 +978,96 @@
this.spTabBM.Name = "spTabBM"; this.spTabBM.Name = "spTabBM";
this.spTabBM.Text = "麻醉记录单背面"; this.spTabBM.Text = "麻醉记录单背面";
// //
// superTabControlPanel1
//
this.superTabControlPanel1.Controls.Add(this.panelExZKZB);
this.superTabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.superTabControlPanel1.Location = new System.Drawing.Point(0, 28);
this.superTabControlPanel1.Name = "superTabControlPanel1";
this.superTabControlPanel1.Size = new System.Drawing.Size(1389, 803);
this.superTabControlPanel1.TabIndex = 1;
this.superTabControlPanel1.TabItem = this.spTabQXQDD;
//
// panelExZKZB
//
this.panelExZKZB.CanvasColor = System.Drawing.SystemColors.Control;
this.panelExZKZB.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.panelExZKZB.Controls.Add(this.panel8);
this.panelExZKZB.DisabledBackColor = System.Drawing.Color.Empty;
this.panelExZKZB.Dock = System.Windows.Forms.DockStyle.Fill;
this.panelExZKZB.Location = new System.Drawing.Point(0, 0);
this.panelExZKZB.Name = "panelExZKZB";
this.panelExZKZB.Size = new System.Drawing.Size(1389, 803);
this.panelExZKZB.Style.Alignment = System.Drawing.StringAlignment.Center;
this.panelExZKZB.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
this.panelExZKZB.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
this.panelExZKZB.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.panelExZKZB.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.panelExZKZB.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.panelExZKZB.Style.GradientAngle = 90;
this.panelExZKZB.TabIndex = 0;
//
// panel8
//
this.panel8.AutoScroll = true;
this.panel8.BackColor = System.Drawing.Color.White;
this.panel8.Controls.Add(this.circularProgress1);
this.panel8.Controls.Add(this.zgcAnaesRecord);
this.panel8.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel8.Location = new System.Drawing.Point(0, 0);
this.panel8.Name = "panel8";
this.panel8.Size = new System.Drawing.Size(1389, 803);
this.panel8.TabIndex = 2;
this.panel8.Scroll += new System.Windows.Forms.ScrollEventHandler(this.panel8_Scroll);
//
// circularProgress1
//
this.circularProgress1.AnimationSpeed = 50;
//
//
//
this.circularProgress1.BackgroundStyle.BackgroundImageAlpha = ((byte)(0));
this.circularProgress1.BackgroundStyle.BackgroundImagePosition = DevComponents.DotNetBar.eStyleBackgroundImage.Zoom;
this.circularProgress1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.circularProgress1.FocusCuesEnabled = false;
this.circularProgress1.Font = new System.Drawing.Font("微软雅黑", 9F);
this.circularProgress1.Location = new System.Drawing.Point(602, 274);
this.circularProgress1.Margin = new System.Windows.Forms.Padding(4);
this.circularProgress1.Name = "circularProgress1";
this.circularProgress1.ProgressColor = System.Drawing.Color.DodgerBlue;
this.circularProgress1.Size = new System.Drawing.Size(389, 239);
this.circularProgress1.Style = DevComponents.DotNetBar.eDotNetBarStyle.OfficeXP;
this.circularProgress1.TabIndex = 6;
this.circularProgress1.Value = 100;
//
// zgcAnaesRecord
//
this.zgcAnaesRecord.Location = new System.Drawing.Point(416, 41);
this.zgcAnaesRecord.Name = "zgcAnaesRecord";
this.zgcAnaesRecord.ScrollGrace = 0D;
this.zgcAnaesRecord.ScrollMaxX = 0D;
this.zgcAnaesRecord.ScrollMaxY = 0D;
this.zgcAnaesRecord.ScrollMaxY2 = 0D;
this.zgcAnaesRecord.ScrollMinX = 0D;
this.zgcAnaesRecord.ScrollMinY = 0D;
this.zgcAnaesRecord.ScrollMinY2 = 0D;
this.zgcAnaesRecord.Size = new System.Drawing.Size(800, 1000);
this.zgcAnaesRecord.TabIndex = 0;
this.zgcAnaesRecord.Visible = false;
this.zgcAnaesRecord.ContextMenuBuilder += new DrawGraph.ZedGraphControl.ContextMenuBuilderEventHandler(this.zgcAnaesRecord_ContextMenuBuilder);
this.zgcAnaesRecord.MouseDownEvent += new DrawGraph.ZedGraphControl.ZedMouseEventHandler(this.zgcAnaesRecord_MouseDownEvent);
this.zgcAnaesRecord.MouseUpEvent += new DrawGraph.ZedGraphControl.ZedMouseEventHandler(this.zgcAnaesRecord_MouseUpEvent);
this.zgcAnaesRecord.MouseMoveEvent += new DrawGraph.ZedGraphControl.ZedMouseEventHandler(this.zgcAnaesRecord_MouseMoveEvent);
this.zgcAnaesRecord.KeyUp += new System.Windows.Forms.KeyEventHandler(this.zgcAnaesRecord_KeyUp);
this.zgcAnaesRecord.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.zgcAnaesRecord_MouseDoubleClick);
//
// spTabQXQDD
//
this.spTabQXQDD.AttachedControl = this.superTabControlPanel1;
this.spTabQXQDD.GlobalItem = false;
this.spTabQXQDD.Name = "spTabQXQDD";
this.spTabQXQDD.Text = "麻醉记录单正面";
//
// panel7 // panel7
// //
this.panel7.BackColor = System.Drawing.SystemColors.Control; this.panel7.BackColor = System.Drawing.SystemColors.Control;
@ -2020,12 +2020,12 @@
this.panel5.ResumeLayout(false); this.panel5.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.superTabMain)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.superTabMain)).EndInit();
this.superTabMain.ResumeLayout(false); this.superTabMain.ResumeLayout(false);
this.superTabControlPanel1.ResumeLayout(false);
this.panelExZKZB.ResumeLayout(false);
this.panel8.ResumeLayout(false);
this.superTabControlPanel2.ResumeLayout(false); this.superTabControlPanel2.ResumeLayout(false);
this.panelExBLSJ.ResumeLayout(false); this.panelExBLSJ.ResumeLayout(false);
this.panel82.ResumeLayout(false); this.panel82.ResumeLayout(false);
this.superTabControlPanel1.ResumeLayout(false);
this.panelExZKZB.ResumeLayout(false);
this.panel8.ResumeLayout(false);
this.panel7.ResumeLayout(false); this.panel7.ResumeLayout(false);
this.panel7.PerformLayout(); this.panel7.PerformLayout();
this.panel21.ResumeLayout(false); this.panel21.ResumeLayout(false);

View File

@ -1372,6 +1372,7 @@ namespace AIMS.OperationAanesthesia
BOperationRecord.DeleteOperationRecordData(_record.Id.Value, PatientId, RecoverId); BOperationRecord.DeleteOperationRecordData(_record.Id.Value, PatientId, RecoverId);
HelperDB.DbHelperSQL.CommitTrans(); HelperDB.DbHelperSQL.CommitTrans();
PublicMethod.WriteLog("取消转入", _record.PatientId.Value, 0, "麻醉");
DisposeTimer(); DisposeTimer();
//ClearData(); //ClearData();
this.Close(); this.Close();

View File

@ -905,6 +905,7 @@ namespace AIMS.OperationAanesthesia
BOperationRecord.DeleteOperationRecorvreData(_record.Id.Value, PatientId, RecoverId); BOperationRecord.DeleteOperationRecorvreData(_record.Id.Value, PatientId, RecoverId);
HelperDB.DbHelperSQL.CommitTrans(); HelperDB.DbHelperSQL.CommitTrans();
PublicMethod.WriteLog("取消转入", _record.PatientId.Value, 0, "恢复");
DisposeTimer(); DisposeTimer();
//ClearData(); //ClearData();
this.Close(); this.Close();

View File

@ -675,6 +675,7 @@ namespace AIMS.OperationAanesthesia
BOperationRecord.DeleteOperationRecordData(_record.Id.Value, PatientId, RecoverId); BOperationRecord.DeleteOperationRecordData(_record.Id.Value, PatientId, RecoverId);
HelperDB.DbHelperSQL.CommitTrans(); HelperDB.DbHelperSQL.CommitTrans();
PublicMethod.WriteLog("取消转入", _record.PatientId.Value, 0, "护理");
DisposeTimer(); DisposeTimer();
//ClearData(); //ClearData();
this.Close(); this.Close();

View File

@ -57,6 +57,7 @@ namespace AIMSBLL
_record.Name = OperationFrontdt.Rows[0]["PatientName"].ToString(); _record.Name = OperationFrontdt.Rows[0]["PatientName"].ToString();
_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 (_record.Age == "0天" || _record.Age == "0日") _record.Age = "-";
_record.Identity = OperationFrontdt.Rows[0]["IdentityCard"].ToString(); _record.Identity = OperationFrontdt.Rows[0]["IdentityCard"].ToString();
_record.FareType = OperationFrontdt.Rows[0]["PatientKind"].ToString(); _record.FareType = OperationFrontdt.Rows[0]["PatientKind"].ToString();
_record.BloodType = OperationFrontdt.Rows[0]["BloodType"].ToString(); _record.BloodType = OperationFrontdt.Rows[0]["BloodType"].ToString();
@ -94,7 +95,8 @@ namespace AIMSBLL
_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();
_record.MedicalRecord = OperationFrontdt.Rows[0]["MedicalRecord"].ToString(); _record.MedicalRecord = OperationFrontdt.Rows[0]["MedicalRecord"].ToString();
_record.PlanOperationTime = DateTime.Parse(OperationFrontdt.Rows[0]["PlanOperationTime"].ToString()); if (OperationFrontdt.Rows[0]["PlanOperationTime"].ToString() != "")
_record.PlanOperationTime = DateTime.Parse(OperationFrontdt.Rows[0]["PlanOperationTime"].ToString());
} }
DataTable OperationDoingdt = BOperationRecord.GetOperationDoingDataTableByPatientId(PatientId, RecoverId); DataTable OperationDoingdt = BOperationRecord.GetOperationDoingDataTableByPatientId(PatientId, RecoverId);

View File

@ -376,6 +376,12 @@ namespace DrawGraph
((TextBox)conl).Select(((TextBox)conl).Text.Length, 1); ((TextBox)conl).Select(((TextBox)conl).Text.Length, 1);
conl.Leave += new EventHandler(txt_Leave); conl.Leave += new EventHandler(txt_Leave);
break; break;
case "OperationRecord.Age": //体重
((TextBox)conl).BorderStyle = BorderStyle.Fixed3D;
((TextBox)conl).Focus();
((TextBox)conl).Select(((TextBox)conl).Text.Length, 1);
conl.Leave += new EventHandler(txt_Leave);
break;
//case "OperationRecord.AnaesthesiaMethodId": //case "OperationRecord.AnaesthesiaMethodId":
// Anaes_Click(aEdit1, e); // Anaes_Click(aEdit1, e);
// break; // break;

View File

@ -178,7 +178,7 @@ namespace DrawGraph
{ {
i += AddOperationPosition(_operationRecord, _operationRecord.OperationPositionId); i += AddOperationPosition(_operationRecord, _operationRecord.OperationPositionId);
} }
else if (items[1] == "Height" || items[1] == "Weight") else if (items[1] == "Height" || items[1] == "Weight" || items[1] == "Age")
{ {
i += UpdatePatient(items[1] + "='" + value + "' where Id= " + _operationRecord.PatientId); i += UpdatePatient(items[1] + "='" + value + "' where Id= " + _operationRecord.PatientId);
} }

View File

@ -259,7 +259,7 @@ namespace DrawGraph
{ {
foreach (FactDrug temp in myOpeRecord.FactDrugList) foreach (FactDrug temp in myOpeRecord.FactDrugList)
{ {
if (isSapDrugs(temp)) if (isSapDrugs(temp) && temp.ParentId == 0)
{ {
temp.clearAddObj(ZedControl); temp.clearAddObj(ZedControl);
} }

View File

@ -15,7 +15,7 @@ namespace DrawGraphManagement
Application.EnableVisualStyles(); Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false); Application.SetCompatibleTextRenderingDefault(false);
PreLoad(); PreLoad();
Application.Run(new MainUp()); Application.Run(new Main());
} }
static void PreLoad() static void PreLoad()
{ {