手术地点切换 手术室 胃肠镜 选择后全局改变 默认保存

手术申请 手术排程选择手术地点 选择手术间胃镜室 和对应记录单绑定
This commit is contained in:
leomon 2023-04-26 00:37:27 +08:00
parent 466be7c79e
commit 72a3e62749
45 changed files with 7970 additions and 1098 deletions

View File

@ -465,6 +465,9 @@
<Compile Include="OperationAanesthesia\frmSelectPatientGoodsBill.Designer.cs">
<DependentUpon>frmSelectPatientGoodsBill.cs</DependentUpon>
</Compile>
<Compile Include="OperationFront\frmOperationSchedulePlan.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="OperationFront\frmPersonSchedulKeep.cs">
<SubType>Form</SubType>
</Compile>
@ -657,7 +660,7 @@
<Compile Include="OperationFront\frmOperationFrontVisit.Designer.cs">
<DependentUpon>frmOperationFrontVisit.cs</DependentUpon>
</Compile>
<Compile Include="OperationFront\frmOperationSchedulePlan.cs">
<Compile Include="OperationFront\frmOperationSchedulePlanOld.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="OperationFront\frmStopOperation.cs">
@ -1041,6 +1044,9 @@
<EmbeddedResource Include="OperationAanesthesia\frmSelectPatientGoodsBill.resx">
<DependentUpon>frmSelectPatientGoodsBill.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="OperationFront\frmOperationSchedulePlan.resx">
<DependentUpon>frmOperationSchedulePlan.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="OperationFront\frmPersonSchedulKeep.resx">
<DependentUpon>frmPersonSchedulKeep.cs</DependentUpon>
</EmbeddedResource>
@ -1128,8 +1134,8 @@
<EmbeddedResource Include="OperationFront\frmOperationFrontVisit.resx">
<DependentUpon>frmOperationFrontVisit.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="OperationFront\frmOperationSchedulePlan.resx">
<DependentUpon>frmOperationSchedulePlan.cs</DependentUpon>
<EmbeddedResource Include="OperationFront\frmOperationSchedulePlanOld.resx">
<DependentUpon>frmOperationSchedulePlanOld.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="OperationFront\frmStopOperation.resx">
<DependentUpon>frmStopOperation.cs</DependentUpon>

View File

@ -1,6 +1,8 @@
<?xml version="1.0" encoding="utf-8" ?>
<AtuoUpdate>
<ConnectionString>Data Source=.;Initial Catalog=AIMSDB_FJZPTFYY;User ID=sa;Password=Test2020;</ConnectionString>
<ConnectionString>Data Source=.;Initial Catalog=AIMSDB_DLSJZQZYYY;User ID=sa;Password=Test2020;</ConnectionString>
<DataConnectionString>Data Source=.;Initial Catalog=AIMSDB_DATA;User ID=sa;Password=Test2020;</DataConnectionString>
<HisConnectionStringOracel>Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.10.7)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl2))));Persist Security Info=True;User ID=smview;Password=i39;</HisConnectionStringOracel>
<LastLoginNo></LastLoginNo>
<LastOperationSite></LastOperationSite>
</AtuoUpdate>

View File

@ -45,6 +45,8 @@
this.cbotype = new DevComponents.DotNetBar.Controls.ComboBoxEx();
this.comboItem1 = new DevComponents.Editors.ComboItem();
this.comboItem2 = new DevComponents.Editors.ComboItem();
this.txtIp3 = new DevComponents.DotNetBar.Controls.TextBoxX();
this.txtIp2 = new DevComponents.DotNetBar.Controls.TextBoxX();
this.txtIp1 = new DevComponents.DotNetBar.Controls.TextBoxX();
this.txtName = new DevComponents.DotNetBar.Controls.TextBoxX();
this.label6 = new System.Windows.Forms.Label();
@ -57,17 +59,6 @@
this.label2 = new System.Windows.Forms.Label();
this.panel2 = new System.Windows.Forms.Panel();
this.dgvOperationsRoom = new DevComponents.DotNetBar.Controls.DataGridViewX();
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.txtIp2 = new DevComponents.DotNetBar.Controls.TextBoxX();
this.txtIp3 = new DevComponents.DotNetBar.Controls.TextBoxX();
this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Index = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.type = new System.Windows.Forms.DataGridViewTextBoxColumn();
@ -78,6 +69,17 @@
this.DepartmentNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OrderBy = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.IsValid = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.comboItem3 = new DevComponents.Editors.ComboItem();
this.comboItem4 = new DevComponents.Editors.ComboItem();
this.toolStrip1.SuspendLayout();
this.panel1.SuspendLayout();
this.panel2.SuspendLayout();
@ -211,7 +213,9 @@
this.cbotype.ItemHeight = 20;
this.cbotype.Items.AddRange(new object[] {
this.comboItem1,
this.comboItem2});
this.comboItem2,
this.comboItem3,
this.comboItem4});
this.cbotype.Location = new System.Drawing.Point(94, 49);
this.cbotype.Name = "cbotype";
this.cbotype.Size = new System.Drawing.Size(167, 26);
@ -227,6 +231,38 @@
//
this.comboItem2.Text = "恢复室";
//
// txtIp3
//
this.txtIp3.BackColor = System.Drawing.Color.White;
//
//
//
this.txtIp3.Border.Class = "TextBoxBorder";
this.txtIp3.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.txtIp3.DisabledBackColor = System.Drawing.Color.White;
this.txtIp3.ForeColor = System.Drawing.Color.Black;
this.txtIp3.Location = new System.Drawing.Point(673, 10);
this.txtIp3.Name = "txtIp3";
this.txtIp3.PreventEnterBeep = true;
this.txtIp3.Size = new System.Drawing.Size(167, 26);
this.txtIp3.TabIndex = 402;
//
// txtIp2
//
this.txtIp2.BackColor = System.Drawing.Color.White;
//
//
//
this.txtIp2.Border.Class = "TextBoxBorder";
this.txtIp2.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.txtIp2.DisabledBackColor = System.Drawing.Color.White;
this.txtIp2.ForeColor = System.Drawing.Color.Black;
this.txtIp2.Location = new System.Drawing.Point(500, 10);
this.txtIp2.Name = "txtIp2";
this.txtIp2.PreventEnterBeep = true;
this.txtIp2.Size = new System.Drawing.Size(167, 26);
this.txtIp2.TabIndex = 402;
//
// txtIp1
//
this.txtIp1.BackColor = System.Drawing.Color.White;
@ -398,97 +434,6 @@
this.dgvOperationsRoom.Size = new System.Drawing.Size(916, 329);
this.dgvOperationsRoom.TabIndex = 0;
//
// dataGridViewTextBoxColumn1
//
this.dataGridViewTextBoxColumn1.DataPropertyName = "Id";
this.dataGridViewTextBoxColumn1.HeaderText = "编号";
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
this.dataGridViewTextBoxColumn1.Visible = false;
//
// dataGridViewTextBoxColumn2
//
this.dataGridViewTextBoxColumn2.DataPropertyName = "Index";
this.dataGridViewTextBoxColumn2.HeaderText = "序号";
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
this.dataGridViewTextBoxColumn2.Width = 80;
//
// dataGridViewTextBoxColumn3
//
this.dataGridViewTextBoxColumn3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn3.DataPropertyName = "oName";
this.dataGridViewTextBoxColumn3.HeaderText = "名称";
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
//
// dataGridViewTextBoxColumn4
//
this.dataGridViewTextBoxColumn4.DataPropertyName = "Ip1";
this.dataGridViewTextBoxColumn4.HeaderText = "Ip地址1";
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
this.dataGridViewTextBoxColumn4.Width = 140;
//
// dataGridViewTextBoxColumn5
//
this.dataGridViewTextBoxColumn5.DataPropertyName = "Ip2";
this.dataGridViewTextBoxColumn5.HeaderText = "Ip地址2";
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
this.dataGridViewTextBoxColumn5.Width = 140;
//
// dataGridViewTextBoxColumn6
//
this.dataGridViewTextBoxColumn6.DataPropertyName = "Ip3";
this.dataGridViewTextBoxColumn6.HeaderText = "Ip地址3";
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
this.dataGridViewTextBoxColumn6.Width = 140;
//
// dataGridViewTextBoxColumn7
//
this.dataGridViewTextBoxColumn7.HeaderText = "所属科室";
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
//
// dataGridViewTextBoxColumn8
//
this.dataGridViewTextBoxColumn8.DataPropertyName = "OrderBy";
this.dataGridViewTextBoxColumn8.HeaderText = "排序顺序";
this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
//
// dataGridViewTextBoxColumn9
//
this.dataGridViewTextBoxColumn9.DataPropertyName = "IsValid";
this.dataGridViewTextBoxColumn9.HeaderText = "是否有效";
this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
//
// txtIp2
//
this.txtIp2.BackColor = System.Drawing.Color.White;
//
//
//
this.txtIp2.Border.Class = "TextBoxBorder";
this.txtIp2.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.txtIp2.DisabledBackColor = System.Drawing.Color.White;
this.txtIp2.ForeColor = System.Drawing.Color.Black;
this.txtIp2.Location = new System.Drawing.Point(500, 10);
this.txtIp2.Name = "txtIp2";
this.txtIp2.PreventEnterBeep = true;
this.txtIp2.Size = new System.Drawing.Size(167, 26);
this.txtIp2.TabIndex = 402;
//
// txtIp3
//
this.txtIp3.BackColor = System.Drawing.Color.White;
//
//
//
this.txtIp3.Border.Class = "TextBoxBorder";
this.txtIp3.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.txtIp3.DisabledBackColor = System.Drawing.Color.White;
this.txtIp3.ForeColor = System.Drawing.Color.Black;
this.txtIp3.Location = new System.Drawing.Point(673, 10);
this.txtIp3.Name = "txtIp3";
this.txtIp3.PreventEnterBeep = true;
this.txtIp3.Size = new System.Drawing.Size(167, 26);
this.txtIp3.TabIndex = 402;
//
// Id
//
this.Id.DataPropertyName = "Id";
@ -552,6 +497,73 @@
this.IsValid.HeaderText = "是否有效";
this.IsValid.Name = "IsValid";
//
// dataGridViewTextBoxColumn1
//
this.dataGridViewTextBoxColumn1.DataPropertyName = "Id";
this.dataGridViewTextBoxColumn1.HeaderText = "编号";
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
this.dataGridViewTextBoxColumn1.Visible = false;
//
// dataGridViewTextBoxColumn2
//
this.dataGridViewTextBoxColumn2.DataPropertyName = "Index";
this.dataGridViewTextBoxColumn2.HeaderText = "序号";
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
this.dataGridViewTextBoxColumn2.Width = 80;
//
// dataGridViewTextBoxColumn3
//
this.dataGridViewTextBoxColumn3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn3.DataPropertyName = "oName";
this.dataGridViewTextBoxColumn3.HeaderText = "名称";
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
//
// dataGridViewTextBoxColumn4
//
this.dataGridViewTextBoxColumn4.DataPropertyName = "Ip1";
this.dataGridViewTextBoxColumn4.HeaderText = "Ip地址1";
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
this.dataGridViewTextBoxColumn4.Width = 140;
//
// dataGridViewTextBoxColumn5
//
this.dataGridViewTextBoxColumn5.DataPropertyName = "Ip2";
this.dataGridViewTextBoxColumn5.HeaderText = "Ip地址2";
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
this.dataGridViewTextBoxColumn5.Width = 140;
//
// dataGridViewTextBoxColumn6
//
this.dataGridViewTextBoxColumn6.DataPropertyName = "Ip3";
this.dataGridViewTextBoxColumn6.HeaderText = "Ip地址3";
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
this.dataGridViewTextBoxColumn6.Width = 140;
//
// dataGridViewTextBoxColumn7
//
this.dataGridViewTextBoxColumn7.HeaderText = "所属科室";
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
//
// dataGridViewTextBoxColumn8
//
this.dataGridViewTextBoxColumn8.DataPropertyName = "OrderBy";
this.dataGridViewTextBoxColumn8.HeaderText = "排序顺序";
this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
//
// dataGridViewTextBoxColumn9
//
this.dataGridViewTextBoxColumn9.DataPropertyName = "IsValid";
this.dataGridViewTextBoxColumn9.HeaderText = "是否有效";
this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
//
// comboItem3
//
this.comboItem3.Text = "内镜室";
//
// comboItem4
//
this.comboItem4.Text = "介入室";
//
// frmOperationRoom
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
@ -623,5 +635,7 @@
private System.Windows.Forms.DataGridViewTextBoxColumn DepartmentNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn OrderBy;
private System.Windows.Forms.DataGridViewTextBoxColumn IsValid;
private DevComponents.Editors.ComboItem comboItem3;
private DevComponents.Editors.ComboItem comboItem4;
}
}

View File

@ -22,7 +22,6 @@ namespace AIMS.OperationAfter.UI
private ucClassify ucClassify;
//患者基本信息
private PatientRecord Patient;
public List<OperationRoom> OperationRooms = BOperationRoom.Select(" Site='手术室' and IsValid=1 ", null);
const int CLOSE_SIZE = 18; //关闭图标尺寸
public string PerortName;
@ -64,6 +63,8 @@ namespace AIMS.OperationAfter.UI
/// <param name="e"></param>
private void frmDocument3_Load_1(object sender, EventArgs e)
{
ControlExtension.GetOperationSiteRoom(labelSite, CboOperationSite, null);
System.Drawing.Size mSize = SystemInformation.WorkingArea.Size;
txtnameOrHnum.Text = "姓名或住院号关键字";
txtnameOrHnum.ForeColor = Color.FromArgb(164, 164, 164);
@ -78,6 +79,7 @@ namespace AIMS.OperationAfter.UI
ucClassify.RefreshTree(Patient.PatientId);
tsbDoc.TabItemClose += new TabStrip.UserActionEventHandler(tsbDoc_TabItemClose);
this.CboOperationSite.SelectedIndexChanged += new System.EventHandler(this.CboOperationSite_SelectedIndexChanged);
if (PublicMethod.OperatorNo == "admin" || PublicMethod.RoleName.Contains("删除医疗文书"))
{
@ -99,8 +101,13 @@ namespace AIMS.OperationAfter.UI
vPlanedOpeList = AIMSExtension.PublicMethod.GetNewDataTable(vPlanedOpeList, "State not IN ('退回','作废') ", "");
if (CboOperationSite.Visible == true && CboOperationSite.SelectedIndex > 0)
{
vPlanedOpeList = AIMSExtension.PublicMethod.GetNewDataTable(vPlanedOpeList, " OperationSite ='" + CboOperationSite.SelectedValue + "' ", "");
}
List<string> list = new List<string>();
foreach (var item in OperationRooms)
foreach (var item in ControlExtension.SiteRooms)
{
foreach (DataRow po in vPlanedOpeList.Rows)
{
@ -421,8 +428,8 @@ namespace AIMS.OperationAfter.UI
doc.CloseP += new ucDocument.CloseParent(CloseTab);
doc.Parent = c;
doc.Dock = DockStyle.Fill;
doc.Show();
doc.myEditControl.ExecuteCommand("FilePrint", false, null);
doc.Show();
doc.myEditControl.ExecuteCommand("FilePrint", false, null);
}
}
@ -462,5 +469,10 @@ namespace AIMS.OperationAfter.UI
}
}
}
private void CboOperationSite_SelectedIndexChanged(object sender, EventArgs e)
{
ControlExtension.SetOperationSiteRoom(CboOperationSite, null);
dtpSearchTime_ValueChanged(null, null);
}
}
}

