排班人员显示
收费功能界面
This commit is contained in:
parent
0b494f23b6
commit
95e004d120
@ -348,6 +348,12 @@
|
||||
<Compile Include="OperationDoing\oldSystemCode\frmAnasRecordHistory.designer.cs">
|
||||
<DependentUpon>frmAnasRecordHistory.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OperationDoing\oldSystemCode\frmChargRecordPrint.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OperationDoing\oldSystemCode\frmChargRecordPrint.designer.cs">
|
||||
<DependentUpon>frmChargRecordPrint.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OperationDoing\oldSystemCode\frmGoodsBillRecord.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
@ -408,6 +414,12 @@
|
||||
<Compile Include="OperationDoing\oldSystemCode\frmTR.designer.cs">
|
||||
<DependentUpon>frmTR.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OremrUserControl\PrescriptionDocument.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OremrUserControl\PrescriptionDocument.Designer.cs">
|
||||
<DependentUpon>PrescriptionDocument.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OperationDoing\oldSystemCode\PublicToDoument.cs" />
|
||||
<Compile Include="OperationFront\UI\ButtonCustomItem.cs">
|
||||
<SubType>Component</SubType>
|
||||
@ -507,6 +519,9 @@
|
||||
<Compile Include="OperationDoing\AnasRecordBill\frmFactOutputLiquidsNew.Designer.cs">
|
||||
<DependentUpon>frmFactOutputLiquidsNew.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OremrUserControl\UText.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="PublicUI\frmAnaesthesiaDrugSelect.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
@ -1140,6 +1155,9 @@
|
||||
<EmbeddedResource Include="OperationDoing\oldSystemCode\frmAnasRecordHistory.resx">
|
||||
<DependentUpon>frmAnasRecordHistory.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OperationDoing\oldSystemCode\frmChargRecordPrint.resx">
|
||||
<DependentUpon>frmChargRecordPrint.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OperationDoing\oldSystemCode\frmGoodsBillRecord.resx">
|
||||
<DependentUpon>frmGoodsBillRecord.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
@ -1170,6 +1188,9 @@
|
||||
<EmbeddedResource Include="OperationDoing\oldSystemCode\frmTR.resx">
|
||||
<DependentUpon>frmTR.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OremrUserControl\PrescriptionDocument.resx">
|
||||
<DependentUpon>PrescriptionDocument.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OperationFront\UI\frmSchedulePlan2.resx">
|
||||
<DependentUpon>frmSchedulePlan2.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
@ -1433,9 +1454,7 @@
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
<None Include="Template\手术清点记录单.xlsx">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="Template\手术清点记录单.xlsx" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="aims.ico" />
|
||||
|
||||
@ -2,6 +2,6 @@
|
||||
<AtuoUpdate>
|
||||
<!--<ConnectionString>Data Source=tx.wulvshi.cn;Initial Catalog=AIMSDB_SXTLYY;User ID=sa;Password=Test2020;</ConnectionString>-->
|
||||
<ConnectionString>Data Source=.;Initial Catalog=AIMSDB_SXTLYY;User ID=sa;Password=Test2020;</ConnectionString>
|
||||
<DataConnectionString>Data Source=.;Initial Catalog=AIMSDB_DATA;User ID=sa;Password=123456;</DataConnectionString>
|
||||
<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>
|
||||
</AtuoUpdate>
|
||||
|
||||
@ -46,6 +46,7 @@
|
||||
this.btnOperationInfo = new System.Windows.Forms.Button();
|
||||
this.btnSelectPatient = new System.Windows.Forms.Button();
|
||||
this.panel4 = new System.Windows.Forms.Panel();
|
||||
this.btnChage = new System.Windows.Forms.Button();
|
||||
this.lblSpo2 = new System.Windows.Forms.Label();
|
||||
this.lblRESP = new System.Windows.Forms.Label();
|
||||
this.lblDia = new System.Windows.Forms.Label();
|
||||
@ -440,6 +441,7 @@
|
||||
// panel4
|
||||
//
|
||||
this.panel4.BackColor = System.Drawing.Color.White;
|
||||
this.panel4.Controls.Add(this.btnChage);
|
||||
this.panel4.Controls.Add(this.lblSpo2);
|
||||
this.panel4.Controls.Add(this.lblRESP);
|
||||
this.panel4.Controls.Add(this.lblDia);
|
||||
@ -469,12 +471,33 @@
|
||||
this.panel4.Size = new System.Drawing.Size(160, 859);
|
||||
this.panel4.TabIndex = 3;
|
||||
//
|
||||
// btnChage
|
||||
//
|
||||
this.btnChage.BackColor = System.Drawing.Color.Transparent;
|
||||
this.btnChage.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
|
||||
this.btnChage.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnChage.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.btnChage.FlatAppearance.BorderSize = 0;
|
||||
this.btnChage.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btnChage.Font = new System.Drawing.Font("微软雅黑", 11F);
|
||||
this.btnChage.ForeColor = System.Drawing.Color.DimGray;
|
||||
this.btnChage.Image = global::AIMS.Properties.Resources.麻醉医嘱;
|
||||
this.btnChage.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.btnChage.Location = new System.Drawing.Point(0, 459);
|
||||
this.btnChage.Name = "btnChage";
|
||||
this.btnChage.Size = new System.Drawing.Size(160, 50);
|
||||
this.btnChage.TabIndex = 24;
|
||||
this.btnChage.Text = " 收费记录";
|
||||
this.btnChage.UseVisualStyleBackColor = false;
|
||||
this.btnChage.Visible = false;
|
||||
this.btnChage.Click += new System.EventHandler(this.btnChage_Click);
|
||||
//
|
||||
// lblSpo2
|
||||
//
|
||||
this.lblSpo2.AutoSize = true;
|
||||
this.lblSpo2.Font = new System.Drawing.Font("微软雅黑", 23F);
|
||||
this.lblSpo2.ForeColor = System.Drawing.Color.Teal;
|
||||
this.lblSpo2.Location = new System.Drawing.Point(63, 408);
|
||||
this.lblSpo2.Location = new System.Drawing.Point(63, 399);
|
||||
this.lblSpo2.Name = "lblSpo2";
|
||||
this.lblSpo2.Size = new System.Drawing.Size(43, 40);
|
||||
this.lblSpo2.TabIndex = 9;
|
||||
@ -485,7 +508,7 @@
|
||||
this.lblRESP.AutoSize = true;
|
||||
this.lblRESP.Font = new System.Drawing.Font("微软雅黑", 23F);
|
||||
this.lblRESP.ForeColor = System.Drawing.Color.Teal;
|
||||
this.lblRESP.Location = new System.Drawing.Point(63, 317);
|
||||
this.lblRESP.Location = new System.Drawing.Point(63, 308);
|
||||
this.lblRESP.Name = "lblRESP";
|
||||
this.lblRESP.Size = new System.Drawing.Size(43, 40);
|
||||
this.lblRESP.TabIndex = 7;
|
||||
@ -496,7 +519,7 @@
|
||||
this.lblDia.AutoSize = true;
|
||||
this.lblDia.Font = new System.Drawing.Font("微软雅黑", 23F);
|
||||
this.lblDia.ForeColor = System.Drawing.Color.Teal;
|
||||
this.lblDia.Location = new System.Drawing.Point(43, 226);
|
||||
this.lblDia.Location = new System.Drawing.Point(43, 217);
|
||||
this.lblDia.Name = "lblDia";
|
||||
this.lblDia.Size = new System.Drawing.Size(82, 40);
|
||||
this.lblDia.TabIndex = 5;
|
||||
@ -507,7 +530,7 @@
|
||||
this.lblPR.AutoSize = true;
|
||||
this.lblPR.Font = new System.Drawing.Font("微软雅黑", 23F);
|
||||
this.lblPR.ForeColor = System.Drawing.Color.Teal;
|
||||
this.lblPR.Location = new System.Drawing.Point(63, 135);
|
||||
this.lblPR.Location = new System.Drawing.Point(63, 126);
|
||||
this.lblPR.Name = "lblPR";
|
||||
this.lblPR.Size = new System.Drawing.Size(43, 40);
|
||||
this.lblPR.TabIndex = 3;
|
||||
@ -518,7 +541,7 @@
|
||||
this.lblHR.AutoSize = true;
|
||||
this.lblHR.Font = new System.Drawing.Font("微软雅黑", 23F);
|
||||
this.lblHR.ForeColor = System.Drawing.Color.Teal;
|
||||
this.lblHR.Location = new System.Drawing.Point(63, 44);
|
||||
this.lblHR.Location = new System.Drawing.Point(63, 35);
|
||||
this.lblHR.Name = "lblHR";
|
||||
this.lblHR.Size = new System.Drawing.Size(43, 40);
|
||||
this.lblHR.TabIndex = 1;
|
||||
@ -670,7 +693,7 @@
|
||||
this.label9.BackColor = System.Drawing.Color.White;
|
||||
this.label9.Font = new System.Drawing.Font("微软雅黑", 12.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label9.ForeColor = System.Drawing.Color.DimGray;
|
||||
this.label9.Location = new System.Drawing.Point(37, 382);
|
||||
this.label9.Location = new System.Drawing.Point(37, 376);
|
||||
this.label9.Name = "label9";
|
||||
this.label9.Size = new System.Drawing.Size(95, 24);
|
||||
this.label9.TabIndex = 10;
|
||||
@ -682,7 +705,7 @@
|
||||
this.label8.BackColor = System.Drawing.Color.White;
|
||||
this.label8.Font = new System.Drawing.Font("微软雅黑", 12.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label8.ForeColor = System.Drawing.Color.DimGray;
|
||||
this.label8.Location = new System.Drawing.Point(29, 291);
|
||||
this.label8.Location = new System.Drawing.Point(29, 285);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(110, 24);
|
||||
this.label8.TabIndex = 8;
|
||||
@ -694,7 +717,7 @@
|
||||
this.label6.BackColor = System.Drawing.Color.White;
|
||||
this.label6.Font = new System.Drawing.Font("微软雅黑", 12.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label6.ForeColor = System.Drawing.Color.DimGray;
|
||||
this.label6.Location = new System.Drawing.Point(21, 200);
|
||||
this.label6.Location = new System.Drawing.Point(21, 194);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(127, 24);
|
||||
this.label6.TabIndex = 4;
|
||||
@ -706,7 +729,7 @@
|
||||
this.label10.BackColor = System.Drawing.Color.White;
|
||||
this.label10.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label10.ForeColor = System.Drawing.Color.DimGray;
|
||||
this.label10.Location = new System.Drawing.Point(49, 450);
|
||||
this.label10.Location = new System.Drawing.Point(49, 441);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(70, 17);
|
||||
this.label10.TabIndex = 2;
|
||||
@ -718,7 +741,7 @@
|
||||
this.label7.BackColor = System.Drawing.Color.White;
|
||||
this.label7.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label7.ForeColor = System.Drawing.Color.DimGray;
|
||||
this.label7.Location = new System.Drawing.Point(47, 359);
|
||||
this.label7.Location = new System.Drawing.Point(47, 350);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(74, 17);
|
||||
this.label7.TabIndex = 2;
|
||||
@ -730,7 +753,7 @@
|
||||
this.label5.BackColor = System.Drawing.Color.White;
|
||||
this.label5.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label5.ForeColor = System.Drawing.Color.DimGray;
|
||||
this.label5.Location = new System.Drawing.Point(39, 268);
|
||||
this.label5.Location = new System.Drawing.Point(39, 259);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(91, 17);
|
||||
this.label5.TabIndex = 2;
|
||||
@ -742,7 +765,7 @@
|
||||
this.label3.BackColor = System.Drawing.Color.White;
|
||||
this.label3.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label3.ForeColor = System.Drawing.Color.DimGray;
|
||||
this.label3.Location = new System.Drawing.Point(44, 177);
|
||||
this.label3.Location = new System.Drawing.Point(44, 168);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(81, 17);
|
||||
this.label3.TabIndex = 2;
|
||||
@ -754,7 +777,7 @@
|
||||
this.label2.BackColor = System.Drawing.Color.White;
|
||||
this.label2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label2.ForeColor = System.Drawing.Color.DimGray;
|
||||
this.label2.Location = new System.Drawing.Point(44, 86);
|
||||
this.label2.Location = new System.Drawing.Point(44, 77);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(81, 17);
|
||||
this.label2.TabIndex = 2;
|
||||
@ -766,7 +789,7 @@
|
||||
this.label4.BackColor = System.Drawing.Color.White;
|
||||
this.label4.Font = new System.Drawing.Font("微软雅黑", 12.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label4.ForeColor = System.Drawing.Color.DimGray;
|
||||
this.label4.Location = new System.Drawing.Point(29, 109);
|
||||
this.label4.Location = new System.Drawing.Point(29, 103);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(110, 24);
|
||||
this.label4.TabIndex = 2;
|
||||
@ -778,7 +801,7 @@
|
||||
this.label1.BackColor = System.Drawing.Color.White;
|
||||
this.label1.Font = new System.Drawing.Font("微软雅黑", 12.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label1.ForeColor = System.Drawing.Color.DimGray;
|
||||
this.label1.Location = new System.Drawing.Point(29, 18);
|
||||
this.label1.Location = new System.Drawing.Point(29, 12);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(110, 24);
|
||||
this.label1.TabIndex = 0;
|
||||
@ -1921,5 +1944,6 @@
|
||||
private System.Windows.Forms.Label label7;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Button btnChage;
|
||||
}
|
||||
}
|
||||
@ -74,6 +74,12 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
|
||||
private void frmAnasRecordBillNew_Load(object sender, EventArgs e)
|
||||
{
|
||||
//系统演示 收费功能
|
||||
if (PublicMethod.OperatorNo=="admin")
|
||||
{
|
||||
btnChage.Visible = true;
|
||||
}
|
||||
|
||||
labOperatorName.Text = "(" + AIMSExtension.PublicMethod.OperatorNo + ")" + " " + AIMSExtension.PublicMethod.OperatorName;
|
||||
if (NowRoom != null) lblRoom.Text = NowRoom.Name;
|
||||
circularProgress1.Location = new Point((panel8.Width - circularProgress1.Width) / 2, (panel8.Height - circularProgress1.Height) / 2);
|
||||
@ -1874,7 +1880,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
|
||||
private void btnsjzx_Click(object sender, EventArgs e)
|
||||
{
|
||||
MessageBox.Show("该功能正在维护 。。。", "系统提示");
|
||||
MessageBox.Show("未连接到服务器 请联系管理员或稍后再试!", "系统提示");
|
||||
}
|
||||
private void btnqxqd_Click(object sender, EventArgs e)
|
||||
{
|
||||
@ -1887,6 +1893,13 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
|
||||
frm.BringToFront();
|
||||
}
|
||||
}
|
||||
private void btnChage_Click(object sender, EventArgs e)
|
||||
{
|
||||
frmChargRecordPrint frmchargRecord = new frmChargRecordPrint(_record);
|
||||
frmchargRecord.TemplateType = "麻醉";
|
||||
frmchargRecord.Show();
|
||||
frmchargRecord.BringToFront();
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
57
AIMS/OperationDoing/oldSystemCode/frmChargRecordPrint.cs
Normal file
57
AIMS/OperationDoing/oldSystemCode/frmChargRecordPrint.cs
Normal file
@ -0,0 +1,57 @@
|
||||
using AIMS.PublicUI.BLL;
|
||||
using DevComponents.DotNetBar;
|
||||
using DrawGraph;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Printing;
|
||||
using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AIMS.OperationDoing.AnasRecordBill
|
||||
{
|
||||
public partial class frmChargRecordPrint : Form
|
||||
{
|
||||
#region 公共成员
|
||||
public OperationRecord _operationRecord;
|
||||
public Person _worker;
|
||||
public string TemplateType;
|
||||
public string DeptId;
|
||||
public string OpDrugs;
|
||||
public DateTime? OperatorTime;
|
||||
#endregion
|
||||
|
||||
public frmChargRecordPrint(OperationRecord operationRecord)
|
||||
{
|
||||
InitializeComponent();
|
||||
_operationRecord = operationRecord;
|
||||
}
|
||||
|
||||
private void frmChargRecordPrint_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
lblName.Text = _operationRecord.Name;
|
||||
lblInHospitalNo.Text = _operationRecord.InHospitalNo;
|
||||
labsex.Text = _operationRecord.Sex;
|
||||
}
|
||||
|
||||
private void buttonX2_Click(object sender, EventArgs e)
|
||||
{
|
||||
dgvOrders.ClearSelection();
|
||||
PrescriptionDocument doc = new PrescriptionDocument(_operationRecord, dgvtEMPOperationInfos.CurrentRow);
|
||||
doc.Location = new Point(15, 0);
|
||||
panelAnescost.Controls.Add(doc);
|
||||
dgvChargsRecord.Visible = false;
|
||||
}
|
||||
|
||||
private void btnClose_Click(object sender, EventArgs e)
|
||||
{
|
||||
label113.Text = "麻醉收费";
|
||||
dgvOrders.Tag = null;
|
||||
dgvOrders.DataSource = null;
|
||||
dgvChargsRecord.Visible = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
1259
AIMS/OperationDoing/oldSystemCode/frmChargRecordPrint.designer.cs
generated
Normal file
1259
AIMS/OperationDoing/oldSystemCode/frmChargRecordPrint.designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
1313
AIMS/OperationDoing/oldSystemCode/frmChargRecordPrint.resx
Normal file
1313
AIMS/OperationDoing/oldSystemCode/frmChargRecordPrint.resx
Normal file
File diff suppressed because it is too large
Load Diff
@ -3914,7 +3914,7 @@ namespace AIMS.OperationFront.UI
|
||||
}
|
||||
public void ClearSelectDoctor()
|
||||
{
|
||||
if (RoomCardManage.SelectIds.Count > 0)
|
||||
if (RoomCardManage.SelectIds != null && RoomCardManage.SelectIds.Count > 0)
|
||||
for (int i = 0; i < RoomCardManage.SelectDgv.Rows.Count;)
|
||||
{
|
||||
DataGridViewRow row = RoomCardManage.SelectDgv.Rows[i];
|
||||
@ -4063,8 +4063,8 @@ namespace AIMS.OperationFront.UI
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
private void ToolStripItem2_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (selApply == null || selApply == "") return;
|
||||
@ -4132,7 +4132,7 @@ namespace AIMS.OperationFront.UI
|
||||
{
|
||||
FrmScheduling2 fw = new FrmScheduling2();
|
||||
fw.Show();
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Ñ¡ÔñÉêÇë»òÈËÔ±
|
||||
@ -4267,12 +4267,12 @@ namespace AIMS.OperationFront.UI
|
||||
}
|
||||
if (_workerType == workerType.AnesthesiaDoctor)
|
||||
{
|
||||
SchedulingTable = AIMS.PublicUI.BLL.Person.GetPersonDataTableByDepId(MZKDept[0].Id.Value, "", "麻醉医生");
|
||||
SchedulingTable = AIMS.PublicUI.BLL.Person.GetSchedulingForSelect(dtpSearchTime.Value, "麻醉医生");//MZKDept[0].Id.Value
|
||||
RoomCardManage.SelectDgv.DataSource = SchedulingTable;
|
||||
}
|
||||
else
|
||||
{
|
||||
SchedulingTable = AIMS.PublicUI.BLL.Person.GetPersonDataTableByDepId(SSSDept[0].Id.Value, "", "护士");
|
||||
SchedulingTable = AIMS.PublicUI.BLL.Person.GetSchedulingForSelect(dtpSearchTime.Value, "护士");//SSSDept[0].Id.Value
|
||||
RoomCardManage.SelectDgv.DataSource = SchedulingTable;
|
||||
}
|
||||
}
|
||||
|
||||
1147
AIMS/OremrUserControl/PrescriptionDocument.Designer.cs
generated
Normal file
1147
AIMS/OremrUserControl/PrescriptionDocument.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
62
AIMS/OremrUserControl/PrescriptionDocument.cs
Normal file
62
AIMS/OremrUserControl/PrescriptionDocument.cs
Normal file
@ -0,0 +1,62 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using System.Drawing.Printing;
|
||||
using Newtonsoft.Json;
|
||||
using System.IO;
|
||||
using DrawGraph;
|
||||
using AIMS.PublicUI.BLL;
|
||||
using AIMSModel;
|
||||
|
||||
namespace AIMS.OperationDoing.AnasRecordBill
|
||||
{
|
||||
public partial class PrescriptionDocument : UserControl
|
||||
{
|
||||
public string type;
|
||||
public Drugs Drug;
|
||||
public OperationRecord _operationRecord;
|
||||
public List<JsonTextForDoc> list;
|
||||
public DataGridViewRow CurrentRow;
|
||||
public int DrugCount;
|
||||
|
||||
public PrescriptionDocument(OperationRecord operationRecord, DataGridViewRow _CurrentRow )
|
||||
{
|
||||
InitializeComponent();
|
||||
_operationRecord = operationRecord;
|
||||
|
||||
CurrentRow = _CurrentRow;
|
||||
InitializeData();
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 赋值
|
||||
/// </summary>
|
||||
private void InitializeData()
|
||||
{
|
||||
}
|
||||
private void flowLayoutPanel1_Paint(object sender, PaintEventArgs e)
|
||||
{
|
||||
Pen pen = new Pen(Color.Black);
|
||||
PointF rowPt1 = new PointF(310, 75);
|
||||
PointF rowPt2 = new PointF(150, 150);
|
||||
e.Graphics.DrawLine(pen, rowPt1, rowPt2);
|
||||
}
|
||||
|
||||
|
||||
private void labDate_DoubleClick(object sender, EventArgs e)
|
||||
{
|
||||
labDate.Text = DateTime.Now.ToString("yyyy年MM月dd日");
|
||||
}
|
||||
|
||||
private void txtOrderNo_DoubleClick(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
120
AIMS/OremrUserControl/PrescriptionDocument.resx
Normal file
120
AIMS/OremrUserControl/PrescriptionDocument.resx
Normal file
@ -0,0 +1,120 @@
|
||||
<?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>
|
||||
</root>
|
||||
218
AIMS/OremrUserControl/UText.cs
Normal file
218
AIMS/OremrUserControl/UText.cs
Normal file
@ -0,0 +1,218 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AIMS.OremrUserControl
|
||||
{
|
||||
|
||||
public class UText : TextBox
|
||||
{
|
||||
private const int WM_PAINT = 15;
|
||||
|
||||
private const int WM_CTLCOLOREDIT = 307;
|
||||
|
||||
private const int WM_SETFOCUS = 7;
|
||||
|
||||
private IContainer components = null;
|
||||
|
||||
private CheckedListBox checkedListBox1 = null;
|
||||
|
||||
private TextBox textBox1;
|
||||
|
||||
private Button button1;
|
||||
|
||||
private Button button2;
|
||||
|
||||
private string dictionaryKey = "";
|
||||
|
||||
private bool isUpdateDictionary = false;
|
||||
|
||||
private bool isFindDictionray = false;
|
||||
|
||||
public bool IsFindDictionray
|
||||
{
|
||||
get
|
||||
{
|
||||
return isFindDictionray;
|
||||
}
|
||||
set
|
||||
{
|
||||
isFindDictionray = value;
|
||||
}
|
||||
}
|
||||
|
||||
public string DictionaryKey
|
||||
{
|
||||
get
|
||||
{
|
||||
return dictionaryKey;
|
||||
}
|
||||
set
|
||||
{
|
||||
dictionaryKey = value;
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsUpdateDictionary
|
||||
{
|
||||
get
|
||||
{
|
||||
return isUpdateDictionary;
|
||||
}
|
||||
set
|
||||
{
|
||||
isUpdateDictionary = value;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public CheckedListBox GetListBox()
|
||||
{
|
||||
return checkedListBox1;
|
||||
}
|
||||
|
||||
public TextBox GetTestBox()
|
||||
{
|
||||
return textBox1;
|
||||
}
|
||||
|
||||
[DllImport("User32.dll")]
|
||||
public static extern IntPtr GetWindowDC(IntPtr hWnd);
|
||||
|
||||
[DllImport("User32.dll")]
|
||||
public static extern int ReleaseDC(IntPtr hWnd, IntPtr hDC);
|
||||
|
||||
public UText()
|
||||
{
|
||||
InitializeComponent();
|
||||
base.BorderStyle = BorderStyle.None;
|
||||
BackColor = SystemColors.Control;
|
||||
base.DoubleClick += this_DoubleClick;
|
||||
checkedListBox1 = new CheckedListBox();
|
||||
checkedListBox1.FormattingEnabled = true;
|
||||
checkedListBox1.HorizontalScrollbar = true;
|
||||
checkedListBox1.ScrollAlwaysVisible = true;
|
||||
checkedListBox1.Items.AddRange(new object[0]);
|
||||
checkedListBox1.Name = "checkedListBox1";
|
||||
checkedListBox1.TabIndex = 6;
|
||||
checkedListBox1.CheckOnClick = true;
|
||||
textBox1 = new TextBox();
|
||||
textBox1.Name = "textBox1";
|
||||
textBox1.TabIndex = 7;
|
||||
button2 = new Button();
|
||||
button2.Name = "button1";
|
||||
button2.TabIndex = 8;
|
||||
button2.Text = "确定";
|
||||
button2.UseVisualStyleBackColor = true;
|
||||
button2.Font = new Font("宋体", 9f);
|
||||
button2.Click += button2_Click;
|
||||
button1 = new Button();
|
||||
button1.Name = "button1";
|
||||
button1.TabIndex = 8;
|
||||
button1.Text = "+";
|
||||
button1.UseVisualStyleBackColor = true;
|
||||
button1.Font = new Font("宋体", 13f);
|
||||
button1.Click += button_Click;
|
||||
contVisible(isVisible: false);
|
||||
}
|
||||
|
||||
private void button_Click(object sender, EventArgs e)
|
||||
{
|
||||
}
|
||||
|
||||
protected override void WndProc(ref Message m)
|
||||
{
|
||||
base.WndProc(ref m);
|
||||
int msg = m.Msg;
|
||||
if (msg != 15 && msg != 307)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
IntPtr windowDC = GetWindowDC(base.Handle);
|
||||
if (windowDC.ToInt32() != 0)
|
||||
{
|
||||
Graphics g = Graphics.FromHdc(windowDC);
|
||||
drawBottomLine(g);
|
||||
}
|
||||
|
||||
m.Result = IntPtr.Zero;
|
||||
ReleaseDC(m.HWnd, windowDC);
|
||||
}
|
||||
|
||||
private void drawBottomLine(Graphics g)
|
||||
{
|
||||
Pen pen = new Pen(BackColor, 2f);
|
||||
g.DrawRectangle(pen, -1, -1, base.Width, base.Height);
|
||||
pen = new Pen(Color.FromArgb(0, 0, 0), 1f);
|
||||
g.DrawLine(pen, 0, base.Height - 1, base.Width, base.Height - 1);
|
||||
base.Parent.Controls.Add(button2);
|
||||
button2.Location = new Point(base.Left + base.Width - 46, base.Top + base.Height + 2);
|
||||
button2.Size = new Size(47, 26);
|
||||
button2.BringToFront();
|
||||
base.Parent.Controls.Add(checkedListBox1);
|
||||
checkedListBox1.Size = new Size(base.Width, 176);
|
||||
checkedListBox1.Location = new Point(base.Left, base.Top + base.Height + textBox1.Height + 2);
|
||||
checkedListBox1.BringToFront();
|
||||
base.Parent.Controls.Add(textBox1);
|
||||
textBox1.Location = new Point(base.Left, base.Top + base.Height + 2);
|
||||
textBox1.Size = new Size(base.Width - 67, 21);
|
||||
textBox1.BringToFront();
|
||||
base.Parent.Controls.Add(button1);
|
||||
button1.Location = new Point(textBox1.Left + textBox1.Width, base.Top + base.Height + 2);
|
||||
button1.Size = new Size(23, 26);
|
||||
button1.BringToFront();
|
||||
}
|
||||
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && components != null)
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
private void InitializeComponent()
|
||||
{
|
||||
components = new System.ComponentModel.Container();
|
||||
}
|
||||
|
||||
private void this_DoubleClick(object sender, EventArgs e)
|
||||
{
|
||||
if (IsFindDictionray && !checkedListBox1.Visible)
|
||||
{
|
||||
contVisible(isVisible: true);
|
||||
}
|
||||
}
|
||||
|
||||
private void button2_Click(object sender, EventArgs e)
|
||||
{
|
||||
string text = "";
|
||||
for (int i = 0; i < checkedListBox1.Items.Count; i++)
|
||||
{
|
||||
if (checkedListBox1.GetItemChecked(i))
|
||||
{
|
||||
text = text + checkedListBox1.GetItemText(checkedListBox1.Items[i]) + "\u3000";
|
||||
}
|
||||
}
|
||||
|
||||
base.Text += text;
|
||||
contVisible(isVisible: false);
|
||||
}
|
||||
|
||||
private void contVisible(bool isVisible)
|
||||
{
|
||||
checkedListBox1.Visible = isVisible;
|
||||
textBox1.Visible = isVisible;
|
||||
button1.Visible = isVisible;
|
||||
button2.Visible = isVisible;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -10,7 +10,7 @@ namespace AIMS.ReportManager
|
||||
public static DataTable GetOperationPlanDataTable(DateTime BeginDate,DateTime EndDate,string DepName)
|
||||
{
|
||||
string strSql = "SELECT of1.OperationRoom, of1.ApplyDepName,of1.SickBed, of1.Contagion, of1.MdrecNo, of1.PatientName, of1.Sex, of1.BirthDay, "+
|
||||
" of1.PlanOperationTime,of1.ApplyDiagnoseInfoName, of1.ApplyOperationInfoName,of1.OperationDoctor,"+
|
||||
" of1.OrderOperationTime PlanOperationTime,of1.ApplyDiagnoseInfoName, of1.ApplyOperationInfoName,of1.OperationDoctor," +
|
||||
" of1.AnaesthesiaMethodName , (of1.AnesthesiaDoctor + ' ' +of1.AnesthesiaDoctorSucceed) AS AnesthesiaDoctor,"+
|
||||
" (of1.InstrumentNurse +' '+ of1.InstrumentNurseSucceed) AS InstrumentNurse,(of1.TourNurse + ' '+of1.TourNurseSucceed) AS TourNurse, of1.Remark "+
|
||||
" FROM V_OperationFront of1 WHERE of1.PlanOperationTime>='" + BeginDate + "' AND of1.PlanOperationTime<'" + EndDate + "' AND of1.ApplyDepName LIKE '%%'";
|
||||
@ -19,7 +19,7 @@ namespace AIMS.ReportManager
|
||||
public static DataTable GetOperationPlanDataTable(string ApplyId)
|
||||
{
|
||||
string strSql = "SELECT of1.OperationRoom, of1.ApplyDepName,of1.SickBed, of1.Contagion, of1.MdrecNo, of1.PatientName, of1.Sex, of1.BirthDay, " +
|
||||
" of1.PlanOperationTime,of1.ApplyDiagnoseInfoName, of1.ApplyOperationInfoName,of1.OperationDoctor," +
|
||||
" of1.OrderOperationTime PlanOperationTime,of1.ApplyDiagnoseInfoName, of1.ApplyOperationInfoName,of1.OperationDoctor," +
|
||||
" of1.AnaesthesiaMethodName , (of1.AnesthesiaDoctor + ' ' +of1.AnesthesiaDoctorSucceed) AS AnesthesiaDoctor," +
|
||||
" (of1.InstrumentNurse +' '+ of1.InstrumentNurseSucceed) AS InstrumentNurse,(of1.TourNurse + ' '+of1.TourNurseSucceed) AS TourNurse, of1.Remark " +
|
||||
" FROM V_OperationFront of1 WHERE " + ApplyId + " ";
|
||||
|
||||
@ -107,6 +107,7 @@
|
||||
<TextRun>
|
||||
<Value>手术排程表</Value>
|
||||
<Style>
|
||||
<FontFamily>宋体</FontFamily>
|
||||
<FontSize>18pt</FontSize>
|
||||
</Style>
|
||||
</TextRun>
|
||||
@ -120,6 +121,7 @@
|
||||
<TextRun>
|
||||
<Value />
|
||||
<Style>
|
||||
<FontFamily>宋体</FontFamily>
|
||||
<FontSize>18pt</FontSize>
|
||||
</Style>
|
||||
</TextRun>
|
||||
@ -153,7 +155,10 @@
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>=Parameters!PlanCount.Value</Value>
|
||||
<Style />
|
||||
<Style>
|
||||
<FontFamily>宋体</FontFamily>
|
||||
<FontSize>10pt</FontSize>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
|
||||
@ -4,6 +4,9 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
using System.Windows.Forms;
|
||||
using System.Data.SqlClient;
|
||||
using HelperDB;
|
||||
|
||||
namespace AIMS.PublicUI.BLL
|
||||
{
|
||||
public class Person
|
||||
@ -61,5 +64,28 @@ namespace AIMS.PublicUI.BLL
|
||||
{
|
||||
return new DAL.PersonDB().GetPersonDataTableByDepId(DepId, HelpCode,PersonType);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查询排班信息
|
||||
/// </summary>
|
||||
/// <param name="time"> 查询时间</param>
|
||||
/// <param name="workerType">工种</param>
|
||||
/// <param name="depId">部门Id</param>
|
||||
/// <param name="keyName">关键字</param>
|
||||
/// <returns></returns>
|
||||
public static DataTable GetSchedulingForSelect(DateTime time, string workerType )//int depId,
|
||||
{
|
||||
try
|
||||
{
|
||||
string sql = string.Empty;
|
||||
sql = "EXEC usp_GetSchedulingForSelect @DateTime = '" + time +
|
||||
"', @WorkerType= '" + workerType + "'";//, @DepId= " + depId
|
||||
return DBHelper.GetDataTable(sql);
|
||||
}
|
||||
catch (SqlException ex)
|
||||
{
|
||||
throw new Exception(ex.Message);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user