等候区大屏幕调整优化 查询管理开发
This commit is contained in:
parent
a2835a50da
commit
8701d2b758
@ -2,6 +2,7 @@
|
||||
using AIMSBLL;
|
||||
using AIMSExtension;
|
||||
using AIMSModel;
|
||||
using DCSoftDotfuscate;
|
||||
using DevComponents.DotNetBar;
|
||||
using DocumentManagement;
|
||||
using System;
|
||||
@ -51,7 +52,7 @@ namespace AIMS.OperationAfter.UI
|
||||
sb.Append("性别:" + Patient.Sex + t);
|
||||
sb.Append("手术名称:" + Patient.OperationInfoName + t);
|
||||
sb.Append("状态:" + Patient.State + t);
|
||||
this.lblPatient.Text = sb.ToString();
|
||||
this.lblPatient.Text = sb.ToString();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@ -89,27 +90,30 @@ namespace AIMS.OperationAfter.UI
|
||||
DataTable vPlanedOpeList = BOperationApply.GetOperationFrontDataTable(beginTime.ToString("yyyy-MM-dd 00:00:00"), endTime.ToString("yyyy-MM-dd 23:59:59"));
|
||||
if (vPlanedOpeList.Rows.Count <= 0) return;
|
||||
|
||||
vPlanedOpeList = AIMSExtension.PublicMethod.GetNewDataTable( vPlanedOpeList, "State not IN ('退回') ", "");
|
||||
string roomname = "";
|
||||
vPlanedOpeList = AIMSExtension.PublicMethod.GetNewDataTable(vPlanedOpeList, "State not IN ('退回') ", "");
|
||||
|
||||
List<string> list = new List<string>();
|
||||
foreach (DataRow po in vPlanedOpeList.Rows)
|
||||
{
|
||||
if (po["OperationRoom"].ToString() != roomname)
|
||||
if (po["OperationRoom"].ToString() != "" && !list.Contains(po["OperationRoom"].ToString()))
|
||||
list.Add(po["OperationRoom"].ToString());
|
||||
}
|
||||
foreach (var item in list)
|
||||
{
|
||||
TreeNode roomnode = new TreeNode(item);
|
||||
roomnode.Tag = item;
|
||||
treeViewPatient.Nodes.Add(roomnode);
|
||||
foreach (DataRow vpo in vPlanedOpeList.Rows)
|
||||
{
|
||||
roomname = po["OperationRoom"].ToString();
|
||||
TreeNode roomnode = new TreeNode(roomname);
|
||||
roomnode.Tag = po["OperationRoomId"].ToString();
|
||||
treeViewPatient.Nodes.Add(roomnode);
|
||||
foreach (DataRow vpo in vPlanedOpeList.Rows)
|
||||
if (item == vpo["OperationRoom"].ToString())
|
||||
{
|
||||
if (po["OperationRoom"].ToString() == vpo["OperationRoom"].ToString())
|
||||
{
|
||||
TreeNode sNode = new TreeNode(vpo["PatientName"].ToString() + "-" + vpo["MdrecNo"].ToString());
|
||||
sNode.Tag = vpo;
|
||||
roomnode.Nodes.Add(sNode);
|
||||
}
|
||||
TreeNode sNode = new TreeNode(vpo["PatientName"].ToString() + "-" + vpo["MdrecNo"].ToString());
|
||||
sNode.Tag = vpo;
|
||||
roomnode.Nodes.Add(sNode);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
TreeNode roomnodenull = new TreeNode("未排程");
|
||||
foreach (DataRow vpo in vPlanedOpeList.Rows)
|
||||
{
|
||||
@ -412,25 +416,25 @@ namespace AIMS.OperationAfter.UI
|
||||
}
|
||||
|
||||
private void buttonX1_Click(object sender, EventArgs e)
|
||||
{
|
||||
{
|
||||
if (PublicMethod.GetHospitalName().Contains("秦皇岛"))
|
||||
{
|
||||
if (Patient.HISPatientId != null && Patient.VisitTimes != null)
|
||||
{
|
||||
try
|
||||
{
|
||||
string patientId = "orcl:LDQ:5:1:0:" + Patient.HISPatientId + ":" + Patient.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”");
|
||||
}
|
||||
{
|
||||
string patientId = "orcl:LDQ:5:1:0:" + Patient.HISPatientId + ":" + Patient.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”");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
869
AIMS/OperationAfter/frmOperationManage.Designer.cs
generated
869
AIMS/OperationAfter/frmOperationManage.Designer.cs
generated
File diff suppressed because it is too large
Load Diff
@ -48,13 +48,11 @@ namespace AIMS.OperationAfter.UI
|
||||
dtpEndDate.Value = DateTime.Parse(dtpEndDate.Value.ToString("yyyy-MM-dd")).AddDays(4);
|
||||
|
||||
tokenEditor1.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken("1,2,3,4,5,6,7,8,9,10,11", "全部"));
|
||||
tokenEditor1.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken("1,2,3", "未排程"));
|
||||
tokenEditor1.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken("4,5", "已排程"));
|
||||
tokenEditor1.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken("1,2,3,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.SelectedTokens.Add(tokenEditor1.Tokens[1]);
|
||||
tokenEditor1.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken("10,11", "手术停止"));
|
||||
tokenEditor1.SelectedTokens.Add(tokenEditor1.Tokens[0]);
|
||||
|
||||
|
||||
List<OperationRoom> rooms = BOperationRoom.GetOperationRooms("IsValid=1 and Site='手术室'");
|
||||
@ -62,6 +60,11 @@ namespace AIMS.OperationAfter.UI
|
||||
{
|
||||
tokenEditor2.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken(item.Id.ToString(), item.Name));
|
||||
}
|
||||
List<AnaesthesiaMethod> Anaes = BAnaesthesiaMethod.Select(" IsValid=1 Order by UseRate asc", null);
|
||||
foreach (var item in Anaes)
|
||||
{
|
||||
tokenEditor3.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken(item.Id.ToString(), item.Name));
|
||||
}
|
||||
}
|
||||
|
||||
private void tsbExit_Click(object sender, EventArgs e)
|
||||
@ -96,17 +99,32 @@ namespace AIMS.OperationAfter.UI
|
||||
Room += item.Value + ",";
|
||||
}
|
||||
|
||||
string Anaes = "";
|
||||
for (int i = 0; i < tokenEditor3.SelectedTokens.Count; i++)
|
||||
{
|
||||
var item = tokenEditor3.SelectedTokens[i];
|
||||
if (i == tokenEditor3.SelectedTokens.Count - 1)
|
||||
Anaes += item.Value ;
|
||||
else
|
||||
Anaes += item.Value + ",";
|
||||
}
|
||||
string type = "";
|
||||
if (rboZQ.Checked == true)
|
||||
type = "择期";
|
||||
if (rboJZ.Checked == true)
|
||||
type = "急诊";
|
||||
|
||||
string type1 = "";
|
||||
if (rboZY.Checked == true)
|
||||
type1 = "住院";
|
||||
if (rboMZ.Checked == true)
|
||||
type1 = "门诊";
|
||||
|
||||
string inNO = txtArchivesNo.Text;
|
||||
|
||||
string name = txtName.Text;
|
||||
|
||||
DataTable dt = BOperationApply.GetOperationFrontDataTable(dtpBegInDate.Value.ToString("yyyy-MM-dd"), dtpEndDate.Value.AddDays(1).ToString("yyyy-MM-dd"));
|
||||
DataTable dt = BOperationApply.GetOperationDoingDataTable(dtpBegInDate.Value.ToString("yyyy-MM-dd"), dtpEndDate.Value.AddDays(1).ToString("yyyy-MM-dd"));
|
||||
string Where = "";
|
||||
if (state == "")
|
||||
Where += " StateId >1 ";
|
||||
@ -116,21 +134,30 @@ namespace AIMS.OperationAfter.UI
|
||||
Where += " and ApplyDepName LIKE '%" + Department + "%' ";
|
||||
if (Room != "")
|
||||
Where += " and OperationRoomId IN (" + Room + ") ";
|
||||
if (Anaes != "")
|
||||
Where += " and AnaesthesiaMethodId = '" + Anaes + "' ";
|
||||
if (type != "")
|
||||
Where += " and OperationType='" + type + "' ";
|
||||
if (type1 != "")
|
||||
Where += " and PatientType='" + type1 + "' ";
|
||||
if (inNO != "")
|
||||
Where += " and MdrecNo LIKE '%" + inNO + "%' ";
|
||||
Where += " and (MdrecNo LIKE '%" + inNO + "%' or PatientName LIKE '%" + inNO + "%' ) ";
|
||||
if (name != "")
|
||||
Where += " and PatientName LIKE '%" + name + "%' ";
|
||||
Where += " and (OperationDoctor LIKE '%" + name + "%' or Assistant LIKE '%" + name + "%' or AnesthesiaDoctor LIKE '%" + name + "%' or InstrumentNurse LIKE '%" + name + "%' or TourNurse LIKE '%" + name + "%' ) ";
|
||||
if (cboIsNotPlanReturnOperation.Checked == true)
|
||||
Where += " and IsNotPlanReturnOperation=1 ";
|
||||
if (txtOperation.Text != "")
|
||||
Where += " and (ApplyOperationInfoName LIKE '%" + txtOperation.Text + "%' or OperationInfoName LIKE '%" + txtOperation.Text + "%' ) ";
|
||||
|
||||
dgv.DataSource = AIMSExtension.PublicMethod.GetNewDataTable(dt, Where, "");
|
||||
|
||||
for (int i = 0; i < dgv.Rows.Count; i++)
|
||||
{
|
||||
if (dgv.Rows[i].Cells["OperationTypeColumn"].Value.ToString() == "急诊")
|
||||
{
|
||||
dgv.Rows[i].DefaultCellStyle.BackColor = Color.LightSalmon;
|
||||
}
|
||||
}
|
||||
//for (int i = 0; i < dgv.Rows.Count; i++)
|
||||
//{
|
||||
// if (dgv.Rows[i].Cells["OperationTypeColumn"].Value.ToString() == "急诊")
|
||||
// {
|
||||
// dgv.Rows[i].DefaultCellStyle.BackColor = Color.LightSalmon;
|
||||
// }
|
||||
//}
|
||||
}
|
||||
|
||||
private void tsbExportExcel_Click(object sender, EventArgs e)
|
||||
@ -178,7 +205,7 @@ namespace AIMS.OperationAfter.UI
|
||||
if (cboDepartment.Text == "全部科室")
|
||||
{
|
||||
Department = "";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -129,6 +129,15 @@
|
||||
<metadata name="StateColumn.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">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="SexColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Age.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>
|
||||
@ -141,21 +150,12 @@
|
||||
<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">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="SexColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Age.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<metadata name="OperationTypeColumn.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="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>
|
||||
@ -168,24 +168,60 @@
|
||||
<metadata name="ApplyOperationInfoNameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="InRoomTime.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="OutRoomTime.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="RoomHourTimeSpan.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="AnesthesiaBeginTime.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="AnesthesiaEndTime.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="AnaesthesiaHourTimeSpan.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="OperationBeginTime.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="OperationEndTime.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="OperationHourTimeSpan.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="OperationInfoName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="OperationCutTypeName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="OperationPositionName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="OperationBodyPositionName.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="ASALevelName.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">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Assistant1Column.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="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="AnesthesiaDoctorColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
@ -201,7 +237,13 @@
|
||||
<metadata name="PlanOrder.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="IsNotPlanReturnOperation.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">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="OperatorName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
</root>
|
||||
@ -188,52 +188,50 @@ namespace AIMS.OperationAfter.UI
|
||||
{
|
||||
DeviceCacheData deviceCacheData = lists[0];
|
||||
NowPhysioData nowPhysioData = JsonConvert.DeserializeObject<NowPhysioData>(deviceCacheData.JsonData);
|
||||
foreach (PropertyInfo p in nowPhysioData.GetType().GetProperties())
|
||||
|
||||
if (nowPhysioData.HR != null && nowPhysioData.HR.ToString() != string.Empty && nowPhysioData.HR.ToString() != "NaN" && nowPhysioData.HR.ToString() != "NULL")
|
||||
{
|
||||
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();
|
||||
}
|
||||
}
|
||||
double value = Double.Parse(nowPhysioData.HR.ToString());
|
||||
hr = value <= 0 ? "--" : value.ToString();
|
||||
}
|
||||
if (nowPhysioData.Resp != null && nowPhysioData.Resp.ToString() != string.Empty && nowPhysioData.Resp.ToString() != "NaN" && nowPhysioData.Resp.ToString() != "NULL")
|
||||
{
|
||||
double value = Double.Parse(nowPhysioData.Resp.ToString());
|
||||
}
|
||||
if (nowPhysioData.SPO2 != null && nowPhysioData.SPO2.ToString() != string.Empty && nowPhysioData.SPO2.ToString() != "NaN" && nowPhysioData.SPO2.ToString() != "NULL")
|
||||
{
|
||||
double value = Double.Parse(nowPhysioData.SPO2.ToString());
|
||||
spo2 = value <= 0 ? "--" : value.ToString();
|
||||
}
|
||||
if (nowPhysioData.PR != null && nowPhysioData.PR.ToString() != string.Empty && nowPhysioData.PR.ToString() != "NaN" && nowPhysioData.PR.ToString() != "NULL")
|
||||
{
|
||||
double value = Double.Parse(nowPhysioData.PR.ToString());
|
||||
pr = value <= 0 ? "--" : value.ToString();
|
||||
}
|
||||
if (nowPhysioData.Etco2 != null && nowPhysioData.Etco2.ToString() != string.Empty && nowPhysioData.Etco2.ToString() != "NaN" && nowPhysioData.Etco2.ToString() != "NULL")
|
||||
{
|
||||
double value = Double.Parse(nowPhysioData.Etco2.ToString());
|
||||
etco2 = value <= 0 ? "" : value.ToString();
|
||||
}
|
||||
if (nowPhysioData.Dia != null && nowPhysioData.Dia.ToString() != string.Empty && nowPhysioData.Dia.ToString() != "NaN" && nowPhysioData.Dia.ToString() != "NULL")
|
||||
{
|
||||
double value = Double.Parse(nowPhysioData.Dia.ToString());
|
||||
dia = value <= 0 ? "" : value.ToString();
|
||||
}
|
||||
if (nowPhysioData.Sys != null && nowPhysioData.Sys.ToString() != string.Empty && nowPhysioData.Sys.ToString() != "NaN" && nowPhysioData.Sys.ToString() != "NULL")
|
||||
{
|
||||
double value = Double.Parse(nowPhysioData.Sys.ToString());
|
||||
sys = value <= 0 ? "" : value.ToString();
|
||||
}
|
||||
if (nowPhysioData.Dia_H != null && nowPhysioData.Dia_H.ToString() != string.Empty && nowPhysioData.Dia_H.ToString() != "NaN" && nowPhysioData.Dia_H.ToString() != "NULL")
|
||||
{
|
||||
double value = Double.Parse(nowPhysioData.Dia_H.ToString());
|
||||
dia = value <= 0 ? "" : value.ToString();
|
||||
}
|
||||
if (nowPhysioData.Sys_H != null && nowPhysioData.Sys_H.ToString() != string.Empty && nowPhysioData.Sys_H.ToString() != "NaN" && nowPhysioData.Sys_H.ToString() != "NULL")
|
||||
{
|
||||
double value = Double.Parse(nowPhysioData.Sys_H.ToString());
|
||||
sys = value <= 0 ? "" : value.ToString();
|
||||
}
|
||||
}
|
||||
if (hr.Length > 0)
|
||||
|
||||
@ -635,7 +635,7 @@
|
||||
this.lblSpo2.AutoSize = true;
|
||||
this.lblSpo2.Font = new System.Drawing.Font("微软雅黑", 23F);
|
||||
this.lblSpo2.ForeColor = System.Drawing.Color.Cyan;
|
||||
this.lblSpo2.Location = new System.Drawing.Point(63, 399);
|
||||
this.lblSpo2.Location = new System.Drawing.Point(56, 399);
|
||||
this.lblSpo2.Name = "lblSpo2";
|
||||
this.lblSpo2.Size = new System.Drawing.Size(43, 40);
|
||||
this.lblSpo2.TabIndex = 9;
|
||||
@ -646,7 +646,7 @@
|
||||
this.lblRESP.AutoSize = true;
|
||||
this.lblRESP.Font = new System.Drawing.Font("微软雅黑", 23F);
|
||||
this.lblRESP.ForeColor = System.Drawing.Color.Yellow;
|
||||
this.lblRESP.Location = new System.Drawing.Point(63, 308);
|
||||
this.lblRESP.Location = new System.Drawing.Point(56, 308);
|
||||
this.lblRESP.Name = "lblRESP";
|
||||
this.lblRESP.Size = new System.Drawing.Size(43, 40);
|
||||
this.lblRESP.TabIndex = 7;
|
||||
@ -668,7 +668,7 @@
|
||||
this.lblPR.AutoSize = true;
|
||||
this.lblPR.Font = new System.Drawing.Font("微软雅黑", 23F);
|
||||
this.lblPR.ForeColor = System.Drawing.Color.Green;
|
||||
this.lblPR.Location = new System.Drawing.Point(63, 126);
|
||||
this.lblPR.Location = new System.Drawing.Point(56, 126);
|
||||
this.lblPR.Name = "lblPR";
|
||||
this.lblPR.Size = new System.Drawing.Size(43, 40);
|
||||
this.lblPR.TabIndex = 3;
|
||||
@ -679,7 +679,7 @@
|
||||
this.lblHR.AutoSize = true;
|
||||
this.lblHR.Font = new System.Drawing.Font("微软雅黑", 23F);
|
||||
this.lblHR.ForeColor = System.Drawing.Color.Green;
|
||||
this.lblHR.Location = new System.Drawing.Point(63, 35);
|
||||
this.lblHR.Location = new System.Drawing.Point(56, 35);
|
||||
this.lblHR.Name = "lblHR";
|
||||
this.lblHR.Size = new System.Drawing.Size(43, 40);
|
||||
this.lblHR.TabIndex = 1;
|
||||
|
||||
@ -77,7 +77,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
this.picAnesEnd.BackgroundImage = global::AIMS.Properties.Resources.麻醉结束;
|
||||
this.picOutRoom.BackgroundImage = global::AIMS.Properties.Resources.出手术室;
|
||||
#endregion
|
||||
//AIMSExtension.PublicMethod.SetLocalDateTime();
|
||||
AIMSExtension.PublicMethod.SetLocalDateTime();
|
||||
panel8.MouseWheel += new System.Windows.Forms.MouseEventHandler(panel8_MouseWheel);
|
||||
panel82.MouseWheel += new System.Windows.Forms.MouseEventHandler(panel82_MouseWheel);
|
||||
}
|
||||
@ -87,9 +87,8 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
labOperatorName.Text = "(" + AIMSExtension.PublicMethod.OperatorNo + ")" + " " + AIMSExtension.PublicMethod.OperatorName;
|
||||
if (NowRoom != null) lblRoom.Text = NowRoom.Name;
|
||||
circularProgress1.Location = new Point((panel8.Width - circularProgress1.Width) / 2, (panel8.Height - circularProgress1.Height) / 2);
|
||||
this.MaximizeBox = false;
|
||||
//this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
|
||||
LoadAnesRescue();
|
||||
}
|
||||
|
||||
@ -1476,79 +1475,52 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
List<DeviceCacheData> lists = e.Result as List<DeviceCacheData>;
|
||||
if (lists != null && lists.Count > 0)
|
||||
{
|
||||
DeviceCacheData deviceCacheData = lists[0];
|
||||
DeviceCacheData deviceCacheData = lists[0];
|
||||
NowPhysioData nowPhysioData = JsonConvert.DeserializeObject<NowPhysioData>(deviceCacheData.JsonData);
|
||||
foreach (PropertyInfo p in nowPhysioData.GetType().GetProperties())
|
||||
{
|
||||
bool iswar = false;
|
||||
foreach (PhysioDataConfig keyValuePair in _record.addPhysioList)
|
||||
{
|
||||
if (keyValuePair.Enname.ToUpper() == p.Name.ToUpper())
|
||||
{
|
||||
try
|
||||
{
|
||||
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 (value < keyValuePair.WarningLowLimit || value > keyValuePair.WarningHighLimit)
|
||||
{
|
||||
iswar = true;
|
||||
}
|
||||
|
||||
if (keyValuePair.Name == "心率")
|
||||
{
|
||||
lblHR.Text = value <= 0 ? "- -" : value.ToString();
|
||||
if (iswar == true) lblHR.ForeColor = Color.Red; else lblHR.ForeColor = Color.Green;
|
||||
}
|
||||
if (keyValuePair.Name == "自主呼吸")
|
||||
{
|
||||
lblRESP.Text = value <= 0 ? "- -" : value.ToString();
|
||||
if (iswar == true) lblRESP.ForeColor = Color.Red; else lblRESP.ForeColor = Color.Yellow;
|
||||
}
|
||||
if (keyValuePair.Name == "氧饱和度")
|
||||
{
|
||||
lblSpo2.Text = value <= 0 ? "- -" : value.ToString();
|
||||
if (iswar == true) lblSpo2.ForeColor = Color.Red; else lblSpo2.ForeColor = Color.Cyan;
|
||||
}
|
||||
if (keyValuePair.Name == "脉率")
|
||||
{
|
||||
lblPR.Text = value <= 0 ? "- -" : value.ToString();
|
||||
if (iswar == true) lblPR.ForeColor = Color.Red; else lblPR.ForeColor = Color.Green;
|
||||
}
|
||||
if (keyValuePair.Name == "无创舒张压")
|
||||
{
|
||||
szy = value <= 0 ? "" : value.ToString();
|
||||
//if (iswar == true) lblDia.ForeColor = Color.Red; else lblDia.ForeColor = Color.Green;
|
||||
}
|
||||
if (keyValuePair.Name == "无创收缩压")
|
||||
{
|
||||
ssy = value <= 0 ? "" : value.ToString();
|
||||
//if (iswar == true) lblDia.ForeColor = Color.Red; else lblDia.ForeColor = Color.Green;
|
||||
}
|
||||
if (keyValuePair.Name == "有创舒张压")
|
||||
{
|
||||
szy = value <= 0 ? "" : value.ToString();
|
||||
//if (iswar == true) lblDia.ForeColor = Color.Red; else lblDia.ForeColor = Color.Green;
|
||||
}
|
||||
if (keyValuePair.Name == "有创收缩压")
|
||||
{
|
||||
ssy = value <= 0 ? "" : value.ToString();
|
||||
//if (iswar == true) lblDia.ForeColor = Color.Red; else lblDia.ForeColor = Color.Green;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
//PublicMethod.WriteLog(ex);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (nowPhysioData.HR != null && nowPhysioData.HR.ToString() != string.Empty && nowPhysioData.HR.ToString() != "NaN" && nowPhysioData.HR.ToString() != "NULL")
|
||||
{
|
||||
double value = Double.Parse(nowPhysioData.HR.ToString());
|
||||
lblHR.Text = value <= 0 ? "- -" : value.ToString();
|
||||
}
|
||||
if (nowPhysioData.Resp != null && nowPhysioData.Resp.ToString() != string.Empty && nowPhysioData.Resp.ToString() != "NaN" && nowPhysioData.Resp.ToString() != "NULL")
|
||||
{
|
||||
double value = Double.Parse(nowPhysioData.Resp.ToString());
|
||||
lblRESP.Text = value <= 0 ? "- -" : value.ToString();
|
||||
}
|
||||
if (nowPhysioData.SPO2 != null && nowPhysioData.SPO2.ToString() != string.Empty && nowPhysioData.SPO2.ToString() != "NaN" && nowPhysioData.SPO2.ToString() != "NULL")
|
||||
{
|
||||
double value = Double.Parse(nowPhysioData.SPO2.ToString());
|
||||
lblSpo2.Text = value <= 0 ? "- -" : value.ToString();
|
||||
}
|
||||
if (nowPhysioData.PR != null && nowPhysioData.PR.ToString() != string.Empty && nowPhysioData.PR.ToString() != "NaN" && nowPhysioData.PR.ToString() != "NULL")
|
||||
{
|
||||
double value = Double.Parse(nowPhysioData.PR.ToString());
|
||||
lblPR.Text = value <= 0 ? "- -" : value.ToString();
|
||||
}
|
||||
if (nowPhysioData.Dia != null && nowPhysioData.Dia.ToString() != string.Empty && nowPhysioData.Dia.ToString() != "NaN" && nowPhysioData.Dia.ToString() != "NULL")
|
||||
{
|
||||
double value = Double.Parse(nowPhysioData.Dia.ToString());
|
||||
szy = value <= 0 ? "" : value.ToString();
|
||||
}
|
||||
if (nowPhysioData.Sys != null && nowPhysioData.Sys.ToString() != string.Empty && nowPhysioData.Sys.ToString() != "NaN" && nowPhysioData.Sys.ToString() != "NULL")
|
||||
{
|
||||
double value = Double.Parse(nowPhysioData.Sys.ToString());
|
||||
ssy = value <= 0 ? "" : value.ToString();
|
||||
}
|
||||
if (nowPhysioData.Dia_H != null && nowPhysioData.Dia_H.ToString() != string.Empty && nowPhysioData.Dia_H.ToString() != "NaN" && nowPhysioData.Dia_H.ToString() != "NULL")
|
||||
{
|
||||
double value = Double.Parse(nowPhysioData.Dia_H.ToString());
|
||||
szy = value <= 0 ? "" : value.ToString();
|
||||
}
|
||||
if (nowPhysioData.Sys_H != null && nowPhysioData.Sys_H.ToString() != string.Empty && nowPhysioData.Sys_H.ToString() != "NaN" && nowPhysioData.Sys_H.ToString() != "NULL")
|
||||
{
|
||||
double value = Double.Parse(nowPhysioData.Sys_H.ToString());
|
||||
ssy = value <= 0 ? "" : value.ToString();
|
||||
}
|
||||
|
||||
string szyssy = ssy + "/" + szy;
|
||||
lblDia.Text = szyssy == "/" ? "---/---" : szyssy;
|
||||
lblDia.Text = szyssy == "/" ? "---/---" : szyssy;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@ -528,7 +528,7 @@
|
||||
this.lblSpo2.AutoSize = true;
|
||||
this.lblSpo2.Font = new System.Drawing.Font("微软雅黑", 23F);
|
||||
this.lblSpo2.ForeColor = System.Drawing.Color.Cyan;
|
||||
this.lblSpo2.Location = new System.Drawing.Point(60, 414);
|
||||
this.lblSpo2.Location = new System.Drawing.Point(52, 414);
|
||||
this.lblSpo2.Name = "lblSpo2";
|
||||
this.lblSpo2.Size = new System.Drawing.Size(43, 40);
|
||||
this.lblSpo2.TabIndex = 38;
|
||||
@ -539,7 +539,7 @@
|
||||
this.lblRESP.AutoSize = true;
|
||||
this.lblRESP.Font = new System.Drawing.Font("微软雅黑", 23F);
|
||||
this.lblRESP.ForeColor = System.Drawing.Color.Yellow;
|
||||
this.lblRESP.Location = new System.Drawing.Point(60, 323);
|
||||
this.lblRESP.Location = new System.Drawing.Point(52, 323);
|
||||
this.lblRESP.Name = "lblRESP";
|
||||
this.lblRESP.Size = new System.Drawing.Size(43, 40);
|
||||
this.lblRESP.TabIndex = 36;
|
||||
@ -561,7 +561,7 @@
|
||||
this.lblPR.AutoSize = true;
|
||||
this.lblPR.Font = new System.Drawing.Font("微软雅黑", 23F);
|
||||
this.lblPR.ForeColor = System.Drawing.Color.Green;
|
||||
this.lblPR.Location = new System.Drawing.Point(60, 141);
|
||||
this.lblPR.Location = new System.Drawing.Point(52, 141);
|
||||
this.lblPR.Name = "lblPR";
|
||||
this.lblPR.Size = new System.Drawing.Size(43, 40);
|
||||
this.lblPR.TabIndex = 33;
|
||||
@ -572,7 +572,7 @@
|
||||
this.lblHR.AutoSize = true;
|
||||
this.lblHR.Font = new System.Drawing.Font("微软雅黑", 23F);
|
||||
this.lblHR.ForeColor = System.Drawing.Color.Green;
|
||||
this.lblHR.Location = new System.Drawing.Point(60, 50);
|
||||
this.lblHR.Location = new System.Drawing.Point(52, 50);
|
||||
this.lblHR.Name = "lblHR";
|
||||
this.lblHR.Size = new System.Drawing.Size(43, 40);
|
||||
this.lblHR.TabIndex = 26;
|
||||
@ -979,7 +979,7 @@
|
||||
this.txtTourNurse.Name = "txtTourNurse";
|
||||
this.txtTourNurse.Size = new System.Drawing.Size(120, 22);
|
||||
this.txtTourNurse.TabIndex = 847;
|
||||
this.txtTourNurse.Click += new System.EventHandler(this.txtTourNurse_Click);
|
||||
this.txtTourNurse.DoubleClick += new System.EventHandler(this.txtTourNurse_Click);
|
||||
//
|
||||
// txtInstrumentNurse
|
||||
//
|
||||
@ -1005,7 +1005,7 @@
|
||||
this.txtInstrumentNurse.Name = "txtInstrumentNurse";
|
||||
this.txtInstrumentNurse.Size = new System.Drawing.Size(120, 22);
|
||||
this.txtInstrumentNurse.TabIndex = 848;
|
||||
this.txtInstrumentNurse.Click += new System.EventHandler(this.txtInstrumentNurse_Click);
|
||||
this.txtInstrumentNurse.DoubleClick += new System.EventHandler(this.txtInstrumentNurse_Click);
|
||||
//
|
||||
// panelQXList
|
||||
//
|
||||
|
||||
@ -22,6 +22,7 @@ using System.Drawing.Printing;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Security.Cryptography;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
@ -531,7 +532,6 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
txtOperationBegin.LostFocus += new EventHandler(txtDateTime_LostFocus);
|
||||
txtOperationEnd.LostFocus += new EventHandler(txtDateTime_LostFocus);
|
||||
}
|
||||
GetPhysioDataConfig();
|
||||
circularProgress1.IsRunning = false;
|
||||
circularProgress1.Visible = false;
|
||||
zgcAnaesRecord.Visible = true;
|
||||
@ -544,7 +544,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
{
|
||||
AIMS.OperationDoing.AnasRecordBill.UI.frmOperationInfoNew2 frmOperationInfo = new frmOperationInfoNew2();
|
||||
frmOperationInfo._record = _record;
|
||||
frmOperationInfo.FormClosed += new FormClosedEventHandler(plRefresh_Click);
|
||||
//frmOperationInfo.FormClosed += new FormClosedEventHandler(plRefresh_Click);
|
||||
frmOperationInfo.ShowDialog();
|
||||
}
|
||||
else
|
||||
@ -738,8 +738,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
try
|
||||
{
|
||||
if (NowRoom == null) return;
|
||||
if (State != AIMSExtension.EditState.BROWSE)
|
||||
ShowMonitorDataToRight();
|
||||
ShowMonitorDataToRight();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
@ -760,7 +759,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
|
||||
{
|
||||
BackgroundWorker worker = sender as BackgroundWorker;
|
||||
List<DeviceCacheData> lists = DeviceCacheData.Select(" IPAddress='" + NowRoom.Ip + "' and UpdateTime>='" + DateTime.Now.AddSeconds(-300) + "'");
|
||||
List<DeviceCacheData> lists = DeviceCacheData.Select(" IPAddress='" + NowRoom.Ip + "' and UpdateTime>='" + DateTime.Now.AddSeconds(-3000) + "'");
|
||||
e.Result = lists;
|
||||
}
|
||||
private void backgroundWorker1_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
|
||||
@ -770,68 +769,48 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
{
|
||||
DeviceCacheData deviceCacheData = lists[0];
|
||||
NowPhysioData nowPhysioData = JsonConvert.DeserializeObject<NowPhysioData>(deviceCacheData.JsonData);
|
||||
foreach (PropertyInfo p in nowPhysioData.GetType().GetProperties())
|
||||
{
|
||||
bool iswar = false;
|
||||
foreach (PhysioDataConfig keyValuePair in _record.addPhysioList)
|
||||
{
|
||||
if (keyValuePair.Enname.ToUpper() == p.Name.ToUpper())
|
||||
{
|
||||
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 (value < keyValuePair.WarningLowLimit || value > keyValuePair.WarningHighLimit)
|
||||
{
|
||||
iswar = true;
|
||||
}
|
||||
|
||||
if (keyValuePair.Name == "心率")
|
||||
{
|
||||
lblHR.Text = value <= 0 ? "- -" : value.ToString();
|
||||
if (iswar == true) lblHR.ForeColor = Color.Red; else lblHR.ForeColor = Color.Green;
|
||||
}
|
||||
if (keyValuePair.Name == "自主呼吸")
|
||||
{
|
||||
lblRESP.Text = value <= 0 ? "- -" : value.ToString();
|
||||
if (iswar == true) lblRESP.ForeColor = Color.Red; else lblRESP.ForeColor = Color.Yellow;
|
||||
}
|
||||
if (keyValuePair.Name == "氧饱和度")
|
||||
{
|
||||
lblSpo2.Text = value <= 0 ? "- -" : value.ToString();
|
||||
if (iswar == true) lblSpo2.ForeColor = Color.Red; else lblSpo2.ForeColor = Color.Cyan;
|
||||
}
|
||||
if (keyValuePair.Name == "脉率")
|
||||
{
|
||||
lblPR.Text = value <= 0 ? "- -" : value.ToString();
|
||||
if (iswar == true) lblPR.ForeColor = Color.Red; else lblPR.ForeColor = Color.Green;
|
||||
}
|
||||
if (keyValuePair.Name == "无创舒张压")
|
||||
{
|
||||
szy = value <= 0 ? "" : value.ToString();
|
||||
//if (iswar == true) lblDia.ForeColor = Color.Red; else lblDia.ForeColor = Color.Green;
|
||||
}
|
||||
if (keyValuePair.Name == "无创收缩压")
|
||||
{
|
||||
ssy = value <= 0 ? "" : value.ToString();
|
||||
//if (iswar == true) lblDia.ForeColor = Color.Red; else lblDia.ForeColor = Color.Green;
|
||||
}
|
||||
if (keyValuePair.Name == "有创舒张压")
|
||||
{
|
||||
szy = value <= 0 ? "" : value.ToString();
|
||||
//if (iswar == true) lblDia.ForeColor = Color.Red; else lblDia.ForeColor = Color.Green;
|
||||
}
|
||||
if (keyValuePair.Name == "有创收缩压")
|
||||
{
|
||||
ssy = value <= 0 ? "" : value.ToString();
|
||||
//if (iswar == true) lblDia.ForeColor = Color.Red; else lblDia.ForeColor = Color.Green;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (nowPhysioData.HR != null && nowPhysioData.HR.ToString() != string.Empty && nowPhysioData.HR.ToString() != "NaN" && nowPhysioData.HR.ToString() != "NULL")
|
||||
{
|
||||
double value = Double.Parse(nowPhysioData.HR.ToString());
|
||||
lblHR.Text = value <= 0 ? "- -" : value.ToString();
|
||||
}
|
||||
if (nowPhysioData.Resp != null && nowPhysioData.Resp.ToString() != string.Empty && nowPhysioData.Resp.ToString() != "NaN" && nowPhysioData.Resp.ToString() != "NULL")
|
||||
{
|
||||
double value = Double.Parse(nowPhysioData.Resp.ToString());
|
||||
lblRESP.Text = value <= 0 ? "- -" : value.ToString();
|
||||
}
|
||||
if (nowPhysioData.SPO2 != null && nowPhysioData.SPO2.ToString() != string.Empty && nowPhysioData.SPO2.ToString() != "NaN" && nowPhysioData.SPO2.ToString() != "NULL")
|
||||
{
|
||||
double value = Double.Parse(nowPhysioData.SPO2.ToString());
|
||||
lblSpo2.Text = value <= 0 ? "- -" : value.ToString();
|
||||
}
|
||||
if (nowPhysioData.PR != null && nowPhysioData.PR.ToString() != string.Empty && nowPhysioData.PR.ToString() != "NaN" && nowPhysioData.PR.ToString() != "NULL")
|
||||
{
|
||||
double value = Double.Parse(nowPhysioData.PR.ToString());
|
||||
lblPR.Text = value <= 0 ? "- -" : value.ToString();
|
||||
}
|
||||
if (nowPhysioData.Dia != null && nowPhysioData.Dia.ToString() != string.Empty && nowPhysioData.Dia.ToString() != "NaN" && nowPhysioData.Dia.ToString() != "NULL")
|
||||
{
|
||||
double value = Double.Parse(nowPhysioData.Dia.ToString());
|
||||
szy = value <= 0 ? "" : value.ToString();
|
||||
}
|
||||
if (nowPhysioData.Sys != null && nowPhysioData.Sys.ToString() != string.Empty && nowPhysioData.Sys.ToString() != "NaN" && nowPhysioData.Sys.ToString() != "NULL")
|
||||
{
|
||||
double value = Double.Parse(nowPhysioData.Sys.ToString());
|
||||
ssy = value <= 0 ? "" : value.ToString();
|
||||
}
|
||||
if (nowPhysioData.Dia_H != null && nowPhysioData.Dia_H.ToString() != string.Empty && nowPhysioData.Dia_H.ToString() != "NaN" && nowPhysioData.Dia_H.ToString() != "NULL")
|
||||
{
|
||||
double value = Double.Parse(nowPhysioData.Dia_H.ToString());
|
||||
szy = value <= 0 ? "" : value.ToString();
|
||||
}
|
||||
if (nowPhysioData.Sys_H != null && nowPhysioData.Sys_H.ToString() != string.Empty && nowPhysioData.Sys_H.ToString() != "NaN" && nowPhysioData.Sys_H.ToString() != "NULL")
|
||||
{
|
||||
double value = Double.Parse(nowPhysioData.Sys_H.ToString());
|
||||
ssy = value <= 0 ? "" : value.ToString();
|
||||
}
|
||||
|
||||
string szyssy = ssy + "/" + szy;
|
||||
lblDia.Text = szyssy == "/" ? "---/---" : szyssy;
|
||||
}
|
||||
@ -921,7 +900,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
templateManage.zedControl_MouseDoubleClick(send, e);
|
||||
}
|
||||
}
|
||||
//public ucStripMenuItem menuItem = new ucStripMenuItem();
|
||||
|
||||
private void zgcAnaesRecord_ContextMenuBuilder(ZedGraphControl sender, ContextMenuStrip menuStrip, Point mousePt, ZedGraphControl.ContextMenuObjectState objState)
|
||||
{
|
||||
|
||||
@ -967,10 +946,30 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
reDrawEvent();
|
||||
templateManage.Bind();
|
||||
|
||||
txtInstrumentNurse.Text = "";
|
||||
SelectInstrumentNurseData = BFactPersonDuty.GetPersonIdList(_record.PatientId.Value, 6);
|
||||
foreach (int RowId in SelectInstrumentNurseData)
|
||||
{
|
||||
txtInstrumentNurse.Text += BPerson.SelectSingle(RowId).Name + ",";
|
||||
}
|
||||
if (SelectInstrumentNurseData.Count > 0)
|
||||
{
|
||||
txtInstrumentNurse.Text = txtInstrumentNurse.Text.Substring(0, txtInstrumentNurse.Text.LastIndexOf(","));
|
||||
}
|
||||
|
||||
txtTourNurse.Text = "";
|
||||
SelectTourNurseData = BFactPersonDuty.GetPersonIdList(_record.PatientId.Value, 7);
|
||||
foreach (int RowId in SelectTourNurseData)
|
||||
{
|
||||
txtTourNurse.Text += BPerson.SelectSingle(RowId).Name + ",";
|
||||
}
|
||||
if (SelectTourNurseData.Count > 0)
|
||||
{
|
||||
txtTourNurse.Text = txtTourNurse.Text.Substring(0, txtTourNurse.Text.LastIndexOf(","));
|
||||
}
|
||||
|
||||
if (_record.InstrumentList.ApplianceUseType != null && _record.InstrumentList.ApplianceUseType != "")
|
||||
{
|
||||
txtInstrumentNurse.Text = _record.InstrumentList.InstrumentNurse;
|
||||
txtTourNurse.Text = _record.InstrumentList.TourNurse;
|
||||
txtRemark.Text = _record.InstrumentList.Remark;
|
||||
LoadOperationGoodsBillRecord();
|
||||
}
|
||||
@ -980,60 +979,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
}
|
||||
zgcAnaesRecord.Refresh();
|
||||
}
|
||||
}
|
||||
|
||||
private void GetPhysioDataConfig ()
|
||||
{
|
||||
if (_record.addPhysioList.Count == 0)
|
||||
{
|
||||
//加载生命体征图标
|
||||
IList<PhysioDataConfig> dt = PhysioDataConfig.GetAllList();
|
||||
for (int i = 0; i < dt.Count; i++)
|
||||
{
|
||||
PhysioDataConfig pp = dt[i];
|
||||
string[] str = pp.Color.Split('.');
|
||||
int A = int.Parse(str[0].ToString());
|
||||
int R = int.Parse(str[1].ToString());
|
||||
int G = int.Parse(str[2].ToString());
|
||||
int B = int.Parse(str[3].ToString());
|
||||
pp.ConveColor = System.Drawing.Color.FromArgb(A, R, G, B);
|
||||
|
||||
if (pp.IsDefalultShow == false || (pp.ShowImg == false && pp.ShowText == false))
|
||||
{
|
||||
pp.showStyle = "不显示";
|
||||
pp.IsValid = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (pp.ShowImg == true)
|
||||
{
|
||||
pp.showStyle = "显示曲线";
|
||||
pp.IsValid = true;
|
||||
}
|
||||
if (pp.ShowText == true)
|
||||
{
|
||||
pp.showStyle = "显示数值";
|
||||
pp.IsValid = true;
|
||||
}
|
||||
|
||||
}
|
||||
pp.showStyle = "显示曲线";
|
||||
DateTime DateTimeNow = DateTime.Now;
|
||||
bool isHave = false;
|
||||
foreach (PhysioDataConfig appTemp in _record.addPhysioList)
|
||||
{
|
||||
if (appTemp.Name.Equals(pp.Name))
|
||||
{
|
||||
isHave = true;
|
||||
}
|
||||
}
|
||||
if (!isHave)
|
||||
{
|
||||
_record.addPhysioList.Add(pp);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void DrawEvent()
|
||||
{
|
||||
@ -1171,18 +1117,6 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
#endregion
|
||||
|
||||
#region 右侧按钮
|
||||
private void btnyldj_Click(object sender, EventArgs e)
|
||||
{
|
||||
FormUseDrugsReport formUseDrugsReport = new FormUseDrugsReport(1);
|
||||
if (_record != null) formUseDrugsReport._record = _record;
|
||||
formUseDrugsReport.Show();
|
||||
}
|
||||
|
||||
private void btnzsk_Click(object sender, EventArgs e)
|
||||
{
|
||||
frmKnowledgeBase frm = new frmKnowledgeBase();
|
||||
frm.Show();
|
||||
}
|
||||
|
||||
private void btndptz_Click(object sender, EventArgs e)
|
||||
{
|
||||
@ -1343,7 +1277,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
uc.GoodsName = dr["Name"].ToString();
|
||||
if (applic == null)
|
||||
{
|
||||
string ApplianceNumber = dr["ApplianceNumber"].ToString();
|
||||
string ApplianceNumber = dr["ApplianceNumber"].ToString();
|
||||
uc.GoodsNumber = ApplianceNumber;
|
||||
}
|
||||
uc.Location = new Point((uc.Width) * i, (uc.Height - 1) * j);
|
||||
@ -1474,6 +1408,13 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
|
||||
#region 自定义方法
|
||||
private void PanelSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
SaveInstrument(sender);
|
||||
ReviewEvent();
|
||||
new frmMessageBox().Show();
|
||||
}
|
||||
|
||||
private void SaveInstrument(object sender)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -1489,7 +1430,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
_record.InstrumentList.ApplianceUseType = string.Join(",", list.ToArray());
|
||||
}
|
||||
_record.InstrumentList.TagPicture = "";// Convert.ToBase64String(PublicToDoument.ImageToBytes(pictureBox1.Image));
|
||||
_record.InstrumentList.JsonTextData = "";// PublicToDoument.SerializeControl(panel18, _record, new List<string> ());
|
||||
_record.InstrumentList.JsonTextData = "";// PublicToDoument.SerializeControl(panel18, _record, new List<string> ());
|
||||
_record.InstrumentList.InstrumentNurse = txtInstrumentNurse.Text;
|
||||
_record.InstrumentList.TourNurse = txtTourNurse.Text;
|
||||
_record.InstrumentList.Remark = txtRemark.Text;
|
||||
@ -1506,13 +1447,9 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
}
|
||||
_record.InstrumentList.ApplianceRecordList = GetApplianceRecord();
|
||||
BApplianceRecord.InsertListData(_record.InstrumentList.ApplianceRecordList);
|
||||
DBManage.AddPerson(_record, SelectInstrumentNurseData, 6);
|
||||
DBManage.AddPerson(_record, SelectTourNurseData, 7);
|
||||
|
||||
if (templateManage != null)
|
||||
{
|
||||
ZedGraphControl send = sender as ZedGraphControl;
|
||||
templateManage.BindTempData();
|
||||
}
|
||||
MessageBox.Show("保存成功!", "系统提示");
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
@ -1770,15 +1707,58 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
}
|
||||
}
|
||||
|
||||
private PublicUI.UI.frmSelectPerson frmTourNurse;
|
||||
private List<int> SelectTourNurseData = new List<int>(); //一助
|
||||
private void txtTourNurse_Click(object sender, EventArgs e)
|
||||
{
|
||||
setDoctor(sender as TextBox, "手术室护士");
|
||||
_record.InstrumentList.TourNurse = txtTourNurse.Text;
|
||||
frmTourNurse = new PublicUI.UI.frmSelectPerson();
|
||||
frmTourNurse.PersonType = "手术室护士";
|
||||
frmTourNurse.SelectDepartmentName = "手术室";
|
||||
frmTourNurse.SelectPersonData = SelectTourNurseData;
|
||||
frmTourNurse.FormClosed += new FormClosedEventHandler(frmTourNurse_FormClosed);
|
||||
frmTourNurse.ShowDialog();
|
||||
}
|
||||
|
||||
void frmTourNurse_FormClosed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
txtTourNurse.Text = "";
|
||||
if (frmTourNurse.SelectPersonData.Count > 0)
|
||||
{
|
||||
SelectTourNurseData = frmTourNurse.SelectPersonData;
|
||||
foreach (int RowId in frmTourNurse.SelectPersonData)
|
||||
{
|
||||
txtTourNurse.Text += BPerson.SelectSingle(RowId).Name + ",";
|
||||
}
|
||||
int idxStart = txtTourNurse.Text.LastIndexOf(",");
|
||||
txtTourNurse.Text = txtTourNurse.Text.Substring(0, idxStart);
|
||||
}
|
||||
}
|
||||
|
||||
private PublicUI.UI.frmSelectPerson frmInstrumentNurse;
|
||||
private List<int> SelectInstrumentNurseData = new List<int>(); //一助
|
||||
private void txtInstrumentNurse_Click(object sender, EventArgs e)
|
||||
{
|
||||
setDoctor(sender as TextBox, "手术室护士");
|
||||
_record.InstrumentList.InstrumentNurse = txtInstrumentNurse.Text;
|
||||
frmInstrumentNurse = new PublicUI.UI.frmSelectPerson();
|
||||
frmInstrumentNurse.PersonType = "手术室护士";
|
||||
frmInstrumentNurse.SelectDepartmentName = "手术室";
|
||||
frmInstrumentNurse.SelectPersonData = SelectInstrumentNurseData;
|
||||
frmInstrumentNurse.FormClosed += new FormClosedEventHandler(frmInstrumentNurse_FormClosed);
|
||||
frmInstrumentNurse.ShowDialog();
|
||||
}
|
||||
|
||||
void frmInstrumentNurse_FormClosed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
txtInstrumentNurse.Text = "";
|
||||
if (frmInstrumentNurse.SelectPersonData.Count > 0)
|
||||
{
|
||||
SelectInstrumentNurseData = frmInstrumentNurse.SelectPersonData;
|
||||
foreach (int RowId in frmInstrumentNurse.SelectPersonData)
|
||||
{
|
||||
txtInstrumentNurse.Text += BPerson.SelectSingle(RowId).Name + ",";
|
||||
}
|
||||
int idxStart = txtInstrumentNurse.Text.LastIndexOf(",");
|
||||
txtInstrumentNurse.Text = txtInstrumentNurse.Text.Substring(0, idxStart);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@ -1800,7 +1780,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
}
|
||||
//if (controlTextBox.Text != "")
|
||||
//{
|
||||
// int idxStart = controlTextBox.Text.LastIndexOf(" ,");
|
||||
// int idxStart = controlTextBox.Text.LastIndexOf(",");
|
||||
// controlTextBox.Text = controlTextBox.Text.Substring(0, idxStart);
|
||||
//}
|
||||
}
|
||||
@ -1866,6 +1846,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
zgcAnaesRecord.Focus();
|
||||
}
|
||||
|
||||
SaveInstrument(sender);
|
||||
if (templateManage != null)
|
||||
{
|
||||
_record.InstrumentList.ApplianceRecordList = GetApplianceRecord();
|
||||
|
||||
@ -1567,7 +1567,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
ZedGraphControl send = sender as ZedGraphControl;
|
||||
templateManage.BindTempData();
|
||||
}
|
||||
MessageBox.Show("保存成功!", "系统提示");
|
||||
new frmMessageBox().Show();
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
||||
@ -20,6 +20,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
public int SelPatientId;
|
||||
public int SelApplyId;
|
||||
public bool isMainOpen = false;
|
||||
List<OperationRoom> rooms;
|
||||
|
||||
public frmSelectPatientNew()
|
||||
{
|
||||
@ -28,7 +29,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
|
||||
private void frmSelectPatientNew_Load(object sender, EventArgs e)
|
||||
{
|
||||
List<OperationRoom> rooms = BOperationRoom.GetOperationRooms("IsValid=1 and Site='手术室'");
|
||||
rooms = BOperationRoom.GetOperationRooms("IsValid=1 and Site='手术室'");
|
||||
rooms.Insert(0, new OperationRoom() { Id = -1, Name = "" });
|
||||
cboRoom.DataSource = rooms;
|
||||
cboRoom.DisplayMember = "Name";
|
||||
@ -54,13 +55,17 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
}
|
||||
|
||||
private void FillDgv()
|
||||
{
|
||||
{
|
||||
|
||||
panel3.Controls.Clear();
|
||||
panel2.Visible = false;
|
||||
int i = 0, j = 0;
|
||||
int count = 5;
|
||||
if (isMainOpen == true) count = 4;
|
||||
|
||||
DataTable dt = new DataTable();
|
||||
dt = SelectPatient.GetSelectPatientDataTable(DateTime.Parse(dtpSelectPatientTime.Value.ToString("yyyy-MM-dd").ToString()), cboRoom.SelectedValue.ToString());
|
||||
|
||||
DataTable dt = SelectPatient.GetSelectPatientDataTable
|
||||
(DateTime.Parse(dtpSelectPatientTime.Value.ToString("yyyy-MM-dd").ToString()), cboRoom.SelectedValue.ToString());
|
||||
foreach (DataRow dr in dt.Rows)
|
||||
{
|
||||
ucPatientCard uc = new ucPatientCard(dr);
|
||||
@ -70,7 +75,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
uc.Location = new Point((uc.Width + 9) * j, (uc.Height + 10) * i + 30);
|
||||
panel3.Controls.Add(uc);
|
||||
j++;
|
||||
if (j == 5)
|
||||
if (j == count)
|
||||
{
|
||||
i++;
|
||||
j = 0;
|
||||
@ -79,8 +84,9 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
if (i >= 5) break;
|
||||
}
|
||||
|
||||
DataTable dt2 = SelectPatient.GetRelieveLockingPatientDataTable
|
||||
(DateTime.Parse(dtpSelectPatientTime.Value.ToString("yyyy-MM-dd").ToString()), cboRoom.SelectedValue.ToString());
|
||||
DataTable dt2 = new DataTable();
|
||||
dt2 = SelectPatient.GetRelieveLockingPatientDataTable(DateTime.Parse(dtpSelectPatientTime.Value.ToString("yyyy-MM-dd").ToString()), cboRoom.SelectedValue.ToString());
|
||||
|
||||
foreach (DataRow dr in dt2.Rows)
|
||||
{
|
||||
ucPatientCard uc = new ucPatientCard(dr);
|
||||
@ -90,7 +96,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
uc.Location = new Point((uc.Width + 9) * j, (uc.Height + 10) * i + 30);
|
||||
panel3.Controls.Add(uc);
|
||||
j++;
|
||||
if (j == 5)
|
||||
if (j == count)
|
||||
{
|
||||
i++;
|
||||
j = 0;
|
||||
@ -99,6 +105,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
if (i >= 10) break;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
public ucPatientCard SelUc;
|
||||
|
||||
@ -30,8 +30,11 @@
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmSelectPatientNew2));
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.txtquery = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.btnQuery = new DevComponents.DotNetBar.ButtonX();
|
||||
this.buttonX3 = new DevComponents.DotNetBar.ButtonX();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.cboRoom = new System.Windows.Forms.ComboBox();
|
||||
this.btnFrontDay = new System.Windows.Forms.Button();
|
||||
@ -66,14 +69,12 @@
|
||||
this.txtType = new System.Windows.Forms.Label();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.txtquery = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.btnQuery = new DevComponents.DotNetBar.ButtonX();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.panel1.SuspendLayout();
|
||||
this.groupBox1.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
this.groupBox2.SuspendLayout();
|
||||
this.panel3.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panel1
|
||||
@ -96,6 +97,32 @@
|
||||
this.panel1.Size = new System.Drawing.Size(1035, 39);
|
||||
this.panel1.TabIndex = 0;
|
||||
//
|
||||
// txtquery
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.txtquery.Border.Class = "TextBoxBorder";
|
||||
this.txtquery.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.txtquery.Location = new System.Drawing.Point(550, 8);
|
||||
this.txtquery.Name = "txtquery";
|
||||
this.txtquery.PreventEnterBeep = true;
|
||||
this.txtquery.Size = new System.Drawing.Size(100, 23);
|
||||
this.txtquery.TabIndex = 9;
|
||||
//
|
||||
// btnQuery
|
||||
//
|
||||
this.btnQuery.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnQuery.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnQuery.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btnQuery.Location = new System.Drawing.Point(656, 9);
|
||||
this.btnQuery.Name = "btnQuery";
|
||||
this.btnQuery.Size = new System.Drawing.Size(80, 23);
|
||||
this.btnQuery.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnQuery.TabIndex = 8;
|
||||
this.btnQuery.Text = "查询";
|
||||
this.btnQuery.Click += new System.EventHandler(this.btnQuery_Click);
|
||||
//
|
||||
// buttonX3
|
||||
//
|
||||
this.buttonX3.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
@ -119,6 +146,16 @@
|
||||
this.label1.TabIndex = 7;
|
||||
this.label1.Text = "手术日期";
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label4.Location = new System.Drawing.Point(481, 8);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(65, 20);
|
||||
this.label4.TabIndex = 6;
|
||||
this.label4.Text = "患者查询";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
@ -489,42 +526,9 @@
|
||||
this.panel3.Size = new System.Drawing.Size(1029, 499);
|
||||
this.panel3.TabIndex = 0;
|
||||
//
|
||||
// txtquery
|
||||
// line1
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.txtquery.Border.Class = "TextBoxBorder";
|
||||
this.txtquery.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.txtquery.Location = new System.Drawing.Point(550, 8);
|
||||
this.txtquery.Name = "txtquery";
|
||||
this.txtquery.PreventEnterBeep = true;
|
||||
this.txtquery.Size = new System.Drawing.Size(100, 23);
|
||||
this.txtquery.TabIndex = 9;
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label4.Location = new System.Drawing.Point(481, 8);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(65, 20);
|
||||
this.label4.TabIndex = 6;
|
||||
this.label4.Text = "患者查询";
|
||||
//
|
||||
// btnQuery
|
||||
//
|
||||
this.btnQuery.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnQuery.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnQuery.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btnQuery.Location = new System.Drawing.Point(656, 9);
|
||||
this.btnQuery.Name = "btnQuery";
|
||||
this.btnQuery.Size = new System.Drawing.Size(80, 23);
|
||||
this.btnQuery.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnQuery.TabIndex = 8;
|
||||
this.btnQuery.Text = "查询";
|
||||
this.btnQuery.Click += new System.EventHandler(this.btnQuery_Click);
|
||||
//
|
||||
// frmSelectPatientNew2
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
@ -546,6 +550,7 @@
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.panel2.PerformLayout();
|
||||
this.groupBox2.ResumeLayout(false);
|
||||
this.panel3.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
@ -23,6 +23,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
public int SelApplyId;
|
||||
public bool isMainOpen = false;
|
||||
public AIMS.OperationDoing.AnasRecordBill.UI.frmAnasRecordBill2 frmAnasRecord;
|
||||
List<OperationRoom> rooms;
|
||||
|
||||
public frmSelectPatientNew2()
|
||||
{
|
||||
@ -31,7 +32,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
|
||||
private void frmSelectPatientNew2_Load(object sender, EventArgs e)
|
||||
{
|
||||
List<OperationRoom> rooms = BOperationRoom.GetOperationRooms("IsValid=1 and Site='手术室'");
|
||||
rooms = BOperationRoom.GetOperationRooms("IsValid=1 and Site='手术室'");
|
||||
rooms.Insert(0, new OperationRoom() { Id = -1, Name = "" });
|
||||
cboRoom.DataSource = rooms;
|
||||
cboRoom.DisplayMember = "Name";
|
||||
@ -71,9 +72,6 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
{
|
||||
panel3.Controls.Clear();
|
||||
panel2.Visible = false;
|
||||
int i = 0, j = 0;
|
||||
int count = 5;
|
||||
if (isMainOpen == true) count = 4;
|
||||
|
||||
DataTable dt = new DataTable();
|
||||
if (txtquery.Text.Trim() != "")
|
||||
@ -81,46 +79,97 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
else
|
||||
dt = SelectPatient.GetSelectPatientDataTable(DateTime.Parse(dtpSelectPatientTime.Value.ToString("yyyy-MM-dd").ToString()), cboRoom.SelectedValue.ToString());
|
||||
|
||||
foreach (DataRow dr in dt.Rows)
|
||||
{
|
||||
ucPatientCard uc = new ucPatientCard(dr);
|
||||
uc.InRoom += Uc_InRoom;
|
||||
uc.QxRoom += Uc_QxRoom;
|
||||
uc.Clicks += Uc_Clicks;
|
||||
uc.Location = new Point((uc.Width + 9) * j, (uc.Height + 10) * i + 30);
|
||||
panel3.Controls.Add(uc);
|
||||
j++;
|
||||
if (j == count)
|
||||
{
|
||||
i++;
|
||||
j = 0;
|
||||
}
|
||||
//防止显示全部卡顿
|
||||
if (i >= 5) break;
|
||||
}
|
||||
|
||||
DataTable dt2 = new DataTable();
|
||||
if (txtquery.Text.Trim() != "")
|
||||
dt2 = SelectPatient.GetRelieveLockingPatientDataTable(txtquery.Text);
|
||||
else
|
||||
dt2 = SelectPatient.GetRelieveLockingPatientDataTable(DateTime.Parse(dtpSelectPatientTime.Value.ToString("yyyy-MM-dd").ToString()), cboRoom.SelectedValue.ToString());
|
||||
|
||||
foreach (DataRow dr in dt2.Rows)
|
||||
List<string> list = new List<string>();
|
||||
for (int i = 0; i < rooms.Count; i++)
|
||||
{
|
||||
ucPatientCard uc = new ucPatientCard(dr);
|
||||
uc.InRoom += Uc_InRoom;
|
||||
uc.QxRoom += Uc_QxRoom;
|
||||
uc.Clicks += Uc_Clicks;
|
||||
uc.Location = new Point((uc.Width + 9) * j, (uc.Height + 10) * i + 30);
|
||||
panel3.Controls.Add(uc);
|
||||
j++;
|
||||
if (j == count)
|
||||
foreach (DataRow dr in dt.Rows)
|
||||
{
|
||||
i++;
|
||||
j = 0;
|
||||
if (dr["OperationRoom"].ToString() == rooms[i].Name && !list.Contains(rooms[i].Name))
|
||||
{
|
||||
list.Add(rooms[i].Name);
|
||||
}
|
||||
}
|
||||
|
||||
foreach (DataRow dr in dt2.Rows)
|
||||
{
|
||||
if (dr["OperationRoom"].ToString() == rooms[i].Name && !list.Contains(rooms[i].Name))
|
||||
{
|
||||
list.Add(rooms[i].Name);
|
||||
}
|
||||
}
|
||||
}
|
||||
//for (int i = 0; i < list.Count; i++)
|
||||
//{
|
||||
// int j = 0;
|
||||
// foreach (DataRow dr in dt.Rows)
|
||||
// {
|
||||
// if (dr["OperationRoom"].ToString() != list[i]) continue;
|
||||
// ucPatientCard uc = new ucPatientCard(dr);
|
||||
// uc.InRoom += Uc_InRoom;
|
||||
// uc.QxRoom += Uc_QxRoom;
|
||||
// uc.Clicks += Uc_Clicks;
|
||||
// uc.Location = new Point((uc.Width + 9) * j, (uc.Height + 10) * i + 30);
|
||||
// panel3.Controls.Add(uc);
|
||||
// j++;
|
||||
// }
|
||||
|
||||
// foreach (DataRow dr in dt2.Rows)
|
||||
// {
|
||||
// if (dr["OperationRoom"].ToString() != list[i]) continue;
|
||||
// ucPatientCard uc = new ucPatientCard(dr);
|
||||
// uc.InRoom += Uc_InRoom;
|
||||
// uc.QxRoom += Uc_QxRoom;
|
||||
// uc.Clicks += Uc_Clicks;
|
||||
// uc.Location = new Point((uc.Width + 9) * j, (uc.Height + 10) * i + 30);
|
||||
// panel3.Controls.Add(uc);
|
||||
// j++;
|
||||
// }
|
||||
//}
|
||||
for (int i = 0; i < list.Count; i++)
|
||||
{
|
||||
int j = 0;
|
||||
int Pointx = 0;
|
||||
foreach (DataRow dr in dt.Rows)
|
||||
{
|
||||
if (dr["OperationRoom"].ToString() != list[i]) continue;
|
||||
ucPatientCard uc = new ucPatientCard(dr);
|
||||
uc.InRoom += Uc_InRoom;
|
||||
uc.QxRoom += Uc_QxRoom;
|
||||
uc.Clicks += Uc_Clicks;
|
||||
uc.Location = new Point((uc.Width + 9) * i, (uc.Height + 10) * j + 30);
|
||||
panel3.Controls.Add(uc);
|
||||
j++; Pointx = (uc.Width + 9) * i;
|
||||
}
|
||||
|
||||
foreach (DataRow dr in dt2.Rows)
|
||||
{
|
||||
if (dr["OperationRoom"].ToString() != list[i]) continue;
|
||||
ucPatientCard uc = new ucPatientCard(dr);
|
||||
uc.InRoom += Uc_InRoom;
|
||||
uc.QxRoom += Uc_QxRoom;
|
||||
uc.Clicks += Uc_Clicks;
|
||||
uc.Location = new Point((uc.Width + 9) * i, (uc.Height + 10) * j + 30);
|
||||
panel3.Controls.Add(uc);
|
||||
j++;
|
||||
Pointx = (uc.Width + 9) * i;
|
||||
}
|
||||
|
||||
if (Pointx > 0)
|
||||
{
|
||||
DevComponents.DotNetBar.Controls.Line line1 = new DevComponents.DotNetBar.Controls.Line();
|
||||
line1.Location = new System.Drawing.Point(Pointx - 10, 0);
|
||||
line1.DashStyle = System.Drawing.Drawing2D.DashStyle.DashDotDot;
|
||||
line1.Size = new System.Drawing.Size(10, panel3.Height);
|
||||
line1.ForeColor = Color.DarkGray;
|
||||
line1.VerticalLine = true;
|
||||
panel3.Controls.Add(line1);
|
||||
}
|
||||
//防止显示全部卡顿
|
||||
if (i >= 10) break;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,6 +1,8 @@
|
||||
using AIMSBLL;
|
||||
using AIMSExtension;
|
||||
using AIMSModel;
|
||||
using DCSoftDotfuscate;
|
||||
using DevComponents.DotNetBar.Controls;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
@ -12,8 +14,6 @@ namespace AIMS.OperationDoing.AnasRecordBill
|
||||
{
|
||||
public partial class frmNoticeLargeScreen : Form
|
||||
{
|
||||
|
||||
private EditState state = EditState.BROWSE;
|
||||
//已选择的通知内容
|
||||
public DataTable db;
|
||||
//可选的通知内容
|
||||
@ -21,35 +21,30 @@ namespace AIMS.OperationDoing.AnasRecordBill
|
||||
public frmNoticeLargeScreen()
|
||||
{
|
||||
InitializeComponent();
|
||||
//this.FormBorderStyle = FormBorderStyle.None;
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
}
|
||||
|
||||
private void frmNoticeLargeScreen_Load(object sender, EventArgs e)
|
||||
{
|
||||
txtnameOrHnum.Text = "姓名或住院号";
|
||||
txtnameOrHnum.ForeColor = Color.FromArgb(164, 164, 164);
|
||||
txtTime.SelectedIndex = 1;
|
||||
textBox2.Text = "填写通知内容";
|
||||
textBox2.ForeColor = Color.FromArgb(164, 164, 164);
|
||||
FillDGVAss();
|
||||
// FullTreeView();
|
||||
button1_Click(null, null);
|
||||
// treeView1.ExpandAll();
|
||||
DGVAss.AutoGenerateColumns = false;
|
||||
DGVAdd.AutoGenerateColumns = false;
|
||||
txtTime.SelectedIndex = 1;
|
||||
FillDGVAss();
|
||||
button1_Click(null, null);
|
||||
FillDGVAdd();
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///填充到DGVADD
|
||||
/// </summary>
|
||||
public void FillDGVAdd()
|
||||
{
|
||||
DGVAss.AutoGenerateColumns = false;
|
||||
DataTable tb = new DataTable();
|
||||
tb = BNoticeTemplate.GetNoticeTemplate();
|
||||
this.DGVAdd.DataSource = tb;
|
||||
DGVAdd.ClearSelection();
|
||||
}
|
||||
/// <summary>
|
||||
/// 填充到DGVASS
|
||||
@ -62,25 +57,6 @@ namespace AIMS.OperationDoing.AnasRecordBill
|
||||
tb = BNoticeContent.GetNoticeContent(time);
|
||||
this.DGVAss.DataSource = tb;
|
||||
}
|
||||
/// <summary>
|
||||
/// 关闭
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void button6_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void textBox1_Leave(object sender, EventArgs e)
|
||||
{
|
||||
if (txtnameOrHnum.Text == "")
|
||||
{
|
||||
txtnameOrHnum.Text = "姓名或住院号";
|
||||
txtnameOrHnum.ForeColor = Color.FromArgb(164, 164, 164);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查询当天的手术患者信息
|
||||
/// </summary>
|
||||
@ -89,7 +65,6 @@ namespace AIMS.OperationDoing.AnasRecordBill
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
FullTreeView();
|
||||
// treeView1.ExpandAll();
|
||||
}
|
||||
/// <summary>
|
||||
/// 加载当天手术患者信息到treeView1
|
||||
@ -98,184 +73,20 @@ namespace AIMS.OperationDoing.AnasRecordBill
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
//treeView1.Nodes.Clear();
|
||||
//if (txtnameOrHnum.Text != "姓名或住院号")
|
||||
//{
|
||||
// VPlanedOpeList = BLPlanOpe.SelectVPlanedOpeByWhere(" (V_PlanedOpe.Name like '%" + txtnameOrHnum.Text + "%' or V_PlanedOpe.InHospitalNo ='" + txtnameOrHnum.Text + "') and CONVERT(varchar(10),OrderOperationTime,120)= '" + label1.Text + "' and state not in (9)");
|
||||
|
||||
//}
|
||||
//if (txtnameOrHnum.Text == "" || txtnameOrHnum.Text == "姓名或住院号")
|
||||
//{
|
||||
// VPlanedOpeList = BLPlanOpe.SelectVPlanedOpeByWhere("CONVERT(varchar(10),OrderOperationTime,120)= '" + label1.Text + "' and state not in (9)");
|
||||
//}
|
||||
|
||||
//if (VPlanedOpeList.Count > 0)
|
||||
//{
|
||||
// string roomname = "";
|
||||
// //TreeNode TN = new TreeNode(VPlanedOpeList[0].OperatingRoomName);
|
||||
// //treeView1.Nodes.Add(TN);
|
||||
// foreach (VPlanedOpe VO in VPlanedOpeList)
|
||||
// {
|
||||
// if (VO.OperatingRoomName != roomname)
|
||||
// {
|
||||
// roomname = VO.OperatingRoomName;
|
||||
// TreeNode roomnode = new TreeNode(roomname);
|
||||
// roomnode.Tag = VO.OperatingRoomID;
|
||||
// treeView1.Nodes.Add(roomnode);
|
||||
// foreach (VPlanedOpe vpo in VPlanedOpeList)
|
||||
// {
|
||||
// if (vpo.OperatingRoomName == VO.OperatingRoomName)
|
||||
// {
|
||||
// TreeNode sNode = new TreeNode(vpo.InHospitalNO + "-" + vpo.PatientName);
|
||||
// sNode.Tag = vpo;
|
||||
// sNode.Text = vpo.PatientName + "—" + vpo.InHospitalNO;
|
||||
// roomnode.Nodes.Add(sNode);
|
||||
// }
|
||||
|
||||
// }
|
||||
// roomnode.Expand();
|
||||
// }
|
||||
// }
|
||||
// if (treeView1.Nodes.Count > 0) treeView1.SelectedNode = treeView1.Nodes[0];
|
||||
//}
|
||||
|
||||
//else
|
||||
//{
|
||||
// //MessageBox.Show("暂无患者!", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
//}
|
||||
|
||||
}
|
||||
catch (Exception exp)
|
||||
{
|
||||
//MessageBox.Show("加载患者列表出错!", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
PublicMethod.WriteLog(exp, ""); return;
|
||||
}
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// 点击查询文本框
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void txtnameOrHnum_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (txtnameOrHnum.Text.Equals("姓名或住院号"))
|
||||
{
|
||||
txtnameOrHnum.Text = "";
|
||||
txtnameOrHnum.ForeColor = Color.Black;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 鼠标按下时发生
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void txtnameOrHnum_MouseDown(object sender, MouseEventArgs e)
|
||||
{
|
||||
txtnameOrHnum.Text = "姓名或住院号";
|
||||
txtnameOrHnum.ForeColor = Color.FromArgb(164, 164, 164);
|
||||
}
|
||||
/// <summary>
|
||||
/// 绑定DGVAss
|
||||
/// </summary>
|
||||
public void FullDgv()
|
||||
{
|
||||
DGVAss.AutoGenerateColumns = false;
|
||||
DGVAss.Rows.Clear();
|
||||
}
|
||||
/// <summary>
|
||||
/// 赋值手术患者的信息
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void treeView1_AfterSelect(object sender, TreeViewEventArgs e)
|
||||
{
|
||||
//if (treeView1.SelectedNode.Level == 1)
|
||||
//{
|
||||
// VPlanedOpe item = treeView1.SelectedNode.Tag as VPlanedOpe;
|
||||
// lblName.Text = item.PatientName;
|
||||
//}
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// 添加新项
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void tsbAdd_Click(object sender, EventArgs e)
|
||||
{
|
||||
state = EditState.ADD;
|
||||
DGVAdd.AutoGenerateColumns = false;
|
||||
NoticeTemplate NC = new NoticeTemplate();
|
||||
if (textBox2.Text == "填写通知内容")
|
||||
{
|
||||
MessageBox.Show("请添加通知内容", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
return;
|
||||
}
|
||||
if (textBox2.Text != "")
|
||||
{
|
||||
NC.Contents = textBox2.Text;
|
||||
// NC.ReleaseTime = int.Parse(txtTime.Text);
|
||||
// NC.ReleaseCount = int.Parse(txtTime.Text) / 30;
|
||||
//NC.OperatorTime = DateTime.Now;
|
||||
//NC.OperatorId = PublicMethod.Operator.Id;
|
||||
//NC.ReleaseTime = int.Parse( DateTime.Now.ToString("hh:mm:ss"));
|
||||
BNoticeTemplate.Insert(NC);
|
||||
MessageBox.Show("添加成功", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
FillDGVAdd();
|
||||
textBox2.Text = "";
|
||||
txtTime.Text = "";
|
||||
}
|
||||
//else
|
||||
//{
|
||||
// MessageBox.Show("请添加内容!", "系统提示!", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
|
||||
//}
|
||||
}
|
||||
/// <summary>
|
||||
/// 修改
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void tsbModify_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (DGVAdd.SelectedRows.Count > 0)
|
||||
{
|
||||
state = EditState.EDIT;
|
||||
NoticeTemplate nn = new NoticeTemplate();
|
||||
nn.Contents = textBox2.Text;
|
||||
//nn.ReleaseTime =int.Parse( txtTime.Text);
|
||||
nn.Id = int.Parse(DGVAdd.SelectedRows[0].Cells["Id"].Value.ToString());
|
||||
textBox2.Text = DGVAdd.SelectedRows[0].Cells["常用通知"].Value.ToString();
|
||||
//txtTime.Text = DGVAdd.SelectedRows[0].Cells["ReleaseTime"].Value.ToString();
|
||||
BNoticeTemplate.Update(nn);
|
||||
FillDGVAdd();
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 删除
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void tsbDel_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (DGVAdd.CurrentRow == null)
|
||||
{
|
||||
MessageBox.Show("没有要删除的内容!", "系统提示!", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
return;
|
||||
}
|
||||
NoticeTemplate nc = new NoticeTemplate();
|
||||
nc.Id = int.Parse(DGVAdd.CurrentRow.Cells["Id"].Value.ToString());
|
||||
if (nc.Id > 0)
|
||||
{
|
||||
DialogResult dr = MessageBox.Show("确定要删除?", "系统提示!", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
|
||||
if (dr == DialogResult.Yes)
|
||||
{
|
||||
BNoticeTemplate.Delete(nc);
|
||||
FillDGVAdd();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// 保存发送
|
||||
@ -284,176 +95,26 @@ namespace AIMS.OperationDoing.AnasRecordBill
|
||||
/// <param name="e"></param>
|
||||
private void tsbSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
state = EditState.ADD;
|
||||
if (txtTime.Text == "填写显示时长")
|
||||
{
|
||||
MessageBox.Show("请填写显示时长!");
|
||||
return;
|
||||
}
|
||||
if (txtTime.Text == "填写通知内容")
|
||||
{
|
||||
MessageBox.Show("请填写通知内容!");
|
||||
return;
|
||||
}
|
||||
NoticeContent nc = new NoticeContent();
|
||||
//if (txtTime.Text == "填写显示时长")
|
||||
//{
|
||||
// MessageBox.Show("请填写显示时长!");
|
||||
// return;
|
||||
//}
|
||||
//if (txtTime.Text == "填写通知内容")
|
||||
//{
|
||||
// MessageBox.Show("请填写通知内容!");
|
||||
// return;
|
||||
//}
|
||||
|
||||
if (textBox2.Text != "填写通知内容" && txtTime.Text != "填写显示时长" && lblName.Text != "")
|
||||
{
|
||||
nc.Contents = lblName.Text + "患者家属" + textBox2.Text;
|
||||
nc.ReleaseTime = int.Parse(txtTime.Text);
|
||||
nc.ReleaseCount = int.Parse(txtTime.Text) / 30;
|
||||
nc.OperatorTime = DateTime.Now;
|
||||
nc.OperatorId = PublicMethod.OperatorId;
|
||||
BNoticeContent.Insert(nc);
|
||||
MessageBox.Show("发送成功", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
|
||||
FillDGVAss();
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show("请将通知填写完整!", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 取消事件
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void tsbFCancel_Click(object sender, EventArgs e)
|
||||
{
|
||||
PublicMethod.ClearControl(textBox2);
|
||||
PublicMethod.EnabledControl(textBox2, false);
|
||||
}
|
||||
/// <summary>
|
||||
/// 选定DGVAdd的内容
|
||||
/// </summary>
|
||||
/// <param naFillDGVAss"></param>
|
||||
/// <param name="e"></param>
|
||||
//private void DGVAdd_CellContentClick(object sender, DataGridViewCellEventArgs e)
|
||||
//{
|
||||
// DataTable dt = new DataTable();
|
||||
// dt = BNoticeTemplate.GetNoticeTemplate();
|
||||
// if (DGVAdd.SelectedRows.Count > 0)
|
||||
// {
|
||||
// textBox2.Text = DGVAdd.SelectedRows[0].Cells["常用通知"].Value.ToString();
|
||||
// textBox2.ForeColor = Color.Black;
|
||||
// textBox2.Click -= new EventHandler(textBox2_Click);
|
||||
// //txtTime.Text = DGVAdd.SelectedRows[0].Cells["ReleaseTime"].Value.ToString();
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// MessageBox.Show("请选择要通知的事项!", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
// }
|
||||
// //if(DGVAdd.SelectedRows.Count>0)
|
||||
// //{
|
||||
// // db = BNoticeContent.GetNoticeContent();
|
||||
// // DataRow dr = db.NewRow();
|
||||
// // int id = Convert.ToInt32(DGVAdd.CurrentRow.Cells["Id"].Value);
|
||||
// // foreach (DataGridViewRow row in DGVAss.Rows)
|
||||
// // {
|
||||
// // if (Convert.ToInt32(row.Cells["编号"].Value)==id)
|
||||
// // {
|
||||
// // MessageBox.Show("已选择");
|
||||
// // return;
|
||||
// // }
|
||||
// // }
|
||||
// // foreach(DataRow row in db.Rows)
|
||||
// // {
|
||||
// // //if(Convert.ToInt32(row["Id"])==id)
|
||||
// // //{
|
||||
// // if (DGVAss.Rows.Count < 1)
|
||||
// // {
|
||||
// // for (int i = 0; i < db.Columns.Count; i++)
|
||||
// // {
|
||||
// // dr["Id"] = row["Id"];
|
||||
// // dr["Contents"] = row["Contents"];
|
||||
// // }
|
||||
// // db.Rows.Add(dr);
|
||||
// // }
|
||||
// // else
|
||||
// // {
|
||||
// // dr["Id"] = row["Id"];
|
||||
// // dr["Contents"] = row["Contents"];
|
||||
// // }
|
||||
|
||||
// // break;
|
||||
// // //}
|
||||
// // }
|
||||
// // DGVAss.DataSource = db;
|
||||
// //}
|
||||
//}
|
||||
|
||||
private void textBox2_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (textBox2.Text.Equals("填写通知内容"))
|
||||
{
|
||||
textBox2.Text = "";
|
||||
textBox2.ForeColor = Color.Black;
|
||||
}
|
||||
}
|
||||
|
||||
private void textBox2_Leave(object sender, EventArgs e)
|
||||
{
|
||||
if (textBox2.Text == "")
|
||||
{
|
||||
textBox2.Text = "填写通知内容";
|
||||
textBox2.ForeColor = Color.FromArgb(164, 164, 164);
|
||||
}
|
||||
}
|
||||
|
||||
private void textBox2_MouseDown(object sender, MouseEventArgs e)
|
||||
{
|
||||
//textBox2.Text = "填写通知内容";
|
||||
//textBox2.ForeColor = Color.FromArgb(164, 164, 164);
|
||||
}
|
||||
|
||||
private void txtTime_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (txtTime.Text.Equals("填写显示时长"))
|
||||
{
|
||||
txtTime.Text = "";
|
||||
txtTime.ForeColor = Color.Black;
|
||||
}
|
||||
}
|
||||
|
||||
private void txtTime_Leave(object sender, EventArgs e)
|
||||
{
|
||||
if (txtTime.Text == "")
|
||||
{
|
||||
txtTime.Text = "填写显示时长";
|
||||
txtTime.ForeColor = Color.FromArgb(164, 164, 164);
|
||||
}
|
||||
}
|
||||
|
||||
private void txtTime_MouseDown(object sender, MouseEventArgs e)
|
||||
{
|
||||
txtTime.Text = "填写显示时长";
|
||||
txtTime.ForeColor = Color.FromArgb(164, 164, 164);
|
||||
}
|
||||
|
||||
private void panel5_Paint(object sender, PaintEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// 单击行
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void DGVAdd_Click(object sender, EventArgs e)
|
||||
{
|
||||
DataTable dt = new DataTable();
|
||||
dt = BNoticeTemplate.GetNoticeTemplate();
|
||||
if (DGVAdd.SelectedRows.Count > 0)
|
||||
{
|
||||
textBox2.Text = DGVAdd.SelectedRows[0].Cells["常用通知"].Value.ToString();
|
||||
textBox2.ForeColor = Color.Black;
|
||||
textBox2.Click -= new EventHandler(textBox2_Click);
|
||||
//txtTime.Text = DGVAdd.SelectedRows[0].Cells["ReleaseTime"].Value.ToString();
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show("请选择要通知的事项!", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
}
|
||||
nc.Contents = lblName.Text + textBox2.Text;
|
||||
nc.ReleaseTime = int.Parse(txtTime.Text);
|
||||
nc.ReleaseCount = int.Parse(txtTime.Text) / 30;
|
||||
nc.OperatorTime = DateTime.Now;
|
||||
nc.OperatorId = PublicMethod.OperatorId;
|
||||
BNoticeContent.Insert(nc);
|
||||
MessageBox.Show("发送成功", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
|
||||
FillDGVAss();
|
||||
}
|
||||
|
||||
private void DGVAdd_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e)
|
||||
@ -499,5 +160,79 @@ namespace AIMS.OperationDoing.AnasRecordBill
|
||||
}
|
||||
}
|
||||
|
||||
private void DGVAdd_CellEndEdit(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
//判断类型
|
||||
if (e.ColumnIndex == 1)
|
||||
{
|
||||
if (DGVAdd.Rows[e.RowIndex].Cells[2].Value.ToString() == "删除")
|
||||
{
|
||||
int id = Convert.ToInt32(DGVAdd.Rows[e.RowIndex].Cells[0].Value);
|
||||
string value = DGVAdd.Rows[e.RowIndex].Cells[e.ColumnIndex].Value == null ? "" : DGVAdd.Rows[e.RowIndex].Cells[e.ColumnIndex].Value.ToString();
|
||||
|
||||
BNoticeTemplate.Update("Contents='" + value + "' where Id=" + id, null);
|
||||
}
|
||||
else
|
||||
{
|
||||
string value = DGVAdd.Rows[e.RowIndex].Cells[1].Value == null ? "" : DGVAdd.Rows[e.RowIndex].Cells[1].Value.ToString();
|
||||
if (value == "")
|
||||
{
|
||||
return;
|
||||
}
|
||||
NoticeTemplate NC = new NoticeTemplate();
|
||||
NC.Contents = value;
|
||||
NC.OperatorTime = DateTime.Now;
|
||||
NC.OperatorId = PublicMethod.OperatorId;
|
||||
DGVAdd.Rows[e.RowIndex].Cells[0].Value=BNoticeTemplate.Insert(NC);
|
||||
DGVAdd.Rows[e.RowIndex].Cells[2].Value = "删除";
|
||||
MessageBox.Show("添加成功", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void DGVAdd_CellClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
if (e.ColumnIndex == 2)
|
||||
{
|
||||
if (DGVAdd.Rows[e.RowIndex].Cells[2].Value.ToString() == "删除")
|
||||
{
|
||||
int id = Convert.ToInt32(DGVAdd.Rows[e.RowIndex].Cells[0].Value);
|
||||
DialogResult dr = MessageBox.Show("确定要删除?", "系统提示!", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
|
||||
if (dr == DialogResult.Yes)
|
||||
{
|
||||
BNoticeTemplate.Delete("Id=" + id, null);
|
||||
FillDGVAdd();
|
||||
}
|
||||
}
|
||||
//else if (DGVAdd.Rows[e.RowIndex].Cells[2].Value.ToString() == "增加" || DGVAdd.Rows[e.RowIndex].Cells[2].Value.ToString() == "")
|
||||
//{
|
||||
// string value = DGVAdd.Rows[e.RowIndex].Cells[1].Value == null ? "" : DGVAdd.Rows[e.RowIndex].Cells[1].Value.ToString();
|
||||
// if (value == "")
|
||||
// {
|
||||
// MessageBox.Show("请添加通知内容", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
// return;
|
||||
// }
|
||||
// NoticeTemplate NC = new NoticeTemplate();
|
||||
// NC.Contents = value;
|
||||
// NC.OperatorTime = DateTime.Now;
|
||||
// NC.OperatorId = PublicMethod.OperatorId;
|
||||
// BNoticeTemplate.Insert(NC);
|
||||
// MessageBox.Show("添加成功", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
|
||||
// FillDGVAdd();
|
||||
//}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void DGVAdd_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
|
||||
{
|
||||
if (e.ColumnIndex == 1)
|
||||
{
|
||||
string value = DGVAdd.Rows[e.RowIndex].Cells[1].Value == null ? "" : DGVAdd.Rows[e.RowIndex].Cells[1].Value.ToString();
|
||||
textBox2.Text = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -34,17 +34,19 @@
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmNoticeLargeScreen));
|
||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||
this.treeView1 = new System.Windows.Forms.TreeView();
|
||||
@ -53,23 +55,17 @@
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.panel4 = new System.Windows.Forms.Panel();
|
||||
this.DGVAdd = new System.Windows.Forms.DataGridView();
|
||||
this.DGVAss = new System.Windows.Forms.DataGridView();
|
||||
this.panel5 = new System.Windows.Forms.Panel();
|
||||
this.lblName = new System.Windows.Forms.Label();
|
||||
this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
|
||||
this.textBox2 = new System.Windows.Forms.TextBox();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.txtTime = new System.Windows.Forms.ComboBox();
|
||||
this.LongTime = new System.Windows.Forms.Label();
|
||||
this.lblName = new System.Windows.Forms.Label();
|
||||
this.textBox2 = new System.Windows.Forms.TextBox();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.DGVAdd = new System.Windows.Forms.DataGridView();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.tsbFCancel = new System.Windows.Forms.Button();
|
||||
this.button2 = new System.Windows.Forms.Button();
|
||||
this.tsbSave = new System.Windows.Forms.Button();
|
||||
this.tsbDel = new System.Windows.Forms.Button();
|
||||
this.tsbModify = new System.Windows.Forms.Button();
|
||||
this.tsbAdd = new System.Windows.Forms.Button();
|
||||
this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog();
|
||||
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@ -77,22 +73,21 @@
|
||||
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.编号 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.PatientName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Contents = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.发送时间 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.常用通知 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ReleaseTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Deldetebtn = new System.Windows.Forms.DataGridViewButtonColumn();
|
||||
this.groupBox1.SuspendLayout();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
this.panel4.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.DGVAdd)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.DGVAss)).BeginInit();
|
||||
this.panel5.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.DGVAdd)).BeginInit();
|
||||
this.panel3.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// groupBox1
|
||||
@ -141,9 +136,6 @@
|
||||
this.txtnameOrHnum.Name = "txtnameOrHnum";
|
||||
this.txtnameOrHnum.Size = new System.Drawing.Size(101, 26);
|
||||
this.txtnameOrHnum.TabIndex = 2;
|
||||
this.txtnameOrHnum.Click += new System.EventHandler(this.txtnameOrHnum_Click);
|
||||
this.txtnameOrHnum.Leave += new System.EventHandler(this.textBox1_Leave);
|
||||
this.txtnameOrHnum.MouseDown += new System.Windows.Forms.MouseEventHandler(this.txtnameOrHnum_MouseDown);
|
||||
//
|
||||
// button1
|
||||
//
|
||||
@ -159,35 +151,29 @@
|
||||
// panel2
|
||||
//
|
||||
this.panel2.Controls.Add(this.panel4);
|
||||
this.panel2.Controls.Add(this.DGVAdd);
|
||||
this.panel2.Controls.Add(this.panel3);
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel2.Location = new System.Drawing.Point(196, 0);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(606, 519);
|
||||
this.panel2.Size = new System.Drawing.Size(877, 519);
|
||||
this.panel2.TabIndex = 1;
|
||||
//
|
||||
// panel4
|
||||
//
|
||||
this.panel4.Controls.Add(this.DGVAdd);
|
||||
this.panel4.Controls.Add(this.DGVAss);
|
||||
this.panel4.Controls.Add(this.panel5);
|
||||
this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel4.Location = new System.Drawing.Point(0, 243);
|
||||
this.panel4.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel4.Name = "panel4";
|
||||
this.panel4.Size = new System.Drawing.Size(606, 276);
|
||||
this.panel4.Size = new System.Drawing.Size(877, 519);
|
||||
this.panel4.TabIndex = 2;
|
||||
//
|
||||
// DGVAss
|
||||
// DGVAdd
|
||||
//
|
||||
this.DGVAss.AllowUserToAddRows = false;
|
||||
this.DGVAss.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(247)))), ((int)(((byte)(255)))));
|
||||
dataGridViewCellStyle1.Font = new System.Drawing.Font("微软雅黑", 12F);
|
||||
this.DGVAss.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.DGVAss.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.DGVAss.BackgroundColor = System.Drawing.SystemColors.ButtonHighlight;
|
||||
dataGridViewCellStyle1.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.DGVAdd.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.DGVAdd.BackgroundColor = System.Drawing.SystemColors.ButtonHighlight;
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
@ -195,13 +181,12 @@
|
||||
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.DGVAss.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.DGVAss.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.DGVAss.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.编号,
|
||||
this.PatientName,
|
||||
this.Contents,
|
||||
this.发送时间});
|
||||
this.DGVAdd.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.DGVAdd.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.DGVAdd.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.Id,
|
||||
this.常用通知,
|
||||
this.Deldetebtn});
|
||||
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Window;
|
||||
dataGridViewCellStyle5.Font = new System.Drawing.Font("微软雅黑", 12F);
|
||||
@ -209,42 +194,124 @@
|
||||
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.DGVAss.DefaultCellStyle = dataGridViewCellStyle5;
|
||||
this.DGVAss.Location = new System.Drawing.Point(0, 55);
|
||||
this.DGVAss.MultiSelect = false;
|
||||
this.DGVAss.Name = "DGVAss";
|
||||
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
this.DGVAdd.DefaultCellStyle = dataGridViewCellStyle5;
|
||||
this.DGVAdd.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.DGVAdd.Location = new System.Drawing.Point(0, 270);
|
||||
this.DGVAdd.Name = "DGVAdd";
|
||||
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle6.Font = new System.Drawing.Font("微软雅黑", 12F);
|
||||
dataGridViewCellStyle6.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.DGVAss.RowHeadersDefaultCellStyle = dataGridViewCellStyle6;
|
||||
this.DGVAss.RowHeadersVisible = false;
|
||||
this.DGVAdd.RowHeadersDefaultCellStyle = dataGridViewCellStyle6;
|
||||
this.DGVAdd.RowTemplate.Height = 23;
|
||||
this.DGVAdd.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
|
||||
this.DGVAdd.Size = new System.Drawing.Size(877, 249);
|
||||
this.DGVAdd.TabIndex = 3;
|
||||
this.DGVAdd.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.DGVAdd_CellClick);
|
||||
this.DGVAdd.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.DGVAdd_CellEndEdit);
|
||||
this.DGVAdd.CellMouseDoubleClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.DGVAdd_CellMouseDoubleClick);
|
||||
this.DGVAdd.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.DGVAdd_RowPostPaint);
|
||||
//
|
||||
// DGVAss
|
||||
//
|
||||
this.DGVAss.AllowUserToAddRows = false;
|
||||
this.DGVAss.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(247)))), ((int)(((byte)(255)))));
|
||||
dataGridViewCellStyle7.Font = new System.Drawing.Font("微软雅黑", 12F);
|
||||
this.DGVAss.RowsDefaultCellStyle = dataGridViewCellStyle7;
|
||||
this.DGVAss.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle7;
|
||||
this.DGVAss.BackgroundColor = System.Drawing.SystemColors.ButtonHighlight;
|
||||
dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle8.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.DGVAss.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle8;
|
||||
this.DGVAss.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.DGVAss.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.编号,
|
||||
this.PatientName,
|
||||
this.Contents,
|
||||
this.发送时间});
|
||||
dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Window;
|
||||
dataGridViewCellStyle11.Font = new System.Drawing.Font("微软雅黑", 12F);
|
||||
dataGridViewCellStyle11.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.DGVAss.DefaultCellStyle = dataGridViewCellStyle11;
|
||||
this.DGVAss.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.DGVAss.Location = new System.Drawing.Point(0, 49);
|
||||
this.DGVAss.MultiSelect = false;
|
||||
this.DGVAss.Name = "DGVAss";
|
||||
dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle12.Font = new System.Drawing.Font("微软雅黑", 12F);
|
||||
dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.DGVAss.RowHeadersDefaultCellStyle = dataGridViewCellStyle12;
|
||||
this.DGVAss.RowHeadersVisible = false;
|
||||
dataGridViewCellStyle13.Font = new System.Drawing.Font("微软雅黑", 12F);
|
||||
this.DGVAss.RowsDefaultCellStyle = dataGridViewCellStyle13;
|
||||
this.DGVAss.RowTemplate.Height = 23;
|
||||
this.DGVAss.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||||
this.DGVAss.Size = new System.Drawing.Size(606, 221);
|
||||
this.DGVAss.Size = new System.Drawing.Size(877, 221);
|
||||
this.DGVAss.TabIndex = 2;
|
||||
//
|
||||
// panel5
|
||||
//
|
||||
this.panel5.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.panel5.Controls.Add(this.lblName);
|
||||
this.panel5.Controls.Add(this.buttonX1);
|
||||
this.panel5.Controls.Add(this.textBox2);
|
||||
this.panel5.Controls.Add(this.label5);
|
||||
this.panel5.Controls.Add(this.txtTime);
|
||||
this.panel5.Controls.Add(this.LongTime);
|
||||
this.panel5.Controls.Add(this.lblName);
|
||||
this.panel5.Controls.Add(this.textBox2);
|
||||
this.panel5.Controls.Add(this.label4);
|
||||
this.panel5.Controls.Add(this.label3);
|
||||
this.panel5.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel5.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel5.Name = "panel5";
|
||||
this.panel5.Size = new System.Drawing.Size(606, 49);
|
||||
this.panel5.Size = new System.Drawing.Size(877, 49);
|
||||
this.panel5.TabIndex = 0;
|
||||
this.panel5.Paint += new System.Windows.Forms.PaintEventHandler(this.panel5_Paint);
|
||||
//
|
||||
// lblName
|
||||
//
|
||||
this.lblName.AutoSize = true;
|
||||
this.lblName.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.lblName.ForeColor = System.Drawing.Color.Navy;
|
||||
this.lblName.Location = new System.Drawing.Point(75, 15);
|
||||
this.lblName.Name = "lblName";
|
||||
this.lblName.Size = new System.Drawing.Size(0, 20);
|
||||
this.lblName.TabIndex = 3;
|
||||
//
|
||||
// buttonX1
|
||||
//
|
||||
this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.buttonX1.Font = new System.Drawing.Font("宋体", 10F);
|
||||
this.buttonX1.Location = new System.Drawing.Point(754, 5);
|
||||
this.buttonX1.Name = "buttonX1";
|
||||
this.buttonX1.Size = new System.Drawing.Size(113, 38);
|
||||
this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.buttonX1.TabIndex = 8;
|
||||
this.buttonX1.Text = "发送通知";
|
||||
this.buttonX1.Click += new System.EventHandler(this.tsbSave_Click);
|
||||
//
|
||||
// textBox2
|
||||
//
|
||||
this.textBox2.Font = new System.Drawing.Font("微软雅黑", 10.5F);
|
||||
this.textBox2.Location = new System.Drawing.Point(216, 12);
|
||||
this.textBox2.Name = "textBox2";
|
||||
this.textBox2.Size = new System.Drawing.Size(345, 26);
|
||||
this.textBox2.TabIndex = 1;
|
||||
//
|
||||
// label5
|
||||
//
|
||||
@ -252,7 +319,7 @@
|
||||
this.label5.BackColor = System.Drawing.Color.Transparent;
|
||||
this.label5.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.label5.ForeColor = System.Drawing.SystemColors.HotTrack;
|
||||
this.label5.Location = new System.Drawing.Point(538, 8);
|
||||
this.label5.Location = new System.Drawing.Point(719, 15);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(23, 20);
|
||||
this.label5.TabIndex = 7;
|
||||
@ -269,7 +336,7 @@
|
||||
"120",
|
||||
"150",
|
||||
"180"});
|
||||
this.txtTime.Location = new System.Drawing.Point(460, 3);
|
||||
this.txtTime.Location = new System.Drawing.Point(641, 12);
|
||||
this.txtTime.Name = "txtTime";
|
||||
this.txtTime.Size = new System.Drawing.Size(73, 28);
|
||||
this.txtTime.TabIndex = 6;
|
||||
@ -280,44 +347,23 @@
|
||||
this.LongTime.BackColor = System.Drawing.Color.Transparent;
|
||||
this.LongTime.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.LongTime.ForeColor = System.Drawing.SystemColors.HotTrack;
|
||||
this.LongTime.Location = new System.Drawing.Point(384, 8);
|
||||
this.LongTime.Location = new System.Drawing.Point(565, 15);
|
||||
this.LongTime.Name = "LongTime";
|
||||
this.LongTime.Size = new System.Drawing.Size(79, 20);
|
||||
this.LongTime.TabIndex = 5;
|
||||
this.LongTime.Text = "显示时长:";
|
||||
//
|
||||
// lblName
|
||||
//
|
||||
this.lblName.AutoSize = true;
|
||||
this.lblName.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.lblName.ForeColor = System.Drawing.Color.Navy;
|
||||
this.lblName.Location = new System.Drawing.Point(69, 8);
|
||||
this.lblName.Name = "lblName";
|
||||
this.lblName.Size = new System.Drawing.Size(0, 20);
|
||||
this.lblName.TabIndex = 3;
|
||||
//
|
||||
// textBox2
|
||||
//
|
||||
this.textBox2.Font = new System.Drawing.Font("微软雅黑", 10.5F);
|
||||
this.textBox2.Location = new System.Drawing.Point(216, 5);
|
||||
this.textBox2.Name = "textBox2";
|
||||
this.textBox2.Size = new System.Drawing.Size(153, 26);
|
||||
this.textBox2.TabIndex = 1;
|
||||
this.textBox2.Click += new System.EventHandler(this.textBox2_Click);
|
||||
this.textBox2.Leave += new System.EventHandler(this.textBox2_Leave);
|
||||
this.textBox2.MouseDown += new System.Windows.Forms.MouseEventHandler(this.textBox2_MouseDown);
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.BackColor = System.Drawing.Color.Transparent;
|
||||
this.label4.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.label4.ForeColor = System.Drawing.SystemColors.HotTrack;
|
||||
this.label4.Location = new System.Drawing.Point(4, 8);
|
||||
this.label4.Location = new System.Drawing.Point(4, 15);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(51, 20);
|
||||
this.label4.Size = new System.Drawing.Size(79, 20);
|
||||
this.label4.TabIndex = 0;
|
||||
this.label4.Text = "姓名:";
|
||||
this.label4.Text = "患者姓名:";
|
||||
//
|
||||
// label3
|
||||
//
|
||||
@ -325,231 +371,78 @@
|
||||
this.label3.BackColor = System.Drawing.Color.Transparent;
|
||||
this.label3.Font = new System.Drawing.Font("微软雅黑", 10F);
|
||||
this.label3.ForeColor = System.Drawing.SystemColors.HotTrack;
|
||||
this.label3.Location = new System.Drawing.Point(146, 8);
|
||||
this.label3.Location = new System.Drawing.Point(146, 15);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(65, 20);
|
||||
this.label3.Size = new System.Drawing.Size(79, 20);
|
||||
this.label3.TabIndex = 0;
|
||||
this.label3.Text = "自定义:";
|
||||
//
|
||||
// DGVAdd
|
||||
//
|
||||
this.DGVAdd.AllowUserToAddRows = false;
|
||||
this.DGVAdd.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(247)))), ((int)(((byte)(255)))));
|
||||
dataGridViewCellStyle8.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.DGVAdd.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle8;
|
||||
this.DGVAdd.BackgroundColor = System.Drawing.SystemColors.ButtonHighlight;
|
||||
dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle9.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle9.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle9.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.DGVAdd.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle9;
|
||||
this.DGVAdd.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.DGVAdd.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.Id,
|
||||
this.常用通知,
|
||||
this.ReleaseTime});
|
||||
dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Window;
|
||||
dataGridViewCellStyle12.Font = new System.Drawing.Font("微软雅黑", 12F);
|
||||
dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.DGVAdd.DefaultCellStyle = dataGridViewCellStyle12;
|
||||
this.DGVAdd.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.DGVAdd.Location = new System.Drawing.Point(0, 33);
|
||||
this.DGVAdd.MultiSelect = false;
|
||||
this.DGVAdd.Name = "DGVAdd";
|
||||
dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle13.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle13.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle13.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle13.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle13.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.DGVAdd.RowHeadersDefaultCellStyle = dataGridViewCellStyle13;
|
||||
this.DGVAdd.RowTemplate.Height = 23;
|
||||
this.DGVAdd.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||||
this.DGVAdd.Size = new System.Drawing.Size(606, 210);
|
||||
this.DGVAdd.TabIndex = 1;
|
||||
this.DGVAdd.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.DGVAdd_RowPostPaint);
|
||||
this.DGVAdd.Click += new System.EventHandler(this.DGVAdd_Click);
|
||||
//
|
||||
// panel3
|
||||
//
|
||||
this.panel3.Controls.Add(this.tsbFCancel);
|
||||
this.panel3.Controls.Add(this.button2);
|
||||
this.panel3.Controls.Add(this.tsbSave);
|
||||
this.panel3.Controls.Add(this.tsbDel);
|
||||
this.panel3.Controls.Add(this.tsbModify);
|
||||
this.panel3.Controls.Add(this.tsbAdd);
|
||||
this.panel3.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel3.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(606, 33);
|
||||
this.panel3.TabIndex = 0;
|
||||
//
|
||||
// tsbFCancel
|
||||
//
|
||||
this.tsbFCancel.BackColor = System.Drawing.Color.Transparent;
|
||||
this.tsbFCancel.FlatAppearance.BorderSize = 0;
|
||||
this.tsbFCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.tsbFCancel.Font = new System.Drawing.Font("微软雅黑", 12F);
|
||||
this.tsbFCancel.Location = new System.Drawing.Point(529, 3);
|
||||
this.tsbFCancel.Name = "tsbFCancel";
|
||||
this.tsbFCancel.Size = new System.Drawing.Size(75, 30);
|
||||
this.tsbFCancel.TabIndex = 0;
|
||||
this.tsbFCancel.Text = "取消";
|
||||
this.tsbFCancel.UseVisualStyleBackColor = false;
|
||||
this.tsbFCancel.Visible = false;
|
||||
this.tsbFCancel.Click += new System.EventHandler(this.tsbFCancel_Click);
|
||||
//
|
||||
// button2
|
||||
//
|
||||
this.button2.BackColor = System.Drawing.Color.Transparent;
|
||||
this.button2.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.button2.FlatAppearance.BorderSize = 0;
|
||||
this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.button2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.button2.Location = new System.Drawing.Point(445, 4);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(75, 25);
|
||||
this.button2.TabIndex = 0;
|
||||
this.button2.Text = "发送文件";
|
||||
this.button2.UseVisualStyleBackColor = false;
|
||||
this.button2.Click += new System.EventHandler(this.button2_Click);
|
||||
//
|
||||
// tsbSave
|
||||
//
|
||||
this.tsbSave.BackColor = System.Drawing.Color.Transparent;
|
||||
this.tsbSave.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.tsbSave.FlatAppearance.BorderSize = 0;
|
||||
this.tsbSave.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.tsbSave.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.tsbSave.Location = new System.Drawing.Point(339, 4);
|
||||
this.tsbSave.Name = "tsbSave";
|
||||
this.tsbSave.Size = new System.Drawing.Size(75, 25);
|
||||
this.tsbSave.TabIndex = 0;
|
||||
this.tsbSave.Text = "发送通知";
|
||||
this.tsbSave.UseVisualStyleBackColor = false;
|
||||
this.tsbSave.Click += new System.EventHandler(this.tsbSave_Click);
|
||||
//
|
||||
// tsbDel
|
||||
//
|
||||
this.tsbDel.BackColor = System.Drawing.Color.Transparent;
|
||||
this.tsbDel.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.tsbDel.FlatAppearance.BorderSize = 0;
|
||||
this.tsbDel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.tsbDel.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.tsbDel.Location = new System.Drawing.Point(231, 4);
|
||||
this.tsbDel.Name = "tsbDel";
|
||||
this.tsbDel.Size = new System.Drawing.Size(75, 25);
|
||||
this.tsbDel.TabIndex = 0;
|
||||
this.tsbDel.Text = "删除";
|
||||
this.tsbDel.UseVisualStyleBackColor = false;
|
||||
this.tsbDel.Click += new System.EventHandler(this.tsbDel_Click);
|
||||
//
|
||||
// tsbModify
|
||||
//
|
||||
this.tsbModify.BackColor = System.Drawing.Color.Transparent;
|
||||
this.tsbModify.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.tsbModify.FlatAppearance.BorderSize = 0;
|
||||
this.tsbModify.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.tsbModify.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.tsbModify.Location = new System.Drawing.Point(123, 4);
|
||||
this.tsbModify.Name = "tsbModify";
|
||||
this.tsbModify.Size = new System.Drawing.Size(75, 25);
|
||||
this.tsbModify.TabIndex = 0;
|
||||
this.tsbModify.Text = "修改";
|
||||
this.tsbModify.UseVisualStyleBackColor = false;
|
||||
this.tsbModify.Click += new System.EventHandler(this.tsbModify_Click);
|
||||
//
|
||||
// tsbAdd
|
||||
//
|
||||
this.tsbAdd.BackColor = System.Drawing.Color.Transparent;
|
||||
this.tsbAdd.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.tsbAdd.FlatAppearance.BorderSize = 0;
|
||||
this.tsbAdd.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.tsbAdd.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.tsbAdd.Location = new System.Drawing.Point(15, 4);
|
||||
this.tsbAdd.Name = "tsbAdd";
|
||||
this.tsbAdd.Size = new System.Drawing.Size(75, 25);
|
||||
this.tsbAdd.TabIndex = 0;
|
||||
this.tsbAdd.Text = "添加";
|
||||
this.tsbAdd.UseVisualStyleBackColor = false;
|
||||
this.tsbAdd.Click += new System.EventHandler(this.tsbAdd_Click);
|
||||
this.label3.Text = "通知内容:";
|
||||
//
|
||||
// dataGridViewTextBoxColumn1
|
||||
//
|
||||
this.dataGridViewTextBoxColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
||||
this.dataGridViewTextBoxColumn1.DataPropertyName = "Id";
|
||||
dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle14;
|
||||
this.dataGridViewTextBoxColumn1.HeaderText = "编号";
|
||||
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
|
||||
this.dataGridViewTextBoxColumn1.ReadOnly = true;
|
||||
this.dataGridViewTextBoxColumn1.Visible = false;
|
||||
this.dataGridViewTextBoxColumn1.Width = 60;
|
||||
//
|
||||
// dataGridViewTextBoxColumn2
|
||||
//
|
||||
this.dataGridViewTextBoxColumn2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.dataGridViewTextBoxColumn2.DataPropertyName = "PatientName";
|
||||
dataGridViewCellStyle14.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.dataGridViewTextBoxColumn2.DefaultCellStyle = dataGridViewCellStyle14;
|
||||
dataGridViewCellStyle15.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.dataGridViewTextBoxColumn2.DefaultCellStyle = dataGridViewCellStyle15;
|
||||
this.dataGridViewTextBoxColumn2.HeaderText = "发送通知人";
|
||||
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
|
||||
this.dataGridViewTextBoxColumn2.ReadOnly = true;
|
||||
this.dataGridViewTextBoxColumn2.Visible = false;
|
||||
this.dataGridViewTextBoxColumn2.Width = 150;
|
||||
//
|
||||
// dataGridViewTextBoxColumn3
|
||||
//
|
||||
this.dataGridViewTextBoxColumn3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.dataGridViewTextBoxColumn3.DataPropertyName = "Contents";
|
||||
dataGridViewCellStyle15.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.dataGridViewTextBoxColumn3.DefaultCellStyle = dataGridViewCellStyle15;
|
||||
dataGridViewCellStyle16.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.dataGridViewTextBoxColumn3.DefaultCellStyle = dataGridViewCellStyle16;
|
||||
this.dataGridViewTextBoxColumn3.HeaderText = "通知内容";
|
||||
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
|
||||
this.dataGridViewTextBoxColumn3.ReadOnly = true;
|
||||
this.dataGridViewTextBoxColumn3.Width = 400;
|
||||
this.dataGridViewTextBoxColumn3.Visible = false;
|
||||
//
|
||||
// dataGridViewTextBoxColumn4
|
||||
//
|
||||
this.dataGridViewTextBoxColumn4.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.dataGridViewTextBoxColumn4.DataPropertyName = "OperatorTime";
|
||||
dataGridViewCellStyle17.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.dataGridViewTextBoxColumn4.DefaultCellStyle = dataGridViewCellStyle17;
|
||||
this.dataGridViewTextBoxColumn4.HeaderText = "发送时间";
|
||||
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
|
||||
this.dataGridViewTextBoxColumn4.ReadOnly = true;
|
||||
this.dataGridViewTextBoxColumn4.Visible = false;
|
||||
//
|
||||
// dataGridViewTextBoxColumn5
|
||||
//
|
||||
this.dataGridViewTextBoxColumn5.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.dataGridViewTextBoxColumn5.DataPropertyName = "Id";
|
||||
dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle16;
|
||||
dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle18;
|
||||
this.dataGridViewTextBoxColumn5.HeaderText = "序号";
|
||||
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
|
||||
this.dataGridViewTextBoxColumn5.ReadOnly = true;
|
||||
this.dataGridViewTextBoxColumn5.Visible = false;
|
||||
this.dataGridViewTextBoxColumn5.Width = 60;
|
||||
//
|
||||
// dataGridViewTextBoxColumn6
|
||||
//
|
||||
this.dataGridViewTextBoxColumn6.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.dataGridViewTextBoxColumn6.DataPropertyName = "Contents";
|
||||
dataGridViewCellStyle17.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.dataGridViewTextBoxColumn6.DefaultCellStyle = dataGridViewCellStyle17;
|
||||
dataGridViewCellStyle19.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.dataGridViewTextBoxColumn6.DefaultCellStyle = dataGridViewCellStyle19;
|
||||
this.dataGridViewTextBoxColumn6.HeaderText = "常用通知";
|
||||
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
|
||||
this.dataGridViewTextBoxColumn6.ReadOnly = true;
|
||||
//
|
||||
// dataGridViewTextBoxColumn7
|
||||
//
|
||||
this.dataGridViewTextBoxColumn7.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.dataGridViewTextBoxColumn7.DataPropertyName = "ReleaseTime";
|
||||
this.dataGridViewTextBoxColumn7.HeaderText = "显示时长";
|
||||
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
|
||||
this.dataGridViewTextBoxColumn7.ReadOnly = true;
|
||||
this.dataGridViewTextBoxColumn7.Visible = false;
|
||||
//
|
||||
// 编号
|
||||
//
|
||||
this.编号.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
||||
@ -561,8 +454,8 @@
|
||||
// PatientName
|
||||
//
|
||||
this.PatientName.DataPropertyName = "PatientName";
|
||||
dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.PatientName.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
dataGridViewCellStyle9.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.PatientName.DefaultCellStyle = dataGridViewCellStyle9;
|
||||
this.PatientName.HeaderText = "发送通知人";
|
||||
this.PatientName.Name = "PatientName";
|
||||
this.PatientName.ReadOnly = true;
|
||||
@ -571,27 +464,36 @@
|
||||
//
|
||||
// Contents
|
||||
//
|
||||
this.Contents.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.Contents.DataPropertyName = "Contents";
|
||||
dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.Contents.DefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.Contents.HeaderText = "通知内容";
|
||||
dataGridViewCellStyle10.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.Contents.DefaultCellStyle = dataGridViewCellStyle10;
|
||||
this.Contents.HeaderText = "已通知内容";
|
||||
this.Contents.Name = "Contents";
|
||||
this.Contents.ReadOnly = true;
|
||||
this.Contents.Width = 400;
|
||||
//
|
||||
// 发送时间
|
||||
//
|
||||
this.发送时间.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.发送时间.DataPropertyName = "OperatorTime";
|
||||
this.发送时间.HeaderText = "发送时间";
|
||||
this.发送时间.Name = "发送时间";
|
||||
this.发送时间.ReadOnly = true;
|
||||
this.发送时间.Width = 180;
|
||||
//
|
||||
// dataGridViewTextBoxColumn7
|
||||
//
|
||||
this.dataGridViewTextBoxColumn7.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.dataGridViewTextBoxColumn7.DataPropertyName = "ReleaseTime";
|
||||
this.dataGridViewTextBoxColumn7.HeaderText = "显示时长";
|
||||
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
|
||||
this.dataGridViewTextBoxColumn7.ReadOnly = true;
|
||||
this.dataGridViewTextBoxColumn7.Visible = false;
|
||||
//
|
||||
// Id
|
||||
//
|
||||
this.Id.DataPropertyName = "Id";
|
||||
dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.Id.DefaultCellStyle = dataGridViewCellStyle10;
|
||||
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.Id.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.Id.HeaderText = "序号";
|
||||
this.Id.Name = "Id";
|
||||
this.Id.ReadOnly = true;
|
||||
@ -602,20 +504,19 @@
|
||||
//
|
||||
this.常用通知.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.常用通知.DataPropertyName = "Contents";
|
||||
dataGridViewCellStyle11.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.常用通知.DefaultCellStyle = dataGridViewCellStyle11;
|
||||
dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.常用通知.DefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.常用通知.HeaderText = "常用通知";
|
||||
this.常用通知.Name = "常用通知";
|
||||
this.常用通知.ReadOnly = true;
|
||||
//
|
||||
// ReleaseTime
|
||||
// Deldetebtn
|
||||
//
|
||||
this.ReleaseTime.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.ReleaseTime.DataPropertyName = "ReleaseTime";
|
||||
this.ReleaseTime.HeaderText = "显示时长";
|
||||
this.ReleaseTime.Name = "ReleaseTime";
|
||||
this.ReleaseTime.ReadOnly = true;
|
||||
this.ReleaseTime.Visible = false;
|
||||
this.Deldetebtn.DataPropertyName = "manage";
|
||||
this.Deldetebtn.HeaderText = "操作";
|
||||
this.Deldetebtn.Name = "Deldetebtn";
|
||||
this.Deldetebtn.ReadOnly = true;
|
||||
this.Deldetebtn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.Deldetebtn.Width = 80;
|
||||
//
|
||||
// frmNoticeLargeScreen
|
||||
//
|
||||
@ -623,7 +524,7 @@
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.AutoSize = true;
|
||||
this.ClientSize = new System.Drawing.Size(802, 519);
|
||||
this.ClientSize = new System.Drawing.Size(1073, 519);
|
||||
this.Controls.Add(this.panel2);
|
||||
this.Controls.Add(this.groupBox1);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
@ -637,11 +538,10 @@
|
||||
this.panel1.PerformLayout();
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.panel4.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.DGVAdd)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.DGVAss)).EndInit();
|
||||
this.panel5.ResumeLayout(false);
|
||||
this.panel5.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.DGVAdd)).EndInit();
|
||||
this.panel3.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
@ -653,32 +553,17 @@
|
||||
private System.Windows.Forms.TextBox txtnameOrHnum;
|
||||
private System.Windows.Forms.TreeView treeView1;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private System.Windows.Forms.Panel panel3;
|
||||
private System.Windows.Forms.Button tsbAdd;
|
||||
private System.Windows.Forms.Panel panel4;
|
||||
private System.Windows.Forms.DataGridView DGVAdd;
|
||||
private System.Windows.Forms.Button tsbSave;
|
||||
private System.Windows.Forms.Button tsbDel;
|
||||
private System.Windows.Forms.Button tsbModify;
|
||||
private System.Windows.Forms.DataGridView DGVAss;
|
||||
private System.Windows.Forms.Panel panel5;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Button tsbFCancel;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn 编号;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn PatientName;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Contents;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn 发送时间;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn 常用通知;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn ReleaseTime;
|
||||
public System.Windows.Forms.Label lblName;
|
||||
public System.Windows.Forms.TextBox textBox2;
|
||||
public System.Windows.Forms.GroupBox groupBox1;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.ComboBox txtTime;
|
||||
private System.Windows.Forms.Label LongTime;
|
||||
private System.Windows.Forms.Button button2;
|
||||
private System.Windows.Forms.FolderBrowserDialog folderBrowserDialog1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
|
||||
@ -687,5 +572,14 @@
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
|
||||
private DevComponents.DotNetBar.ButtonX buttonX1;
|
||||
private System.Windows.Forms.DataGridView DGVAdd;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn 编号;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn PatientName;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Contents;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn 发送时间;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Id;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn 常用通知;
|
||||
private System.Windows.Forms.DataGridViewButtonColumn Deldetebtn;
|
||||
}
|
||||
}
|
||||
@ -117,6 +117,15 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="Id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="常用通知.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Deldetebtn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="编号.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
@ -129,21 +138,9 @@
|
||||
<metadata name="发送时间.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="常用通知.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="ReleaseTime.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="folderBrowserDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="$this.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
|
||||
@ -19,6 +19,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
public int SelPatientId;
|
||||
public int SelApplyId;
|
||||
public bool isMainOpen = false;
|
||||
List<OperationRoom> rooms;
|
||||
|
||||
public frmSelectPatientGoodsBill()
|
||||
{
|
||||
@ -27,7 +28,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
|
||||
private void frmSelectPatientGoodsBill_Load(object sender, EventArgs e)
|
||||
{
|
||||
List<OperationRoom> rooms = BOperationRoom.GetOperationRooms("IsValid=1 and Site='手术室'");
|
||||
rooms = BOperationRoom.GetOperationRooms("IsValid=1 and Site='手术室'");
|
||||
rooms.Insert(0, new OperationRoom() { Id = -1, Name = "" });
|
||||
cboRoom.DataSource = rooms;
|
||||
cboRoom.DisplayMember = "Name";
|
||||
@ -74,7 +75,6 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
{
|
||||
panel3.Controls.Clear();
|
||||
panel2.Visible = false;
|
||||
int i = 0, j = 0;
|
||||
|
||||
DataTable dt = new DataTable();
|
||||
if (txtquery.Text.Trim() != "")
|
||||
@ -82,58 +82,117 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
else
|
||||
dt = SelectPatient.GetSelectPatientDataTable(DateTime.Parse(dtpSelectPatientTime.Value.ToString("yyyy-MM-dd").ToString()), cboRoom.SelectedValue.ToString());
|
||||
|
||||
foreach (DataRow dr in dt.Rows)
|
||||
{
|
||||
ucPatientCard uc = new ucPatientCard(dr);
|
||||
uc.InRoom += Uc_InRoom;
|
||||
uc.QxRoom += Uc_QxRoom;
|
||||
uc.Clicks += Uc_Clicks;
|
||||
uc.Location = new Point((uc.Width + 9) * j, (uc.Height + 10) * i + 30);
|
||||
if (uc.lblAnesDoctors.Text == "麻醉医生:" || uc.lblAnesDoctors.Text.Trim() == "麻醉医生")
|
||||
uc.buttonX1.Enabled = true;
|
||||
else
|
||||
uc.buttonX1.Enabled = false;
|
||||
panel3.Controls.Add(uc);
|
||||
j++;
|
||||
if (j == 5)
|
||||
{
|
||||
i++;
|
||||
j = 0;
|
||||
}
|
||||
//防止显示全部卡顿
|
||||
if (i >= 5) break;
|
||||
}
|
||||
|
||||
DataTable dt2 = new DataTable();
|
||||
if (txtquery.Text.Trim() != "")
|
||||
dt2 = SelectPatient.GetRelieveLockingPatientDataTable (txtquery.Text);
|
||||
dt2 = SelectPatient.GetRelieveLockingPatientDataTable(txtquery.Text);
|
||||
else
|
||||
dt2 = SelectPatient.GetRelieveLockingPatientDataTable (DateTime.Parse(dtpSelectPatientTime.Value.ToString("yyyy-MM-dd").ToString()), cboRoom.SelectedValue.ToString());
|
||||
dt2 = SelectPatient.GetRelieveLockingPatientDataTable(DateTime.Parse(dtpSelectPatientTime.Value.ToString("yyyy-MM-dd").ToString()), cboRoom.SelectedValue.ToString());
|
||||
|
||||
foreach (DataRow dr in dt2.Rows)
|
||||
List<string> list = new List<string>();
|
||||
for (int i = 0; i < rooms.Count; i++)
|
||||
{
|
||||
ucPatientCard uc = new ucPatientCard(dr);
|
||||
uc.buttonX1.Text = "器械清点";
|
||||
uc.buttonX2.Visible = true;
|
||||
uc.InRoom += Uc_InRoom;
|
||||
uc.QxRoom += Uc_QxRoom;
|
||||
uc.Clicks += Uc_Clicks;
|
||||
if (uc.lblAnesDoctors.Text == "麻醉医生:" || uc.lblAnesDoctors.Text.Trim() == "麻醉医生")
|
||||
uc.buttonX2.Enabled = true;
|
||||
else
|
||||
uc.buttonX2.Enabled = false;
|
||||
uc.Location = new Point((uc.Width + 9) * j, (uc.Height + 10) * i + 30);
|
||||
panel3.Controls.Add(uc);
|
||||
j++;
|
||||
if (j == 5)
|
||||
foreach (DataRow dr in dt.Rows)
|
||||
{
|
||||
i++;
|
||||
j = 0;
|
||||
if (dr["OperationRoom"].ToString() == rooms[i].Name && !list.Contains(rooms[i].Name))
|
||||
{
|
||||
list.Add(rooms[i].Name);
|
||||
}
|
||||
}
|
||||
//防止显示全部卡顿
|
||||
if (i >= 10) break;
|
||||
}
|
||||
|
||||
foreach (DataRow dr in dt2.Rows)
|
||||
{
|
||||
if (dr["OperationRoom"].ToString() == rooms[i].Name && !list.Contains(rooms[i].Name))
|
||||
{
|
||||
list.Add(rooms[i].Name);
|
||||
}
|
||||
}
|
||||
}
|
||||
//for (int i = 0; i < list.Count; i++)
|
||||
//{
|
||||
// int j = 0;
|
||||
// foreach (DataRow dr in dt.Rows)
|
||||
// {
|
||||
// if (dr["OperationRoom"].ToString() != list[i]) continue;
|
||||
// ucPatientCard uc = new ucPatientCard(dr);
|
||||
// uc.InRoom += Uc_InRoom;
|
||||
// uc.QxRoom += Uc_QxRoom;
|
||||
// uc.Clicks += Uc_Clicks;
|
||||
// uc.Location = new Point((uc.Width + 9) * j, (uc.Height + 10) * i + 30);
|
||||
// if (uc.lblAnesDoctors.Text == "麻醉医生:" || uc.lblAnesDoctors.Text.Trim() == "麻醉医生")
|
||||
// uc.buttonX1.Enabled = true;
|
||||
// else
|
||||
// uc.buttonX1.Enabled = false;
|
||||
// panel3.Controls.Add(uc);
|
||||
// j++;
|
||||
// }
|
||||
|
||||
// foreach (DataRow dr in dt2.Rows)
|
||||
// {
|
||||
// if (dr["OperationRoom"].ToString() != list[i]) continue;
|
||||
// ucPatientCard uc = new ucPatientCard(dr);
|
||||
// uc.buttonX1.Text = "器械清点";
|
||||
// uc.buttonX2.Visible = true;
|
||||
// uc.InRoom += Uc_InRoom;
|
||||
// uc.QxRoom += Uc_QxRoom;
|
||||
// uc.Clicks += Uc_Clicks;
|
||||
// if (uc.lblAnesDoctors.Text == "麻醉医生:" || uc.lblAnesDoctors.Text.Trim() == "麻醉医生")
|
||||
// uc.buttonX2.Enabled = true;
|
||||
// else
|
||||
// uc.buttonX2.Enabled = false;
|
||||
// uc.Location = new Point((uc.Width + 9) * j, (uc.Height + 10) * i + 30);
|
||||
// panel3.Controls.Add(uc);
|
||||
// j++;
|
||||
// }
|
||||
//}
|
||||
for (int i = 0; i < list.Count; i++)
|
||||
{
|
||||
int j = 0;
|
||||
int Pointx = 0;
|
||||
foreach (DataRow dr in dt.Rows)
|
||||
{
|
||||
if (dr["OperationRoom"].ToString() != list[i]) continue;
|
||||
ucPatientCard uc = new ucPatientCard(dr);
|
||||
uc.InRoom += Uc_InRoom;
|
||||
uc.QxRoom += Uc_QxRoom;
|
||||
uc.Clicks += Uc_Clicks;
|
||||
if (uc.lblAnesDoctors.Text == "麻醉医生:" || uc.lblAnesDoctors.Text.Trim() == "麻醉医生")
|
||||
uc.buttonX1.Enabled = true;
|
||||
else
|
||||
uc.buttonX1.Enabled = false;
|
||||
uc.Location = new Point((uc.Width + 9) * i, (uc.Height + 10) * j + 30);
|
||||
panel3.Controls.Add(uc);
|
||||
j++; Pointx = (uc.Width + 9) * i;
|
||||
}
|
||||
|
||||
foreach (DataRow dr in dt2.Rows)
|
||||
{
|
||||
if (dr["OperationRoom"].ToString() != list[i]) continue;
|
||||
ucPatientCard uc = new ucPatientCard(dr);
|
||||
uc.buttonX1.Text = "器械清点";
|
||||
uc.InRoom += Uc_InRoom;
|
||||
uc.QxRoom += Uc_QxRoom;
|
||||
uc.Clicks += Uc_Clicks;
|
||||
if (uc.lblAnesDoctors.Text == "麻醉医生:" || uc.lblAnesDoctors.Text.Trim() == "麻醉医生")
|
||||
uc.buttonX2.Enabled = true;
|
||||
else
|
||||
uc.buttonX2.Enabled = false;
|
||||
uc.Location = new Point((uc.Width + 9) * i, (uc.Height + 10) * j + 30);
|
||||
panel3.Controls.Add(uc);
|
||||
j++;
|
||||
Pointx = (uc.Width + 9) * i;
|
||||
}
|
||||
|
||||
if (Pointx > 0)
|
||||
{
|
||||
DevComponents.DotNetBar.Controls.Line line1 = new DevComponents.DotNetBar.Controls.Line();
|
||||
line1.Location = new System.Drawing.Point(Pointx - 10, 0);
|
||||
line1.DashStyle = System.Drawing.Drawing2D.DashStyle.DashDotDot;
|
||||
line1.Size = new System.Drawing.Size(10, panel3.Height);
|
||||
line1.ForeColor = Color.DarkGray;
|
||||
line1.VerticalLine = true;
|
||||
panel3.Controls.Add(line1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public ucPatientCard SelUc;
|
||||
|
||||
264
AIMS/OperationFront/frmOperationApplyDetail.Designer.cs
generated
264
AIMS/OperationFront/frmOperationApplyDetail.Designer.cs
generated
@ -37,28 +37,8 @@
|
||||
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.tsbExit = new System.Windows.Forms.ToolStripButton();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
||||
this.txtTourNurseSucceed = new System.Windows.Forms.TextBox();
|
||||
this.txtTourNurse = new System.Windows.Forms.TextBox();
|
||||
this.txtInstrumentNurseSucceed = new System.Windows.Forms.TextBox();
|
||||
this.txtInstrumentNurse = new System.Windows.Forms.TextBox();
|
||||
this.txtAnesthesiaDoctorSucceed = new System.Windows.Forms.TextBox();
|
||||
this.txtAnesthesiaDoctor = new System.Windows.Forms.TextBox();
|
||||
this.dtpPlanOperationTime = new System.Windows.Forms.DateTimePicker();
|
||||
this.cboOperationRoom = new System.Windows.Forms.ComboBox();
|
||||
this.label36 = new System.Windows.Forms.Label();
|
||||
this.label37 = new System.Windows.Forms.Label();
|
||||
this.label38 = new System.Windows.Forms.Label();
|
||||
this.label39 = new System.Windows.Forms.Label();
|
||||
this.label40 = new System.Windows.Forms.Label();
|
||||
this.label41 = new System.Windows.Forms.Label();
|
||||
this.label42 = new System.Windows.Forms.Label();
|
||||
this.label43 = new System.Windows.Forms.Label();
|
||||
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||||
this.txtRemark = new System.Windows.Forms.TextBox();
|
||||
this.label23 = new System.Windows.Forms.Label();
|
||||
this.label29 = new System.Windows.Forms.Label();
|
||||
this.label22 = new System.Windows.Forms.Label();
|
||||
this.label28 = new System.Windows.Forms.Label();
|
||||
this.txtOperationRemark = new System.Windows.Forms.TextBox();
|
||||
this.txtContagion = new System.Windows.Forms.TextBox();
|
||||
@ -72,7 +52,6 @@
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label26 = new System.Windows.Forms.Label();
|
||||
this.txtOperationPosition = new System.Windows.Forms.TextBox();
|
||||
this.txtDiseaseRemark = new System.Windows.Forms.TextBox();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.rboZQ = new System.Windows.Forms.RadioButton();
|
||||
this.rboRJ = new System.Windows.Forms.RadioButton();
|
||||
@ -155,7 +134,6 @@
|
||||
this.txtMdrecNo = new System.Windows.Forms.TextBox();
|
||||
this.toolStrip1.SuspendLayout();
|
||||
this.panel1.SuspendLayout();
|
||||
this.groupBox3.SuspendLayout();
|
||||
this.groupBox2.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
this.panel3.SuspendLayout();
|
||||
@ -241,194 +219,17 @@
|
||||
// panel1
|
||||
//
|
||||
this.panel1.BackColor = System.Drawing.Color.AliceBlue;
|
||||
this.panel1.Controls.Add(this.groupBox3);
|
||||
this.panel1.Controls.Add(this.groupBox2);
|
||||
this.panel1.Controls.Add(this.groupBox1);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 49);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(1132, 482);
|
||||
this.panel1.Size = new System.Drawing.Size(1132, 484);
|
||||
this.panel1.TabIndex = 2;
|
||||
//
|
||||
// groupBox3
|
||||
//
|
||||
this.groupBox3.Controls.Add(this.txtTourNurseSucceed);
|
||||
this.groupBox3.Controls.Add(this.txtTourNurse);
|
||||
this.groupBox3.Controls.Add(this.txtInstrumentNurseSucceed);
|
||||
this.groupBox3.Controls.Add(this.txtInstrumentNurse);
|
||||
this.groupBox3.Controls.Add(this.txtAnesthesiaDoctorSucceed);
|
||||
this.groupBox3.Controls.Add(this.txtAnesthesiaDoctor);
|
||||
this.groupBox3.Controls.Add(this.dtpPlanOperationTime);
|
||||
this.groupBox3.Controls.Add(this.cboOperationRoom);
|
||||
this.groupBox3.Controls.Add(this.label36);
|
||||
this.groupBox3.Controls.Add(this.label37);
|
||||
this.groupBox3.Controls.Add(this.label38);
|
||||
this.groupBox3.Controls.Add(this.label39);
|
||||
this.groupBox3.Controls.Add(this.label40);
|
||||
this.groupBox3.Controls.Add(this.label41);
|
||||
this.groupBox3.Controls.Add(this.label42);
|
||||
this.groupBox3.Controls.Add(this.label43);
|
||||
this.groupBox3.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.groupBox3.Font = new System.Drawing.Font("宋体", 10.5F);
|
||||
this.groupBox3.Location = new System.Drawing.Point(0, 481);
|
||||
this.groupBox3.Name = "groupBox3";
|
||||
this.groupBox3.Size = new System.Drawing.Size(1132, 105);
|
||||
this.groupBox3.TabIndex = 15;
|
||||
this.groupBox3.TabStop = false;
|
||||
this.groupBox3.Text = "手术排班信息";
|
||||
this.groupBox3.Visible = false;
|
||||
//
|
||||
// txtTourNurseSucceed
|
||||
//
|
||||
this.txtTourNurseSucceed.Location = new System.Drawing.Point(870, 60);
|
||||
this.txtTourNurseSucceed.Name = "txtTourNurseSucceed";
|
||||
this.txtTourNurseSucceed.Size = new System.Drawing.Size(182, 23);
|
||||
this.txtTourNurseSucceed.TabIndex = 32;
|
||||
this.txtTourNurseSucceed.DoubleClick += new System.EventHandler(this.txtTourNurseSucceed_Click);
|
||||
this.txtTourNurseSucceed.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtTourNurseSucceed_KeyPress);
|
||||
//
|
||||
// txtTourNurse
|
||||
//
|
||||
this.txtTourNurse.Location = new System.Drawing.Point(870, 21);
|
||||
this.txtTourNurse.Name = "txtTourNurse";
|
||||
this.txtTourNurse.Size = new System.Drawing.Size(182, 23);
|
||||
this.txtTourNurse.TabIndex = 31;
|
||||
this.txtTourNurse.DoubleClick += new System.EventHandler(this.txtTourNurse_Click);
|
||||
this.txtTourNurse.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtTourNurse_KeyPress);
|
||||
//
|
||||
// txtInstrumentNurseSucceed
|
||||
//
|
||||
this.txtInstrumentNurseSucceed.Location = new System.Drawing.Point(613, 60);
|
||||
this.txtInstrumentNurseSucceed.Name = "txtInstrumentNurseSucceed";
|
||||
this.txtInstrumentNurseSucceed.Size = new System.Drawing.Size(155, 23);
|
||||
this.txtInstrumentNurseSucceed.TabIndex = 30;
|
||||
this.txtInstrumentNurseSucceed.DoubleClick += new System.EventHandler(this.txtInstrumentNurseSucceed_Click);
|
||||
this.txtInstrumentNurseSucceed.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtInstrumentNurseSucceed_KeyPress);
|
||||
//
|
||||
// txtInstrumentNurse
|
||||
//
|
||||
this.txtInstrumentNurse.Location = new System.Drawing.Point(613, 21);
|
||||
this.txtInstrumentNurse.Name = "txtInstrumentNurse";
|
||||
this.txtInstrumentNurse.Size = new System.Drawing.Size(155, 23);
|
||||
this.txtInstrumentNurse.TabIndex = 29;
|
||||
this.txtInstrumentNurse.DoubleClick += new System.EventHandler(this.txtInstrumentNurse_Click);
|
||||
this.txtInstrumentNurse.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtInstrumentNurse_KeyPress);
|
||||
//
|
||||
// txtAnesthesiaDoctorSucceed
|
||||
//
|
||||
this.txtAnesthesiaDoctorSucceed.Location = new System.Drawing.Point(344, 60);
|
||||
this.txtAnesthesiaDoctorSucceed.Name = "txtAnesthesiaDoctorSucceed";
|
||||
this.txtAnesthesiaDoctorSucceed.Size = new System.Drawing.Size(162, 23);
|
||||
this.txtAnesthesiaDoctorSucceed.TabIndex = 28;
|
||||
this.txtAnesthesiaDoctorSucceed.DoubleClick += new System.EventHandler(this.txtAnesthesiaDoctorSucceed_Click);
|
||||
this.txtAnesthesiaDoctorSucceed.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtAnesthesiaDoctorSucceed_KeyPress);
|
||||
//
|
||||
// txtAnesthesiaDoctor
|
||||
//
|
||||
this.txtAnesthesiaDoctor.Location = new System.Drawing.Point(344, 21);
|
||||
this.txtAnesthesiaDoctor.Name = "txtAnesthesiaDoctor";
|
||||
this.txtAnesthesiaDoctor.Size = new System.Drawing.Size(162, 23);
|
||||
this.txtAnesthesiaDoctor.TabIndex = 27;
|
||||
this.txtAnesthesiaDoctor.DoubleClick += new System.EventHandler(this.txtAnesthesiaDoctor_Click);
|
||||
this.txtAnesthesiaDoctor.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtAnesthesiaDoctor_KeyPress);
|
||||
//
|
||||
// dtpPlanOperationTime
|
||||
//
|
||||
this.dtpPlanOperationTime.CustomFormat = "yyyy-MM-dd HH:mm";
|
||||
this.dtpPlanOperationTime.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.dtpPlanOperationTime.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
||||
this.dtpPlanOperationTime.Location = new System.Drawing.Point(86, 60);
|
||||
this.dtpPlanOperationTime.Name = "dtpPlanOperationTime";
|
||||
this.dtpPlanOperationTime.Size = new System.Drawing.Size(153, 23);
|
||||
this.dtpPlanOperationTime.TabIndex = 26;
|
||||
//
|
||||
// cboOperationRoom
|
||||
//
|
||||
this.cboOperationRoom.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cboOperationRoom.FormattingEnabled = true;
|
||||
this.cboOperationRoom.Location = new System.Drawing.Point(87, 22);
|
||||
this.cboOperationRoom.Name = "cboOperationRoom";
|
||||
this.cboOperationRoom.Size = new System.Drawing.Size(152, 22);
|
||||
this.cboOperationRoom.TabIndex = 25;
|
||||
//
|
||||
// label36
|
||||
//
|
||||
this.label36.AutoSize = true;
|
||||
this.label36.Location = new System.Drawing.Point(773, 69);
|
||||
this.label36.Name = "label36";
|
||||
this.label36.Size = new System.Drawing.Size(91, 14);
|
||||
this.label36.TabIndex = 24;
|
||||
this.label36.Text = "巡回护士接台";
|
||||
//
|
||||
// label37
|
||||
//
|
||||
this.label37.AutoSize = true;
|
||||
this.label37.Location = new System.Drawing.Point(801, 31);
|
||||
this.label37.Name = "label37";
|
||||
this.label37.Size = new System.Drawing.Size(63, 14);
|
||||
this.label37.TabIndex = 23;
|
||||
this.label37.Text = "巡回护士";
|
||||
//
|
||||
// label38
|
||||
//
|
||||
this.label38.AutoSize = true;
|
||||
this.label38.Location = new System.Drawing.Point(516, 68);
|
||||
this.label38.Name = "label38";
|
||||
this.label38.Size = new System.Drawing.Size(91, 14);
|
||||
this.label38.TabIndex = 22;
|
||||
this.label38.Text = "器械护士接台";
|
||||
//
|
||||
// label39
|
||||
//
|
||||
this.label39.AutoSize = true;
|
||||
this.label39.Location = new System.Drawing.Point(544, 30);
|
||||
this.label39.Name = "label39";
|
||||
this.label39.Size = new System.Drawing.Size(63, 14);
|
||||
this.label39.TabIndex = 21;
|
||||
this.label39.Text = "器械护士";
|
||||
//
|
||||
// label40
|
||||
//
|
||||
this.label40.AutoSize = true;
|
||||
this.label40.Location = new System.Drawing.Point(255, 68);
|
||||
this.label40.Name = "label40";
|
||||
this.label40.Size = new System.Drawing.Size(91, 14);
|
||||
this.label40.TabIndex = 20;
|
||||
this.label40.Text = "麻醉医生接台";
|
||||
//
|
||||
// label41
|
||||
//
|
||||
this.label41.AutoSize = true;
|
||||
this.label41.Location = new System.Drawing.Point(283, 30);
|
||||
this.label41.Name = "label41";
|
||||
this.label41.Size = new System.Drawing.Size(63, 14);
|
||||
this.label41.TabIndex = 19;
|
||||
this.label41.Text = "麻醉医生";
|
||||
//
|
||||
// label42
|
||||
//
|
||||
this.label42.AutoSize = true;
|
||||
this.label42.Location = new System.Drawing.Point(9, 68);
|
||||
this.label42.Name = "label42";
|
||||
this.label42.Size = new System.Drawing.Size(63, 14);
|
||||
this.label42.TabIndex = 18;
|
||||
this.label42.Text = "手术时间";
|
||||
//
|
||||
// label43
|
||||
//
|
||||
this.label43.AutoSize = true;
|
||||
this.label43.Location = new System.Drawing.Point(9, 30);
|
||||
this.label43.Name = "label43";
|
||||
this.label43.Size = new System.Drawing.Size(49, 14);
|
||||
this.label43.TabIndex = 17;
|
||||
this.label43.Text = "手术室";
|
||||
//
|
||||
// groupBox2
|
||||
//
|
||||
this.groupBox2.Controls.Add(this.txtRemark);
|
||||
this.groupBox2.Controls.Add(this.label23);
|
||||
this.groupBox2.Controls.Add(this.label29);
|
||||
this.groupBox2.Controls.Add(this.label22);
|
||||
this.groupBox2.Controls.Add(this.label28);
|
||||
this.groupBox2.Controls.Add(this.txtOperationRemark);
|
||||
this.groupBox2.Controls.Add(this.txtContagion);
|
||||
@ -442,7 +243,6 @@
|
||||
this.groupBox2.Controls.Add(this.label1);
|
||||
this.groupBox2.Controls.Add(this.label26);
|
||||
this.groupBox2.Controls.Add(this.txtOperationPosition);
|
||||
this.groupBox2.Controls.Add(this.txtDiseaseRemark);
|
||||
this.groupBox2.Controls.Add(this.panel2);
|
||||
this.groupBox2.Controls.Add(this.panel3);
|
||||
this.groupBox2.Controls.Add(this.txtRight5);
|
||||
@ -491,14 +291,6 @@
|
||||
this.groupBox2.TabStop = false;
|
||||
this.groupBox2.Text = "手术基本信息";
|
||||
//
|
||||
// txtRemark
|
||||
//
|
||||
this.txtRemark.Location = new System.Drawing.Point(640, 364);
|
||||
this.txtRemark.Name = "txtRemark";
|
||||
this.txtRemark.Size = new System.Drawing.Size(375, 23);
|
||||
this.txtRemark.TabIndex = 29;
|
||||
this.txtRemark.Visible = false;
|
||||
//
|
||||
// label23
|
||||
//
|
||||
this.label23.AutoSize = true;
|
||||
@ -509,27 +301,6 @@
|
||||
this.label23.TabIndex = 11;
|
||||
this.label23.Text = "手术备注";
|
||||
//
|
||||
// label29
|
||||
//
|
||||
this.label29.AutoSize = true;
|
||||
this.label29.Location = new System.Drawing.Point(564, 369);
|
||||
this.label29.Name = "label29";
|
||||
this.label29.Size = new System.Drawing.Size(63, 14);
|
||||
this.label29.TabIndex = 28;
|
||||
this.label29.Text = "申请备注";
|
||||
this.label29.Visible = false;
|
||||
//
|
||||
// label22
|
||||
//
|
||||
this.label22.AutoSize = true;
|
||||
this.label22.ForeColor = System.Drawing.Color.Black;
|
||||
this.label22.Location = new System.Drawing.Point(567, 385);
|
||||
this.label22.Name = "label22";
|
||||
this.label22.Size = new System.Drawing.Size(63, 14);
|
||||
this.label22.TabIndex = 11;
|
||||
this.label22.Text = "诊断备注";
|
||||
this.label22.Visible = false;
|
||||
//
|
||||
// label28
|
||||
//
|
||||
this.label28.AutoSize = true;
|
||||
@ -652,14 +423,6 @@
|
||||
this.txtOperationPosition.DoubleClick += new System.EventHandler(this.txtOperationPosition_Click);
|
||||
this.txtOperationPosition.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtOperationPosition_KeyPress);
|
||||
//
|
||||
// txtDiseaseRemark
|
||||
//
|
||||
this.txtDiseaseRemark.Location = new System.Drawing.Point(643, 380);
|
||||
this.txtDiseaseRemark.Name = "txtDiseaseRemark";
|
||||
this.txtDiseaseRemark.Size = new System.Drawing.Size(375, 23);
|
||||
this.txtDiseaseRemark.TabIndex = 10;
|
||||
this.txtDiseaseRemark.Visible = false;
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.Controls.Add(this.rboZQ);
|
||||
@ -1456,7 +1219,7 @@
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1132, 531);
|
||||
this.ClientSize = new System.Drawing.Size(1132, 533);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Controls.Add(this.toolStrip1);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
@ -1469,8 +1232,6 @@
|
||||
this.toolStrip1.ResumeLayout(false);
|
||||
this.toolStrip1.PerformLayout();
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.groupBox3.ResumeLayout(false);
|
||||
this.groupBox3.PerformLayout();
|
||||
this.groupBox2.ResumeLayout(false);
|
||||
this.groupBox2.PerformLayout();
|
||||
this.panel2.ResumeLayout(false);
|
||||
@ -1501,8 +1262,6 @@
|
||||
private System.Windows.Forms.TextBox txtAssistant1;
|
||||
private System.Windows.Forms.Label label30;
|
||||
private System.Windows.Forms.TextBox txtOperationDoctor;
|
||||
private System.Windows.Forms.TextBox txtRemark;
|
||||
private System.Windows.Forms.Label label29;
|
||||
private System.Windows.Forms.Label label28;
|
||||
private System.Windows.Forms.TextBox txtContagion;
|
||||
private System.Windows.Forms.Label label27;
|
||||
@ -1562,28 +1321,9 @@
|
||||
private System.Windows.Forms.Panel panel3;
|
||||
private System.Windows.Forms.Label label35;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.GroupBox groupBox3;
|
||||
private System.Windows.Forms.TextBox txtTourNurseSucceed;
|
||||
private System.Windows.Forms.TextBox txtTourNurse;
|
||||
private System.Windows.Forms.TextBox txtInstrumentNurseSucceed;
|
||||
private System.Windows.Forms.TextBox txtInstrumentNurse;
|
||||
private System.Windows.Forms.TextBox txtAnesthesiaDoctorSucceed;
|
||||
private System.Windows.Forms.TextBox txtAnesthesiaDoctor;
|
||||
private System.Windows.Forms.DateTimePicker dtpPlanOperationTime;
|
||||
private System.Windows.Forms.ComboBox cboOperationRoom;
|
||||
private System.Windows.Forms.Label label36;
|
||||
private System.Windows.Forms.Label label37;
|
||||
private System.Windows.Forms.Label label38;
|
||||
private System.Windows.Forms.Label label39;
|
||||
private System.Windows.Forms.Label label40;
|
||||
private System.Windows.Forms.Label label41;
|
||||
private System.Windows.Forms.Label label42;
|
||||
private System.Windows.Forms.Label label43;
|
||||
private System.Windows.Forms.TextBox txtOperation;
|
||||
private System.Windows.Forms.Label label23;
|
||||
private System.Windows.Forms.Label label22;
|
||||
private System.Windows.Forms.TextBox txtOperationRemark;
|
||||
private System.Windows.Forms.TextBox txtDiseaseRemark;
|
||||
private System.Windows.Forms.TextBox txtRight;
|
||||
private System.Windows.Forms.TextBox txtLeft;
|
||||
private System.Windows.Forms.Label label45;
|
||||
|
||||
@ -136,8 +136,7 @@ namespace AIMS.OperationFront.UI
|
||||
|
||||
}
|
||||
if (txtDisease.Text != "") txtDisease.Text = txtDisease.Text.Substring(0, txtDisease.Text.LastIndexOf(" ,"));
|
||||
|
||||
txtDiseaseRemark.Text = EditOperationApplyObj.DiagnoseRemark;
|
||||
|
||||
|
||||
//手术
|
||||
SelectOperationData = BApplyOperationInfo.GetApplyOperationIdList(EditApplyId);
|
||||
@ -229,8 +228,7 @@ namespace AIMS.OperationFront.UI
|
||||
if (txtAnaesthesiaMethod.Text != "") txtAnaesthesiaMethod.Text = txtAnaesthesiaMethod.Text.Substring(0, txtAnaesthesiaMethod.Text.LastIndexOf(" ,"));
|
||||
|
||||
//术前感染筛查
|
||||
txtContagion.Text = EditOperationApplyObj.Contagion;
|
||||
txtRemark.Text = EditOperationApplyObj.Remark;
|
||||
txtContagion.Text = EditOperationApplyObj.Contagion;
|
||||
//术者
|
||||
SelectOperationDoctor = BApplyPersonDuty.GetPersonIdList(EditApplyId, 1);
|
||||
foreach (int RowId in SelectOperationDoctor)
|
||||
@ -837,14 +835,14 @@ namespace AIMS.OperationFront.UI
|
||||
OperationApplyObj.IsReturnOperation = chbIsReturnOperation.Checked ? 1 : 0;
|
||||
OperationApplyObj.IsPlanReturnOperation = rdbIsPlanReturnOperation.Checked ? 1 : 0;
|
||||
OperationApplyObj.IsNotPlanReturnOperation = rdbIsNotPlanReturnOperation.Checked ? 1 : 0;
|
||||
OperationApplyObj.DiagnoseRemark = txtDiseaseRemark.Text.Trim();
|
||||
OperationApplyObj.DiagnoseRemark = "";
|
||||
OperationApplyObj.OperationRemark = txtOperationRemark.Text.Trim();
|
||||
if (cboOperationLevel.SelectedValue != null && cboOperationLevel.SelectedValue.ToString() != "")
|
||||
OperationApplyObj.OperationLevelId = int.Parse(cboOperationLevel.SelectedValue.ToString());
|
||||
OperationApplyObj.Contagion = txtContagion.Text.Trim();
|
||||
OperationApplyObj.Intern = txtIntern.Text.Trim();
|
||||
//OperationApplyObj.Other = txtOther.Text.Trim();
|
||||
OperationApplyObj.Remark = txtRemark.Text.Trim();
|
||||
OperationApplyObj.Remark = "";
|
||||
OperationApplyObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo;
|
||||
OperationApplyObj.OperatorName = AIMSExtension.PublicMethod.OperatorName;
|
||||
OperationApplyObj.OperateDate = AIMSExtension.PublicMethod.SystemDate();
|
||||
@ -1086,21 +1084,7 @@ namespace AIMS.OperationFront.UI
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private bool ValidInput2()
|
||||
{
|
||||
|
||||
bool result = false;
|
||||
if (this.cboOperationRoom.Text.Trim().Length < 1)
|
||||
{
|
||||
MessageBox.Show("手术室不能为空!");
|
||||
}
|
||||
else
|
||||
{
|
||||
result = true;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
private bool ValidInput()
|
||||
{
|
||||
bool result = false;
|
||||
@ -1221,188 +1205,8 @@ namespace AIMS.OperationFront.UI
|
||||
private void cboApplyDepId_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
//cboDepartment.Text = cboApplyDepId.Text;
|
||||
}
|
||||
|
||||
//麻醉医生
|
||||
private void txtAnesthesiaDoctor_Click(object sender, EventArgs e)
|
||||
{
|
||||
frmAnesthesiaDoctor = new PublicUI.UI.frmSelectPerson();
|
||||
frmAnesthesiaDoctor.PersonType = "麻醉医生";
|
||||
frmAnesthesiaDoctor.SelectDepartmentName = cboApplyDepId.Text;
|
||||
frmAnesthesiaDoctor.SelectPersonData = SelectAnesthesiaDoctorData;
|
||||
frmAnesthesiaDoctor.FormClosed += new FormClosedEventHandler(AnesthesiaDoctor_FormClosed);
|
||||
frmAnesthesiaDoctor.ShowDialog();
|
||||
}
|
||||
|
||||
void AnesthesiaDoctor_FormClosed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
txtAnesthesiaDoctor.Text = "";
|
||||
if (frmAnesthesiaDoctor.SelectPersonData.Count > 0)
|
||||
{
|
||||
SelectAnesthesiaDoctorData = frmAnesthesiaDoctor.SelectPersonData;
|
||||
foreach (int RowId in frmAnesthesiaDoctor.SelectPersonData)
|
||||
{
|
||||
txtAnesthesiaDoctor.Text += BPerson.SelectSingle(RowId).Name + " ,";
|
||||
}
|
||||
txtAnesthesiaDoctor.Text = txtAnesthesiaDoctor.Text.Substring(0, txtAnesthesiaDoctor.Text.LastIndexOf(" ,"));
|
||||
}
|
||||
}
|
||||
//麻醉接台
|
||||
private void txtAnesthesiaDoctorSucceed_Click(object sender, EventArgs e)
|
||||
{
|
||||
frmAnesthesiaDoctorSucceed = new PublicUI.UI.frmSelectPerson();
|
||||
frmAnesthesiaDoctorSucceed.PersonType = "麻醉医生";
|
||||
frmAnesthesiaDoctorSucceed.SelectDepartmentName = cboApplyDepId.Text;
|
||||
frmAnesthesiaDoctorSucceed.SelectPersonData = SelectAnesthesiaDoctorSucceedData;
|
||||
frmAnesthesiaDoctorSucceed.FormClosed += new FormClosedEventHandler(frmAnesthesiaDoctorSucceed_FormClosed);
|
||||
frmAnesthesiaDoctorSucceed.ShowDialog();
|
||||
|
||||
}
|
||||
|
||||
void frmAnesthesiaDoctorSucceed_FormClosed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
txtAnesthesiaDoctorSucceed.Text = "";
|
||||
if (frmAnesthesiaDoctorSucceed.SelectPersonData.Count > 0)
|
||||
{
|
||||
SelectAnesthesiaDoctorSucceedData = frmAnesthesiaDoctorSucceed.SelectPersonData;
|
||||
foreach (int RowId in frmAnesthesiaDoctorSucceed.SelectPersonData)
|
||||
{
|
||||
txtAnesthesiaDoctorSucceed.Text += BPerson.SelectSingle(RowId).Name + " ,";
|
||||
}
|
||||
txtAnesthesiaDoctorSucceed.Text = txtAnesthesiaDoctorSucceed.Text.Substring(0, txtAnesthesiaDoctorSucceed.Text.LastIndexOf(" ,"));
|
||||
}
|
||||
}
|
||||
//器械护士
|
||||
private void txtInstrumentNurse_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
frmInstrumentNurse = new PublicUI.UI.frmSelectPerson();
|
||||
frmInstrumentNurse.PersonType = "麻醉护士";
|
||||
frmInstrumentNurse.SelectDepartmentName = cboApplyDepId.Text;
|
||||
frmInstrumentNurse.SelectPersonData = SelectInstrumentNurseData;
|
||||
frmInstrumentNurse.FormClosed += new FormClosedEventHandler(frmInstrumentNurse_FormClosed);
|
||||
frmInstrumentNurse.ShowDialog();
|
||||
}
|
||||
|
||||
void frmInstrumentNurse_FormClosed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
|
||||
txtInstrumentNurse.Text = "";
|
||||
if (frmInstrumentNurse.SelectPersonData.Count > 0)
|
||||
{
|
||||
SelectInstrumentNurseData = frmInstrumentNurse.SelectPersonData;
|
||||
foreach (int RowId in frmInstrumentNurse.SelectPersonData)
|
||||
{
|
||||
txtInstrumentNurse.Text += BPerson.SelectSingle(RowId).Name + " ,";
|
||||
}
|
||||
txtInstrumentNurse.Text = txtInstrumentNurse.Text.Substring(0, txtInstrumentNurse.Text.LastIndexOf(" ,"));
|
||||
}
|
||||
}
|
||||
//器械护士接台
|
||||
private void txtInstrumentNurseSucceed_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
frmInstrumentNurseSucceed = new PublicUI.UI.frmSelectPerson();
|
||||
frmInstrumentNurseSucceed.PersonType = "麻醉护士";
|
||||
frmInstrumentNurseSucceed.SelectDepartmentName = cboApplyDepId.Text;
|
||||
frmInstrumentNurseSucceed.SelectPersonData = SelectInstrumentNurseSucceedData;
|
||||
frmInstrumentNurseSucceed.FormClosed += new FormClosedEventHandler(frmInstrumentNurseSucceed_FormClosed);
|
||||
frmInstrumentNurseSucceed.ShowDialog();
|
||||
}
|
||||
|
||||
void frmInstrumentNurseSucceed_FormClosed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
txtInstrumentNurseSucceed.Text = "";
|
||||
if (frmInstrumentNurseSucceed.SelectPersonData.Count > 0)
|
||||
{
|
||||
SelectInstrumentNurseSucceedData = frmInstrumentNurseSucceed.SelectPersonData;
|
||||
foreach (int RowId in frmInstrumentNurseSucceed.SelectPersonData)
|
||||
{
|
||||
txtInstrumentNurseSucceed.Text += BPerson.SelectSingle(RowId).Name + " ,";
|
||||
}
|
||||
txtInstrumentNurseSucceed.Text = txtInstrumentNurseSucceed.Text.Substring(0, txtInstrumentNurseSucceed.Text.LastIndexOf(" ,"));
|
||||
}
|
||||
}
|
||||
|
||||
//巡回护士
|
||||
private void txtTourNurse_Click(object sender, EventArgs e)
|
||||
{
|
||||
frmTourNurse = new PublicUI.UI.frmSelectPerson();
|
||||
frmTourNurse.PersonType = "麻醉护士";
|
||||
frmTourNurse.SelectDepartmentName = cboApplyDepId.Text;
|
||||
frmTourNurse.SelectPersonData = SelectTourNurseData;
|
||||
frmTourNurse.FormClosed += new FormClosedEventHandler(frmTourNurse_FormClosed);
|
||||
frmTourNurse.ShowDialog();
|
||||
}
|
||||
|
||||
void frmTourNurse_FormClosed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
txtTourNurse.Text = "";
|
||||
if (frmTourNurse.SelectPersonData.Count > 0)
|
||||
{
|
||||
SelectTourNurseData = frmTourNurse.SelectPersonData;
|
||||
foreach (int RowId in frmTourNurse.SelectPersonData)
|
||||
{
|
||||
txtTourNurse.Text += BPerson.SelectSingle(RowId).Name + " ,";
|
||||
}
|
||||
txtTourNurse.Text = txtTourNurse.Text.Substring(0, txtTourNurse.Text.LastIndexOf(" ,"));
|
||||
}
|
||||
}
|
||||
//巡回护士接台
|
||||
private void txtTourNurseSucceed_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
frmTourNurseSucceed = new PublicUI.UI.frmSelectPerson();
|
||||
frmTourNurseSucceed.PersonType = "麻醉护士";
|
||||
frmTourNurseSucceed.SelectDepartmentName = cboApplyDepId.Text;
|
||||
frmTourNurseSucceed.SelectPersonData = SelectTourNurseSucceedData;
|
||||
frmTourNurseSucceed.FormClosed += new FormClosedEventHandler(frmTourNurseSucceed_FormClosed);
|
||||
frmTourNurseSucceed.ShowDialog();
|
||||
}
|
||||
|
||||
void frmTourNurseSucceed_FormClosed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
txtTourNurseSucceed.Text = "";
|
||||
if (frmTourNurseSucceed.SelectPersonData.Count > 0)
|
||||
{
|
||||
SelectTourNurseSucceedData = frmTourNurseSucceed.SelectPersonData;
|
||||
foreach (int RowId in frmTourNurseSucceed.SelectPersonData)
|
||||
{
|
||||
txtTourNurseSucceed.Text += BPerson.SelectSingle(RowId).Name + " ,";
|
||||
}
|
||||
txtTourNurseSucceed.Text = txtTourNurseSucceed.Text.Substring(0, txtTourNurseSucceed.Text.LastIndexOf(" ,"));
|
||||
}
|
||||
}
|
||||
|
||||
private void txtInstrumentNurse_KeyPress(object sender, KeyPressEventArgs e)
|
||||
{
|
||||
e.Handled = true;
|
||||
}
|
||||
|
||||
private void txtAnesthesiaDoctor_KeyPress(object sender, KeyPressEventArgs e)
|
||||
{
|
||||
e.Handled = true;
|
||||
}
|
||||
|
||||
private void txtAnesthesiaDoctorSucceed_KeyPress(object sender, KeyPressEventArgs e)
|
||||
{
|
||||
e.Handled = true;
|
||||
}
|
||||
|
||||
private void txtInstrumentNurseSucceed_KeyPress(object sender, KeyPressEventArgs e)
|
||||
{
|
||||
e.Handled = true;
|
||||
}
|
||||
|
||||
private void txtTourNurse_KeyPress(object sender, KeyPressEventArgs e)
|
||||
{
|
||||
e.Handled = true;
|
||||
}
|
||||
|
||||
private void txtTourNurseSucceed_KeyPress(object sender, KeyPressEventArgs e)
|
||||
{
|
||||
e.Handled = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void cboDepartment_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
@ -55,6 +55,10 @@ namespace AIMSBLL
|
||||
{
|
||||
return DOperationApply.GetOperationFrontDataTableByPlanOperationTime(BegInData, EndData);
|
||||
}
|
||||
public static DataTable GetOperationDoingDataTable(string BegInData, string EndData)
|
||||
{
|
||||
return DOperationApply.GetOperationDoingDataTable (BegInData, EndData);
|
||||
}
|
||||
public static void UpdateVerifyTime(int ApplyId, string VerifyTime, string VerifyOperatorNo)
|
||||
{
|
||||
DOperationApply.UpdateVerifyTime(ApplyId, VerifyTime, VerifyOperatorNo);
|
||||
|
||||
@ -606,7 +606,7 @@ namespace AIMSDAL
|
||||
/// <returns></returns>
|
||||
public static DataTable GetNoticeTemplate()
|
||||
{
|
||||
DataTable dt = DBHelper.GetDataTable("select * from NoticeTemplate");
|
||||
DataTable dt = DBHelper.GetDataTable("select *,'删除' manage from NoticeTemplate");
|
||||
return dt;
|
||||
}
|
||||
}
|
||||
|
||||
@ -18,7 +18,7 @@ namespace AIMSDAL
|
||||
{
|
||||
StringBuilder strSql = new StringBuilder();
|
||||
strSql.Append("insert into [OperationApply](");
|
||||
strSql.Append("Oris_PatientId,ApplyDepId,OperationType,OrderOperationTime,OperationTimeLeight,IsReturnOperation,IsPlanReturnOperation,IsNotPlanReturnOperation,DiagnoseRemark,OperationRemark,OperationLevelId,Contagion,Intern,Other,ApplyTime,ApplyOperatorNo,State,Remark,OperatorNo,OperatorName,OperateDate,OperationSite");
|
||||
strSql.Append("Oris_PatientId,ApplyDepId,OperationType,OrderOperationTime,OperationTimeLeight,IsReturnOperation,IsPlanReturnOperation,IsNotPlanReturnOperation,DiagnoseRemark,OperationRemark,OperationLevelId,Contagion,Intern,Other,ApplyTime,ApplyOperatorNo,State,OperatorNo,OperatorName,OperateDate,OperationSite");
|
||||
strSql.Append(")");
|
||||
strSql.Append(" values (");
|
||||
strSql.Append("" + OperationApplyObj.OrisPatientId + ",");
|
||||
@ -39,8 +39,7 @@ namespace AIMSDAL
|
||||
strSql.Append("'" + OperationApplyObj.ApplyOperatorNo + "',");
|
||||
//strSql.Append("'"+OperationApplyObj.PlanOperationTime+"',");
|
||||
//strSql.Append(""+OperationApplyObj.OperationRoomId+",");
|
||||
strSql.Append("" + OperationApplyObj.State + ",");
|
||||
strSql.Append("'" + OperationApplyObj.Remark + "',");
|
||||
strSql.Append("" + OperationApplyObj.State + ",");
|
||||
strSql.Append("'" + OperationApplyObj.OperatorNo + "',");
|
||||
strSql.Append("'" + OperationApplyObj.OperatorName + "',");
|
||||
strSql.Append("'" + OperationApplyObj.OperateDate + "',");
|
||||
@ -297,6 +296,12 @@ namespace AIMSDAL
|
||||
"FROM V_OperationFront of1 WHERE of1.PlanOperationTime>='" + BegInData + "' and of1.PlanOperationTime<'" + EndData + "' order by OperationRoomId,PlanOrder asc";
|
||||
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
}
|
||||
public static DataTable GetOperationDoingDataTable(string BegInData, string EndData)
|
||||
{
|
||||
string strSql = " SELECT OP.Id PatientId, OA.Id ApplyId, OD.Id OperationRecordId, oa.State StateId, CASE oa.State WHEN 1 THEN '已申请' WHEN 2 THEN '已审核' WHEN 3 THEN '预排程' WHEN 4 THEN'已排程' WHEN 5 THEN '已排程' WHEN 6 THEN '手术中' WHEN 7 THEN '麻醉恢复中' WHEN 8 THEN '手术结束' WHEN 9 THEN '麻醉恢复结束' WHEN 10 THEN '退回' WHEN 11 THEN '作废' END State, OP.Name PatientName, OP.Sex, OP.Age , Dept.Name ApplyDepName, OP.PatientType, OP.MdrecNo, OA.OperationType, OA.ApplyOperatorNo, OA.ApplyTime, adi.ApplyDiagnoseInfoName, aoi.ApplyOperationInfoNames ApplyOperationInfoName, InRoomTime, OutRoomTime, CONVERT(DECIMAL(18,2),RoomTimeSpan) /60 RoomHourTimeSpan, AnesthesiaBeginTime, AnesthesiaEndTime, CONVERT(DECIMAL(18,2),AnaesthesiaTimeSpan) /60 AnaesthesiaHourTimeSpan, OperationBeginTime, OperationEndTime, CONVERT(DECIMAL(18,2),OperationTimeSpan) /60 OperationHourTimeSpan, dbo.funNameById(od.AnaesthesiaMethodName) as AnaesthesiaMethodName, foi.OperationInfoName OperationInfoName, foct.OperationCutTypeName, fop.OperationPositionName, fobp.OperationBodyPositionName, of1.OperationLevel, asa.Name ASALevelName, ISNULL(dbo.GetPersonDuty(OD.PatientId,1),'') AS OperationDoctor, ISNULL(dbo.GetPersonDuty(OD.PatientId,2),'') + ' ' + ISNULL(dbo.GetPersonDuty(OD.PatientId,3),'') + ' ' + ISNULL(dbo.GetPersonDuty(OD.PatientId,4),'') AS Assistant, ISNULL(dbo.GetPersonDuty(OD.PatientId,5),'') AS AnesthesiaDoctor, ISNULL(dbo.GetPersonDuty(OD.PatientId,6),'') AS InstrumentNurse , ISNULL(dbo.GetPersonDuty(OD.PatientId,7),'') AS TourNurse , ROOM.Name OperationRoomName, PlanOrder, CASE oa.IsPlanReturnOperation WHEN 1 THEN '是' when 0 then '否' else '' end as IsNotPlanReturnOperation, od.AnaesthesiaMethodName AnaesthesiaMethodId, OA.Remark, OA.OperatorName ,OA.OperationRoomId FROM dbo.Oris_Patient OP LEFT JOIN OperationApply OA on OA.Oris_PatientId=OP.Id LEFT JOIN OperationRecord OD on OD.PatientId=OP.Id LEFT JOIN OperationRoom ROOM on ROOM.Id=OA.OperationRoomId LEFT JOIN Department Dept on Dept.Id=OA.ApplyDepId LEFT JOIN V_ApplyDiagnoseInfo adi ON adi.OperationApplyId = oa.Id LEFT JOIN V_ApplyOperationInfo aoi ON aoi.OperationApplyId =oa.Id LEFT JOIN V_FactOperationInfo foi ON foi.PatientId =od.PatientId LEFT JOIN V_FactOperationCutType foct ON foct.PatientId =od.PatientId LEFT JOIN V_FactOperationBodyPosition fobp ON fobp.PatientId =od.PatientId LEFT JOIN V_FactOperationPosition fop ON fop.PatientId =od.PatientId LEFT JOIN BasicDictionary asa ON asa.Id = OD.ASALevel LEFT JOIN OperationRecordInfo of1 ON of1.OperationRecordId = OD.Id WHERE oa.OrderOperationTime>='" + BegInData + "' and oa.OrderOperationTime<'" + EndData + "' order by OperationRoomId,PlanOrder asc";
|
||||
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
}
|
||||
|
||||
public static DataTable SelectPlanedOpeByRoom(string whereSql)
|
||||
{
|
||||
try
|
||||
|
||||
@ -18,6 +18,7 @@ namespace AIMSBLL
|
||||
"of1.AnesthesiaDoctor,of1.OperationRoomId , of1.State ,of1.Sex,[dbo].[funGetAge](of1.BirthDay,getdate()) age,of1.PlanOperationTime,of1.InstrumentNurse,of1.TourNurse,of1.ApplyDiagnoseInfoName,of1.OperationRoom ,of1.Contagion,of1.OrderOperationTime " +
|
||||
"FROM V_OperationFront of1 WHERE of1.State in('已审核','预排程','已排程','已访视') and of1.OrderOperationTime>='" + BeginDate + "' AND of1.OrderOperationTime<'" + BeginDate.AddDays(1) + "'";
|
||||
if (Room != "" && Room != "-1") strSql += " and of1.OperationRoomId='" + Room + "'";
|
||||
strSql += " order by OperationRoomId,PlanOrder";
|
||||
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
}
|
||||
|
||||
@ -26,7 +27,7 @@ namespace AIMSBLL
|
||||
string strSql = "SELECT of1.ApplyId Id, of1.PatientId, of1.ApplyId, of1.ApplyDepName, of1.OperationType, of1.MdrecNo, of1.PatientName, " +
|
||||
"of1.ApplyOperationInfoName, of1.OperationDoctor, " +
|
||||
"of1.AnesthesiaDoctor,of1.OperationRoomId , of1.State ,of1.Sex,[dbo].[funGetAge](of1.BirthDay,getdate()) age,of1.PlanOperationTime,of1.InstrumentNurse,of1.TourNurse,of1.ApplyDiagnoseInfoName,of1.OperationRoom ,of1.Contagion,of1.OrderOperationTime " +
|
||||
"FROM V_OperationFront of1 WHERE of1.State in('已审核','预排程','已排程','已访视') and ( of1.MdrecNo like '%" + PatientName + "%' or of1.PatientName like '%" + PatientName + "%')";
|
||||
"FROM V_OperationFront of1 WHERE of1.State in('已审核','预排程','已排程','已访视') and ( of1.MdrecNo like '%" + PatientName + "%' or of1.PatientName like '%" + PatientName + "%')";
|
||||
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
}
|
||||
|
||||
@ -34,7 +35,7 @@ namespace AIMSBLL
|
||||
{
|
||||
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";
|
||||
strSql += " order by [StateId],of2.InRoomTime ";
|
||||
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||
}
|
||||
public static DataTable GetRelieveLockingPatientDataTable( string PatientName)
|
||||
|
||||
@ -13,6 +13,7 @@ namespace AIMSExtension
|
||||
public string HR { get; set; }
|
||||
public string Resp { get; set; }
|
||||
public string SPO2 { get; set; }
|
||||
public string Etco2 { get; set; }
|
||||
public string PR { get; set; }
|
||||
public string Sys_H { get; set; }
|
||||
public string Dia_H { get; set; }
|
||||
|
||||
BIN
BeginScreen.7z
BIN
BeginScreen.7z
Binary file not shown.
@ -25,13 +25,13 @@ namespace BeginScreen
|
||||
/// <returns></returns>
|
||||
public static DataTable GetPlanNoticeNew(DateTime dtBegin, DateTime dtEnd, string OpeTime, string DeptId)
|
||||
{
|
||||
string strSql = "select * from (select ApplyId ,OperationRoom,ApplyDepName,SickBed,PatientName,'等待手术' [State],SQState,SZState,ApplyOperationInfoName OperationInfo,OperationBeginTime,ApplyOperationDoctor OperationDoctor,applyAnesthesiaDoctor AnesthesiaDoctor,TourNurse,InstrumentNurse from [dbo].[V_OperationRecordALL] where sqstate <6 and ((OrderOperationTime >='" + dtBegin.ToString("yyyy-MM-dd 00:00:00") + "' and OrderOperationTime<='" + dtEnd.ToString("yyyy-MM-dd 23:59:59") + "')) union select ApplyId ,OperationRoom,ApplyDepName,SickBed,PatientName,'手术进行中'[State],SQState,SZState,OperationInfoName OperationInfo,OperationBeginTime,OperationDoctor OperationDoctor,AnesthesiaDoctor,TourNurse,InstrumentNurse from [V_OperationRecordALL] where SZstate in(1) and ((InRoomTime >='" + dtBegin.ToString("yyyy-MM-dd 00:00:00") + "' and InRoomTime<='" + dtEnd.ToString("yyyy-MM-dd 23:59:59") + "')) and OutRoomTime is null union select ApplyId ,OperationRoom,ApplyDepName,SickBed,PatientName,'手术结束'[State],SQState,SZState,OperationInfoName OperationInfo,OperationBeginTime,OperationDoctor OperationDoctor,AnesthesiaDoctor,TourNurse,InstrumentNurse from [V_OperationRecordALL] where datediff(minute,CONVERT(DATETIME,outRoomTime,120),GETDATE())<" + OpeTime + ") as a order by a.ApplyDepName collate Chinese_PRC_CS_AS_KS_WS,a.SQState desc,a.SZState desc";
|
||||
string strSql = "select * from (select ApplyId ,OperationRoom,OperationRoomId,planorder,ApplyDepName,SickBed,PatientName,'等待手术' [State],SQState,SZState,ApplyOperationInfoName OperationInfo,OperationBeginTime,ApplyOperationDoctor OperationDoctor,applyAnesthesiaDoctor AnesthesiaDoctor,TourNurse,InstrumentNurse from [dbo].[V_OperationRecordALL] where sqstate <6 and ((OrderOperationTime >='" + dtBegin.ToString("yyyy-MM-dd 00:00:00") + "' and OrderOperationTime<='" + dtEnd.ToString("yyyy-MM-dd 23:59:59") + "')) union select ApplyId ,OperationRoom,OperationRoomId,planorder,ApplyDepName,SickBed,PatientName,'手术中'[State],SQState,SZState,OperationInfoName OperationInfo,OperationBeginTime,OperationDoctorx OperationDoctor,AnesthesiaDoctor,TourNurse,InstrumentNurse from [V_OperationRecordALL] where SZstate in(1) and ((InRoomTime >='" + dtBegin.ToString("yyyy-MM-dd 00:00:00") + "' and InRoomTime<='" + dtEnd.ToString("yyyy-MM-dd 23:59:59") + "')) and OutRoomTime is null union select ApplyId ,OperationRoom,OperationRoomId,planorder,ApplyDepName,SickBed,PatientName,'手术结束'[State],SQState,SZState,OperationInfoName OperationInfo,OperationBeginTime,OperationDoctorx OperationDoctor,AnesthesiaDoctor,TourNurse,InstrumentNurse from [V_OperationRecordALL] where datediff(minute,CONVERT(DATETIME,outRoomTime,120),GETDATE())<" + OpeTime + ") as a order by OperationRoomId,planorder ";
|
||||
return DBHelper.GetDataTable(strSql);
|
||||
}
|
||||
|
||||
public static DataTable GetPlanNoticeNew1(DateTime dtBegin, DateTime dtEnd, string OpeTime, string DeptId)
|
||||
{
|
||||
string strSql = "select * from (select ApplyId ,OperationRoom,ApplyDepName,SickBed,PatientName,'等待手术' [State],SQState,SZState from [dbo].[V_OperationRecordALL] where sqstate <6 and ((OrderOperationTime >='" + dtBegin.ToString("yyyy-MM-dd 00:00:00") + "' and OrderOperationTime<='" + dtEnd.ToString("yyyy-MM-dd 23:59:59") + "')) union select ApplyId ,OperationRoom,ApplyDepName,SickBed,PatientName,'手术进行中'[State],SQState,SZState from [V_OperationRecordALL] where SZstate in(1) and ((InRoomTime >='" + dtBegin.ToString("yyyy-MM-dd 00:00:00") + "' and InRoomTime<='" + dtEnd.ToString("yyyy-MM-dd 23:59:59") + "')) and OutRoomTime is null union select ApplyId ,OperationRoom,ApplyDepName,SickBed,PatientName,'手术结束'[State],SQState,SZState from [V_OperationRecordALL] where datediff(minute,CONVERT(DATETIME,outRoomTime,120),GETDATE())<" + OpeTime + ") as a order by a.ApplyDepName collate Chinese_PRC_CS_AS_KS_WS,a.SQState desc,a.SZState desc";
|
||||
string strSql = "select * from (select ApplyId ,OperationRoom,ApplyDepName,SickBed,PatientName,'等待手术' [State],SQState,SZState,InRoomTime,OutRoomTime,OperationBeginTime,OperationEndTime,Pulse from [dbo].[V_OperationRecordALL] where sqstate <6 and ((OrderOperationTime >='" + dtBegin.ToString("yyyy-MM-dd 00:00:00") + "' and OrderOperationTime<='" + dtEnd.ToString("yyyy-MM-dd 23:59:59") + "')) union select ApplyId ,OperationRoom,ApplyDepName,SickBed,PatientName,'手术中'[State],SQState,SZState,InRoomTime,OutRoomTime,OperationBeginTime,OperationEndTime,Pulse from [V_OperationRecordALL] where SZstate in(1) and ((InRoomTime >='" + dtBegin.ToString("yyyy-MM-dd 00:00:00") + "' and InRoomTime<='" + dtEnd.ToString("yyyy-MM-dd 23:59:59") + "')) and OutRoomTime is null union select ApplyId ,OperationRoom,ApplyDepName,SickBed,PatientName,'手术结束'[State],SQState,SZState,InRoomTime,OutRoomTime,OperationBeginTime,OperationEndTime,Pulse from [V_OperationRecordALL] where datediff(minute,CONVERT(DATETIME,outRoomTime,120),GETDATE())<" + OpeTime + ") as a order by a.ApplyDepName collate Chinese_PRC_CS_AS_KS_WS,a.SQState desc,a.SZState desc";
|
||||
return DBHelper.GetDataTable(strSql);
|
||||
}
|
||||
|
||||
@ -48,67 +48,20 @@ namespace BeginScreen
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查询患者信息
|
||||
/// </summary>
|
||||
/// <param name="dtBegin"></param>
|
||||
/// <param name="dtEnd"></param>
|
||||
/// <returns></returns>
|
||||
public static DataTable GetCurrentRoomPatientsInfo(int OperationRoom, string bdate)
|
||||
{
|
||||
string strSql = string.Format(@" select * from (select [SQOperationDoctorId],[SZOperationDoctorId],
|
||||
a.[SQAssistant1Id],[SZAssistant1Id],
|
||||
[SQAssistant2Id],[SZAssistant2Id],
|
||||
[SQAssistant3Id],[SZAssistant3Id],
|
||||
[SQAnesthesiaDoctorId],[SZAnesthesiaDoctorId],
|
||||
[SQInstrumentNurseId],[SZInstrumentNurseId],
|
||||
[SQTourNurseId],[SZTourNurseId]
|
||||
from [V_OperationRecordS] a where a.SZOperationRoomId ={0} and State = 0 and a.InRoomTime > '{1}') a", OperationRoom, bdate);
|
||||
return DBHelper.GetDataTable(strSql);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据时间查询排程公告
|
||||
/// </summary>
|
||||
/// <param name="dtBegin"></param>
|
||||
/// <param name="dtEnd"></param>
|
||||
/// <returns></returns>
|
||||
public static DataTable GetOperationRoomPlan(DateTime dtBegin, DateTime dtEnd, string OpeTime, string RoomName)
|
||||
public static DataRow GetMessigeData()
|
||||
{
|
||||
string strSql = "select PatientName,a.Bed,sex,Age,ApplyDepartmentName,DepartmentName,SQOperation,SZOperation,a.SQDiagnose,a.SZDiagnose from (select * from V_OperationInformation where SZstate in(0) and ((InRoomTime >='" + dtBegin.ToString() + "' and InRoomTime<='" + dtEnd.ToString() + "'))) as a where a.SqOperationRoom = '" + RoomName + "' order by SqOperationRoomId asc,InRoomTime desc";
|
||||
return DBHelper.GetDataTable(strSql);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查询患者信息
|
||||
/// </summary>
|
||||
/// <param name="dtBegin"></param>
|
||||
/// <param name="dtEnd"></param>
|
||||
/// <returns></returns>
|
||||
public static DataTable GetCurrentRoomPatientsInfo(string sql)
|
||||
{
|
||||
// string strSql = string.Format(@" select
|
||||
// '{0}' as 角色,w.Name,w.ElectronicSignature,bd.Name,d.Name,r.Name from Workers w
|
||||
// left join BasicDictionary bd on w.JobTitleId = bd.Id
|
||||
// left join Roles r on r.Id = w.RoleId
|
||||
// left join Departments d on d.Id = w.DepartmentId where w.Id = {1}", RoleName, ID);
|
||||
return DBHelper.GetDataTable(sql);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 查询手术室信息
|
||||
/// </summary>
|
||||
/// <param name="dtBegin"></param>
|
||||
/// <param name="dtEnd"></param>
|
||||
/// <returns></returns>
|
||||
public static DataTable GetRoomInfo(string Name)
|
||||
{
|
||||
string swl = "select Id,Name from OperationRoom where Name = '" + Name + "'";
|
||||
return DBHelper.GetDataTable(swl);
|
||||
}
|
||||
|
||||
string strSql = "select top 1 * from NoticeContent where datediff(second,CONVERT(DATETIME,OperatorTime,120),GETDATE())<ReleaseTime order by ID desc ";//
|
||||
DataTable dt = DBHelper.GetDataTable(strSql);
|
||||
if (dt.Rows.Count > 0)
|
||||
{
|
||||
return dt.Rows[0];
|
||||
}
|
||||
else
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 查询科室
|
||||
/// </summary>
|
||||
|
||||
@ -5,28 +5,27 @@
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" style="height: 100%;">
|
||||
<head id="Head1" runat="server">
|
||||
<script src="js/jquery.min.js" type="text/javascript"></script>
|
||||
<script src="js/speak.js"></script>
|
||||
<script src="js/jquery.min.js" type="text/javascript"></script>
|
||||
<script language="javascript" src="js/url.js" charset="utf-8"></script>
|
||||
<style type="text/css">
|
||||
thead tr:last-child td {
|
||||
height: 50px;
|
||||
height: 35px;
|
||||
}
|
||||
|
||||
tbody td {
|
||||
background: none !important;
|
||||
color: #fff !important;
|
||||
border-bottom: 15px solid #62906900 !important;
|
||||
/*border-bottom: 25px solid #62906900 !important;*/
|
||||
}
|
||||
|
||||
tbody td div {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
line-height: 50px;
|
||||
background: #E46705 !important;
|
||||
border-top: 1.9px solid #fff;
|
||||
border-bottom: 1.9px solid #fff;
|
||||
}
|
||||
tbody td div {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
line-height: 50px;
|
||||
background: #E46705 !important;
|
||||
border-top: 1.9px solid #fff;
|
||||
border-bottom: 1.9px solid #fff;
|
||||
}
|
||||
|
||||
tbody tr td:first-child {
|
||||
padding-left: 1%;
|
||||
@ -49,55 +48,54 @@
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body style="margin: 0; /*background: linear-gradient(#08413C,#28A1A9); */background: linear-gradient(#0E101A,#DF8A53); height: 100%;" bgcolor="#000000" id="Mybody">
|
||||
<body style="margin: 0; background: linear-gradient(#0E101A,#DF8A53); height: 100%;" bgcolor="#000000" id="Mybody">
|
||||
|
||||
<table id="table" border="0" width='100%' height='100%' cellpadding="0" cellspacing="0">
|
||||
<table id="table" border="0" width='100%' height='92%' cellpadding="0" cellspacing="0">
|
||||
<thead>
|
||||
<tr style="/*background: black; */ background: linear-gradient(#08413C,#28A1A9); color: white; margin-bottom: 6px; font-size: 40px; font-weight: bold;">
|
||||
<tr style=" background: linear-gradient(#08413C,#28A1A9); color: white; margin-bottom: 6px; font-size:31px;font-family:微软雅黑; ">
|
||||
<td colspan="10" align="center" valign="middle" height="10%" style="padding: 6px;">
|
||||
<div onclick="speak('');" style="left: 10px; top: 22px; position: absolute; /*color: #62D377; */ font-size: 27px;">
|
||||
<div onclick="speak('');" style="left: 10px; top: 10px; position: absolute; /*color: #62D377; */ font-size: 25px;font-family:微软雅黑;">
|
||||
秦皇岛市工人医院
|
||||
</div>
|
||||
每日手术情况一览表
|
||||
<div style="right: 250px; top: 22px; position: absolute; /*color: #62D377; */ font-size: 27px;">
|
||||
今日手术
|
||||
<div style="right: 180px; top: 22px; position: absolute; /*color: #62D377; */ font-size: 20px;">
|
||||
<div id="currentTime">
|
||||
</div>
|
||||
<div id="currentHour"></div>
|
||||
</div>
|
||||
<div style="right: 20px; top: 22px; position: absolute; /*color: #62D377; */ font-size: 27px;">
|
||||
<div style="right: 20px; top: 22px; position: absolute; /*color: #62D377; */ font-size: 20px;">
|
||||
<div id="js">
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="/*background: #2D9131; */ color: white; margin-bottom: 6px; font-size: 24px; font-weight: bold;">
|
||||
<td width="3%" align="center" valign="middle" height="5%" style="padding: 6px;"></td>
|
||||
</td>
|
||||
<td width="5%%" align="center" valign="middle" height="5%" style="padding: 6px;">
|
||||
<tr style=" color: white; margin-bottom: 6px; font-size: 19px; font-family:微软雅黑; ">
|
||||
<td width="1%" align="center" valign="middle" style="padding: 6px;"></td>
|
||||
<td width="5%" align="center" valign="middle" style="padding: 1px;">
|
||||
术间
|
||||
</td>
|
||||
<td width="13%%" align="center" valign="middle" height="5%" style="padding: 6px;">
|
||||
<td width="13%%" align="center" valign="middle" style="padding: 6px;">
|
||||
科室
|
||||
</td>
|
||||
<td width="8%%" align="center" valign="middle" height="5%" style="padding: 6px;">
|
||||
<td width="8%%" align="center" valign="middle" style="padding: 6px;">
|
||||
姓名
|
||||
</td>
|
||||
<td width="19%%" align="center" valign="middle" height="5%" style="padding: 6px;">
|
||||
<td width="16%%" align="center" valign="middle" style="padding: 6px;">
|
||||
手术名称
|
||||
</td>
|
||||
<td width="9%%" align="center" valign="middle" height="5%" style="padding: 6px;">
|
||||
<td width="14%%" align="center" valign="middle" style="padding: 6px;">
|
||||
手术医生
|
||||
</td>
|
||||
<td width="14%%" align="center" valign="middle" height="5%" style="padding: 6px;">
|
||||
<td width="14%%" align="center" valign="middle" style="padding: 6px;">
|
||||
麻醉医生
|
||||
</td>
|
||||
<td width="14%%" align="center" valign="middle" height="5%" style="padding: 6px;">
|
||||
<td width="14%%" align="center" valign="middle" style="padding: 6px;">
|
||||
护士
|
||||
</td>
|
||||
<td width="8%%" align="center" valign="middle" height="5%" style="padding: 6px;">
|
||||
<td width="6%%" align="center" valign="middle" style="padding: 6px;">
|
||||
时间
|
||||
</td>
|
||||
<td width="9%%" align="center" valign="middle" height="5%" style="padding: 6px;">
|
||||
<td width="9%%" align="center" valign="middle" style="padding: 6px;">
|
||||
状态
|
||||
</td>
|
||||
</tr>
|
||||
@ -105,13 +103,13 @@
|
||||
<tbody id="Mytbody" style="background: linear-gradient(#221A1C,#DF8A53);">
|
||||
</tbody>
|
||||
</table>
|
||||
<table id="table1" table border="0" width='100%' height='0' cellpadding="0" cellspacing="0">
|
||||
<table id="table1" border="0" width='100%' height='0' cellpadding="0" cellspacing="0">
|
||||
<tbody id="Mytbody1" style="background: linear-gradient(#221A1C,#DF8A53);">
|
||||
<tr style="position: fixed; bottom: 0; width: 100%;">
|
||||
<td colspan="10" style="border-bottom: 0 !important; display: block;">
|
||||
<div style="background: #016768 !important; border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; padding: 0 5%; height: 60px; width: 89%; position: relative;">
|
||||
<div style="background: #17233B!important; width: 99%; height: 40px; margin-top: 10px; padding: 0 0px;">
|
||||
<marquee id="marquee" direction="left" scrollamount="12" style="font-family: sans-serif; font-size: 25px; color: #fff; height: 40px; line-height: 40px; font-weight: bold;"></marquee>
|
||||
<marquee id="marqueeid" direction="left" scrollamount="6" style="font-family: sans-serif; font-size: 25px; color: #fff; height: 40px; line-height: 40px; font-weight: bold;">1234543212</marquee>
|
||||
</div>
|
||||
<span style="display: block; width: 20px; height: 20px; background: red; position: absolute; left: 1.8%; top: 22px; border-radius: 50%; border: 1px solid #fff;"></span>
|
||||
<span style="display: block; width: 20px; height: 20px; background: red; position: absolute; right: 1.8%; top: 22px; border-radius: 50%; border: 1px solid #fff;"></span>
|
||||
@ -119,22 +117,17 @@
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div id="officeId" style="width: 4%; height: 100%; background: #ff000000; position: fixed; left: 0; top: 0; z-index: 100000;">
|
||||
</div>
|
||||
<script language="javascript" src="js/webofficetip.js" charset="utf-8"></script>
|
||||
<script language="javascript">
|
||||
SetupTip();
|
||||
</script>
|
||||
</table>
|
||||
</body>
|
||||
<script type="text/javascript">
|
||||
|
||||
var messId = 0;
|
||||
var sendType = "";
|
||||
|
||||
var tbodyobj = document.getElementById('Mytbody');
|
||||
setInterval(load, 10000);
|
||||
var marqueeid = document.getElementById('marqueeid');
|
||||
setInterval(load, 100000);
|
||||
var WorkerCurrentPage = 1;
|
||||
load();
|
||||
var countPage;
|
||||
|
||||
function load() {
|
||||
@ -151,9 +144,9 @@
|
||||
if (data.success) {
|
||||
tbodyobj.innerHTML = data.html;
|
||||
sendType = data.sendType;
|
||||
messId = data.messId;
|
||||
|
||||
messId = data.messId;
|
||||
countPage = data.countPage;
|
||||
marqueeid.innerHTML = data.msg;
|
||||
$("#js").html('(第' + WorkerCurrentPage + '屏/共' + data.countPage + '屏)');
|
||||
}
|
||||
}
|
||||
@ -203,9 +196,9 @@
|
||||
async: false,
|
||||
success: function (result) {
|
||||
_timestamp = Date.parse(result);
|
||||
$("#currentTime").text(new Date(_timestamp).format("yyyy年MM月dd日") + " " + GetWeek());
|
||||
$("#currentTime").text(new Date(_timestamp).format("yyyy年MM月dd日") + " " + GetWeek(_timestamp));
|
||||
setInterval(function () {
|
||||
$("#currentTime").text(new Date(_timestamp).format("yyyy年MM月dd日") + " " + GetWeek());
|
||||
$("#currentTime").text(new Date(_timestamp).format("yyyy年MM月dd日") + " " + GetWeek(_timestamp));
|
||||
_timestamp += 1000;
|
||||
}, 1000);
|
||||
|
||||
@ -213,31 +206,13 @@
|
||||
});
|
||||
});
|
||||
|
||||
function GetWeek() {
|
||||
function GetWeek(_timestamp) {
|
||||
var a = new Array("日", "一", "二", "三", "四", "五", "六");
|
||||
var week = new Date().getDay();
|
||||
var week = new Date(_timestamp).getDay();
|
||||
var str = "星期" + a[week];
|
||||
return str;
|
||||
}
|
||||
|
||||
|
||||
///设置字体颜色
|
||||
function SetFontColor(family, size, color, weight, style) {
|
||||
if (family != "") {
|
||||
$("#marquee").css("font-family", family);
|
||||
}
|
||||
if (size != "") {
|
||||
$("#marquee").css("font-size", size + "px");
|
||||
}
|
||||
if (color != "") {
|
||||
$("#marquee").css("color", color);
|
||||
}
|
||||
if (weight != "") {
|
||||
$("#marquee").css("font-weight", weight);
|
||||
}
|
||||
if (style != "") {
|
||||
$("#marquee").css("font-style", style);
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
</html>
|
||||
|
||||
@ -18,17 +18,15 @@ namespace BeginScreen
|
||||
private int dSum; //数据表的总记录
|
||||
private int startRecond; //起始记录
|
||||
private int endRecond; //结束记录
|
||||
private static int PageSum = 9; //每页显示的记录数
|
||||
private static int PageSum = 8; //每页显示的记录数
|
||||
private int countPage; //总页数
|
||||
private int currentPage; //当前页
|
||||
|
||||
private int currentPage; //当前页
|
||||
private DataTable dts;
|
||||
|
||||
|
||||
|
||||
#region 配置文件的属性
|
||||
public static XElement xmlOpe = null;
|
||||
private string fontSize = "27px";
|
||||
private string fontFamily = "黑体";
|
||||
private string fontSize = "18px";
|
||||
private string fontFamily = "微软雅黑";
|
||||
private string rowOddBgColor = "#000000";
|
||||
private string rowEvenBgColor = "#000000";
|
||||
private string opeBeforColor = "DodgerBlue";
|
||||
@ -91,7 +89,7 @@ namespace BeginScreen
|
||||
public int GetPageCount()
|
||||
{
|
||||
if (PageSum == 0)
|
||||
PageSum = 9; //每页显示的记录条数为"0",则默认为"20"
|
||||
PageSum = 8; //每页显示的记录条数为"0",则默认为"20"
|
||||
if (dSum % PageSum == 0)
|
||||
return (dSum / PageSum);
|
||||
else
|
||||
@ -125,7 +123,7 @@ namespace BeginScreen
|
||||
string tdRow = "<tr>";
|
||||
if (i >= dSum)
|
||||
{
|
||||
tdRow += "<td colspan='9'> </td>";
|
||||
tdRow += "<td align=\"center\" height=\"35px\" ></td>\r\n<td align=\"center\" height=\"35px\" ></td>\r\n<td align=\"center\" height=\"35px\" ></td>\r\n<td align=\"center\" height=\"35px\" ></td>\r\n<td align=\"center\" height=\"35px\" ></td>\r\n<td align=\"center\" height=\"35px\" ></td>\r\n<td align=\"center\" height=\"35px\" ></td>\r\n<td align=\"center\" height=\"35px\" ></td>\r\n<td align=\"center\" height=\"35px\" ></td>\r\n<td align=\"center\" height=\"35px\" ></td>";
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -143,24 +141,24 @@ namespace BeginScreen
|
||||
string rowStyle = "";
|
||||
if (i % 2 == 0)
|
||||
{
|
||||
rowStyle = "bgcolor='" + rowEvenBgColor + "' align=left valie=middle style='border-bottom:1px solid #629069;height:50px;font-size:" +
|
||||
fontSize + ";font-weight:bold; vertical-align: middle;font-family:\"" + fontFamily + "\"; ";
|
||||
rowStyle = " height='35px' bgcolor='" + rowEvenBgColor + "' style='font-size:" +
|
||||
fontSize + ";font-family:" + fontFamily + ";' ";//font-weight:bold;
|
||||
}
|
||||
else
|
||||
{
|
||||
rowStyle = "bgcolor='" + rowOddBgColor + "' align=left valie=middle style='border-bottom:1px solid #629069;height:50px;font-size:" +
|
||||
fontSize + ";font-weight:bold; vertical-align: middle;font-family:\"" + fontFamily + "\"; ";
|
||||
rowStyle = " height='35px' bgcolor='" + rowOddBgColor + "' style='font-size:" +
|
||||
fontSize + "; font-family:" + fontFamily + ";' ";//font-weight:bold;
|
||||
}
|
||||
switch (vchrOpeStatus)
|
||||
{
|
||||
case "等待手术":
|
||||
rowStyle += " color:" + defaultColor + ";'";
|
||||
//rowStyle += " color:" + defaultColor + ";'";
|
||||
break;
|
||||
case "手术准备":
|
||||
rowStyle += " color:" + defaultColor + ";'";
|
||||
//rowStyle += " color:" + defaultColor + ";'";
|
||||
break;
|
||||
case "手术进行中":
|
||||
rowStyle += " color:" + defaultColor + ";'";
|
||||
case "手术中":
|
||||
//rowStyle += " color:" + defaultColor + ";'";
|
||||
break;
|
||||
case "术后恢复":
|
||||
break;
|
||||
@ -173,7 +171,7 @@ namespace BeginScreen
|
||||
case "离开复苏室":
|
||||
break;
|
||||
case "手术结束":
|
||||
rowStyle += " color:" + defaultColor + ";'";
|
||||
//rowStyle += " color:" + defaultColor + ";'";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
@ -184,7 +182,7 @@ namespace BeginScreen
|
||||
tdRow += "<td align='center' " + rowStyle + ">" + dts.Rows[i]["ApplyDepName"] + "</td>";
|
||||
tdRow += "<td align='center' " + rowStyle + ">" + dts.Rows[i]["PatientName"] + "</td>";
|
||||
string SZOperation = dts.Rows[i]["OperationInfo"].ToString();
|
||||
tdRow += "<td align='center' " + rowStyle + ">" + SZOperation + "</td>";
|
||||
tdRow += "<td align='center' height='35px' bgcolor='" + rowOddBgColor + "' style='font-size:16px; font-family:微软雅黑;' >" + SZOperation + "</td>";
|
||||
#region 读取医生的条件
|
||||
string SZOperationDoctor = dts.Rows[i]["OperationDoctor"].ToString();
|
||||
tdRow += "<td align='center' " + rowStyle + ">" + SZOperationDoctor + "</td>";
|
||||
@ -209,9 +207,9 @@ namespace BeginScreen
|
||||
#endregion
|
||||
|
||||
tdRow += "<td align='center' " + rowStyle + ">" + vchrFactBeginTime + "</td>";
|
||||
tdRow += "<td align='center' " + rowStyle + ">" + vchrOpeStatus + "</td>";
|
||||
tdRow += "<td align='center' " + rowStyle + ">" + vchrOpeStatus + "</td>";
|
||||
}
|
||||
tdRow += "</tr>";
|
||||
tdRow += "</tr>";
|
||||
tdRows += tdRow;
|
||||
}
|
||||
catch (Exception)
|
||||
@ -220,9 +218,32 @@ namespace BeginScreen
|
||||
}
|
||||
//显示备注等
|
||||
body += tdRows;
|
||||
GetT_Inform();
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取通知档的内容
|
||||
/// </summary>
|
||||
private void GetT_Inform()
|
||||
{
|
||||
DataRow dr = PublicMethod.GetMessigeData();
|
||||
if (dr != null)
|
||||
{
|
||||
if (dr["Contents"] != null && dr["Contents"].ToString().Trim() != "")
|
||||
{
|
||||
messageStr = dr["Contents"].ToString().Trim();
|
||||
}
|
||||
systemType = "0";
|
||||
if (dr["Id"] != null && dr["Id"].ToString().Trim() != "")
|
||||
{
|
||||
messId = Convert.ToInt32(dr["Id"].ToString().Trim());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void SetViewTime()
|
||||
{
|
||||
_beginDate = PublicMethod.ServerTime().Date.AddSeconds(1);
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Wait.aspx.cs" Inherits="BeginScreen.Wait" %>
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Room.aspx.cs"
|
||||
Inherits="BeginScreen.Room" %>
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
@ -48,35 +49,35 @@
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body style="margin: 0; /*background: linear-gradient(#08413C,#28A1A9); */background: linear-gradient(#0E101A,#DF8A53); height: 100%;" bgcolor="#000000" id="Mybody">
|
||||
<body style="margin: 0; background: linear-gradient(#0E101A,#DF8A53); height: 100%;" bgcolor="#000000" id="Mybody">
|
||||
|
||||
<table id="table" border="0" width='100%' height='100%' cellpadding="0" cellspacing="0">
|
||||
<table id="table" border="0" width='100%' height='92%' cellpadding="0" cellspacing="0">
|
||||
<thead>
|
||||
<tr style="/*background: black; */ background: linear-gradient(#08413C,#28A1A9); color: white; margin-bottom: 6px; font-size: 40px; font-weight: bold;">
|
||||
<tr style="background: linear-gradient(#08413C,#28A1A9); color: white; margin-bottom: 6px; font-size: 28px; font-family: 微软雅黑;">
|
||||
<td colspan="10" align="center" valign="middle" height="10%" style="padding: 6px;">
|
||||
<div onclick="speak('');" style="left: 10px; top: 22px; position: absolute; /*color: #62D377; */ font-size: 27px;">
|
||||
<div onclick="speak('');" style="left: 10px; top: 10px; position: absolute; font-size: 25px; font-family: 微软雅黑;">
|
||||
秦皇岛市工人医院
|
||||
</div>
|
||||
今日手术
|
||||
<div style="right: 250px; top: 22px; position: absolute; /*color: #62D377; */ font-size: 27px;">
|
||||
<div style="right: 180px; top: 22px; position: absolute; font-size: 20px;">
|
||||
<div id="currentTime">
|
||||
</div>
|
||||
<div id="currentHour"></div>
|
||||
</div>
|
||||
<div style="right: 20px; top: 22px; position: absolute; /*color: #62D377; */ font-size: 27px;">
|
||||
<div style="right: 20px; top: 22px; position: absolute; font-size: 20px;">
|
||||
<div id="js">
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="/*background: #2D9131; */ color: white; margin-bottom: 6px; font-size: 24px; font-weight: bold;">
|
||||
<td width="3%" align="center" valign="middle" height="5%" style="padding: 6px;"></td>
|
||||
<tr style="/*background: #2D9131; */ color: white; margin-bottom: 6px; font-size: 19px; font-family: 微软雅黑;">
|
||||
<td width="1%" align="center" valign="middle" height="5%" style="padding: 6px;"></td>
|
||||
<td width="20%" align="center" valign="middle" height="5%" style="padding: 6px;">科室
|
||||
</td>
|
||||
<td width="15%" align="center" valign="middle" height="5%" style="padding: 6px;">床号
|
||||
</td>
|
||||
<td width="16%" align="center" valign="middle" height="5%" style="padding: 6px;">姓名
|
||||
</td>
|
||||
</td>
|
||||
<td width="24%" align="center" valign="middle" height="5%" style="padding: 6px;">状态
|
||||
</td>
|
||||
</tr>
|
||||
@ -90,7 +91,7 @@
|
||||
<td colspan="10" style="border-bottom: 0 !important; display: block;">
|
||||
<div style="background: #016768 !important; border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; padding: 0 5%; height: 60px; width: 89%; position: relative;">
|
||||
<div style="background: #17233B!important; width: 99%; height: 40px; margin-top: 10px; padding: 0 0px;">
|
||||
<marquee id="marquee" direction="left" scrollamount="12" style="font-family: sans-serif; font-size: 25px; color: #fff; height: 40px; line-height: 40px; font-weight: bold;"></marquee>
|
||||
<marquee id="marqueeid" direction="left" scrollamount="6" style="font-family: sans-serif; font-size: 25px; color: #fff; height: 40px; line-height: 40px; font-weight: bold;"></marquee>
|
||||
</div>
|
||||
<span style="display: block; width: 20px; height: 20px; background: red; position: absolute; left: 1.8%; top: 22px; border-radius: 50%; border: 1px solid #fff;"></span>
|
||||
<span style="display: block; width: 20px; height: 20px; background: red; position: absolute; right: 1.8%; top: 22px; border-radius: 50%; border: 1px solid #fff;"></span>
|
||||
@ -99,23 +100,18 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div id="officeId" style="width: 4%; height: 100%; background: #ff000000; position: fixed; left: 0; top: 0; z-index: 100000;">
|
||||
</div>
|
||||
<script language="javascript" src="js/webofficetip.js" charset="utf-8"></script>
|
||||
<script language="javascript">
|
||||
SetupTip();
|
||||
</script>
|
||||
</body>
|
||||
<script type="text/javascript">
|
||||
</body>
|
||||
<script type="text/javascript">
|
||||
|
||||
var messId = 0;
|
||||
var sendType = "";
|
||||
|
||||
var tbodyobj = document.getElementById('Mytbody');
|
||||
var marqueeid = document.getElementById('marqueeid');
|
||||
setInterval(load, 10000);
|
||||
var WorkerCurrentPage = 1;
|
||||
load();
|
||||
var countPage;
|
||||
//load();
|
||||
|
||||
function load() {
|
||||
if (WorkerCurrentPage > countPage) {
|
||||
@ -129,9 +125,10 @@
|
||||
success: function (result) {
|
||||
var data = eval(result);
|
||||
if (data.success) {
|
||||
tbodyobj.innerHTML = data.html;
|
||||
tbodyobj.innerHTML = data.html;
|
||||
sendType = data.sendType;
|
||||
messId = data.messId;
|
||||
marqueeid.innerHTML = data.msg;
|
||||
|
||||
countPage = data.countPage;
|
||||
$("#js").html('(第' + WorkerCurrentPage + '屏/共' + data.countPage + '屏)');
|
||||
@ -183,9 +180,9 @@
|
||||
async: false,
|
||||
success: function (result) {
|
||||
_timestamp = Date.parse(result);
|
||||
$("#currentTime").text(new Date(_timestamp).format("yyyy年MM月dd日") + " " + GetWeek());
|
||||
$("#currentTime").text(new Date(_timestamp).format("yyyy年MM月dd日") + " " + GetWeek(_timestamp));
|
||||
setInterval(function () {
|
||||
$("#currentTime").text(new Date(_timestamp).format("yyyy年MM月dd日") + " " + GetWeek());
|
||||
$("#currentTime").text(new Date(_timestamp).format("yyyy年MM月dd日") + " " + GetWeek(_timestamp));
|
||||
_timestamp += 1000;
|
||||
}, 1000);
|
||||
|
||||
@ -193,55 +190,11 @@
|
||||
});
|
||||
});
|
||||
|
||||
function GetWeek() {
|
||||
function GetWeek(_timestamp) {
|
||||
var a = new Array("日", "一", "二", "三", "四", "五", "六");
|
||||
var week = new Date().getDay();
|
||||
var week = new Date(_timestamp).getDay();
|
||||
var str = "星期" + a[week];
|
||||
return str;
|
||||
}
|
||||
|
||||
$("#marquee").bind('DOMNodeInserted', function (e) {
|
||||
speak($(e.target).html());
|
||||
});
|
||||
|
||||
|
||||
|
||||
//所有键盘抬起触发
|
||||
document.addEventListener('keyup', function (e) {
|
||||
//alert(1);
|
||||
var event = e || window.event // e:非IE浏览器使用,window.event是IE浏览器使用
|
||||
console.log(event.shiftKey, event.altKey, event.ctrlKey, event.key, event.keyCode);
|
||||
var key = event.key.toString().toLowerCase()
|
||||
if (key == "f11" || event.keyCode == 122) {
|
||||
if (typeof jsObj != "undefined") {
|
||||
jsObj.bbb("FullScreen", "", "");
|
||||
}
|
||||
}
|
||||
if (key == "escape" || event.keyCode == 27) {
|
||||
if (typeof jsObj != "undefined") {
|
||||
jsObj.bbb("EscFullScreen", "", "");
|
||||
}
|
||||
}
|
||||
}, false);
|
||||
|
||||
|
||||
///设置字体颜色
|
||||
function SetFontColor(family, size, color, weight, style) {
|
||||
if (family != "") {
|
||||
$("#marquee").css("font-family", family);
|
||||
}
|
||||
if (size != "") {
|
||||
$("#marquee").css("font-size", size + "px");
|
||||
}
|
||||
if (color != "") {
|
||||
$("#marquee").css("color", color);
|
||||
}
|
||||
if (weight != "") {
|
||||
$("#marquee").css("font-weight", weight);
|
||||
}
|
||||
if (style != "") {
|
||||
$("#marquee").css("font-style", style);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</html>
|
||||
|
||||
16
BeginScreen/Wait.aspx.designer.cs
generated
16
BeginScreen/Wait.aspx.designer.cs
generated
@ -2,18 +2,16 @@
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace BeginScreen
|
||||
{
|
||||
|
||||
|
||||
public partial class Wait
|
||||
{
|
||||
|
||||
namespace BeginScreen {
|
||||
|
||||
|
||||
public partial class Wait {
|
||||
|
||||
/// <summary>
|
||||
/// Head1 控件。
|
||||
/// </summary>
|
||||
|
||||
@ -29,8 +29,8 @@ namespace BeginScreen
|
||||
|
||||
#region 配置文件的属性
|
||||
public static XElement xmlOpe = null;
|
||||
private string fontSize = "27px";
|
||||
private string fontFamily = "黑体";
|
||||
private string fontSize = "20px";
|
||||
private string fontFamily = "微软雅黑";
|
||||
private string rowOddBgColor = "#000000";
|
||||
private string rowEvenBgColor = "#000000";
|
||||
private string opeBeforColor = "DodgerBlue";
|
||||
@ -68,6 +68,7 @@ namespace BeginScreen
|
||||
PatientNames = xmlOpe.Element("PatientName").Value;
|
||||
OpeTime = xmlOpe.Element("OpeTime").Value;
|
||||
DeptId = xmlOpe.Element("DeptId").Value;
|
||||
messageStr = "";
|
||||
DataTable dt = new DataTable();
|
||||
dt = PublicMethod.GetPlanNoticeNew1(_beginDate, _endDate, OpeTime == "" ? "5" : OpeTime, DeptId);
|
||||
|
||||
@ -77,7 +78,7 @@ namespace BeginScreen
|
||||
countPage = GetPageCount();
|
||||
string tdRows = string.Empty;
|
||||
if (HttpContext.Current.Request["WorkerCurrentPage"] != null && HttpContext.Current.Request["WorkerCurrentPage"] != "")
|
||||
{
|
||||
{
|
||||
LoadWaitNurseOpe(Convert.ToInt32(HttpContext.Current.Request["WorkerCurrentPage"]));
|
||||
}
|
||||
JavaScriptSerializer jss = new JavaScriptSerializer();
|
||||
@ -141,37 +142,34 @@ namespace BeginScreen
|
||||
string tdRow = "<tr>";
|
||||
if (i >= dSum)
|
||||
{
|
||||
tdRow += "<td colspan='9'> </td>";
|
||||
tdRow += "<td colspan='5'> </td>";
|
||||
}
|
||||
else
|
||||
{
|
||||
string intApplyID = dts.Rows[i]["ApplyId"].ToString();
|
||||
string OperationRoom = dts.Rows[i]["OperationRoom"].ToString();
|
||||
string vchrOpeStatus = dts.Rows[i]["State"].ToString();
|
||||
string vchrOpeStatus = GetOpeStatus(dts.Rows[i]);
|
||||
if (vchrOpeStatus == "") continue;
|
||||
|
||||
|
||||
string rowStyle = "";
|
||||
if (i % 2 == 0)
|
||||
{
|
||||
rowStyle = "bgcolor='" + rowEvenBgColor + "' align=left valie=middle style='border-bottom:1px solid #629069;height:50px;font-size:" +
|
||||
fontSize + ";font-weight:bold; vertical-align: middle;font-family:\"" + fontFamily + "\"; ";
|
||||
rowStyle = " height='35px' bgcolor='" + rowEvenBgColor + "' style='font-size:" + fontSize + ";font-family:" + fontFamily + ";' ";
|
||||
}
|
||||
else
|
||||
{
|
||||
rowStyle = "bgcolor='" + rowOddBgColor + "' align=left valie=middle style='border-bottom:1px solid #629069;height:50px;font-size:" +
|
||||
fontSize + ";font-weight:bold; vertical-align: middle;font-family:\"" + fontFamily + "\"; ";
|
||||
rowStyle = " height='35px' bgcolor='" + rowOddBgColor + "' style='font-size:" + fontSize + "; font-family:" + fontFamily + ";' ";
|
||||
}
|
||||
switch (vchrOpeStatus)
|
||||
{
|
||||
case "等待手术":
|
||||
rowStyle += " color:" + defaultColor + ";'";
|
||||
case "等待手术":
|
||||
break;
|
||||
case "手术准备":
|
||||
rowStyle += " color:" + defaultColor + ";'";
|
||||
case "手术准备":
|
||||
break;
|
||||
case "手术进行中":
|
||||
rowStyle += " color:" + defaultColor + ";'";
|
||||
case "手术中":
|
||||
break;
|
||||
case "手术结束":
|
||||
break;
|
||||
case "术后恢复":
|
||||
break;
|
||||
@ -183,9 +181,6 @@ namespace BeginScreen
|
||||
break;
|
||||
case "离开复苏室":
|
||||
break;
|
||||
case "手术结束":
|
||||
rowStyle += " color:" + defaultColor + ";'";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
@ -216,9 +211,30 @@ namespace BeginScreen
|
||||
}
|
||||
//显示备注等
|
||||
body += tdRows;
|
||||
GetT_Inform();
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取通知档的内容
|
||||
/// </summary>
|
||||
private void GetT_Inform()
|
||||
{
|
||||
DataRow dr = PublicMethod.GetMessigeData();
|
||||
if (dr != null)
|
||||
{
|
||||
if (dr["Contents"] != null && dr["Contents"].ToString().Trim() != "")
|
||||
{
|
||||
messageStr = dr["Contents"].ToString().Trim();
|
||||
}
|
||||
systemType = "0";
|
||||
if (dr["Id"] != null && dr["Id"].ToString().Trim() != "")
|
||||
{
|
||||
messId = Convert.ToInt32(dr["Id"].ToString().Trim());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void SetViewTime()
|
||||
{
|
||||
_beginDate = PublicMethod.ServerTime().Date.AddSeconds(1);
|
||||
@ -226,5 +242,73 @@ namespace BeginScreen
|
||||
}
|
||||
|
||||
|
||||
public static string GetOpeStatus(DataRow dts)
|
||||
{
|
||||
//--0.【等待手术】 “已排程”“待访视”“已访视”
|
||||
//--1.【术前准备】 点击“手术转入”
|
||||
//--2.【手术进行中】 点击“手术开始”
|
||||
//--3.【术后恢复】 点击“手术结束”
|
||||
//--4.【离开手术室】 从点击手术结束
|
||||
//--5.【转入复苏室】 麻醉恢复记录单点击“转入”
|
||||
//--6.【离开手术室】 点击“转出”恢复室
|
||||
string OpeStatus = dts["State"].ToString();
|
||||
string InRoomTime = dts["InRoomTime"].ToString();
|
||||
string OperationBeginTime = dts["OperationBeginTime"].ToString();
|
||||
string OperationEndTime = dts["OperationEndTime"].ToString();
|
||||
string OutRoomTime = dts["OutRoomTime"].ToString();
|
||||
string Temp = "";
|
||||
if (OpeStatus == "等待手术")
|
||||
{
|
||||
Temp = "等待手术";
|
||||
}
|
||||
if (OpeStatus == "手术中" && InRoomTime != "" && OperationBeginTime == "" && OperationEndTime == "" && OutRoomTime == "")
|
||||
{
|
||||
Temp = "手术准备";
|
||||
}
|
||||
if (OpeStatus == "手术中" && InRoomTime != "" && OperationBeginTime != "" && OperationEndTime == "" && OutRoomTime == "")
|
||||
{
|
||||
Temp = "手术进行中";
|
||||
}
|
||||
if (OpeStatus == "手术中" && InRoomTime != "" && OperationBeginTime != "" && OperationEndTime != "" && OutRoomTime == "")
|
||||
{
|
||||
if (DateTime.Now < Convert.ToDateTime(OperationEndTime))
|
||||
{
|
||||
Temp = "手术进行中";
|
||||
}
|
||||
else
|
||||
{
|
||||
Temp = "术后恢复";
|
||||
}
|
||||
}
|
||||
if (InRoomTime != "" && OperationBeginTime != "" && OperationEndTime != "" && OutRoomTime != "")
|
||||
{
|
||||
if (DateTime.Now < Convert.ToDateTime(OutRoomTime))
|
||||
{
|
||||
Temp = "术后恢复";
|
||||
}
|
||||
else if (dts["Pulse"].ToString() == "病房")
|
||||
{
|
||||
Temp = "手术结束安返病房";
|
||||
}
|
||||
else if (dts["Pulse"].ToString() == "恢复室")
|
||||
{
|
||||
Temp = "手术结束转恢复室";
|
||||
}
|
||||
else
|
||||
{
|
||||
Temp = "手术结束";
|
||||
}
|
||||
}
|
||||
//if (OpeStatus == "4" && InRoomTime != "" && OutRoomTime == "")
|
||||
//{
|
||||
// Temp = "转入复苏室";
|
||||
//}
|
||||
//if (OpeStatus == "5" && InRoomTime != "" && OutRoomTime != "")
|
||||
//{
|
||||
// Temp = "离开复苏室";
|
||||
//}
|
||||
return Temp;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<configuration>
|
||||
<connectionStrings>
|
||||
<add name="MindraySqlString" connectionString="Data Source=.;Initial Catalog=AIMSDB_QHDSGRYY;User ID=sa;Password=sm123456;MultipleActiveResultSets=true;" providerName="System.Data.SqlClient"/>
|
||||
<add name="MindraySqlString" connectionString="Data Source=.;Initial Catalog=AIMSDB_QHDSGRYY;User ID=sa;Password=Test2020;" providerName="System.Data.SqlClient"/>
|
||||
</connectionStrings>
|
||||
<appSettings>
|
||||
<add key="BigScreenHospitalName" value="秦皇岛市工人医院"/>
|
||||
|
||||
@ -199,6 +199,8 @@ namespace DocumentManagement
|
||||
patient.OperationBodyPositionName = dt.Rows[0]["OperationBodyPositionName"].ToString();
|
||||
patient.OperationPositionName = dt.Rows[0]["OperationPositionName"].ToString();
|
||||
patient.OperationDoctor = dt.Rows[0]["OperationDoctor"].ToString();
|
||||
if (patient.OperationDoctor.Contains(","))
|
||||
patient.OperationDoctor = patient.OperationDoctor.Split(',').ToList()[0];
|
||||
patient.Assistant = dt.Rows[0]["Assistant"].ToString();
|
||||
patient.AnesthesiaDoctor = dt.Rows[0]["AnesthesiaDoctor"].ToString();
|
||||
patient.Nurse = dt.Rows[0]["Nurse"].ToString();
|
||||
|
||||
@ -380,6 +380,9 @@ namespace DrawGraph
|
||||
case "OperationRecord.Applyoperation": //手术诊断
|
||||
ope_Click(aEdit1, e);
|
||||
break;
|
||||
case "OperationRecord.Operation": //手术诊断
|
||||
ope_Click(aEdit1, e);
|
||||
break;
|
||||
//default:
|
||||
// //在此处写日志
|
||||
// aEdit1.IsVisible = !aEdit1.IsVisible;
|
||||
|
||||
@ -77,7 +77,7 @@ namespace DrawGraph
|
||||
default:
|
||||
strSql = "SELECT top 15 p.Id,p.Name,p.Remark Code FROM BasicDictionary p WHERE p.IsValid=1 and ParentId in(select Id from BasicDictionary where Name='" + _title + "') AND (p.Name LIKE '%" + HelpCode + "%' OR p.HelpCode LIKE '%" + HelpCode + "%' )";
|
||||
if (SelPerson != "") strSql += " AND p.Id not in (" + SelPerson + ") ";
|
||||
strSql += " order by Order asc";
|
||||
strSql += " order by p.[Order] asc";
|
||||
break;
|
||||
|
||||
}
|
||||
@ -241,6 +241,38 @@ namespace DrawGraph
|
||||
}
|
||||
return i;
|
||||
}
|
||||
public static int AddPerson(OperationRecord _operationRecord, List<int> Persons, int PersonDutyId)
|
||||
{
|
||||
int i = 0;
|
||||
if (Persons==null || Persons.Count<=0)
|
||||
{
|
||||
DeletePerson(_operationRecord.PatientId.Value, PersonDutyId);
|
||||
i++;
|
||||
}
|
||||
else
|
||||
{
|
||||
DeletePerson(_operationRecord.PatientId.Value, PersonDutyId);
|
||||
i++;
|
||||
foreach (int PersonId in Persons)
|
||||
{
|
||||
StringBuilder strSql = new StringBuilder();
|
||||
strSql.Append("insert into [FactPersonDuty](");
|
||||
strSql.Append("PatientId,ApplyId,PersonDutyId,PersonId,OperatorNo,OperatorName,OperateDate");
|
||||
strSql.Append(")");
|
||||
strSql.Append(" values (");
|
||||
strSql.Append("" + _operationRecord.PatientId + ",");
|
||||
strSql.Append("" + _operationRecord.OperationApplyId + ",");
|
||||
strSql.Append("" + PersonDutyId + ",");
|
||||
strSql.Append("" + PersonId + ",");
|
||||
strSql.Append("'" + AIMSExtension.PublicMethod.OperatorNo + "',");
|
||||
strSql.Append("'" + AIMSExtension.PublicMethod.OperatorName + "',");
|
||||
strSql.Append("'" + DateTime.Now + "'");
|
||||
strSql.Append(")");
|
||||
i += HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
|
||||
}
|
||||
}
|
||||
return i;
|
||||
}
|
||||
|
||||
public static int AddOperation(OperationRecord _operationRecord, string Operation)
|
||||
{
|
||||
|
||||
@ -88,24 +88,24 @@ namespace DrawGraph
|
||||
ZUtil.DrawLine1(tablePackObj.X + tablePackObj.RealX, y + chaY, (tablePackObj1.EndX - tablePackObj1.X) / Columns * 1 + tablePackObj1.X + span, y, ZedControl, "ApplianceRecordList" + index, Color.Black);
|
||||
|
||||
|
||||
if (ApplianceRecordList[index].OpeFront != null && ApplianceRecordList[index].OpeFront != "" && ApplianceRecordList[index].OpeFront != @"/")
|
||||
if (index < ApplianceRecordList.Count && ApplianceRecordList[index].OpeFront != null && ApplianceRecordList[index].OpeFront != "" && ApplianceRecordList[index].OpeFront != @"/")
|
||||
ZUtil.DrawText(ApplianceRecordList[index].OpeFront, tablePackObj1.X + tablePackObj.RealX, y, ZedControl, "ApplianceRecordListOpeFront" + index, Color.Black, fontsize, false);
|
||||
else
|
||||
ZUtil.DrawLine1(tablePackObj1.X + span, y + chaY, (tablePackObj1.EndX - tablePackObj1.X) / Columns * 1 + tablePackObj1.X + span, y, ZedControl, "ApplianceRecordListOpeFront" + index, Color.Black);
|
||||
if (ApplianceRecordList[index].OpeDoing != null && ApplianceRecordList[index].OpeDoing != "" && ApplianceRecordList[index].OpeDoing != @"/")
|
||||
if (index < ApplianceRecordList.Count && ApplianceRecordList[index].OpeDoing != null && ApplianceRecordList[index].OpeDoing != "" && ApplianceRecordList[index].OpeDoing != @"/")
|
||||
ZUtil.DrawText(ApplianceRecordList[index].OpeDoing, (tablePackObj1.EndX - tablePackObj1.X) / Columns * 1 + tablePackObj1.X + tablePackObj.RealX, y, ZedControl, "ApplianceRecordListOpeDoing" + index, Color.Black, fontsize, false);
|
||||
else
|
||||
ZUtil.DrawLine1((tablePackObj1.EndX - tablePackObj1.X) / Columns * 1 + tablePackObj1.X + span, y + chaY, (tablePackObj1.EndX - tablePackObj1.X) / Columns * 2 + tablePackObj1.X + span, y, ZedControl, "ApplianceRecordListOpeDoing" + index, Color.Black);
|
||||
if (ApplianceRecordList[index].CloseFront != null && ApplianceRecordList[index].CloseFront != "" && ApplianceRecordList[index].CloseFront != @"/")
|
||||
if (index < ApplianceRecordList.Count && ApplianceRecordList[index].CloseFront != null && ApplianceRecordList[index].CloseFront != "" && ApplianceRecordList[index].CloseFront != @"/")
|
||||
ZUtil.DrawText(ApplianceRecordList[index].CloseFront, (tablePackObj1.EndX - tablePackObj1.X) / Columns * 2 + tablePackObj1.X + tablePackObj.RealX, y, ZedControl, "ApplianceRecordListCloseFront" + index, Color.Black, fontsize, false);
|
||||
else
|
||||
ZUtil.DrawLine1((tablePackObj1.EndX - tablePackObj1.X) / Columns * 2 + tablePackObj1.X + span, y + chaY, (tablePackObj1.EndX - tablePackObj1.X) / Columns * 3 + tablePackObj1.X + span, y, ZedControl, "ApplianceRecordListCloseFront" + index, Color.Black);
|
||||
if (ApplianceRecordList[index].CloseLast != null && ApplianceRecordList[index].CloseLast != "" && ApplianceRecordList[index].CloseLast != @"/")
|
||||
if (index < ApplianceRecordList.Count && ApplianceRecordList[index].CloseLast != null && ApplianceRecordList[index].CloseLast != "" && ApplianceRecordList[index].CloseLast != @"/")
|
||||
ZUtil.DrawText(ApplianceRecordList[index].CloseLast, (tablePackObj1.EndX - tablePackObj1.X) / Columns * 3 + tablePackObj1.X + tablePackObj.RealX, y, ZedControl, "ApplianceRecordListCloseLast" + index, Color.Black, fontsize, false);
|
||||
else
|
||||
ZUtil.DrawLine1((tablePackObj1.EndX - tablePackObj1.X) / Columns * 3 + tablePackObj1.X + span, y + chaY, (tablePackObj1.EndX - tablePackObj1.X) / Columns * 4 + tablePackObj1.X + span, y, ZedControl, "ApplianceRecordListCloseLast" + index, Color.Black);
|
||||
if (Columns == 5)
|
||||
if (ApplianceRecordList[index].SkinCloseLast != null && ApplianceRecordList[index].SkinCloseLast != "" && ApplianceRecordList[index].SkinCloseLast != @"/")
|
||||
if (index < ApplianceRecordList.Count && ApplianceRecordList[index].SkinCloseLast != null && ApplianceRecordList[index].SkinCloseLast != "" && ApplianceRecordList[index].SkinCloseLast != @"/")
|
||||
ZUtil.DrawText(ApplianceRecordList[index].SkinCloseLast, (tablePackObj1.EndX - tablePackObj1.X) / Columns * 4 + tablePackObj1.X + tablePackObj.RealX, y, ZedControl, "ApplianceRecordListSkinCloseLast" + index, Color.Black, fontsize, false);
|
||||
else
|
||||
ZUtil.DrawLine1((tablePackObj1.EndX - tablePackObj1.X) / Columns * 4 + tablePackObj1.X + span, y + chaY, (tablePackObj1.EndX - tablePackObj1.X) / Columns * 5 + tablePackObj1.X + span, y, ZedControl, "ApplianceRecordListSkinCloseLast" + index, Color.Black);
|
||||
|
||||
@ -112,15 +112,7 @@ namespace DrawGraph
|
||||
dgvZd.DataSource = dt;
|
||||
dgvZd.Columns[1].HeaderText = aEdit.ControlTitleText;
|
||||
dgvZd.Location = new System.Drawing.Point(aEdit.CControl.Location.X, aEdit.CControl.Location.Y + aEdit.CControl.Height);
|
||||
dgvZd.Size = new System.Drawing.Size(aEdit.CControl.Width < 100 ? 99 : aEdit.CControl.Width, dgvZd.Height);
|
||||
if (dgvZd.Size.Width < 100)
|
||||
{
|
||||
dgvZd.Columns[2].Visible = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
dgvZd.Columns[2].Visible = true;
|
||||
}
|
||||
dgvZd.Size = new System.Drawing.Size(aEdit.CControl.Width < 100 ? 99 : aEdit.CControl.Width, dgvZd.Height);
|
||||
if (aEdit.ControlTitleText == "人员" || aEdit.ControlTitleText == "手术" || aEdit.ControlTitleText == "诊断")
|
||||
{
|
||||
dgvZd.Columns[2].Visible = true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user