View File

@ -47,6 +47,8 @@
this.btnSel = new DevComponents.DotNetBar.ButtonX();
this.lblPatient = new DevComponents.DotNetBar.LabelX();
this.expandablePanel1 = new DevComponents.DotNetBar.ExpandablePanel();
this.CboOperationSite = new DevComponents.DotNetBar.Controls.ComboBoxEx();
this.labelSite = new System.Windows.Forms.Label();
this.panel2.SuspendLayout();
this.groupBox2.SuspendLayout();
this.panel3.SuspendLayout();
@ -267,6 +269,8 @@
// panelEx1
//
this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
this.panelEx1.Controls.Add(this.CboOperationSite);
this.panelEx1.Controls.Add(this.labelSite);
this.panelEx1.Controls.Add(this.btnDelete);
this.panelEx1.Controls.Add(this.buttonX1);
this.panelEx1.Controls.Add(this.btnSel);
@ -292,7 +296,7 @@
this.btnDelete.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnDelete.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnDelete.Location = new System.Drawing.Point(613, 11);
this.btnDelete.Location = new System.Drawing.Point(464, 11);
this.btnDelete.Margin = new System.Windows.Forms.Padding(2);
this.btnDelete.Name = "btnDelete";
this.btnDelete.Size = new System.Drawing.Size(76, 23);
@ -367,6 +371,33 @@
this.expandablePanel1.TitleStyle.GradientAngle = 90;
this.expandablePanel1.TitleText = "文档目录";
//
// CboOperationSite
//
this.CboOperationSite.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.CboOperationSite.DisplayMember = "Text";
this.CboOperationSite.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.CboOperationSite.Font = new System.Drawing.Font("微软雅黑", 9.5F);
this.CboOperationSite.FormattingEnabled = true;
this.CboOperationSite.ItemHeight = 18;
this.CboOperationSite.Location = new System.Drawing.Point(611, 10);
this.CboOperationSite.Name = "CboOperationSite";
this.CboOperationSite.Size = new System.Drawing.Size(89, 24);
this.CboOperationSite.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.CboOperationSite.TabIndex = 508;
//
// labelSite
//
this.labelSite.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.labelSite.AutoSize = true;
this.labelSite.BackColor = System.Drawing.Color.Transparent;
this.labelSite.Font = new System.Drawing.Font("微软雅黑", 9.5F);
this.labelSite.Location = new System.Drawing.Point(545, 12);
this.labelSite.Name = "labelSite";
this.labelSite.Size = new System.Drawing.Size(61, 19);
this.labelSite.TabIndex = 509;
this.labelSite.Text = "手术地点";
this.labelSite.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
//
// frmDocument3
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
@ -389,6 +420,7 @@
((System.ComponentModel.ISupportInitialize)(this.tsbDoc)).EndInit();
this.panel5.ResumeLayout(false);
this.panelEx1.ResumeLayout(false);
this.panelEx1.PerformLayout();
this.ResumeLayout(false);
}
@ -413,5 +445,7 @@
private DevComponents.DotNetBar.ButtonX btnSel;
private DevComponents.DotNetBar.ButtonX buttonX1;
private DevComponents.DotNetBar.ButtonX btnDelete;
private DevComponents.DotNetBar.Controls.ComboBoxEx CboOperationSite;
private System.Windows.Forms.Label labelSite;
}
}

View File

@ -40,6 +40,7 @@ namespace AIMS
string VisitTimes = pat.VisitTimes;
string Path = string.Format("http://172.16.10.175:5001/?inoutType=2&patiId={0}&visitId={1}&userName=系统管理员", HisPatientId, VisitTimes);
System.Diagnostics.Process.Start(Path);
//BrowserHelper.OpenBrowserUrlChrome(Path);
}
else if (PublicMethod.HospitalName.Contains("天福"))

View File

@ -10,6 +10,7 @@ using AIMSBLL;
using AIMSExtension;
using AIMSModel;
using DevComponents.DotNetBar;
using HelperDB;
namespace AIMS
{
@ -22,7 +23,8 @@ namespace AIMS
InitializeComponent();
}
public XmlUse xmlUse = new XmlUse(Application.StartupPath + "\\AIMS.xml");
string LastNo = null;
private void frmLogin_Load(object sender, EventArgs e)
{
@ -31,6 +33,22 @@ namespace AIMS
//label2.Text = "@" + PublicMethod.HospitalName + " V" + System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString();
txtNo.Select();
txtNo.Focus();
List<string> list = xmlUse.GetNode("LastLoginNo");
if (list != null && list.Count > 0)
{
LastNo = list[0];
if (LastNo != "")
{
txtNo.Text = LastNo;
txtPassWord.Select();
txtPassWord.Focus();
}
}
else
{
txtNo.Select();
txtNo.Focus();
}
#if DEBUG
txtNo.Text = "admin";
txtPassWord.Text = "1";
@ -53,7 +71,15 @@ namespace AIMS
Role role = BRole.GetModel(PersonObj.RoleId.Value);
AIMSExtension.PublicMethod.PermissionLevel = role.PermissionLevel == null ? 0 : role.PermissionLevel.Value;
AIMSExtension.PublicMethod.RoleName = BMenu.GetMenuRootListManageStr(AIMSExtension.PublicMethod.RoleId, "功能权限");
AIMSExtension.PublicMethod.OperationSite = BOperationRoom.GetOperationSite();
AIMSExtension.PublicMethod.HospitalName = PublicMethod.GetHospital();
if (LastNo != null && PersonObj.No != "admin" && PersonObj.No != LastNo)
xmlUse.SetNode("LastLoginNo", PersonObj.No);
List<string> list = xmlUse.GetNode("LastOperationSite");
if (list != null && list.Count > 0)
{
PublicMethod.LastOperationSite = list[0];
}
PublicMethod.WriteLog("登录", PersonObj.Id.Value);
Hide();
//在这里为编辑器注册

View File

@ -1309,6 +1309,22 @@ namespace AIMS.OperationAanesthesia
menuStrip.Items.Add(getPhysioData);
}
ToolStripMenuItem mnuAddDrug = new ToolStripMenuItem();
mnuAddDrug.Name = "add_medicine";
mnuAddDrug.Tag = "add_medicine";
mnuAddDrug.Text = "手动添加数据";
mnuAddDrug.Click += ((s, er) =>
{
frmPhysioDataEdit frm = new frmPhysioDataEdit(_record);
frm.FormClosed += ((ss, err) =>
{
templateManage.Bind("MonitorManage");
zgcAnaesRecord.Refresh();
});
frm.ShowDialog();
});
menuStrip.Items.Add(mnuAddDrug);
ToolStripMenuItem btnSyatemPhysion = new ToolStripMenuItem();
btnSyatemPhysion.Name = "btnSyatemPhysion";
btnSyatemPhysion.Tag = "btnSyatemPhysion";

View File

@ -1541,11 +1541,16 @@ namespace AIMS.OperationAanesthesia
//_record.InstrumentList.InstrumentNurse = txtInstrumentNurse.Text;
//_record.InstrumentList.TourNurse = txtTourNurse.Text;
var operation = myEditControl.Document.Fields.ToArray().Where(x => x.ID == "KB20180604142607822").FirstOrDefault();
if (operation != null)
if (operation != null && operation.Text != "")
{
_record.InstrumentList.Remark = operation.Text;
DBManage.AddOperation(_record, GetOperationId(operation.Text));
}
var OperationSite = myEditControl.Document.Fields.ToArray().Where(x => x.ID == "KB20230326230037766").FirstOrDefault();
if (OperationSite != null && OperationSite.Text != "")
{
DBManage.AddOperationSite(_record, GetOperationSiteId(OperationSite.Text));
}
_record.InstrumentList.OperatorNo = PublicMethod.OperatorNo;
_record.InstrumentList.OperatorName = PublicMethod.OperatorName;
_record.InstrumentList.OperateDate = DateTime.Now;
@ -1608,6 +1613,46 @@ namespace AIMS.OperationAanesthesia
}
return string.Join(",", result.ToArray());
}
private string GetOperationSiteId(string namestr)
{
List<string> result = new List<string>();
List<string> names = new List<string>();
if (namestr.Contains(","))
{
names = namestr.Split(',').ToList();
}
else if (namestr.Contains(""))
{
names = namestr.Split('').ToList();
}
else if (namestr.Contains("+"))
{
names = namestr.Split('+').ToList();
}
else
{
names.Add(namestr);
}
foreach (var name in names)
{
DataTable dt = DBHelper.GetDataTable("select * from OperationBodyPosition where Name ='" + name + "'");
if (dt.Rows.Count == 0)
{
DBHelper.ExecNonQuery(string.Concat(new Object[]{
"insert into OperationBodyPosition( [Name], [HelpCode], [Explain], [PositionOrder], [IsValid], [OperatorNo], [OperatorName], [OperateDate]) values('"+name+"','"+PublicMethod.GetFirstLetter(name)+"','',1,1,'admin','系统管理员','"+DateTime.Now+"')"}));
dt = DBHelper.GetDataTable("select * from OperationBodyPosition where Name ='" + name + "'");
}
if (dt.Rows.Count > 0)
{
for (int j = 0; j < dt.Rows.Count; j++)
{
result.Add(dt.Rows[0]["Id"].ToString());
}
}
}
return string.Join(",", result.ToArray());
}
/// <summary>
/// 得到当前使用的器械对象集合
/// </summary>

View File

@ -70,6 +70,8 @@
this.label3 = new System.Windows.Forms.Label();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.panel3 = new System.Windows.Forms.Panel();
this.CboOperationSite = new DevComponents.DotNetBar.Controls.ComboBoxEx();
this.labelSite = new System.Windows.Forms.Label();
this.panel1.SuspendLayout();
this.groupBox1.SuspendLayout();
this.panel2.SuspendLayout();
@ -79,6 +81,8 @@
// panel1
//
this.panel1.BackColor = System.Drawing.Color.AliceBlue;
this.panel1.Controls.Add(this.CboOperationSite);
this.panel1.Controls.Add(this.labelSite);
this.panel1.Controls.Add(this.txtquery);
this.panel1.Controls.Add(this.btnQuery);
this.panel1.Controls.Add(this.label4);
@ -525,6 +529,33 @@
this.panel3.Size = new System.Drawing.Size(1048, 475);
this.panel3.TabIndex = 0;
//
// CboOperationSite
//
this.CboOperationSite.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.CboOperationSite.DisplayMember = "Text";
this.CboOperationSite.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.CboOperationSite.Font = new System.Drawing.Font("微软雅黑", 10F);
this.CboOperationSite.FormattingEnabled = true;
this.CboOperationSite.ItemHeight = 19;
this.CboOperationSite.Location = new System.Drawing.Point(930, 7);
this.CboOperationSite.Name = "CboOperationSite";
this.CboOperationSite.Size = new System.Drawing.Size(115, 25);
this.CboOperationSite.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.CboOperationSite.TabIndex = 506;
//
// labelSite
//
this.labelSite.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.labelSite.AutoSize = true;
this.labelSite.BackColor = System.Drawing.Color.AliceBlue;
this.labelSite.Font = new System.Drawing.Font("微软雅黑", 10.5F);
this.labelSite.Location = new System.Drawing.Point(864, 9);
this.labelSite.Name = "labelSite";
this.labelSite.Size = new System.Drawing.Size(65, 20);
this.labelSite.TabIndex = 507;
this.labelSite.Text = "手术地点";
this.labelSite.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
//
// frmSelectPatientGoodsBill
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
@ -593,5 +624,7 @@
private DevComponents.DotNetBar.ButtonX btnQuery;
private System.Windows.Forms.Label label4;
private DevComponents.DotNetBar.ButtonX buttonX2;
private DevComponents.DotNetBar.Controls.ComboBoxEx CboOperationSite;
private System.Windows.Forms.Label labelSite;
}
}

View File

@ -19,8 +19,7 @@ namespace AIMS.OperationAanesthesia
public int SelPatientId;
public int SelApplyId;
public bool isMainOpen = false;
public AIMS.OperationAanesthesia.frmInstrumentRecord tempfrmAnasRecord;
List<OperationRoom> rooms;
public AIMS.OperationAanesthesia.frmInstrumentRecord tempfrmAnasRecord;
public frmSelectPatientGoodsBill()
{
@ -29,30 +28,14 @@ namespace AIMS.OperationAanesthesia
private void frmSelectPatientGoodsBill_Load(object sender, EventArgs e)
{
rooms = BOperationRoom.GetOperationRooms("IsValid=1 and Site='手术室'");
rooms.Insert(0, new OperationRoom() { Id = -1, Name = "" });
cboRoom.DataSource = rooms;
cboRoom.DisplayMember = "Name";
cboRoom.ValueMember = "Id";
ControlExtension.GetOperationSiteRoom(labelSite, CboOperationSite, cboRoom);
//判断如果当前手术间编号不为空,则显示当前手术间
OperationRoom oprm = GetOperationRoom(rooms);
if (oprm != null && oprm.Id.Value > 0)
{
cboRoom.SelectedValue = oprm.Id.Value;
cboRoom.Text = oprm.Name.ToString();
}
if (cboRoom.Text == "" && PublicMethod.SelectRoom != 0)
{
cboRoom.SelectedValue = PublicMethod.SelectRoom;
}
FillDgv();
this.cboRoom.SelectedIndexChanged += new System.EventHandler(this.cboRoom_SelectedIndexChanged);
this.CboOperationSite.SelectedIndexChanged += new System.EventHandler(this.CboOperationSite_SelectedIndexChanged);
}
void dgv_DataError(object sender, DataGridViewDataErrorEventArgs e)
{
@ -90,21 +73,21 @@ namespace AIMS.OperationAanesthesia
dt2 = SelectPatient.GetRelieveLockingPatientDataTable(DateTime.Parse(dtpSelectPatientTime.Value.ToString("yyyy-MM-dd").ToString()), cboRoom.SelectedValue.ToString());
List<string> list = new List<string>();
for (int i = 0; i < rooms.Count; i++)
for (int i = 0; i < ControlExtension.SiteRooms.Count; i++)
{
foreach (DataRow dr in dt.Rows)
{
if (dr["OperationRoom"].ToString() == rooms[i].Name && !list.Contains(rooms[i].Name))
if (dr["OperationRoom"].ToString() == ControlExtension.SiteRooms[i].Name && !list.Contains(ControlExtension.SiteRooms[i].Name))
{
list.Add(rooms[i].Name);
list.Add(ControlExtension.SiteRooms[i].Name);
}
}
foreach (DataRow dr in dt2.Rows)
{
if (dr["OperationRoom"].ToString() == rooms[i].Name && !list.Contains(rooms[i].Name))
if (dr["OperationRoom"].ToString() == ControlExtension.SiteRooms[i].Name && !list.Contains(ControlExtension.SiteRooms[i].Name))
{
list.Add(rooms[i].Name);
list.Add(ControlExtension.SiteRooms[i].Name);
}
}
}
@ -572,5 +555,10 @@ namespace AIMS.OperationAanesthesia
}
}
}
private void CboOperationSite_SelectedIndexChanged(object sender, EventArgs e)
{
ControlExtension.SetOperationSiteRoom(CboOperationSite, cboRoom);
FillDgv();
}
}
}

