作废状态停止手术

手术申请已作废状态查询
柱状图时间有问题
饼状图 每月各科室手术量
This commit is contained in:
leomon 2022-11-18 22:19:14 +08:00
parent 2c7f4cdab2
commit 0f238422ec
25 changed files with 1119 additions and 752 deletions

View File

@ -2,6 +2,7 @@ using AIMS.DocManager;
using AIMS.OperationDoing.AnasRecordBill;
using AIMS.OperationDoing.AnasRecordBill.UI;
using AIMSBLL;
using AIMSExtension;
using AIMSModel;
using DCSoftDotfuscate;
using DevComponents.DotNetBar;
@ -203,7 +204,7 @@ namespace AIMS
public void LoadDataRescue()
{
timerLoadRescue = new System.Windows.Forms.Timer(components);
timerLoadRescue = new System.Windows.Forms.Timer();
timerLoadRescue.Enabled = true;//调试时设置为FALSE
timerLoadRescue.Interval = 300;
timerLoadRescue.Tick -= timerLoadRescue_Tick;
@ -224,7 +225,8 @@ namespace AIMS
//Task.Factory.StartNew(() =>
//{
BindOperationsListChart();
BindOperationsListChart2();
SetBackColor(expandablePanel5.Controls.Find("button" + DateTime.Now.Month, false)[0] as Button);
BindOperationsListChart2(DateTime.Now.Month.ToString());
BindfrmNoticeMain();
//});
@ -286,15 +288,16 @@ namespace AIMS
{
}
}
public void BindOperationsListChart2()
public void BindOperationsListChart2(string Months)
{
DataTable dt = SelectPatient.GetSelectPatientChart2();
DateTime dateTime = new DateTime(DateTime.Now.Year, int.Parse(Months), 1);
DataTable dt = SelectPatient.GetSelectPatientChart2(dateTime);
List<string> xData = new List<string>();
List<int> yData = new List<int>();
foreach (DataRow item in dt.Rows)
{
xData.Add(item["dat"].ToString() + "ÔÂ");
xData.Add(item["dat"].ToString());
yData.Add(int.Parse(item["con"].ToString()));
}
chart2.Series[0]["PieLabelStyle"] = "Outside";//将文字移到外侧
@ -310,6 +313,12 @@ namespace AIMS
selsideNavItem = sideNavItem;
sideNavItem.Text = sideNavItem.Text + " →";
AIMSModel.Menu menu = sideNavItem.Tag as AIMSModel.Menu;
if (menu.Name == "±¨±íͳ¼Æ")
{
BrowserHelper.OpenBrowserUrlChrome(menu.Path);
}
else
{
string path = menu.Path;
if (path.Length > 0)
{
@ -337,6 +346,7 @@ namespace AIMS
}
}
}
}
public Form GetForm(string Path)
{
object result = null;
@ -522,5 +532,24 @@ namespace AIMS
dg.AlternatingRowsDefaultCellStyle.BackColor = Color.AliceBlue;
}
}
private void button1_Click(object sender, EventArgs e)
{
SetBackColor(sender as Button);
BindOperationsListChart2((sender as Button).Text.Replace("ÔÂ", ""));
}
public void SetBackColor(Button btn)
{
btn.BackColor = Color.DeepSkyBlue;
foreach (var item in btn.Parent.Controls)
{
if (item != btn)
if (item is Button)
{
(item as Button).BackColor = Color.White;
}
}
}
}
}

Binary file not shown.

View File

@ -178,30 +178,6 @@
MwW6KkGb9Hmsq0MogxZksYGRWGdJ3RrGveY7/uufywXhBhmZbeQU/ileAAAAAElFTkSuQmCC
</value>
</data>
<metadata name="dataGridViewTextBoxColumn5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn7.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn8.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn9.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn10.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn11.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn12.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<data name="expandablePanel6.ButtonImageCollapse" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAYAAACprHcmAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6
@ -274,6 +250,30 @@
MwW6KkGb9Hmsq0MogxZksYGRWGdJ3RrGveY7/uufywXhBhmZbeQU/ileAAAAAElFTkSuQmCC
</value>
</data>
<metadata name="dataGridViewTextBoxColumn5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn7.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn8.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn9.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn10.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn11.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn12.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>

View File

@ -52,8 +52,8 @@ namespace AIMS.OperationAfter.UI
tokenEditor1.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken("4,5", "已排程"));
tokenEditor1.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken("6,7", "手术中"));
tokenEditor1.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken("8,9", "手术结束"));
tokenEditor1.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken("10", "退回"));
tokenEditor1.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken("11", "作废"));
tokenEditor1.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken("10", "作废"));
tokenEditor1.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken("11", "术中停止"));
tokenEditor1.SelectedTokens.Add(tokenEditor1.Tokens[1]);

View File

