From ca639ee11759b5897d837fb758a44bcf8a7bfbef Mon Sep 17 00:00:00 2001 From: leomon Date: Wed, 17 May 2023 01:40:14 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A6=81=E9=A3=9F=E6=B0=B428=20=E8=90=A5?= =?UTF-8?q?=E5=85=BB=E4=B8=AD=E7=AD=89=20=E8=AF=84=E4=BC=B0=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E9=BB=98=E8=AE=A4=E5=85=A5=E5=AE=A4=E5=8A=A0=E4=B8=80?= =?UTF-8?q?=E5=B0=8F=E6=97=B6=20=E9=BA=BB=E9=86=89=E5=B7=B2=E8=BD=AC?= =?UTF-8?q?=E5=85=A5=E7=9A=84=E6=83=85=E5=86=B5=E4=B8=8B=20=E6=8A=A4?= =?UTF-8?q?=E5=A3=AB=E5=86=8D=E8=BD=AC=E5=85=A5=E5=88=A4=E6=96=AD=20?= =?UTF-8?q?=E9=97=A8=E8=AF=8A=E5=BA=8A=E5=8F=B7-=20=E9=87=91=E5=B7=9E?= =?UTF-8?q?=E7=99=BB=E8=AE=B0=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AIMS/AIMS.csproj | 26 +- AIMS/FormMainManage.cs | 2 + .../frmAanesthesiaPainlessRecord.cs | 8 +- .../OperationAanesthesia/frmRecoverPatient.cs | 13 +- .../frmSelectPatientGoodsBill.cs | 7 + .../frmSelectPatientGoodsBill2.cs | 8 + .../frmSelectPatientNew2.cs | 8 + .../frmSelectPatientNew3.cs | 8 + AIMS/OperationAfter/frmNotesRecordExport.cs | 243 ++++ .../frmNotesRecordExport.designer.cs | 1128 +++++++++++++++++ AIMS/OperationAfter/frmNotesRecordExport.resx | 198 +++ AIMS/Template/冰箱监测.xlt | Bin 0 -> 27136 bytes .../麻醉机及心电监护仪使用消毒记录.xlt | Bin 0 -> 27648 bytes AIMS/Template/麻醉贵重物品清点本.xlt | Bin 0 -> 28672 bytes AIMSEntity/AIMSEntity.csproj | 8 + AIMSEntity/BLL/AutoGenerate/BNotesRecord.cs | 160 +++ AIMSEntity/BLL/Extension/BNotesRecord.cs | 12 + .../BLL/Extension/BOperationTemplate.cs | 52 +- AIMSEntity/DAL/AutoGenerate/DNotesRecord.cs | 669 ++++++++++ AIMSEntity/DAL/Extension/DNotesRecord.cs | 13 + AIMSEntity/Extensions/BNotesRecords.cs | 23 + AIMSEntity/Extensions/BOperationRecord.cs | 4 +- AIMSEntity/Model/AutoGenerate/NotesRecord.cs | 158 +++ AIMSEntity/Model/Extension/NotesRecord.cs | 10 + AIMSEntity/ObjectQuery/NotesRecordMap.cs | 49 + DrawGraph/AreaManage/AnalgesiaDataManage.cs | 16 + DrawGraph/AreaManage/AreaManageBase.cs | 11 +- DrawGraph/AreaManage/OperationRecord.cs | 10 + 28 files changed, 2804 insertions(+), 40 deletions(-) create mode 100644 AIMS/OperationAfter/frmNotesRecordExport.cs create mode 100644 AIMS/OperationAfter/frmNotesRecordExport.designer.cs create mode 100644 AIMS/OperationAfter/frmNotesRecordExport.resx create mode 100644 AIMS/Template/冰箱监测.xlt create mode 100644 AIMS/Template/麻醉机及心电监护仪使用消毒记录.xlt create mode 100644 AIMS/Template/麻醉贵重物品清点本.xlt create mode 100644 AIMSEntity/BLL/AutoGenerate/BNotesRecord.cs create mode 100644 AIMSEntity/BLL/Extension/BNotesRecord.cs create mode 100644 AIMSEntity/DAL/AutoGenerate/DNotesRecord.cs create mode 100644 AIMSEntity/DAL/Extension/DNotesRecord.cs create mode 100644 AIMSEntity/Extensions/BNotesRecords.cs create mode 100644 AIMSEntity/Model/AutoGenerate/NotesRecord.cs create mode 100644 AIMSEntity/Model/Extension/NotesRecord.cs create mode 100644 AIMSEntity/ObjectQuery/NotesRecordMap.cs diff --git a/AIMS/AIMS.csproj b/AIMS/AIMS.csproj index d2fe09f..14e1e49 100644 --- a/AIMS/AIMS.csproj +++ b/AIMS/AIMS.csproj @@ -291,6 +291,12 @@ frmOperationCharg2.cs + + Form + + + frmNotesRecordExport.cs + Form @@ -966,6 +972,9 @@ frmOperationCharg2.cs + + frmNotesRecordExport.cs + frmReportExport.cs @@ -1261,19 +1270,18 @@ Settings.settings True - + PreserveNewest - + + + + + + PreserveNewest - - PreserveNewest - - - PreserveNewest - - + PreserveNewest diff --git a/AIMS/FormMainManage.cs b/AIMS/FormMainManage.cs index 2ab0e5e..4f55125 100644 --- a/AIMS/FormMainManage.cs +++ b/AIMS/FormMainManage.cs @@ -166,6 +166,8 @@ namespace AIMS sideNavItem.Symbol = "\uf044"; if (menuSec.Name == "ھ") sideNavItem.Symbol = "\uf044"; + if (menuSec.Name == "ҵǼ") + sideNavItem.Symbol = "\uf044"; if (menuSec.Name == "ռ¼") sideNavItem.Symbol = "\uf15c"; if (menuSec.Name == "ѯ") diff --git a/AIMS/OperationAanesthesia/frmAanesthesiaPainlessRecord.cs b/AIMS/OperationAanesthesia/frmAanesthesiaPainlessRecord.cs index 8cc9f68..c1323ac 100644 --- a/AIMS/OperationAanesthesia/frmAanesthesiaPainlessRecord.cs +++ b/AIMS/OperationAanesthesia/frmAanesthesiaPainlessRecord.cs @@ -2259,8 +2259,8 @@ namespace AIMS.OperationAanesthesia { if (_record.AnalgesiaRecord != null) { - _record.AnalgesiaRecord.ProhibitedDrinkingTime = "4"; - _record.AnalgesiaRecord.ProhibitedEatingTime = "14"; + _record.AnalgesiaRecord.ProhibitedDrinkingTime = "2"; + _record.AnalgesiaRecord.ProhibitedEatingTime = "8"; _record.AnalgesiaRecord.MouthOpeningDegree = "Ⅲ指"; _record.AnalgesiaRecord.AirwayAssessment = "Ⅰ级"; _record.AnalgesiaRecord.ASAClassification = "Ⅰ级"; @@ -2268,7 +2268,7 @@ namespace AIMS.OperationAanesthesia _record.AnalgesiaRecord.HeartFunction = "Ⅰ级"; _record.AnalgesiaRecord.Consciousness = "清醒"; - _record.AnalgesiaRecord.NutritionalDevelopment = "良"; + _record.AnalgesiaRecord.NutritionalDevelopment = "中"; _record.AnalgesiaRecord.Pregnancy = "无"; _record.AnalgesiaRecord.LooseDenture = "无"; _record.AnalgesiaRecord.DifficultyOpeningMouth = "无"; @@ -2286,7 +2286,7 @@ namespace AIMS.OperationAanesthesia string Doctor = DBManage.GetDictionaryValuesById(_record.AnesthesiaDoctor, "人员"); _record.AnalgesiaRecord.PostoperativeMonitoringDoctor = Doctor ;//评估者麻醉师 _record.AnalgesiaRecord.Evaluator = Doctor ;//评估者麻醉师 - _record.AnalgesiaRecord.AssessmentTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm"); + _record.AnalgesiaRecord.AssessmentTime = DateTime.Now.AddHours(1).ToString("yyyy-MM-dd HH:mm"); BOperationRecordAnalgesia.Update(_record.AnalgesiaRecord); ReviewEvent(); } diff --git a/AIMS/OperationAanesthesia/frmRecoverPatient.cs b/AIMS/OperationAanesthesia/frmRecoverPatient.cs index d8d6137..9c6c66e 100644 --- a/AIMS/OperationAanesthesia/frmRecoverPatient.cs +++ b/AIMS/OperationAanesthesia/frmRecoverPatient.cs @@ -10,6 +10,7 @@ using System.Text; using System.Windows.Forms; using AIMSBLL; using AIMSModel; +using static System.Windows.Forms.VisualStyles.VisualStyleElement.TaskbarClock; namespace AIMS.OperationAanesthesia { @@ -59,7 +60,7 @@ namespace AIMS.OperationAanesthesia } private void FillDgv() - { + { if (supTabPatient.SelectedTab.Name == "待复苏") { DateTime dateTime = DateTime.Parse(dtpSelectPatientTime.Value.ToString("yyyy-MM-dd").ToString()); @@ -112,7 +113,7 @@ namespace AIMS.OperationAanesthesia { dgv2.Rows.Clear(); DataTable dtt = SelectPatient.GetRecoverPatientOutDataTable - (DateTime.Parse(dtpBeginTime.Value.ToString("yyyy-MM-dd 00:00:00").ToString()),DateTime.Parse(dtpEndTime.Value.ToString("yyyy-MM-dd 23:59:59").ToString())); + (DateTime.Parse(dtpBeginTime.Value.ToString("yyyy-MM-dd 00:00:00").ToString()), DateTime.Parse(dtpEndTime.Value.ToString("yyyy-MM-dd 23:59:59").ToString())); foreach (DataRow dr in dtt.Rows) { dgv2.Rows.Add(dr["Id"].ToString(), @@ -162,10 +163,16 @@ namespace AIMS.OperationAanesthesia Events EventsObj = BEvents.GetModelByName("入室"); if (EventsObj.Name != null) { + OperationRecord _record = null; + DateTime Time = DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd HH:mm:00")); + BOperationRecord.SelectSingle(frmAnasRecord.PatientId , 1, ref _record); + if (_record != null && _record.OutRoomTime != null) + Time = DateTime.Parse(_record.OutRoomTime.Value.AddMinutes(1).ToString("yyyy-MM-dd HH:mm:00")); + FactEvents FactEventsObj = new FactEvents(); FactEventsObj.EventId = EventsObj.Id; FactEventsObj.EventTypeId = 2; - FactEventsObj.EventBeginTime = DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd HH:mm:00")); + FactEventsObj.EventBeginTime = Time; FactEventsObj.EventEndTime = FactEventsObj.EventBeginTime; FactEventsObj.IsContinue = 0; FactEventsObj.PatientId = frmAnasRecord.PatientId; diff --git a/AIMS/OperationAanesthesia/frmSelectPatientGoodsBill.cs b/AIMS/OperationAanesthesia/frmSelectPatientGoodsBill.cs index 2e63425..b54bd61 100644 --- a/AIMS/OperationAanesthesia/frmSelectPatientGoodsBill.cs +++ b/AIMS/OperationAanesthesia/frmSelectPatientGoodsBill.cs @@ -274,6 +274,13 @@ namespace AIMS.OperationAanesthesia MessageBox.Show("当前手术已停止 ,请确认后重新选择!", "系统提示"); return; } + if (operA.State == 5 || operA.State == 6) + { + MessageBox.Show("当前手术已开始 ,请确认后重新选择!", "系统提示"); + FillDgv(); + return; + } + if (uc.lblAnesDoctors.Text != "麻醉医生:" && uc.lblAnesDoctors.Text.Trim() != "麻醉医生") { diff --git a/AIMS/OperationAanesthesia/frmSelectPatientGoodsBill2.cs b/AIMS/OperationAanesthesia/frmSelectPatientGoodsBill2.cs index 48d80ca..5fa1d4d 100644 --- a/AIMS/OperationAanesthesia/frmSelectPatientGoodsBill2.cs +++ b/AIMS/OperationAanesthesia/frmSelectPatientGoodsBill2.cs @@ -284,12 +284,20 @@ namespace AIMS.OperationAanesthesia return; } + if (operA.State == 5 || operA.State == 6) + { + MessageBox.Show("当前手术已开始 ,请确认后重新选择!", "系统提示"); + FillDgv(); + return; + } + if (uc.lblAnesDoctors.Text != "麻醉医生:" && uc.lblAnesDoctors.Text.Trim() != "麻醉医生") { MessageBox.Show("当前手术已安排麻醉师,请于麻醉师转入后操作", "系统提示"); return; } + //DataTable dtOperationRecord = SelectPatient.GetTodayDoOpePatientDataTable(DateTime.Parse(dtpSelectPatientTime.Value.ToString("yyyy-MM-dd").ToString())); //foreach (DataRow row in dtOperationRecord.Rows) //{ diff --git a/AIMS/OperationAanesthesia/frmSelectPatientNew2.cs b/AIMS/OperationAanesthesia/frmSelectPatientNew2.cs index 8d4c525..764dde9 100644 --- a/AIMS/OperationAanesthesia/frmSelectPatientNew2.cs +++ b/AIMS/OperationAanesthesia/frmSelectPatientNew2.cs @@ -255,8 +255,16 @@ namespace AIMS.OperationAanesthesia if (operA.State == 11) { MessageBox.Show("当前手术已停止 ,请确认后重新选择!", "系统提示"); + FillDgv(); return; } + if (operA.State == 5 || operA.State == 6) + { + MessageBox.Show("当前手术已开始 ,请确认后重新选择!", "系统提示"); + FillDgv(); + return; + } + if (operA.OrderOperationTime.Value.Date != DateTime.Now.Date)// && operA.OrderOperationTime.Value.Hour < 20) { MessageBox.Show("该手术预约时间不是当前日期 ,请确认后重新选择!", "系统提示"); diff --git a/AIMS/OperationAanesthesia/frmSelectPatientNew3.cs b/AIMS/OperationAanesthesia/frmSelectPatientNew3.cs index 0a93ea4..dbf71e4 100644 --- a/AIMS/OperationAanesthesia/frmSelectPatientNew3.cs +++ b/AIMS/OperationAanesthesia/frmSelectPatientNew3.cs @@ -263,6 +263,14 @@ namespace AIMS.OperationAanesthesia if (operA.State == 11) { MessageBox.Show("当前手术已停止 ,请确认后重新选择!", "系统提示"); + FillDgv(); + return; + } + + if (operA.State == 5 || operA.State == 6) + { + MessageBox.Show("当前手术已开始 ,请确认后重新选择!", "系统提示"); + FillDgv(); return; } diff --git a/AIMS/OperationAfter/frmNotesRecordExport.cs b/AIMS/OperationAfter/frmNotesRecordExport.cs new file mode 100644 index 0000000..5fecc6f --- /dev/null +++ b/AIMS/OperationAfter/frmNotesRecordExport.cs @@ -0,0 +1,243 @@ +using AIMS.OperationAanesthesia; +using AIMS.OperationAfter.UI; +using AIMSBLL; +using AIMSExtension; +using AIMSModel; +using DocumentManagement; +using DrawGraph; +using Microsoft.Office.Interop.Excel; +using Newtonsoft.Json; +using System; +using System.Collections.Generic; +using System.Data; +using System.Diagnostics; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Windows.Forms; + +namespace AIMS +{ + public partial class frmNotesRecordExport : Form + { + public SysConfig exportConfig; + public string DataGridViewPath = ""; + public DataGridView selectdgv; + public frmNotesRecordExport() + { + InitializeComponent(); + dgvtReport.AutoGenerateColumns = false; + dgvtReport2.AutoGenerateColumns = false; + dgvtReport3.AutoGenerateColumns = false; + } + + private void frmOperationDruggCheck_Load(object sender, EventArgs e) + { + try + { + dtpOpeTime.Value = DateTime.Now; + dtpEnd.Value = dtpOpeTime.Value; + + dtpOpeTime2.Value = DateTime.Now; + dtpEnd2.Value = dtpOpeTime.Value; + + dtpOpeTime3.Value = DateTime.Now; + dtpEnd3.Value = dtpOpeTime.Value; + } + catch (Exception exp) + { + PublicMethod.WriteLog(exp); + } + } + + private void toolStripButton1_Click(object sender, EventArgs e) + { + string fileName = superTabControl1.SelectedTab.Text; + GoldPrinter.ExcelAccess excel = new GoldPrinter.ExcelAccess(); + string strFileName = fileName + ".xlt"; //模板文件名 + string strExcelTemplateFile = System.Windows.Forms.Application.StartupPath; + strExcelTemplateFile += @"\Template\" + strFileName; + excel.Open(strExcelTemplateFile); //用模板文件 + + int rowNum = 6; + if (selectdgv.Columns.Count == 8) + { + for (int i = 0; i < selectdgv.Rows.Count; i++) + { + DataGridViewRow dr = selectdgv.Rows[i]; + excel.GetRange(rowNum, "A", rowNum, "G").Value = new string[]{ + ( dr.Cells[1].EditedFormattedValue.ToString()), + ( dr.Cells[2].EditedFormattedValue.ToString()), + dr.Cells[3].EditedFormattedValue.ToString(), + ( dr.Cells[4].EditedFormattedValue.ToString() ) , + (dr.Cells[5].EditedFormattedValue.ToString() ), + (dr.Cells[6].EditedFormattedValue.ToString() ), + (dr.Cells[7].EditedFormattedValue.ToString() ) }; + rowNum++; + } + } + else + { + rowNum = 7; + for (int i = 0; i < selectdgv.Rows.Count; i++) + { + DataGridViewRow dr = selectdgv.Rows[i]; + excel.GetRange(rowNum, "A", rowNum, "H").Value = new string[]{ + ( dr.Cells[1].EditedFormattedValue.ToString()), + ( dr.Cells[2].EditedFormattedValue.ToString()), + dr.Cells[3].EditedFormattedValue.ToString(), + ( dr.Cells[4].EditedFormattedValue.ToString() ) , + (dr.Cells[5].EditedFormattedValue.ToString() ), + (dr.Cells[6].EditedFormattedValue.ToString() ), + (dr.Cells[7].EditedFormattedValue.ToString() ) , + (dr.Cells[8].EditedFormattedValue.ToString() ) }; + rowNum++; + } + + } + excel.PrintPreview(); + excel.Close(); + this.Focus(); + } + + private void LoadNoteData(string beginTime, string endTime, string notename) + { + System.Data.DataTable dataResult = BNotesRecords.GetMonthDayTable(beginTime, endTime); + List nrecords = BNotesRecord.Select(" NoteName = '" + notename + "' and RecordTime>='" + beginTime + "' and RecordTime<'" + endTime + "' ", null); + List records = new List(); + for (int i = 0; i < dataResult.Rows.Count; i++) + { + DateTime RecordTime = Convert.ToDateTime(dataResult.Rows[i][0]); + NotesRecord record = new NotesRecord(); + record.RecordTime = RecordTime; + foreach (var item in nrecords) + { + if (item.RecordTime == RecordTime) + { + record = item; + continue; + } + } + records.Add(record); + } + selectdgv.DataSource = records; + } + + private void NewMethod(string notename) + { + for (int i = 0; i < selectdgv.Rows.Count; i++) + { + DataGridViewRow dr = selectdgv.Rows[i]; + NotesRecord record = new NotesRecord(); + record.NoteName = notename; + record.RecordTime = Convert.ToDateTime(dr.Cells[1].EditedFormattedValue.ToString()); + record.Content1 = dr.Cells[2].EditedFormattedValue.ToString(); + record.Content2 = dr.Cells[3].EditedFormattedValue.ToString(); + record.Content3 = dr.Cells[4].EditedFormattedValue.ToString(); + record.Content4 = dr.Cells[5].EditedFormattedValue.ToString(); + record.Content5 = dr.Cells[6].EditedFormattedValue.ToString(); + record.ExecWork = dr.Cells[7].EditedFormattedValue.ToString(); + record.OperatorId = PublicMethod.OperatorId; + record.OperatorTime = DateTime.Now; + record.Remark = ""; + BNotesRecord.Delete(" NoteName = '" + notename + "' and RecordTime='" + record.RecordTime + "'", null); + BNotesRecord.Insert(record); + } + MessageBox.Show("保存成功!"); + } + private void btn冰箱监测_Click(object sender, EventArgs e) + { + selectdgv = dgvtReport2; + string beginTime = Convert.ToDateTime(dtpOpeTime2.Value).ToString("yyyy-MM-dd 00:00:00"); + string endTime = Convert.ToDateTime(dtpEnd2.Value).AddDays(1).ToString("yyyy-MM-dd 00:00:00"); + + LoadNoteData(beginTime, endTime, "冰箱监测"); + } + private void btn冰箱监测Save_Click(object sender, EventArgs e) + { + NewMethod("冰箱监测"); + } + private void dgvtReport2_CellDoubleClick(object sender, DataGridViewCellEventArgs e) + { + DialogResult dialog = MessageBox.Show("是否批量填写数据?", "系统提示", MessageBoxButtons.YesNo); + if (dialog == DialogResult.Yes) + { + string batchNo = dgvtReport2.Rows[e.RowIndex].Cells[e.ColumnIndex].EditedFormattedValue.ToString(); + for (int i = 0; i < dgvtReport2.Rows.Count; i++) + { + dgvtReport2.Rows[i].Cells[e.ColumnIndex].Value = batchNo; + } + } + } + private void dgvtReport2_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e) + { + //隔行换色 + this.dgvtReport2.RowsDefaultCellStyle.BackColor = System.Drawing.Color.White;//设置背景为白色 + this.dgvtReport2.AlternatingRowsDefaultCellStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(242)))), (((int)(((byte)242)))));//青色 + } + + private void btn麻醉贵重物品清点本_Click(object sender, EventArgs e) + { + selectdgv = dgvtReport3; + string beginTime = Convert.ToDateTime(dtpOpeTime3.Value).ToString("yyyy-MM-dd 00:00:00"); + string endTime = Convert.ToDateTime(dtpEnd3.Value).AddDays(1).ToString("yyyy-MM-dd 00:00:00"); + + LoadNoteData(beginTime, endTime, "麻醉贵重物品清点本"); + } + + private void btn麻醉贵重物品清点本Save_Click(object sender, EventArgs e) + { + NewMethod("麻醉贵重物品清点本"); + } + private void dgvtReport3_CellDoubleClick(object sender, DataGridViewCellEventArgs e) + { + DialogResult dialog = MessageBox.Show("是否批量填写数据?", "系统提示", MessageBoxButtons.YesNo); + if (dialog == DialogResult.Yes) + { + string batchNo = dgvtReport3.Rows[e.RowIndex].Cells[e.ColumnIndex].EditedFormattedValue.ToString(); + for (int i = 0; i < dgvtReport3.Rows.Count; i++) + { + dgvtReport3.Rows[i].Cells[e.ColumnIndex].Value = batchNo; + } + } + } + private void dgvtReport3_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e) + { + //隔行换色 + this.dgvtReport3.RowsDefaultCellStyle.BackColor = System.Drawing.Color.White;//设置背景为白色 + this.dgvtReport3.AlternatingRowsDefaultCellStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(242)))), (((int)(((byte)242)))));//青色 + } + + private void btn手术例数按月统计_Click(object sender, EventArgs e) + { + selectdgv = dgvtReport; + string beginTime = Convert.ToDateTime(dtpOpeTime.Value).ToString("yyyy-MM-dd 00:00:00"); + string endTime = Convert.ToDateTime(dtpEnd.Value).AddDays(1).ToString("yyyy-MM-dd 00:00:00"); + + LoadNoteData(beginTime, endTime, "麻醉机及心电监护仪使用消毒记录"); + } + + private void buttonX1_Click(object sender, EventArgs e) + { + NewMethod("麻醉机及心电监护仪使用消毒记录"); + } + private void dgvtReport_CellDoubleClick(object sender, DataGridViewCellEventArgs e) + { + DialogResult dialog = MessageBox.Show("是否批量填写数据?", "系统提示", MessageBoxButtons.YesNo); + if (dialog == DialogResult.Yes) + { + string batchNo = dgvtReport.Rows[e.RowIndex].Cells[e.ColumnIndex].EditedFormattedValue.ToString(); + for (int i = 0; i < dgvtReport.Rows.Count; i++) + { + dgvtReport.Rows[i].Cells[e.ColumnIndex].Value = batchNo; + } + } + } + private void dgvtReport_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e) + { + //隔行换色 + this.dgvtReport.RowsDefaultCellStyle.BackColor = System.Drawing.Color.White;//设置背景为白色 + this.dgvtReport.AlternatingRowsDefaultCellStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(242)))), (((int)(((byte)242)))));//青色 + } + } +} diff --git a/AIMS/OperationAfter/frmNotesRecordExport.designer.cs b/AIMS/OperationAfter/frmNotesRecordExport.designer.cs new file mode 100644 index 0000000..5ec3e80 --- /dev/null +++ b/AIMS/OperationAfter/frmNotesRecordExport.designer.cs @@ -0,0 +1,1128 @@ +namespace AIMS +{ + partial class frmNotesRecordExport + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); + this.toolStrip1 = new System.Windows.Forms.ToolStrip(); + this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); + this.superTabControl1 = new DevComponents.DotNetBar.SuperTabControl(); + this.superTabControlPanel1 = new DevComponents.DotNetBar.SuperTabControlPanel(); + this.dgvtReport = new System.Windows.Forms.DataGridView(); + this.panel2 = new System.Windows.Forms.Panel(); + this.dtpEnd = new DevComponents.Editors.DateTimeAdv.DateTimeInput(); + this.dtpOpeTime = new DevComponents.Editors.DateTimeAdv.DateTimeInput(); + this.label24 = new System.Windows.Forms.Label(); + this.buttonX2 = new DevComponents.DotNetBar.ButtonX(); + this.buttonX1 = new DevComponents.DotNetBar.ButtonX(); + this.btn手术例数按月统计 = new DevComponents.DotNetBar.ButtonX(); + this.labDate = new System.Windows.Forms.Label(); + this.R1 = new DevComponents.DotNetBar.SuperTabItem(); + this.superTabControlPanel3 = new DevComponents.DotNetBar.SuperTabControlPanel(); + this.dgvtReport3 = new System.Windows.Forms.DataGridView(); + this.panel3 = new System.Windows.Forms.Panel(); + this.btn麻醉贵重物品清点本Save = new DevComponents.DotNetBar.ButtonX(); + this.dtpEnd3 = new DevComponents.Editors.DateTimeAdv.DateTimeInput(); + this.dtpOpeTime3 = new DevComponents.Editors.DateTimeAdv.DateTimeInput(); + this.label3 = new System.Windows.Forms.Label(); + this.btn麻醉贵重物品清点本 = new DevComponents.DotNetBar.ButtonX(); + this.label4 = new System.Windows.Forms.Label(); + this.R3 = new DevComponents.DotNetBar.SuperTabItem(); + this.superTabControlPanel2 = new DevComponents.DotNetBar.SuperTabControlPanel(); + this.dgvtReport2 = new System.Windows.Forms.DataGridView(); + this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.RecordTime = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Content1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Content2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Content3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Content4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Content5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.ExecWork = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.panel1 = new System.Windows.Forms.Panel(); + this.btn冰箱监测Save = new DevComponents.DotNetBar.ButtonX(); + this.dtpEnd2 = new DevComponents.Editors.DateTimeAdv.DateTimeInput(); + this.dtpOpeTime2 = new DevComponents.Editors.DateTimeAdv.DateTimeInput(); + this.label1 = new System.Windows.Forms.Label(); + this.btn冰箱监测 = new DevComponents.DotNetBar.ButtonX(); + this.label2 = new System.Windows.Forms.Label(); + this.R2 = new DevComponents.DotNetBar.SuperTabItem(); + this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Content6 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn17 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn18 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn19 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn20 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn21 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn22 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn23 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn24 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.toolStrip1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.superTabControl1)).BeginInit(); + this.superTabControl1.SuspendLayout(); + this.superTabControlPanel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dgvtReport)).BeginInit(); + this.panel2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dtpEnd)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dtpOpeTime)).BeginInit(); + this.superTabControlPanel3.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dgvtReport3)).BeginInit(); + this.panel3.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dtpEnd3)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dtpOpeTime3)).BeginInit(); + this.superTabControlPanel2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dgvtReport2)).BeginInit(); + this.panel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dtpEnd2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dtpOpeTime2)).BeginInit(); + this.SuspendLayout(); + // + // toolStrip1 + // + this.toolStrip1.BackColor = System.Drawing.Color.AliceBlue; + this.toolStrip1.Font = new System.Drawing.Font("微软雅黑", 10.5F); + this.toolStrip1.ImageScalingSize = new System.Drawing.Size(25, 25); + this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.toolStripButton1}); + this.toolStrip1.Location = new System.Drawing.Point(0, 0); + this.toolStrip1.Name = "toolStrip1"; + this.toolStrip1.Size = new System.Drawing.Size(1350, 49); + this.toolStrip1.TabIndex = 37; + this.toolStrip1.Text = "toolStrip1"; + // + // toolStripButton1 + // + this.toolStripButton1.Font = new System.Drawing.Font("微软雅黑", 9F); + this.toolStripButton1.Image = global::AIMS.Properties.Resources.图标_手术排程; + this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButton1.Name = "toolStripButton1"; + this.toolStripButton1.Size = new System.Drawing.Size(72, 46); + this.toolStripButton1.Text = "打印登记本"; + this.toolStripButton1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.toolStripButton1.ToolTipText = "打印登记本"; + this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click); + // + // superTabControl1 + // + this.superTabControl1.BackColor = System.Drawing.Color.White; + // + // + // + // + // + // + this.superTabControl1.ControlBox.CloseBox.Name = ""; + // + // + // + this.superTabControl1.ControlBox.MenuBox.Name = ""; + this.superTabControl1.ControlBox.Name = ""; + this.superTabControl1.ControlBox.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { + this.superTabControl1.ControlBox.MenuBox, + this.superTabControl1.ControlBox.CloseBox}); + this.superTabControl1.Controls.Add(this.superTabControlPanel1); + this.superTabControl1.Controls.Add(this.superTabControlPanel3); + this.superTabControl1.Controls.Add(this.superTabControlPanel2); + this.superTabControl1.Dock = System.Windows.Forms.DockStyle.Fill; + this.superTabControl1.ForeColor = System.Drawing.Color.Black; + this.superTabControl1.Location = new System.Drawing.Point(0, 49); + this.superTabControl1.Name = "superTabControl1"; + this.superTabControl1.ReorderTabsEnabled = true; + this.superTabControl1.SelectedTabFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold); + this.superTabControl1.SelectedTabIndex = 0; + this.superTabControl1.Size = new System.Drawing.Size(1350, 492); + this.superTabControl1.TabFont = new System.Drawing.Font("微软雅黑", 10F); + this.superTabControl1.TabIndex = 38; + this.superTabControl1.Tabs.AddRange(new DevComponents.DotNetBar.BaseItem[] { + this.R1, + this.R3, + this.R2}); + this.superTabControl1.Text = "superTabControl1"; + // + // superTabControlPanel1 + // + this.superTabControlPanel1.Controls.Add(this.dgvtReport); + this.superTabControlPanel1.Controls.Add(this.panel2); + this.superTabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.superTabControlPanel1.Location = new System.Drawing.Point(0, 32); + this.superTabControlPanel1.Name = "superTabControlPanel1"; + this.superTabControlPanel1.Size = new System.Drawing.Size(1350, 460); + this.superTabControlPanel1.TabIndex = 1; + this.superTabControlPanel1.TabItem = this.R1; + // + // dgvtReport + // + this.dgvtReport.AllowUserToAddRows = false; + this.dgvtReport.AllowUserToResizeColumns = false; + this.dgvtReport.AllowUserToResizeRows = false; + this.dgvtReport.BackgroundColor = System.Drawing.Color.White; + this.dgvtReport.BorderStyle = System.Windows.Forms.BorderStyle.None; + dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + this.dgvtReport.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; + this.dgvtReport.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dgvtReport.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.dataGridViewTextBoxColumn17, + this.dataGridViewTextBoxColumn18, + this.dataGridViewTextBoxColumn19, + this.dataGridViewTextBoxColumn20, + this.dataGridViewTextBoxColumn21, + this.dataGridViewTextBoxColumn22, + this.dataGridViewTextBoxColumn23, + this.dataGridViewTextBoxColumn24}); + dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F); + dataGridViewCellStyle2.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgvtReport.DefaultCellStyle = dataGridViewCellStyle2; + this.dgvtReport.Dock = System.Windows.Forms.DockStyle.Fill; + this.dgvtReport.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter; + this.dgvtReport.GridColor = System.Drawing.Color.Black; + this.dgvtReport.Location = new System.Drawing.Point(0, 45); + this.dgvtReport.MultiSelect = false; + this.dgvtReport.Name = "dgvtReport"; + dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvtReport.RowHeadersDefaultCellStyle = dataGridViewCellStyle3; + this.dgvtReport.RowHeadersVisible = false; + this.dgvtReport.RowTemplate.Height = 23; + this.dgvtReport.ShowCellErrors = false; + this.dgvtReport.ShowCellToolTips = false; + this.dgvtReport.Size = new System.Drawing.Size(1350, 415); + this.dgvtReport.TabIndex = 396; + this.dgvtReport.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvtReport_CellDoubleClick); + this.dgvtReport.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dgvtReport_RowPostPaint); + // + // panel2 + // + this.panel2.BackColor = System.Drawing.Color.WhiteSmoke; + this.panel2.Controls.Add(this.dtpEnd); + this.panel2.Controls.Add(this.dtpOpeTime); + this.panel2.Controls.Add(this.label24); + this.panel2.Controls.Add(this.buttonX2); + this.panel2.Controls.Add(this.buttonX1); + this.panel2.Controls.Add(this.btn手术例数按月统计); + this.panel2.Controls.Add(this.labDate); + this.panel2.Dock = System.Windows.Forms.DockStyle.Top; + this.panel2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.panel2.Location = new System.Drawing.Point(0, 0); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(1350, 45); + this.panel2.TabIndex = 390; + // + // dtpEnd + // + // + // + // + this.dtpEnd.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dtpEnd.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown; + this.dtpEnd.ButtonDropDown.Visible = true; + this.dtpEnd.CustomFormat = "yyyy-MM-dd"; + this.dtpEnd.FocusHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(186)))), ((int)(((byte)(179))))); + this.dtpEnd.Font = new System.Drawing.Font("微软雅黑", 9F); + this.dtpEnd.Format = DevComponents.Editors.eDateTimePickerFormat.Custom; + this.dtpEnd.IsPopupCalendarOpen = false; + this.dtpEnd.Location = new System.Drawing.Point(224, 9); + // + // + // + // + // + // + this.dtpEnd.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // + // + this.dtpEnd.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dtpEnd.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0); + // + // + // + this.dtpEnd.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dtpEnd.Name = "dtpEnd"; + this.dtpEnd.Size = new System.Drawing.Size(114, 23); + this.dtpEnd.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.dtpEnd.TabIndex = 472; + // + // dtpOpeTime + // + // + // + // + this.dtpOpeTime.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dtpOpeTime.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown; + this.dtpOpeTime.ButtonDropDown.Visible = true; + this.dtpOpeTime.CustomFormat = "yyyy-MM-dd"; + this.dtpOpeTime.FocusHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(186)))), ((int)(((byte)(179))))); + this.dtpOpeTime.Font = new System.Drawing.Font("微软雅黑", 9F); + this.dtpOpeTime.Format = DevComponents.Editors.eDateTimePickerFormat.Custom; + this.dtpOpeTime.IsPopupCalendarOpen = false; + this.dtpOpeTime.Location = new System.Drawing.Point(91, 9); + // + // + // + // + // + // + this.dtpOpeTime.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // + // + this.dtpOpeTime.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dtpOpeTime.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0); + // + // + // + this.dtpOpeTime.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dtpOpeTime.Name = "dtpOpeTime"; + this.dtpOpeTime.Size = new System.Drawing.Size(114, 23); + this.dtpOpeTime.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.dtpOpeTime.TabIndex = 471; + // + // label24 + // + this.label24.AutoSize = true; + this.label24.Location = new System.Drawing.Point(208, 11); + this.label24.Name = "label24"; + this.label24.Size = new System.Drawing.Size(15, 20); + this.label24.TabIndex = 470; + this.label24.Text = "-"; + // + // buttonX2 + // + this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; + this.buttonX2.Font = new System.Drawing.Font("微软雅黑", 11.5F); + this.buttonX2.Location = new System.Drawing.Point(548, 7); + this.buttonX2.Name = "buttonX2"; + this.buttonX2.Size = new System.Drawing.Size(90, 29); + this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.buttonX2.TabIndex = 467; + this.buttonX2.Text = "导入"; + // + // buttonX1 + // + this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; + this.buttonX1.Font = new System.Drawing.Font("微软雅黑", 11.5F); + this.buttonX1.Location = new System.Drawing.Point(452, 7); + this.buttonX1.Name = "buttonX1"; + this.buttonX1.Size = new System.Drawing.Size(90, 29); + this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.buttonX1.TabIndex = 467; + this.buttonX1.Text = "保存"; + this.buttonX1.Click += new System.EventHandler(this.buttonX1_Click); + // + // btn手术例数按月统计 + // + this.btn手术例数按月统计.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.btn手术例数按月统计.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; + this.btn手术例数按月统计.Font = new System.Drawing.Font("微软雅黑", 11.5F); + this.btn手术例数按月统计.Location = new System.Drawing.Point(356, 7); + this.btn手术例数按月统计.Name = "btn手术例数按月统计"; + this.btn手术例数按月统计.Size = new System.Drawing.Size(90, 29); + this.btn手术例数按月统计.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btn手术例数按月统计.TabIndex = 467; + this.btn手术例数按月统计.Text = "查询"; + this.btn手术例数按月统计.Click += new System.EventHandler(this.btn手术例数按月统计_Click); + // + // labDate + // + this.labDate.AutoSize = true; + this.labDate.Location = new System.Drawing.Point(17, 9); + this.labDate.Name = "labDate"; + this.labDate.Size = new System.Drawing.Size(68, 20); + this.labDate.TabIndex = 421; + this.labDate.Text = "查询时间:"; + // + // R1 + // + this.R1.AttachedControl = this.superTabControlPanel1; + this.R1.GlobalItem = false; + this.R1.Name = "R1"; + this.R1.Text = "麻醉机及心电监护仪使用消毒记录"; + // + // superTabControlPanel3 + // + this.superTabControlPanel3.Controls.Add(this.dgvtReport3); + this.superTabControlPanel3.Controls.Add(this.panel3); + this.superTabControlPanel3.Dock = System.Windows.Forms.DockStyle.Fill; + this.superTabControlPanel3.Location = new System.Drawing.Point(0, 32); + this.superTabControlPanel3.Name = "superTabControlPanel3"; + this.superTabControlPanel3.Size = new System.Drawing.Size(1350, 460); + this.superTabControlPanel3.TabIndex = 0; + this.superTabControlPanel3.TabItem = this.R3; + // + // dgvtReport3 + // + this.dgvtReport3.AllowUserToAddRows = false; + this.dgvtReport3.AllowUserToResizeColumns = false; + this.dgvtReport3.AllowUserToResizeRows = false; + this.dgvtReport3.BackgroundColor = System.Drawing.Color.White; + this.dgvtReport3.BorderStyle = System.Windows.Forms.BorderStyle.None; + dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + this.dgvtReport3.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4; + this.dgvtReport3.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dgvtReport3.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.dataGridViewTextBoxColumn9, + this.dataGridViewTextBoxColumn10, + this.dataGridViewTextBoxColumn11, + this.dataGridViewTextBoxColumn12, + this.dataGridViewTextBoxColumn13, + this.dataGridViewTextBoxColumn14, + this.dataGridViewTextBoxColumn15, + this.Content6, + this.dataGridViewTextBoxColumn16}); + dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle5.Font = new System.Drawing.Font("微软雅黑", 9F); + dataGridViewCellStyle5.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgvtReport3.DefaultCellStyle = dataGridViewCellStyle5; + this.dgvtReport3.Dock = System.Windows.Forms.DockStyle.Fill; + this.dgvtReport3.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter; + this.dgvtReport3.GridColor = System.Drawing.Color.Black; + this.dgvtReport3.Location = new System.Drawing.Point(0, 45); + this.dgvtReport3.MultiSelect = false; + this.dgvtReport3.Name = "dgvtReport3"; + dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle6.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvtReport3.RowHeadersDefaultCellStyle = dataGridViewCellStyle6; + this.dgvtReport3.RowHeadersVisible = false; + this.dgvtReport3.RowTemplate.Height = 23; + this.dgvtReport3.ShowCellErrors = false; + this.dgvtReport3.ShowCellToolTips = false; + this.dgvtReport3.Size = new System.Drawing.Size(1350, 415); + this.dgvtReport3.TabIndex = 395; + this.dgvtReport3.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvtReport3_CellDoubleClick); + this.dgvtReport3.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dgvtReport3_RowPostPaint); + // + // panel3 + // + this.panel3.BackColor = System.Drawing.Color.WhiteSmoke; + this.panel3.Controls.Add(this.btn麻醉贵重物品清点本Save); + this.panel3.Controls.Add(this.dtpEnd3); + this.panel3.Controls.Add(this.dtpOpeTime3); + this.panel3.Controls.Add(this.label3); + this.panel3.Controls.Add(this.btn麻醉贵重物品清点本); + this.panel3.Controls.Add(this.label4); + this.panel3.Dock = System.Windows.Forms.DockStyle.Top; + this.panel3.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.panel3.Location = new System.Drawing.Point(0, 0); + this.panel3.Name = "panel3"; + this.panel3.Size = new System.Drawing.Size(1350, 45); + this.panel3.TabIndex = 394; + // + // btn麻醉贵重物品清点本Save + // + this.btn麻醉贵重物品清点本Save.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.btn麻醉贵重物品清点本Save.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; + this.btn麻醉贵重物品清点本Save.Font = new System.Drawing.Font("微软雅黑", 11.5F); + this.btn麻醉贵重物品清点本Save.Location = new System.Drawing.Point(452, 7); + this.btn麻醉贵重物品清点本Save.Name = "btn麻醉贵重物品清点本Save"; + this.btn麻醉贵重物品清点本Save.Size = new System.Drawing.Size(90, 29); + this.btn麻醉贵重物品清点本Save.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btn麻醉贵重物品清点本Save.TabIndex = 474; + this.btn麻醉贵重物品清点本Save.Text = "保存"; + this.btn麻醉贵重物品清点本Save.Click += new System.EventHandler(this.btn麻醉贵重物品清点本Save_Click); + // + // dtpEnd3 + // + // + // + // + this.dtpEnd3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dtpEnd3.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown; + this.dtpEnd3.ButtonDropDown.Visible = true; + this.dtpEnd3.CustomFormat = "yyyy-MM-dd"; + this.dtpEnd3.FocusHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(186)))), ((int)(((byte)(179))))); + this.dtpEnd3.Font = new System.Drawing.Font("微软雅黑", 9F); + this.dtpEnd3.Format = DevComponents.Editors.eDateTimePickerFormat.Custom; + this.dtpEnd3.IsPopupCalendarOpen = false; + this.dtpEnd3.Location = new System.Drawing.Point(224, 9); + // + // + // + // + // + // + this.dtpEnd3.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // + // + this.dtpEnd3.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dtpEnd3.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0); + // + // + // + this.dtpEnd3.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dtpEnd3.Name = "dtpEnd3"; + this.dtpEnd3.Size = new System.Drawing.Size(114, 23); + this.dtpEnd3.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.dtpEnd3.TabIndex = 472; + // + // dtpOpeTime3 + // + // + // + // + this.dtpOpeTime3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dtpOpeTime3.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown; + this.dtpOpeTime3.ButtonDropDown.Visible = true; + this.dtpOpeTime3.CustomFormat = "yyyy-MM-dd"; + this.dtpOpeTime3.FocusHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(186)))), ((int)(((byte)(179))))); + this.dtpOpeTime3.Font = new System.Drawing.Font("微软雅黑", 9F); + this.dtpOpeTime3.Format = DevComponents.Editors.eDateTimePickerFormat.Custom; + this.dtpOpeTime3.IsPopupCalendarOpen = false; + this.dtpOpeTime3.Location = new System.Drawing.Point(91, 9); + // + // + // + // + // + // + this.dtpOpeTime3.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // + // + this.dtpOpeTime3.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dtpOpeTime3.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0); + // + // + // + this.dtpOpeTime3.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dtpOpeTime3.Name = "dtpOpeTime3"; + this.dtpOpeTime3.Size = new System.Drawing.Size(114, 23); + this.dtpOpeTime3.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.dtpOpeTime3.TabIndex = 471; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(208, 11); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(15, 20); + this.label3.TabIndex = 470; + this.label3.Text = "-"; + // + // btn麻醉贵重物品清点本 + // + this.btn麻醉贵重物品清点本.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.btn麻醉贵重物品清点本.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; + this.btn麻醉贵重物品清点本.Font = new System.Drawing.Font("微软雅黑", 11.5F); + this.btn麻醉贵重物品清点本.Location = new System.Drawing.Point(356, 7); + this.btn麻醉贵重物品清点本.Name = "btn麻醉贵重物品清点本"; + this.btn麻醉贵重物品清点本.Size = new System.Drawing.Size(90, 29); + this.btn麻醉贵重物品清点本.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btn麻醉贵重物品清点本.TabIndex = 467; + this.btn麻醉贵重物品清点本.Text = "查询"; + this.btn麻醉贵重物品清点本.Click += new System.EventHandler(this.btn麻醉贵重物品清点本_Click); + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(17, 9); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(68, 20); + this.label4.TabIndex = 421; + this.label4.Text = "查询时间:"; + // + // R3 + // + this.R3.AttachedControl = this.superTabControlPanel3; + this.R3.GlobalItem = false; + this.R3.Name = "R3"; + this.R3.Text = "麻醉贵重物品清点本"; + // + // superTabControlPanel2 + // + this.superTabControlPanel2.Controls.Add(this.dgvtReport2); + this.superTabControlPanel2.Controls.Add(this.panel1); + this.superTabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill; + this.superTabControlPanel2.Location = new System.Drawing.Point(0, 32); + this.superTabControlPanel2.Name = "superTabControlPanel2"; + this.superTabControlPanel2.Size = new System.Drawing.Size(1350, 460); + this.superTabControlPanel2.TabIndex = 0; + this.superTabControlPanel2.TabItem = this.R2; + // + // dgvtReport2 + // + this.dgvtReport2.AllowUserToAddRows = false; + this.dgvtReport2.AllowUserToResizeColumns = false; + this.dgvtReport2.AllowUserToResizeRows = false; + this.dgvtReport2.BackgroundColor = System.Drawing.Color.White; + this.dgvtReport2.BorderStyle = System.Windows.Forms.BorderStyle.None; + dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle7.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + this.dgvtReport2.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7; + this.dgvtReport2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dgvtReport2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.Id, + this.RecordTime, + this.Content1, + this.Content2, + this.Content3, + this.Content4, + this.Content5, + this.ExecWork}); + dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle8.Font = new System.Drawing.Font("微软雅黑", 9F); + dataGridViewCellStyle8.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgvtReport2.DefaultCellStyle = dataGridViewCellStyle8; + this.dgvtReport2.Dock = System.Windows.Forms.DockStyle.Fill; + this.dgvtReport2.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter; + this.dgvtReport2.GridColor = System.Drawing.Color.Black; + this.dgvtReport2.Location = new System.Drawing.Point(0, 45); + this.dgvtReport2.MultiSelect = false; + this.dgvtReport2.Name = "dgvtReport2"; + dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle9.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle9.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle9.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvtReport2.RowHeadersDefaultCellStyle = dataGridViewCellStyle9; + this.dgvtReport2.RowHeadersVisible = false; + this.dgvtReport2.RowTemplate.Height = 23; + this.dgvtReport2.ShowCellErrors = false; + this.dgvtReport2.ShowCellToolTips = false; + this.dgvtReport2.Size = new System.Drawing.Size(1350, 415); + this.dgvtReport2.TabIndex = 393; + this.dgvtReport2.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvtReport2_CellDoubleClick); + this.dgvtReport2.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dgvtReport2_RowPostPaint); + // + // Id + // + this.Id.DataPropertyName = "Id"; + this.Id.HeaderText = "Id"; + this.Id.Name = "Id"; + this.Id.Visible = false; + // + // RecordTime + // + this.RecordTime.DataPropertyName = "RecordTime"; + this.RecordTime.HeaderText = "日期"; + this.RecordTime.Name = "RecordTime"; + // + // Content1 + // + this.Content1.DataPropertyName = "Content1"; + this.Content1.HeaderText = "班次"; + this.Content1.Name = "Content1"; + // + // Content2 + // + this.Content2.DataPropertyName = "Content2"; + this.Content2.HeaderText = "监测温度"; + this.Content2.Name = "Content2"; + // + // Content3 + // + this.Content3.DataPropertyName = "Content3"; + this.Content3.HeaderText = "监测人"; + this.Content3.Name = "Content3"; + // + // Content4 + // + this.Content4.DataPropertyName = "Content4"; + this.Content4.HeaderText = "除霜人"; + this.Content4.Name = "Content4"; + // + // Content5 + // + this.Content5.DataPropertyName = "Content5"; + this.Content5.HeaderText = "消毒人"; + this.Content5.Name = "Content5"; + // + // ExecWork + // + this.ExecWork.DataPropertyName = "ExecWork"; + this.ExecWork.HeaderText = "主任"; + this.ExecWork.Name = "ExecWork"; + // + // panel1 + // + this.panel1.BackColor = System.Drawing.Color.WhiteSmoke; + this.panel1.Controls.Add(this.btn冰箱监测Save); + this.panel1.Controls.Add(this.dtpEnd2); + this.panel1.Controls.Add(this.dtpOpeTime2); + this.panel1.Controls.Add(this.label1); + this.panel1.Controls.Add(this.btn冰箱监测); + this.panel1.Controls.Add(this.label2); + this.panel1.Dock = System.Windows.Forms.DockStyle.Top; + this.panel1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.panel1.Location = new System.Drawing.Point(0, 0); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(1350, 45); + this.panel1.TabIndex = 392; + // + // btn冰箱监测Save + // + this.btn冰箱监测Save.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.btn冰箱监测Save.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; + this.btn冰箱监测Save.Font = new System.Drawing.Font("微软雅黑", 11.5F); + this.btn冰箱监测Save.Location = new System.Drawing.Point(452, 7); + this.btn冰箱监测Save.Name = "btn冰箱监测Save"; + this.btn冰箱监测Save.Size = new System.Drawing.Size(90, 29); + this.btn冰箱监测Save.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btn冰箱监测Save.TabIndex = 474; + this.btn冰箱监测Save.Text = "保存"; + this.btn冰箱监测Save.Click += new System.EventHandler(this.btn冰箱监测Save_Click); + // + // dtpEnd2 + // + // + // + // + this.dtpEnd2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dtpEnd2.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown; + this.dtpEnd2.ButtonDropDown.Visible = true; + this.dtpEnd2.CustomFormat = "yyyy-MM-dd"; + this.dtpEnd2.FocusHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(186)))), ((int)(((byte)(179))))); + this.dtpEnd2.Font = new System.Drawing.Font("微软雅黑", 9F); + this.dtpEnd2.Format = DevComponents.Editors.eDateTimePickerFormat.Custom; + this.dtpEnd2.IsPopupCalendarOpen = false; + this.dtpEnd2.Location = new System.Drawing.Point(224, 9); + // + // + // + // + // + // + this.dtpEnd2.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // + // + this.dtpEnd2.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dtpEnd2.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0); + // + // + // + this.dtpEnd2.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dtpEnd2.Name = "dtpEnd2"; + this.dtpEnd2.Size = new System.Drawing.Size(114, 23); + this.dtpEnd2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.dtpEnd2.TabIndex = 472; + // + // dtpOpeTime2 + // + // + // + // + this.dtpOpeTime2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dtpOpeTime2.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown; + this.dtpOpeTime2.ButtonDropDown.Visible = true; + this.dtpOpeTime2.CustomFormat = "yyyy-MM-dd"; + this.dtpOpeTime2.FocusHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(186)))), ((int)(((byte)(179))))); + this.dtpOpeTime2.Font = new System.Drawing.Font("微软雅黑", 9F); + this.dtpOpeTime2.Format = DevComponents.Editors.eDateTimePickerFormat.Custom; + this.dtpOpeTime2.IsPopupCalendarOpen = false; + this.dtpOpeTime2.Location = new System.Drawing.Point(91, 9); + // + // + // + // + // + // + this.dtpOpeTime2.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // + // + this.dtpOpeTime2.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dtpOpeTime2.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0); + // + // + // + this.dtpOpeTime2.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dtpOpeTime2.Name = "dtpOpeTime2"; + this.dtpOpeTime2.Size = new System.Drawing.Size(114, 23); + this.dtpOpeTime2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.dtpOpeTime2.TabIndex = 471; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(208, 11); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(15, 20); + this.label1.TabIndex = 470; + this.label1.Text = "-"; + // + // btn冰箱监测 + // + this.btn冰箱监测.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.btn冰箱监测.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; + this.btn冰箱监测.Font = new System.Drawing.Font("微软雅黑", 11.5F); + this.btn冰箱监测.Location = new System.Drawing.Point(356, 7); + this.btn冰箱监测.Name = "btn冰箱监测"; + this.btn冰箱监测.Size = new System.Drawing.Size(90, 29); + this.btn冰箱监测.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btn冰箱监测.TabIndex = 467; + this.btn冰箱监测.Text = "查询"; + this.btn冰箱监测.Click += new System.EventHandler(this.btn冰箱监测_Click); + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(17, 9); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(68, 20); + this.label2.TabIndex = 421; + this.label2.Text = "查询时间:"; + // + // R2 + // + this.R2.AttachedControl = this.superTabControlPanel2; + this.R2.GlobalItem = false; + this.R2.Name = "R2"; + this.R2.Text = "冰箱监测"; + // + // dataGridViewTextBoxColumn1 + // + this.dataGridViewTextBoxColumn1.DataPropertyName = "Id"; + this.dataGridViewTextBoxColumn1.HeaderText = "Id"; + this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; + this.dataGridViewTextBoxColumn1.Visible = false; + // + // dataGridViewTextBoxColumn2 + // + this.dataGridViewTextBoxColumn2.DataPropertyName = "RecordTime"; + this.dataGridViewTextBoxColumn2.HeaderText = "日期"; + this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; + // + // dataGridViewTextBoxColumn3 + // + this.dataGridViewTextBoxColumn3.DataPropertyName = "Content1"; + this.dataGridViewTextBoxColumn3.HeaderText = "班次"; + this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3"; + // + // dataGridViewTextBoxColumn4 + // + this.dataGridViewTextBoxColumn4.DataPropertyName = "Content2"; + this.dataGridViewTextBoxColumn4.HeaderText = "监测温度"; + this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4"; + // + // dataGridViewTextBoxColumn5 + // + this.dataGridViewTextBoxColumn5.DataPropertyName = "Content3"; + this.dataGridViewTextBoxColumn5.HeaderText = "监测人"; + this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5"; + // + // dataGridViewTextBoxColumn6 + // + this.dataGridViewTextBoxColumn6.DataPropertyName = "Content4"; + this.dataGridViewTextBoxColumn6.HeaderText = "除霜人"; + this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6"; + // + // dataGridViewTextBoxColumn7 + // + this.dataGridViewTextBoxColumn7.DataPropertyName = "Content5"; + this.dataGridViewTextBoxColumn7.HeaderText = "消毒人"; + this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7"; + // + // dataGridViewTextBoxColumn8 + // + this.dataGridViewTextBoxColumn8.DataPropertyName = "ExecWork"; + this.dataGridViewTextBoxColumn8.HeaderText = "主任"; + this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8"; + // + // dataGridViewTextBoxColumn9 + // + this.dataGridViewTextBoxColumn9.DataPropertyName = "Id"; + this.dataGridViewTextBoxColumn9.HeaderText = "Id"; + this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9"; + this.dataGridViewTextBoxColumn9.Visible = false; + // + // dataGridViewTextBoxColumn10 + // + this.dataGridViewTextBoxColumn10.DataPropertyName = "RecordTime"; + this.dataGridViewTextBoxColumn10.HeaderText = "日期"; + this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10"; + // + // dataGridViewTextBoxColumn11 + // + this.dataGridViewTextBoxColumn11.DataPropertyName = "Content1"; + this.dataGridViewTextBoxColumn11.HeaderText = "麻醉机(5)"; + this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11"; + // + // dataGridViewTextBoxColumn12 + // + this.dataGridViewTextBoxColumn12.DataPropertyName = "Content2"; + this.dataGridViewTextBoxColumn12.HeaderText = "心电监护仪(5)"; + this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12"; + this.dataGridViewTextBoxColumn12.Width = 130; + // + // dataGridViewTextBoxColumn13 + // + this.dataGridViewTextBoxColumn13.DataPropertyName = "Content3"; + this.dataGridViewTextBoxColumn13.HeaderText = "可视喉镜(1)"; + this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13"; + // + // dataGridViewTextBoxColumn14 + // + this.dataGridViewTextBoxColumn14.DataPropertyName = "Content4"; + this.dataGridViewTextBoxColumn14.HeaderText = "电子注药泵(7)"; + this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14"; + this.dataGridViewTextBoxColumn14.Width = 130; + // + // dataGridViewTextBoxColumn15 + // + this.dataGridViewTextBoxColumn15.DataPropertyName = "Content5"; + this.dataGridViewTextBoxColumn15.HeaderText = "掌上超声(1)"; + this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15"; + // + // Content6 + // + this.Content6.DataPropertyName = "Content6"; + this.Content6.HeaderText = "Matepad华为(1)"; + this.Content6.Name = "Content6"; + this.Content6.Width = 150; + // + // dataGridViewTextBoxColumn16 + // + this.dataGridViewTextBoxColumn16.DataPropertyName = "ExecWork"; + this.dataGridViewTextBoxColumn16.HeaderText = "确认 签字"; + this.dataGridViewTextBoxColumn16.Name = "dataGridViewTextBoxColumn16"; + // + // dataGridViewTextBoxColumn17 + // + this.dataGridViewTextBoxColumn17.DataPropertyName = "Id"; + this.dataGridViewTextBoxColumn17.HeaderText = "Id"; + this.dataGridViewTextBoxColumn17.Name = "dataGridViewTextBoxColumn17"; + this.dataGridViewTextBoxColumn17.Visible = false; + // + // dataGridViewTextBoxColumn18 + // + this.dataGridViewTextBoxColumn18.DataPropertyName = "RecordTime"; + this.dataGridViewTextBoxColumn18.HeaderText = "日期"; + this.dataGridViewTextBoxColumn18.Name = "dataGridViewTextBoxColumn18"; + // + // dataGridViewTextBoxColumn19 + // + this.dataGridViewTextBoxColumn19.DataPropertyName = "Content1"; + this.dataGridViewTextBoxColumn19.HeaderText = "1号麻醉机及监护仪"; + this.dataGridViewTextBoxColumn19.Name = "dataGridViewTextBoxColumn19"; + this.dataGridViewTextBoxColumn19.Width = 140; + // + // dataGridViewTextBoxColumn20 + // + this.dataGridViewTextBoxColumn20.DataPropertyName = "Content2"; + this.dataGridViewTextBoxColumn20.HeaderText = "2号麻醉机及监护仪"; + this.dataGridViewTextBoxColumn20.Name = "dataGridViewTextBoxColumn20"; + this.dataGridViewTextBoxColumn20.Width = 140; + // + // dataGridViewTextBoxColumn21 + // + this.dataGridViewTextBoxColumn21.DataPropertyName = "Content3"; + this.dataGridViewTextBoxColumn21.HeaderText = "3号麻醉机及监护仪"; + this.dataGridViewTextBoxColumn21.Name = "dataGridViewTextBoxColumn21"; + this.dataGridViewTextBoxColumn21.Width = 140; + // + // dataGridViewTextBoxColumn22 + // + this.dataGridViewTextBoxColumn22.DataPropertyName = "Content4"; + this.dataGridViewTextBoxColumn22.HeaderText = "4号麻醉机及监护仪"; + this.dataGridViewTextBoxColumn22.Name = "dataGridViewTextBoxColumn22"; + this.dataGridViewTextBoxColumn22.Width = 140; + // + // dataGridViewTextBoxColumn23 + // + this.dataGridViewTextBoxColumn23.DataPropertyName = "Content5"; + this.dataGridViewTextBoxColumn23.HeaderText = "5号麻醉机及监护仪"; + this.dataGridViewTextBoxColumn23.Name = "dataGridViewTextBoxColumn23"; + this.dataGridViewTextBoxColumn23.Width = 140; + // + // dataGridViewTextBoxColumn24 + // + this.dataGridViewTextBoxColumn24.DataPropertyName = "ExecWork"; + this.dataGridViewTextBoxColumn24.HeaderText = "确认签字"; + this.dataGridViewTextBoxColumn24.Name = "dataGridViewTextBoxColumn24"; + // + // frmNotesRecordExport + // + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; + this.ClientSize = new System.Drawing.Size(1350, 541); + this.Controls.Add(this.superTabControl1); + this.Controls.Add(this.toolStrip1); + this.Name = "frmNotesRecordExport"; + this.Text = "科室登记"; + this.Load += new System.EventHandler(this.frmOperationDruggCheck_Load); + this.toolStrip1.ResumeLayout(false); + this.toolStrip1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.superTabControl1)).EndInit(); + this.superTabControl1.ResumeLayout(false); + this.superTabControlPanel1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.dgvtReport)).EndInit(); + this.panel2.ResumeLayout(false); + this.panel2.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dtpEnd)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dtpOpeTime)).EndInit(); + this.superTabControlPanel3.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.dgvtReport3)).EndInit(); + this.panel3.ResumeLayout(false); + this.panel3.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dtpEnd3)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dtpOpeTime3)).EndInit(); + this.superTabControlPanel2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.dgvtReport2)).EndInit(); + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dtpEnd2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dtpOpeTime2)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.ToolStrip toolStrip1; + private System.Windows.Forms.ToolStripButton toolStripButton1; + private DevComponents.DotNetBar.SuperTabControl superTabControl1; + private DevComponents.DotNetBar.SuperTabControlPanel superTabControlPanel1; + private DevComponents.DotNetBar.SuperTabItem R1; + private System.Windows.Forms.Panel panel2; + private DevComponents.Editors.DateTimeAdv.DateTimeInput dtpEnd; + private DevComponents.Editors.DateTimeAdv.DateTimeInput dtpOpeTime; + public System.Windows.Forms.Label label24; + private DevComponents.DotNetBar.ButtonX btn手术例数按月统计; + public System.Windows.Forms.Label labDate; + private DevComponents.DotNetBar.SuperTabControlPanel superTabControlPanel2; + private System.Windows.Forms.DataGridView dgvtReport2; + private System.Windows.Forms.Panel panel1; + private DevComponents.Editors.DateTimeAdv.DateTimeInput dtpEnd2; + private DevComponents.Editors.DateTimeAdv.DateTimeInput dtpOpeTime2; + public System.Windows.Forms.Label label1; + private DevComponents.DotNetBar.ButtonX btn冰箱监测; + public System.Windows.Forms.Label label2; + private DevComponents.DotNetBar.SuperTabItem R2; + private DevComponents.DotNetBar.SuperTabControlPanel superTabControlPanel3; + private DevComponents.DotNetBar.SuperTabItem R3; + private DevComponents.DotNetBar.ButtonX buttonX2; + private DevComponents.DotNetBar.ButtonX buttonX1; + private DevComponents.DotNetBar.ButtonX btn冰箱监测Save; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8; + private System.Windows.Forms.DataGridViewTextBoxColumn Id; + private System.Windows.Forms.DataGridViewTextBoxColumn RecordTime; + private System.Windows.Forms.DataGridViewTextBoxColumn Content1; + private System.Windows.Forms.DataGridViewTextBoxColumn Content2; + private System.Windows.Forms.DataGridViewTextBoxColumn Content3; + private System.Windows.Forms.DataGridViewTextBoxColumn Content4; + private System.Windows.Forms.DataGridViewTextBoxColumn Content5; + private System.Windows.Forms.DataGridViewTextBoxColumn ExecWork; + private System.Windows.Forms.DataGridView dgvtReport3; + private System.Windows.Forms.Panel panel3; + private DevComponents.DotNetBar.ButtonX btn麻醉贵重物品清点本Save; + private DevComponents.Editors.DateTimeAdv.DateTimeInput dtpEnd3; + private DevComponents.Editors.DateTimeAdv.DateTimeInput dtpOpeTime3; + public System.Windows.Forms.Label label3; + private DevComponents.DotNetBar.ButtonX btn麻醉贵重物品清点本; + public System.Windows.Forms.Label label4; + private System.Windows.Forms.DataGridView dgvtReport; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn10; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn11; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn12; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn13; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn14; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn15; + private System.Windows.Forms.DataGridViewTextBoxColumn Content6; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn16; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn17; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn18; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn19; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn20; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn21; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn22; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn23; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn24; + } +} \ No newline at end of file diff --git a/AIMS/OperationAfter/frmNotesRecordExport.resx b/AIMS/OperationAfter/frmNotesRecordExport.resx new file mode 100644 index 0000000..d8b3977 --- /dev/null +++ b/AIMS/OperationAfter/frmNotesRecordExport.resx @@ -0,0 +1,198 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + \ No newline at end of file diff --git a/AIMS/Template/冰箱监测.xlt b/AIMS/Template/冰箱监测.xlt new file mode 100644 index 0000000000000000000000000000000000000000..e56f886702df4536e500728a1db658ae02ad2ec0 GIT binary patch literal 27136 zcmeHQ3y@URnf`B2Pj?T9(13tEW||ou1I)lMgGd~phle6MzzDbz0YRY$C{VTlS+{hS zNus;Sq6y9raD_ZfLXzFMM%08P>k4ixWmBW>vRbSz<(iFJY`GyNo2?{9?ft%UAARrX zbDM5MS(U23Q|I=*-#P!|{O3RC{O9y(_?MTHZ$5H#QZA=PGFaV*sQdR-*{9Wg4sw3G=Vp=X?`oWdast|$ zB5kVN1L|I@?w8_j$uULqxpFv$s`G&vQZNK1oU6%+;~a_k+_ z00su>bWZ3@nIhADLfx{S+#H}$j)X5>hCy(gUCBwUYwDfnHIu5NHL&+cf37lCphyZ9 zALSLH93Kz7lFfK9Noi$*oScG}$>V}iyLMG(XKkx$A$Ux*Sy90Ult+NyOT6q$-wN}eGc{J6C7F~+shkQ<0iv9U81v zR?Bk9$VOGB9&d$d)_~?s^c!CPmxa#Wbs|Na(M1`*cy^$9E&7IgMKn8e+Tj)bTG0L; z{`VpH--Y0hh2V!m@b8DfN@qaRe&sRh6QuX;(2%n=N_)`vEW%rBU z+RcUdN8xe2s{ZopAdaBT#$S;RJl447tAcoc7w?zDQ+ULvVDtBIjXwx&{+gd$;^JEQ z0WR*9xBcf*7k@==#XRfj8N*nk>ZR2;h8f0$Ltz`=pG+R?f3Uwq4=DT4^Hur%ot?*P zj@L-^n8K4TuIV{A1jpQJ^La%D!x-G%el*3XPYmOnNzb7!AI}coQ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kxAAtJ-w2dYeuQ)0$-iy#Z=3NN!9^I;xpmX#ZEKcp+SZf4Nd{&a za07x&p1A+S?~eQ@HvGBy@9aykuFrn*?EgIe)0ZApKzD}>@KP#Spk#rP1xgkuS)gQr zk_Ac@C|RInfszGE7ARTZi(&yTXSoLFdY5Zy9)06ETP}zBPM_;vo`>bSo@;il-+6A8 z>wd2BdFqt!{JGBOGMlGExz^`?0MB;v6erJX@?<8@VDhvjm)kr+nL-|eT#HeDE{sXV literal 0 HcmV?d00001 diff --git a/AIMSEntity/AIMSEntity.csproj b/AIMSEntity/AIMSEntity.csproj index a1e39d3..ac44133 100644 --- a/AIMSEntity/AIMSEntity.csproj +++ b/AIMSEntity/AIMSEntity.csproj @@ -53,14 +53,19 @@ + + + + + @@ -340,6 +345,7 @@ + @@ -433,6 +439,7 @@ + @@ -506,6 +513,7 @@ + diff --git a/AIMSEntity/BLL/AutoGenerate/BNotesRecord.cs b/AIMSEntity/BLL/AutoGenerate/BNotesRecord.cs new file mode 100644 index 0000000..3e16692 --- /dev/null +++ b/AIMSEntity/BLL/AutoGenerate/BNotesRecord.cs @@ -0,0 +1,160 @@ +using System; +using AIMSDAL; +using AIMSModel; +using System.Collections; +using System.Collections.Generic; + +namespace AIMSBLL +{ + public partial class BNotesRecord + { + #region 插入实体操作部份 + /// + /// 插入实体 + /// + /// 实体类对象 + /// 标识列值或影响的记录行数 + public static int Insert(NotesRecord notesRecord) + { + return DNotesRecord.Insert(notesRecord); + } + #endregion + + #region 删除实体操作 + /// + /// 删除实体 + /// + /// 实体类对象 + /// 影响的记录行数 + public static int Delete(NotesRecord notesRecord) + { + return DNotesRecord.Delete(notesRecord); + } + /// + /// 根据对象查询语句删除 + /// + /// 对象查询语句 + /// 参数列表 + /// 影响的记录行数 + public static int Delete(string oql, ParameterList parameters) + { + return DNotesRecord.Delete(oql,parameters); + } + #endregion + + #region 更新实体操作 + + /// + /// 更新实体 + /// + /// 实体类对象 + /// 影响的记录行数 + public static int Update(NotesRecord notesRecord) + { + return DNotesRecord.Update(notesRecord); + } + + /// + /// 根据对象查询语句更新实体 + /// + /// 对象查询语句 + /// 参数列表 + /// 影响的记录行数 + public static int Update(string oql, ParameterList parameters) + { + return DNotesRecord.Update(oql,parameters); + } + #endregion + + #region 查询实体集合 + /// + /// \查询实体集合 + /// + /// 实体类对象集合 + public static List Select() + { + return DNotesRecord.Select(); + } + /// + /// 递归查询实体集合 + /// + /// 递归类型 + /// 递归深度 + /// 实体类对象集合 + public static List Select(RecursiveType recursiveType, int recursiveDepth) + { + return DNotesRecord.Select(recursiveType, recursiveDepth); + } + + /// + /// 根据对象查询语句查询实体集合 + /// + /// 对象查询语句 + /// 参数列表 + /// 实体类对象集合 + public static List Select(string oql, ParameterList parameters) + { + return DNotesRecord.Select(oql, parameters); + } + + /// + /// 根据对象查询语句递归查询实体集合 + /// + /// 对象查询语句 + /// 参数列表 + /// 递归类型 + /// 递归深度 + /// 实体类对象集合 + public static List Select(string oql, ParameterList parameters,RecursiveType recursiveType, int recursiveDepth) + { + return DNotesRecord.Select(oql, parameters, recursiveType, recursiveDepth); + } + #endregion + + #region 查询单个实体 + /// + /// 更据对象查询语句查询单个实体 + /// + /// 对象查询语句 + /// 参数列表 + /// 实体对象 + public static NotesRecord SelectSingle(string oql, ParameterList parameters) + { + return DNotesRecord.SelectSingle(oql, parameters); + } + /// + /// 更据对象查询语句递归查询单个实体 + /// + /// 对象查询语句 + /// 参数列表 + /// 递归类型 + /// 递归深度 + /// 实体对象 + public static NotesRecord SelectSingle(string oql, ParameterList parameters, RecursiveType recursiveType, int recursiveDepth) + { + return DNotesRecord.SelectSingle(oql, parameters, recursiveType, recursiveDepth); + } + + /// + /// 按主键字段查询特定实体 + /// + /// 主键值 + /// 实体类对象 + public static NotesRecord SelectSingle(int? id) + { + return DNotesRecord.SelectSingle(id); + } + + /// + /// 更据主键递归查询单个实体 + /// + /// 递归类型 + /// 递归深度 + /// 实体对象 + public static NotesRecord SelectSingle(int? id, RecursiveType recursiveType, int recursiveDepth) + { + return DNotesRecord.SelectSingle(id, recursiveType, recursiveDepth); + } + #endregion + } +} diff --git a/AIMSEntity/BLL/Extension/BNotesRecord.cs b/AIMSEntity/BLL/Extension/BNotesRecord.cs new file mode 100644 index 0000000..f635178 --- /dev/null +++ b/AIMSEntity/BLL/Extension/BNotesRecord.cs @@ -0,0 +1,12 @@ +using System; +using AIMSDAL; +using AIMSModel; +using AIMSObjectQuery; +using System.Collections; +using System.Collections.Generic; +namespace AIMSBLL +{ + public partial class BNotesRecord + { + } +} diff --git a/AIMSEntity/BLL/Extension/BOperationTemplate.cs b/AIMSEntity/BLL/Extension/BOperationTemplate.cs index ed74400..3f8665d 100644 --- a/AIMSEntity/BLL/Extension/BOperationTemplate.cs +++ b/AIMSEntity/BLL/Extension/BOperationTemplate.cs @@ -170,32 +170,42 @@ namespace AIMSBLL DataRow[] Eventdr = dt.Select("ItemKindName='事件'"); foreach (DataRow dr in Eventdr) { + bool istrue = false; int EventId = int.Parse(dr["ItemId"].ToString()); - if (BFactEvents.IsValid(EventId)) + foreach (var item in _record.FactEventsList) { - FactEvents FactEventObj = new FactEvents(); - FactEventObj.PatientId = PatientId; - FactEventObj.EventId = EventId; - TimeSpan BeginTimets = DateTime.Parse(dr["BeginTime"].ToString()).Subtract(drugMinTime); - TimeSpan EndTimets = DateTime.Parse(dr["EndTime"].ToString()).Subtract(drugMinTime); - - FactEventObj.EventBeginTime = InRoomTime.AddSeconds(BeginTimets.TotalSeconds); - FactEventObj.EventEndTime = InRoomTime.AddSeconds(EndTimets.TotalSeconds); - if (dr["BeginTime"].ToString() == dr["EndTime"].ToString()) + if (item.EventId == EventId) { - FactEventObj.IsContinue = 0; + istrue = true; + break; } - else - { - FactEventObj.IsContinue = 1; - } - FactEventObj.EventTypeId = TypeId; - - FactEventObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo; - FactEventObj.OperatorName = AIMSExtension.PublicMethod.OperatorName; - FactEventObj.OperateDate = NewInRoomTime; - BFactEvents.Add(FactEventObj); } + if (istrue == true) continue; + //if (BFactEvents.IsValid(EventId)) + //{ + FactEvents FactEventObj = new FactEvents(); + FactEventObj.PatientId = PatientId; + FactEventObj.EventId = EventId; + TimeSpan BeginTimets = DateTime.Parse(dr["BeginTime"].ToString()).Subtract(drugMinTime); + TimeSpan EndTimets = DateTime.Parse(dr["EndTime"].ToString()).Subtract(drugMinTime); + + FactEventObj.EventBeginTime = InRoomTime.AddSeconds(BeginTimets.TotalSeconds); + FactEventObj.EventEndTime = InRoomTime.AddSeconds(EndTimets.TotalSeconds); + if (dr["BeginTime"].ToString() == dr["EndTime"].ToString()) + { + FactEventObj.IsContinue = 0; + } + else + { + FactEventObj.IsContinue = 1; + } + FactEventObj.EventTypeId = TypeId; + + FactEventObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo; + FactEventObj.OperatorName = AIMSExtension.PublicMethod.OperatorName; + FactEventObj.OperateDate = NewInRoomTime; + BFactEvents.Add(FactEventObj); + //} } DataRow[] OutputLiquidsdr = dt.Select("ItemKindName='出量'"); diff --git a/AIMSEntity/DAL/AutoGenerate/DNotesRecord.cs b/AIMSEntity/DAL/AutoGenerate/DNotesRecord.cs new file mode 100644 index 0000000..b9052b7 --- /dev/null +++ b/AIMSEntity/DAL/AutoGenerate/DNotesRecord.cs @@ -0,0 +1,669 @@ +using System; +using System.Data; +using System.Data.SqlClient; +using System.Collections; +using AIMSModel; +using AIMSObjectQuery; +using System.Collections.Generic; + +namespace AIMSDAL +{ + internal partial class DNotesRecord + { + #region 插入实体操作部份 + /// + /// 插入 + /// + /// Command对象 + /// 实体类对象 + /// 标识列值或影响的记录行数 + internal static int Insert(SqlCommand cmd, NotesRecord notesRecord) + { + cmd.Parameters.Clear(); + cmd.CommandText = "insert into NotesRecord (NoteName,RecordTime,Content1,Content2,Content3,Content4,Content5,Content6,Content7,Content8,Content9,ExecWork,OperatorId,OperatorTime,Remark) values (@NoteName,@RecordTime,@Content1,@Content2,@Content3,@Content4,@Content5,@Content6,@Content7,@Content8,@Content9,@ExecWork,@OperatorId,@OperatorTime,@Remark);select @@identity"; + //从实体中取出值放入Command的参数列表 + cmd.Parameters.Add(new SqlParameter("@NoteName",notesRecord.NoteName==null?(object)DBNull.Value:(object)notesRecord.NoteName)); + cmd.Parameters.Add(new SqlParameter("@RecordTime",notesRecord.RecordTime.HasValue?(object)notesRecord.RecordTime.Value:(object)DBNull.Value)); + cmd.Parameters.Add(new SqlParameter("@Content1",notesRecord.Content1==null?(object)DBNull.Value:(object)notesRecord.Content1)); + cmd.Parameters.Add(new SqlParameter("@Content2",notesRecord.Content2==null?(object)DBNull.Value:(object)notesRecord.Content2)); + cmd.Parameters.Add(new SqlParameter("@Content3",notesRecord.Content3==null?(object)DBNull.Value:(object)notesRecord.Content3)); + cmd.Parameters.Add(new SqlParameter("@Content4",notesRecord.Content4==null?(object)DBNull.Value:(object)notesRecord.Content4)); + cmd.Parameters.Add(new SqlParameter("@Content5",notesRecord.Content5==null?(object)DBNull.Value:(object)notesRecord.Content5)); + cmd.Parameters.Add(new SqlParameter("@Content6",notesRecord.Content6==null?(object)DBNull.Value:(object)notesRecord.Content6)); + cmd.Parameters.Add(new SqlParameter("@Content7",notesRecord.Content7==null?(object)DBNull.Value:(object)notesRecord.Content7)); + cmd.Parameters.Add(new SqlParameter("@Content8",notesRecord.Content8==null?(object)DBNull.Value:(object)notesRecord.Content8)); + cmd.Parameters.Add(new SqlParameter("@Content9",notesRecord.Content9==null?(object)DBNull.Value:(object)notesRecord.Content9)); + cmd.Parameters.Add(new SqlParameter("@ExecWork",notesRecord.ExecWork==null?(object)DBNull.Value:(object)notesRecord.ExecWork)); + cmd.Parameters.Add(new SqlParameter("@OperatorId",notesRecord.OperatorId.HasValue?(object)notesRecord.OperatorId.Value:(object)DBNull.Value)); + cmd.Parameters.Add(new SqlParameter("@OperatorTime",notesRecord.OperatorTime.HasValue?(object)notesRecord.OperatorTime.Value:(object)DBNull.Value)); + cmd.Parameters.Add(new SqlParameter("@Remark",notesRecord.Remark==null?(object)DBNull.Value:(object)notesRecord.Remark)); + return Convert.ToInt32(cmd.ExecuteScalar()); + } + /// + /// 不使用事务的插入方法 + /// + /// 实体类对象 + /// 标识列值或影响的记录行数 + internal static int Insert(NotesRecord notesRecord) + { + using(SqlConnection conn=new SqlConnection(Connection.ConnectionString)) + { + conn.Open(); + using (SqlCommand cmd = conn.CreateCommand()) + { + return Insert(cmd, notesRecord); + } + } + } + + /// + /// 使用事务的插入方法 + /// + /// 实现共享Connection的对象 + /// 实体类对象 + /// 标识列值或影响的记录行数 + internal static int Insert(Connection connection,NotesRecord notesRecord) + { + return Insert(connection.Command, notesRecord); + } + #endregion + + #region 删除实体操作 + + /// + /// 删除 + /// + /// Command对象 + /// 实体类对象 + /// 影响的记录行数 + internal static int ExcuteDeleteCommand(SqlCommand cmd, NotesRecord notesRecord) + { + cmd.Parameters.Clear(); + cmd.CommandText = "delete from NotesRecord where Id=@Id"; + //从实体中取出值放入Command的参数列表 + cmd.Parameters.Add(new SqlParameter("@Id", notesRecord.Id)); + return cmd.ExecuteNonQuery(); + } + /// + /// 不使用事务的删除方法 + /// + /// 实体类对象 + /// 影响的记录行数 + internal static int Delete(NotesRecord notesRecord) + { + using (SqlConnection conn = new SqlConnection(Connection.ConnectionString)) + { + conn.Open(); + using (SqlCommand cmd = conn.CreateCommand()) + { + return ExcuteDeleteCommand(cmd, notesRecord); + } + } + } + /// + /// 使用事务的删除方法 + /// + /// 实现共享Connection的对象 + /// 实体类对象 + /// 影响的记录行数 + internal static int Delete(Connection connection,NotesRecord notesRecord) + { + return ExcuteDeleteCommand(connection.Command, notesRecord); + } + + /// + /// 执行删除命令 + /// + /// Command对象 + /// 对象查询语句 + /// 参数列表 + /// 影响的记录行数 + internal static int ExcuteDeleteCommand(SqlCommand cmd, string oql, ParameterList parameters) + { + //解析过滤部份Sql语句 + string filterString = oql;// SyntaxAnalyzer.ParseSql(oql, new NotesRecordMap()); + if (filterString != string.Empty) + { + filterString = " where " + filterString; + } + cmd.Parameters.Clear(); + cmd.CommandText = "delete from NotesRecord " + filterString; + //添加参数 + if (parameters != null) + { + foreach (string key in parameters.Keys) + { + cmd.Parameters.Add(new SqlParameter(key, parameters[key])); + } + } + return cmd.ExecuteNonQuery(); + } + + /// + /// 不使用事务的删除方法 + /// + /// 对象查询语句 + /// 参数列表 + /// 影响的记录行数 + internal static int Delete(string oql, ParameterList parameters) + { + using (SqlConnection conn = new SqlConnection(Connection.ConnectionString)) + { + conn.Open(); + using (SqlCommand cmd = conn.CreateCommand()) + { + return ExcuteDeleteCommand(cmd, oql, parameters); + } + } + } + + /// + /// 使用事务的删除方法 + /// + /// 实现共享Connection的对象 + /// 对象查询语句 + /// 参数列表 + /// 影响的记录行数 + internal static int Delete(Connection connection, string oql, ParameterList parameters) + { + return ExcuteDeleteCommand(connection.Command, oql, parameters); + } + + #endregion + + #region 更新实体操作 + + /// + /// 更新 + /// + /// Command对象 + /// 实体类对象 + /// 影响的记录行数 + internal static int ExcuteUpdateCommand(SqlCommand cmd, NotesRecord notesRecord) + { + cmd.CommandText = "update NotesRecord set NoteName=@NoteName,RecordTime=@RecordTime,Content1=@Content1,Content2=@Content2,Content3=@Content3,Content4=@Content4,Content5=@Content5,Content6=@Content6,Content7=@Content7,Content8=@Content8,Content9=@Content9,ExecWork=@ExecWork,OperatorId=@OperatorId,OperatorTime=@OperatorTime,Remark=@Remark where Id=@Id"; + //从实体中取出值放入Command的参数列表 + cmd.Parameters.Add(new SqlParameter("@NoteName",notesRecord.NoteName==null?(object)DBNull.Value:(object)notesRecord.NoteName)); + cmd.Parameters.Add(new SqlParameter("@RecordTime",notesRecord.RecordTime.HasValue?(object)notesRecord.RecordTime.Value:(object)DBNull.Value)); + cmd.Parameters.Add(new SqlParameter("@Content1",notesRecord.Content1==null?(object)DBNull.Value:(object)notesRecord.Content1)); + cmd.Parameters.Add(new SqlParameter("@Content2",notesRecord.Content2==null?(object)DBNull.Value:(object)notesRecord.Content2)); + cmd.Parameters.Add(new SqlParameter("@Content3",notesRecord.Content3==null?(object)DBNull.Value:(object)notesRecord.Content3)); + cmd.Parameters.Add(new SqlParameter("@Content4",notesRecord.Content4==null?(object)DBNull.Value:(object)notesRecord.Content4)); + cmd.Parameters.Add(new SqlParameter("@Content5",notesRecord.Content5==null?(object)DBNull.Value:(object)notesRecord.Content5)); + cmd.Parameters.Add(new SqlParameter("@Content6",notesRecord.Content6==null?(object)DBNull.Value:(object)notesRecord.Content6)); + cmd.Parameters.Add(new SqlParameter("@Content7",notesRecord.Content7==null?(object)DBNull.Value:(object)notesRecord.Content7)); + cmd.Parameters.Add(new SqlParameter("@Content8",notesRecord.Content8==null?(object)DBNull.Value:(object)notesRecord.Content8)); + cmd.Parameters.Add(new SqlParameter("@Content9",notesRecord.Content9==null?(object)DBNull.Value:(object)notesRecord.Content9)); + cmd.Parameters.Add(new SqlParameter("@ExecWork",notesRecord.ExecWork==null?(object)DBNull.Value:(object)notesRecord.ExecWork)); + cmd.Parameters.Add(new SqlParameter("@OperatorId",notesRecord.OperatorId.HasValue?(object)notesRecord.OperatorId.Value:(object)DBNull.Value)); + cmd.Parameters.Add(new SqlParameter("@OperatorTime",notesRecord.OperatorTime.HasValue?(object)notesRecord.OperatorTime.Value:(object)DBNull.Value)); + cmd.Parameters.Add(new SqlParameter("@Remark",notesRecord.Remark==null?(object)DBNull.Value:(object)notesRecord.Remark)); + cmd.Parameters.Add(new SqlParameter("@Id", notesRecord.Id)); + return cmd.ExecuteNonQuery(); + } + + /// + /// 不使用事务的更新方法 + /// + /// 实体类对象 + /// 影响的记录行数 + internal static int Update(NotesRecord notesRecord) + { + using(SqlConnection conn=new SqlConnection(Connection.ConnectionString)) + { + conn.Open(); + using (SqlCommand cmd = conn.CreateCommand()) + { + return ExcuteUpdateCommand(cmd, notesRecord); + } + } + } + /// + /// 使用事务的更新方法 + /// + /// 实现共享Connection的对象 + /// 实体类对象 + /// 影响的记录行数 + internal static int Update(Connection connection,NotesRecord notesRecord) + { + return ExcuteUpdateCommand(connection.Command, notesRecord); + } + /// + /// 执行更新命令 + /// + /// Command对象 + /// 对象查询语句 + /// 参数列表 + /// 影响的记录行数 + internal static int ExcuteUpdateCommand(SqlCommand cmd, string oql, ParameterList parameters) + { + //解析过滤部份Sql语句 + string updateString = SyntaxAnalyzer.ParseSql(oql, new NotesRecordMap()); + cmd.CommandText = "update NotesRecord set " + updateString; + cmd.Parameters.Clear(); + //添加参数 + if (parameters != null) + { + foreach (string key in parameters.Keys) + { + cmd.Parameters.Add(new SqlParameter(key, parameters[key])); + } + } + return cmd.ExecuteNonQuery(); + } + + /// + /// 不使用事务的更新方法 + /// + /// 对象查询语句 + /// 参数列表 + /// 影响的记录行数 + internal static int Update(string oql, ParameterList parameters) + { + using (SqlConnection conn = new SqlConnection(Connection.ConnectionString)) + { + conn.Open(); + using (SqlCommand cmd = conn.CreateCommand()) + { + return ExcuteUpdateCommand(cmd, oql, parameters); + } + } + } + + /// + /// 使用事务的更新方法 + /// + /// 实现共享Connection的对象 + /// 对象查询语句 + /// 参数列表 + /// 影响的记录行数 + internal static int Update(Connection connection, string oql, ParameterList parameters) + { + return ExcuteUpdateCommand(connection.Command, oql, parameters); + } + #endregion + + #region 查询实体集合 + /// + /// 执行Command获取对象列表 + /// + /// Command对象 + /// 递归类型 + /// 递归深度 + /// 实体类对象列表 + internal static List ExcuteSelectCommand(SqlCommand cmd,RecursiveType recursiveType,int recursiveDepth) + { + List notesRecordList = new List(); + using (SqlDataReader dr = cmd.ExecuteReader()) + { + while (dr.Read()) + { + NotesRecord notesRecord = DataReaderToEntity(dr); + notesRecordList.Add(notesRecord); + } + } + return notesRecordList; + } + /// + /// 执行查询命令 + /// + /// Command对象 + /// 对象查询语句 + /// 参数列表 + /// 递归类型 + /// 递归深度 + /// 实体类对象集合 + internal static List ExcuteSelectCommand(SqlCommand cmd, string oql, ParameterList parameters,RecursiveType recursiveType,int recursiveDepth) + { + //解析过滤部份Sql语句 + string filterString = SyntaxAnalyzer.ParseSql(oql, new NotesRecordMap()); + if (filterString != string.Empty) + { + if(filterString.Trim().ToLower().IndexOf("order ")!=0) + filterString = " where " + filterString; + } + cmd.Parameters.Clear(); + cmd.CommandText = "select * from NotesRecord " + filterString; + //添加参数 + if (parameters != null) + { + foreach (string key in parameters.Keys) + { + cmd.Parameters.Add(new SqlParameter(key, parameters[key])); + } + } + return ExcuteSelectCommand(cmd, recursiveType, recursiveDepth); + } + + /// + /// 根据对象查询语句查询实体集合 + /// + /// 实体类对象集合 + internal static List Select() + { + using(SqlConnection conn=new SqlConnection(Connection.ConnectionString)) + { + conn.Open(); + using (SqlCommand cmd = conn.CreateCommand()) + { + cmd.CommandText = "select * from NotesRecord"; + return ExcuteSelectCommand(cmd, RecursiveType.Parent, 1); + } + } + } + /// + /// 根据对象查询语句查询实体集合 + /// + /// 递归类型 + /// 递归深度 + /// 实体类对象集合 + internal static List Select(RecursiveType recursiveType, int recursiveDepth) + { + using(SqlConnection conn=new SqlConnection(Connection.ConnectionString)) + { + conn.Open(); + using (SqlCommand cmd = conn.CreateCommand()) + { + cmd.CommandText = "select * from NotesRecord"; + return ExcuteSelectCommand(cmd, recursiveType, recursiveDepth); + } + } + } + + /// + /// 根据对象查询语句查询实体集合 + /// + /// 对象查询语句 + /// 参数列表 + /// 实体类对象集合 + internal static List Select(string oql, ParameterList parameters) + { + using(SqlConnection conn=new SqlConnection(Connection.ConnectionString)) + { + conn.Open(); + using (SqlCommand cmd = conn.CreateCommand()) + { + return ExcuteSelectCommand(cmd, oql, parameters, RecursiveType.Parent, 1); + } + } + } + + /// + /// 根据对象查询语句查询实体集合 + /// + /// 对象查询语句 + /// 参数列表 + /// 递归类型 + /// 递归深度 + /// 实体类对象集合 + internal static List Select(string oql, ParameterList parameters,RecursiveType recursiveType, int recursiveDepth) + { + using(SqlConnection conn=new SqlConnection(Connection.ConnectionString)) + { + conn.Open(); + using (SqlCommand cmd = conn.CreateCommand()) + { + return ExcuteSelectCommand(cmd, oql, parameters, recursiveType, recursiveDepth); + } + } + } + + /// + /// 根据对象查询语句查询实体集合(启用事务) + /// + /// 连接对象 + /// 对象查询语句 + /// 参数列表 + /// 递归类型 + /// 递归深度 + /// 实体类对象集合 + internal static List Select(Connection connection, string oql, ParameterList parameters, RecursiveType recursiveType, int recursiveDepth) + { + return ExcuteSelectCommand(connection.Command, oql, parameters,recursiveType, recursiveDepth); + } + #endregion + + #region 查询单个实体 + + /// + /// 递归查询单个实体 + /// + /// Command对象 + /// 递归类型 + /// 递归深度 + /// 实体对象 + internal static NotesRecord ExcuteSelectSingleCommand(SqlCommand cmd,RecursiveType recursiveType,int recursiveDepth) + { + NotesRecord notesRecord=null; + using (SqlDataReader dr = cmd.ExecuteReader()) + { + if(dr.Read()) + notesRecord = DataReaderToEntity(dr); + } + if(notesRecord==null) + return notesRecord; + return notesRecord; + } + /// + /// 更据对象查询语句递归查询单个实体 + /// + /// Command对象 + /// 对象查询语句 + /// 参数列表 + /// 递归类型 + /// 递归深度 + /// 实体对象 + internal static NotesRecord ExcuteSelectSingleCommand(SqlCommand cmd, string oql, ParameterList parameters,RecursiveType recursiveType,int recursiveDepth) + { + //解析过滤部份Sql语句 + string filterString = SyntaxAnalyzer.ParseSql(oql, new NotesRecordMap()); + if(filterString!=string.Empty) + { + filterString=" where "+filterString; + } + cmd.CommandText = "select * from NotesRecord " + filterString; + cmd.Parameters.Clear(); + //添加参数 + if (parameters != null) + { + foreach (string key in parameters.Keys) + { + cmd.Parameters.Add(new SqlParameter(key, parameters[key])); + } + } + return ExcuteSelectSingleCommand(cmd, recursiveType, recursiveDepth); + } + + /// + /// 更据对象查询语句递归查询单个实体 + /// + /// Command对象 + /// 对象查询语句 + /// 参数列表 + /// 递归类型 + /// 递归深度 + /// 实体对象 + internal static NotesRecord SelectSingle(string oql, ParameterList parameters, RecursiveType recursiveType, int recursiveDepth) + { + using(SqlConnection conn=new SqlConnection(Connection.ConnectionString)) + { + conn.Open(); + using (SqlCommand cmd = conn.CreateCommand()) + { + return ExcuteSelectSingleCommand(cmd, oql, parameters, recursiveType, recursiveDepth); + } + } + } + + /// + /// 更据对象查询语句查询单个实体 + /// + /// Command对象 + /// 对象查询语句 + /// 参数列表 + /// 实体对象 + internal static NotesRecord SelectSingle(string oql, ParameterList parameters) + { + return SelectSingle(oql,parameters,RecursiveType.Parent,1); + } + + /// + /// 更据对象查询语句并启用事务查询单个实体 + /// + /// 连接对象 + /// 对象查询语句 + /// 参数列表 + /// 实体对象 + internal static NotesRecord SelectSingle(Connection connection, string oql, ParameterList parameters, RecursiveType recursiveType, int recursiveDepth) + { + return ExcuteSelectSingleCommand(connection.Command, oql, parameters, recursiveType, recursiveDepth); + } + + /// + /// 更据主键值递归查询单个实体 + /// + /// Command对象 + /// 主键值 + /// 递归类型 + /// 递归深度 + /// 实体对象 + internal static NotesRecord SelectSingle(SqlCommand cmd, int? id,RecursiveType recursiveType,int recursiveDepth) + { + cmd.Parameters.Clear(); + if(id.HasValue) + { + cmd.CommandText = "select * from NotesRecord where Id=@pk"; + cmd.Parameters.Add(new SqlParameter("@pk",id.Value)); + } + else + { + cmd.CommandText = "select * from NotesRecord where Id is null"; + } + return ExcuteSelectSingleCommand(cmd, recursiveType, recursiveDepth); + } + + /// + /// 按主键字段查询特定实体 + /// + /// 主键值 + /// 实体类对象 + internal static NotesRecord SelectSingle(int? id) + { + using(SqlConnection conn=new SqlConnection(Connection.ConnectionString)) + { + conn.Open(); + using (SqlCommand cmd = conn.CreateCommand()) + { + return SelectSingle(cmd,id,RecursiveType.Parent,1); + } + } + } + /// + /// 按主键字段查询特定实体 + /// + /// 主键值 + /// 递归类型 + /// 递归深度 + /// 实体类对象 + internal static NotesRecord SelectSingle(int? id, RecursiveType recursiveType, int recursiveDepth) + { + using(SqlConnection conn=new SqlConnection(Connection.ConnectionString)) + { + conn.Open(); + using (SqlCommand cmd = conn.CreateCommand()) + { + return SelectSingle(cmd,id, recursiveType, recursiveDepth); + } + } + } + + /// + /// 使用事务并按主键字段查询特定实体 + /// + /// 连接对象 + /// 主键值 + /// 实体类对象 + internal static NotesRecord SelectSingle(Connection connection,int? id, RecursiveType recursiveType, int recursiveDepth) + { + return SelectSingle(connection.Command, id, recursiveType, recursiveDepth); + } + #endregion + + + /// + /// 从DataReader中取出值生成实体对象 + /// + /// 查询对象 + /// 过滤条件字符串 + private static NotesRecord DataReaderToEntity(SqlDataReader dr) + { + NotesRecord entity = new NotesRecord (); + if(dr["Id"]!=System.DBNull.Value) + { + entity.Id=Convert.ToInt32(dr["Id"]); + } + if(dr["NoteName"]!=System.DBNull.Value) + { + entity.NoteName=dr["NoteName"].ToString(); + } + if(dr["RecordTime"]!=System.DBNull.Value) + { + entity.RecordTime=Convert.ToDateTime(dr["RecordTime"]); + } + if(dr["Content1"]!=System.DBNull.Value) + { + entity.Content1=dr["Content1"].ToString(); + } + if(dr["Content2"]!=System.DBNull.Value) + { + entity.Content2=dr["Content2"].ToString(); + } + if(dr["Content3"]!=System.DBNull.Value) + { + entity.Content3=dr["Content3"].ToString(); + } + if(dr["Content4"]!=System.DBNull.Value) + { + entity.Content4=dr["Content4"].ToString(); + } + if(dr["Content5"]!=System.DBNull.Value) + { + entity.Content5=dr["Content5"].ToString(); + } + if(dr["Content6"]!=System.DBNull.Value) + { + entity.Content6=dr["Content6"].ToString(); + } + if(dr["Content7"]!=System.DBNull.Value) + { + entity.Content7=dr["Content7"].ToString(); + } + if(dr["Content8"]!=System.DBNull.Value) + { + entity.Content8=dr["Content8"].ToString(); + } + if(dr["Content9"]!=System.DBNull.Value) + { + entity.Content9=dr["Content9"].ToString(); + } + if(dr["ExecWork"]!=System.DBNull.Value) + { + entity.ExecWork=dr["ExecWork"].ToString(); + } + if(dr["OperatorId"]!=System.DBNull.Value) + { + entity.OperatorId=Convert.ToInt32(dr["OperatorId"]); + } + if(dr["OperatorTime"]!=System.DBNull.Value) + { + entity.OperatorTime=Convert.ToDateTime(dr["OperatorTime"]); + } + if(dr["Remark"]!=System.DBNull.Value) + { + entity.Remark=dr["Remark"].ToString(); + } + return entity; + } + } +} + diff --git a/AIMSEntity/DAL/Extension/DNotesRecord.cs b/AIMSEntity/DAL/Extension/DNotesRecord.cs new file mode 100644 index 0000000..6fea8ce --- /dev/null +++ b/AIMSEntity/DAL/Extension/DNotesRecord.cs @@ -0,0 +1,13 @@ +using System; +using System.Data; +using System.Data.SqlClient; +using System.Collections; +using System.Collections.Generic; +using AIMSModel; +using AIMSObjectQuery; +namespace AIMSDAL +{ + internal partial class DNotesRecord + { + } +} diff --git a/AIMSEntity/Extensions/BNotesRecords.cs b/AIMSEntity/Extensions/BNotesRecords.cs new file mode 100644 index 0000000..c8886af --- /dev/null +++ b/AIMSEntity/Extensions/BNotesRecords.cs @@ -0,0 +1,23 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Data; +using System.Xml; +using AIMSModel; +using HelperDB; +using DrawGraph; +using AIMSExtension; + +namespace AIMSBLL +{ + public class BNotesRecords + { + public static DataTable GetMonthDayTable(string beginTime, string endTime) + { + string strSql = " select DATEADD(dd,number,'" + beginTime + "') [RecordTime] from master..spt_values where type='p' and DATEDIFF(dd,DATEADD(dd,number,'" + beginTime + "'),CONVERT(varchar(10),'" + endTime + "',120))>0"; + return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString()); + } + + } +} diff --git a/AIMSEntity/Extensions/BOperationRecord.cs b/AIMSEntity/Extensions/BOperationRecord.cs index b0159ae..36d26cb 100644 --- a/AIMSEntity/Extensions/BOperationRecord.cs +++ b/AIMSEntity/Extensions/BOperationRecord.cs @@ -61,7 +61,9 @@ namespace AIMSBLL _record.FareType = OperationFrontdt.Rows[0]["PatientKind"].ToString(); _record.BloodType = OperationFrontdt.Rows[0]["BloodType"].ToString(); _record.RHBloodType = OperationFrontdt.Rows[0]["RHBloodType"].ToString(); - ASALevel = OperationFrontdt.Rows[0]["ASA"].ToString(); + _record.OperationSite = OperationFrontdt.Rows[0]["OperationSite"].ToString(); + if (_record.OperationSite == "内镜室" && _record.Bed == "") _record.Bed = "-"; + ASALevel = OperationFrontdt.Rows[0]["ASA"].ToString(); if (OperationFrontdt.Rows[0]["Height"].ToString() != "") { double Height = 0; diff --git a/AIMSEntity/Model/AutoGenerate/NotesRecord.cs b/AIMSEntity/Model/AutoGenerate/NotesRecord.cs new file mode 100644 index 0000000..c895096 --- /dev/null +++ b/AIMSEntity/Model/AutoGenerate/NotesRecord.cs @@ -0,0 +1,158 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using AIMSDAL; + +namespace AIMSModel +{ + [Serializable] + public partial class NotesRecord + { + private int? id; + private string noteName; + private DateTime? recordTime; + private string content1; + private string content2; + private string content3; + private string content4; + private string content5; + private string content6; + private string content7; + private string content8; + private string content9; + private string execWork; + private int? operatorId; + private DateTime? operatorTime; + private string remark; + + + /// + /// + /// + public int? Id + { + get{ return id; } + set{ id=value; } + } + /// + /// + /// + public string NoteName + { + get{ return noteName; } + set{ noteName=value; } + } + /// + /// + /// + public DateTime? RecordTime + { + get{ return recordTime; } + set{ recordTime=value; } + } + /// + /// + /// + public string Content1 + { + get{ return content1; } + set{ content1=value; } + } + /// + /// + /// + public string Content2 + { + get{ return content2; } + set{ content2=value; } + } + /// + /// + /// + public string Content3 + { + get{ return content3; } + set{ content3=value; } + } + /// + /// + /// + public string Content4 + { + get{ return content4; } + set{ content4=value; } + } + /// + /// + /// + public string Content5 + { + get{ return content5; } + set{ content5=value; } + } + /// + /// + /// + public string Content6 + { + get{ return content6; } + set{ content6=value; } + } + /// + /// + /// + public string Content7 + { + get{ return content7; } + set{ content7=value; } + } + /// + /// + /// + public string Content8 + { + get{ return content8; } + set{ content8=value; } + } + /// + /// + /// + public string Content9 + { + get{ return content9; } + set{ content9=value; } + } + /// + /// + /// + public string ExecWork + { + get{ return execWork; } + set{ execWork=value; } + } + /// + /// + /// + public int? OperatorId + { + get{ return operatorId; } + set{ operatorId=value; } + } + /// + /// + /// + public DateTime? OperatorTime + { + get{ return operatorTime; } + set{ operatorTime=value; } + } + /// + /// + /// + public string Remark + { + get{ return remark; } + set{ remark=value; } + } + } +} diff --git a/AIMSEntity/Model/Extension/NotesRecord.cs b/AIMSEntity/Model/Extension/NotesRecord.cs new file mode 100644 index 0000000..c33a47b --- /dev/null +++ b/AIMSEntity/Model/Extension/NotesRecord.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using AIMSDAL; +namespace AIMSModel +{ + public partial class NotesRecord + { + } +} diff --git a/AIMSEntity/ObjectQuery/NotesRecordMap.cs b/AIMSEntity/ObjectQuery/NotesRecordMap.cs new file mode 100644 index 0000000..7d634d6 --- /dev/null +++ b/AIMSEntity/ObjectQuery/NotesRecordMap.cs @@ -0,0 +1,49 @@ +using System; +using System.Collections; +using System.Collections.Generic; + +namespace AIMSObjectQuery +{ + internal partial class NotesRecordMap:IMap + { + private Dictionary dictionary = new Dictionary(); + public NotesRecordMap() + { + dictionary.Add("id", "Id"); + dictionary.Add("notename", "NoteName"); + dictionary.Add("recordtime", "RecordTime"); + dictionary.Add("content1", "Content1"); + dictionary.Add("content2", "Content2"); + dictionary.Add("content3", "Content3"); + dictionary.Add("content4", "Content4"); + dictionary.Add("content5", "Content5"); + dictionary.Add("content6", "Content6"); + dictionary.Add("content7", "Content7"); + dictionary.Add("content8", "Content8"); + dictionary.Add("content9", "Content9"); + dictionary.Add("execwork", "ExecWork"); + dictionary.Add("operatorid", "OperatorId"); + dictionary.Add("operatortime", "OperatorTime"); + dictionary.Add("remark", "Remark"); + } + + #region IMap 成员 + + public string this[string propertyName] + { + get + { + try + { + return dictionary[propertyName.ToLower()]; + } + catch (KeyNotFoundException) + { + throw new Exception(propertyName + "属性不存在"); + } + } + } + + #endregion + } +} diff --git a/DrawGraph/AreaManage/AnalgesiaDataManage.cs b/DrawGraph/AreaManage/AnalgesiaDataManage.cs index 5873162..a40c3a7 100644 --- a/DrawGraph/AreaManage/AnalgesiaDataManage.cs +++ b/DrawGraph/AreaManage/AnalgesiaDataManage.cs @@ -276,6 +276,8 @@ namespace DrawGraph { tokenEditor.ValidateToken -= new DevComponents.DotNetBar.Controls.ValidateTokenEventHandler(this.tokenEditor_ValidateToken); tokenEditor.ValidateToken += new DevComponents.DotNetBar.Controls.ValidateTokenEventHandler(this.tokenEditor_ValidateToken); + tokenEditor.DoubleClick -= EditTextBox2_DoubleClick; + tokenEditor.DoubleClick += EditTextBox2_DoubleClick; } } @@ -937,5 +939,19 @@ namespace DrawGraph TokenEditorManage.SaveDictItem(template, OpeRecord as OperationRecord, tokenEditor, aEdit); } + private void EditTextBox2_DoubleClick(object sender, EventArgs e) + { + DevComponents.DotNetBar.Controls.TokenEditor tokenEditor = ((DevComponents.DotNetBar.Controls.TokenEditor)sender); + string text = tokenEditor.Text; + if (text.Trim() != "") + { + tokenEditor.SelectedTokens.Clear(); + tokenEditor.EditTextBox.TextChanged -= EditTextBox_TextChanged; + tokenEditor.EditTextBox.Text = text; + tokenEditor.IsPopupOpen = false; + tokenEditor.EditTextBox.TextChanged += EditTextBox_TextChanged; + } + } + } } diff --git a/DrawGraph/AreaManage/AreaManageBase.cs b/DrawGraph/AreaManage/AreaManageBase.cs index d46af49..dd5152f 100644 --- a/DrawGraph/AreaManage/AreaManageBase.cs +++ b/DrawGraph/AreaManage/AreaManageBase.cs @@ -63,7 +63,7 @@ namespace DrawGraph private string instanceName = ""; public delegate void MouseWheelHandler(object sender, MouseEventArgs e); - public event MouseWheelHandler MouseWheelParam; + public event MouseWheelHandler MouseWheelParam; [JsonIgnore] [XmlIgnore] @@ -291,7 +291,14 @@ namespace DrawGraph //取消滚轮事件 public void numericUpDown1_MouseWheel(object sender, MouseEventArgs e) { - MouseWheelParam(sender, e); + try + { + if (MouseWheelParam != null) + MouseWheelParam(sender, e); + } + catch (Exception) + { + } } /// /// 把OperationRecord 里的数据绑定到到画板上 diff --git a/DrawGraph/AreaManage/OperationRecord.cs b/DrawGraph/AreaManage/OperationRecord.cs index aa8db79..ed59b82 100644 --- a/DrawGraph/AreaManage/OperationRecord.cs +++ b/DrawGraph/AreaManage/OperationRecord.cs @@ -199,6 +199,7 @@ namespace DrawGraph private string ortherDoctorId; private string operationSiteId; private string operationPositionId; + private string operationSite; [ClassAttributs(Description = "住院门诊类型")] public string PatientType @@ -378,6 +379,15 @@ namespace DrawGraph get { return operationPositionId; } set { operationPositionId = value; } } + [ClassAttributs(Description = "手术地点")] + /// + /// 手术地点 + /// + public string OperationSite + { + get { return operationSite; } + set { operationSite = value; } + } //术中信息