View File

@ -70,6 +70,8 @@
this.label3 = new System.Windows.Forms.Label();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.panel3 = new System.Windows.Forms.Panel();
this.CboOperationSite = new DevComponents.DotNetBar.Controls.ComboBoxEx();
this.labelSite = new System.Windows.Forms.Label();
this.panel1.SuspendLayout();
this.groupBox1.SuspendLayout();
this.panel2.SuspendLayout();
@ -79,6 +81,8 @@
// panel1
//
this.panel1.BackColor = System.Drawing.Color.AliceBlue;
this.panel1.Controls.Add(this.CboOperationSite);
this.panel1.Controls.Add(this.labelSite);
this.panel1.Controls.Add(this.txtquery);
this.panel1.Controls.Add(this.btnQuery);
this.panel1.Controls.Add(this.label4);
@ -525,6 +529,33 @@
this.panel3.Size = new System.Drawing.Size(1048, 475);
this.panel3.TabIndex = 0;
//
// CboOperationSite
//
this.CboOperationSite.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.CboOperationSite.DisplayMember = "Text";
this.CboOperationSite.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.CboOperationSite.Font = new System.Drawing.Font("微软雅黑", 10F);
this.CboOperationSite.FormattingEnabled = true;
this.CboOperationSite.ItemHeight = 19;
this.CboOperationSite.Location = new System.Drawing.Point(928, 8);
this.CboOperationSite.Name = "CboOperationSite";
this.CboOperationSite.Size = new System.Drawing.Size(115, 25);
this.CboOperationSite.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.CboOperationSite.TabIndex = 506;
//
// labelSite
//
this.labelSite.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.labelSite.AutoSize = true;
this.labelSite.BackColor = System.Drawing.Color.AliceBlue;
this.labelSite.Font = new System.Drawing.Font("微软雅黑", 10.5F);
this.labelSite.Location = new System.Drawing.Point(862, 10);
this.labelSite.Name = "labelSite";
this.labelSite.Size = new System.Drawing.Size(65, 20);
this.labelSite.TabIndex = 507;
this.labelSite.Text = "手术地点";
this.labelSite.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
//
// frmSelectPatientGoodsBill2
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
@ -593,5 +624,7 @@
private DevComponents.DotNetBar.ButtonX btnQuery;
private System.Windows.Forms.Label label4;
private DevComponents.DotNetBar.ButtonX buttonX2;
private DevComponents.DotNetBar.Controls.ComboBoxEx CboOperationSite;
private System.Windows.Forms.Label labelSite;
}
}

View File

@ -19,8 +19,7 @@ namespace AIMS.OperationAanesthesia
public int SelPatientId;
public int SelApplyId;
public bool isMainOpen = false;
public AIMS.OperationAanesthesia.frmInstrumentRecord2 tempfrmAnasRecord;
List<OperationRoom> rooms;
public AIMS.OperationAanesthesia.frmInstrumentRecord2 tempfrmAnasRecord;
public frmSelectPatientGoodsBill2()
{
@ -29,26 +28,12 @@ namespace AIMS.OperationAanesthesia
private void frmSelectPatientGoodsBill2_Load(object sender, EventArgs e)
{
rooms = BOperationRoom.GetOperationRooms("IsValid=1 and Site='手术室'");
rooms.Insert(0, new OperationRoom() { Id = -1, Name = "" });
cboRoom.DataSource = rooms;
cboRoom.DisplayMember = "Name";
cboRoom.ValueMember = "Id";
ControlExtension.GetOperationSiteRoom(labelSite, CboOperationSite, cboRoom);
//判断如果当前手术间编号不为空,则显示当前手术间
OperationRoom oprm = GetOperationRoom(rooms);
if (oprm != null && oprm.Id.Value > 0)
{
cboRoom.SelectedValue = oprm.Id.Value;
cboRoom.Text = oprm.Name.ToString();
}
if (cboRoom.Text == "" && PublicMethod.SelectRoom != 0)
{
cboRoom.SelectedValue = PublicMethod.SelectRoom;
}
FillDgv();
this.cboRoom.SelectedIndexChanged += new System.EventHandler(this.cboRoom_SelectedIndexChanged);
this.CboOperationSite.SelectedIndexChanged += new System.EventHandler(this.CboOperationSite_SelectedIndexChanged);
}
@ -90,21 +75,21 @@ namespace AIMS.OperationAanesthesia
dt2 = SelectPatient.GetRelieveLockingPatientDataTable(DateTime.Parse(dtpSelectPatientTime.Value.ToString("yyyy-MM-dd").ToString()), cboRoom.SelectedValue.ToString());
List<string> list = new List<string>();
for (int i = 0; i < rooms.Count; i++)
for (int i = 0; i < ControlExtension.SiteRooms.Count; i++)
{
foreach (DataRow dr in dt.Rows)
{
if (dr["OperationRoom"].ToString() == rooms[i].Name && !list.Contains(rooms[i].Name))
if (dr["OperationRoom"].ToString() == ControlExtension.SiteRooms[i].Name && !list.Contains(ControlExtension.SiteRooms[i].Name))
{
list.Add(rooms[i].Name);
list.Add(ControlExtension.SiteRooms[i].Name);
}
}
foreach (DataRow dr in dt2.Rows)
{
if (dr["OperationRoom"].ToString() == rooms[i].Name && !list.Contains(rooms[i].Name))
if (dr["OperationRoom"].ToString() == ControlExtension.SiteRooms[i].Name && !list.Contains(ControlExtension.SiteRooms[i].Name))
{
list.Add(rooms[i].Name);
list.Add(ControlExtension.SiteRooms[i].Name);
}
}
}
@ -572,5 +557,10 @@ namespace AIMS.OperationAanesthesia
}
}
}
private void CboOperationSite_SelectedIndexChanged(object sender, EventArgs e)
{
ControlExtension.SetOperationSiteRoom(CboOperationSite, cboRoom);
FillDgv();
}
}
}

View File

@ -71,6 +71,8 @@
this.label3 = new System.Windows.Forms.Label();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.panel3 = new System.Windows.Forms.Panel();
this.CboOperationSite = new DevComponents.DotNetBar.Controls.ComboBoxEx();
this.labelSite = new System.Windows.Forms.Label();
this.panel1.SuspendLayout();
this.groupBox1.SuspendLayout();
this.panel2.SuspendLayout();
@ -80,6 +82,8 @@
// panel1
//
this.panel1.BackColor = System.Drawing.Color.AliceBlue;
this.panel1.Controls.Add(this.CboOperationSite);
this.panel1.Controls.Add(this.labelSite);
this.panel1.Controls.Add(this.txtquery);
this.panel1.Controls.Add(this.btnQuery);
this.panel1.Controls.Add(this.buttonX3);
@ -540,6 +544,33 @@
this.panel3.Size = new System.Drawing.Size(1029, 499);
this.panel3.TabIndex = 0;
//
// CboOperationSite
//
this.CboOperationSite.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.CboOperationSite.DisplayMember = "Text";
this.CboOperationSite.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.CboOperationSite.Font = new System.Drawing.Font("微软雅黑", 10F);
this.CboOperationSite.FormattingEnabled = true;
this.CboOperationSite.ItemHeight = 19;
this.CboOperationSite.Location = new System.Drawing.Point(908, 7);
this.CboOperationSite.Name = "CboOperationSite";
this.CboOperationSite.Size = new System.Drawing.Size(115, 25);
this.CboOperationSite.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.CboOperationSite.TabIndex = 504;
//
// labelSite
//
this.labelSite.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.labelSite.AutoSize = true;
this.labelSite.BackColor = System.Drawing.Color.AliceBlue;
this.labelSite.Font = new System.Drawing.Font("微软雅黑", 10.5F);
this.labelSite.Location = new System.Drawing.Point(842, 9);
this.labelSite.Name = "labelSite";
this.labelSite.Size = new System.Drawing.Size(65, 20);
this.labelSite.TabIndex = 505;
this.labelSite.Text = "手术地点";
this.labelSite.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
//
// frmSelectPatientNew2
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
@ -610,5 +641,7 @@
private DevComponents.DotNetBar.ButtonX btnQuery;
private System.Windows.Forms.Label label4;
private DevComponents.DotNetBar.ButtonX buttonX2;
private DevComponents.DotNetBar.Controls.ComboBoxEx CboOperationSite;
private System.Windows.Forms.Label labelSite;
}
}

View File

@ -22,8 +22,7 @@ namespace AIMS.OperationAanesthesia
public int SelPatientId;
public int SelApplyId;
public bool isMainOpen = false;
public AIMS.OperationAanesthesia.frmAanesthesiaRecord tempfrmAnasRecord;
List<OperationRoom> rooms;
public AIMS.OperationAanesthesia.frmAanesthesiaRecord tempfrmAnasRecord;
public frmSelectPatientNew2()
{
@ -31,27 +30,13 @@ namespace AIMS.OperationAanesthesia
}
private void frmSelectPatientNew2_Load(object sender, EventArgs e)
{
rooms = BOperationRoom.GetOperationRooms("IsValid=1 and Site='手术室'");
rooms.Insert(0, new OperationRoom() { Id = -1, Name = "" });
cboRoom.DataSource = rooms;
cboRoom.DisplayMember = "Name";
cboRoom.ValueMember = "Id";
//判断如果当前手术间编号不为空,则显示当前手术间
OperationRoom oprm = GetOperationRoom(rooms);
if (oprm != null && oprm.Id.Value > 0)
{
cboRoom.SelectedValue = oprm.Id.Value;
cboRoom.Text = oprm.Name.ToString();
}
if (cboRoom.Text == "" && PublicMethod.SelectRoom != 0)
{
cboRoom.SelectedValue = PublicMethod.SelectRoom;
}
{
ControlExtension.GetOperationSiteRoom(labelSite, CboOperationSite,cboRoom);
FillDgv();
this.cboRoom.SelectedIndexChanged += new System.EventHandler(this.cboRoom_SelectedIndexChanged);
this.CboOperationSite.SelectedIndexChanged += new System.EventHandler(this.CboOperationSite_SelectedIndexChanged);
}
private void btnNext_Click(object sender, EventArgs e)
@ -86,21 +71,21 @@ namespace AIMS.OperationAanesthesia
dt2 = SelectPatient.GetRelieveLockingPatientDataTable(DateTime.Parse(dtpSelectPatientTime.Value.ToString("yyyy-MM-dd").ToString()), cboRoom.SelectedValue.ToString());
List<string> list = new List<string>();
for (int i = 0; i < rooms.Count; i++)
for (int i = 0; i < ControlExtension.SiteRooms.Count; i++)
{
foreach (DataRow dr in dt.Rows)
{
if (dr["OperationRoom"].ToString() == rooms[i].Name && !list.Contains(rooms[i].Name))
if (dr["OperationRoom"].ToString() == ControlExtension.SiteRooms[i].Name && !list.Contains(ControlExtension.SiteRooms[i].Name))
{
list.Add(rooms[i].Name);
list.Add(ControlExtension.SiteRooms[i].Name);
}
}
foreach (DataRow dr in dt2.Rows)
{
if (dr["OperationRoom"].ToString() == rooms[i].Name && !list.Contains(rooms[i].Name))
if (dr["OperationRoom"].ToString() == ControlExtension.SiteRooms[i].Name && !list.Contains(ControlExtension.SiteRooms[i].Name))
{
list.Add(rooms[i].Name);
list.Add(ControlExtension.SiteRooms[i].Name);
}
}
}
@ -356,37 +341,6 @@ namespace AIMS.OperationAanesthesia
AIMSExtension.PublicMethod.WriteLog(ex);
}
}
public OperationRoom GetOperationRoom(List<OperationRoom> list)
{
try
{
//得到计算机名
string strPcName = Dns.GetHostName();
//得到本机IP地址数组
IPHostEntry ipEntry = Dns.GetHostEntry(strPcName);
//遍历数组
foreach (OperationRoom room in list)
{
foreach (var IPadd in ipEntry.AddressList)
{
//判断当前字符串是否为正确IP地址
if (PublicMethod.IsRightIP(IPadd.ToString()))
{
if (room.Ip == IPadd.ToString() || room.Ip2 == IPadd.ToString() || room.Ip3 == IPadd.ToString())
{
return room;
}
}
}
}
return null;
}
catch (Exception)
{
return null;
}
}
private void Uc_QxRoom(ucPatientCard uc, int RecorId, int PatientId, int applyId)
{
try
@ -550,5 +504,10 @@ namespace AIMS.OperationAanesthesia
}
}
}
private void CboOperationSite_SelectedIndexChanged(object sender, EventArgs e)
{
ControlExtension.SetOperationSiteRoom(CboOperationSite,cboRoom);
//FillDgv();
}
}
}

View File