@ -9,6 +9,11 @@ using System.Windows.Forms;
using System.Drawing.Drawing2D;
using AIMSModel;
using AIMSBLL;
using AIMSExtension;
using DCSoftDotfuscate;
using DrawGraph;
using System.Reflection;
using Newtonsoft.Json;
namespace AIMS.OperationAfter.UI
{
@ -30,8 +35,9 @@ namespace AIMS.OperationAfter.UI
{
List<OperationRoom> rooms = BOperationRoom.GetOperationRooms("IsValid=1 and Site='手术室'");
SetTabPages(rooms);
//DataTable dt = BLL.BPatients.GetPatientOperationInfo();
//FullUCControlData(dt);
DataTable dt = SelectPatient.GetTodayDoOpePatientDataTable
(DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd")));
FullUCControlData(dt);
timer1.Enabled = true;
timer1.Start();
}
@ -76,6 +82,7 @@ namespace AIMS.OperationAfter.UI
{
AIMS.OremrUserControl.UCPatientPhysiology uc = new AIMS.OremrUserControl.UCPatientPhysiology();
uc.OperationRoom = room.Name;
uc.OperationRoomIp = room.Ip;
uc.lblRoom.Tag = room.Id;
uc.panel2.Visible = false;
uc.Location = new Point(j * (this.Width / 5) + 10, i * (uc.Height + 20) + 10);
@ -103,14 +110,14 @@ namespace AIMS.OperationAfter.UI
AIMS.OremrUserControl.UCPatientPhysiology uc = ctl as AIMS.OremrUserControl.UCPatientPhysiology;
foreach (DataRow dr in dt.Rows)
{
if (dr["SZOperationRoomId"].ToString() == uc.lblRoom.Tag.ToString())
if (dr["OperationRoomId"].ToString() == uc.lblRoom.Tag.ToString())
{
uc.panel2.Visible = true;
uc.Tag = dr["OperationRecordId"].ToString();
uc.Tag = dr["Id"].ToString();
uc.PatientName = dr["PatientName"].ToString();
uc.OperationName = dr["SZOperation"].ToString();
uc.AnaesthesiaMethod = dr["SZAnaesthesiaMethod"].ToString();
uc.OperationDoctor = dr["SZOperationDoctor"].ToString();
uc.OperationName = dr["ApplyOperationInfoName"].ToString();
uc.AnaesthesiaMethod = dr["AnaesthesiaMethodName"].ToString();
uc.OperationDoctor = dr["OperationDoctor"].ToString();
uc.OperationTime = dr["InRoomTime"].ToString();
FullPatientPhysiology(uc, Convert.ToInt32(uc.Tag));
break;
@ -126,42 +133,41 @@ namespace AIMS.OperationAfter.UI
/// </summary>
private void RefreshPatientPhysiology()
{
//DataTable dt = BLL.BPatients.GetPatientOperationInfo();
//for (int i = 0; i < tabControl.TabPages.Count; i++)
//{
// foreach (Control ctl in tabControl.TabPages[i].Controls)
// {
// if (ctl is AIMS.OremrUserControl.UCPatientPhysiology)
// {
// bool key = false;
// AIMS.OremrUserControl.UCPatientPhysiology uc = ctl as AIMS.OremrUserControl.UCPatientPhysiology;
// if (uc.Tag == null) continue;
// foreach (DataRow dr in dt.Rows)
// {
// if (uc.lblRoom.Tag.ToString() == dr["SZOperationRoomId"].ToString())
// {
// key = true;
// //填充控件信息
// uc.panel2.Visible = true;
// uc.pictureBox1.Image = Image.FromFile(Application.StartupPath + @"\Resources\心脏跳动.gif");
// uc.Tag = dr["OperationRecordId"].ToString();
// uc.PatientName = dr["PatientName"].ToString();
// uc.OperationName = dr["SZOperation"].ToString();
// uc.AnaesthesiaMethod = dr["SZAnaesthesiaMethod"].ToString();
// uc.OperationDoctor = dr["SZOperationDoctor"].ToString();
// uc.OperationTime = dr["InRoomTime"].ToString();
// //刷新生命体征数据
// FullPatientPhysiology(uc, Convert.ToInt32(uc.Tag));
// break;
// }
// }
// if (!key)
// {
// uc.panel2.Visible = false;
// }
// }
// }
//}
DataTable dt = SelectPatient.GetTodayDoOpePatientDataTable
(DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd")));
for (int i = 0; i < tabControl.TabPages.Count; i++)
{
foreach (Control ctl in tabControl.TabPages[i].Controls)
{
if (ctl is AIMS.OremrUserControl.UCPatientPhysiology)
{
bool key = false;
AIMS.OremrUserControl.UCPatientPhysiology uc = ctl as AIMS.OremrUserControl.UCPatientPhysiology;
if (uc.Tag == null) continue;
foreach (DataRow dr in dt.Rows)
{
if (uc.lblRoom.Tag.ToString() == dr["OperationRoomId"].ToString())
{
key = true;
uc.panel2.Visible = true;
uc.Tag = dr["Id"].ToString();
uc.PatientName = dr["PatientName"].ToString();
uc.OperationName = dr["ApplyOperationInfoName"].ToString();
uc.AnaesthesiaMethod = dr["AnaesthesiaMethodName"].ToString();
uc.OperationDoctor = dr["OperationDoctor"].ToString();
uc.OperationTime = dr["InRoomTime"].ToString();
//刷新生命体征数据
FullPatientPhysiology(uc, Convert.ToInt32(uc.Tag));
break;
}
}
if (!key)
{
uc.panel2.Visible = false;
}
}
}
}
}
/// <summary>
/// 为控件填充生命体征数据
@ -170,81 +176,106 @@ namespace AIMS.OperationAfter.UI
/// <param name="operationRecordId">手术编号</param>
private void FullPatientPhysiology(AIMS.OremrUserControl.UCPatientPhysiology uc, int operationRecordId)
{
//DataTable dtPhysioData = BLL.BOperationRecord.GetByOpeIDIsPhysioData(int.Parse(uc.lblRoom.Tag.ToString()));
//string hr = string.Empty;
//string spo2 = string.Empty;
//string br = string.Empty;
//string etco2 = string.Empty;
//string dia = string.Empty;
//string sys = string.Empty;
//foreach (DataRow dr in dtPhysioData.Rows)
//{
// if (dr["ParamValue"].ToString() == "" || dr["ParamValue"].ToString() == "0" || dr["ParamValue"].ToString().Contains("-")) continue;
// if (dr["ParameterName"].ToString().Equals("心率"))
// {
// hr = dr["ParamValue"].ToString();
// }
// if (dr["ParameterName"].ToString().Equals("氧饱和度"))
// {
// spo2 = dr["ParamValue"].ToString();
// }
// if (dr["ParameterName"].ToString().Equals("自主呼吸"))
// {
// br = dr["ParamValue"].ToString();
// }
// if (dr["ParameterName"].ToString().Equals("EtCO2"))
// {
// etco2 = dr["ParamValue"].ToString();
// }
// if (dr["ParameterName"].ToString().Equals("无创收缩压"))
// {
// dia = dr["ParamValue"].ToString();
// }
// if (dr["ParameterName"].ToString().Equals("无创舒张压"))
// {
// sys = dr["ParamValue"].ToString();
// }
//}
//if (hr.Length > 0)
//{
// uc.HR = hr.Substring(0, hr.IndexOf("."));
//}
//else
//{
// uc.HR = "--";
//}
//if (spo2.Length > 0)
//{
// uc.SpO2 = spo2.Substring(0, spo2.IndexOf("."));
//}
//else
//{
// uc.SpO2 = "--";
//}
//if (br.Length > 0)
//{
// uc.BR = br.Substring(0, br.IndexOf("."));
//}
//else
//{
// uc.BR = "--";
//}
//if (etco2.Length > 0)
//{
// uc.T = etco2.Substring(0, etco2.IndexOf(".") + 2);
//}
//else
//{
// uc.T = "--";
//}
//if (dia.Length > 0 && sys.Length > 0)
//{
// uc.SYS = dia.Substring(0, dia.IndexOf(".")) + "/" + sys.Substring(0, sys.IndexOf("."));
//}
//else
//{
// uc.SYS = "---/--";
//}
List<DeviceCacheData> lists = DeviceCacheData.Select(" IPAddress='" + uc.OperationRoomIp + "' and UpdateTime>='" + DateTime.Now.AddSeconds(-300) + "'");
string hr = string.Empty;
string spo2 = string.Empty;
string br = string.Empty;
string pr = string.Empty;
string etco2 = string.Empty;
string dia = string.Empty;
string sys = string.Empty;
if (lists != null && lists.Count > 0)
{
DeviceCacheData deviceCacheData = lists[0];
NowPhysioData nowPhysioData = JsonConvert.DeserializeObject<NowPhysioData>(deviceCacheData.JsonData);
foreach (PropertyInfo p in nowPhysioData.GetType().GetProperties())
{
object paramValue = p.GetValue(nowPhysioData, null);
if (paramValue != null && paramValue.ToString() != string.Empty && paramValue.ToString() != "NaN" && paramValue.ToString() != "NULL")
{
double value = Double.Parse(paramValue.ToString());
value = Convert.ToInt32(value);
if (p.Name.ToUpper() == "HR")
{
hr = value <= 0 ? "--" : value.ToString();
}
else if (p.Name.ToUpper() == "RESP")
{
br = value <= 0 ? "--" : value.ToString();
}
else if (p.Name.ToUpper() == "SPO2")
{
spo2 = value <= 0 ? "--" : value.ToString();
}
else if (p.Name.ToUpper() == "PR")
{
pr = value <= 0 ? "--" : value.ToString();
}
else if (p.Name.ToUpper() == "ETCO2")
{
spo2 = value <= 0 ? "--" : value.ToString();
}
else if (p.Name.ToUpper() == "DIA")
{
dia = value <= 0 ? "" : value.ToString();
}
else if (p.Name.ToUpper() == "SYS")
{
sys = value <= 0 ? "" : value.ToString();
}
else if (p.Name.ToUpper() == "DIA_H")
{
dia = value <= 0 ? "" : value.ToString();
}
else if (p.Name.ToUpper() == "SYS_H")
{
sys = value <= 0 ? "" : value.ToString();
}
}
}
}
if (hr.Length > 0)
{
uc.HR = hr;
}
else
{
uc.HR = "--";
}
if (spo2.Length > 0)
{
uc.SpO2 = spo2;
}
else
{
uc.SpO2 = "--";
}
if (br.Length > 0)
{
uc.BR = br;
}
else
{
uc.BR = "--";
}
if (etco2.Length > 0)
{
uc.T = etco2;
}
else
{
uc.T = "--";
}
if (dia.Length > 0 && sys.Length > 0)
{
uc.SYS = dia + "/" + sys;
}
else
{
uc.SYS = "---/--";
}
}
/// <summary>
/// 更新生命体征

View File

@ -62,6 +62,7 @@
this.cboRoom.Size = new System.Drawing.Size(150, 26);
this.cboRoom.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.cboRoom.TabIndex = 32;
this.cboRoom.Visible = false;
//
// label22
//
@ -71,6 +72,7 @@
this.label22.Size = new System.Drawing.Size(41, 12);
this.label22.TabIndex = 31;
this.label22.Text = "手术间";
this.label22.Visible = false;
//
// frmPhysiologyLargeScreen
//

View File

@ -1550,7 +1550,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
{
if (_record.SpileInTime != null && _record.SpileOutTime != null)
{
if (time >= _record.SpileInTime && time <= _record.SpileOutTime)
if (time >= _record.SpileInTime && time < _record.SpileOutTime.Value.AddMinutes(-3))
b = true;
}
if (_record.SpileInTime != null && _record.SpileOutTime == null)
@ -1563,7 +1563,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
{
if (_record.SpileInTime != null && _record.SpileOutTime != null)
{
if (time < _record.SpileInTime || time > _record.SpileOutTime)
if (time < _record.SpileInTime || time >= _record.SpileOutTime)
b = true;
}
if (_record.SpileInTime != null && _record.SpileOutTime == null)
@ -2247,10 +2247,6 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
private void btnsjzx_Click(object sender, EventArgs e)
{
//MessageBox.Show("未连接到服务器 请联系管理员或稍后再试!", "系统提示");
frmLISResult lISResult = new frmLISResult();
//lISResult.PatientNo = _record.InHospitalNo;
//lISResult.Show();
if (PublicMethod.GetHospitalName().Contains("秦皇岛"))
{
try

View File

@ -48,57 +48,63 @@
this.cboDepartment = new System.Windows.Forms.ComboBox();
this.label1 = new System.Windows.Forms.Label();
this.panel2 = new System.Windows.Forms.Panel();
this.CHK10 = new System.Windows.Forms.CheckBox();
this.btnFind = new System.Windows.Forms.Button();
this.panel3 = new System.Windows.Forms.Panel();
this.dgv = new System.Windows.Forms.DataGridView();
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.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.dataGridViewTextBoxColumn25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.CheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.ApplyId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.MdrecNoColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ArchivesNoColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.StateColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ApplyDepNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.PatientKindColume = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.SickBedColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.MdrecNoColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.PatientNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.SexColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.BirthDayColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.HeightColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.WeightColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.BloodTypeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.RHBloodTypeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.IlldistrictColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.SickBedColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Age = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OperationTypeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ApplyTimeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OrderOperationTimeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OperationTimeLeightColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.StateColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.IsReturnOperationColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.IsPlanReturnOperationColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ApplyDiagnoseInfoNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.DiagnoseRemarkColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ApplyOperationInfoNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OperationRemarkColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OperationLevelNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ApplyOperationCutTypeNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ApplyOperationPositionNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.AnaesthesiaMethodNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ContagionColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ApplyOperatorNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OperationDoctorColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Assistant1Column = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Assistant2Column = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Assistant3Column = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.InternColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OtherColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ApplyTimeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ApplyOperatorNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.VerifyTimeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.VerifyOperatorNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.PlanOperationTimeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OperationRoomColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ApplyDiagnoseInfoNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ApplyOperationInfoNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.AnaesthesiaMethodNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ApplyOperationPositionNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OperationLevelNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ApplyOperationCutTypeNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.AnesthesiaDoctorColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.InstrumentNurseColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.TourNurseColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.AnesthesiaDoctorSucceedColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.InstrumentNurseSucceedColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.TourNurseSucceedColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.InstrumentNurseColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OperationRoomColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.PlanOrder = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.RemarkColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.panel1.SuspendLayout();
this.toolStrip1.SuspendLayout();
@ -285,6 +291,7 @@
// panel2
//
this.panel2.BackColor = System.Drawing.Color.AliceBlue;
this.panel2.Controls.Add(this.CHK10);
this.panel2.Controls.Add(this.btnFind);
this.panel2.Controls.Add(this.txtMdrecNo);
this.panel2.Controls.Add(this.dtpBegInDate);
@ -301,9 +308,19 @@
this.panel2.Size = new System.Drawing.Size(942, 40);
this.panel2.TabIndex = 16;
//
// CHK10
//
this.CHK10.AutoSize = true;
this.CHK10.Location = new System.Drawing.Point(709, 13);
this.CHK10.Name = "CHK10";
this.CHK10.Size = new System.Drawing.Size(68, 18);
this.CHK10.TabIndex = 17;
this.CHK10.Text = "已作废";
this.CHK10.UseVisualStyleBackColor = true;
//
// btnFind
//
this.btnFind.Location = new System.Drawing.Point(714, 9);
this.btnFind.Location = new System.Drawing.Point(783, 11);
this.btnFind.Name = "btnFind";
this.btnFind.Size = new System.Drawing.Size(66, 23);
this.btnFind.TabIndex = 16;
@ -329,52 +346,30 @@
this.dgv.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.CheckBoxColumn,
this.ApplyId,
this.MdrecNoColumn,
this.ArchivesNoColumn,
this.StateColumn,
this.ApplyDepNameColumn,
this.PatientKindColume,
this.SickBedColumn,
this.MdrecNoColumn,
this.PatientNameColumn,
this.SexColumn,
this.BirthDayColumn,
this.HeightColumn,
this.WeightColumn,
this.BloodTypeColumn,
this.RHBloodTypeColumn,
this.IlldistrictColumn,
this.SickBedColumn,
this.Age,
this.OperationTypeColumn,
this.ApplyTimeColumn,
this.OrderOperationTimeColumn,
this.OperationTimeLeightColumn,
this.StateColumn,
this.IsReturnOperationColumn,
this.IsPlanReturnOperationColumn,
this.ApplyDiagnoseInfoNameColumn,
this.DiagnoseRemarkColumn,
this.ApplyOperationInfoNameColumn,
this.OperationRemarkColumn,
this.OperationLevelNameColumn,
this.ApplyOperationCutTypeNameColumn,
this.ApplyOperationPositionNameColumn,
this.AnaesthesiaMethodNameColumn,
this.ContagionColumn,
this.ApplyOperatorNameColumn,
this.OperationDoctorColumn,
this.Assistant1Column,
this.Assistant2Column,
this.Assistant3Column,
this.InternColumn,
this.OtherColumn,
this.ApplyTimeColumn,
this.ApplyOperatorNameColumn,
this.VerifyTimeColumn,
this.VerifyOperatorNameColumn,
this.PlanOperationTimeColumn,
this.OperationRoomColumn,
this.ApplyDiagnoseInfoNameColumn,
this.ApplyOperationInfoNameColumn,
this.AnaesthesiaMethodNameColumn,
this.ApplyOperationPositionNameColumn,
this.OperationLevelNameColumn,
this.ApplyOperationCutTypeNameColumn,
this.AnesthesiaDoctorColumn,
this.InstrumentNurseColumn,
this.TourNurseColumn,
this.AnesthesiaDoctorSucceedColumn,
this.InstrumentNurseSucceedColumn,
this.TourNurseSucceedColumn,
this.InstrumentNurseColumn,
this.OperationRoomColumn,
this.PlanOrder,
this.RemarkColumn});
this.dgv.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgv.Location = new System.Drawing.Point(0, 0);
@ -383,6 +378,214 @@
this.dgv.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
this.dgv.Size = new System.Drawing.Size(942, 436);
this.dgv.TabIndex = 3;
this.dgv.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dgv_RowPostPaint);
//
// dataGridViewTextBoxColumn1
//
this.dataGridViewTextBoxColumn1.DataPropertyName = "ApplyId";
this.dataGridViewTextBoxColumn1.HeaderText = "ApplyId";
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
this.dataGridViewTextBoxColumn1.ReadOnly = true;
this.dataGridViewTextBoxColumn1.Visible = false;
//
// dataGridViewTextBoxColumn2
//
this.dataGridViewTextBoxColumn2.DataPropertyName = "State";
this.dataGridViewTextBoxColumn2.HeaderText = "状态";
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
this.dataGridViewTextBoxColumn2.ReadOnly = true;
this.dataGridViewTextBoxColumn2.Width = 70;
//
// dataGridViewTextBoxColumn3
//
this.dataGridViewTextBoxColumn3.DataPropertyName = "ApplyDepName";
this.dataGridViewTextBoxColumn3.HeaderText = "申请科室";
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
this.dataGridViewTextBoxColumn3.ReadOnly = true;
this.dataGridViewTextBoxColumn3.Width = 80;
//
// dataGridViewTextBoxColumn4
//
this.dataGridViewTextBoxColumn4.DataPropertyName = "SickBed";
this.dataGridViewTextBoxColumn4.HeaderText = "床位";
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
this.dataGridViewTextBoxColumn4.ReadOnly = true;
this.dataGridViewTextBoxColumn4.Width = 70;
//
// dataGridViewTextBoxColumn5
//
this.dataGridViewTextBoxColumn5.DataPropertyName = "MdrecNo";
this.dataGridViewTextBoxColumn5.HeaderText = "住院号";
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
this.dataGridViewTextBoxColumn5.ReadOnly = true;
this.dataGridViewTextBoxColumn5.Width = 80;
//
// dataGridViewTextBoxColumn6
//
this.dataGridViewTextBoxColumn6.DataPropertyName = "PatientName";
this.dataGridViewTextBoxColumn6.HeaderText = "患者姓名";
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
this.dataGridViewTextBoxColumn6.ReadOnly = true;
this.dataGridViewTextBoxColumn6.Width = 80;
//
// dataGridViewTextBoxColumn7
//
this.dataGridViewTextBoxColumn7.DataPropertyName = "Sex";
this.dataGridViewTextBoxColumn7.HeaderText = "性别";
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
this.dataGridViewTextBoxColumn7.ReadOnly = true;
this.dataGridViewTextBoxColumn7.Width = 60;
//
// dataGridViewTextBoxColumn8
//
this.dataGridViewTextBoxColumn8.DataPropertyName = "Age";
this.dataGridViewTextBoxColumn8.HeaderText = "年龄";
this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
this.dataGridViewTextBoxColumn8.ReadOnly = true;
this.dataGridViewTextBoxColumn8.Width = 40;
//
// dataGridViewTextBoxColumn9
//
this.dataGridViewTextBoxColumn9.DataPropertyName = "OperationType";
this.dataGridViewTextBoxColumn9.HeaderText = "手术类型";
this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
this.dataGridViewTextBoxColumn9.ReadOnly = true;
this.dataGridViewTextBoxColumn9.Width = 80;
//
// dataGridViewTextBoxColumn10
//
this.dataGridViewTextBoxColumn10.DataPropertyName = "ApplyTime";
this.dataGridViewTextBoxColumn10.HeaderText = "申请时间";
this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10";
this.dataGridViewTextBoxColumn10.ReadOnly = true;
this.dataGridViewTextBoxColumn10.Width = 60;
//
// dataGridViewTextBoxColumn11
//
this.dataGridViewTextBoxColumn11.DataPropertyName = "OrderOperationTime";
this.dataGridViewTextBoxColumn11.HeaderText = "预约时间";
this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11";
this.dataGridViewTextBoxColumn11.ReadOnly = true;
this.dataGridViewTextBoxColumn11.Width = 80;
//
// dataGridViewTextBoxColumn12
//
this.dataGridViewTextBoxColumn12.DataPropertyName = "ApplyOperatorName";
this.dataGridViewTextBoxColumn12.HeaderText = "申请人";
this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12";
this.dataGridViewTextBoxColumn12.ReadOnly = true;
this.dataGridViewTextBoxColumn12.Width = 120;
//
// dataGridViewTextBoxColumn13
//
this.dataGridViewTextBoxColumn13.DataPropertyName = "OperationDoctor";
this.dataGridViewTextBoxColumn13.HeaderText = "术者";
this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13";
this.dataGridViewTextBoxColumn13.ReadOnly = true;
this.dataGridViewTextBoxColumn13.Width = 60;
//
// dataGridViewTextBoxColumn14
//
this.dataGridViewTextBoxColumn14.DataPropertyName = "Assistant1";
this.dataGridViewTextBoxColumn14.HeaderText = "助手";
this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14";
this.dataGridViewTextBoxColumn14.ReadOnly = true;
this.dataGridViewTextBoxColumn14.Width = 70;
//
// dataGridViewTextBoxColumn15
//
this.dataGridViewTextBoxColumn15.DataPropertyName = "ApplyDiagnoseInfoName";
this.dataGridViewTextBoxColumn15.HeaderText = "术前诊断";
this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15";
this.dataGridViewTextBoxColumn15.ReadOnly = true;
this.dataGridViewTextBoxColumn15.Width = 150;
//
// dataGridViewTextBoxColumn16
//
this.dataGridViewTextBoxColumn16.DataPropertyName = "ApplyOperationInfoName";
this.dataGridViewTextBoxColumn16.HeaderText = "拟施手术";
this.dataGridViewTextBoxColumn16.Name = "dataGridViewTextBoxColumn16";
this.dataGridViewTextBoxColumn16.ReadOnly = true;
this.dataGridViewTextBoxColumn16.Width = 150;
//
// dataGridViewTextBoxColumn17
//
this.dataGridViewTextBoxColumn17.DataPropertyName = "AnaesthesiaMethodName";
this.dataGridViewTextBoxColumn17.HeaderText = "拟施麻醉";
this.dataGridViewTextBoxColumn17.Name = "dataGridViewTextBoxColumn17";
this.dataGridViewTextBoxColumn17.ReadOnly = true;
this.dataGridViewTextBoxColumn17.Width = 150;
//
// dataGridViewTextBoxColumn18
//
this.dataGridViewTextBoxColumn18.DataPropertyName = "ApplyOperationPositionName";
this.dataGridViewTextBoxColumn18.HeaderText = "手术部位";
this.dataGridViewTextBoxColumn18.Name = "dataGridViewTextBoxColumn18";
this.dataGridViewTextBoxColumn18.ReadOnly = true;
//
// dataGridViewTextBoxColumn19
//
this.dataGridViewTextBoxColumn19.DataPropertyName = "OperationLevelName";
this.dataGridViewTextBoxColumn19.HeaderText = "手术分级";
this.dataGridViewTextBoxColumn19.Name = "dataGridViewTextBoxColumn19";
this.dataGridViewTextBoxColumn19.ReadOnly = true;
this.dataGridViewTextBoxColumn19.Width = 80;
//
// dataGridViewTextBoxColumn20
//
this.dataGridViewTextBoxColumn20.DataPropertyName = "ApplyOperationCutTypeName";
this.dataGridViewTextBoxColumn20.HeaderText = "切口类型";
this.dataGridViewTextBoxColumn20.Name = "dataGridViewTextBoxColumn20";
this.dataGridViewTextBoxColumn20.ReadOnly = true;
this.dataGridViewTextBoxColumn20.Width = 70;
//
// dataGridViewTextBoxColumn21
//
this.dataGridViewTextBoxColumn21.DataPropertyName = "AnesthesiaDoctor";
this.dataGridViewTextBoxColumn21.HeaderText = "麻醉医生";
this.dataGridViewTextBoxColumn21.Name = "dataGridViewTextBoxColumn21";
this.dataGridViewTextBoxColumn21.ReadOnly = true;
this.dataGridViewTextBoxColumn21.Width = 80;
//
// dataGridViewTextBoxColumn22
//
this.dataGridViewTextBoxColumn22.DataPropertyName = "TourNurse";
this.dataGridViewTextBoxColumn22.HeaderText = "巡回护士";
this.dataGridViewTextBoxColumn22.Name = "dataGridViewTextBoxColumn22";
//
// dataGridViewTextBoxColumn23
//
this.dataGridViewTextBoxColumn23.DataPropertyName = "InstrumentNurse";
this.dataGridViewTextBoxColumn23.HeaderText = "器械护士";
this.dataGridViewTextBoxColumn23.Name = "dataGridViewTextBoxColumn23";
//
// dataGridViewTextBoxColumn24
//
this.dataGridViewTextBoxColumn24.DataPropertyName = "OperationRoom";
this.dataGridViewTextBoxColumn24.HeaderText = "手术间";
this.dataGridViewTextBoxColumn24.Name = "dataGridViewTextBoxColumn24";
this.dataGridViewTextBoxColumn24.ReadOnly = true;
//
// dataGridViewTextBoxColumn25
//
this.dataGridViewTextBoxColumn25.DataPropertyName = "Remark";
this.dataGridViewTextBoxColumn25.HeaderText = "备注";
this.dataGridViewTextBoxColumn25.Name = "dataGridViewTextBoxColumn25";
this.dataGridViewTextBoxColumn25.ReadOnly = true;
this.dataGridViewTextBoxColumn25.Width = 60;
//
// dataGridViewTextBoxColumn26
//
this.dataGridViewTextBoxColumn26.DataPropertyName = "Remark";
this.dataGridViewTextBoxColumn26.HeaderText = "备注";
this.dataGridViewTextBoxColumn26.Name = "dataGridViewTextBoxColumn26";
this.dataGridViewTextBoxColumn26.Width = 40;
//
// dataGridViewTextBoxColumn27
//
this.dataGridViewTextBoxColumn27.DataPropertyName = "Remark";
this.dataGridViewTextBoxColumn27.HeaderText = "备注";
this.dataGridViewTextBoxColumn27.Name = "dataGridViewTextBoxColumn27";
//
// CheckBoxColumn
//
@ -400,21 +603,13 @@
this.ApplyId.ReadOnly = true;
this.ApplyId.Visible = false;
//
// MdrecNoColumn
// StateColumn
//
this.MdrecNoColumn.DataPropertyName = "MdrecNo";
this.MdrecNoColumn.HeaderText = "住院号";
this.MdrecNoColumn.Name = "MdrecNoColumn";
this.MdrecNoColumn.ReadOnly = true;
this.MdrecNoColumn.Width = 80;
//
// ArchivesNoColumn
//
this.ArchivesNoColumn.DataPropertyName = "ArchivesNo";
this.ArchivesNoColumn.HeaderText = "病历号";
this.ArchivesNoColumn.Name = "ArchivesNoColumn";
this.ArchivesNoColumn.ReadOnly = true;
this.ArchivesNoColumn.Width = 80;
this.StateColumn.DataPropertyName = "State";
this.StateColumn.HeaderText = "状态";
this.StateColumn.Name = "StateColumn";
this.StateColumn.ReadOnly = true;
this.StateColumn.Width = 60;
//
// ApplyDepNameColumn
//
@ -424,21 +619,29 @@
this.ApplyDepNameColumn.ReadOnly = true;
this.ApplyDepNameColumn.Width = 80;
//
// PatientKindColume
// SickBedColumn
//
this.PatientKindColume.DataPropertyName = "PatientKind";
this.PatientKindColume.HeaderText = "医保类别";
this.PatientKindColume.Name = "PatientKindColume";
this.PatientKindColume.ReadOnly = true;
this.PatientKindColume.Width = 80;
this.SickBedColumn.DataPropertyName = "SickBed";
this.SickBedColumn.HeaderText = "床位";
this.SickBedColumn.Name = "SickBedColumn";
this.SickBedColumn.ReadOnly = true;
this.SickBedColumn.Width = 40;
//
// MdrecNoColumn
//
this.MdrecNoColumn.DataPropertyName = "MdrecNo";
this.MdrecNoColumn.HeaderText = "住院号";
this.MdrecNoColumn.Name = "MdrecNoColumn";
this.MdrecNoColumn.ReadOnly = true;
this.MdrecNoColumn.Width = 70;
//
// PatientNameColumn
//
this.PatientNameColumn.DataPropertyName = "PatientName";
this.PatientNameColumn.HeaderText = "患者姓名";
this.PatientNameColumn.HeaderText = "姓名";
this.PatientNameColumn.Name = "PatientNameColumn";
this.PatientNameColumn.ReadOnly = true;
this.PatientNameColumn.Width = 80;
this.PatientNameColumn.Width = 60;
//
// SexColumn
//
@ -446,67 +649,29 @@
this.SexColumn.HeaderText = "性别";
this.SexColumn.Name = "SexColumn";
this.SexColumn.ReadOnly = true;
this.SexColumn.Width = 60;
this.SexColumn.Width = 40;
//
// BirthDayColumn
// Age
//
this.BirthDayColumn.DataPropertyName = "BirthDay";
this.BirthDayColumn.HeaderText = "出生日期";
this.BirthDayColumn.Name = "BirthDayColumn";
this.BirthDayColumn.Width = 80;
//
// HeightColumn
//
this.HeightColumn.DataPropertyName = "Height";
this.HeightColumn.HeaderText = "身高";
this.HeightColumn.Name = "HeightColumn";
this.HeightColumn.Width = 70;
//
// WeightColumn
//
this.WeightColumn.DataPropertyName = "Weight";
this.WeightColumn.HeaderText = "体重";
this.WeightColumn.Name = "WeightColumn";
this.WeightColumn.ReadOnly = true;
this.WeightColumn.Width = 70;
//
// BloodTypeColumn
//
this.BloodTypeColumn.DataPropertyName = "BloodType";
this.BloodTypeColumn.HeaderText = "血型";
this.BloodTypeColumn.Name = "BloodTypeColumn";
this.BloodTypeColumn.ReadOnly = true;
this.BloodTypeColumn.Width = 70;
//
// RHBloodTypeColumn
//
this.RHBloodTypeColumn.DataPropertyName = "RHBloodType";
this.RHBloodTypeColumn.HeaderText = "RH血型";
this.RHBloodTypeColumn.Name = "RHBloodTypeColumn";
this.RHBloodTypeColumn.Width = 70;
//
// IlldistrictColumn
//
this.IlldistrictColumn.DataPropertyName = "Illdistrict";
this.IlldistrictColumn.HeaderText = "病区";
this.IlldistrictColumn.Name = "IlldistrictColumn";
this.IlldistrictColumn.Width = 70;
//
// SickBedColumn
//
this.SickBedColumn.DataPropertyName = "SickBed";
this.SickBedColumn.HeaderText = "床位";
this.SickBedColumn.Name = "SickBedColumn";
this.SickBedColumn.ReadOnly = true;
this.SickBedColumn.Width = 70;
this.Age.DataPropertyName = "Age";
this.Age.HeaderText = "年龄";
this.Age.Name = "Age";
this.Age.Width = 40;
//
// OperationTypeColumn
//
this.OperationTypeColumn.DataPropertyName = "OperationType";
this.OperationTypeColumn.HeaderText = "手术类型";
this.OperationTypeColumn.HeaderText = "类型";
this.OperationTypeColumn.Name = "OperationTypeColumn";
this.OperationTypeColumn.ReadOnly = true;
this.OperationTypeColumn.Width = 80;
this.OperationTypeColumn.Width = 40;
//
// ApplyTimeColumn
//
this.ApplyTimeColumn.DataPropertyName = "ApplyTime";
this.ApplyTimeColumn.HeaderText = "申请时间";
this.ApplyTimeColumn.Name = "ApplyTimeColumn";
this.ApplyTimeColumn.Width = 110;
//
// OrderOperationTimeColumn
//
@ -514,35 +679,30 @@
this.OrderOperationTimeColumn.HeaderText = "预约时间";
this.OrderOperationTimeColumn.Name = "OrderOperationTimeColumn";
this.OrderOperationTimeColumn.ReadOnly = true;
this.OrderOperationTimeColumn.Width = 80;
this.OrderOperationTimeColumn.Width = 110;
//
// OperationTimeLeightColumn
// ApplyOperatorNameColumn
//
this.OperationTimeLeightColumn.DataPropertyName = "OperationTimeLeight";
this.OperationTimeLeightColumn.HeaderText = "手术时长";
this.OperationTimeLeightColumn.Name = "OperationTimeLeightColumn";
this.OperationTimeLeightColumn.ReadOnly = true;
this.OperationTimeLeightColumn.Width = 80;
this.ApplyOperatorNameColumn.DataPropertyName = "ApplyOperatorName";
this.ApplyOperatorNameColumn.HeaderText = "申请人";
this.ApplyOperatorNameColumn.Name = "ApplyOperatorNameColumn";
this.ApplyOperatorNameColumn.ReadOnly = true;
this.ApplyOperatorNameColumn.Width = 70;
//
// StateColumn
// OperationDoctorColumn
//
this.StateColumn.DataPropertyName = "State";
this.StateColumn.HeaderText = "状态";
this.StateColumn.Name = "StateColumn";
this.StateColumn.ReadOnly = true;
this.OperationDoctorColumn.DataPropertyName = "OperationDoctor";
this.OperationDoctorColumn.HeaderText = "术者";
this.OperationDoctorColumn.Name = "OperationDoctorColumn";
this.OperationDoctorColumn.ReadOnly = true;
this.OperationDoctorColumn.Width = 60;
//
// IsReturnOperationColumn
// Assistant1Column
//
this.IsReturnOperationColumn.DataPropertyName = "IsReturnOperation";
this.IsReturnOperationColumn.HeaderText = "是否重返";
this.IsReturnOperationColumn.Name = "IsReturnOperationColumn";
this.IsReturnOperationColumn.ReadOnly = true;
//
// IsPlanReturnOperationColumn
//
this.IsPlanReturnOperationColumn.DataPropertyName = "IsPlanReturnOperation";
this.IsPlanReturnOperationColumn.HeaderText = "是否计划";
this.IsPlanReturnOperationColumn.Name = "IsPlanReturnOperationColumn";
this.Assistant1Column.DataPropertyName = "Assistants";
this.Assistant1Column.HeaderText = "助手";
this.Assistant1Column.Name = "Assistant1Column";
this.Assistant1Column.Width = 90;
//
// ApplyDiagnoseInfoNameColumn
//
@ -550,47 +710,15 @@
this.ApplyDiagnoseInfoNameColumn.HeaderText = "术前诊断";
this.ApplyDiagnoseInfoNameColumn.Name = "ApplyDiagnoseInfoNameColumn";
this.ApplyDiagnoseInfoNameColumn.ReadOnly = true;
//
// DiagnoseRemarkColumn
//
this.DiagnoseRemarkColumn.DataPropertyName = "DiagnoseRemark";
this.DiagnoseRemarkColumn.HeaderText = "诊断备注";
this.DiagnoseRemarkColumn.Name = "DiagnoseRemarkColumn";
this.DiagnoseRemarkColumn.ReadOnly = true;
this.ApplyDiagnoseInfoNameColumn.Width = 150;
//
// ApplyOperationInfoNameColumn
//
this.ApplyOperationInfoNameColumn.DataPropertyName = "ApplyOperationInfoName";
this.ApplyOperationInfoNameColumn.HeaderText = "拟手术";
this.ApplyOperationInfoNameColumn.HeaderText = "拟施手术";
this.ApplyOperationInfoNameColumn.Name = "ApplyOperationInfoNameColumn";
this.ApplyOperationInfoNameColumn.ReadOnly = true;
//
// OperationRemarkColumn
//
this.OperationRemarkColumn.DataPropertyName = "OperationRemark";
this.OperationRemarkColumn.HeaderText = "手术备注";
this.OperationRemarkColumn.Name = "OperationRemarkColumn";
this.OperationRemarkColumn.ReadOnly = true;
//
// OperationLevelNameColumn
//
this.OperationLevelNameColumn.DataPropertyName = "OperationLevelName";
this.OperationLevelNameColumn.HeaderText = "手术分级";
this.OperationLevelNameColumn.Name = "OperationLevelNameColumn";
this.OperationLevelNameColumn.ReadOnly = true;
//
// ApplyOperationCutTypeNameColumn
//
this.ApplyOperationCutTypeNameColumn.DataPropertyName = "ApplyOperationCutTypeName";
this.ApplyOperationCutTypeNameColumn.HeaderText = "切口类型";
this.ApplyOperationCutTypeNameColumn.Name = "ApplyOperationCutTypeNameColumn";
this.ApplyOperationCutTypeNameColumn.ReadOnly = true;
//
// ApplyOperationPositionNameColumn
//
this.ApplyOperationPositionNameColumn.DataPropertyName = "ApplyOperationPositionName";
this.ApplyOperationPositionNameColumn.HeaderText = "手术部位";
this.ApplyOperationPositionNameColumn.Name = "ApplyOperationPositionNameColumn";
this.ApplyOperationInfoNameColumn.Width = 150;
//
// AnaesthesiaMethodNameColumn
//
@ -599,130 +727,64 @@
this.AnaesthesiaMethodNameColumn.Name = "AnaesthesiaMethodNameColumn";
this.AnaesthesiaMethodNameColumn.ReadOnly = true;
//
// ContagionColumn
// ApplyOperationPositionNameColumn
//
this.ContagionColumn.DataPropertyName = "Contagion";
this.ContagionColumn.HeaderText = "术前感染筛查";
this.ContagionColumn.Name = "ContagionColumn";
this.ApplyOperationPositionNameColumn.DataPropertyName = "ApplyOperationPositionName";
this.ApplyOperationPositionNameColumn.HeaderText = "手术部位";
this.ApplyOperationPositionNameColumn.Name = "ApplyOperationPositionNameColumn";
this.ApplyOperationPositionNameColumn.Width = 80;
//
// OperationDoctorColumn
// OperationLevelNameColumn
//
this.OperationDoctorColumn.DataPropertyName = "OperationDoctor";
this.OperationDoctorColumn.HeaderText = "术者";
this.OperationDoctorColumn.Name = "OperationDoctorColumn";
this.OperationDoctorColumn.ReadOnly = true;
this.OperationLevelNameColumn.DataPropertyName = "OperationLevelName";
this.OperationLevelNameColumn.HeaderText = "手术分级";
this.OperationLevelNameColumn.Name = "OperationLevelNameColumn";
this.OperationLevelNameColumn.ReadOnly = true;
this.OperationLevelNameColumn.Width = 80;
//
// Assistant1Column
// ApplyOperationCutTypeNameColumn
//
this.Assistant1Column.DataPropertyName = "Assistant1";
this.Assistant1Column.HeaderText = "一助";
this.Assistant1Column.Name = "Assistant1Column";
//
// Assistant2Column
//
this.Assistant2Column.DataPropertyName = "Assistant2";
this.Assistant2Column.HeaderText = "二助";
this.Assistant2Column.Name = "Assistant2Column";
this.Assistant2Column.ReadOnly = true;
//
// Assistant3Column
//
this.Assistant3Column.DataPropertyName = "Assistant3";
this.Assistant3Column.HeaderText = "三助";
this.Assistant3Column.Name = "Assistant3Column";
//
// InternColumn
//
this.InternColumn.DataPropertyName = "Intern";
this.InternColumn.HeaderText = "进修实习生";
this.InternColumn.Name = "InternColumn";
//
// OtherColumn
//
this.OtherColumn.DataPropertyName = "Other";
this.OtherColumn.HeaderText = "其他人员";
this.OtherColumn.Name = "OtherColumn";
this.OtherColumn.ReadOnly = true;
//
// ApplyTimeColumn
//
this.ApplyTimeColumn.DataPropertyName = "ApplyTime";
this.ApplyTimeColumn.HeaderText = "申请时间";
this.ApplyTimeColumn.Name = "ApplyTimeColumn";
//
// ApplyOperatorNameColumn
//
this.ApplyOperatorNameColumn.DataPropertyName = "ApplyOperatorName";
this.ApplyOperatorNameColumn.HeaderText = "申请人";
this.ApplyOperatorNameColumn.Name = "ApplyOperatorNameColumn";
this.ApplyOperatorNameColumn.ReadOnly = true;
//
// VerifyTimeColumn
//
this.VerifyTimeColumn.DataPropertyName = "VerifyTime";
this.VerifyTimeColumn.HeaderText = "审核时间";
this.VerifyTimeColumn.Name = "VerifyTimeColumn";
this.VerifyTimeColumn.ReadOnly = true;
//
// VerifyOperatorNameColumn
//
this.VerifyOperatorNameColumn.DataPropertyName = "VerifyOperatorName";
this.VerifyOperatorNameColumn.HeaderText = "审核医生";
this.VerifyOperatorNameColumn.Name = "VerifyOperatorNameColumn";
this.VerifyOperatorNameColumn.ReadOnly = true;
//
// PlanOperationTimeColumn
//
this.PlanOperationTimeColumn.DataPropertyName = "PlanOperationTime";
this.PlanOperationTimeColumn.HeaderText = "拟定手术时间";
this.PlanOperationTimeColumn.Name = "PlanOperationTimeColumn";
this.PlanOperationTimeColumn.ReadOnly = true;
//
// OperationRoomColumn
//
this.OperationRoomColumn.DataPropertyName = "OperationRoom";
this.OperationRoomColumn.HeaderText = "手术间";
this.OperationRoomColumn.Name = "OperationRoomColumn";
this.OperationRoomColumn.ReadOnly = true;
this.ApplyOperationCutTypeNameColumn.DataPropertyName = "ApplyOperationCutTypeName";
this.ApplyOperationCutTypeNameColumn.HeaderText = "切口类型";
this.ApplyOperationCutTypeNameColumn.Name = "ApplyOperationCutTypeNameColumn";
this.ApplyOperationCutTypeNameColumn.ReadOnly = true;
this.ApplyOperationCutTypeNameColumn.Width = 80;
//
// AnesthesiaDoctorColumn
//
this.AnesthesiaDoctorColumn.DataPropertyName = "AnesthesiaDoctor";
this.AnesthesiaDoctorColumn.HeaderText = "麻醉医生";
this.AnesthesiaDoctorColumn.HeaderText = "麻醉";
this.AnesthesiaDoctorColumn.Name = "AnesthesiaDoctorColumn";
//
// InstrumentNurseColumn
//
this.InstrumentNurseColumn.DataPropertyName = "InstrumentNurse";
this.InstrumentNurseColumn.HeaderText = "器械护士";
this.InstrumentNurseColumn.Name = "InstrumentNurseColumn";
this.AnesthesiaDoctorColumn.Width = 60;
//
// TourNurseColumn
//
this.TourNurseColumn.DataPropertyName = "TourNurse";
this.TourNurseColumn.HeaderText = "巡回护士";
this.TourNurseColumn.HeaderText = "巡回";
this.TourNurseColumn.Name = "TourNurseColumn";
this.TourNurseColumn.Width = 60;
//
// AnesthesiaDoctorSucceedColumn
// InstrumentNurseColumn
//
this.AnesthesiaDoctorSucceedColumn.DataPropertyName = "AnesthesiaDoctorSucceed";
this.AnesthesiaDoctorSucceedColumn.HeaderText = "麻醉接台";
this.AnesthesiaDoctorSucceedColumn.Name = "AnesthesiaDoctorSucceedColumn";
this.AnesthesiaDoctorSucceedColumn.ReadOnly = true;
this.InstrumentNurseColumn.DataPropertyName = "InstrumentNurse";
this.InstrumentNurseColumn.HeaderText = "器械";
this.InstrumentNurseColumn.Name = "InstrumentNurseColumn";
this.InstrumentNurseColumn.Width = 60;
//
// InstrumentNurseSucceedColumn
// OperationRoomColumn
//
this.InstrumentNurseSucceedColumn.DataPropertyName = "InstrumentNurseSucceed";
this.InstrumentNurseSucceedColumn.HeaderText = "器械接台";
this.InstrumentNurseSucceedColumn.Name = "InstrumentNurseSucceedColumn";
this.InstrumentNurseSucceedColumn.ReadOnly = true;
this.OperationRoomColumn.DataPropertyName = "OperationRoom";
this.OperationRoomColumn.HeaderText = "术间";
this.OperationRoomColumn.Name = "OperationRoomColumn";
this.OperationRoomColumn.ReadOnly = true;
this.OperationRoomColumn.Width = 40;
//
// TourNurseSucceedColumn
// PlanOrder
//
this.TourNurseSucceedColumn.DataPropertyName = "TourNurseSucceed";
this.TourNurseSucceedColumn.HeaderText = "巡回接台";
this.TourNurseSucceedColumn.Name = "TourNurseSucceedColumn";
this.TourNurseSucceedColumn.ReadOnly = true;
this.PlanOrder.DataPropertyName = "PlanOrder";
this.PlanOrder.HeaderText = "台次";
this.PlanOrder.Name = "PlanOrder";
this.PlanOrder.Width = 40;
//
// RemarkColumn
//
@ -779,56 +841,62 @@
private System.Windows.Forms.ToolStripButton tsbAuditing;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
private System.Windows.Forms.ToolStripButton tsbDelete;
private System.Windows.Forms.DataGridViewCheckBoxColumn CheckBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyId;
private System.Windows.Forms.DataGridViewTextBoxColumn MdrecNoColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn ArchivesNoColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyDepNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn PatientKindColume;
private System.Windows.Forms.DataGridViewTextBoxColumn PatientNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn SexColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn BirthDayColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn HeightColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn WeightColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn BloodTypeColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn RHBloodTypeColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn IlldistrictColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn SickBedColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationTypeColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn OrderOperationTimeColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationTimeLeightColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn StateColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn IsReturnOperationColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn IsPlanReturnOperationColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyDiagnoseInfoNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn DiagnoseRemarkColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyOperationInfoNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationRemarkColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationLevelNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyOperationCutTypeNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyOperationPositionNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn AnaesthesiaMethodNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn ContagionColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationDoctorColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn Assistant1Column;
private System.Windows.Forms.DataGridViewTextBoxColumn Assistant2Column;
private System.Windows.Forms.DataGridViewTextBoxColumn Assistant3Column;
private System.Windows.Forms.DataGridViewTextBoxColumn InternColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn OtherColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyTimeColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyOperatorNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn VerifyTimeColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn VerifyOperatorNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn PlanOperationTimeColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationRoomColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn AnesthesiaDoctorColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn InstrumentNurseColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn TourNurseColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn AnesthesiaDoctorSucceedColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn InstrumentNurseSucceedColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn TourNurseSucceedColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn RemarkColumn;
public System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
public System.Windows.Forms.ToolStripButton tsbExit;
private System.Windows.Forms.CheckBox CHK10;
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 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 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;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn25;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn26;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn27;
private System.Windows.Forms.DataGridViewCheckBoxColumn CheckBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyId;
private System.Windows.Forms.DataGridViewTextBoxColumn StateColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyDepNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn SickBedColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn MdrecNoColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn PatientNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn SexColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn Age;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationTypeColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyTimeColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn OrderOperationTimeColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyOperatorNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationDoctorColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn Assistant1Column;
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyDiagnoseInfoNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyOperationInfoNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn AnaesthesiaMethodNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyOperationPositionNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationLevelNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyOperationCutTypeNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn AnesthesiaDoctorColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn TourNurseColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn InstrumentNurseColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationRoomColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn PlanOrder;
private System.Windows.Forms.DataGridViewTextBoxColumn RemarkColumn;
}
}

View File

@ -1,5 +1,7 @@
using AIMSBLL;
using AIMSModel;
using DevComponents.DotNetBar;
using DevComponents.DotNetBar.Controls;
using System;
using System.Collections.Generic;
using System.ComponentModel;
@ -46,6 +48,23 @@ namespace AIMS.OperationFront.UI
if (AIMSExtension.PublicMethod.RoleId == 5)
cboDepartment.Text = BDepartment.GetModel(AIMSExtension.PublicMethod.DepId).Name;
LoadDataRescue();
}
private System.Windows.Forms.Timer timerLoadRescue;
public void LoadDataRescue()
{
timerLoadRescue = new System.Windows.Forms.Timer();
timerLoadRescue.Enabled = true;//调试时设置为FALSE
timerLoadRescue.Interval = 100;
timerLoadRescue.Tick -= timerLoadRescue_Tick;
timerLoadRescue.Tick += timerLoadRescue_Tick;
timerLoadRescue.Start();
}
private void timerLoadRescue_Tick(object sender, EventArgs e)
{
timerLoadRescue.Dispose();
btnFind_Click(null, null);
}
private void tsbAdd_Click(object sender, EventArgs e)
@ -78,7 +97,6 @@ namespace AIMS.OperationFront.UI
void frmOperationApplyDetail_FormClosed(object sender, FormClosedEventArgs e)
{
btnFind_Click(null, null);
}
private void btnFind_Click(object sender, EventArgs e)
@ -89,21 +107,36 @@ namespace AIMS.OperationFront.UI
{
dept = " and ApplyDepName LIKE '%" + cboDepartment.Text + "%' ";
}
DataTable Newdt = AIMSExtension.PublicMethod.GetNewDataTable(dt, "State IN ('已申请','已审核') "+dept+"AND MdrecNo LIKE '%" + txtMdrecNo.Text.Trim() + "%'", "");
DataTable Newdt = new DataTable();
if (CHK10.Checked)
{
Newdt = AIMSExtension.PublicMethod.GetNewDataTable(dt, " StateId=10 " + dept + "AND MdrecNo LIKE '%" + txtMdrecNo.Text.Trim() + "%'", "");
}
else
{
Newdt = AIMSExtension.PublicMethod.GetNewDataTable(dt, " StateId>0 " + dept + "AND MdrecNo LIKE '%" + txtMdrecNo.Text.Trim() + "%'", "");
}
dgv.DataSource = Newdt;
for (int i = 0; i < dgv.Rows.Count; i++)
{
if (dgv.Rows[i].Cells["OperationTypeColumn"].Value.ToString() == "急诊")
{
dgv.Rows[i].DefaultCellStyle.BackColor = Color.LightSalmon;
}
if (dgv.Rows[i].Cells["OperationTypeColumn"].Value.ToString() == "特急")
{
dgv.Rows[i].DefaultCellStyle.BackColor = Color.Red;
}
}
}
private void dgv_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e)
{
Rectangle rectangle = new Rectangle(e.RowBounds.Location.X,
e.RowBounds.Location.Y,
dgv.RowHeadersWidth - 4,
e.RowBounds.Height);
TextRenderer.DrawText(e.Graphics, (e.RowIndex + 1).ToString(),
dgv.RowHeadersDefaultCellStyle.Font,
rectangle,
dgv.RowHeadersDefaultCellStyle.ForeColor,
TextFormatFlags.VerticalCenter | TextFormatFlags.Right);
}
private void tsbSet_Click(object sender, EventArgs e)
{
}

View File

@ -120,22 +120,25 @@
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="CheckBoxColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ApplyId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="MdrecNoColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ArchivesNoColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="StateColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ApplyDepNameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="PatientKindColume.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="SickBedColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="MdrecNoColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="PatientNameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
@ -144,70 +147,19 @@
<metadata name="SexColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="BirthDayColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="HeightColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="WeightColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="BloodTypeColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="RHBloodTypeColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="IlldistrictColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="SickBedColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="Age.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="OperationTypeColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ApplyTimeColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="OrderOperationTimeColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="OperationTimeLeightColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="StateColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="IsReturnOperationColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="IsPlanReturnOperationColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ApplyDiagnoseInfoNameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="DiagnoseRemarkColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ApplyOperationInfoNameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="OperationRemarkColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="OperationLevelNameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ApplyOperationCutTypeNameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ApplyOperationPositionNameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="AnaesthesiaMethodNameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ContagionColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="ApplyOperatorNameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="OperationDoctorColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
@ -216,52 +168,37 @@
<metadata name="Assistant1Column.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Assistant2Column.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="ApplyDiagnoseInfoNameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Assistant3Column.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="ApplyOperationInfoNameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="InternColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="AnaesthesiaMethodNameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="OtherColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="ApplyOperationPositionNameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ApplyTimeColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="OperationLevelNameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ApplyOperatorNameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="VerifyTimeColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="VerifyOperatorNameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="PlanOperationTimeColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="OperationRoomColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="ApplyOperationCutTypeNameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="AnesthesiaDoctorColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="InstrumentNurseColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="TourNurseColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="AnesthesiaDoctorSucceedColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="InstrumentNurseColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="InstrumentNurseSucceedColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="OperationRoomColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="TourNurseSucceedColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="PlanOrder.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="RemarkColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">

View File

@ -240,6 +240,8 @@ namespace AIMS.OperationFront.UI
private DataGridViewTextBoxColumn OperationType;
private DataGridViewTextBoxColumn Contagion;
private GridColumn gridColumn2;
private Button btnDataCente;
private Label label4;
private DevComponents.Editors.DateTimeAdv.DateTimeInput dtpSearchTime;
/// <summary>
@ -461,7 +463,6 @@ namespace AIMS.OperationFront.UI
this.dataGridViewCheckBoxColumn1 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
this.panlemian = new System.Windows.Forms.Panel();
this.lblcount = new System.Windows.Forms.Label();
this.label15 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label14 = new System.Windows.Forms.Label();
@ -488,6 +489,7 @@ namespace AIMS.OperationFront.UI
this.colDel = new DevComponents.DotNetBar.SuperGrid.GridColumn();
this.gridColumn2 = new DevComponents.DotNetBar.SuperGrid.GridColumn();
this.panel1 = new System.Windows.Forms.Panel();
this.lblcount = new System.Windows.Forms.Label();
this.btnWorkPlan = new System.Windows.Forms.Button();
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
@ -579,6 +581,8 @@ namespace AIMS.OperationFront.UI
this.dataGridViewTextBoxColumn46 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn47 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn48 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.btnDataCente = new System.Windows.Forms.Button();
this.label4 = new System.Windows.Forms.Label();
this.navigationPane1.SuspendLayout();
this.navigationPanePanel1.SuspendLayout();
this.groupBoxsel.SuspendLayout();
@ -764,7 +768,7 @@ namespace AIMS.OperationFront.UI
this.dgvApplyOrDoctor.DefaultCellStyle = dataGridViewCellStyle9;
this.dgvApplyOrDoctor.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvApplyOrDoctor.EnableHeadersVisualStyles = false;
this.dgvApplyOrDoctor.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
this.dgvApplyOrDoctor.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(170)))), ((int)(((byte)(170)))));
this.dgvApplyOrDoctor.Location = new System.Drawing.Point(0, 89);
this.dgvApplyOrDoctor.Name = "dgvApplyOrDoctor";
this.dgvApplyOrDoctor.ReadOnly = true;
@ -2116,18 +2120,6 @@ namespace AIMS.OperationFront.UI
this.panlemian.Size = new System.Drawing.Size(1051, 277);
this.panlemian.TabIndex = 465;
//
// lblcount
//
this.lblcount.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.lblcount.AutoSize = true;
this.lblcount.Font = new System.Drawing.Font("微软雅黑", 15F);
this.lblcount.Location = new System.Drawing.Point(548, 5);
this.lblcount.Name = "lblcount";
this.lblcount.Size = new System.Drawing.Size(45, 27);
this.lblcount.TabIndex = 501;
this.lblcount.Text = "0/0";
this.lblcount.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
//
// label15
//
this.label15.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
@ -2250,6 +2242,7 @@ namespace AIMS.OperationFront.UI
this.dgvDetail.TabIndex = 1;
this.dgvDetail.Text = "superGridControl1";
this.dgvDetail.CellClick += new System.EventHandler<DevComponents.DotNetBar.SuperGrid.GridCellClickEventArgs>(this.sgcDetail_CellClick);
this.dgvDetail.CellMouseUp += new System.EventHandler<DevComponents.DotNetBar.SuperGrid.GridCellMouseEventArgs>(this.dgvDetail_CellMouseUp);
this.dgvDetail.ColumnHeaderClick += new System.EventHandler<DevComponents.DotNetBar.SuperGrid.GridColumnHeaderClickEventArgs>(this.sgcDetail_ColumnHeaderClick);
this.dgvDetail.RowActivated += new System.EventHandler<DevComponents.DotNetBar.SuperGrid.GridRowActivatedEventArgs>(this.sgcDetail_RowActivated);
this.dgvDetail.RowHeaderClick += new System.EventHandler<DevComponents.DotNetBar.SuperGrid.GridRowHeaderClickEventArgs>(this.sgcDetail_RowHeaderClick);
@ -2302,7 +2295,6 @@ namespace AIMS.OperationFront.UI
this.colTable.ColumnSortMode = DevComponents.DotNetBar.SuperGrid.ColumnSortMode.None;
this.colTable.HeaderText = "台";
this.colTable.Name = "Table";
this.colTable.ReadOnly = true;
this.colTable.SortIndicator = DevComponents.DotNetBar.SuperGrid.SortIndicator.None;
this.colTable.Width = 30;
//
@ -2312,7 +2304,6 @@ namespace AIMS.OperationFront.UI
this.colPatient.ColumnSortMode = DevComponents.DotNetBar.SuperGrid.ColumnSortMode.None;
this.colPatient.HeaderText = "患者";
this.colPatient.Name = "Patient";
this.colPatient.ReadOnly = true;
this.colPatient.SortIndicator = DevComponents.DotNetBar.SuperGrid.SortIndicator.None;
//
// colHospitalNo
@ -2337,7 +2328,6 @@ namespace AIMS.OperationFront.UI
this.colOperateDoctor.ColumnSortMode = DevComponents.DotNetBar.SuperGrid.ColumnSortMode.None;
this.colOperateDoctor.HeaderText = "手术医生";
this.colOperateDoctor.Name = "OperateDoctor";
this.colOperateDoctor.ReadOnly = true;
this.colOperateDoctor.SortIndicator = DevComponents.DotNetBar.SuperGrid.SortIndicator.None;
this.colOperateDoctor.Width = 60;
//
@ -2363,7 +2353,6 @@ namespace AIMS.OperationFront.UI
this.colOperationTime.ColumnSortMode = DevComponents.DotNetBar.SuperGrid.ColumnSortMode.None;
this.colOperationTime.HeaderText = "手术时间";
this.colOperationTime.Name = "OperationTime";
this.colOperationTime.ReadOnly = true;
this.colOperationTime.SortIndicator = DevComponents.DotNetBar.SuperGrid.SortIndicator.None;
this.colOperationTime.Width = 60;
//
@ -2375,7 +2364,6 @@ namespace AIMS.OperationFront.UI
this.colAnesthesiaDoctor.ColumnSortMode = DevComponents.DotNetBar.SuperGrid.ColumnSortMode.None;
this.colAnesthesiaDoctor.HeaderText = "麻醉医生";
this.colAnesthesiaDoctor.Name = "AnesthesiaDoctor";
this.colAnesthesiaDoctor.ReadOnly = true;
this.colAnesthesiaDoctor.SortIndicator = DevComponents.DotNetBar.SuperGrid.SortIndicator.None;
this.colAnesthesiaDoctor.Width = 90;
//
@ -2385,7 +2373,6 @@ namespace AIMS.OperationFront.UI
this.colInstrumentNurse.ColumnSortMode = DevComponents.DotNetBar.SuperGrid.ColumnSortMode.None;
this.colInstrumentNurse.HeaderText = "洗手护士";
this.colInstrumentNurse.Name = "InstrumentNurse";
this.colInstrumentNurse.ReadOnly = true;
this.colInstrumentNurse.SortIndicator = DevComponents.DotNetBar.SuperGrid.SortIndicator.None;
this.colInstrumentNurse.Width = 75;
//
@ -2395,7 +2382,6 @@ namespace AIMS.OperationFront.UI
this.colTourNurse.ColumnSortMode = DevComponents.DotNetBar.SuperGrid.ColumnSortMode.None;
this.colTourNurse.HeaderText = "巡回护士";
this.colTourNurse.Name = "TourNurse";
this.colTourNurse.ReadOnly = true;
this.colTourNurse.SortIndicator = DevComponents.DotNetBar.SuperGrid.SortIndicator.None;
this.colTourNurse.Width = 75;
//
@ -2404,7 +2390,6 @@ namespace AIMS.OperationFront.UI
this.colRemarks.ColumnSortMode = DevComponents.DotNetBar.SuperGrid.ColumnSortMode.None;
this.colRemarks.HeaderText = "备注";
this.colRemarks.Name = "Remarks";
this.colRemarks.ReadOnly = true;
this.colRemarks.SortIndicator = DevComponents.DotNetBar.SuperGrid.SortIndicator.None;
this.colRemarks.Width = 50;
//
@ -2428,6 +2413,8 @@ namespace AIMS.OperationFront.UI
// panel1
//
this.panel1.BackColor = System.Drawing.Color.Transparent;
this.panel1.Controls.Add(this.btnDataCente);
this.panel1.Controls.Add(this.label4);
this.panel1.Controls.Add(this.lblcount);
this.panel1.Controls.Add(this.btnWorkPlan);
this.panel1.Controls.Add(this.button3);
@ -2447,6 +2434,18 @@ namespace AIMS.OperationFront.UI
this.panel1.Size = new System.Drawing.Size(1051, 39);
this.panel1.TabIndex = 0;
//
// lblcount
//
this.lblcount.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.lblcount.AutoSize = true;
this.lblcount.Font = new System.Drawing.Font("微软雅黑", 15F);
this.lblcount.Location = new System.Drawing.Point(655, 4);
this.lblcount.Name = "lblcount";
this.lblcount.Size = new System.Drawing.Size(45, 27);
this.lblcount.TabIndex = 501;
this.lblcount.Text = "0/0";
this.lblcount.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
//
// btnWorkPlan
//
this.btnWorkPlan.BackColor = System.Drawing.Color.Transparent;
@ -3419,6 +3418,34 @@ namespace AIMS.OperationFront.UI
this.dataGridViewTextBoxColumn48.HeaderText = "类别";
this.dataGridViewTextBoxColumn48.Name = "dataGridViewTextBoxColumn48";
//
// btnDataCente
//
this.btnDataCente.BackColor = System.Drawing.Color.Transparent;
this.btnDataCente.ContextMenuStrip = this.contextMenuStrip1;
this.btnDataCente.Dock = System.Windows.Forms.DockStyle.Left;
this.btnDataCente.FlatAppearance.BorderSize = 0;
this.btnDataCente.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnDataCente.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnDataCente.Location = new System.Drawing.Point(552, 0);
this.btnDataCente.Name = "btnDataCente";
this.btnDataCente.Size = new System.Drawing.Size(78, 39);
this.btnDataCente.TabIndex = 503;
this.btnDataCente.Text = "数据中心";
this.btnDataCente.UseVisualStyleBackColor = false;
this.btnDataCente.Click += new System.EventHandler(this.btnDataCente_Click);
//
// label4
//
this.label4.BackColor = System.Drawing.Color.Transparent;
this.label4.Dock = System.Windows.Forms.DockStyle.Left;
this.label4.Font = new System.Drawing.Font("微软雅黑", 11F);
this.label4.Location = new System.Drawing.Point(542, 0);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(10, 39);
this.label4.TabIndex = 502;
this.label4.Text = "|\r\n";
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// frmOperationSchedulePlan
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
@ -3606,18 +3633,6 @@ namespace AIMS.OperationFront.UI
else
{ btnpass.Visible = false; label1.Visible = false; }
operationRooms = BOperationRoom.Select(" IsValid=1 and Site='手术室' order by [RoomOrder]", null, RecursiveType.None, 0);
SSSDept = BDepartment.Select(" NAME ='手术室' and IsValid=1 ", null, RecursiveType.None, 0);
MZKDept = BDepartment.Select(" NAME ='麻醉科' and IsValid=1 ", null, RecursiveType.None, 0);
if ((MZKDept == null || MZKDept.Count <= 0) && SSSDept != null) MZKDept = SSSDept;
txtQuery.Visible = true;
comboBoxExRoom.Visible = false;
RoomCardManage.SelectDgv = dgvApplyOrDoctor;
RoomCardManage.OnDataSaved = marksManager_OnDataSaved;
FirstLoad();
}
catch (Exception ex)
@ -3635,21 +3650,20 @@ namespace AIMS.OperationFront.UI
#endregion
#region
private System.Windows.Forms.Timer timerLoadRescue;
public void FirstLoad()
{
timerLoadRescue = new System.Windows.Forms.Timer(components);
timerLoadRescue.Enabled = true;//调试时设置为FALSE
timerLoadRescue.Interval = 100;
timerLoadRescue.Tick -= timerLoadRescue_Tick;
timerLoadRescue.Tick += timerLoadRescue_Tick;
timerLoadRescue.Start();
}
private void timerLoadRescue_Tick(object sender, EventArgs e)
{
timerLoadRescue.Dispose();
operationRooms = BOperationRoom.Select(" IsValid=1 and Site='手术室' order by [RoomOrder]", null, RecursiveType.None, 0);
SSSDept = BDepartment.Select(" NAME ='手术室' and IsValid=1 ", null, RecursiveType.None, 0);
MZKDept = BDepartment.Select(" NAME ='麻醉科' and IsValid=1 ", null, RecursiveType.None, 0);
if ((MZKDept == null || MZKDept.Count <= 0) && SSSDept != null) MZKDept = SSSDept;
txtQuery.Visible = true;
comboBoxExRoom.Visible = false;
RoomCardManage.SelectDgv = dgvApplyOrDoctor;
RoomCardManage.OnDataSaved = marksManager_OnDataSaved;
//目前先加载单手术室 后期扩展
//0.加载手术间列表 1
//1.加载选项卡手术间对应手术记录1
@ -4137,30 +4151,19 @@ namespace AIMS.OperationFront.UI
DialogResult ddr = frmStop.ShowDialog();
if (ddr == System.Windows.Forms.DialogResult.OK)
{
LoadSelectDate("");
selApply = null;
RoomCardManage.SelectIds = null;
if (grCurrentSub != null)
{
BOperationApply.UpdteOperationOrder(dtpSearchTime.Value, RoomCardManage.lastSelectOpeRoom.operationRoom.Id.Value);
outMsg = string.Format("{2} 停止 患者:{0} 手术:{1} 成功!", grCurrentSub.Cells["Patient"].Value, grCurrentSub.Cells["OperationName"].Value, RoomCardManage.lastSelectOpeRoom.operationRoom.Name);
RoomCardManage.WriteMsg(rtbLog, outMsg);
LoadSelectDate("");
LoadOperationInfo(RoomCardManage.lastSelectOpeRoom.operationRoom.Id.Value);
LoadOperationInfoDgv(RoomCardManage.lastSelectOpeRoom.operationRoom.Id.Value);
dgvDetail.PrimaryGrid.Rows.Remove(grCurrentSub);
}
//if (MessageBox.Show("您确定要停止该手术?", "提示", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
//{
// try
// {
// BOperationApply.UpdateApplyState(int.Parse(selApply), 10);
// outMsg = string.Format("{2} 停止 患者:{0} 手术:{1} 成功!", grCurrentSub.Cells["Patient"].Value, grCurrentSub.Cells["OperationName"].Value, RoomCardManage.lastSelectOpeRoom.operationRoom.Name);
// RoomCardManage.WriteMsg(rtbLog, outMsg);
// LoadSelectDate("");
// LoadOperationInfo(RoomCardManage.lastSelectOpeRoom.operationRoom.Id.Value);
// dgvDetail.PrimaryGrid.Rows.Remove(grCurrentSub);
// }
// catch (Exception ex)
// {
// MessageBox.Show("作废失败!" + ex.Message);
// }
//}
}
}
@ -4437,18 +4440,10 @@ namespace AIMS.OperationFront.UI
BOperationApply.UpdteOperationOrder(dtpSearchTime.Value, RoomCardManage.lastSelectOpeRoom.operationRoom.Id.Value);
RoomCardManage.WriteMsg(rtbLog, outMsg);
LoadSelectDate("");
//LoadOperationInfo(RoomCardManage.lastSelectOpeRoom.operationRoom.Id.Value);
LoadOperationInfoDgv(CurrentRoom);
LoadOperationInfoDgv(RoomCardManage.lastSelectOpeRoom.operationRoom.Id.Value);
}
#endregion
}
else if (e.GridCell.GridColumn.Name == "OperationName" || e.GridCell.GridColumn.Name == "BedNo")
{
if (e.GridPanel.DefaultRowHeight == oldGridHight)
e.GridPanel.DefaultRowHeight = 0;
else
e.GridPanel.DefaultRowHeight = oldGridHight;
}
}
}
private List<string> lstOrderStr = new List<string> { "台", "患者", "住院号", "床号", "手术医生", "手术名称", "手术时间" };
@ -4750,5 +4745,37 @@ namespace AIMS.OperationFront.UI
}
#endregion
private void dgvDetail_CellMouseUp(object sender, GridCellMouseEventArgs e)
{
if (e.Button != System.Windows.Forms.MouseButtons.Left) return;
if (e.GridPanel.DefaultRowHeight == oldGridHight)
e.GridPanel.DefaultRowHeight = 0;
else
e.GridPanel.DefaultRowHeight = oldGridHight;
}
private void btnDataCente_Click(object sender, EventArgs e)
{
if (selApply == null || selApply == "") return;
OperationApply opeapply = BOperationApply.SelectSingle(int.Parse(selApply), RecursiveType.None, 0);
OrisPatient pat = BOrisPatient.SelectSingle(opeapply.OrisPatientId, RecursiveType.None, 0);
if (PublicMethod.GetHospitalName().Contains("秦皇岛"))
{
try
{
string patientId = "orcl:LDQ:5:1:0:" + pat.HisPatientId + ":" + pat.VisitTimes + "";
Process myprocess = new Process();
ProcessStartInfo startInfo = new ProcessStartInfo(@"C:\APPSOFT\zlSoftCISInterface.exe", patientId);
PublicMethod.WriteLog(new Exception(@"C:\APPSOFT\zlSoftCISInterface.exe" + patientId));
myprocess.StartInfo = startInfo;
myprocess.StartInfo.UseShellExecute = false;
myprocess.Start();
}
catch (Exception ex)
{
MessageBox.Show(@"在C:\APPSOFT\zlSoftCISInterface.exe路径下找不到“zlSoftCISInterface.exe”");
}
}
}
}
}