@ -71,6 +71,8 @@
this.label3 = new System.Windows.Forms.Label();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.panel3 = new System.Windows.Forms.Panel();
this.CboOperationSite = new DevComponents.DotNetBar.Controls.ComboBoxEx();
this.labelSite = new System.Windows.Forms.Label();
this.panel1.SuspendLayout();
this.groupBox1.SuspendLayout();
this.panel2.SuspendLayout();
@ -80,6 +82,8 @@
// panel1
//
this.panel1.BackColor = System.Drawing.Color.AliceBlue;
this.panel1.Controls.Add(this.CboOperationSite);
this.panel1.Controls.Add(this.labelSite);
this.panel1.Controls.Add(this.txtquery);
this.panel1.Controls.Add(this.btnQuery);
this.panel1.Controls.Add(this.buttonX3);
@ -540,6 +544,33 @@
this.panel3.Size = new System.Drawing.Size(1029, 499);
this.panel3.TabIndex = 0;
//
// CboOperationSite
//
this.CboOperationSite.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.CboOperationSite.DisplayMember = "Text";
this.CboOperationSite.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.CboOperationSite.Font = new System.Drawing.Font("微软雅黑", 10F);
this.CboOperationSite.FormattingEnabled = true;
this.CboOperationSite.ItemHeight = 19;
this.CboOperationSite.Location = new System.Drawing.Point(910, 7);
this.CboOperationSite.Name = "CboOperationSite";
this.CboOperationSite.Size = new System.Drawing.Size(115, 25);
this.CboOperationSite.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.CboOperationSite.TabIndex = 506;
//
// labelSite
//
this.labelSite.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.labelSite.AutoSize = true;
this.labelSite.BackColor = System.Drawing.Color.AliceBlue;
this.labelSite.Font = new System.Drawing.Font("微软雅黑", 10.5F);
this.labelSite.Location = new System.Drawing.Point(844, 9);
this.labelSite.Name = "labelSite";
this.labelSite.Size = new System.Drawing.Size(65, 20);
this.labelSite.TabIndex = 507;
this.labelSite.Text = "手术地点";
this.labelSite.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
//
// frmSelectPatientNew3
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
@ -610,5 +641,7 @@
private DevComponents.DotNetBar.ButtonX btnQuery;
private System.Windows.Forms.Label label4;
private DevComponents.DotNetBar.ButtonX buttonX2;
private DevComponents.DotNetBar.Controls.ComboBoxEx CboOperationSite;
private System.Windows.Forms.Label labelSite;
}
}

View File

@ -22,8 +22,7 @@ namespace AIMS.OperationAanesthesia
public int SelPatientId;
public int SelApplyId;
public bool isMainOpen = false;
public AIMS.OperationAanesthesia.frmAanesthesiaPainlessRecord tempfrmAnasRecord;
List<OperationRoom> rooms;
public AIMS.OperationAanesthesia.frmAanesthesiaPainlessRecord tempfrmAnasRecord;
public frmSelectPatientNew3()
{
@ -32,26 +31,12 @@ namespace AIMS.OperationAanesthesia
private void frmSelectPatientNew3_Load(object sender, EventArgs e)
{
rooms = BOperationRoom.GetOperationRooms("IsValid=1 and Site='手术室'");
rooms.Insert(0, new OperationRoom() { Id = -1, Name = "" });
cboRoom.DataSource = rooms;
cboRoom.DisplayMember = "Name";
cboRoom.ValueMember = "Id";
ControlExtension.GetOperationSiteRoom(labelSite, CboOperationSite, cboRoom);
//判断如果当前手术间编号不为空,则显示当前手术间
OperationRoom oprm = GetOperationRoom(rooms);
if (oprm != null && oprm.Id.Value > 0)
{
cboRoom.SelectedValue = oprm.Id.Value;
cboRoom.Text = oprm.Name.ToString();
}
if (cboRoom.Text == "" && PublicMethod.SelectRoom != 0)
{
cboRoom.SelectedValue = PublicMethod.SelectRoom;
}
FillDgv();
this.cboRoom.SelectedIndexChanged += new System.EventHandler(this.cboRoom_SelectedIndexChanged);
this.CboOperationSite.SelectedIndexChanged += new System.EventHandler(this.CboOperationSite_SelectedIndexChanged);
}
private void btnNext_Click(object sender, EventArgs e)
@ -86,21 +71,21 @@ namespace AIMS.OperationAanesthesia
dt2 = SelectPatient.GetRelieveLockingPatientDataTable(DateTime.Parse(dtpSelectPatientTime.Value.ToString("yyyy-MM-dd").ToString()), cboRoom.SelectedValue.ToString());
List<string> list = new List<string>();
for (int i = 0; i < rooms.Count; i++)
for (int i = 0; i < ControlExtension.SiteRooms.Count; i++)
{
foreach (DataRow dr in dt.Rows)
{
if (dr["OperationRoom"].ToString() == rooms[i].Name && !list.Contains(rooms[i].Name))
if (dr["OperationRoom"].ToString() == ControlExtension.SiteRooms[i].Name && !list.Contains(ControlExtension.SiteRooms[i].Name))
{
list.Add(rooms[i].Name);
list.Add(ControlExtension.SiteRooms[i].Name);
}
}
foreach (DataRow dr in dt2.Rows)
{
if (dr["OperationRoom"].ToString() == rooms[i].Name && !list.Contains(rooms[i].Name))
if (dr["OperationRoom"].ToString() == ControlExtension.SiteRooms[i].Name && !list.Contains(ControlExtension.SiteRooms[i].Name))
{
list.Add(rooms[i].Name);
list.Add(ControlExtension.SiteRooms[i].Name);
}
}
}
@ -550,5 +535,10 @@ namespace AIMS.OperationAanesthesia
}
}
}
private void CboOperationSite_SelectedIndexChanged(object sender, EventArgs e)
{
ControlExtension.SetOperationSiteRoom(CboOperationSite, cboRoom);
FillDgv();
}
}
}

View File

@ -24,23 +24,24 @@ namespace AIMS.OperationAanesthesia
private void frmDeletePhysio_Load(object sender, EventArgs e)
{
List<OperationRoom> rooms = BOperationRoom.GetOperationRooms("IsValid=1 and Site='手术室'");
//ControlExtension.GetOperationSite(labelSite, CboOperationSite);
panel1.Controls.Clear();
int rows = 0;
//循环加载CheckBox控件
foreach (OperationRoom ade in rooms )
foreach (OperationRoom ade in ControlExtension.SiteRooms)
{
if (NowRoomId!=null && ade.Id.ToString() == NowRoomId) continue;
RadioButton cb = new RadioButton ();
if (ade.Id == -1) continue;
if (NowRoomId != null && ade.Id.ToString() == NowRoomId) continue;
RadioButton cb = new RadioButton();
cb.Tag = ade;
cb.Text = ade.Name;
cb.Font = new System.Drawing.Font("微软雅黑", 10.5f);
cb.Width = 100;
cb.Tag = ade;
cb.Tag = ade;
cb.CheckedChanged += new EventHandler(cb_CheckedChanged);
cb.Location = new Point(10, rows * (cb.Height + 5));
panel1.Controls.Add(cb);
panel1.Controls.Add(cb);
rows++;
}
}
@ -52,9 +53,9 @@ namespace AIMS.OperationAanesthesia
{
RoomId = (((RadioButton)sender).Tag as OperationRoom).Id.ToString();
RoomName = (((RadioButton)sender).Tag as OperationRoom).Name.ToString();
}
}
}
private void btnSave_Click(object sender, EventArgs e)
{
this.Close();
@ -62,7 +63,7 @@ namespace AIMS.OperationAanesthesia
private void btnDelete_Click(object sender, EventArgs e)
{
this.Close();
this.Close();
}
}
}

View File

@ -33,19 +33,21 @@ namespace AIMS.OperationAanesthesia
this.panel1 = new System.Windows.Forms.Panel();
this.btnDelete = new DevComponents.DotNetBar.ButtonX();
this.btnSave = new DevComponents.DotNetBar.ButtonX();
this.CboOperationSite = new DevComponents.DotNetBar.Controls.ComboBoxEx();
this.labelSite = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// panel1
//
this.panel1.Location = new System.Drawing.Point(15, 12);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(177, 232);
this.panel1.Size = new System.Drawing.Size(177, 256);
this.panel1.TabIndex = 0;
//
// btnDelete
//
this.btnDelete.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnDelete.Location = new System.Drawing.Point(14, 250);
this.btnDelete.Location = new System.Drawing.Point(14, 274);
this.btnDelete.Name = "btnDelete";
this.btnDelete.Size = new System.Drawing.Size(86, 30);
this.btnDelete.TabIndex = 4;
@ -55,18 +57,49 @@ namespace AIMS.OperationAanesthesia
// btnSave
//
this.btnSave.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnSave.Location = new System.Drawing.Point(106, 250);
this.btnSave.Location = new System.Drawing.Point(106, 274);
this.btnSave.Name = "btnSave";
this.btnSave.Size = new System.Drawing.Size(86, 30);
this.btnSave.TabIndex = 3;
this.btnSave.Text = "取消";
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
//
// CboOperationSite
//
this.CboOperationSite.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.CboOperationSite.DisplayMember = "Text";
this.CboOperationSite.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.CboOperationSite.Font = new System.Drawing.Font("微软雅黑", 10F);
this.CboOperationSite.FormattingEnabled = true;
this.CboOperationSite.ItemHeight = 19;
this.CboOperationSite.Location = new System.Drawing.Point(79, 5);
this.CboOperationSite.Name = "CboOperationSite";
this.CboOperationSite.Size = new System.Drawing.Size(115, 25);
this.CboOperationSite.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.CboOperationSite.TabIndex = 506;
this.CboOperationSite.Visible = false;
//
// labelSite
//
this.labelSite.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.labelSite.AutoSize = true;
this.labelSite.BackColor = System.Drawing.SystemColors.Control;
this.labelSite.Font = new System.Drawing.Font("微软雅黑", 10.5F);
this.labelSite.Location = new System.Drawing.Point(13, 7);
this.labelSite.Name = "labelSite";
this.labelSite.Size = new System.Drawing.Size(65, 20);
this.labelSite.TabIndex = 507;
this.labelSite.Text = "手术地点";
this.labelSite.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.labelSite.Visible = false;
//
// frmSeleteRoom
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(210, 286);
this.ClientSize = new System.Drawing.Size(210, 308);
this.Controls.Add(this.CboOperationSite);
this.Controls.Add(this.labelSite);
this.Controls.Add(this.btnDelete);
this.Controls.Add(this.btnSave);
this.Controls.Add(this.panel1);
@ -78,6 +111,7 @@ namespace AIMS.OperationAanesthesia
this.Text = "选择要转入的手术间";
this.Load += new System.EventHandler(this.frmDeletePhysio_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
@ -86,5 +120,7 @@ namespace AIMS.OperationAanesthesia
private System.Windows.Forms.Panel panel1;
private DevComponents.DotNetBar.ButtonX btnDelete;
private DevComponents.DotNetBar.ButtonX btnSave;
private DevComponents.DotNetBar.Controls.ComboBoxEx CboOperationSite;
private System.Windows.Forms.Label labelSite;
}
}

View File

@ -33,6 +33,8 @@ namespace AIMS.OperationAfter.UI
dtpOpeTime.Value = DateTime.Now;
dtpEnd.Value = dtpOpeTime.Value;
ControlExtension.GetOperationSite(labelSite, CboOperationSite);
Initial();
}
@ -53,8 +55,13 @@ namespace AIMS.OperationAfter.UI
{
sql = string.Format(" [StateId] in(6,8,9) and RecoverId=1 and InRoomTime>'{0}' and InRoomTime<'{1}'", beginTime, endTime);
}
//sql += " order by RoomOrderBy asc";
//sql += " order by RoomOrderBy asc";
operationApplys = BOperationRecord.GetAllOperationRecordInfo(sql);
if (CboOperationSite.Visible == true && CboOperationSite.SelectedIndex > 0)
{
operationApplys = AIMSExtension.PublicMethod.GetNewDataTable( operationApplys, " OperationSite ='" + CboOperationSite.SelectedValue + "' ", "");
}
LoadSelectDate();
dgvtEMPOperationInfos.Rows.Clear();

View File

@ -32,10 +32,15 @@
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
this.panel1 = new System.Windows.Forms.Panel();
this.button2 = new System.Windows.Forms.Button();
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
this.tsbExportExcel = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
this.tsbPrint = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.cboRoom = new DevComponents.DotNetBar.Controls.ComboBoxEx();
this.label22 = new System.Windows.Forms.Label();
this.button1 = new System.Windows.Forms.Button();
this.label2 = new System.Windows.Forms.Label();
this.tsbSettingDGV = new System.Windows.Forms.Button();
this.toolStripButton10 = new System.Windows.Forms.Button();
@ -121,8 +126,10 @@
this.dataGridViewTextBoxColumn29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn30 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn31 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.button3 = new System.Windows.Forms.Button();
this.CboOperationSite = new DevComponents.DotNetBar.Controls.ComboBoxEx();
this.labelSite = new System.Windows.Forms.Label();
this.panel1.SuspendLayout();
this.toolStrip1.SuspendLayout();
this.panel2.SuspendLayout();
this.panel3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dtpEnd)).BeginInit();
@ -136,34 +143,85 @@
//
this.panel1.BackColor = System.Drawing.Color.Transparent;
this.panel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.panel1.Controls.Add(this.button3);
this.panel1.Controls.Add(this.button2);
this.panel1.Controls.Add(this.CboOperationSite);
this.panel1.Controls.Add(this.labelSite);
this.panel1.Controls.Add(this.toolStrip1);
this.panel1.Controls.Add(this.cboRoom);
this.panel1.Controls.Add(this.label22);
this.panel1.Controls.Add(this.button1);
this.panel1.Controls.Add(this.label2);
this.panel1.Controls.Add(this.tsbSettingDGV);
this.panel1.Controls.Add(this.toolStripButton10);
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(1428, 45);
this.panel1.Size = new System.Drawing.Size(1428, 54);
this.panel1.TabIndex = 0;
//
// button2
// toolStrip1
//
this.button2.Cursor = System.Windows.Forms.Cursors.Hand;
this.button2.Dock = System.Windows.Forms.DockStyle.Left;
this.button2.FlatAppearance.BorderSize = 0;
this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button2.Font = new System.Drawing.Font("微软雅黑", 11F);
this.button2.Location = new System.Drawing.Point(112, 0);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(131, 45);
this.button2.TabIndex = 33;
this.button2.Text = "批量打印处方单";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
this.toolStrip1.BackColor = System.Drawing.Color.AliceBlue;
this.toolStrip1.Font = new System.Drawing.Font("微软雅黑", 10.5F);
this.toolStrip1.ImageScalingSize = new System.Drawing.Size(25, 25);
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripButton1,
this.toolStripSeparator5,
this.tsbExportExcel,
this.toolStripSeparator3,
this.tsbPrint,
this.toolStripSeparator2});
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(1428, 49);
this.toolStrip1.TabIndex = 35;
this.toolStrip1.Text = "toolStrip1";
//
// toolStripButton1
//
this.toolStripButton1.Font = new System.Drawing.Font("微软雅黑", 9F);
this.toolStripButton1.Image = global::AIMS.Properties.Resources._手术排程;
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton1.Name = "toolStripButton1";
this.toolStripButton1.Size = new System.Drawing.Size(68, 46);
this.toolStripButton1.Text = " 收费记录";
this.toolStripButton1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.toolStripButton1.Click += new System.EventHandler(this.button1_Click);
//
// toolStripSeparator5
//
this.toolStripSeparator5.Name = "toolStripSeparator5";
this.toolStripSeparator5.Size = new System.Drawing.Size(6, 49);
//
// tsbExportExcel
//
this.tsbExportExcel.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbExportExcel.Image = global::AIMS.Properties.Resources._排程通过;
this.tsbExportExcel.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbExportExcel.Name = "tsbExportExcel";
this.tsbExportExcel.Size = new System.Drawing.Size(92, 46);
this.tsbExportExcel.Text = " 药品使用登记";
this.tsbExportExcel.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbExportExcel.Click += new System.EventHandler(this.button3_Click);
//
// toolStripSeparator3
//
this.toolStripSeparator3.Name = "toolStripSeparator3";
this.toolStripSeparator3.Size = new System.Drawing.Size(6, 49);
//
// tsbPrint
//
this.tsbPrint.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbPrint.Image = global::AIMS.Properties.Resources._打印;
this.tsbPrint.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbPrint.Name = "tsbPrint";
this.tsbPrint.Size = new System.Drawing.Size(100, 46);
this.tsbPrint.Text = " 批量打印处方单";
this.tsbPrint.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbPrint.Click += new System.EventHandler(this.button2_Click);
//
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 49);
//
// cboRoom
//
@ -194,21 +252,6 @@
this.label22.Text = "手术间";
this.label22.Visible = false;
//
// button1
//
this.button1.Cursor = System.Windows.Forms.Cursors.Hand;
this.button1.Dock = System.Windows.Forms.DockStyle.Left;
this.button1.FlatAppearance.BorderSize = 0;
this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button1.Font = new System.Drawing.Font("微软雅黑", 11F);
this.button1.Location = new System.Drawing.Point(0, 0);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(112, 45);
this.button1.TabIndex = 16;
this.button1.Text = "收费记录";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// label2
//
this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
@ -272,7 +315,7 @@
this.panel2.Controls.Add(this.txtPatCaseNO);
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
this.panel2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.panel2.Location = new System.Drawing.Point(0, 45);
this.panel2.Location = new System.Drawing.Point(0, 54);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(1428, 65);
this.panel2.TabIndex = 387;
@ -482,9 +525,9 @@
this.groupBox1.Controls.Add(this.dgvOperation);
this.groupBox1.Dock = System.Windows.Forms.DockStyle.Left;
this.groupBox1.Font = new System.Drawing.Font("微软雅黑", 10F);
this.groupBox1.Location = new System.Drawing.Point(0, 110);
this.groupBox1.Location = new System.Drawing.Point(0, 119);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(380, 431);
this.groupBox1.Size = new System.Drawing.Size(380, 422);
this.groupBox1.TabIndex = 388;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "患者列表";
@ -550,7 +593,7 @@
this.dgvOperation.Name = "dgvOperation";
this.dgvOperation.RowTemplate.Height = 27;
this.dgvOperation.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvOperation.Size = new System.Drawing.Size(374, 407);
this.dgvOperation.Size = new System.Drawing.Size(374, 398);
this.dgvOperation.TabIndex = 386;
this.dgvOperation.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvOperation_CellDoubleClick);
this.dgvOperation.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dgvOperation_RowPostPaint);
@ -758,14 +801,14 @@
this.dgvtEMPOperationInfos.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvtEMPOperationInfos.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
this.dgvtEMPOperationInfos.GridColor = System.Drawing.Color.Black;
this.dgvtEMPOperationInfos.Location = new System.Drawing.Point(380, 110);
this.dgvtEMPOperationInfos.Location = new System.Drawing.Point(380, 119);
this.dgvtEMPOperationInfos.MultiSelect = false;
this.dgvtEMPOperationInfos.Name = "dgvtEMPOperationInfos";
this.dgvtEMPOperationInfos.ReadOnly = true;
this.dgvtEMPOperationInfos.RowTemplate.Height = 23;
this.dgvtEMPOperationInfos.ShowCellErrors = false;
this.dgvtEMPOperationInfos.ShowCellToolTips = false;
this.dgvtEMPOperationInfos.Size = new System.Drawing.Size(1048, 431);
this.dgvtEMPOperationInfos.Size = new System.Drawing.Size(1048, 422);
this.dgvtEMPOperationInfos.TabIndex = 389;
this.dgvtEMPOperationInfos.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvtEMPOperationInfos_CellDoubleClick);
this.dgvtEMPOperationInfos.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dgvtEMPOperationInfos_RowPostPaint);
@ -1082,20 +1125,32 @@
this.dataGridViewTextBoxColumn31.HeaderText = "收费状态";
this.dataGridViewTextBoxColumn31.Name = "dataGridViewTextBoxColumn31";
//
// button3
// CboOperationSite
//
this.button3.Cursor = System.Windows.Forms.Cursors.Hand;
this.button3.Dock = System.Windows.Forms.DockStyle.Left;
this.button3.FlatAppearance.BorderSize = 0;
this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button3.Font = new System.Drawing.Font("微软雅黑", 11F);
this.button3.Location = new System.Drawing.Point(243, 0);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(131, 45);
this.button3.TabIndex = 34;
this.button3.Text = "药品使用登记";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.button3_Click);
this.CboOperationSite.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.CboOperationSite.DisplayMember = "Text";
this.CboOperationSite.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.CboOperationSite.Font = new System.Drawing.Font("微软雅黑", 10F);
this.CboOperationSite.FormattingEnabled = true;
this.CboOperationSite.ItemHeight = 19;
this.CboOperationSite.Location = new System.Drawing.Point(1290, 16);
this.CboOperationSite.Name = "CboOperationSite";
this.CboOperationSite.Size = new System.Drawing.Size(115, 25);
this.CboOperationSite.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.CboOperationSite.TabIndex = 504;
//
// labelSite
//
this.labelSite.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.labelSite.AutoSize = true;
this.labelSite.BackColor = System.Drawing.Color.AliceBlue;
this.labelSite.Font = new System.Drawing.Font("微软雅黑", 10.5F);
this.labelSite.Location = new System.Drawing.Point(1224, 18);
this.labelSite.Name = "labelSite";
this.labelSite.Size = new System.Drawing.Size(65, 20);
this.labelSite.TabIndex = 505;
this.labelSite.Text = "手术地点";
this.labelSite.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
//
// frmOperationCharg2
//
@ -1111,6 +1166,8 @@
this.Load += new System.EventHandler(this.frmOperationChargCheck_Load);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
this.panel2.ResumeLayout(false);
this.panel2.PerformLayout();
this.panel3.ResumeLayout(false);
@ -1160,7 +1217,6 @@
private DevComponents.Editors.DateTimeAdv.DateTimeInput dtpEnd;
private DevComponents.Editors.DateTimeAdv.DateTimeInput dtpOpeTime;
public System.Windows.Forms.Label label24;
private System.Windows.Forms.Button button1;
private DevComponents.DotNetBar.Controls.ComboBoxEx cboRoom;
private System.Windows.Forms.Label label22;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn18;
@ -1192,7 +1248,6 @@
private System.Windows.Forms.DataGridViewTextBoxColumn hisOrdersn;
private System.Windows.Forms.DataGridViewTextBoxColumn Hiscount;
private System.Windows.Forms.DataGridViewTextBoxColumn hisState;
private System.Windows.Forms.Button button2;
private DevComponents.DotNetBar.Controls.CheckBoxX checkBoxX1;
private System.Windows.Forms.DataGridViewTextBoxColumn OpeationId;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationApplyId;
@ -1216,6 +1271,14 @@
private System.Windows.Forms.DataGridViewTextBoxColumn outroomtime;
private System.Windows.Forms.DataGridViewTextBoxColumn chagestate;
private System.Windows.Forms.DataGridViewTextBoxColumn chargstatenurse;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStripButton toolStripButton1;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator5;
private System.Windows.Forms.ToolStripButton tsbExportExcel;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
private System.Windows.Forms.ToolStripButton tsbPrint;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
private DevComponents.DotNetBar.Controls.ComboBoxEx CboOperationSite;
private System.Windows.Forms.Label labelSite;
}
}

View File

@ -117,6 +117,9 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="OpeationId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>

View File

@ -28,8 +28,10 @@
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
this.tsbReviewApply = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.tspSetting = new System.Windows.Forms.ToolStripButton();
@ -38,7 +40,6 @@
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
this.tsbPrint = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.tsbExit = new System.Windows.Forms.ToolStripButton();
this.panel1 = new System.Windows.Forms.Panel();
this.panel3 = new System.Windows.Forms.Panel();
this.dgv = new DevComponents.DotNetBar.Controls.DataGridViewX();
@ -120,8 +121,8 @@
this.cboDepartment = new System.Windows.Forms.ComboBox();
this.label1 = new System.Windows.Forms.Label();
this.btnFind = new System.Windows.Forms.Button();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
this.CboOperationSite = new DevComponents.DotNetBar.Controls.ComboBoxEx();
this.labelSite = new System.Windows.Forms.Label();
this.toolStrip1.SuspendLayout();
this.panel1.SuspendLayout();
this.panel3.SuspendLayout();
@ -146,14 +147,29 @@
this.tsbExportExcel,
this.toolStripSeparator3,
this.tsbPrint,
this.toolStripSeparator2,
this.tsbExit});
this.toolStripSeparator2});
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(1187, 49);
this.toolStrip1.TabIndex = 2;
this.toolStrip1.Text = "toolStrip1";
//
// toolStripButton1
//
this.toolStripButton1.Font = new System.Drawing.Font("微软雅黑", 9F);
this.toolStripButton1.Image = global::AIMS.Properties.Resources._手术排程;
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton1.Name = "toolStripButton1";
this.toolStripButton1.Size = new System.Drawing.Size(68, 46);
this.toolStripButton1.Text = " 手术过程";
this.toolStripButton1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
//
// toolStripSeparator5
//
this.toolStripSeparator5.Name = "toolStripSeparator5";
this.toolStripSeparator5.Size = new System.Drawing.Size(6, 49);
//
// tsbReviewApply
//
this.tsbReviewApply.Font = new System.Drawing.Font("微软雅黑", 9F);
@ -220,17 +236,6 @@
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 49);
//
// tsbExit
//
this.tsbExit.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbExit.Image = global::AIMS.Properties.Resources._关闭当前页;
this.tsbExit.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbExit.Name = "tsbExit";
this.tsbExit.Size = new System.Drawing.Size(52, 46);
this.tsbExit.Text = " 关闭 ";
this.tsbExit.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbExit.Click += new System.EventHandler(this.tsbExit_Click);
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.AliceBlue;
@ -301,16 +306,16 @@
this.IsNotPlanReturnOperation,
this.RemarkColumn,
this.OperatorName});
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgv.DefaultCellStyle = dataGridViewCellStyle2;
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgv.DefaultCellStyle = dataGridViewCellStyle1;
this.dgv.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgv.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(170)))), ((int)(((byte)(170)))));
this.dgv.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
this.dgv.Location = new System.Drawing.Point(0, 0);
this.dgv.Name = "dgv";
this.dgv.ReadOnly = true;
@ -1068,21 +1073,32 @@
this.btnFind.UseVisualStyleBackColor = true;
this.btnFind.Click += new System.EventHandler(this.btnFind_Click);
//
// toolStripButton1
// CboOperationSite
//
this.toolStripButton1.Font = new System.Drawing.Font("微软雅黑", 9F);
this.toolStripButton1.Image = global::AIMS.Properties.Resources._手术排程;
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton1.Name = "toolStripButton1";
this.toolStripButton1.Size = new System.Drawing.Size(68, 46);
this.toolStripButton1.Text = " 手术过程";
this.toolStripButton1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
this.CboOperationSite.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.CboOperationSite.DisplayMember = "Text";
this.CboOperationSite.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.CboOperationSite.Font = new System.Drawing.Font("微软雅黑", 10F);
this.CboOperationSite.FormattingEnabled = true;
this.CboOperationSite.ItemHeight = 19;
this.CboOperationSite.Location = new System.Drawing.Point(1041, 7);
this.CboOperationSite.Name = "CboOperationSite";
this.CboOperationSite.Size = new System.Drawing.Size(115, 25);
this.CboOperationSite.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.CboOperationSite.TabIndex = 504;
//
// toolStripSeparator5
// labelSite
//
this.toolStripSeparator5.Name = "toolStripSeparator5";
this.toolStripSeparator5.Size = new System.Drawing.Size(6, 49);
this.labelSite.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.labelSite.AutoSize = true;
this.labelSite.BackColor = System.Drawing.Color.AliceBlue;
this.labelSite.Font = new System.Drawing.Font("微软雅黑", 10.5F);
this.labelSite.Location = new System.Drawing.Point(975, 9);
this.labelSite.Name = "labelSite";
this.labelSite.Size = new System.Drawing.Size(65, 20);
this.labelSite.TabIndex = 505;
this.labelSite.Text = "手术地点";
this.labelSite.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
//
// frmOperationManage
//
@ -1090,6 +1106,8 @@
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1187, 481);
this.ControlBox = false;
this.Controls.Add(this.CboOperationSite);
this.Controls.Add(this.labelSite);
this.Controls.Add(this.panel1);
this.Controls.Add(this.toolStrip1);
this.MaximizeBox = false;
@ -1116,7 +1134,6 @@
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
private System.Windows.Forms.ToolStripButton tsbPrint;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
private System.Windows.Forms.ToolStripButton tsbExit;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.Panel panel2;
@ -1205,5 +1222,7 @@
private System.Windows.Forms.DataGridViewTextBoxColumn OperatorName;
private System.Windows.Forms.ToolStripButton toolStripButton1;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator5;
private DevComponents.DotNetBar.Controls.ComboBoxEx CboOperationSite;
private System.Windows.Forms.Label labelSite;
}
}

View File