View File

@ -251,7 +251,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAD+
CAAAAk1TRnQBSQFMAgEBAgEAAZwBEwGcARMBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
CAAAAk1TRnQBSQFMAgEBAgEAAbwBEwG8ARMBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABQAMAARADAAEBAQABCAYAAQQYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA

View File

@ -29,7 +29,6 @@ namespace AIMS.OperationFront.UI
private void QuietOperationRecordSheet_Load(object sender, EventArgs e)
{
if (beginTime == null || dt == null) beginTime = DateTime.Now;
dtpTime.Value = beginTime;
cboOperationRoom.SelectedIndexChanged += new EventHandler(cboOperationRoom_SelectedIndexChanged);
}

View File

@ -33,7 +33,7 @@ namespace AIMS.OperationFront.UI
return;
}
if (tsbCancel.Text == " 停止申请")
if (tsbCancel.Text.Trim() == "停止申请")
{
try
{

View File

@ -20,6 +20,7 @@ namespace AIMS.OremrUserControl
get { return lblRoom.Text; }
set { lblRoom.Text = value; }
}
public string OperationRoomIp;
public string PatientName
{
get { return lblName.Text; }

View File

@ -72,7 +72,7 @@
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(2)))), ((int)(((byte)(198)))), ((int)(((byte)(150)))));
this.panel1.BackColor = System.Drawing.Color.Transparent;
this.panel1.Controls.Add(this.lblRoom);
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(0, 0);
@ -82,7 +82,7 @@
//
// lblRoom
//
this.lblRoom.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.lblRoom.BackColor = System.Drawing.Color.CornflowerBlue;
this.lblRoom.Dock = System.Windows.Forms.DockStyle.Fill;
this.lblRoom.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lblRoom.Location = new System.Drawing.Point(0, 0);

View File

@ -103,7 +103,7 @@ namespace AIMSBLL
}
public static void UpdteOperationOrder(DateTime dtpSearchTime, int operationRoom)
{
DataTable _operationInfoRows = DOperationApply.SelectPlanedOpe(" PlanOperationTime<='" + dtpSearchTime.ToString("yyyy-MM-dd 23:59:59") + "' and PlanOperationTime>='" + dtpSearchTime.ToString("yyyy-MM-dd 00:00:00") + "' and OperationRoomId=" + operationRoom + " order by PlanOrder asc");
DataTable _operationInfoRows = DOperationApply.SelectPlanedOpe(" PlanOperationTime<='" + dtpSearchTime.ToString("yyyy-MM-dd 23:59:59") + "' and PlanOperationTime>='" + dtpSearchTime.ToString("yyyy-MM-dd 00:00:00") + "' and State<>'10' and OperationRoomId=" + operationRoom + " order by PlanOrder asc");
if (_operationInfoRows.Rows.Count > 0)
{
for (int index = 0; index < _operationInfoRows.Rows.Count; index++)

View File

@ -268,7 +268,7 @@ namespace AIMSDAL
"of1.DiagnoseRemark, of1.ApplyOperationInfoName, of1.OperationRemark," +
"of1.OperationLevelName, of1.ApplyOperationCutTypeName," +
"of1.ApplyOperationPositionName, of1.AnaesthesiaMethodName, of1.Contagion," +
"of1.OperationDoctor,[dbo].[fun_getPY](of1.OperationDoctor) OperationDoctorcode, of1.Assistant1, of1.Assistant2, of1.Assistant3," +
"of1.OperationDoctor,[dbo].[fun_getPY](of1.OperationDoctor) OperationDoctorcode, of1.Assistant1, of1.Assistant2, of1.Assistant3, isnull(of1.Assistant1,'')+isnull(' '+of1.Assistant2,'')+ isnull(' '+of1.Assistant3,'')Assistants," +
"of1.Intern, of1.Other, of1.ApplyTime, of1.ApplyOperatorName," +
"of1.VerifyTime, of1.VerifyOperatorName," +
"of1.PlanOperationTime, of1.OperationRoom, of1.OperationRoomId, of1.AnesthesiaDoctor," +

View File

@ -23,14 +23,15 @@ namespace AIMSBLL
public static DataTable GetRelieveLockingPatientDataTable(DateTime BeginDate, string Room)
{
string strSql = "SELECT of2.Id,of1.PatientId, of1.ApplyId, of1.ApplyDepName, of1.OperationType, of1.MdrecNo, of1.PatientName, of2.OperationInfoNames ApplyOperationInfoName, of2.OperationDoctor, of2.AnesthesiaDoctor,of2.OperationRoomId,of2.State ,of1.Sex,[dbo].[funGetAge](of1.BirthDay,getdate()) age,of2.InRoomTime PlanOperationTime,of2.Nurse InstrumentNurse,of2.Nurse2 TourNurse,of2.DiagnoseInfoName ApplyDiagnoseInfoName ,of2.OperationRoom ,of1.Contagion,of1.OrderOperationTime FROM V_OperationDoing of2 left join[dbo].[V_OperationFront] of1 on of1.PatientId = of2.PatientId WHERE of2.State in( '手术中','手术结束','停止手术') and of2.InRoomTime >= '" + BeginDate + "' AND of2.InRoomTime<'" + BeginDate.AddDays(1) + "' and RecoverId=1";
string strSql = "SELECT of2.Id,of1.PatientId, of1.ApplyId, of1.ApplyDepName, of1.OperationType, of1.MdrecNo, of1.PatientName, of2.OperationInfoNames ApplyOperationInfoName, of2.OperationDoctor, of2.AnesthesiaDoctor,of2.OperationRoomId,of2.State ,of1.Sex,[dbo].[funGetAge](of1.BirthDay,getdate()) age,of2.InRoomTime PlanOperationTime,of2.Nurse InstrumentNurse,of2.Nurse2 TourNurse,of2.DiagnoseInfoName ApplyDiagnoseInfoName ,of2.OperationRoom ,of1.Contagion,of1.OrderOperationTime,of2.AnaesthesiaMethodName,of2.InRoomTime FROM V_OperationDoing of2 left join[dbo].[V_OperationFront] of1 on of1.PatientId = of2.PatientId WHERE of2.State in( '手术中','手术结束','停止手术') and of2.InRoomTime >= '" + BeginDate + "' AND of2.InRoomTime<'" + BeginDate.AddDays(1) + "' and RecoverId=1";
if (Room != "" && Room != "-1") strSql += " and of1.OperationRoomId='" + Room + "'";
strSql += " order by [StateId] asc";
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
}
public static DataTable GetTodayDoOpePatientDataTable(DateTime BeginDate)
public static DataTable GetTodayDoOpePatientDataTable(DateTime BeginDate, string Room="")
{
string strSql = "SELECT of2.Id,of1.PatientId, of1.ApplyId, of1.ApplyDepName, of1.OperationType, of1.MdrecNo, of1.PatientName, of2.OperationInfoNames ApplyOperationInfoName, of2.OperationDoctor, of2.AnesthesiaDoctor,of2.OperationRoomId,of2.State ,of1.Sex,[dbo].[funGetAge](of1.BirthDay,getdate()) age,of2.InRoomTime PlanOperationTime,of2.Nurse InstrumentNurse,of2.Nurse2 TourNurse,of2.DiagnoseInfoName ApplyDiagnoseInfoName ,of2.OperationRoom ,of1.Contagion FROM V_OperationDoing of2 left join[dbo].[V_OperationFront] of1 on of1.PatientId = of2.PatientId WHERE of2.State in( '手术中') and of2.InRoomTime >= '" + BeginDate + "' AND of2.InRoomTime<'" + BeginDate.AddDays(1) + "' and RecoverId=1";
string strSql = "SELECT of2.Id,of1.PatientId, of1.ApplyId, of1.ApplyDepName, of1.OperationType, of1.MdrecNo, of1.PatientName, of2.OperationInfoNames ApplyOperationInfoName, of2.OperationDoctor, of2.AnesthesiaDoctor,of2.OperationRoomId,of2.State ,of1.Sex,[dbo].[funGetAge](of1.BirthDay,getdate()) age,of2.InRoomTime PlanOperationTime,of2.Nurse InstrumentNurse,of2.Nurse2 TourNurse,of2.DiagnoseInfoName ApplyDiagnoseInfoName ,of2.OperationRoom ,of1.Contagion,of1.OrderOperationTime,of2.AnaesthesiaMethodName,of2.InRoomTime FROM V_OperationDoing of2 left join[dbo].[V_OperationFront] of1 on of1.PatientId = of2.PatientId WHERE of2.State in( '手术中' ) and of2.InRoomTime >= '" + BeginDate + "' AND of2.InRoomTime<'" + BeginDate.AddDays(1) + "' and RecoverId=1 ";
if (Room != "" && Room != "-1") strSql += " and of1.OperationRoomId='" + Room + "'";
strSql += " order by [StateId] asc";
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
}
@ -75,12 +76,13 @@ namespace AIMSBLL
public static DataTable GetSelectPatientChart()
{
string strSql = "select * from (select CONVERT(nvarchar(7), InRoomTime,120) dat, SUM(ROUND((DATEDIFF(minute, OperationBeginTime, OperationEndTime)) / CONVERT(FLOAT, 60), 1)) AS DiffDate from V_OperationDoing group by CONVERT(nvarchar(7), InRoomTime, 120) ) a order by dat Asc ";
string strSql = "select * from (select CONVERT(nvarchar(7), InRoomTime,120) dat, SUM(ROUND((DATEDIFF(minute, InRoomTime, OutRoomTime)) / CONVERT(FLOAT, 60), 1)) AS DiffDate from OperationRecord where State=2 group by CONVERT(nvarchar(7),InRoomTime , 120) ) a order by dat Asc ";
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
}
public static DataTable GetSelectPatientChart2()
public static DataTable GetSelectPatientChart2(DateTime dateTime)
{
string strSql = "select * from (select CONVERT(nvarchar(7), InRoomTime,120) dat,COUNT(*) con from V_OperationDoing group by CONVERT(nvarchar(7), InRoomTime,120) ) a order by dat Asc ";
string strSql = @"SELECT DeptName dat,COUNT(*) con FROM(SELECT dp.Name DeptName FROM OperationRecord red left join OperationApply oa on oa.Id=red.OperationApplyId
left join Department dp on dp.Id=oa.ApplyDepId WHERE CONVERT(nvarchar(7), InRoomTime, 120)='"+dateTime.ToString("yyyy-MM")+"' And red.[State] = 2 ) temp GROUP BY DeptName ";
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
}

View File

@ -56,6 +56,7 @@
</ItemGroup>
<ItemGroup>
<Compile Include="AttributeHelper.cs" />
<Compile Include="BrowserHelper.cs" />
<Compile Include="ChineseCalendar.cs" />
<Compile Include="DATADBHelper.cs" />
<Compile Include="DataFieldAttribute.cs" />

View File

@ -0,0 +1,211 @@
using Microsoft.Win32;
using System;
using System.Diagnostics;
using System.IO;
using System.Windows.Forms;
namespace AIMSExtension
{
public class BrowserHelper
{
/// <summary>
/// 调用系统浏览器打开网页
/// http://m.jb51.net/article/44622.htm
/// http://www.2cto.com/kf/201412/365633.html
/// </summary>
/// <param name="url">打开网页的链接</param>
public static void OpenBrowserUrlChrome(string url)
{
try
{
// 64位注册表路径
var openKey = @"SOFTWARE\Wow6432Node\Google\Chrome";
if (IntPtr.Size == 4)
{
// 32位注册表路径
openKey = @"SOFTWARE\Google\Chrome";
}
RegistryKey appPath = Registry.LocalMachine.OpenSubKey(openKey);
// 谷歌浏览器就用谷歌打开,没找到就用系统默认的浏览器
// 谷歌卸载了,注册表还没有清空,程序会返回一个"系统找不到指定的文件。"的bug
if (appPath != null)
{
var result = Process.Start("chrome.exe", url);
if (result == null)
{
OpenIe(url);
}
}
else
{
OpenDefaultBrowserUrl(url);
}
//var result = Process.Start("C:\\Google\\chrome.exe", url);
//if (result == null)
//{
// OpenIe(url);
//}
}
catch
{
// 出错调用用户默认设置的浏览器还不行就调用IE
OpenDefaultBrowserUrl(url);
}
}
/// <summary>
/// 调用系统浏览器打开网页
/// http://m.jb51.net/article/44622.htm
/// http://www.2cto.com/kf/201412/365633.html
/// </summary>
/// <param name="url">打开网页的链接</param>
public static void OpenBrowserUrl(string url)
{
try
{
//// 64位注册表路径
//var openKey = @"SOFTWARE\Wow6432Node\Google\Chrome";
//if (IntPtr.Size == 4)
//{
// // 32位注册表路径
// openKey = @"SOFTWARE\Google\Chrome";
//}
//RegistryKey appPath = Registry.LocalMachine.OpenSubKey(openKey);
//// 谷歌浏览器就用谷歌打开,没找到就用系统默认的浏览器
//// 谷歌卸载了,注册表还没有清空,程序会返回一个"系统找不到指定的文件。"的bug
//if (appPath != null)
//{
// var result = Process.Start("chrome.exe", url);
// if (result == null)
// {
// OpenIe(url);
// }
//}
//else
//{
// OpenDefaultBrowserUrl(url);
//}
var result = Process.Start("C:\\Google\\chrome.exe", url);
if (result == null)
{
OpenIe(url);
}
}
catch
{
// 出错调用用户默认设置的浏览器还不行就调用IE
OpenDefaultBrowserUrl(url);
}
}
/// <summary>
/// 用IE打开浏览器
/// </summary>
/// <param name="url"></param>
public static void OpenIe(string url)
{
try
{
Process.Start("iexplore.exe", url);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
// IE浏览器路径安装C:\Program Files\Internet Explorer
// at System.Diagnostics.process.StartWithshellExecuteEx(ProcessStartInfo startInfo)注意这个错误
try
{
if (File.Exists(@"C:\Program Files\Internet Explorer\iexplore.exe"))
{
ProcessStartInfo processStartInfo = new ProcessStartInfo
{
FileName = @"C:\Program Files\Internet Explorer\iexplore.exe",
Arguments = url,
UseShellExecute = false,
CreateNoWindow = true
};
Process.Start(processStartInfo);
}
else
{
if (File.Exists(@"C:\Program Files (x86)\Internet Explorer\iexplore.exe"))
{
ProcessStartInfo processStartInfo = new ProcessStartInfo
{
FileName = @"C:\Program Files (x86)\Internet Explorer\iexplore.exe",
Arguments = url,
UseShellExecute = false,
CreateNoWindow = true
};
Process.Start(processStartInfo);
}
else
{
if (MessageBox.Show("系统未安装IE浏览器是否下载安装", null, MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question) == DialogResult.Yes)
{
// 打开下载链接,从微软官网下载
OpenDefaultBrowserUrl("http://windows.microsoft.com/zh-cn/internet-explorer/download-ie");
}
}
}
}
catch (Exception exception)
{
MessageBox.Show(exception.Message);
}
}
}
/// <summary>
/// 打开系统默认浏览器(用户自己设置了默认浏览器)
/// </summary>
/// <param name="url"></param>
public static void OpenDefaultBrowserUrl(string url)
{
try
{
// 方法1
//从注册表中读取默认浏览器可执行文件路径
RegistryKey key = Registry.ClassesRoot.OpenSubKey(@"http\shell\open\command\");
if (key != null)
{
string s = key.GetValue("").ToString();
//s就是你的默认浏览器不过后面带了参数把它截去不过需要注意的是不同的浏览器后面的参数不一样
//"D:\Program Files (x86)\Google\Chrome\Application\chrome.exe" -- "%1"
var lastIndex = s.IndexOf(".exe", StringComparison.Ordinal);
var path = s.Substring(1, lastIndex + 3);
var result = Process.Start(path, url);
if (result == null)
{
// 方法2
// 调用系统默认的浏览器
var result1 = Process.Start("explorer.exe", url);
if (result1 == null)
{
// 方法3
Process.Start(url);
}
}
}
else
{
// 方法2
// 调用系统默认的浏览器
var result1 = Process.Start("explorer.exe", url);
if (result1 == null)
{
// 方法3
Process.Start(url);
}
}
}
catch
{
OpenIe(url);
}
}
}
}

View File

@ -82,10 +82,16 @@ namespace DocumentManagement
if (onepriceText != null && CountText != null && PriceText != null)
if (onepriceText.Text != "" && CountText.Text != "")
{
double num = double.Parse(CountText.Text);
try
{
double num = double.Parse(CountText.Text.Trim());
double oneprice = double.Parse(onepriceText.Text);
PriceText.Text = (num * oneprice).ToString();
}
catch (Exception)
{
}
}
}
public static double GetTextAllValue(XTextDocument Document, int minNum, int maxNum)
@ -96,10 +102,16 @@ namespace DocumentManagement
var PriceText = Document.Fields.ToArray().Where(x => x is XTextInputFieldElement
&& (x as XTextInputFieldElement).ID == "field" + i).FirstOrDefault();
if (PriceText.Text != "")
{
try
{
double price = double.Parse(PriceText.Text);
Result += price;
}
catch (Exception)
{
}
}
}
return Result;
}

View File

@ -183,6 +183,8 @@ namespace DrawGraph
}
}
public static void Hidden(bool isShow = false)
{
try
{
if (aEdit != null)
{
@ -191,6 +193,10 @@ namespace DrawGraph
//aEdit.IsVisible =false;
}
}
catch (Exception)
{
}
}
static void dgvZd_CellClick(object sender, DataGridViewCellEventArgs e)

View File

@ -193,6 +193,8 @@ namespace DrawGraph
}
}
public static void Hidden(bool isShow = false)
{
try
{
if (aEdit != null)
{
@ -201,6 +203,10 @@ namespace DrawGraph
aEdit.IsVisible = false;
}
}
catch (Exception)
{
}
}
static void dgvZd_CellClick(object sender, DataGridViewCellEventArgs e)

View File

@ -204,6 +204,8 @@ namespace DrawGraph
}
}
public static void Hidden(bool isShow = false)
{
try
{
if (aEdit != null)
{
@ -212,6 +214,10 @@ namespace DrawGraph
aEdit.IsVisible = false;
}
}
catch (Exception)
{
}
}
static void dgvZd_CellClick(object sender, DataGridViewCellEventArgs e)