@ -85,6 +85,9 @@ namespace AIMS.OperationAfter.UI
cboOperationLevel.ValueMember = "Id";
cboOperationLevel.SelectedIndex = -1;
ControlExtension.GetOperationSite(labelSite, CboOperationSite);
//this.CboOperationSite.SelectedIndexChanged += new System.EventHandler(this.CboOperationSite_SelectedIndexChanged);
btnFind_Click(null, null);
}
@ -193,6 +196,10 @@ namespace AIMS.OperationAfter.UI
Where += " and IsNotPlanReturnOperation ='是' ";
if (txtOperation.Text != "")
Where += " and (ApplyOperationInfoName LIKE '%" + txtOperation.Text + "%' or OperationInfoName LIKE '%" + txtOperation.Text + "%' ) ";
if (CboOperationSite.Visible == true && CboOperationSite.SelectedIndex > 0)
Where += " and OperationSite='" + CboOperationSite.SelectedValue + "' ";
System.Data.DataTable dataTable = AIMSExtension.PublicMethod.GetNewDataTable(dt, Where, "");
foreach (DataRow item in dataTable.Rows)
{

View File

@ -40,8 +40,6 @@
this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
this.tsbExit = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.tsbSet = new System.Windows.Forms.ToolStripButton();
this.panel2 = new System.Windows.Forms.Panel();
this.btnFind = new System.Windows.Forms.Button();
@ -153,8 +151,6 @@
this.toolStripSeparator6,
this.toolStripButton1,
this.toolStripSeparator5,
this.tsbExit,
this.toolStripSeparator2,
this.tsbSet});
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
@ -250,22 +246,6 @@
this.toolStripSeparator5.Name = "toolStripSeparator5";
this.toolStripSeparator5.Size = new System.Drawing.Size(6, 51);
//
// tsbExit
//
this.tsbExit.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbExit.Image = global::AIMS.Properties.Resources._关闭当前页;
this.tsbExit.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbExit.Name = "tsbExit";
this.tsbExit.Size = new System.Drawing.Size(52, 48);
this.tsbExit.Text = " 关闭 ";
this.tsbExit.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbExit.Click += new System.EventHandler(this.tsbExit_Click);
//
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 51);
//
// tsbSet
//
this.tsbSet.Font = new System.Drawing.Font("微软雅黑", 9F);
@ -940,8 +920,6 @@
private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
private System.Windows.Forms.ToolStripButton tsbOperationRecover;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
private System.Windows.Forms.ToolStripButton tsbExit;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
private System.Windows.Forms.ToolStripButton tsbSet;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Panel panel3;

View File

@ -21,13 +21,11 @@ namespace AIMS.OperationAfter.UI
private void frmOperationReview_Load(object sender, EventArgs e)
{
if (AIMSExtension.PublicMethod.OperatorNo == "admin")
{
toolStripSeparator2.Visible = true;
{
tsbSet.Visible = true;
}
else
{
toolStripSeparator2.Visible = false;
{
tsbSet.Visible = false;
}
dgv.DataSource = BOperationReview.GetOperationReviewDataTable(txtMdrecNo.Text.Trim(), txtPatientName.Text.Trim(),

View File

@ -29,6 +29,8 @@
private void InitializeComponent()
{
this.panel1 = new System.Windows.Forms.Panel();
this.CboOperationSite = new DevComponents.DotNetBar.Controls.ComboBoxEx();
this.labelSite = new System.Windows.Forms.Label();
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.tsbAdd = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
@ -38,6 +40,8 @@
this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
this.tsbDelete = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
this.tsbExit = new System.Windows.Forms.ToolStripButton();
this.txtMdrecNo = new System.Windows.Forms.TextBox();
this.label4 = new System.Windows.Forms.Label();
@ -107,8 +111,6 @@
this.dataGridViewTextBoxColumn25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
this.panel1.SuspendLayout();
this.toolStrip1.SuspendLayout();
this.panel2.SuspendLayout();
@ -118,6 +120,8 @@
//
// panel1
//
this.panel1.Controls.Add(this.CboOperationSite);
this.panel1.Controls.Add(this.labelSite);
this.panel1.Controls.Add(this.toolStrip1);
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(0, 0);
@ -125,6 +129,33 @@
this.panel1.Size = new System.Drawing.Size(942, 50);
this.panel1.TabIndex = 1;
//
// CboOperationSite
//
this.CboOperationSite.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.CboOperationSite.DisplayMember = "Text";
this.CboOperationSite.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.CboOperationSite.Font = new System.Drawing.Font("微软雅黑", 10F);
this.CboOperationSite.FormattingEnabled = true;
this.CboOperationSite.ItemHeight = 19;
this.CboOperationSite.Location = new System.Drawing.Point(815, 12);
this.CboOperationSite.Name = "CboOperationSite";
this.CboOperationSite.Size = new System.Drawing.Size(115, 25);
this.CboOperationSite.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.CboOperationSite.TabIndex = 502;
//
// labelSite
//
this.labelSite.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.labelSite.AutoSize = true;
this.labelSite.BackColor = System.Drawing.Color.AliceBlue;
this.labelSite.Font = new System.Drawing.Font("微软雅黑", 10.5F);
this.labelSite.Location = new System.Drawing.Point(749, 14);
this.labelSite.Name = "labelSite";
this.labelSite.Size = new System.Drawing.Size(65, 20);
this.labelSite.TabIndex = 503;
this.labelSite.Text = "手术地点";
this.labelSite.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
//
// toolStrip1
//
this.toolStrip1.BackColor = System.Drawing.Color.AliceBlue;
@ -212,6 +243,22 @@
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 49);
//
// toolStripButton1
//
this.toolStripButton1.Font = new System.Drawing.Font("微软雅黑", 9F);
this.toolStripButton1.Image = global::AIMS.Properties.Resources._回顾恢复;
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton1.Name = "toolStripButton1";
this.toolStripButton1.Size = new System.Drawing.Size(60, 46);
this.toolStripButton1.Text = "数据中心";
this.toolStripButton1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
//
// toolStripSeparator3
//
this.toolStripSeparator3.Name = "toolStripSeparator3";
this.toolStripSeparator3.Size = new System.Drawing.Size(6, 49);
//
// tsbExit
//
this.tsbExit.Font = new System.Drawing.Font("微软雅黑", 9F);
@ -810,22 +857,6 @@
this.dataGridViewTextBoxColumn27.HeaderText = "备注";
this.dataGridViewTextBoxColumn27.Name = "dataGridViewTextBoxColumn27";
//
// toolStripButton1
//
this.toolStripButton1.Font = new System.Drawing.Font("微软雅黑", 9F);
this.toolStripButton1.Image = global::AIMS.Properties.Resources._回顾恢复;
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton1.Name = "toolStripButton1";
this.toolStripButton1.Size = new System.Drawing.Size(60, 46);
this.toolStripButton1.Text = "数据中心";
this.toolStripButton1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
//
// toolStripSeparator3
//
this.toolStripSeparator3.Name = "toolStripSeparator3";
this.toolStripSeparator3.Size = new System.Drawing.Size(6, 49);
//
// frmOperationApply
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
@ -935,5 +966,7 @@
private System.Windows.Forms.DataGridViewTextBoxColumn RemarkColumn;
private System.Windows.Forms.ToolStripButton toolStripButton1;
public System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
private DevComponents.DotNetBar.Controls.ComboBoxEx CboOperationSite;
private System.Windows.Forms.Label labelSite;
}
}

View File

@ -51,6 +51,8 @@ namespace AIMS.OperationFront.UI
if (AIMSExtension.PublicMethod.RoleId == 5)
cboDepartment.Text = BDepartment.GetModel(AIMSExtension.PublicMethod.DepId).Name;
ControlExtension.GetOperationSite(labelSite, CboOperationSite);
this.CboOperationSite.SelectedIndexChanged += new System.EventHandler(this.CboOperationSite_SelectedIndexChanged);
LoadDataRescue();
}
private System.Windows.Forms.Timer timerLoadRescue;
@ -119,6 +121,10 @@ namespace AIMS.OperationFront.UI
{
Newdt = AIMSExtension.PublicMethod.GetNewDataTable(dt, " StateId>0 " + dept + "AND MdrecNo LIKE '%" + txtMdrecNo.Text.Trim() + "%'", "OrderOperationTime");
}
if (CboOperationSite.Visible==true && CboOperationSite.SelectedIndex > 0)
{
Newdt = AIMSExtension.PublicMethod.GetNewDataTable(Newdt, " OperationSite ='" + CboOperationSite.SelectedValue + "' ", "OrderOperationTime");
}
dgv.DataSource = Newdt;
for (int i = 0; i < dgv.Rows.Count; i++)
{
@ -221,5 +227,10 @@ namespace AIMS.OperationFront.UI
EMRExtension.OpenEMRS(0, selApply);
}
}
private void CboOperationSite_SelectedIndexChanged(object sender, EventArgs e)
{
ControlExtension.SetOperationSite(CboOperationSite);
}
}
}

View File

@ -204,4 +204,88 @@
<metadata name="RemarkColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="CheckBoxColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ApplyId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="StateColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ApplyDepNameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="SickBedColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="MdrecNoColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="PatientNameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<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="IdentityCard.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="OperationTypeColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ApplyTimeColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="OrderOperationTimeColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ApplyOperatorNameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="OperationDoctorColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<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="ApplyDiagnoseInfoNameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ApplyOperationInfoNameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="AnaesthesiaMethodNameColumn.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>
<metadata name="TourNurseColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="InstrumentNurseColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="OperationRoomColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="PlanOrder.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="RemarkColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>

File diff suppressed because it is too large Load Diff

View File

@ -250,46 +250,46 @@
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAD+
CAAAAk1TRnQBSQFMAgEBAgEAAdwBEwHcARMBEAEAARABAAT/AQkBAAj/AUI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8QEAA/gBAAHwAfsB/wEA
AaQCoAEAA4ADAAH/AgAB/wMAAv8BAAH/AwAB/wEAAf8BAAL/AgAD/wMAASoLKTMAAioLUgEpMgABUgFR
AVkIUgFRAW4BSgIAASoLKSQAAlIEWQFYAVIBdAJzAnQBSgEAASoBWQtSASkiAAVGAUwBRgJ0AXkDegF5
AXMBSgFSAlkIWAJSASoiAALjAxcB4wFMBZoBegF5AXQB6gFSAXoJWQFYAVIBKSIAAUYBFgTjAW8BmQGa
BJkBegF0AYwBUgF6CVkBWAJSASkiAAFMAhYB4wFGAXMEHAGZAhwBdAGnAVIBegpZAlIBKiIABEwCWQHP
AfMBtQHyAs8BtQHzAc8BUgF6C1kBWAEqIgABUgJ0AVICWQHPAd0BtQHyAvEBvAK1AVIBegVZBHoDWQEq
IQABUgSaAVIBWQGuAbUB8gO1AQkB8AEJAVICegNZBnoBWQEqIgABUgF1A3oBdQFLAQABzwG8AQkBzwHz
AfIB8QEJAXQDegNZAVIDdAJSIwABOAFZAlIBdQF6AgABzwLxAQkCtQHPAacBAAF0A3oBWQEqKQABWQHl
AaABmgF5AVICAAGnAs8DpwMAAf8CdAJSKgABUgKgAsMBdAIAAqc4AAJSPAABQgFNAT4HAAE+AwABKAMA
AUADAAEQAwABAQEAAQEFAAGAFwAD/wEAAcABAwL/BAABgAEBAv8EAAGAAQEBgAEHBAABgAEBAQABAwcA
AQMHAAEDBwABAQQAAYACAAEBBAABgAIAAQEEAAGAAgABAQcAAQMEAAEBAgABBwQAAQMBAAGBAf8EAAID
AYMB/wQAAQMBPwL/BAABzwP/BAAL
</value>
</data>
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,376 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="PlanTime.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Diagnose.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="OperationType.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Contagion.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewCheckBoxColumn3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn49.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="iName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn51.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn52.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn53.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn54.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn55.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn56.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn57.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn58.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn59.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewCheckBoxColumn4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn60.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="tName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn62.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn63.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn64.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn65.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn66.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn67.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn68.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn69.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn70.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Check.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="oName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="DepartmentRefName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Mon.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Tues.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Wed.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Thurs.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Fri.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Sat.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Sun.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewCheckBoxColumn2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewCheckBoxColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="imageList1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>245, 17</value>
</metadata>
<data name="imageList1.ImageStream" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93c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AAQEEAAGAAgABAQcAAQMEAAEBAgABBwQAAQMBAAGB
Af8EAAIDAYMB/wQAAQMBPwL/BAABzwP/BAAL
</value>
</data>
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>144, 17</value>
</metadata>
<metadata name="ctsThisRoom.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>525, 17</value>
</metadata>
<metadata name="contextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>360, 17</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn7.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn8.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn9.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn10.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn11.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn12.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn13.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn14.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn15.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn16.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn17.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn18.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn19.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn20.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn21.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn22.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn23.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn24.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>44</value>
</metadata>
</root>

View File

@ -58,6 +58,10 @@ namespace AIMS.OperationFront.UI
{
dt = BOperationApply.SelectPlanedOpeByRoom("OrderOperationTime>='" + dtpTime.Value.ToString("yyyy-MM-dd 00:00:00") + "' and OrderOperationTime<='" + dtpTime.Value.ToString("yyyy-MM-dd 23:59:59") + "' Order By OperationRoomID ,PlanOrder");
}
if (CboOperationSite.Visible == true && CboOperationSite.SelectedIndex > 0)
{
dt = AIMSExtension.PublicMethod.GetNewDataTable(dt, " OperationSite ='" + CboOperationSite.SelectedValue + "' ", "");
}
if (dt == null) return;
FullDgv(dt);
dgvApplyOrDoctor.ClearSelection();
@ -259,6 +263,9 @@ namespace AIMS.OperationFront.UI
cboOperationRoom.DataSource = rooms;
cboOperationRoom.DisplayMember = "Name";
cboOperationRoom.ValueMember = "Id";
ControlExtension.GetOperationSite(labelSite,CboOperationSite);
this.CboOperationSite.SelectedIndexChanged += new System.EventHandler(this.CboOperationSite_SelectedIndexChanged);
}
private void FullDgv(DataTable operationApplys)
@ -351,5 +358,10 @@ namespace AIMS.OperationFront.UI
{
cboOperationRoom_SelectedIndexChanged(null, null);
}
private void CboOperationSite_SelectedIndexChanged(object sender, EventArgs e)
{
//ControlExtension.SetOperationSite(CboOperationSite);
cboOperationRoom_SelectedIndexChanged(null, null);
}
}
}

View File

@ -52,6 +52,8 @@
this.cboOperationRoom = new DevComponents.DotNetBar.Controls.ComboBoxEx();
this.tsbNewOperationApply = new System.Windows.Forms.Button();
this.panel1 = new System.Windows.Forms.Panel();
this.CboOperationSite = new DevComponents.DotNetBar.Controls.ComboBoxEx();
this.labelSite = new System.Windows.Forms.Label();
this.rbosh = new System.Windows.Forms.RadioButton();
this.rbosq = new System.Windows.Forms.RadioButton();
this.rboall = new System.Windows.Forms.RadioButton();
@ -121,7 +123,7 @@
//
this.dtpTime.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.dtpTime.Name = "dtpTime";
this.dtpTime.Size = new System.Drawing.Size(180, 28);
this.dtpTime.Size = new System.Drawing.Size(135, 28);
this.dtpTime.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.dtpTime.TabIndex = 497;
this.dtpTime.ValueChanged += new System.EventHandler(this.dtpTime_ValueChanged);
@ -131,7 +133,7 @@
this.btnAfterDay.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnAfterDay.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnAfterDay.Font = new System.Drawing.Font("微软雅黑", 11F);
this.btnAfterDay.Location = new System.Drawing.Point(315, 10);
this.btnAfterDay.Location = new System.Drawing.Point(270, 10);
this.btnAfterDay.Name = "btnAfterDay";
this.btnAfterDay.Size = new System.Drawing.Size(105, 34);
this.btnAfterDay.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
@ -156,7 +158,7 @@
//
this.label4.AutoSize = true;
this.label4.Font = new System.Drawing.Font("微软雅黑", 11F);
this.label4.Location = new System.Drawing.Point(438, 17);
this.label4.Location = new System.Drawing.Point(393, 17);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(54, 20);
this.label4.TabIndex = 501;
@ -167,7 +169,7 @@
//
this.cboOperationRoom.Font = new System.Drawing.Font("微软雅黑", 10.5F);
this.cboOperationRoom.FormattingEnabled = true;
this.cboOperationRoom.Location = new System.Drawing.Point(497, 12);
this.cboOperationRoom.Location = new System.Drawing.Point(452, 12);
this.cboOperationRoom.Name = "cboOperationRoom";
this.cboOperationRoom.Size = new System.Drawing.Size(103, 28);
this.cboOperationRoom.Style = DevComponents.DotNetBar.eDotNetBarStyle.OfficeMobile2014;
@ -181,7 +183,7 @@
this.tsbNewOperationApply.FlatAppearance.BorderSize = 0;
this.tsbNewOperationApply.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.tsbNewOperationApply.Font = new System.Drawing.Font("微软雅黑", 11F);
this.tsbNewOperationApply.Location = new System.Drawing.Point(991, 0);
this.tsbNewOperationApply.Location = new System.Drawing.Point(1094, 0);
this.tsbNewOperationApply.Name = "tsbNewOperationApply";
this.tsbNewOperationApply.Size = new System.Drawing.Size(90, 45);
this.tsbNewOperationApply.TabIndex = 502;
@ -192,6 +194,8 @@
// panel1
//
this.panel1.AutoScroll = true;
this.panel1.Controls.Add(this.CboOperationSite);
this.panel1.Controls.Add(this.labelSite);
this.panel1.Controls.Add(this.rbosh);
this.panel1.Controls.Add(this.rbosq);
this.panel1.Controls.Add(this.rboall);
@ -206,13 +210,40 @@
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(1081, 45);
this.panel1.Size = new System.Drawing.Size(1184, 45);
this.panel1.TabIndex = 5;
//
// CboOperationSite
//
this.CboOperationSite.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.CboOperationSite.DisplayMember = "Text";
this.CboOperationSite.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.CboOperationSite.Font = new System.Drawing.Font("微软雅黑", 10F);
this.CboOperationSite.FormattingEnabled = true;
this.CboOperationSite.ItemHeight = 19;
this.CboOperationSite.Location = new System.Drawing.Point(897, 12);
this.CboOperationSite.Name = "CboOperationSite";
this.CboOperationSite.Size = new System.Drawing.Size(115, 25);
this.CboOperationSite.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.CboOperationSite.TabIndex = 508;
//
// labelSite
//
this.labelSite.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.labelSite.AutoSize = true;
this.labelSite.BackColor = System.Drawing.SystemColors.Control;
this.labelSite.Font = new System.Drawing.Font("微软雅黑", 10.5F);
this.labelSite.Location = new System.Drawing.Point(831, 14);
this.labelSite.Name = "labelSite";
this.labelSite.Size = new System.Drawing.Size(65, 20);
this.labelSite.TabIndex = 509;
this.labelSite.Text = "手术地点";
this.labelSite.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
//
// rbosh
//
this.rbosh.AutoSize = true;
this.rbosh.Location = new System.Drawing.Point(770, 18);
this.rbosh.Location = new System.Drawing.Point(725, 18);
this.rbosh.Name = "rbosh";
this.rbosh.Size = new System.Drawing.Size(71, 16);
this.rbosh.TabIndex = 506;
@ -224,7 +255,7 @@
// rbosq
//
this.rbosq.AutoSize = true;
this.rbosq.Location = new System.Drawing.Point(718, 18);
this.rbosq.Location = new System.Drawing.Point(673, 18);
this.rbosq.Name = "rbosq";
this.rbosq.Size = new System.Drawing.Size(47, 16);
this.rbosq.TabIndex = 504;
@ -237,7 +268,7 @@
//
this.rboall.AutoSize = true;
this.rboall.Checked = true;
this.rboall.Location = new System.Drawing.Point(665, 18);
this.rboall.Location = new System.Drawing.Point(620, 18);
this.rboall.Name = "rboall";
this.rboall.Size = new System.Drawing.Size(47, 16);
this.rboall.TabIndex = 505;
@ -251,7 +282,7 @@
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("微软雅黑", 11F);
this.label1.Location = new System.Drawing.Point(619, 16);
this.label1.Location = new System.Drawing.Point(574, 16);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(39, 20);
this.label1.TabIndex = 507;
@ -265,7 +296,7 @@
this.btnPreview.FlatAppearance.BorderSize = 0;
this.btnPreview.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnPreview.Font = new System.Drawing.Font("微软雅黑", 11F);
this.btnPreview.Location = new System.Drawing.Point(901, 0);
this.btnPreview.Location = new System.Drawing.Point(1004, 0);
this.btnPreview.Name = "btnPreview";
this.btnPreview.Size = new System.Drawing.Size(90, 45);
this.btnPreview.TabIndex = 503;
@ -577,12 +608,13 @@
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1081, 744);
this.ClientSize = new System.Drawing.Size(1184, 744);
this.Controls.Add(this.flowLayoutPanel1);
this.Controls.Add(this.dgvApplyOrDoctor);
this.Controls.Add(this.panel1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "frmPrintingArrangemen";
this.ShowIcon = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "病人手术安排表";
this.Load += new System.EventHandler(this.frmPrintingArrangemen_Load);
@ -635,5 +667,7 @@
private System.Windows.Forms.RadioButton rbosq;
private System.Windows.Forms.RadioButton rboall;
private System.Windows.Forms.Label label1;
private DevComponents.DotNetBar.Controls.ComboBoxEx CboOperationSite;
private System.Windows.Forms.Label labelSite;
}
}

File diff suppressed because it is too large Load Diff

View File

@ -28,7 +28,9 @@ namespace AIMS.OperationFront.UI
}
private void QuietOperationRecordSheet_Load(object sender, EventArgs e)
{
{
ControlExtension.GetOperationSite(labelSite, CboOperationSite);
this.CboOperationSite.SelectedIndexChanged += new System.EventHandler(this.CboOperationSite_SelectedIndexChanged);
dtpTime.Value = beginTime;
cboOperationRoom.SelectedIndexChanged += new EventHandler(cboOperationRoom_SelectedIndexChanged);
}
@ -103,6 +105,10 @@ namespace AIMS.OperationFront.UI
{
dt = BOperationReview.GetOperationPlanDataTable("OrderOperationTime>='" + dtpTime.Value.ToString("yyyy-MM-dd 00:00:00") + "' and OrderOperationTime<='" + dtpTime.Value.ToString("yyyy-MM-dd 23:59:59") + "' Order By OperationRoomID ,PlanOrder");
}
if (CboOperationSite.Visible == true && CboOperationSite.SelectedIndex > 0)
{
dt = AIMSExtension.PublicMethod.GetNewDataTable(dt, " OperationSite ='" + CboOperationSite.SelectedValue + "' ", "");
}
if (dt == null) return;
FullDgv(dt);
@ -284,5 +290,10 @@ namespace AIMS.OperationFront.UI
}
}
}
private void CboOperationSite_SelectedIndexChanged(object sender, EventArgs e)
{
//ControlExtension.SetOperationSite(CboOperationSite);
cboOperationRoom_SelectedIndexChanged(null, null);
}
}
}

View File

@ -101,6 +101,8 @@ namespace AIMS.OperationFront.UI
this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.CboOperationSite = new DevComponents.DotNetBar.Controls.ComboBoxEx();
this.labelSite = new System.Windows.Forms.Label();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dtpTime)).BeginInit();
this.panel2.SuspendLayout();
@ -109,6 +111,8 @@ namespace AIMS.OperationFront.UI
//
// panel1
//
this.panel1.Controls.Add(this.CboOperationSite);
this.panel1.Controls.Add(this.labelSite);
this.panel1.Controls.Add(this.rbosh);
this.panel1.Controls.Add(this.rbosq);
this.panel1.Controls.Add(this.cboOperationRoom);
@ -129,7 +133,7 @@ namespace AIMS.OperationFront.UI
// rbosh
//
this.rbosh.AutoSize = true;
this.rbosh.Location = new System.Drawing.Point(836, 19);
this.rbosh.Location = new System.Drawing.Point(758, 19);
this.rbosh.Name = "rbosh";
this.rbosh.Size = new System.Drawing.Size(81, 18);
this.rbosh.TabIndex = 1;
@ -141,7 +145,7 @@ namespace AIMS.OperationFront.UI
// rbosq
//
this.rbosq.AutoSize = true;
this.rbosq.Location = new System.Drawing.Point(769, 19);
this.rbosq.Location = new System.Drawing.Point(693, 19);
this.rbosq.Name = "rbosq";
this.rbosq.Size = new System.Drawing.Size(53, 18);
this.rbosq.TabIndex = 0;
@ -154,7 +158,7 @@ namespace AIMS.OperationFront.UI
//
this.cboOperationRoom.Font = new System.Drawing.Font("微软雅黑", 10.5F);
this.cboOperationRoom.FormattingEnabled = true;
this.cboOperationRoom.Location = new System.Drawing.Point(522, 12);
this.cboOperationRoom.Location = new System.Drawing.Point(462, 12);
this.cboOperationRoom.Name = "cboOperationRoom";
this.cboOperationRoom.Size = new System.Drawing.Size(103, 28);
this.cboOperationRoom.Style = DevComponents.DotNetBar.eDotNetBarStyle.OfficeMobile2014;
@ -165,7 +169,7 @@ namespace AIMS.OperationFront.UI
//
this.rboall.AutoSize = true;
this.rboall.Checked = true;
this.rboall.Location = new System.Drawing.Point(702, 19);
this.rboall.Location = new System.Drawing.Point(628, 19);
this.rboall.Name = "rboall";
this.rboall.Size = new System.Drawing.Size(53, 18);
this.rboall.TabIndex = 0;
@ -179,7 +183,7 @@ namespace AIMS.OperationFront.UI
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("微软雅黑", 11F);
this.label1.Location = new System.Drawing.Point(646, 17);
this.label1.Location = new System.Drawing.Point(577, 17);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(39, 20);
this.label1.TabIndex = 501;
@ -190,7 +194,7 @@ namespace AIMS.OperationFront.UI
//
this.label4.AutoSize = true;
this.label4.Font = new System.Drawing.Font("微软雅黑", 11F);
this.label4.Location = new System.Drawing.Point(452, 17);
this.label4.Location = new System.Drawing.Point(396, 17);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(54, 20);
this.label4.TabIndex = 501;
@ -241,7 +245,7 @@ namespace AIMS.OperationFront.UI
this.btnAfterDay.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnAfterDay.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnAfterDay.Font = new System.Drawing.Font("微软雅黑", 11F);
this.btnAfterDay.Location = new System.Drawing.Point(328, 10);
this.btnAfterDay.Location = new System.Drawing.Point(279, 10);
this.btnAfterDay.Name = "btnAfterDay";
this.btnAfterDay.Size = new System.Drawing.Size(105, 34);
this.btnAfterDay.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
@ -260,7 +264,7 @@ namespace AIMS.OperationFront.UI
this.dtpTime.FocusHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(186)))), ((int)(((byte)(179)))));
this.dtpTime.Font = new System.Drawing.Font("微软雅黑", 11.5F);
this.dtpTime.IsPopupCalendarOpen = false;
this.dtpTime.Location = new System.Drawing.Point(134, 13);
this.dtpTime.Location = new System.Drawing.Point(127, 13);
//
//
//
@ -278,7 +282,7 @@ namespace AIMS.OperationFront.UI
//
this.dtpTime.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.dtpTime.Name = "dtpTime";
this.dtpTime.Size = new System.Drawing.Size(180, 28);
this.dtpTime.Size = new System.Drawing.Size(140, 28);
this.dtpTime.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.dtpTime.TabIndex = 497;
this.dtpTime.ValueChanged += new System.EventHandler(this.dtpTime_ValueChanged);
@ -656,6 +660,33 @@ namespace AIMS.OperationFront.UI
this.dataGridViewTextBoxColumn18.HeaderText = "备注";
this.dataGridViewTextBoxColumn18.Name = "dataGridViewTextBoxColumn18";
//
// CboOperationSite
//
this.CboOperationSite.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.CboOperationSite.DisplayMember = "Text";
this.CboOperationSite.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.CboOperationSite.Font = new System.Drawing.Font("微软雅黑", 10F);
this.CboOperationSite.FormattingEnabled = true;
this.CboOperationSite.ItemHeight = 19;
this.CboOperationSite.Location = new System.Drawing.Point(923, 17);
this.CboOperationSite.Name = "CboOperationSite";
this.CboOperationSite.Size = new System.Drawing.Size(115, 25);
this.CboOperationSite.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.CboOperationSite.TabIndex = 510;
//
// labelSite
//
this.labelSite.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.labelSite.AutoSize = true;
this.labelSite.BackColor = System.Drawing.SystemColors.Control;
this.labelSite.Font = new System.Drawing.Font("微软雅黑", 10.5F);
this.labelSite.Location = new System.Drawing.Point(857, 19);
this.labelSite.Name = "labelSite";
this.labelSite.Size = new System.Drawing.Size(65, 20);
this.labelSite.TabIndex = 511;
this.labelSite.Text = "手术地点";
this.labelSite.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
//
// frmSelectiveOperationsPrint
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
@ -733,5 +764,7 @@ namespace AIMS.OperationFront.UI
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn17;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn18;
private DevComponents.DotNetBar.Controls.CheckBoxX checkBoxX1;
private DevComponents.DotNetBar.Controls.ComboBoxEx CboOperationSite;
private System.Windows.Forms.Label labelSite;
}
}

View File

@ -1,10 +1,14 @@
using AIMSModel;
using AIMSBLL;
using AIMSExtension;
using AIMSModel;
using DevComponents.DotNetBar.Controls;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Linq;
using System.Net;
using System.Reflection;
using System.Text;
using System.Windows.Forms;
@ -88,7 +92,7 @@ namespace AIMS
foreach (System.Windows.Forms.Control child in ctrl.Controls)
BindWaterMark(child, Text);
}
public static void BindWaterMark2(this Control ctrl, string Text,int x ,int y,Color color)
public static void BindWaterMark2(this Control ctrl, string Text, int x, int y, Color color)
{
if (ctrl == null || ctrl.IsDisposed)
return;
@ -101,10 +105,10 @@ namespace AIMS
var g = e.Graphics;
g.SmoothingMode = SmoothingMode.AntiAlias;
g.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAlias;
g.DrawString(Text, new Font("微软雅黑", 23, FontStyle.Regular),
new SolidBrush(color),x,y);
new SolidBrush(color), x, y);
};
//// 子控件绑定绘制事件
//foreach (System.Windows.Forms.Control child in ctrl.Controls)
@ -311,5 +315,158 @@ namespace AIMS
}
}
}
public static void GetOperationSite(Label labelSite, ComboBoxEx comboBoxEx)
{
if (PublicMethod.OperationSite.Count <= 2)
{
labelSite.Visible = false;
comboBoxEx.Visible = false;
}
else
{
labelSite.Visible = true;
comboBoxEx.Visible = true;
comboBoxEx.DataSource = PublicMethod.OperationSite;
if (PublicMethod.LastOperationSite != null && PublicMethod.LastOperationSite != "")
{
comboBoxEx.Text = PublicMethod.LastOperationSite;
}
}
}
public static List<OperationRoom> SiteRooms;
public static void GetOperationSiteRoom(Label labelSite, ComboBoxEx comboBoxEx, ComboBox cboRoom)
{
if (PublicMethod.OperationSite.Count == 1)
{
labelSite.Visible = false;
comboBoxEx.Visible = false;
}
else
{
labelSite.Visible = true;
comboBoxEx.Visible = true;
comboBoxEx.DataSource = PublicMethod.OperationSite;
if (PublicMethod.LastOperationSite != null && PublicMethod.LastOperationSite != "")
{
comboBoxEx.Text = PublicMethod.LastOperationSite;
}
}
if (comboBoxEx.Visible == false || comboBoxEx.Text == "")
{
SiteRooms = BOperationRoom.GetOperationRooms("IsValid=1 and Site<>'恢复室'");
SiteRooms.Insert(0, new OperationRoom() { Id = -1, Name = "" });
}
else
{
SiteRooms = BOperationRoom.GetOperationRooms("IsValid=1 and Site='" + comboBoxEx.Text + "'");
SiteRooms.Insert(0, new OperationRoom() { Id = -1, Name = "" });
}
if (cboRoom != null)
{
cboRoom.DataSource = SiteRooms;
cboRoom.DisplayMember = "Name";
cboRoom.ValueMember = "Id";
//判断如果当前手术间编号不为空,则显示当前手术间
OperationRoom oprm = GetOperationRoom(SiteRooms);
if (oprm != null && oprm.Id.Value > 0)
{
cboRoom.SelectedValue = oprm.Id.Value;
cboRoom.Text = oprm.Name.ToString();
}
if (cboRoom.Text == "" && PublicMethod.SelectRoom != 0)
{
cboRoom.SelectedValue = PublicMethod.SelectRoom;
}
}
}
public static OperationRoom GetOperationRoom(List<OperationRoom> list)
{
try
{
//得到计算机名
string strPcName = Dns.GetHostName();
//得到本机IP地址数组
IPHostEntry ipEntry = Dns.GetHostEntry(strPcName);
//遍历数组
foreach (OperationRoom room in list)
{
foreach (var IPadd in ipEntry.AddressList)
{
//判断当前字符串是否为正确IP地址
if (PublicMethod.IsRightIP(IPadd.ToString()))
{
if (room.Ip == IPadd.ToString() || room.Ip2 == IPadd.ToString() || room.Ip3 == IPadd.ToString())
{
return room;
}
}
}
}
return null;
}
catch (Exception)
{
return null;
}
}
public static void SetOperationSite(ComboBoxEx comboBoxEx)
{
if (comboBoxEx.Text != PublicMethod.LastOperationSite)
{
PublicMethod.LastOperationSite = comboBoxEx.Text;
List<string> list = PublicMethod.xmlUse.GetNode("LastOperationSite");
if (list != null && list.Count > 0)
{
PublicMethod.xmlUse.SetNode("LastOperationSite", PublicMethod.LastOperationSite);
}
}
}
public static void SetOperationSiteRoom(ComboBoxEx comboBoxEx, ComboBox cboRoom)
{
if (comboBoxEx.Text != PublicMethod.LastOperationSite)
{
PublicMethod.LastOperationSite = comboBoxEx.Text;
PublicMethod.SelectRoom = 0;
List<string> list = PublicMethod.xmlUse.GetNode("LastOperationSite");
if (list != null && list.Count > 0)
{
PublicMethod.xmlUse.SetNode("LastOperationSite", PublicMethod.LastOperationSite);
}
}
if (comboBoxEx.Visible == false || comboBoxEx.Text == "")
{
SiteRooms = BOperationRoom.GetOperationRooms("IsValid=1 and Site<>'恢复室'");
SiteRooms.Insert(0, new OperationRoom() { Id = -1, Name = "" });
}
else
{
SiteRooms = BOperationRoom.GetOperationRooms("IsValid=1 and Site='" + comboBoxEx.Text + "'");
SiteRooms.Insert(0, new OperationRoom() { Id = -1, Name = "" });
}
if (cboRoom != null)
{
cboRoom.DataSource = SiteRooms;
cboRoom.DisplayMember = "Name";
cboRoom.ValueMember = "Id";
//判断如果当前手术间编号不为空,则显示当前手术间
OperationRoom oprm = GetOperationRoom(SiteRooms);
if (oprm != null && oprm.Id.Value > 0)
{
cboRoom.SelectedValue = oprm.Id.Value;
cboRoom.Text = oprm.Name.ToString();
}
if (cboRoom.Text == "" && PublicMethod.SelectRoom != 0)
{
cboRoom.SelectedValue = PublicMethod.SelectRoom;
}
}
}
}
}

View File

@ -51,7 +51,7 @@ namespace AIMSBLL
public static DataTable GetOperationFrontDataTable(string BegInData, string EndData)
{
return DOperationApply.GetOperationFrontDataTable(BegInData, EndData);
}
}
public static DataTable GetOperationFrontDataTableByPlanOperationTime(string BegInData, string EndData)
{
return DOperationApply.GetOperationFrontDataTableByPlanOperationTime(BegInData, EndData);

View File

@ -14,7 +14,7 @@ namespace AIMSBLL
{
DOperationRoom.Add(OperationRoomObj);
}
public static OperationRoom GetModel(int Id)
{
@ -33,5 +33,17 @@ namespace AIMSBLL
{
return DOperationRoom.GetOperationRoomIdByName(Name);
}
public static List<string> GetOperationSite()
{
List<string> list = new List<string>();
list.Add("");
string strSql = "SELECT Site FROM OperationRoom where Site<>'恢复室' group by Site";
DataTable dt = HelperDB.DbHelperSQL.GetDataTable(strSql);
foreach (DataRow item in dt.Rows)
{
list.Add(item[0].ToString());
}
return list;
}
}
}

View File

@ -208,11 +208,7 @@ namespace AIMSDAL
if (ds.Tables[0].Rows[0]["OrderNo"].ToString() != "")
{
OperationApplyObj.OrderNo = ds.Tables[0].Rows[0]["OrderNo"].ToString() ;
}
if (ds.Tables[0].Rows[0]["OperationSite"].ToString() != "")
{
OperationApplyObj.OperationSite = ds.Tables[0].Rows[0]["OperationSite"].ToString() ;
}
}
}
return OperationApplyObj;
}
@ -252,7 +248,7 @@ namespace AIMSDAL
"of1.VerifyTime, of1.VerifyOperatorName," +
"of1.PlanOperationTime, of1.OperationRoom, of1.AnesthesiaDoctor," +
"of1.InstrumentNurse, of1.TourNurse, of1.AnesthesiaDoctorSucceed," +
"of1.InstrumentNurseSucceed, of1.TourNurseSucceed,of1.ASA,of1.HeartFunctionLevel,of1.IsFasting, of1.Remark,ApplyDiagnoseInfoId,ApplyOperationInfoId ,of1.PlanOrder,of1.OperationRoomId ,of1.MedicalRecord,of1.PatientType,of1.HISPatientId,of1.VisitTimes " +//,of1.Address
"of1.InstrumentNurseSucceed, of1.TourNurseSucceed,of1.ASA,of1.HeartFunctionLevel,of1.IsFasting, of1.Remark,ApplyDiagnoseInfoId,ApplyOperationInfoId ,of1.PlanOrder,of1.OperationRoomId ,of1.MedicalRecord,of1.PatientType,of1.HISPatientId,of1.VisitTimes ,of1.OperationSite " +//,of1.Address
"FROM V_OperationFront of1 WHERE of1.PatientId='" + PatientId + "'";
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
}
@ -272,11 +268,11 @@ namespace AIMSDAL
"of1.VerifyTime, of1.VerifyOperatorName," +
"of1.PlanOperationTime, of1.OperationRoom, of1.OperationRoomId, of1.AnesthesiaDoctor," +
"of1.InstrumentNurse, of1.TourNurse, of1.AnesthesiaDoctorSucceed," +
"of1.InstrumentNurseSucceed, of1.TourNurseSucceed,of1.Remark,of1.PlanOrder,of1.PatientType,of1.AnesthesiaDoctorId,of1.InstrumentNurseId,of1.TourNurseId " +
"of1.InstrumentNurseSucceed, of1.TourNurseSucceed,of1.Remark,of1.PlanOrder,of1.PatientType,of1.AnesthesiaDoctorId,of1.InstrumentNurseId,of1.TourNurseId ,of1.OperationSite " +
"FROM V_OperationFront of1 WHERE of1.OrderOperationTime>='" + BegInData + "' and of1.OrderOperationTime<'" + EndData + "' order by OrderOperationTime asc,OperationRoomId,PlanOrder asc";
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
}
public static DataTable GetOperationFrontDataTableByPlanOperationTime(string BegInData, string EndData)
{
string strSql = "SELECT of1.ApplyId,of1.PatientId, of1.MdrecNo, of1.ArchivesNo, of1.PatientName,of1.ApplyDepName, of1.PatientKind," +
@ -292,7 +288,7 @@ namespace AIMSDAL
"of1.VerifyTime, of1.VerifyOperatorName," +
"of1.PlanOperationTime, of1.OperationRoom, of1.AnesthesiaDoctor," +
"of1.InstrumentNurse, of1.TourNurse, of1.AnesthesiaDoctorSucceed," +
"of1.InstrumentNurseSucceed, of1.TourNurseSucceed,of1.Remark,of1.PlanOrder,of1.PatientType " +
"of1.InstrumentNurseSucceed, of1.TourNurseSucceed,of1.Remark,of1.PlanOrder,of1.PatientType ,of1.OperationSite " +
"FROM V_OperationFront of1 WHERE of1.PlanOperationTime>='" + BegInData + "' and of1.PlanOperationTime<'" + EndData + "' order by OperationRoomId,PlanOrder asc";
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
}

View File

@ -40,7 +40,7 @@ namespace AIMSBLL
public static DataTable GetOperationPlanDataTable(string ApplyId)
{
string strSql = "SELECT of1.ApplyId,OperationRoom,PlanOrder ,OrderOperationTime , of1.ApplyDepName,of1.SickBed, of1.MdrecNo, of1.PatientName, of1.Sex, of1.Age,of1.ApplyDiagnoseInfoName, of1.ApplyOperationInfoName,of1.OperationDoctor, of1.Assistant1 Assistant, " +
" of1.AnaesthesiaMethodName , of1.AnesthesiaDoctor , of1.InstrumentNurse , of1.TourNurse , of1.Remark ,of1.OperationType " +
" of1.AnaesthesiaMethodName , of1.AnesthesiaDoctor , of1.InstrumentNurse , of1.TourNurse , of1.Remark ,of1.OperationType,of1.OperationSite " +
" FROM V_OperationFront of1 WHERE " + ApplyId + " ";
return HelperDB.DbHelperSQL.GetDataTable(strSql);
}

View File

@ -8,23 +8,69 @@ using System.Runtime.InteropServices;
using System.Security.Cryptography;
using System.Text;
using System.Text.RegularExpressions;
using System.Windows.Forms;
namespace AIMSExtension
{
public class PublicMethod
{
/// <summary>
/// 医院名称
/// </summary>
public static string HospitalName;
/// <summary>
/// 操作人Id
/// </summary>
public static int OperatorId = 1;
/// <summary>
/// 操作人工号
/// </summary>
public static string OperatorNo = "admin";
/// <summary>
/// 操作人姓名
/// </summary>
public static string OperatorName = "admin";
/// <summary>
/// 科室名称
/// </summary>
public static string DeptName = "";
/// <summary>
/// 科室Id
/// </summary>
public static int DepId = 0;
/// <summary>
/// 角色Id
/// </summary>
public static int RoleId = 0;
/// <summary>
/// 菜单权限设置
/// </summary>
public static List<string> RoleName;
/// <summary>
/// 手术地点
/// </summary>
public static List<string> OperationSite;
public static int PermissionLevel = 0;
/// <summary>
/// 版本号
/// </summary>
public static string NowVersion;
public static int SelectRoom;
/// <summary>
/// 本机Ip
/// </summary>
public static string LocalIP;
/// <summary>
/// 最后操作手术地点
/// </summary>
public static string LastOperationSite;
/// <summary>
/// 最后操作手术间
/// </summary>
public static int SelectRoom;
/// <summary>
/// 配置文件
/// </summary>
public static XmlUse xmlUse = new XmlUse(Application.StartupPath + "\\AIMS.xml");
[DllImport("kernel32.dll", SetLastError = true)]
public static extern int SetLocalTime(ref SystemTime lpSystemTime);

View File

@ -321,6 +321,7 @@ namespace DrawGraph
pdNew.Value = -1;
txtNum.Tag = pdNew;
TempValue = "";
ZedControl.Refresh();
}
else if (txtNum.Text.Trim() != "" && pdNew.Value > -1)
{
@ -336,6 +337,7 @@ namespace DrawGraph
pdNew.config.ModifyItem(pdNew, pdNew);
txtNum.Tag = pdNew;
TempValue = txtNum.Text.Trim();
ZedControl.Refresh();
}
}
}
@ -351,6 +353,7 @@ namespace DrawGraph
pdNew.config.AddPointItem(pdNew);
txtNum.Tag = pdNew;
TempValue = txtNum.Text.Trim();
ZedControl.Refresh();
}
}
}