测试文档麻醉系统修改1008-2
This commit is contained in:
parent
eab32f5823
commit
feba69d35d
@ -54,10 +54,23 @@
|
|||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\..\..\..\..\..\Program Files (x86)\DotNetBar for Windows Forms\DevComponents.DotNetBar2.dll</HintPath>
|
<HintPath>..\..\..\..\..\..\..\Program Files (x86)\DotNetBar for Windows Forms\DevComponents.DotNetBar2.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
<Reference Include="GoldPrinter, Version=2.5.5009.37801, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>Extensions\GoldPrinter.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Microsoft.Office.Interop.Excel, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||||
|
<HintPath>Extensions\Microsoft.Office.Interop.Excel.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
<Reference Include="Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>DLL\Microsoft.ReportViewer.Common.dll</HintPath>
|
<HintPath>DLL\Microsoft.ReportViewer.Common.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
<Reference Include="Microsoft.ReportViewer.ProcessingObjectModel, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>Extensions\Microsoft.ReportViewer.ProcessingObjectModel.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="Microsoft.ReportViewer.WinForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
<Reference Include="Microsoft.ReportViewer.WinForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>DLL\Microsoft.ReportViewer.WinForms.dll</HintPath>
|
<HintPath>DLL\Microsoft.ReportViewer.WinForms.dll</HintPath>
|
||||||
@ -397,6 +410,12 @@
|
|||||||
<Compile Include="OperationDoing\oldSystemCode\frmTR.designer.cs">
|
<Compile Include="OperationDoing\oldSystemCode\frmTR.designer.cs">
|
||||||
<DependentUpon>frmTR.cs</DependentUpon>
|
<DependentUpon>frmTR.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="OperationFront\FrmScheduling3.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="OperationFront\FrmScheduling3.designer.cs">
|
||||||
|
<DependentUpon>FrmScheduling3.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<Compile Include="OremrUserControl\PrescriptionDocument.cs">
|
<Compile Include="OremrUserControl\PrescriptionDocument.cs">
|
||||||
<SubType>UserControl</SubType>
|
<SubType>UserControl</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
@ -590,12 +609,6 @@
|
|||||||
<Compile Include="OperationFront\frmOperationSchedulePlan.cs">
|
<Compile Include="OperationFront\frmOperationSchedulePlan.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="OperationFront\frmPlanPatientInfo.cs">
|
|
||||||
<SubType>Form</SubType>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="OperationFront\frmPlanPatientInfo.Designer.cs">
|
|
||||||
<DependentUpon>frmPlanPatientInfo.cs</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="OperationFront\frmStopOperation.cs">
|
<Compile Include="OperationFront\frmStopOperation.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
@ -1054,6 +1067,9 @@
|
|||||||
<EmbeddedResource Include="OperationDoing\oldSystemCode\frmTR.resx">
|
<EmbeddedResource Include="OperationDoing\oldSystemCode\frmTR.resx">
|
||||||
<DependentUpon>frmTR.cs</DependentUpon>
|
<DependentUpon>frmTR.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="OperationFront\FrmScheduling3.resx">
|
||||||
|
<DependentUpon>FrmScheduling3.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="OremrUserControl\PrescriptionDocument.resx">
|
<EmbeddedResource Include="OremrUserControl\PrescriptionDocument.resx">
|
||||||
<DependentUpon>PrescriptionDocument.cs</DependentUpon>
|
<DependentUpon>PrescriptionDocument.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
@ -1145,9 +1161,6 @@
|
|||||||
<EmbeddedResource Include="OperationFront\frmOperationSchedulePlan.resx">
|
<EmbeddedResource Include="OperationFront\frmOperationSchedulePlan.resx">
|
||||||
<DependentUpon>frmOperationSchedulePlan.cs</DependentUpon>
|
<DependentUpon>frmOperationSchedulePlan.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="OperationFront\frmPlanPatientInfo.resx">
|
|
||||||
<DependentUpon>frmPlanPatientInfo.cs</DependentUpon>
|
|
||||||
</EmbeddedResource>
|
|
||||||
<EmbeddedResource Include="OperationFront\frmStopOperation.resx">
|
<EmbeddedResource Include="OperationFront\frmStopOperation.resx">
|
||||||
<DependentUpon>frmStopOperation.cs</DependentUpon>
|
<DependentUpon>frmStopOperation.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
@ -1315,9 +1328,11 @@
|
|||||||
<Content Include="Extensions\DevComponents.DotNetBar.Schedule.dll" />
|
<Content Include="Extensions\DevComponents.DotNetBar.Schedule.dll" />
|
||||||
<Content Include="Extensions\DevComponents.DotNetBar.SuperGrid.dll" />
|
<Content Include="Extensions\DevComponents.DotNetBar.SuperGrid.dll" />
|
||||||
<Content Include="Extensions\DevComponents.DotNetBar2.dll" />
|
<Content Include="Extensions\DevComponents.DotNetBar2.dll" />
|
||||||
|
<Content Include="Extensions\GoldPrinter.dll" />
|
||||||
|
<Content Include="Extensions\Microsoft.Office.Interop.Excel.dll" />
|
||||||
<Content Include="Extensions\Microsoft.ReportViewer.Common.dll" />
|
<Content Include="Extensions\Microsoft.ReportViewer.Common.dll" />
|
||||||
|
<Content Include="Extensions\Microsoft.ReportViewer.ProcessingObjectModel.dll" />
|
||||||
<Content Include="Extensions\Microsoft.ReportViewer.WinForms.dll" />
|
<Content Include="Extensions\Microsoft.ReportViewer.WinForms.dll" />
|
||||||
<Content Include="Extensions\office.dll" />
|
|
||||||
<Content Include="Resources\AttachFile.png" />
|
<Content Include="Resources\AttachFile.png" />
|
||||||
<Content Include="Resources\bg.png" />
|
<Content Include="Resources\bg.png" />
|
||||||
<Content Include="Resources\BookNote.png" />
|
<Content Include="Resources\BookNote.png" />
|
||||||
|
|||||||
BIN
AIMS/Extensions/Microsoft.ReportViewer.ProcessingObjectModel.dll
Normal file
BIN
AIMS/Extensions/Microsoft.ReportViewer.ProcessingObjectModel.dll
Normal file
Binary file not shown.
Binary file not shown.
@ -49,6 +49,7 @@ namespace AIMS
|
|||||||
AIMSExtension.PublicMethod.DeptName = BDepartment.GetModel(PersonObj.DepId.Value).Name;
|
AIMSExtension.PublicMethod.DeptName = BDepartment.GetModel(PersonObj.DepId.Value).Name;
|
||||||
Role role = BRole.GetModel(PersonObj.RoleId.Value);
|
Role role = BRole.GetModel(PersonObj.RoleId.Value);
|
||||||
AIMSExtension.PublicMethod.PermissionLevel = role.PermissionLevel == null ? 0 : role.PermissionLevel.Value;
|
AIMSExtension.PublicMethod.PermissionLevel = role.PermissionLevel == null ? 0 : role.PermissionLevel.Value;
|
||||||
|
AIMSExtension.PublicMethod.RoleName = BMenu.GetMenuRootListManageStr(AIMSExtension.PublicMethod.RoleId, "功能权限");
|
||||||
Hide();
|
Hide();
|
||||||
//在这里为编辑器注册
|
//在这里为编辑器注册
|
||||||
new System.Threading.Thread(Reg).Start();
|
new System.Threading.Thread(Reg).Start();
|
||||||
|
|||||||
@ -129,6 +129,8 @@ namespace AIMS
|
|||||||
for (int i = 0; i < menuListP.Count; i++)
|
for (int i = 0; i < menuListP.Count; i++)
|
||||||
{
|
{
|
||||||
var menuSec = menuListP[i];
|
var menuSec = menuListP[i];
|
||||||
|
if (menuSec.Name == "功能权限")
|
||||||
|
continue;
|
||||||
DevComponents.DotNetBar.Controls.SideNavPanel sideNavPanel = new DevComponents.DotNetBar.Controls.SideNavPanel();
|
DevComponents.DotNetBar.Controls.SideNavPanel sideNavPanel = new DevComponents.DotNetBar.Controls.SideNavPanel();
|
||||||
sideNavPanel.AutoScroll = true;
|
sideNavPanel.AutoScroll = true;
|
||||||
sideNavPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
sideNavPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
|||||||
@ -38,6 +38,7 @@ namespace AIMS.OperationDoing.AnasRecoverBill.UI
|
|||||||
cboYLMC.Text = _record.OpeRecoverInInfo.DrainageName;//导管名称
|
cboYLMC.Text = _record.OpeRecoverInInfo.DrainageName;//导管名称
|
||||||
if (_record.OpeRecoverInInfo.LightReflection != null) SetSpecialResult(_record.OpeRecoverInInfo.LightReflection);
|
if (_record.OpeRecoverInInfo.LightReflection != null) SetSpecialResult(_record.OpeRecoverInInfo.LightReflection);
|
||||||
txtT.Text = _record.OpeRecoverInInfo.Temp;//入室体温
|
txtT.Text = _record.OpeRecoverInInfo.Temp;//入室体温
|
||||||
|
txtSQTSQK.Text = _record.OpeRecoverInInfo.Remark;
|
||||||
|
|
||||||
//if (_record.OpeRecoverInInfo.StewardSober != null && _record.OpeRecoverInInfo.StewardSober != "")
|
//if (_record.OpeRecoverInInfo.StewardSober != null && _record.OpeRecoverInInfo.StewardSober != "")
|
||||||
//{
|
//{
|
||||||
|
|||||||
@ -7,6 +7,7 @@ using System.Drawing;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
using DCSoftDotfuscate;
|
||||||
|
|
||||||
namespace AIMS.OperationFront.UI
|
namespace AIMS.OperationFront.UI
|
||||||
{
|
{
|
||||||
@ -80,6 +81,8 @@ namespace AIMS.OperationFront.UI
|
|||||||
dicSchedulingTypeNameId.Clear();
|
dicSchedulingTypeNameId.Clear();
|
||||||
dicSchedulingTypeIdName.Clear();
|
dicSchedulingTypeIdName.Clear();
|
||||||
foreach (DataRow dr in dtSchedulingType.Rows)
|
foreach (DataRow dr in dtSchedulingType.Rows)
|
||||||
|
{
|
||||||
|
try
|
||||||
{
|
{
|
||||||
int id = (int)dr["Id"];
|
int id = (int)dr["Id"];
|
||||||
string name = dr["Name"].ToString();
|
string name = dr["Name"].ToString();
|
||||||
@ -91,6 +94,10 @@ namespace AIMS.OperationFront.UI
|
|||||||
dicValidType[name] = id;
|
dicValidType[name] = id;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
string[] items;
|
string[] items;
|
||||||
DataGridView dgv;
|
DataGridView dgv;
|
||||||
@ -837,6 +844,12 @@ namespace AIMS.OperationFront.UI
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
foreach (DataGridViewRow item in dataGridView1.Rows)
|
||||||
|
{
|
||||||
|
dbHelper.BeginTransaction();
|
||||||
|
dbHelper.Execute(string.Format("update Person set PersonOrder={0} where Id={1}", item.Cells["ColXh"].Value, item.Cells["WorkerId"].Value));
|
||||||
|
dbHelper.Commit();
|
||||||
|
}
|
||||||
dbHelper.BeginTransaction();
|
dbHelper.BeginTransaction();
|
||||||
int workersType = int.Parse(dataTable.Rows[0]["workersType"].ToString());
|
int workersType = int.Parse(dataTable.Rows[0]["workersType"].ToString());
|
||||||
dbHelper.Execute(string.Format("delete SchedulingNew where ScheduleMonth={0} and WorkersType={1}", scheduleMonth, workersType));
|
dbHelper.Execute(string.Format("delete SchedulingNew where ScheduleMonth={0} and WorkersType={1}", scheduleMonth, workersType));
|
||||||
@ -927,42 +940,48 @@ namespace AIMS.OperationFront.UI
|
|||||||
}
|
}
|
||||||
SetOperatorId(dataTable, operatorId);
|
SetOperatorId(dataTable, operatorId);
|
||||||
|
|
||||||
/*转换护士值班数据*/
|
///*转换护士值班数据*/
|
||||||
/*SELECT Id, WorkerId, OperationRoomId, nurseType, beginTime, endTime, ScheduleMonth, Remark FROM SchedulingNurseToOperationRoom*/
|
///*SELECT Id, WorkerId, OperationRoomId, nurseType, beginTime, endTime, ScheduleMonth, Remark FROM SchedulingNurseToOperationRoom*/
|
||||||
DataTable dataTable2 = dtSchedulingNurseToOperationRoom.Clone();
|
//DataTable dataTable2 = dtSchedulingNurseToOperationRoom.Clone();
|
||||||
for (int i = 0, n = dvMain.Count; i < n; i++)
|
//for (int i = 0, n = dvMain.Count; i < n; i++)
|
||||||
{
|
//{
|
||||||
DataRowView drv = dvMain[i];
|
// DataRowView drv = dvMain[i];
|
||||||
DataRow dr;
|
// DataRow dr;
|
||||||
int OperationRoomId;
|
// int OperationRoomId;
|
||||||
DateTime beginTime, endTime;
|
// DateTime beginTime, endTime;
|
||||||
OperationRoomId = GetOperationRoomId(drv["OperationRoom"].ToString());
|
// OperationRoomId = GetOperationRoomId(drv["OperationRoom"].ToString());
|
||||||
if (OperationRoomId > 0)
|
// if (OperationRoomId > 0)
|
||||||
{
|
// {
|
||||||
beginTime = Convert.ToDateTime(drv["BeginDate"]);
|
// beginTime = Convert.ToDateTime(drv["BeginDate"]);
|
||||||
endTime = Convert.ToDateTime(drv["EndDate"]);
|
// endTime = Convert.ToDateTime(drv["EndDate"]);
|
||||||
if (beginTime.Year < year) beginTime = monthFirstDay;
|
// if (beginTime.Year < year) beginTime = monthFirstDay;
|
||||||
if (endTime.Year < year) endTime = monthLastDay;
|
// if (endTime.Year < year) endTime = monthLastDay;
|
||||||
|
|
||||||
dr = dataTable2.NewRow();
|
// dr = dataTable2.NewRow();
|
||||||
dr["WorkerId"] = (int)drv["WorkerId"];
|
// dr["WorkerId"] = (int)drv["WorkerId"];
|
||||||
dr["OperationRoomId"] = OperationRoomId;
|
// dr["OperationRoomId"] = OperationRoomId;
|
||||||
dr["ScheduleMonth"] = scheduleMonth;
|
// dr["ScheduleMonth"] = scheduleMonth;
|
||||||
dr["nurseType"] = drv["Role"].ToString();
|
// dr["nurseType"] = drv["Role"].ToString();
|
||||||
dr["beginTime"] = beginTime;
|
// dr["beginTime"] = beginTime;
|
||||||
dr["endTime"] = endTime;
|
// dr["endTime"] = endTime;
|
||||||
dr["Remark"] = drv["Remark"].ToString();
|
// dr["Remark"] = drv["Remark"].ToString();
|
||||||
dataTable2.Rows.Add(dr);
|
// dataTable2.Rows.Add(dr);
|
||||||
}
|
// }
|
||||||
}
|
//}
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
foreach (DataGridViewRow item in dataGridView1.Rows)
|
||||||
|
{
|
||||||
|
dbHelper.BeginTransaction();
|
||||||
|
dbHelper.Execute(string.Format("update Person set PersonOrder={0} where Id={1}", item.Cells["ColXh"].Value, item.Cells["WorkerId"].Value));
|
||||||
|
dbHelper.Commit();
|
||||||
|
}
|
||||||
dbHelper.BeginTransaction();
|
dbHelper.BeginTransaction();
|
||||||
dbHelper.Execute(string.Format("delete SchedulingNew where ScheduleMonth={0} and WorkersType=1", scheduleMonth));
|
dbHelper.Execute(string.Format("delete SchedulingNew where ScheduleMonth={0} and WorkersType=1", scheduleMonth));
|
||||||
dbHelper.Execute(string.Format("delete SchedulingNurseToOperationRoom where ScheduleMonth={0}", scheduleMonth));
|
dbHelper.Execute(string.Format("delete SchedulingNurseToOperationRoom where ScheduleMonth={0}", scheduleMonth));
|
||||||
int n = dbHelper.DataTableSave(dataTable, "select id, workerId, WorkersType, ScheduleMonth, ScheduleDay, SchedulingType, SchedulingDate, OperatorId, OperatorTime, sbsj, xbsj from SchedulingNew");
|
int n = dbHelper.DataTableSave(dataTable, "select id, workerId, WorkersType, ScheduleMonth, ScheduleDay, SchedulingType, SchedulingDate, OperatorId, OperatorTime, sbsj, xbsj from SchedulingNew");
|
||||||
n = dbHelper.DataTableSave(dataTable2, "SELECT Id, WorkerId, OperationRoomId, nurseType, beginTime, endTime, ScheduleMonth, Remark FROM SchedulingNurseToOperationRoom");
|
//n = dbHelper.DataTableSave(dataTable2, "SELECT Id, WorkerId, OperationRoomId, nurseType, beginTime, endTime, ScheduleMonth, Remark FROM SchedulingNurseToOperationRoom");
|
||||||
dbHelper.Commit();
|
dbHelper.Commit();
|
||||||
dtMainTable.AcceptChanges();
|
dtMainTable.AcceptChanges();
|
||||||
MessageBox.Show("保存成功。", "提示信息");
|
MessageBox.Show("保存成功。", "提示信息");
|
||||||
@ -1186,15 +1205,14 @@ namespace AIMS.OperationFront.UI
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
private bool SchedulingTypeExistsSameName()
|
private bool SchedulingTypeExistsSameName()
|
||||||
{
|
{
|
||||||
DataGridView dgv = this.dgvSchedulingType;
|
int n = dgvSchedulingType.Rows.Count;
|
||||||
int n = dgv.Rows.Count;
|
|
||||||
|
|
||||||
bool isok = true;
|
bool isok = true;
|
||||||
Dictionary<string, int> dic = new Dictionary<string, int>();
|
Dictionary<string, int> dic = new Dictionary<string, int>();
|
||||||
for (int i = n - 1; i >= 0; i--)
|
for (int i = n - 1; i >= 0; i--)
|
||||||
{
|
{
|
||||||
DataGridViewRow dr = dgv.Rows[i];
|
DataGridViewRow drr = dgvSchedulingType.Rows[i];
|
||||||
string name = dr.Cells["ShiftName"].Value.ToString();
|
if (drr.Cells[1].Value == null) continue;
|
||||||
|
string name = drr.Cells[1].Value.ToString();
|
||||||
if (!string.IsNullOrEmpty(name))
|
if (!string.IsNullOrEmpty(name))
|
||||||
{
|
{
|
||||||
if (!dic.ContainsKey(name))
|
if (!dic.ContainsKey(name))
|
||||||
@ -1204,7 +1222,7 @@ namespace AIMS.OperationFront.UI
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
MessageBox.Show(string.Format("班次名称:{0}在{1}行和{2}出现重复。", name, dic[name], i + 1), "提示信息");
|
MessageBox.Show(string.Format("班次名称:{0}在{1}行和{2}出现重复。", name, dic[name], i + 1), "提示信息");
|
||||||
dgv.CurrentCell = dgv.Rows[i].Cells["ShiftName"];
|
dgvSchedulingType.CurrentCell = dgvSchedulingType.Rows[i].Cells["ShiftName"];
|
||||||
isok = false;
|
isok = false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -1492,244 +1510,245 @@ namespace AIMS.OperationFront.UI
|
|||||||
|
|
||||||
private void btnAttendance_Click(object sender, EventArgs e)
|
private void btnAttendance_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
//FrmDeptAttendance form = new FrmDeptAttendance();
|
FrmScheduling3 form = new FrmScheduling3();
|
||||||
//form.Show();
|
form.Show();
|
||||||
}
|
}
|
||||||
private void btnPrint_Click(object sender, EventArgs e)
|
private void btnPrint_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
//try
|
try
|
||||||
//{
|
{
|
||||||
// /*打印排班表*/
|
/*打印排班表*/
|
||||||
// bool oldChecked = chxOnlyShiftPlan.Checked;
|
bool oldChecked = chxOnlyShiftPlan.Checked;
|
||||||
// chxOnlyShiftPlan.Checked = true;
|
chxOnlyShiftPlan.Checked = true;
|
||||||
|
|
||||||
// DateTime dateTime = this.dateTimePicker1.Value;
|
DateTime dateTime = this.dateTimePicker1.Value;
|
||||||
// int year = dateTime.Year;
|
int year = dateTime.Year;
|
||||||
// int month = dateTime.Month;
|
int month = dateTime.Month;
|
||||||
// DateTime monthFirstDay = new DateTime(year, month, 1);
|
DateTime monthFirstDay = new DateTime(year, month, 1);
|
||||||
// DateTime monthLastDay = (new DateTime(year, month, 1)).AddMonths(1).AddDays(-1);
|
DateTime monthLastDay = (new DateTime(year, month, 1)).AddMonths(1).AddDays(-1);
|
||||||
// int dayMax = monthLastDay.Day;
|
int dayMax = monthLastDay.Day;
|
||||||
|
|
||||||
//DataGridView dgv = this.dataGridView1;
|
DataGridView dgv = this.dataGridView1;
|
||||||
//int rowsCount = dgv.Rows.Count;
|
int rowsCount = dgv.Rows.Count;
|
||||||
//string filepath = string.Format("{0}\\Template\\排班按月.xlt", AppDomain.CurrentDomain.BaseDirectory);
|
string filepath = string.Format("{0}\\Template\\排班按月.xlt", AppDomain.CurrentDomain.BaseDirectory);
|
||||||
|
|
||||||
//GoldPrinter.ExcelAccess excel = new GoldPrinter.ExcelAccess();
|
GoldPrinter.ExcelAccess excel = new GoldPrinter.ExcelAccess();
|
||||||
//excel.IsVisibledExcel = false;
|
excel.IsVisibledExcel = false;
|
||||||
//excel.Open(filepath);
|
excel.Open(filepath);
|
||||||
//Microsoft.Office.Interop.Excel.Worksheet xlSheet = (Microsoft.Office.Interop.Excel.Worksheet)excel.Workbooks.ActiveSheet;
|
Microsoft.Office.Interop.Excel.Worksheet xlSheet = (Microsoft.Office.Interop.Excel.Worksheet)excel.Workbooks.ActiveSheet;
|
||||||
//string strTitle;
|
string strTitle;
|
||||||
// strTitle = PublicMethod.GetHospitalName();
|
strTitle = PublicMethod.GetHospitalName();
|
||||||
//excel.SetCellText(1, "A", strTitle);
|
excel.SetCellText(1, "A", strTitle);
|
||||||
|
|
||||||
///*标题*/
|
/*标题*/
|
||||||
//strTitle = (radioDoctor.Checked) ? "麻醉医生" : "护士";
|
strTitle = (radioDoctor.Checked) ? "麻醉医生" : "护士";
|
||||||
//excel.SetCellText(2, "A", string.Format("{0}年{1}月 {2}", year, month, strTitle));
|
excel.SetCellText(2, "A", string.Format("{0}年{1}月 {2}", year, month, strTitle));
|
||||||
//Microsoft.Office.Interop.Excel.Range range;
|
Microsoft.Office.Interop.Excel.Range range;
|
||||||
//DataGridViewRow drv;
|
DataGridViewRow drv;
|
||||||
|
|
||||||
///*填写16-31日的姓名标题,合并姓名单元格*/
|
/*填写16-31日的姓名标题,合并姓名单元格*/
|
||||||
//range = xlSheet.Range[xlSheet.Cells[6 + rowsCount, 1], xlSheet.Cells[8 + rowsCount, 1]];
|
range = xlSheet.Range[xlSheet.Cells[6 + rowsCount, 1], xlSheet.Cells[8 + rowsCount, 1]];
|
||||||
//range.Merge(System.Reflection.Missing.Value);
|
range.Merge(System.Reflection.Missing.Value);
|
||||||
|
|
||||||
//range.Font.Color = Color.Red; //红色
|
range.Font.Color = Color.Red; //红色
|
||||||
//xlSheet.Cells[6 + rowsCount, 1] = "姓名";
|
xlSheet.Cells[6 + rowsCount, 1] = "姓名";
|
||||||
//xlSheet.Cells[6 + rowsCount, 2] = "阴历";
|
xlSheet.Cells[6 + rowsCount, 2] = "阴历";
|
||||||
//xlSheet.Cells[7 + rowsCount, 2] = "阳历";
|
xlSheet.Cells[7 + rowsCount, 2] = "阳历";
|
||||||
//xlSheet.Cells[8 + rowsCount, 2] = "星期";
|
xlSheet.Cells[8 + rowsCount, 2] = "星期";
|
||||||
|
|
||||||
///*设置标题栏红色*/
|
/*设置标题栏红色*/
|
||||||
//range = xlSheet.Range[xlSheet.Cells[3, 2], xlSheet.Cells[5, 20]];
|
range = xlSheet.Range[xlSheet.Cells[3, 2], xlSheet.Cells[5, 20]];
|
||||||
//range.Font.Color = Color.Red; //红色
|
range.Font.Color = Color.Red; //红色
|
||||||
//range = xlSheet.Range[xlSheet.Cells[6 + rowsCount, 2], xlSheet.Cells[8 + rowsCount, 20]];
|
range = xlSheet.Range[xlSheet.Cells[6 + rowsCount, 2], xlSheet.Cells[8 + rowsCount, 20]];
|
||||||
//range.Font.Color = Color.Red; //红色
|
range.Font.Color = Color.Red; //红色
|
||||||
|
|
||||||
///*填写姓名*/
|
/*填写姓名*/
|
||||||
//for (int j = 0; j < rowsCount; j++)
|
for (int j = 0; j < rowsCount; j++)
|
||||||
//{
|
{
|
||||||
// drv = dgv.Rows[j];
|
drv = dgv.Rows[j];
|
||||||
// string name = drv.Cells["colName"].FormattedValue.ToString();
|
string name = drv.Cells["colName"].FormattedValue.ToString();
|
||||||
// range = xlSheet.Range[xlSheet.Cells[j + 6, 1], xlSheet.Cells[j + 6, 2]];
|
range = xlSheet.Range[xlSheet.Cells[j + 6, 1], xlSheet.Cells[j + 6, 2]];
|
||||||
// range.Merge(System.Reflection.Missing.Value);
|
range.Merge(System.Reflection.Missing.Value);
|
||||||
// xlSheet.Cells[j + 6, 1] = name;
|
xlSheet.Cells[j + 6, 1] = name;
|
||||||
|
|
||||||
// range = xlSheet.Range[xlSheet.Cells[j + 9 + rowsCount, 1], xlSheet.Cells[j + 9 + rowsCount, 2]];
|
range = xlSheet.Range[xlSheet.Cells[j + 9 + rowsCount, 1], xlSheet.Cells[j + 9 + rowsCount, 2]];
|
||||||
// range.Merge(System.Reflection.Missing.Value);
|
range.Merge(System.Reflection.Missing.Value);
|
||||||
// xlSheet.Cells[j + 9 + rowsCount, 1] = name;
|
xlSheet.Cells[j + 9 + rowsCount, 1] = name;
|
||||||
//}
|
}
|
||||||
|
|
||||||
///*填写日期中的班次*/
|
/*填写日期中的班次*/
|
||||||
//for (int i = 1; i <= dayMax; i++)
|
for (int i = 1; i <= dayMax; i++)
|
||||||
//{
|
{
|
||||||
// int colIndex;
|
int colIndex;
|
||||||
// if (i <= 16)
|
if (i <= 16)
|
||||||
// {
|
{
|
||||||
// colIndex = i + 2;
|
colIndex = i + 2;
|
||||||
// /*填充日期表头*/
|
/*填充日期表头*/
|
||||||
// xlSheet.Cells[3, colIndex] = listHeaderDays[i - 1];
|
xlSheet.Cells[3, colIndex] = listHeaderDays[i - 1];
|
||||||
// xlSheet.Cells[4, colIndex] = listHeaderChinese[i - 1];
|
xlSheet.Cells[4, colIndex] = listHeaderChinese[i - 1];
|
||||||
// xlSheet.Cells[5, colIndex] = listHeaderWeek[i - 1];
|
xlSheet.Cells[5, colIndex] = listHeaderWeek[i - 1];
|
||||||
// for (int j = 0; j < rowsCount; j++)
|
for (int j = 0; j < rowsCount; j++)
|
||||||
// {
|
{
|
||||||
// xlSheet.Cells[j + 6, colIndex] = dgv.Rows[j].Cells["Date" + i.ToString()].FormattedValue.ToString();
|
xlSheet.Cells[j + 6, colIndex] = dgv.Rows[j].Cells["Date" + i.ToString()].FormattedValue.ToString();
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
// else
|
else
|
||||||
// {
|
{
|
||||||
// colIndex = i - 14;
|
colIndex = i - 14;
|
||||||
// xlSheet.Cells[6 + rowsCount, colIndex] = listHeaderDays[i - 1];
|
xlSheet.Cells[6 + rowsCount, colIndex] = listHeaderDays[i - 1];
|
||||||
// xlSheet.Cells[7 + rowsCount, colIndex] = listHeaderChinese[i - 1];
|
xlSheet.Cells[7 + rowsCount, colIndex] = listHeaderChinese[i - 1];
|
||||||
// xlSheet.Cells[8 + rowsCount, colIndex] = listHeaderWeek[i - 1];
|
xlSheet.Cells[8 + rowsCount, colIndex] = listHeaderWeek[i - 1];
|
||||||
// for (int j = 0; j < rowsCount; j++)
|
for (int j = 0; j < rowsCount; j++)
|
||||||
// {
|
{
|
||||||
// xlSheet.Cells[j + 9 + rowsCount, colIndex] = dgv.Rows[j].Cells["Date" + i.ToString()].FormattedValue;
|
xlSheet.Cells[j + 9 + rowsCount, colIndex] = dgv.Rows[j].Cells["Date" + i.ToString()].FormattedValue;
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
// Application.DoEvents();
|
Application.DoEvents();
|
||||||
//}
|
}
|
||||||
|
|
||||||
/////*删除模板中多余的整行*/
|
///*删除模板中多余的整行*/
|
||||||
//string rowstr = string.Format("{0}:500", rowsCount * 2 + 9);
|
string rowstr = string.Format("{0}:500", rowsCount * 2 + 9);
|
||||||
//range = (Microsoft.Office.Interop.Excel.Range)xlSheet.Rows[rowstr, Type.Missing];
|
range = (Microsoft.Office.Interop.Excel.Range)xlSheet.Rows[rowstr, Type.Missing];
|
||||||
//range.Rows.Delete(Microsoft.Office.Interop.Excel.XlDeleteShiftDirection.xlShiftUp);
|
range.Rows.Delete(Microsoft.Office.Interop.Excel.XlDeleteShiftDirection.xlShiftUp);
|
||||||
|
|
||||||
///*设置打印为1页宽*/
|
/*设置打印为1页宽*/
|
||||||
//xlSheet.PageSetup.FitToPagesWide = 1;
|
xlSheet.PageSetup.FitToPagesWide = 1;
|
||||||
//excel.PrintPreview();
|
excel.PrintPreview();
|
||||||
//excel.Close();
|
excel.Close();
|
||||||
//chxOnlyShiftPlan.Checked = oldChecked;
|
chxOnlyShiftPlan.Checked = oldChecked;
|
||||||
//}
|
}
|
||||||
//catch (Exception exp)
|
catch (Exception exp)
|
||||||
//{
|
{
|
||||||
// MessageBox.Show(exp.Message);
|
MessageBox.Show(exp.Message);
|
||||||
// PublicMethod.WriteLog(exp, "");
|
PublicMethod.WriteLog(exp, "");
|
||||||
//}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void btnPrintAttendance_Click(object sender, EventArgs e)
|
private void btnPrintAttendance_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
///*打印出缺勤表*/
|
/*打印出缺勤表*/
|
||||||
//DateTime dateTime = this.dateTimePicker1.Value;
|
DateTime dateTime = this.dateTimePicker1.Value;
|
||||||
//int year = dateTime.Year;
|
int year = dateTime.Year;
|
||||||
//int month = dateTime.Month;
|
int month = dateTime.Month;
|
||||||
//DateTime monthFirstDay = new DateTime(year, month, 1);
|
DateTime monthFirstDay = new DateTime(year, month, 1);
|
||||||
//DateTime nextMonthFirstDay = monthFirstDay.AddMonths(1);
|
DateTime nextMonthFirstDay = monthFirstDay.AddMonths(1);
|
||||||
//int dayMax = nextMonthFirstDay.AddDays(-1).Day;
|
int dayMax = nextMonthFirstDay.AddDays(-1).Day;
|
||||||
|
|
||||||
//string sql = string.Format("SELECT a.WorkerId, w.[Name], Day(a.SchedulingDate) as [Day], a.WorkersType, a.OverHours, a.LackHours FROM ScheduleOverLackHours a inner join Workers w on a.WorkerId = w.id WHERE SchedulingDate >= '{0}' AND SchedulingDate<'{1}' order by WorkersType desc, w.OrderBy, [Day]", Convert.ToDateTime(monthFirstDay),Convert.ToDateTime(nextMonthFirstDay));
|
string sql = string.Format("SELECT a.WorkerId, w.[Name], Day(a.SchedulingDate) as [Day], a.WorkersType, a.OverHours, a.LackHours FROM ScheduleOverLackHours a inner join Person w on a.WorkerId = w.id WHERE SchedulingDate >= '{0}' AND SchedulingDate<'{1}' order by WorkersType desc, w.PersonOrder, [Day]", GPFunctions.DateStr(monthFirstDay), GPFunctions.DateStr(nextMonthFirstDay));
|
||||||
//DataTable dataTable = dbHelper.GetDataTable(sql);
|
System.Data.DataTable dataTable = dbHelper.GetDataTable(sql);
|
||||||
|
|
||||||
//GoldPrinter.ExcelAccess excel = new GoldPrinter.ExcelAccess();
|
|
||||||
//excel.IsVisibledExcel = false;
|
|
||||||
//string filepath = string.Format("{0}\\printTemplate\\职工出缺勤表.xlt", Application.StartupPath);
|
|
||||||
//excel.Open(filepath);
|
|
||||||
//Microsoft.Office.Interop.Excel.Worksheet xlSheet = (Microsoft.Office.Interop.Excel.Worksheet)excel.Workbooks.ActiveSheet;
|
|
||||||
//string strTitle = "职工出(缺)勤表";
|
|
||||||
//excel.SetCellText(1, "A", strTitle);
|
|
||||||
//excel.SetCellText(2, "E", string.Format("{0} 年 {1} 月", year, month));
|
|
||||||
//int rowsCount = dataTable.Rows.Count;
|
|
||||||
//decimal sumOverHours = 0, sumLackHours = 0;
|
|
||||||
//int prewWorkId = 0;
|
|
||||||
//int workerNumber = 0;
|
|
||||||
//int rowsNumber = 0;
|
|
||||||
//Microsoft.Office.Interop.Excel.Range range;
|
|
||||||
//switch (dayMax)
|
|
||||||
//{
|
|
||||||
// case 30:
|
|
||||||
// ((Microsoft.Office.Interop.Excel.Range)xlSheet.Cells[1, 33]).EntireColumn.ColumnWidth = 0;
|
|
||||||
// break;
|
|
||||||
// case 29:
|
|
||||||
// ((Microsoft.Office.Interop.Excel.Range)xlSheet.Cells[1, 33]).EntireColumn.ColumnWidth = 0;
|
|
||||||
// ((Microsoft.Office.Interop.Excel.Range)xlSheet.Cells[1, 32]).EntireColumn.ColumnWidth = 0;
|
|
||||||
// break;
|
|
||||||
// case 28:
|
|
||||||
// ((Microsoft.Office.Interop.Excel.Range)xlSheet.Cells[1, 33]).EntireColumn.ColumnWidth = 0;
|
|
||||||
// ((Microsoft.Office.Interop.Excel.Range)xlSheet.Cells[1, 32]).EntireColumn.ColumnWidth = 0;
|
|
||||||
// ((Microsoft.Office.Interop.Excel.Range)xlSheet.Cells[1, 31]).EntireColumn.ColumnWidth = 0;
|
|
||||||
// break;
|
|
||||||
// default:
|
|
||||||
// break;
|
|
||||||
//}
|
|
||||||
|
|
||||||
//for (int i = 0; i < rowsCount; i++)
|
GoldPrinter.ExcelAccess excel = new GoldPrinter.ExcelAccess();
|
||||||
//{
|
excel.IsVisibledExcel = false;
|
||||||
// decimal overHours, lackHours;
|
string filepath = string.Format("{0}\\printTemplate\\职工出缺勤表.xlt", Application.StartupPath);
|
||||||
// DataRow dr = dataTable.Rows[i];
|
excel.Open(filepath);
|
||||||
|
Microsoft.Office.Interop.Excel.Worksheet xlSheet = (Microsoft.Office.Interop.Excel.Worksheet)excel.Workbooks.ActiveSheet;
|
||||||
|
string strTitle = "职工出(缺)勤表";
|
||||||
|
excel.SetCellText(1, "A", strTitle);
|
||||||
|
excel.SetCellText(2, "E", string.Format("{0} 年 {1} 月", year, month));
|
||||||
|
int rowsCount = dataTable.Rows.Count;
|
||||||
|
decimal sumOverHours = 0, sumLackHours = 0;
|
||||||
|
int prewWorkId = 0;
|
||||||
|
int workerNumber = 0;
|
||||||
|
int rowsNumber = 0;
|
||||||
|
Microsoft.Office.Interop.Excel.Range range;
|
||||||
|
switch (dayMax)
|
||||||
|
{
|
||||||
|
case 30:
|
||||||
|
((Microsoft.Office.Interop.Excel.Range)xlSheet.Cells[1, 33]).EntireColumn.ColumnWidth = 0;
|
||||||
|
break;
|
||||||
|
case 29:
|
||||||
|
((Microsoft.Office.Interop.Excel.Range)xlSheet.Cells[1, 33]).EntireColumn.ColumnWidth = 0;
|
||||||
|
((Microsoft.Office.Interop.Excel.Range)xlSheet.Cells[1, 32]).EntireColumn.ColumnWidth = 0;
|
||||||
|
break;
|
||||||
|
case 28:
|
||||||
|
((Microsoft.Office.Interop.Excel.Range)xlSheet.Cells[1, 33]).EntireColumn.ColumnWidth = 0;
|
||||||
|
((Microsoft.Office.Interop.Excel.Range)xlSheet.Cells[1, 32]).EntireColumn.ColumnWidth = 0;
|
||||||
|
((Microsoft.Office.Interop.Excel.Range)xlSheet.Cells[1, 31]).EntireColumn.ColumnWidth = 0;
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
// int workerId = Convert.ToInt32(dr["WorkerId"]);
|
for (int i = 0; i < rowsCount; i++)
|
||||||
// int day = Convert.ToInt32(dr["Day"]);
|
{
|
||||||
// overHours = GPFunctions.CDecimal(dr["OverHours"]);
|
decimal overHours, lackHours;
|
||||||
// lackHours = GPFunctions.CDecimal(dr["LackHours"]);
|
DataRow dr = dataTable.Rows[i];
|
||||||
|
|
||||||
// if (workerId == prewWorkId)
|
int workerId = Convert.ToInt32(dr["WorkerId"]);
|
||||||
// {
|
int day = Convert.ToInt32(dr["Day"]);
|
||||||
// sumOverHours += overHours;
|
overHours = GPFunctions.CDecimal(dr["OverHours"]);
|
||||||
// sumLackHours += lackHours;
|
lackHours = GPFunctions.CDecimal(dr["LackHours"]);
|
||||||
// }
|
|
||||||
// else
|
|
||||||
// {
|
|
||||||
// /*合并姓名单元格, 填入名称*/
|
|
||||||
// workerNumber++;
|
|
||||||
// rowsNumber = 4 + (workerNumber - 1) * 2;
|
|
||||||
// range = xlSheet.Range[xlSheet.Cells[rowsNumber, 1], xlSheet.Cells[rowsNumber + 1, 1]];
|
|
||||||
// range.Merge(System.Reflection.Missing.Value);
|
|
||||||
// xlSheet.Cells[rowsNumber, 1] = dr["Name"].ToString();
|
|
||||||
|
|
||||||
// xlSheet.Cells[rowsNumber, 2] = "加班";
|
if (workerId == prewWorkId)
|
||||||
// xlSheet.Cells[rowsNumber + 1, 2] = "缺勤";
|
{
|
||||||
|
sumOverHours += overHours;
|
||||||
|
sumLackHours += lackHours;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
/*合并姓名单元格, 填入名称*/
|
||||||
|
workerNumber++;
|
||||||
|
rowsNumber = 4 + (workerNumber - 1) * 2;
|
||||||
|
range = xlSheet.Range[xlSheet.Cells[rowsNumber, 1], xlSheet.Cells[rowsNumber + 1, 1]];
|
||||||
|
range.Merge(System.Reflection.Missing.Value);
|
||||||
|
xlSheet.Cells[rowsNumber, 1] = dr["Name"].ToString();
|
||||||
|
|
||||||
// range = xlSheet.Range[xlSheet.Cells[rowsNumber, "AI"], xlSheet.Cells[rowsNumber + 1, "AI"]];
|
xlSheet.Cells[rowsNumber, 2] = "加班";
|
||||||
// range.Merge(System.Reflection.Missing.Value);
|
xlSheet.Cells[rowsNumber + 1, 2] = "缺勤";
|
||||||
|
|
||||||
// /*设置缺勤行字体颜色*/
|
range = xlSheet.Range[xlSheet.Cells[rowsNumber, "AI"], xlSheet.Cells[rowsNumber + 1, "AI"]];
|
||||||
// rowsNumber = rowsNumber + 1;
|
range.Merge(System.Reflection.Missing.Value);
|
||||||
// range = xlSheet.Range[xlSheet.Cells[rowsNumber, 2], xlSheet.Cells[rowsNumber, 34]];
|
|
||||||
// range.Font.Color = Color.Red; //红色
|
|
||||||
|
|
||||||
// if (workerNumber > 1)
|
/*设置缺勤行字体颜色*/
|
||||||
// {
|
rowsNumber = rowsNumber + 1;
|
||||||
// /*填写上一个职工行的合计数*/
|
range = xlSheet.Range[xlSheet.Cells[rowsNumber, 2], xlSheet.Cells[rowsNumber, 34]];
|
||||||
// rowsNumber = 4 + (workerNumber - 2) * 2;
|
range.Font.Color = Color.Red; //红色
|
||||||
// if (sumOverHours > 0) xlSheet.Cells[rowsNumber, "AH"] = sumOverHours;
|
|
||||||
// if (sumLackHours > 0) xlSheet.Cells[rowsNumber + 1, "AH"] = sumLackHours;
|
|
||||||
|
|
||||||
// /*合并累计单元格*/
|
if (workerNumber > 1)
|
||||||
// xlSheet.Cells[rowsNumber, "AI"] = sumOverHours - sumLackHours;
|
{
|
||||||
// if (sumOverHours - sumLackHours < 0)
|
/*填写上一个职工行的合计数*/
|
||||||
// {
|
rowsNumber = 4 + (workerNumber - 2) * 2;
|
||||||
// /*累计小于0,红色显示*/
|
if (sumOverHours > 0) xlSheet.Cells[rowsNumber, "AH"] = sumOverHours;
|
||||||
// range.Font.Color = Color.Red; //红色
|
if (sumLackHours > 0) xlSheet.Cells[rowsNumber + 1, "AH"] = sumLackHours;
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// sumOverHours = overHours;
|
|
||||||
// sumLackHours = lackHours;
|
|
||||||
|
|
||||||
// prewWorkId = workerId;
|
/*合并累计单元格*/
|
||||||
// }
|
xlSheet.Cells[rowsNumber, "AI"] = sumOverHours - sumLackHours;
|
||||||
// /*填入加班和缺勤缺勤小时数*/
|
if (sumOverHours - sumLackHours < 0)
|
||||||
// rowsNumber = 4 + (workerNumber - 1) * 2;
|
{
|
||||||
// if (overHours > 0) xlSheet.Cells[rowsNumber, 2 + day] = overHours;
|
/*累计小于0,红色显示*/
|
||||||
// if (lackHours > 0) xlSheet.Cells[rowsNumber + 1, 2 + day] = lackHours;
|
range.Font.Color = Color.Red; //红色
|
||||||
|
}
|
||||||
|
}
|
||||||
|
sumOverHours = overHours;
|
||||||
|
sumLackHours = lackHours;
|
||||||
|
|
||||||
// Application.DoEvents();
|
prewWorkId = workerId;
|
||||||
//}
|
}
|
||||||
|
/*填入加班和缺勤缺勤小时数*/
|
||||||
|
rowsNumber = 4 + (workerNumber - 1) * 2;
|
||||||
|
if (overHours > 0) xlSheet.Cells[rowsNumber, 2 + day] = overHours;
|
||||||
|
if (lackHours > 0) xlSheet.Cells[rowsNumber + 1, 2 + day] = lackHours;
|
||||||
|
|
||||||
//if (workerNumber > 0)
|
Application.DoEvents();
|
||||||
//{
|
}
|
||||||
// /*填写最后一个职工行的合计数*/
|
|
||||||
// rowsNumber = 4 + (workerNumber - 1) * 2;
|
if (workerNumber > 0)
|
||||||
// if (sumOverHours > 0) xlSheet.Cells[rowsNumber, "AH"] = sumOverHours;
|
{
|
||||||
// if (sumLackHours > 0) xlSheet.Cells[rowsNumber + 1, "AH"] = sumLackHours;
|
/*填写最后一个职工行的合计数*/
|
||||||
// xlSheet.Cells[rowsNumber, "AI"] = sumOverHours - sumLackHours;
|
rowsNumber = 4 + (workerNumber - 1) * 2;
|
||||||
// if (sumOverHours - sumLackHours < 0)
|
if (sumOverHours > 0) xlSheet.Cells[rowsNumber, "AH"] = sumOverHours;
|
||||||
// {
|
if (sumLackHours > 0) xlSheet.Cells[rowsNumber + 1, "AH"] = sumLackHours;
|
||||||
// /*累计小于0,红色显示*/
|
xlSheet.Cells[rowsNumber, "AI"] = sumOverHours - sumLackHours;
|
||||||
// range = xlSheet.Range[xlSheet.Cells[rowsNumber, "AI"], xlSheet.Cells[rowsNumber, "AI"]];
|
if (sumOverHours - sumLackHours < 0)
|
||||||
// range.Font.Color = Color.Red; //红色
|
{
|
||||||
// }
|
/*累计小于0,红色显示*/
|
||||||
//}
|
range = xlSheet.Range[xlSheet.Cells[rowsNumber, "AI"], xlSheet.Cells[rowsNumber, "AI"]];
|
||||||
//excel.PrintPreview();
|
range.Font.Color = Color.Red; //红色
|
||||||
//excel.Close();
|
}
|
||||||
|
}
|
||||||
|
excel.PrintPreview();
|
||||||
|
excel.Close();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void btnUp_Click(object sender, EventArgs e)
|
private void btnUp_Click(object sender, EventArgs e)
|
||||||
|
|||||||
243
AIMS/OperationFront/FrmScheduling2.designer.cs
generated
243
AIMS/OperationFront/FrmScheduling2.designer.cs
generated
@ -231,9 +231,9 @@
|
|||||||
this.panelAll.Controls.Add(this.panelTop);
|
this.panelAll.Controls.Add(this.panelTop);
|
||||||
this.panelAll.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.panelAll.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.panelAll.Location = new System.Drawing.Point(0, 0);
|
this.panelAll.Location = new System.Drawing.Point(0, 0);
|
||||||
this.panelAll.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.panelAll.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.panelAll.Name = "panelAll";
|
this.panelAll.Name = "panelAll";
|
||||||
this.panelAll.Size = new System.Drawing.Size(1887, 794);
|
this.panelAll.Size = new System.Drawing.Size(1415, 635);
|
||||||
this.panelAll.TabIndex = 0;
|
this.panelAll.TabIndex = 0;
|
||||||
//
|
//
|
||||||
// panelBody
|
// panelBody
|
||||||
@ -241,10 +241,10 @@
|
|||||||
this.panelBody.Controls.Add(this.panelBodyB);
|
this.panelBody.Controls.Add(this.panelBodyB);
|
||||||
this.panelBody.Controls.Add(this.panelBodyT);
|
this.panelBody.Controls.Add(this.panelBodyT);
|
||||||
this.panelBody.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.panelBody.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.panelBody.Location = new System.Drawing.Point(0, 42);
|
this.panelBody.Location = new System.Drawing.Point(0, 34);
|
||||||
this.panelBody.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.panelBody.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.panelBody.Name = "panelBody";
|
this.panelBody.Name = "panelBody";
|
||||||
this.panelBody.Size = new System.Drawing.Size(1887, 752);
|
this.panelBody.Size = new System.Drawing.Size(1415, 601);
|
||||||
this.panelBody.TabIndex = 1;
|
this.panelBody.TabIndex = 1;
|
||||||
//
|
//
|
||||||
// panelBodyB
|
// panelBodyB
|
||||||
@ -253,10 +253,10 @@
|
|||||||
this.panelBodyB.Controls.Add(this.dataGridView1);
|
this.panelBodyB.Controls.Add(this.dataGridView1);
|
||||||
this.panelBodyB.Controls.Add(this.panel4);
|
this.panelBodyB.Controls.Add(this.panel4);
|
||||||
this.panelBodyB.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.panelBodyB.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.panelBodyB.Location = new System.Drawing.Point(0, 291);
|
this.panelBodyB.Location = new System.Drawing.Point(0, 233);
|
||||||
this.panelBodyB.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.panelBodyB.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.panelBodyB.Name = "panelBodyB";
|
this.panelBodyB.Name = "panelBodyB";
|
||||||
this.panelBodyB.Size = new System.Drawing.Size(1887, 461);
|
this.panelBodyB.Size = new System.Drawing.Size(1415, 368);
|
||||||
this.panelBodyB.TabIndex = 2;
|
this.panelBodyB.TabIndex = 2;
|
||||||
//
|
//
|
||||||
// dataGridView1
|
// dataGridView1
|
||||||
@ -315,8 +315,8 @@
|
|||||||
this.Date31,
|
this.Date31,
|
||||||
this.Remark});
|
this.Remark});
|
||||||
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.dataGridView1.Location = new System.Drawing.Point(0, 52);
|
this.dataGridView1.Location = new System.Drawing.Point(0, 42);
|
||||||
this.dataGridView1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.dataGridView1.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.dataGridView1.MultiSelect = false;
|
this.dataGridView1.MultiSelect = false;
|
||||||
this.dataGridView1.Name = "dataGridView1";
|
this.dataGridView1.Name = "dataGridView1";
|
||||||
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||||
@ -330,7 +330,7 @@
|
|||||||
this.dataGridView1.RowHeadersWidth = 51;
|
this.dataGridView1.RowHeadersWidth = 51;
|
||||||
this.dataGridView1.RowTemplate.Height = 27;
|
this.dataGridView1.RowTemplate.Height = 27;
|
||||||
this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||||||
this.dataGridView1.Size = new System.Drawing.Size(1885, 407);
|
this.dataGridView1.Size = new System.Drawing.Size(1413, 324);
|
||||||
this.dataGridView1.TabIndex = 0;
|
this.dataGridView1.TabIndex = 0;
|
||||||
this.dataGridView1.CellMouseDown += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dataGridView1_CellMouseDown);
|
this.dataGridView1.CellMouseDown += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dataGridView1_CellMouseDown);
|
||||||
this.dataGridView1.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellValueChanged);
|
this.dataGridView1.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellValueChanged);
|
||||||
@ -836,18 +836,18 @@
|
|||||||
this.panel4.Controls.Add(this.labelScheduling);
|
this.panel4.Controls.Add(this.labelScheduling);
|
||||||
this.panel4.Dock = System.Windows.Forms.DockStyle.Top;
|
this.panel4.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
this.panel4.Location = new System.Drawing.Point(0, 0);
|
this.panel4.Location = new System.Drawing.Point(0, 0);
|
||||||
this.panel4.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.panel4.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.panel4.Name = "panel4";
|
this.panel4.Name = "panel4";
|
||||||
this.panel4.Size = new System.Drawing.Size(1885, 52);
|
this.panel4.Size = new System.Drawing.Size(1413, 42);
|
||||||
this.panel4.TabIndex = 1;
|
this.panel4.TabIndex = 1;
|
||||||
//
|
//
|
||||||
// chxModified
|
// chxModified
|
||||||
//
|
//
|
||||||
this.chxModified.AutoSize = true;
|
this.chxModified.AutoSize = true;
|
||||||
this.chxModified.Location = new System.Drawing.Point(779, 18);
|
this.chxModified.Location = new System.Drawing.Point(584, 14);
|
||||||
this.chxModified.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.chxModified.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.chxModified.Name = "chxModified";
|
this.chxModified.Name = "chxModified";
|
||||||
this.chxModified.Size = new System.Drawing.Size(134, 19);
|
this.chxModified.Size = new System.Drawing.Size(108, 16);
|
||||||
this.chxModified.TabIndex = 17;
|
this.chxModified.TabIndex = 17;
|
||||||
this.chxModified.Text = "只显示可用班次";
|
this.chxModified.Text = "只显示可用班次";
|
||||||
this.chxModified.UseVisualStyleBackColor = true;
|
this.chxModified.UseVisualStyleBackColor = true;
|
||||||
@ -855,10 +855,10 @@
|
|||||||
//
|
//
|
||||||
// btnClearChecked
|
// btnClearChecked
|
||||||
//
|
//
|
||||||
this.btnClearChecked.Location = new System.Drawing.Point(643, 9);
|
this.btnClearChecked.Location = new System.Drawing.Point(482, 7);
|
||||||
this.btnClearChecked.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.btnClearChecked.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.btnClearChecked.Name = "btnClearChecked";
|
this.btnClearChecked.Name = "btnClearChecked";
|
||||||
this.btnClearChecked.Size = new System.Drawing.Size(116, 35);
|
this.btnClearChecked.Size = new System.Drawing.Size(87, 28);
|
||||||
this.btnClearChecked.TabIndex = 16;
|
this.btnClearChecked.TabIndex = 16;
|
||||||
this.btnClearChecked.Text = "清空选择";
|
this.btnClearChecked.Text = "清空选择";
|
||||||
this.btnClearChecked.UseVisualStyleBackColor = true;
|
this.btnClearChecked.UseVisualStyleBackColor = true;
|
||||||
@ -866,10 +866,10 @@
|
|||||||
//
|
//
|
||||||
// btnFresh
|
// btnFresh
|
||||||
//
|
//
|
||||||
this.btnFresh.Location = new System.Drawing.Point(1467, 9);
|
this.btnFresh.Location = new System.Drawing.Point(1100, 7);
|
||||||
this.btnFresh.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.btnFresh.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.btnFresh.Name = "btnFresh";
|
this.btnFresh.Name = "btnFresh";
|
||||||
this.btnFresh.Size = new System.Drawing.Size(75, 35);
|
this.btnFresh.Size = new System.Drawing.Size(56, 28);
|
||||||
this.btnFresh.TabIndex = 15;
|
this.btnFresh.TabIndex = 15;
|
||||||
this.btnFresh.Text = "刷新";
|
this.btnFresh.Text = "刷新";
|
||||||
this.btnFresh.UseVisualStyleBackColor = true;
|
this.btnFresh.UseVisualStyleBackColor = true;
|
||||||
@ -877,10 +877,9 @@
|
|||||||
//
|
//
|
||||||
// btnDown
|
// btnDown
|
||||||
//
|
//
|
||||||
this.btnDown.Location = new System.Drawing.Point(508, 9);
|
this.btnDown.Location = new System.Drawing.Point(381, 7);
|
||||||
this.btnDown.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
||||||
this.btnDown.Name = "btnDown";
|
this.btnDown.Name = "btnDown";
|
||||||
this.btnDown.Size = new System.Drawing.Size(100, 35);
|
this.btnDown.Size = new System.Drawing.Size(75, 28);
|
||||||
this.btnDown.TabIndex = 14;
|
this.btnDown.TabIndex = 14;
|
||||||
this.btnDown.Text = "↓向下";
|
this.btnDown.Text = "↓向下";
|
||||||
this.btnDown.UseVisualStyleBackColor = true;
|
this.btnDown.UseVisualStyleBackColor = true;
|
||||||
@ -888,10 +887,10 @@
|
|||||||
//
|
//
|
||||||
// btnPrint
|
// btnPrint
|
||||||
//
|
//
|
||||||
this.btnPrint.Location = new System.Drawing.Point(1061, 9);
|
this.btnPrint.Location = new System.Drawing.Point(796, 7);
|
||||||
this.btnPrint.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.btnPrint.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.btnPrint.Name = "btnPrint";
|
this.btnPrint.Name = "btnPrint";
|
||||||
this.btnPrint.Size = new System.Drawing.Size(75, 35);
|
this.btnPrint.Size = new System.Drawing.Size(56, 28);
|
||||||
this.btnPrint.TabIndex = 7;
|
this.btnPrint.TabIndex = 7;
|
||||||
this.btnPrint.Text = "打印";
|
this.btnPrint.Text = "打印";
|
||||||
this.btnPrint.UseVisualStyleBackColor = true;
|
this.btnPrint.UseVisualStyleBackColor = true;
|
||||||
@ -899,10 +898,9 @@
|
|||||||
//
|
//
|
||||||
// btnUp
|
// btnUp
|
||||||
//
|
//
|
||||||
this.btnUp.Location = new System.Drawing.Point(375, 9);
|
this.btnUp.Location = new System.Drawing.Point(281, 7);
|
||||||
this.btnUp.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
|
||||||
this.btnUp.Name = "btnUp";
|
this.btnUp.Name = "btnUp";
|
||||||
this.btnUp.Size = new System.Drawing.Size(100, 35);
|
this.btnUp.Size = new System.Drawing.Size(75, 28);
|
||||||
this.btnUp.TabIndex = 13;
|
this.btnUp.TabIndex = 13;
|
||||||
this.btnUp.Text = "↑向上";
|
this.btnUp.Text = "↑向上";
|
||||||
this.btnUp.UseVisualStyleBackColor = true;
|
this.btnUp.UseVisualStyleBackColor = true;
|
||||||
@ -911,10 +909,10 @@
|
|||||||
// chxOnlyShiftPlan
|
// chxOnlyShiftPlan
|
||||||
//
|
//
|
||||||
this.chxOnlyShiftPlan.AutoSize = true;
|
this.chxOnlyShiftPlan.AutoSize = true;
|
||||||
this.chxOnlyShiftPlan.Location = new System.Drawing.Point(1572, 16);
|
this.chxOnlyShiftPlan.Location = new System.Drawing.Point(1179, 13);
|
||||||
this.chxOnlyShiftPlan.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.chxOnlyShiftPlan.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.chxOnlyShiftPlan.Name = "chxOnlyShiftPlan";
|
this.chxOnlyShiftPlan.Name = "chxOnlyShiftPlan";
|
||||||
this.chxOnlyShiftPlan.Size = new System.Drawing.Size(134, 19);
|
this.chxOnlyShiftPlan.Size = new System.Drawing.Size(108, 16);
|
||||||
this.chxOnlyShiftPlan.TabIndex = 12;
|
this.chxOnlyShiftPlan.TabIndex = 12;
|
||||||
this.chxOnlyShiftPlan.Text = "只显示排班数据";
|
this.chxOnlyShiftPlan.Text = "只显示排班数据";
|
||||||
this.chxOnlyShiftPlan.UseVisualStyleBackColor = true;
|
this.chxOnlyShiftPlan.UseVisualStyleBackColor = true;
|
||||||
@ -922,10 +920,10 @@
|
|||||||
//
|
//
|
||||||
// btnSave
|
// btnSave
|
||||||
//
|
//
|
||||||
this.btnSave.Location = new System.Drawing.Point(929, 9);
|
this.btnSave.Location = new System.Drawing.Point(697, 7);
|
||||||
this.btnSave.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.btnSave.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.btnSave.Name = "btnSave";
|
this.btnSave.Name = "btnSave";
|
||||||
this.btnSave.Size = new System.Drawing.Size(75, 35);
|
this.btnSave.Size = new System.Drawing.Size(56, 28);
|
||||||
this.btnSave.TabIndex = 4;
|
this.btnSave.TabIndex = 4;
|
||||||
this.btnSave.Text = "保存";
|
this.btnSave.Text = "保存";
|
||||||
this.btnSave.UseVisualStyleBackColor = true;
|
this.btnSave.UseVisualStyleBackColor = true;
|
||||||
@ -933,19 +931,19 @@
|
|||||||
//
|
//
|
||||||
// textFind
|
// textFind
|
||||||
//
|
//
|
||||||
this.textFind.Location = new System.Drawing.Point(172, 12);
|
this.textFind.Location = new System.Drawing.Point(129, 10);
|
||||||
this.textFind.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.textFind.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.textFind.Name = "textFind";
|
this.textFind.Name = "textFind";
|
||||||
this.textFind.Size = new System.Drawing.Size(171, 25);
|
this.textFind.Size = new System.Drawing.Size(129, 21);
|
||||||
this.textFind.TabIndex = 1;
|
this.textFind.TabIndex = 1;
|
||||||
this.textFind.TextChanged += new System.EventHandler(this.textFind_TextChanged);
|
this.textFind.TextChanged += new System.EventHandler(this.textFind_TextChanged);
|
||||||
//
|
//
|
||||||
// btnExcel
|
// btnExcel
|
||||||
//
|
//
|
||||||
this.btnExcel.Location = new System.Drawing.Point(1187, 9);
|
this.btnExcel.Location = new System.Drawing.Point(890, 7);
|
||||||
this.btnExcel.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.btnExcel.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.btnExcel.Name = "btnExcel";
|
this.btnExcel.Name = "btnExcel";
|
||||||
this.btnExcel.Size = new System.Drawing.Size(113, 35);
|
this.btnExcel.Size = new System.Drawing.Size(85, 28);
|
||||||
this.btnExcel.TabIndex = 5;
|
this.btnExcel.TabIndex = 5;
|
||||||
this.btnExcel.Text = "导出Excel";
|
this.btnExcel.Text = "导出Excel";
|
||||||
this.btnExcel.UseVisualStyleBackColor = true;
|
this.btnExcel.UseVisualStyleBackColor = true;
|
||||||
@ -953,10 +951,10 @@
|
|||||||
//
|
//
|
||||||
// btnDelete
|
// btnDelete
|
||||||
//
|
//
|
||||||
this.btnDelete.Location = new System.Drawing.Point(1325, 9);
|
this.btnDelete.Location = new System.Drawing.Point(994, 7);
|
||||||
this.btnDelete.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.btnDelete.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.btnDelete.Name = "btnDelete";
|
this.btnDelete.Name = "btnDelete";
|
||||||
this.btnDelete.Size = new System.Drawing.Size(105, 35);
|
this.btnDelete.Size = new System.Drawing.Size(79, 28);
|
||||||
this.btnDelete.TabIndex = 8;
|
this.btnDelete.TabIndex = 8;
|
||||||
this.btnDelete.Text = "清除排班";
|
this.btnDelete.Text = "清除排班";
|
||||||
this.btnDelete.UseVisualStyleBackColor = true;
|
this.btnDelete.UseVisualStyleBackColor = true;
|
||||||
@ -965,9 +963,10 @@
|
|||||||
// labelScheduling
|
// labelScheduling
|
||||||
//
|
//
|
||||||
this.labelScheduling.AutoSize = true;
|
this.labelScheduling.AutoSize = true;
|
||||||
this.labelScheduling.Location = new System.Drawing.Point(19, 16);
|
this.labelScheduling.Location = new System.Drawing.Point(14, 13);
|
||||||
|
this.labelScheduling.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||||
this.labelScheduling.Name = "labelScheduling";
|
this.labelScheduling.Name = "labelScheduling";
|
||||||
this.labelScheduling.Size = new System.Drawing.Size(127, 15);
|
this.labelScheduling.Size = new System.Drawing.Size(101, 12);
|
||||||
this.labelScheduling.TabIndex = 9;
|
this.labelScheduling.TabIndex = 9;
|
||||||
this.labelScheduling.Text = "麻醉医生排班计划";
|
this.labelScheduling.Text = "麻醉医生排班计划";
|
||||||
//
|
//
|
||||||
@ -978,9 +977,9 @@
|
|||||||
this.panelBodyT.Controls.Add(this.panel1);
|
this.panelBodyT.Controls.Add(this.panel1);
|
||||||
this.panelBodyT.Dock = System.Windows.Forms.DockStyle.Top;
|
this.panelBodyT.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
this.panelBodyT.Location = new System.Drawing.Point(0, 0);
|
this.panelBodyT.Location = new System.Drawing.Point(0, 0);
|
||||||
this.panelBodyT.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.panelBodyT.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.panelBodyT.Name = "panelBodyT";
|
this.panelBodyT.Name = "panelBodyT";
|
||||||
this.panelBodyT.Size = new System.Drawing.Size(1887, 291);
|
this.panelBodyT.Size = new System.Drawing.Size(1415, 233);
|
||||||
this.panelBodyT.TabIndex = 1;
|
this.panelBodyT.TabIndex = 1;
|
||||||
//
|
//
|
||||||
// panel2
|
// panel2
|
||||||
@ -988,10 +987,10 @@
|
|||||||
this.panel2.Controls.Add(this.dgvShiftPlan);
|
this.panel2.Controls.Add(this.dgvShiftPlan);
|
||||||
this.panel2.Controls.Add(this.panel2Top);
|
this.panel2.Controls.Add(this.panel2Top);
|
||||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.panel2.Location = new System.Drawing.Point(611, 0);
|
this.panel2.Location = new System.Drawing.Point(458, 0);
|
||||||
this.panel2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.panel2.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.panel2.Name = "panel2";
|
this.panel2.Name = "panel2";
|
||||||
this.panel2.Size = new System.Drawing.Size(1274, 289);
|
this.panel2.Size = new System.Drawing.Size(955, 231);
|
||||||
this.panel2.TabIndex = 1;
|
this.panel2.TabIndex = 1;
|
||||||
//
|
//
|
||||||
// dgvShiftPlan
|
// dgvShiftPlan
|
||||||
@ -1025,8 +1024,8 @@
|
|||||||
this.Day13});
|
this.Day13});
|
||||||
this.dgvShiftPlan.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.dgvShiftPlan.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.dgvShiftPlan.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
|
this.dgvShiftPlan.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
|
||||||
this.dgvShiftPlan.Location = new System.Drawing.Point(0, 36);
|
this.dgvShiftPlan.Location = new System.Drawing.Point(0, 29);
|
||||||
this.dgvShiftPlan.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.dgvShiftPlan.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.dgvShiftPlan.MultiSelect = false;
|
this.dgvShiftPlan.MultiSelect = false;
|
||||||
this.dgvShiftPlan.Name = "dgvShiftPlan";
|
this.dgvShiftPlan.Name = "dgvShiftPlan";
|
||||||
dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||||
@ -1041,7 +1040,7 @@
|
|||||||
this.dgvShiftPlan.RowHeadersWidth = 45;
|
this.dgvShiftPlan.RowHeadersWidth = 45;
|
||||||
this.dgvShiftPlan.RowTemplate.Height = 27;
|
this.dgvShiftPlan.RowTemplate.Height = 27;
|
||||||
this.dgvShiftPlan.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
this.dgvShiftPlan.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||||||
this.dgvShiftPlan.Size = new System.Drawing.Size(1274, 253);
|
this.dgvShiftPlan.Size = new System.Drawing.Size(955, 202);
|
||||||
this.dgvShiftPlan.TabIndex = 4;
|
this.dgvShiftPlan.TabIndex = 4;
|
||||||
this.dgvShiftPlan.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dgvShiftPlan_DataError);
|
this.dgvShiftPlan.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dgvShiftPlan_DataError);
|
||||||
//
|
//
|
||||||
@ -1215,17 +1214,17 @@
|
|||||||
this.panel2Top.Controls.Add(this.label2);
|
this.panel2Top.Controls.Add(this.label2);
|
||||||
this.panel2Top.Dock = System.Windows.Forms.DockStyle.Top;
|
this.panel2Top.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
this.panel2Top.Location = new System.Drawing.Point(0, 0);
|
this.panel2Top.Location = new System.Drawing.Point(0, 0);
|
||||||
this.panel2Top.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.panel2Top.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.panel2Top.Name = "panel2Top";
|
this.panel2Top.Name = "panel2Top";
|
||||||
this.panel2Top.Size = new System.Drawing.Size(1274, 36);
|
this.panel2Top.Size = new System.Drawing.Size(955, 29);
|
||||||
this.panel2Top.TabIndex = 0;
|
this.panel2Top.TabIndex = 0;
|
||||||
//
|
//
|
||||||
// btnShiftPlanDelete
|
// btnShiftPlanDelete
|
||||||
//
|
//
|
||||||
this.btnShiftPlanDelete.Location = new System.Drawing.Point(576, 2);
|
this.btnShiftPlanDelete.Location = new System.Drawing.Point(432, 2);
|
||||||
this.btnShiftPlanDelete.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.btnShiftPlanDelete.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.btnShiftPlanDelete.Name = "btnShiftPlanDelete";
|
this.btnShiftPlanDelete.Name = "btnShiftPlanDelete";
|
||||||
this.btnShiftPlanDelete.Size = new System.Drawing.Size(75, 31);
|
this.btnShiftPlanDelete.Size = new System.Drawing.Size(56, 25);
|
||||||
this.btnShiftPlanDelete.TabIndex = 12;
|
this.btnShiftPlanDelete.TabIndex = 12;
|
||||||
this.btnShiftPlanDelete.Text = "删除";
|
this.btnShiftPlanDelete.Text = "删除";
|
||||||
this.btnShiftPlanDelete.UseVisualStyleBackColor = true;
|
this.btnShiftPlanDelete.UseVisualStyleBackColor = true;
|
||||||
@ -1233,10 +1232,10 @@
|
|||||||
//
|
//
|
||||||
// btnShiftPlanFresh
|
// btnShiftPlanFresh
|
||||||
//
|
//
|
||||||
this.btnShiftPlanFresh.Location = new System.Drawing.Point(451, 2);
|
this.btnShiftPlanFresh.Location = new System.Drawing.Point(338, 2);
|
||||||
this.btnShiftPlanFresh.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.btnShiftPlanFresh.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.btnShiftPlanFresh.Name = "btnShiftPlanFresh";
|
this.btnShiftPlanFresh.Name = "btnShiftPlanFresh";
|
||||||
this.btnShiftPlanFresh.Size = new System.Drawing.Size(75, 31);
|
this.btnShiftPlanFresh.Size = new System.Drawing.Size(56, 25);
|
||||||
this.btnShiftPlanFresh.TabIndex = 9;
|
this.btnShiftPlanFresh.TabIndex = 9;
|
||||||
this.btnShiftPlanFresh.Text = "刷新";
|
this.btnShiftPlanFresh.Text = "刷新";
|
||||||
this.btnShiftPlanFresh.UseVisualStyleBackColor = true;
|
this.btnShiftPlanFresh.UseVisualStyleBackColor = true;
|
||||||
@ -1244,10 +1243,10 @@
|
|||||||
//
|
//
|
||||||
// btnShiptPlanSave
|
// btnShiptPlanSave
|
||||||
//
|
//
|
||||||
this.btnShiptPlanSave.Location = new System.Drawing.Point(319, 2);
|
this.btnShiptPlanSave.Location = new System.Drawing.Point(239, 2);
|
||||||
this.btnShiptPlanSave.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.btnShiptPlanSave.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.btnShiptPlanSave.Name = "btnShiptPlanSave";
|
this.btnShiptPlanSave.Name = "btnShiptPlanSave";
|
||||||
this.btnShiptPlanSave.Size = new System.Drawing.Size(75, 31);
|
this.btnShiptPlanSave.Size = new System.Drawing.Size(56, 25);
|
||||||
this.btnShiptPlanSave.TabIndex = 8;
|
this.btnShiptPlanSave.TabIndex = 8;
|
||||||
this.btnShiptPlanSave.Text = "保存";
|
this.btnShiptPlanSave.Text = "保存";
|
||||||
this.btnShiptPlanSave.UseVisualStyleBackColor = true;
|
this.btnShiptPlanSave.UseVisualStyleBackColor = true;
|
||||||
@ -1256,9 +1255,10 @@
|
|||||||
// label2
|
// label2
|
||||||
//
|
//
|
||||||
this.label2.AutoSize = true;
|
this.label2.AutoSize = true;
|
||||||
this.label2.Location = new System.Drawing.Point(16, 12);
|
this.label2.Location = new System.Drawing.Point(12, 10);
|
||||||
|
this.label2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||||
this.label2.Name = "label2";
|
this.label2.Name = "label2";
|
||||||
this.label2.Size = new System.Drawing.Size(67, 15);
|
this.label2.Size = new System.Drawing.Size(53, 12);
|
||||||
this.label2.TabIndex = 5;
|
this.label2.TabIndex = 5;
|
||||||
this.label2.Text = "轮班计划";
|
this.label2.Text = "轮班计划";
|
||||||
//
|
//
|
||||||
@ -1268,9 +1268,9 @@
|
|||||||
this.panel1.Controls.Add(this.panel1Top);
|
this.panel1.Controls.Add(this.panel1Top);
|
||||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Left;
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Left;
|
||||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||||
this.panel1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.panel1.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.panel1.Name = "panel1";
|
this.panel1.Name = "panel1";
|
||||||
this.panel1.Size = new System.Drawing.Size(611, 289);
|
this.panel1.Size = new System.Drawing.Size(458, 231);
|
||||||
this.panel1.TabIndex = 0;
|
this.panel1.TabIndex = 0;
|
||||||
//
|
//
|
||||||
// dgvSchedulingType
|
// dgvSchedulingType
|
||||||
@ -1293,8 +1293,8 @@
|
|||||||
this.EndTime,
|
this.EndTime,
|
||||||
this.IsValid});
|
this.IsValid});
|
||||||
this.dgvSchedulingType.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.dgvSchedulingType.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.dgvSchedulingType.Location = new System.Drawing.Point(0, 36);
|
this.dgvSchedulingType.Location = new System.Drawing.Point(0, 29);
|
||||||
this.dgvSchedulingType.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.dgvSchedulingType.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.dgvSchedulingType.Name = "dgvSchedulingType";
|
this.dgvSchedulingType.Name = "dgvSchedulingType";
|
||||||
dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||||
dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Control;
|
dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Control;
|
||||||
@ -1308,7 +1308,7 @@
|
|||||||
this.dgvSchedulingType.RowHeadersWidth = 45;
|
this.dgvSchedulingType.RowHeadersWidth = 45;
|
||||||
this.dgvSchedulingType.RowTemplate.Height = 27;
|
this.dgvSchedulingType.RowTemplate.Height = 27;
|
||||||
this.dgvSchedulingType.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
this.dgvSchedulingType.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||||||
this.dgvSchedulingType.Size = new System.Drawing.Size(611, 253);
|
this.dgvSchedulingType.Size = new System.Drawing.Size(458, 202);
|
||||||
this.dgvSchedulingType.TabIndex = 3;
|
this.dgvSchedulingType.TabIndex = 3;
|
||||||
this.dgvSchedulingType.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvSchedulingType_CellEndEdit);
|
this.dgvSchedulingType.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvSchedulingType_CellEndEdit);
|
||||||
this.dgvSchedulingType.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dgvSchedulingType_DataError);
|
this.dgvSchedulingType.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dgvSchedulingType_DataError);
|
||||||
@ -1369,18 +1369,18 @@
|
|||||||
this.panel1Top.Controls.Add(this.labelDoctorNurse);
|
this.panel1Top.Controls.Add(this.labelDoctorNurse);
|
||||||
this.panel1Top.Dock = System.Windows.Forms.DockStyle.Top;
|
this.panel1Top.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
this.panel1Top.Location = new System.Drawing.Point(0, 0);
|
this.panel1Top.Location = new System.Drawing.Point(0, 0);
|
||||||
this.panel1Top.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.panel1Top.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.panel1Top.Name = "panel1Top";
|
this.panel1Top.Name = "panel1Top";
|
||||||
this.panel1Top.Size = new System.Drawing.Size(611, 36);
|
this.panel1Top.Size = new System.Drawing.Size(458, 29);
|
||||||
this.panel1Top.TabIndex = 2;
|
this.panel1Top.TabIndex = 2;
|
||||||
//
|
//
|
||||||
// chxHasInvaild
|
// chxHasInvaild
|
||||||
//
|
//
|
||||||
this.chxHasInvaild.AutoSize = true;
|
this.chxHasInvaild.AutoSize = true;
|
||||||
this.chxHasInvaild.Location = new System.Drawing.Point(132, 8);
|
this.chxHasInvaild.Location = new System.Drawing.Point(99, 6);
|
||||||
this.chxHasInvaild.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.chxHasInvaild.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.chxHasInvaild.Name = "chxHasInvaild";
|
this.chxHasInvaild.Name = "chxHasInvaild";
|
||||||
this.chxHasInvaild.Size = new System.Drawing.Size(119, 19);
|
this.chxHasInvaild.Size = new System.Drawing.Size(96, 16);
|
||||||
this.chxHasInvaild.TabIndex = 16;
|
this.chxHasInvaild.TabIndex = 16;
|
||||||
this.chxHasInvaild.Text = "显示全部班次";
|
this.chxHasInvaild.Text = "显示全部班次";
|
||||||
this.chxHasInvaild.UseVisualStyleBackColor = true;
|
this.chxHasInvaild.UseVisualStyleBackColor = true;
|
||||||
@ -1388,10 +1388,10 @@
|
|||||||
//
|
//
|
||||||
// btnShiftDelete
|
// btnShiftDelete
|
||||||
//
|
//
|
||||||
this.btnShiftDelete.Location = new System.Drawing.Point(508, 2);
|
this.btnShiftDelete.Location = new System.Drawing.Point(381, 2);
|
||||||
this.btnShiftDelete.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.btnShiftDelete.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.btnShiftDelete.Name = "btnShiftDelete";
|
this.btnShiftDelete.Name = "btnShiftDelete";
|
||||||
this.btnShiftDelete.Size = new System.Drawing.Size(75, 31);
|
this.btnShiftDelete.Size = new System.Drawing.Size(56, 25);
|
||||||
this.btnShiftDelete.TabIndex = 11;
|
this.btnShiftDelete.TabIndex = 11;
|
||||||
this.btnShiftDelete.Text = "删除";
|
this.btnShiftDelete.Text = "删除";
|
||||||
this.btnShiftDelete.UseVisualStyleBackColor = true;
|
this.btnShiftDelete.UseVisualStyleBackColor = true;
|
||||||
@ -1399,10 +1399,10 @@
|
|||||||
//
|
//
|
||||||
// btnShiftFresh
|
// btnShiftFresh
|
||||||
//
|
//
|
||||||
this.btnShiftFresh.Location = new System.Drawing.Point(415, 2);
|
this.btnShiftFresh.Location = new System.Drawing.Point(311, 2);
|
||||||
this.btnShiftFresh.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.btnShiftFresh.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.btnShiftFresh.Name = "btnShiftFresh";
|
this.btnShiftFresh.Name = "btnShiftFresh";
|
||||||
this.btnShiftFresh.Size = new System.Drawing.Size(75, 31);
|
this.btnShiftFresh.Size = new System.Drawing.Size(56, 25);
|
||||||
this.btnShiftFresh.TabIndex = 10;
|
this.btnShiftFresh.TabIndex = 10;
|
||||||
this.btnShiftFresh.Text = "刷新";
|
this.btnShiftFresh.Text = "刷新";
|
||||||
this.btnShiftFresh.UseVisualStyleBackColor = true;
|
this.btnShiftFresh.UseVisualStyleBackColor = true;
|
||||||
@ -1410,10 +1410,10 @@
|
|||||||
//
|
//
|
||||||
// btnShiftSave
|
// btnShiftSave
|
||||||
//
|
//
|
||||||
this.btnShiftSave.Location = new System.Drawing.Point(319, 2);
|
this.btnShiftSave.Location = new System.Drawing.Point(239, 2);
|
||||||
this.btnShiftSave.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.btnShiftSave.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.btnShiftSave.Name = "btnShiftSave";
|
this.btnShiftSave.Name = "btnShiftSave";
|
||||||
this.btnShiftSave.Size = new System.Drawing.Size(75, 31);
|
this.btnShiftSave.Size = new System.Drawing.Size(56, 25);
|
||||||
this.btnShiftSave.TabIndex = 9;
|
this.btnShiftSave.TabIndex = 9;
|
||||||
this.btnShiftSave.Text = "保存";
|
this.btnShiftSave.Text = "保存";
|
||||||
this.btnShiftSave.UseVisualStyleBackColor = true;
|
this.btnShiftSave.UseVisualStyleBackColor = true;
|
||||||
@ -1422,9 +1422,10 @@
|
|||||||
// labelDoctorNurse
|
// labelDoctorNurse
|
||||||
//
|
//
|
||||||
this.labelDoctorNurse.AutoSize = true;
|
this.labelDoctorNurse.AutoSize = true;
|
||||||
this.labelDoctorNurse.Location = new System.Drawing.Point(12, 10);
|
this.labelDoctorNurse.Location = new System.Drawing.Point(9, 8);
|
||||||
|
this.labelDoctorNurse.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||||
this.labelDoctorNurse.Name = "labelDoctorNurse";
|
this.labelDoctorNurse.Name = "labelDoctorNurse";
|
||||||
this.labelDoctorNurse.Size = new System.Drawing.Size(67, 15);
|
this.labelDoctorNurse.Size = new System.Drawing.Size(53, 12);
|
||||||
this.labelDoctorNurse.TabIndex = 0;
|
this.labelDoctorNurse.TabIndex = 0;
|
||||||
this.labelDoctorNurse.Text = "班次设置";
|
this.labelDoctorNurse.Text = "班次设置";
|
||||||
//
|
//
|
||||||
@ -1433,9 +1434,9 @@
|
|||||||
this.panelTop.Controls.Add(this.panelTopT);
|
this.panelTop.Controls.Add(this.panelTopT);
|
||||||
this.panelTop.Dock = System.Windows.Forms.DockStyle.Top;
|
this.panelTop.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
this.panelTop.Location = new System.Drawing.Point(0, 0);
|
this.panelTop.Location = new System.Drawing.Point(0, 0);
|
||||||
this.panelTop.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.panelTop.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.panelTop.Name = "panelTop";
|
this.panelTop.Name = "panelTop";
|
||||||
this.panelTop.Size = new System.Drawing.Size(1887, 42);
|
this.panelTop.Size = new System.Drawing.Size(1415, 34);
|
||||||
this.panelTop.TabIndex = 0;
|
this.panelTop.TabIndex = 0;
|
||||||
//
|
//
|
||||||
// panelTopT
|
// panelTopT
|
||||||
@ -1448,17 +1449,17 @@
|
|||||||
this.panelTopT.Controls.Add(this.panel3);
|
this.panelTopT.Controls.Add(this.panel3);
|
||||||
this.panelTopT.Dock = System.Windows.Forms.DockStyle.Top;
|
this.panelTopT.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
this.panelTopT.Location = new System.Drawing.Point(0, 0);
|
this.panelTopT.Location = new System.Drawing.Point(0, 0);
|
||||||
this.panelTopT.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.panelTopT.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.panelTopT.Name = "panelTopT";
|
this.panelTopT.Name = "panelTopT";
|
||||||
this.panelTopT.Size = new System.Drawing.Size(1887, 42);
|
this.panelTopT.Size = new System.Drawing.Size(1415, 34);
|
||||||
this.panelTopT.TabIndex = 2;
|
this.panelTopT.TabIndex = 2;
|
||||||
//
|
//
|
||||||
// btnPrintAttendance
|
// btnPrintAttendance
|
||||||
//
|
//
|
||||||
this.btnPrintAttendance.Location = new System.Drawing.Point(1276, 4);
|
this.btnPrintAttendance.Location = new System.Drawing.Point(957, 3);
|
||||||
this.btnPrintAttendance.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.btnPrintAttendance.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.btnPrintAttendance.Name = "btnPrintAttendance";
|
this.btnPrintAttendance.Name = "btnPrintAttendance";
|
||||||
this.btnPrintAttendance.Size = new System.Drawing.Size(121, 35);
|
this.btnPrintAttendance.Size = new System.Drawing.Size(91, 28);
|
||||||
this.btnPrintAttendance.TabIndex = 8;
|
this.btnPrintAttendance.TabIndex = 8;
|
||||||
this.btnPrintAttendance.Text = "打印出缺勤表";
|
this.btnPrintAttendance.Text = "打印出缺勤表";
|
||||||
this.btnPrintAttendance.UseVisualStyleBackColor = true;
|
this.btnPrintAttendance.UseVisualStyleBackColor = true;
|
||||||
@ -1466,13 +1467,13 @@
|
|||||||
//
|
//
|
||||||
// dateTimePicker1
|
// dateTimePicker1
|
||||||
//
|
//
|
||||||
this.dateTimePicker1.CustomFormat = "yyyy年MM月dd";
|
this.dateTimePicker1.CustomFormat = "yyyy年MM月";
|
||||||
this.dateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
this.dateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
||||||
this.dateTimePicker1.Location = new System.Drawing.Point(281, 8);
|
this.dateTimePicker1.Location = new System.Drawing.Point(211, 6);
|
||||||
this.dateTimePicker1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.dateTimePicker1.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.dateTimePicker1.Name = "dateTimePicker1";
|
this.dateTimePicker1.Name = "dateTimePicker1";
|
||||||
this.dateTimePicker1.ShowUpDown = true;
|
this.dateTimePicker1.ShowUpDown = true;
|
||||||
this.dateTimePicker1.Size = new System.Drawing.Size(103, 25);
|
this.dateTimePicker1.Size = new System.Drawing.Size(85, 21);
|
||||||
this.dateTimePicker1.TabIndex = 1;
|
this.dateTimePicker1.TabIndex = 1;
|
||||||
this.dateTimePicker1.Value = new System.DateTime(2020, 2, 9, 0, 0, 0, 0);
|
this.dateTimePicker1.Value = new System.DateTime(2020, 2, 9, 0, 0, 0, 0);
|
||||||
this.dateTimePicker1.ValueChanged += new System.EventHandler(this.dateTimePicker1_ValueChanged);
|
this.dateTimePicker1.ValueChanged += new System.EventHandler(this.dateTimePicker1_ValueChanged);
|
||||||
@ -1480,18 +1481,19 @@
|
|||||||
// label1
|
// label1
|
||||||
//
|
//
|
||||||
this.label1.AutoSize = true;
|
this.label1.AutoSize = true;
|
||||||
this.label1.Location = new System.Drawing.Point(224, 15);
|
this.label1.Location = new System.Drawing.Point(168, 12);
|
||||||
|
this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||||
this.label1.Name = "label1";
|
this.label1.Name = "label1";
|
||||||
this.label1.Size = new System.Drawing.Size(52, 15);
|
this.label1.Size = new System.Drawing.Size(41, 12);
|
||||||
this.label1.TabIndex = 0;
|
this.label1.TabIndex = 0;
|
||||||
this.label1.Text = "月份:";
|
this.label1.Text = "月份:";
|
||||||
//
|
//
|
||||||
// btnAttendance
|
// btnAttendance
|
||||||
//
|
//
|
||||||
this.btnAttendance.Location = new System.Drawing.Point(1116, 4);
|
this.btnAttendance.Location = new System.Drawing.Point(837, 3);
|
||||||
this.btnAttendance.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.btnAttendance.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.btnAttendance.Name = "btnAttendance";
|
this.btnAttendance.Name = "btnAttendance";
|
||||||
this.btnAttendance.Size = new System.Drawing.Size(131, 35);
|
this.btnAttendance.Size = new System.Drawing.Size(98, 28);
|
||||||
this.btnAttendance.TabIndex = 11;
|
this.btnAttendance.TabIndex = 11;
|
||||||
this.btnAttendance.Text = "填写出勤缺勤";
|
this.btnAttendance.Text = "填写出勤缺勤";
|
||||||
this.btnAttendance.UseVisualStyleBackColor = true;
|
this.btnAttendance.UseVisualStyleBackColor = true;
|
||||||
@ -1501,9 +1503,10 @@
|
|||||||
//
|
//
|
||||||
this.labelTitle.AutoSize = true;
|
this.labelTitle.AutoSize = true;
|
||||||
this.labelTitle.Font = new System.Drawing.Font("楷体", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
this.labelTitle.Font = new System.Drawing.Font("楷体", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
this.labelTitle.Location = new System.Drawing.Point(444, 8);
|
this.labelTitle.Location = new System.Drawing.Point(333, 6);
|
||||||
|
this.labelTitle.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||||
this.labelTitle.Name = "labelTitle";
|
this.labelTitle.Name = "labelTitle";
|
||||||
this.labelTitle.Size = new System.Drawing.Size(228, 25);
|
this.labelTitle.Size = new System.Drawing.Size(177, 20);
|
||||||
this.labelTitle.TabIndex = 3;
|
this.labelTitle.TabIndex = 3;
|
||||||
this.labelTitle.Text = "麻醉医生排班管理";
|
this.labelTitle.Text = "麻醉医生排班管理";
|
||||||
//
|
//
|
||||||
@ -1511,19 +1514,19 @@
|
|||||||
//
|
//
|
||||||
this.panel3.Controls.Add(this.radioNurse);
|
this.panel3.Controls.Add(this.radioNurse);
|
||||||
this.panel3.Controls.Add(this.radioDoctor);
|
this.panel3.Controls.Add(this.radioDoctor);
|
||||||
this.panel3.Location = new System.Drawing.Point(9, 2);
|
this.panel3.Location = new System.Drawing.Point(7, 2);
|
||||||
this.panel3.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.panel3.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.panel3.Name = "panel3";
|
this.panel3.Name = "panel3";
|
||||||
this.panel3.Size = new System.Drawing.Size(188, 38);
|
this.panel3.Size = new System.Drawing.Size(141, 30);
|
||||||
this.panel3.TabIndex = 2;
|
this.panel3.TabIndex = 2;
|
||||||
//
|
//
|
||||||
// radioNurse
|
// radioNurse
|
||||||
//
|
//
|
||||||
this.radioNurse.AutoSize = true;
|
this.radioNurse.AutoSize = true;
|
||||||
this.radioNurse.Location = new System.Drawing.Point(124, 8);
|
this.radioNurse.Location = new System.Drawing.Point(93, 6);
|
||||||
this.radioNurse.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.radioNurse.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.radioNurse.Name = "radioNurse";
|
this.radioNurse.Name = "radioNurse";
|
||||||
this.radioNurse.Size = new System.Drawing.Size(58, 19);
|
this.radioNurse.Size = new System.Drawing.Size(47, 16);
|
||||||
this.radioNurse.TabIndex = 1;
|
this.radioNurse.TabIndex = 1;
|
||||||
this.radioNurse.Text = "护士";
|
this.radioNurse.Text = "护士";
|
||||||
this.radioNurse.UseVisualStyleBackColor = true;
|
this.radioNurse.UseVisualStyleBackColor = true;
|
||||||
@ -1533,10 +1536,10 @@
|
|||||||
//
|
//
|
||||||
this.radioDoctor.AutoSize = true;
|
this.radioDoctor.AutoSize = true;
|
||||||
this.radioDoctor.Checked = true;
|
this.radioDoctor.Checked = true;
|
||||||
this.radioDoctor.Location = new System.Drawing.Point(9, 8);
|
this.radioDoctor.Location = new System.Drawing.Point(7, 6);
|
||||||
this.radioDoctor.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.radioDoctor.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.radioDoctor.Name = "radioDoctor";
|
this.radioDoctor.Name = "radioDoctor";
|
||||||
this.radioDoctor.Size = new System.Drawing.Size(88, 19);
|
this.radioDoctor.Size = new System.Drawing.Size(71, 16);
|
||||||
this.radioDoctor.TabIndex = 0;
|
this.radioDoctor.TabIndex = 0;
|
||||||
this.radioDoctor.TabStop = true;
|
this.radioDoctor.TabStop = true;
|
||||||
this.radioDoctor.Text = "麻醉医生";
|
this.radioDoctor.Text = "麻醉医生";
|
||||||
@ -2165,12 +2168,12 @@
|
|||||||
//
|
//
|
||||||
// FrmScheduling2
|
// FrmScheduling2
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.ClientSize = new System.Drawing.Size(1887, 794);
|
this.ClientSize = new System.Drawing.Size(1415, 635);
|
||||||
this.Controls.Add(this.panelAll);
|
this.Controls.Add(this.panelAll);
|
||||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||||
this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
this.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.MinimizeBox = false;
|
this.MinimizeBox = false;
|
||||||
this.Name = "FrmScheduling2";
|
this.Name = "FrmScheduling2";
|
||||||
this.Text = "排班管理";
|
this.Text = "排班管理";
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
1068
AIMS/OperationFront/FrmScheduling3.cs
Normal file
1068
AIMS/OperationFront/FrmScheduling3.cs
Normal file
File diff suppressed because it is too large
Load Diff
817
AIMS/OperationFront/FrmScheduling3.designer.cs
generated
Normal file
817
AIMS/OperationFront/FrmScheduling3.designer.cs
generated
Normal file
@ -0,0 +1,817 @@
|
|||||||
|
namespace AIMS.OperationFront.UI
|
||||||
|
{
|
||||||
|
partial class FrmScheduling3
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle29 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle30 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle31 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle32 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmScheduling3));
|
||||||
|
this.panelAll = new System.Windows.Forms.Panel();
|
||||||
|
this.panelBody = new System.Windows.Forms.Panel();
|
||||||
|
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
||||||
|
this.WorkerCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.WorkerName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.RoleName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.SchedulingTypeName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.BeginTime2 = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn();
|
||||||
|
this.EndTime2 = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn();
|
||||||
|
this.Overtime1 = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn();
|
||||||
|
this.Overtime2 = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn();
|
||||||
|
this.OverHours = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.LackTime1 = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn();
|
||||||
|
this.LackTime2 = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn();
|
||||||
|
this.LackHours = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.SchedulingTypeId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.panelTop = new System.Windows.Forms.Panel();
|
||||||
|
this.btnPrint = new System.Windows.Forms.Button();
|
||||||
|
this.chxLackTime = new System.Windows.Forms.CheckBox();
|
||||||
|
this.chxOverTime = new System.Windows.Forms.CheckBox();
|
||||||
|
this.chxInvalidWorker = new System.Windows.Forms.CheckBox();
|
||||||
|
this.button1 = new System.Windows.Forms.Button();
|
||||||
|
this.panel1 = new System.Windows.Forms.Panel();
|
||||||
|
this.radioNurse = new System.Windows.Forms.RadioButton();
|
||||||
|
this.radioDoctor = new System.Windows.Forms.RadioButton();
|
||||||
|
this.label2 = new System.Windows.Forms.Label();
|
||||||
|
this.textFind = new System.Windows.Forms.TextBox();
|
||||||
|
this.btnSave = new System.Windows.Forms.Button();
|
||||||
|
this.btnFresh = new System.Windows.Forms.Button();
|
||||||
|
this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
|
||||||
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
|
this.panelBottom = new System.Windows.Forms.Panel();
|
||||||
|
this.label3 = new System.Windows.Forms.Label();
|
||||||
|
this.labelTotal = new System.Windows.Forms.Label();
|
||||||
|
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.dataGridViewComboBoxColumn1 = new System.Windows.Forms.DataGridViewComboBoxColumn();
|
||||||
|
this.panelAll.SuspendLayout();
|
||||||
|
this.panelBody.SuspendLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||||
|
this.panelTop.SuspendLayout();
|
||||||
|
this.panel1.SuspendLayout();
|
||||||
|
this.panelBottom.SuspendLayout();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// panelAll
|
||||||
|
//
|
||||||
|
this.panelAll.Controls.Add(this.panelBody);
|
||||||
|
this.panelAll.Controls.Add(this.panelTop);
|
||||||
|
this.panelAll.Controls.Add(this.panelBottom);
|
||||||
|
this.panelAll.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.panelAll.Location = new System.Drawing.Point(0, 0);
|
||||||
|
this.panelAll.Margin = new System.Windows.Forms.Padding(2);
|
||||||
|
this.panelAll.Name = "panelAll";
|
||||||
|
this.panelAll.Size = new System.Drawing.Size(1273, 616);
|
||||||
|
this.panelAll.TabIndex = 0;
|
||||||
|
//
|
||||||
|
// panelBody
|
||||||
|
//
|
||||||
|
this.panelBody.Controls.Add(this.dataGridView1);
|
||||||
|
this.panelBody.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.panelBody.Location = new System.Drawing.Point(0, 33);
|
||||||
|
this.panelBody.Margin = new System.Windows.Forms.Padding(2);
|
||||||
|
this.panelBody.Name = "panelBody";
|
||||||
|
this.panelBody.Size = new System.Drawing.Size(1273, 549);
|
||||||
|
this.panelBody.TabIndex = 1;
|
||||||
|
//
|
||||||
|
// dataGridView1
|
||||||
|
//
|
||||||
|
this.dataGridView1.AllowUserToAddRows = false;
|
||||||
|
this.dataGridView1.AllowUserToDeleteRows = false;
|
||||||
|
this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.Window;
|
||||||
|
dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||||
|
dataGridViewCellStyle20.BackColor = System.Drawing.SystemColors.Control;
|
||||||
|
dataGridViewCellStyle20.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
|
dataGridViewCellStyle20.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||||
|
dataGridViewCellStyle20.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||||
|
dataGridViewCellStyle20.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||||
|
dataGridViewCellStyle20.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||||
|
this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle20;
|
||||||
|
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
|
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||||
|
this.WorkerCode,
|
||||||
|
this.WorkerName,
|
||||||
|
this.RoleName,
|
||||||
|
this.SchedulingTypeName,
|
||||||
|
this.BeginTime2,
|
||||||
|
this.EndTime2,
|
||||||
|
this.Overtime1,
|
||||||
|
this.Overtime2,
|
||||||
|
this.OverHours,
|
||||||
|
this.LackTime1,
|
||||||
|
this.LackTime2,
|
||||||
|
this.LackHours,
|
||||||
|
this.SchedulingTypeId});
|
||||||
|
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.dataGridView1.Location = new System.Drawing.Point(0, 0);
|
||||||
|
this.dataGridView1.Margin = new System.Windows.Forms.Padding(2);
|
||||||
|
this.dataGridView1.MultiSelect = false;
|
||||||
|
this.dataGridView1.Name = "dataGridView1";
|
||||||
|
dataGridViewCellStyle27.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||||
|
dataGridViewCellStyle27.BackColor = System.Drawing.SystemColors.Control;
|
||||||
|
dataGridViewCellStyle27.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
|
dataGridViewCellStyle27.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||||
|
dataGridViewCellStyle27.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||||
|
dataGridViewCellStyle27.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||||
|
dataGridViewCellStyle27.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||||
|
this.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle27;
|
||||||
|
this.dataGridView1.RowTemplate.Height = 27;
|
||||||
|
this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||||||
|
this.dataGridView1.Size = new System.Drawing.Size(1273, 549);
|
||||||
|
this.dataGridView1.TabIndex = 0;
|
||||||
|
this.dataGridView1.CellBeginEdit += new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.dataGridView1_CellBeginEdit);
|
||||||
|
this.dataGridView1.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellValueChanged);
|
||||||
|
this.dataGridView1.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dataGridView1_DataError);
|
||||||
|
//
|
||||||
|
// WorkerCode
|
||||||
|
//
|
||||||
|
this.WorkerCode.DataPropertyName = "WorkNo";
|
||||||
|
dataGridViewCellStyle21.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||||
|
this.WorkerCode.DefaultCellStyle = dataGridViewCellStyle21;
|
||||||
|
this.WorkerCode.HeaderText = "员工编号";
|
||||||
|
this.WorkerCode.Name = "WorkerCode";
|
||||||
|
this.WorkerCode.ReadOnly = true;
|
||||||
|
//
|
||||||
|
// WorkerName
|
||||||
|
//
|
||||||
|
this.WorkerName.DataPropertyName = "Name";
|
||||||
|
dataGridViewCellStyle22.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||||
|
this.WorkerName.DefaultCellStyle = dataGridViewCellStyle22;
|
||||||
|
this.WorkerName.HeaderText = "姓名";
|
||||||
|
this.WorkerName.Name = "WorkerName";
|
||||||
|
this.WorkerName.ReadOnly = true;
|
||||||
|
//
|
||||||
|
// RoleName
|
||||||
|
//
|
||||||
|
this.RoleName.DataPropertyName = "RoleName";
|
||||||
|
dataGridViewCellStyle23.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||||
|
this.RoleName.DefaultCellStyle = dataGridViewCellStyle23;
|
||||||
|
this.RoleName.HeaderText = "角色";
|
||||||
|
this.RoleName.Name = "RoleName";
|
||||||
|
this.RoleName.ReadOnly = true;
|
||||||
|
this.RoleName.Width = 80;
|
||||||
|
//
|
||||||
|
// SchedulingTypeName
|
||||||
|
//
|
||||||
|
this.SchedulingTypeName.DataPropertyName = "SchedulingTypeName";
|
||||||
|
dataGridViewCellStyle24.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||||
|
this.SchedulingTypeName.DefaultCellStyle = dataGridViewCellStyle24;
|
||||||
|
this.SchedulingTypeName.HeaderText = "班次";
|
||||||
|
this.SchedulingTypeName.Name = "SchedulingTypeName";
|
||||||
|
this.SchedulingTypeName.ReadOnly = true;
|
||||||
|
this.SchedulingTypeName.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||||
|
//
|
||||||
|
// BeginTime2
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
this.BeginTime2.BackgroundStyle.Class = "DataGridViewDateTimeBorder";
|
||||||
|
this.BeginTime2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
|
this.BeginTime2.CustomFormat = "d日HH:mm";
|
||||||
|
this.BeginTime2.DataPropertyName = "BeginTime2";
|
||||||
|
dataGridViewCellStyle25.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||||
|
dataGridViewCellStyle25.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||||
|
this.BeginTime2.DefaultCellStyle = dataGridViewCellStyle25;
|
||||||
|
this.BeginTime2.Format = DevComponents.Editors.eDateTimePickerFormat.Custom;
|
||||||
|
this.BeginTime2.HeaderText = "上班时间";
|
||||||
|
this.BeginTime2.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Left;
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
this.BeginTime2.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
|
this.BeginTime2.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1);
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
this.BeginTime2.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
|
this.BeginTime2.MonthCalendar.DisplayMonth = new System.DateTime(2020, 2, 1, 0, 0, 0, 0);
|
||||||
|
this.BeginTime2.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday;
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
this.BeginTime2.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
|
this.BeginTime2.Name = "BeginTime2";
|
||||||
|
this.BeginTime2.ReadOnly = true;
|
||||||
|
this.BeginTime2.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||||
|
this.BeginTime2.Width = 80;
|
||||||
|
//
|
||||||
|
// EndTime2
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
this.EndTime2.BackgroundStyle.Class = "DataGridViewDateTimeBorder";
|
||||||
|
this.EndTime2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
|
this.EndTime2.CustomFormat = "d日HH:mm";
|
||||||
|
this.EndTime2.DataPropertyName = "EndTime2";
|
||||||
|
dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||||
|
this.EndTime2.DefaultCellStyle = dataGridViewCellStyle6;
|
||||||
|
this.EndTime2.Format = DevComponents.Editors.eDateTimePickerFormat.Custom;
|
||||||
|
this.EndTime2.HeaderText = "下班时间";
|
||||||
|
this.EndTime2.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Left;
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
this.EndTime2.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
|
this.EndTime2.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1);
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
this.EndTime2.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
|
this.EndTime2.MonthCalendar.DisplayMonth = new System.DateTime(2020, 2, 1, 0, 0, 0, 0);
|
||||||
|
this.EndTime2.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday;
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
this.EndTime2.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
|
this.EndTime2.Name = "EndTime2";
|
||||||
|
this.EndTime2.ReadOnly = true;
|
||||||
|
this.EndTime2.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||||
|
this.EndTime2.Width = 80;
|
||||||
|
//
|
||||||
|
// Overtime1
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
this.Overtime1.BackgroundStyle.Class = "DataGridViewDateTimeBorder";
|
||||||
|
this.Overtime1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
|
this.Overtime1.CustomFormat = "d日HH:mm";
|
||||||
|
this.Overtime1.DataPropertyName = "OverTime1";
|
||||||
|
dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||||
|
this.Overtime1.DefaultCellStyle = dataGridViewCellStyle7;
|
||||||
|
this.Overtime1.Format = DevComponents.Editors.eDateTimePickerFormat.Custom;
|
||||||
|
this.Overtime1.HeaderText = "加班起点";
|
||||||
|
this.Overtime1.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Left;
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
this.Overtime1.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
|
this.Overtime1.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1);
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
this.Overtime1.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
|
this.Overtime1.MonthCalendar.DisplayMonth = new System.DateTime(2020, 1, 1, 0, 0, 0, 0);
|
||||||
|
this.Overtime1.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday;
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
this.Overtime1.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
|
this.Overtime1.Name = "Overtime1";
|
||||||
|
this.Overtime1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||||
|
this.Overtime1.ShowUpDown = true;
|
||||||
|
//
|
||||||
|
// Overtime2
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
this.Overtime2.BackgroundStyle.Class = "DataGridViewDateTimeBorder";
|
||||||
|
this.Overtime2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
|
this.Overtime2.CustomFormat = "d日HH:mm";
|
||||||
|
this.Overtime2.DataPropertyName = "OverTime2";
|
||||||
|
dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||||
|
this.Overtime2.DefaultCellStyle = dataGridViewCellStyle8;
|
||||||
|
this.Overtime2.Format = DevComponents.Editors.eDateTimePickerFormat.Custom;
|
||||||
|
this.Overtime2.HeaderText = "加班终点";
|
||||||
|
this.Overtime2.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Left;
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
this.Overtime2.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
|
this.Overtime2.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1);
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
this.Overtime2.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
|
this.Overtime2.MonthCalendar.DisplayMonth = new System.DateTime(2020, 1, 1, 0, 0, 0, 0);
|
||||||
|
this.Overtime2.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday;
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
this.Overtime2.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
|
this.Overtime2.Name = "Overtime2";
|
||||||
|
this.Overtime2.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||||
|
this.Overtime2.ShowUpDown = true;
|
||||||
|
//
|
||||||
|
// OverHours
|
||||||
|
//
|
||||||
|
this.OverHours.DataPropertyName = "OverHours";
|
||||||
|
dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
|
||||||
|
this.OverHours.DefaultCellStyle = dataGridViewCellStyle9;
|
||||||
|
this.OverHours.HeaderText = "加班时数";
|
||||||
|
this.OverHours.Name = "OverHours";
|
||||||
|
this.OverHours.Width = 80;
|
||||||
|
//
|
||||||
|
// LackTime1
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
this.LackTime1.BackgroundStyle.Class = "DataGridViewDateTimeBorder";
|
||||||
|
this.LackTime1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
|
this.LackTime1.CustomFormat = "d日HH:mm";
|
||||||
|
this.LackTime1.DataPropertyName = "LackTime1";
|
||||||
|
dataGridViewCellStyle26.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||||
|
this.LackTime1.DefaultCellStyle = dataGridViewCellStyle26;
|
||||||
|
this.LackTime1.Format = DevComponents.Editors.eDateTimePickerFormat.Custom;
|
||||||
|
this.LackTime1.HeaderText = "缺勤起点";
|
||||||
|
this.LackTime1.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Left;
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
this.LackTime1.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
|
this.LackTime1.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1);
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
this.LackTime1.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
|
this.LackTime1.MonthCalendar.DisplayMonth = new System.DateTime(2020, 1, 1, 0, 0, 0, 0);
|
||||||
|
this.LackTime1.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday;
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
this.LackTime1.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
|
this.LackTime1.Name = "LackTime1";
|
||||||
|
this.LackTime1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||||
|
this.LackTime1.ShowUpDown = true;
|
||||||
|
//
|
||||||
|
// LackTime2
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
this.LackTime2.BackgroundStyle.Class = "DataGridViewDateTimeBorder";
|
||||||
|
this.LackTime2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
|
this.LackTime2.CustomFormat = "d日HH:mm";
|
||||||
|
this.LackTime2.DataPropertyName = "LackTime2";
|
||||||
|
dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||||
|
this.LackTime2.DefaultCellStyle = dataGridViewCellStyle11;
|
||||||
|
this.LackTime2.Format = DevComponents.Editors.eDateTimePickerFormat.Custom;
|
||||||
|
this.LackTime2.HeaderText = "缺勤终点";
|
||||||
|
this.LackTime2.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Left;
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
this.LackTime2.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
|
this.LackTime2.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1);
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
this.LackTime2.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
|
this.LackTime2.MonthCalendar.DisplayMonth = new System.DateTime(2020, 1, 1, 0, 0, 0, 0);
|
||||||
|
this.LackTime2.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday;
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
this.LackTime2.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
|
this.LackTime2.Name = "LackTime2";
|
||||||
|
this.LackTime2.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||||
|
this.LackTime2.ShowUpDown = true;
|
||||||
|
//
|
||||||
|
// LackHours
|
||||||
|
//
|
||||||
|
this.LackHours.DataPropertyName = "LackHours";
|
||||||
|
dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
|
||||||
|
this.LackHours.DefaultCellStyle = dataGridViewCellStyle12;
|
||||||
|
this.LackHours.HeaderText = "缺勤时数";
|
||||||
|
this.LackHours.Name = "LackHours";
|
||||||
|
this.LackHours.Width = 80;
|
||||||
|
//
|
||||||
|
// SchedulingTypeId
|
||||||
|
//
|
||||||
|
this.SchedulingTypeId.DataPropertyName = "SchedulingTypeId";
|
||||||
|
this.SchedulingTypeId.HeaderText = "班次Id";
|
||||||
|
this.SchedulingTypeId.Name = "SchedulingTypeId";
|
||||||
|
this.SchedulingTypeId.Visible = false;
|
||||||
|
//
|
||||||
|
// panelTop
|
||||||
|
//
|
||||||
|
this.panelTop.Controls.Add(this.btnPrint);
|
||||||
|
this.panelTop.Controls.Add(this.chxLackTime);
|
||||||
|
this.panelTop.Controls.Add(this.chxOverTime);
|
||||||
|
this.panelTop.Controls.Add(this.chxInvalidWorker);
|
||||||
|
this.panelTop.Controls.Add(this.button1);
|
||||||
|
this.panelTop.Controls.Add(this.panel1);
|
||||||
|
this.panelTop.Controls.Add(this.label2);
|
||||||
|
this.panelTop.Controls.Add(this.textFind);
|
||||||
|
this.panelTop.Controls.Add(this.btnSave);
|
||||||
|
this.panelTop.Controls.Add(this.btnFresh);
|
||||||
|
this.panelTop.Controls.Add(this.dateTimePicker1);
|
||||||
|
this.panelTop.Controls.Add(this.label1);
|
||||||
|
this.panelTop.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
|
this.panelTop.Location = new System.Drawing.Point(0, 0);
|
||||||
|
this.panelTop.Margin = new System.Windows.Forms.Padding(2);
|
||||||
|
this.panelTop.Name = "panelTop";
|
||||||
|
this.panelTop.Size = new System.Drawing.Size(1273, 33);
|
||||||
|
this.panelTop.TabIndex = 0;
|
||||||
|
//
|
||||||
|
// btnPrint
|
||||||
|
//
|
||||||
|
this.btnPrint.Location = new System.Drawing.Point(1029, 3);
|
||||||
|
this.btnPrint.Margin = new System.Windows.Forms.Padding(2);
|
||||||
|
this.btnPrint.Name = "btnPrint";
|
||||||
|
this.btnPrint.Size = new System.Drawing.Size(81, 25);
|
||||||
|
this.btnPrint.TabIndex = 12;
|
||||||
|
this.btnPrint.Text = "打印预览";
|
||||||
|
this.btnPrint.UseVisualStyleBackColor = true;
|
||||||
|
this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click);
|
||||||
|
//
|
||||||
|
// chxLackTime
|
||||||
|
//
|
||||||
|
this.chxLackTime.AutoSize = true;
|
||||||
|
this.chxLackTime.Location = new System.Drawing.Point(761, 34);
|
||||||
|
this.chxLackTime.Name = "chxLackTime";
|
||||||
|
this.chxLackTime.Size = new System.Drawing.Size(84, 16);
|
||||||
|
this.chxLackTime.TabIndex = 11;
|
||||||
|
this.chxLackTime.Text = "缺勤在班内";
|
||||||
|
this.chxLackTime.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
|
// chxOverTime
|
||||||
|
//
|
||||||
|
this.chxOverTime.AutoSize = true;
|
||||||
|
this.chxOverTime.Location = new System.Drawing.Point(659, 35);
|
||||||
|
this.chxOverTime.Name = "chxOverTime";
|
||||||
|
this.chxOverTime.Size = new System.Drawing.Size(96, 16);
|
||||||
|
this.chxOverTime.TabIndex = 10;
|
||||||
|
this.chxOverTime.Text = "加班应在班外";
|
||||||
|
this.chxOverTime.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
|
// chxInvalidWorker
|
||||||
|
//
|
||||||
|
this.chxInvalidWorker.AutoSize = true;
|
||||||
|
this.chxInvalidWorker.Location = new System.Drawing.Point(569, 10);
|
||||||
|
this.chxInvalidWorker.Name = "chxInvalidWorker";
|
||||||
|
this.chxInvalidWorker.Size = new System.Drawing.Size(84, 16);
|
||||||
|
this.chxInvalidWorker.TabIndex = 9;
|
||||||
|
this.chxInvalidWorker.Text = "含无效员工";
|
||||||
|
this.chxInvalidWorker.UseVisualStyleBackColor = true;
|
||||||
|
this.chxInvalidWorker.CheckedChanged += new System.EventHandler(this.chxInvalidWorker_CheckedChanged);
|
||||||
|
//
|
||||||
|
// button1
|
||||||
|
//
|
||||||
|
this.button1.Location = new System.Drawing.Point(929, 4);
|
||||||
|
this.button1.Margin = new System.Windows.Forms.Padding(2);
|
||||||
|
this.button1.Name = "button1";
|
||||||
|
this.button1.Size = new System.Drawing.Size(81, 25);
|
||||||
|
this.button1.TabIndex = 8;
|
||||||
|
this.button1.Text = "导出Excel";
|
||||||
|
this.button1.UseVisualStyleBackColor = true;
|
||||||
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||||
|
//
|
||||||
|
// panel1
|
||||||
|
//
|
||||||
|
this.panel1.Controls.Add(this.radioNurse);
|
||||||
|
this.panel1.Controls.Add(this.radioDoctor);
|
||||||
|
this.panel1.Location = new System.Drawing.Point(397, 6);
|
||||||
|
this.panel1.Name = "panel1";
|
||||||
|
this.panel1.Size = new System.Drawing.Size(166, 23);
|
||||||
|
this.panel1.TabIndex = 7;
|
||||||
|
//
|
||||||
|
// radioNurse
|
||||||
|
//
|
||||||
|
this.radioNurse.AutoSize = true;
|
||||||
|
this.radioNurse.Location = new System.Drawing.Point(108, 3);
|
||||||
|
this.radioNurse.Name = "radioNurse";
|
||||||
|
this.radioNurse.Size = new System.Drawing.Size(47, 16);
|
||||||
|
this.radioNurse.TabIndex = 2;
|
||||||
|
this.radioNurse.Text = "护士";
|
||||||
|
this.radioNurse.UseVisualStyleBackColor = true;
|
||||||
|
this.radioNurse.CheckedChanged += new System.EventHandler(this.radioNurse_CheckedChanged);
|
||||||
|
//
|
||||||
|
// radioDoctor
|
||||||
|
//
|
||||||
|
this.radioDoctor.AutoSize = true;
|
||||||
|
this.radioDoctor.Checked = true;
|
||||||
|
this.radioDoctor.Location = new System.Drawing.Point(21, 2);
|
||||||
|
this.radioDoctor.Name = "radioDoctor";
|
||||||
|
this.radioDoctor.Size = new System.Drawing.Size(71, 16);
|
||||||
|
this.radioDoctor.TabIndex = 1;
|
||||||
|
this.radioDoctor.TabStop = true;
|
||||||
|
this.radioDoctor.Text = "麻醉医生";
|
||||||
|
this.radioDoctor.UseVisualStyleBackColor = true;
|
||||||
|
this.radioDoctor.CheckedChanged += new System.EventHandler(this.radioDoctor_CheckedChanged);
|
||||||
|
//
|
||||||
|
// label2
|
||||||
|
//
|
||||||
|
this.label2.AutoSize = true;
|
||||||
|
this.label2.Location = new System.Drawing.Point(188, 10);
|
||||||
|
this.label2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||||
|
this.label2.Name = "label2";
|
||||||
|
this.label2.Size = new System.Drawing.Size(77, 12);
|
||||||
|
this.label2.TabIndex = 6;
|
||||||
|
this.label2.Text = "姓名编号过滤";
|
||||||
|
//
|
||||||
|
// textFind
|
||||||
|
//
|
||||||
|
this.textFind.Location = new System.Drawing.Point(271, 6);
|
||||||
|
this.textFind.Margin = new System.Windows.Forms.Padding(2);
|
||||||
|
this.textFind.Name = "textFind";
|
||||||
|
this.textFind.Size = new System.Drawing.Size(114, 21);
|
||||||
|
this.textFind.TabIndex = 5;
|
||||||
|
this.textFind.TextChanged += new System.EventHandler(this.textFind_TextChanged);
|
||||||
|
//
|
||||||
|
// btnSave
|
||||||
|
//
|
||||||
|
this.btnSave.Location = new System.Drawing.Point(761, 4);
|
||||||
|
this.btnSave.Margin = new System.Windows.Forms.Padding(2);
|
||||||
|
this.btnSave.Name = "btnSave";
|
||||||
|
this.btnSave.Size = new System.Drawing.Size(62, 25);
|
||||||
|
this.btnSave.TabIndex = 3;
|
||||||
|
this.btnSave.Text = "保存";
|
||||||
|
this.btnSave.UseVisualStyleBackColor = true;
|
||||||
|
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
|
||||||
|
//
|
||||||
|
// btnFresh
|
||||||
|
//
|
||||||
|
this.btnFresh.Location = new System.Drawing.Point(845, 4);
|
||||||
|
this.btnFresh.Margin = new System.Windows.Forms.Padding(2);
|
||||||
|
this.btnFresh.Name = "btnFresh";
|
||||||
|
this.btnFresh.Size = new System.Drawing.Size(62, 25);
|
||||||
|
this.btnFresh.TabIndex = 2;
|
||||||
|
this.btnFresh.Text = "刷新";
|
||||||
|
this.btnFresh.UseVisualStyleBackColor = true;
|
||||||
|
this.btnFresh.Click += new System.EventHandler(this.btnFresh_Click);
|
||||||
|
//
|
||||||
|
// dateTimePicker1
|
||||||
|
//
|
||||||
|
this.dateTimePicker1.CustomFormat = "yyyy-MM-dd";
|
||||||
|
this.dateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
||||||
|
this.dateTimePicker1.Location = new System.Drawing.Point(56, 6);
|
||||||
|
this.dateTimePicker1.Margin = new System.Windows.Forms.Padding(2);
|
||||||
|
this.dateTimePicker1.Name = "dateTimePicker1";
|
||||||
|
this.dateTimePicker1.Size = new System.Drawing.Size(99, 21);
|
||||||
|
this.dateTimePicker1.TabIndex = 1;
|
||||||
|
this.dateTimePicker1.ValueChanged += new System.EventHandler(this.dateTimePicker1_ValueChanged);
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
this.label1.AutoSize = true;
|
||||||
|
this.label1.Location = new System.Drawing.Point(14, 10);
|
||||||
|
this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||||
|
this.label1.Name = "label1";
|
||||||
|
this.label1.Size = new System.Drawing.Size(29, 12);
|
||||||
|
this.label1.TabIndex = 0;
|
||||||
|
this.label1.Text = "日期";
|
||||||
|
//
|
||||||
|
// panelBottom
|
||||||
|
//
|
||||||
|
this.panelBottom.Controls.Add(this.label3);
|
||||||
|
this.panelBottom.Controls.Add(this.labelTotal);
|
||||||
|
this.panelBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||||
|
this.panelBottom.Location = new System.Drawing.Point(0, 582);
|
||||||
|
this.panelBottom.Margin = new System.Windows.Forms.Padding(2);
|
||||||
|
this.panelBottom.Name = "panelBottom";
|
||||||
|
this.panelBottom.Size = new System.Drawing.Size(1273, 34);
|
||||||
|
this.panelBottom.TabIndex = 2;
|
||||||
|
//
|
||||||
|
// label3
|
||||||
|
//
|
||||||
|
this.label3.AutoSize = true;
|
||||||
|
this.label3.Location = new System.Drawing.Point(54, 11);
|
||||||
|
this.label3.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||||
|
this.label3.Name = "label3";
|
||||||
|
this.label3.Size = new System.Drawing.Size(47, 12);
|
||||||
|
this.label3.TabIndex = 2;
|
||||||
|
this.label3.Text = "合计: ";
|
||||||
|
//
|
||||||
|
// labelTotal
|
||||||
|
//
|
||||||
|
this.labelTotal.AutoSize = true;
|
||||||
|
this.labelTotal.Location = new System.Drawing.Point(115, 11);
|
||||||
|
this.labelTotal.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||||
|
this.labelTotal.Name = "labelTotal";
|
||||||
|
this.labelTotal.Size = new System.Drawing.Size(155, 12);
|
||||||
|
this.labelTotal.TabIndex = 1;
|
||||||
|
this.labelTotal.Text = "加班 0 小时, 缺勤 0 小时";
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn1
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn1.DataPropertyName = "WorkNo";
|
||||||
|
this.dataGridViewTextBoxColumn1.HeaderText = "员工编号";
|
||||||
|
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
|
||||||
|
this.dataGridViewTextBoxColumn1.ReadOnly = true;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn2
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn2.DataPropertyName = "Name";
|
||||||
|
this.dataGridViewTextBoxColumn2.HeaderText = "姓名";
|
||||||
|
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
|
||||||
|
this.dataGridViewTextBoxColumn2.ReadOnly = true;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn3
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn3.DataPropertyName = "RoleName";
|
||||||
|
this.dataGridViewTextBoxColumn3.HeaderText = "角色";
|
||||||
|
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
|
||||||
|
this.dataGridViewTextBoxColumn3.ReadOnly = true;
|
||||||
|
this.dataGridViewTextBoxColumn3.Width = 80;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn4
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn4.DataPropertyName = "BeginTime";
|
||||||
|
dataGridViewCellStyle28.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||||
|
this.dataGridViewTextBoxColumn4.DefaultCellStyle = dataGridViewCellStyle28;
|
||||||
|
this.dataGridViewTextBoxColumn4.HeaderText = "上班时间";
|
||||||
|
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
|
||||||
|
this.dataGridViewTextBoxColumn4.ReadOnly = true;
|
||||||
|
this.dataGridViewTextBoxColumn4.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||||
|
this.dataGridViewTextBoxColumn4.Width = 80;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn5
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn5.DataPropertyName = "EndTime";
|
||||||
|
dataGridViewCellStyle29.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||||
|
this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle29;
|
||||||
|
this.dataGridViewTextBoxColumn5.HeaderText = "下班时间";
|
||||||
|
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
|
||||||
|
this.dataGridViewTextBoxColumn5.ReadOnly = true;
|
||||||
|
this.dataGridViewTextBoxColumn5.Width = 80;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn6
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn6.DataPropertyName = "OverHours";
|
||||||
|
dataGridViewCellStyle30.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
|
||||||
|
this.dataGridViewTextBoxColumn6.DefaultCellStyle = dataGridViewCellStyle30;
|
||||||
|
this.dataGridViewTextBoxColumn6.HeaderText = "加班时数";
|
||||||
|
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
|
||||||
|
this.dataGridViewTextBoxColumn6.ReadOnly = true;
|
||||||
|
this.dataGridViewTextBoxColumn6.Width = 80;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn7
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn7.DataPropertyName = "LackHours";
|
||||||
|
dataGridViewCellStyle31.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
|
||||||
|
this.dataGridViewTextBoxColumn7.DefaultCellStyle = dataGridViewCellStyle31;
|
||||||
|
this.dataGridViewTextBoxColumn7.HeaderText = "缺勤时数";
|
||||||
|
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
|
||||||
|
this.dataGridViewTextBoxColumn7.Visible = false;
|
||||||
|
this.dataGridViewTextBoxColumn7.Width = 80;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn8
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn8.DataPropertyName = "LackHours";
|
||||||
|
dataGridViewCellStyle32.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
|
||||||
|
this.dataGridViewTextBoxColumn8.DefaultCellStyle = dataGridViewCellStyle32;
|
||||||
|
this.dataGridViewTextBoxColumn8.HeaderText = "班次Id";
|
||||||
|
this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
|
||||||
|
this.dataGridViewTextBoxColumn8.Visible = false;
|
||||||
|
this.dataGridViewTextBoxColumn8.Width = 80;
|
||||||
|
//
|
||||||
|
// dataGridViewTextBoxColumn9
|
||||||
|
//
|
||||||
|
this.dataGridViewTextBoxColumn9.DataPropertyName = "SchedulingTypeId";
|
||||||
|
this.dataGridViewTextBoxColumn9.HeaderText = "班次Id";
|
||||||
|
this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
|
||||||
|
this.dataGridViewTextBoxColumn9.Visible = false;
|
||||||
|
//
|
||||||
|
// dataGridViewComboBoxColumn1
|
||||||
|
//
|
||||||
|
this.dataGridViewComboBoxColumn1.DataPropertyName = "SchedulingTypeName";
|
||||||
|
this.dataGridViewComboBoxColumn1.HeaderText = "班次";
|
||||||
|
this.dataGridViewComboBoxColumn1.Name = "dataGridViewComboBoxColumn1";
|
||||||
|
this.dataGridViewComboBoxColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||||
|
this.dataGridViewComboBoxColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||||
|
//
|
||||||
|
// FrmDeptAttendance
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(1273, 616);
|
||||||
|
this.Controls.Add(this.panelAll);
|
||||||
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||||
|
this.Margin = new System.Windows.Forms.Padding(2);
|
||||||
|
this.MinimizeBox = false;
|
||||||
|
this.Name = "FrmDeptAttendance";
|
||||||
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||||
|
this.Text = "部门考勤登记";
|
||||||
|
this.Load += new System.EventHandler(this.FrmDeptAttendance_Load);
|
||||||
|
this.panelAll.ResumeLayout(false);
|
||||||
|
this.panelBody.ResumeLayout(false);
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
||||||
|
this.panelTop.ResumeLayout(false);
|
||||||
|
this.panelTop.PerformLayout();
|
||||||
|
this.panel1.ResumeLayout(false);
|
||||||
|
this.panel1.PerformLayout();
|
||||||
|
this.panelBottom.ResumeLayout(false);
|
||||||
|
this.panelBottom.PerformLayout();
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.Panel panelAll;
|
||||||
|
private System.Windows.Forms.Panel panelBody;
|
||||||
|
private System.Windows.Forms.Panel panelTop;
|
||||||
|
private System.Windows.Forms.Panel panelBottom;
|
||||||
|
private System.Windows.Forms.Label label1;
|
||||||
|
private System.Windows.Forms.DateTimePicker dateTimePicker1;
|
||||||
|
private System.Windows.Forms.Button btnSave;
|
||||||
|
private System.Windows.Forms.Button btnFresh;
|
||||||
|
private System.Windows.Forms.Label labelTotal;
|
||||||
|
private System.Windows.Forms.DataGridView dataGridView1;
|
||||||
|
private System.Windows.Forms.Label label2;
|
||||||
|
private System.Windows.Forms.TextBox textFind;
|
||||||
|
private System.Windows.Forms.Panel panel1;
|
||||||
|
private System.Windows.Forms.RadioButton radioNurse;
|
||||||
|
private System.Windows.Forms.RadioButton radioDoctor;
|
||||||
|
private System.Windows.Forms.Button button1;
|
||||||
|
private System.Windows.Forms.CheckBox chxInvalidWorker;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
|
||||||
|
private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewComboBoxColumn1;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8;
|
||||||
|
private System.Windows.Forms.Label label3;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9;
|
||||||
|
private System.Windows.Forms.CheckBox chxOverTime;
|
||||||
|
private System.Windows.Forms.CheckBox chxLackTime;
|
||||||
|
private System.Windows.Forms.Button btnPrint;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn WorkerCode;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn WorkerName;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn RoleName;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn SchedulingTypeName;
|
||||||
|
private DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn BeginTime2;
|
||||||
|
private DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn EndTime2;
|
||||||
|
private DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn Overtime1;
|
||||||
|
private DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn Overtime2;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn OverHours;
|
||||||
|
private DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn LackTime1;
|
||||||
|
private DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn LackTime2;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn LackHours;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn SchedulingTypeId;
|
||||||
|
}
|
||||||
|
}
|
||||||
1292
AIMS/OperationFront/FrmScheduling3.resx
Normal file
1292
AIMS/OperationFront/FrmScheduling3.resx
Normal file
File diff suppressed because it is too large
Load Diff
@ -253,7 +253,7 @@
|
|||||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.panel1.Location = new System.Drawing.Point(0, 49);
|
this.panel1.Location = new System.Drawing.Point(0, 49);
|
||||||
this.panel1.Name = "panel1";
|
this.panel1.Name = "panel1";
|
||||||
this.panel1.Size = new System.Drawing.Size(1132, 450);
|
this.panel1.Size = new System.Drawing.Size(1132, 482);
|
||||||
this.panel1.TabIndex = 2;
|
this.panel1.TabIndex = 2;
|
||||||
//
|
//
|
||||||
// groupBox3
|
// groupBox3
|
||||||
@ -276,7 +276,7 @@
|
|||||||
this.groupBox3.Controls.Add(this.label43);
|
this.groupBox3.Controls.Add(this.label43);
|
||||||
this.groupBox3.Dock = System.Windows.Forms.DockStyle.Top;
|
this.groupBox3.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
this.groupBox3.Font = new System.Drawing.Font("宋体", 10.5F);
|
this.groupBox3.Font = new System.Drawing.Font("宋体", 10.5F);
|
||||||
this.groupBox3.Location = new System.Drawing.Point(0, 443);
|
this.groupBox3.Location = new System.Drawing.Point(0, 481);
|
||||||
this.groupBox3.Name = "groupBox3";
|
this.groupBox3.Name = "groupBox3";
|
||||||
this.groupBox3.Size = new System.Drawing.Size(1132, 105);
|
this.groupBox3.Size = new System.Drawing.Size(1132, 105);
|
||||||
this.groupBox3.TabIndex = 15;
|
this.groupBox3.TabIndex = 15;
|
||||||
@ -492,14 +492,14 @@
|
|||||||
this.groupBox2.Font = new System.Drawing.Font("宋体", 10.5F);
|
this.groupBox2.Font = new System.Drawing.Font("宋体", 10.5F);
|
||||||
this.groupBox2.Location = new System.Drawing.Point(0, 140);
|
this.groupBox2.Location = new System.Drawing.Point(0, 140);
|
||||||
this.groupBox2.Name = "groupBox2";
|
this.groupBox2.Name = "groupBox2";
|
||||||
this.groupBox2.Size = new System.Drawing.Size(1132, 303);
|
this.groupBox2.Size = new System.Drawing.Size(1132, 341);
|
||||||
this.groupBox2.TabIndex = 14;
|
this.groupBox2.TabIndex = 14;
|
||||||
this.groupBox2.TabStop = false;
|
this.groupBox2.TabStop = false;
|
||||||
this.groupBox2.Text = "手术基本信息";
|
this.groupBox2.Text = "手术基本信息";
|
||||||
//
|
//
|
||||||
// txtRemark
|
// txtRemark
|
||||||
//
|
//
|
||||||
this.txtRemark.Location = new System.Drawing.Point(640, 298);
|
this.txtRemark.Location = new System.Drawing.Point(640, 364);
|
||||||
this.txtRemark.Name = "txtRemark";
|
this.txtRemark.Name = "txtRemark";
|
||||||
this.txtRemark.Size = new System.Drawing.Size(375, 23);
|
this.txtRemark.Size = new System.Drawing.Size(375, 23);
|
||||||
this.txtRemark.TabIndex = 29;
|
this.txtRemark.TabIndex = 29;
|
||||||
@ -509,17 +509,16 @@
|
|||||||
//
|
//
|
||||||
this.label23.AutoSize = true;
|
this.label23.AutoSize = true;
|
||||||
this.label23.ForeColor = System.Drawing.Color.Black;
|
this.label23.ForeColor = System.Drawing.Color.Black;
|
||||||
this.label23.Location = new System.Drawing.Point(567, 350);
|
this.label23.Location = new System.Drawing.Point(9, 308);
|
||||||
this.label23.Name = "label23";
|
this.label23.Name = "label23";
|
||||||
this.label23.Size = new System.Drawing.Size(63, 14);
|
this.label23.Size = new System.Drawing.Size(63, 14);
|
||||||
this.label23.TabIndex = 11;
|
this.label23.TabIndex = 11;
|
||||||
this.label23.Text = "手术备注";
|
this.label23.Text = "手术备注";
|
||||||
this.label23.Visible = false;
|
|
||||||
//
|
//
|
||||||
// label29
|
// label29
|
||||||
//
|
//
|
||||||
this.label29.AutoSize = true;
|
this.label29.AutoSize = true;
|
||||||
this.label29.Location = new System.Drawing.Point(564, 303);
|
this.label29.Location = new System.Drawing.Point(564, 369);
|
||||||
this.label29.Name = "label29";
|
this.label29.Name = "label29";
|
||||||
this.label29.Size = new System.Drawing.Size(63, 14);
|
this.label29.Size = new System.Drawing.Size(63, 14);
|
||||||
this.label29.TabIndex = 28;
|
this.label29.TabIndex = 28;
|
||||||
@ -530,7 +529,7 @@
|
|||||||
//
|
//
|
||||||
this.label22.AutoSize = true;
|
this.label22.AutoSize = true;
|
||||||
this.label22.ForeColor = System.Drawing.Color.Black;
|
this.label22.ForeColor = System.Drawing.Color.Black;
|
||||||
this.label22.Location = new System.Drawing.Point(567, 319);
|
this.label22.Location = new System.Drawing.Point(567, 385);
|
||||||
this.label22.Name = "label22";
|
this.label22.Name = "label22";
|
||||||
this.label22.Size = new System.Drawing.Size(63, 14);
|
this.label22.Size = new System.Drawing.Size(63, 14);
|
||||||
this.label22.TabIndex = 11;
|
this.label22.TabIndex = 11;
|
||||||
@ -548,11 +547,10 @@
|
|||||||
//
|
//
|
||||||
// txtOperationRemark
|
// txtOperationRemark
|
||||||
//
|
//
|
||||||
this.txtOperationRemark.Location = new System.Drawing.Point(643, 345);
|
this.txtOperationRemark.Location = new System.Drawing.Point(85, 303);
|
||||||
this.txtOperationRemark.Name = "txtOperationRemark";
|
this.txtOperationRemark.Name = "txtOperationRemark";
|
||||||
this.txtOperationRemark.Size = new System.Drawing.Size(375, 23);
|
this.txtOperationRemark.Size = new System.Drawing.Size(1014, 23);
|
||||||
this.txtOperationRemark.TabIndex = 10;
|
this.txtOperationRemark.TabIndex = 10;
|
||||||
this.txtOperationRemark.Visible = false;
|
|
||||||
//
|
//
|
||||||
// txtContagion
|
// txtContagion
|
||||||
//
|
//
|
||||||
@ -662,7 +660,7 @@
|
|||||||
//
|
//
|
||||||
// txtDiseaseRemark
|
// txtDiseaseRemark
|
||||||
//
|
//
|
||||||
this.txtDiseaseRemark.Location = new System.Drawing.Point(643, 314);
|
this.txtDiseaseRemark.Location = new System.Drawing.Point(643, 380);
|
||||||
this.txtDiseaseRemark.Name = "txtDiseaseRemark";
|
this.txtDiseaseRemark.Name = "txtDiseaseRemark";
|
||||||
this.txtDiseaseRemark.Size = new System.Drawing.Size(375, 23);
|
this.txtDiseaseRemark.Size = new System.Drawing.Size(375, 23);
|
||||||
this.txtDiseaseRemark.TabIndex = 10;
|
this.txtDiseaseRemark.TabIndex = 10;
|
||||||
@ -1448,7 +1446,7 @@
|
|||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.ClientSize = new System.Drawing.Size(1132, 499);
|
this.ClientSize = new System.Drawing.Size(1132, 531);
|
||||||
this.Controls.Add(this.panel1);
|
this.Controls.Add(this.panel1);
|
||||||
this.Controls.Add(this.toolStrip1);
|
this.Controls.Add(this.toolStrip1);
|
||||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||||
|
|||||||
@ -281,12 +281,12 @@ namespace AIMS.OperationFront.UI
|
|||||||
if (IsJZ == false)
|
if (IsJZ == false)
|
||||||
{
|
{
|
||||||
groupBox3.Visible = false;
|
groupBox3.Visible = false;
|
||||||
this.Size = new Size(1140, 530);
|
this.Size = new Size(1140, 570);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
groupBox3.Visible = true;
|
groupBox3.Visible = true;
|
||||||
this.Size = new Size(1140, 630);
|
this.Size = new Size(1140, 670);
|
||||||
if (rboJZ.Checked == true)
|
if (rboJZ.Checked == true)
|
||||||
{
|
{
|
||||||
cboOperationRoom.DisplayMember = "Name";
|
cboOperationRoom.DisplayMember = "Name";
|
||||||
@ -960,7 +960,7 @@ namespace AIMS.OperationFront.UI
|
|||||||
|
|
||||||
//Oris_PatientObj.Id = BOperationApply.SelectSingle(EditApplyId).Oris_PatientId;
|
//Oris_PatientObj.Id = BOperationApply.SelectSingle(EditApplyId).Oris_PatientId;
|
||||||
//OperationApplyObj.Id = EditApplyId;
|
//OperationApplyObj.Id = EditApplyId;
|
||||||
if (OperationApplyObj.PlanOperationTime.Value.Year != 1)
|
if (OperationApplyObj.PlanOperationTime!=null && OperationApplyObj.PlanOperationTime.Value.Year != 1)
|
||||||
if (OperationApplyObj.OrderOperationTime.Value.Day != OperationApplyObj.PlanOperationTime.Value.Day)
|
if (OperationApplyObj.OrderOperationTime.Value.Day != OperationApplyObj.PlanOperationTime.Value.Day)
|
||||||
{
|
{
|
||||||
OperationApplyObj.PlanOperationTime = OperationApplyObj.OrderOperationTime;
|
OperationApplyObj.PlanOperationTime = OperationApplyObj.OrderOperationTime;
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -123,6 +123,12 @@
|
|||||||
<metadata name="Diagnose.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="Diagnose.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</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">
|
<metadata name="dataGridViewCheckBoxColumn3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
@ -245,7 +251,7 @@
|
|||||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
|
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
|
||||||
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
|
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
|
||||||
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAD+
|
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAD+
|
||||||
CAAAAk1TRnQBSQFMAgEBAgEAAVwBEwFcARMBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
|
CAAAAk1TRnQBSQFMAgEBAgEAAXQBEwF0ARMBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
|
||||||
AwABQAMAARADAAEBAQABCAYAAQQYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
|
AwABQAMAARADAAEBAQABCAYAAQQYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
|
||||||
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
|
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
|
||||||
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
|
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
|
||||||
@ -289,12 +295,18 @@
|
|||||||
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>144, 17</value>
|
<value>144, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
<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">
|
<metadata name="ctsThisRoom.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>17, 17</value>
|
<value>17, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="contextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="contextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>360, 17</value>
|
<value>360, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
<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="dataGridViewTextBoxColumn3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="dataGridViewTextBoxColumn3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
|||||||
185
AIMS/OperationFront/frmPlanPatientInfo.Designer.cs
generated
185
AIMS/OperationFront/frmPlanPatientInfo.Designer.cs
generated
@ -1,185 +0,0 @@
|
|||||||
namespace AIMS.OperationFront.UI
|
|
||||||
{
|
|
||||||
partial class frmPlanPatientInfo
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Required designer variable.
|
|
||||||
/// </summary>
|
|
||||||
private System.ComponentModel.IContainer components = null;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Clean up any resources being used.
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
||||||
protected override void Dispose(bool disposing)
|
|
||||||
{
|
|
||||||
if (disposing && (components != null))
|
|
||||||
{
|
|
||||||
components.Dispose();
|
|
||||||
}
|
|
||||||
base.Dispose(disposing);
|
|
||||||
}
|
|
||||||
|
|
||||||
#region Windows Form Designer generated code
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Required method for Designer support - do not modify
|
|
||||||
/// the contents of this method with the code editor.
|
|
||||||
/// </summary>
|
|
||||||
private void InitializeComponent()
|
|
||||||
{
|
|
||||||
this.dgv = new System.Windows.Forms.DataGridView();
|
|
||||||
this.ApplyId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
||||||
this.ApplyDepNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
||||||
this.MdrecNoColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
||||||
this.PatientNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
||||||
this.SexColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
||||||
this.BirthDayColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
||||||
this.ApplyDiagnoseInfoNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
||||||
this.ApplyOperationInfoNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
||||||
this.AnaesthesiaMethodNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
||||||
this.OperationDoctorColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
||||||
this.OperationTypeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dgv)).BeginInit();
|
|
||||||
this.SuspendLayout();
|
|
||||||
//
|
|
||||||
// dgv
|
|
||||||
//
|
|
||||||
this.dgv.AllowUserToAddRows = false;
|
|
||||||
this.dgv.BackgroundColor = System.Drawing.Color.White;
|
|
||||||
this.dgv.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
||||||
this.dgv.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
||||||
this.ApplyId,
|
|
||||||
this.ApplyDepNameColumn,
|
|
||||||
this.MdrecNoColumn,
|
|
||||||
this.PatientNameColumn,
|
|
||||||
this.SexColumn,
|
|
||||||
this.BirthDayColumn,
|
|
||||||
this.ApplyDiagnoseInfoNameColumn,
|
|
||||||
this.ApplyOperationInfoNameColumn,
|
|
||||||
this.AnaesthesiaMethodNameColumn,
|
|
||||||
this.OperationDoctorColumn,
|
|
||||||
this.OperationTypeColumn});
|
|
||||||
this.dgv.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
||||||
this.dgv.Location = new System.Drawing.Point(0, 0);
|
|
||||||
this.dgv.Name = "dgv";
|
|
||||||
this.dgv.RowHeadersVisible = false;
|
|
||||||
this.dgv.RowTemplate.Height = 23;
|
|
||||||
this.dgv.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
|
|
||||||
this.dgv.Size = new System.Drawing.Size(799, 450);
|
|
||||||
this.dgv.TabIndex = 4;
|
|
||||||
//
|
|
||||||
// ApplyId
|
|
||||||
//
|
|
||||||
this.ApplyId.DataPropertyName = "ApplyId";
|
|
||||||
this.ApplyId.Frozen = true;
|
|
||||||
this.ApplyId.HeaderText = "ApplyId";
|
|
||||||
this.ApplyId.Name = "ApplyId";
|
|
||||||
this.ApplyId.ReadOnly = true;
|
|
||||||
this.ApplyId.Visible = false;
|
|
||||||
//
|
|
||||||
// ApplyDepNameColumn
|
|
||||||
//
|
|
||||||
this.ApplyDepNameColumn.DataPropertyName = "ApplyDepName";
|
|
||||||
this.ApplyDepNameColumn.HeaderText = "申请科室";
|
|
||||||
this.ApplyDepNameColumn.Name = "ApplyDepNameColumn";
|
|
||||||
this.ApplyDepNameColumn.ReadOnly = true;
|
|
||||||
this.ApplyDepNameColumn.Width = 80;
|
|
||||||
//
|
|
||||||
// MdrecNoColumn
|
|
||||||
//
|
|
||||||
this.MdrecNoColumn.DataPropertyName = "MdrecNo";
|
|
||||||
this.MdrecNoColumn.HeaderText = "住院号";
|
|
||||||
this.MdrecNoColumn.Name = "MdrecNoColumn";
|
|
||||||
this.MdrecNoColumn.ReadOnly = true;
|
|
||||||
this.MdrecNoColumn.Width = 80;
|
|
||||||
//
|
|
||||||
// PatientNameColumn
|
|
||||||
//
|
|
||||||
this.PatientNameColumn.DataPropertyName = "PatientName";
|
|
||||||
this.PatientNameColumn.HeaderText = "患者姓名";
|
|
||||||
this.PatientNameColumn.Name = "PatientNameColumn";
|
|
||||||
this.PatientNameColumn.ReadOnly = true;
|
|
||||||
this.PatientNameColumn.Width = 80;
|
|
||||||
//
|
|
||||||
// SexColumn
|
|
||||||
//
|
|
||||||
this.SexColumn.DataPropertyName = "Sex";
|
|
||||||
this.SexColumn.HeaderText = "性别";
|
|
||||||
this.SexColumn.Name = "SexColumn";
|
|
||||||
this.SexColumn.ReadOnly = true;
|
|
||||||
this.SexColumn.Width = 60;
|
|
||||||
//
|
|
||||||
// BirthDayColumn
|
|
||||||
//
|
|
||||||
this.BirthDayColumn.DataPropertyName = "BirthDay";
|
|
||||||
this.BirthDayColumn.HeaderText = "出生日期";
|
|
||||||
this.BirthDayColumn.Name = "BirthDayColumn";
|
|
||||||
this.BirthDayColumn.Width = 80;
|
|
||||||
//
|
|
||||||
// ApplyDiagnoseInfoNameColumn
|
|
||||||
//
|
|
||||||
this.ApplyDiagnoseInfoNameColumn.DataPropertyName = "ApplyDiagnoseInfoName";
|
|
||||||
this.ApplyDiagnoseInfoNameColumn.HeaderText = "术前诊断";
|
|
||||||
this.ApplyDiagnoseInfoNameColumn.Name = "ApplyDiagnoseInfoNameColumn";
|
|
||||||
this.ApplyDiagnoseInfoNameColumn.ReadOnly = true;
|
|
||||||
//
|
|
||||||
// ApplyOperationInfoNameColumn
|
|
||||||
//
|
|
||||||
this.ApplyOperationInfoNameColumn.DataPropertyName = "ApplyOperationInfoName";
|
|
||||||
this.ApplyOperationInfoNameColumn.HeaderText = "拟实手术";
|
|
||||||
this.ApplyOperationInfoNameColumn.Name = "ApplyOperationInfoNameColumn";
|
|
||||||
this.ApplyOperationInfoNameColumn.ReadOnly = true;
|
|
||||||
//
|
|
||||||
// AnaesthesiaMethodNameColumn
|
|
||||||
//
|
|
||||||
this.AnaesthesiaMethodNameColumn.DataPropertyName = "AnaesthesiaMethodName";
|
|
||||||
this.AnaesthesiaMethodNameColumn.HeaderText = "拟施麻醉";
|
|
||||||
this.AnaesthesiaMethodNameColumn.Name = "AnaesthesiaMethodNameColumn";
|
|
||||||
this.AnaesthesiaMethodNameColumn.ReadOnly = true;
|
|
||||||
//
|
|
||||||
// OperationDoctorColumn
|
|
||||||
//
|
|
||||||
this.OperationDoctorColumn.DataPropertyName = "OperationDoctor";
|
|
||||||
this.OperationDoctorColumn.HeaderText = "术者";
|
|
||||||
this.OperationDoctorColumn.Name = "OperationDoctorColumn";
|
|
||||||
this.OperationDoctorColumn.ReadOnly = true;
|
|
||||||
//
|
|
||||||
// OperationTypeColumn
|
|
||||||
//
|
|
||||||
this.OperationTypeColumn.DataPropertyName = "OperationType";
|
|
||||||
this.OperationTypeColumn.HeaderText = "OperationType";
|
|
||||||
this.OperationTypeColumn.Name = "OperationTypeColumn";
|
|
||||||
this.OperationTypeColumn.ReadOnly = true;
|
|
||||||
this.OperationTypeColumn.Visible = false;
|
|
||||||
//
|
|
||||||
// frmPlanPatientInfo
|
|
||||||
//
|
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
||||||
this.ClientSize = new System.Drawing.Size(799, 450);
|
|
||||||
this.ControlBox = false;
|
|
||||||
this.Controls.Add(this.dgv);
|
|
||||||
this.Name = "frmPlanPatientInfo";
|
|
||||||
this.Load += new System.EventHandler(this.frmPlanPatientInfo_Load);
|
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dgv)).EndInit();
|
|
||||||
this.ResumeLayout(false);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
private System.Windows.Forms.DataGridView dgv;
|
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyId;
|
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyDepNameColumn;
|
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn MdrecNoColumn;
|
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn PatientNameColumn;
|
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn SexColumn;
|
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn BirthDayColumn;
|
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyDiagnoseInfoNameColumn;
|
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyOperationInfoNameColumn;
|
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn AnaesthesiaMethodNameColumn;
|
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn OperationDoctorColumn;
|
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn OperationTypeColumn;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,49 +0,0 @@
|
|||||||
using AIMSBLL;
|
|
||||||
using System;
|
|
||||||
using System.Drawing;
|
|
||||||
using System.Windows.Forms;
|
|
||||||
|
|
||||||
namespace AIMS.OperationFront.UI
|
|
||||||
{
|
|
||||||
public partial class frmPlanPatientInfo : Form
|
|
||||||
{
|
|
||||||
private static frmPlanPatientInfo f;
|
|
||||||
public DateTime Time;
|
|
||||||
public int RoomId;
|
|
||||||
public frmPlanPatientInfo()
|
|
||||||
{
|
|
||||||
InitializeComponent();
|
|
||||||
}
|
|
||||||
|
|
||||||
private void frmPlanPatientInfo_Load(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
int x = (System.Windows.Forms.SystemInformation.WorkingArea.Width - this.Size.Width) / 2;
|
|
||||||
int y = (System.Windows.Forms.SystemInformation.WorkingArea.Height - this.Size.Height) / 2-60;
|
|
||||||
this.StartPosition = FormStartPosition.Manual;
|
|
||||||
this.Location = (Point)new Size(x, y);
|
|
||||||
|
|
||||||
dgv.DataSource = BOperationApply.GetOperationRoomDataTable(Time, RoomId);
|
|
||||||
|
|
||||||
for (int i = 0; i < dgv.Rows.Count; i++)
|
|
||||||
{
|
|
||||||
if (dgv.Rows[i].Cells["OperationTypeColumn"].Value.ToString() == "急诊")
|
|
||||||
{
|
|
||||||
dgv.Rows[i].DefaultCellStyle.BackColor = Color.LightSalmon;
|
|
||||||
}
|
|
||||||
if (dgv.Rows[i].Cells["OperationTypeColumn"].Value.ToString() == "特急")
|
|
||||||
{
|
|
||||||
dgv.Rows[i].DefaultCellStyle.BackColor = Color.Red;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public static frmPlanPatientInfo CreateForm()
|
|
||||||
{
|
|
||||||
if (frmPlanPatientInfo.f == null || frmPlanPatientInfo.f.IsDisposed)
|
|
||||||
{
|
|
||||||
frmPlanPatientInfo.f = new frmPlanPatientInfo();
|
|
||||||
}
|
|
||||||
return frmPlanPatientInfo.f;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,153 +0,0 @@
|
|||||||
<?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="ApplyId.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="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="BirthDayColumn.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="OperationDoctorColumn.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>
|
|
||||||
</root>
|
|
||||||
@ -1,4 +1,5 @@
|
|||||||
using AIMS.OremrUserControl;
|
using AIMS.OremrUserControl;
|
||||||
|
using AIMS.PublicUI;
|
||||||
using AIMSBLL;
|
using AIMSBLL;
|
||||||
using AIMSModel;
|
using AIMSModel;
|
||||||
using System;
|
using System;
|
||||||
@ -108,7 +109,11 @@ namespace AIMS.OperationFront.UI
|
|||||||
UCap.labRemark.Text = dt.Rows[i]["Remark"].ToString();
|
UCap.labRemark.Text = dt.Rows[i]["Remark"].ToString();
|
||||||
if (dt.Rows[i]["OperationType"].ToString() == "急诊")
|
if (dt.Rows[i]["OperationType"].ToString() == "急诊")
|
||||||
{
|
{
|
||||||
UCap.pictureBox1.Visible = true;
|
UCap.BindWaterMark2("急", 600, 20, Color.Red);
|
||||||
|
}
|
||||||
|
if (dt.Rows[i]["Contagion"].ToString() != "" && dt.Rows[i]["Contagion"].ToString() != "无" && dt.Rows[i]["Contagion"].ToString() != "未报")
|
||||||
|
{
|
||||||
|
UCap.BindWaterMark2(dt.Rows[i]["Contagion"].ToString() , 650, 20, Color.Purple);
|
||||||
}
|
}
|
||||||
UCap.lblOpeLevel.Text = dt.Rows[i]["OperationLevelName"].ToString();
|
UCap.lblOpeLevel.Text = dt.Rows[i]["OperationLevelName"].ToString();
|
||||||
}
|
}
|
||||||
|
|||||||
2
AIMS/OperationFront/frmStopOperation.Designer.cs
generated
2
AIMS/OperationFront/frmStopOperation.Designer.cs
generated
@ -58,7 +58,7 @@
|
|||||||
this.tsbCancel.ImageTransparentColor = System.Drawing.Color.Magenta;
|
this.tsbCancel.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
this.tsbCancel.Name = "tsbCancel";
|
this.tsbCancel.Name = "tsbCancel";
|
||||||
this.tsbCancel.Size = new System.Drawing.Size(68, 46);
|
this.tsbCancel.Size = new System.Drawing.Size(68, 46);
|
||||||
this.tsbCancel.Text = " 取消申请";
|
this.tsbCancel.Text = " 停止申请";
|
||||||
this.tsbCancel.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
|
this.tsbCancel.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
|
||||||
this.tsbCancel.Click += new System.EventHandler(this.tsbCancel_Click);
|
this.tsbCancel.Click += new System.EventHandler(this.tsbCancel_Click);
|
||||||
//
|
//
|
||||||
|
|||||||
@ -29,7 +29,7 @@ namespace AIMS.OperationFront.UI
|
|||||||
{
|
{
|
||||||
if (txtContent.Text.Trim() == "")
|
if (txtContent.Text.Trim() == "")
|
||||||
{
|
{
|
||||||
MessageBox.Show("作废原因不能为空");
|
MessageBox.Show("停止原因不能为空");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -39,12 +39,13 @@ namespace AIMS.OperationFront.UI
|
|||||||
{
|
{
|
||||||
BOperationApply.UpdateStopOperation(ApplyIdList[i], txtContent.Text.Trim());
|
BOperationApply.UpdateStopOperation(ApplyIdList[i], txtContent.Text.Trim());
|
||||||
}
|
}
|
||||||
MessageBox.Show("退回成功!");
|
MessageBox.Show("停止成功!");
|
||||||
Close();
|
|
||||||
|
this.DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
MessageBox.Show("退回失败!" + ex.Message);
|
MessageBox.Show("停止失败!" + ex.Message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -62,6 +62,28 @@ namespace AIMS.PublicUI
|
|||||||
foreach (System.Windows.Forms.Control child in ctrl.Controls)
|
foreach (System.Windows.Forms.Control child in ctrl.Controls)
|
||||||
BindWaterMark(child, Text);
|
BindWaterMark(child, Text);
|
||||||
}
|
}
|
||||||
|
public static void BindWaterMark2(this Control ctrl, string Text,int x ,int y,Color color)
|
||||||
|
{
|
||||||
|
if (ctrl == null || ctrl.IsDisposed)
|
||||||
|
return;
|
||||||
|
// 绘制水印
|
||||||
|
if (ctrl.HaveEventHandler("Paint", "BindWaterMark"))
|
||||||
|
return;
|
||||||
|
ctrl.Paint += (sender, e) =>
|
||||||
|
{
|
||||||
|
System.Windows.Forms.Control paintCtrl = sender as System.Windows.Forms.Control;
|
||||||
|
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);
|
||||||
|
};
|
||||||
|
//// 子控件绑定绘制事件
|
||||||
|
//foreach (System.Windows.Forms.Control child in ctrl.Controls)
|
||||||
|
// BindWaterMark2(child, Text);
|
||||||
|
}
|
||||||
public static void BindWaterMark(this Control ctrl, string Text, float x1, float y1)
|
public static void BindWaterMark(this Control ctrl, string Text, float x1, float y1)
|
||||||
{
|
{
|
||||||
if (ctrl == null || ctrl.IsDisposed)
|
if (ctrl == null || ctrl.IsDisposed)
|
||||||
|
|||||||
17
AIMS/OremrUserControl/UCSurgicalNotice.designer.cs
generated
17
AIMS/OremrUserControl/UCSurgicalNotice.designer.cs
generated
@ -65,7 +65,6 @@ namespace AIMS.OremrUserControl
|
|||||||
this.labRemark = new System.Windows.Forms.Label();
|
this.labRemark = new System.Windows.Forms.Label();
|
||||||
this.label17 = new System.Windows.Forms.Label();
|
this.label17 = new System.Windows.Forms.Label();
|
||||||
this.panel1 = new System.Windows.Forms.Panel();
|
this.panel1 = new System.Windows.Forms.Panel();
|
||||||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
|
||||||
this.labHospitalName = new System.Windows.Forms.Label();
|
this.labHospitalName = new System.Windows.Forms.Label();
|
||||||
this.label19 = new System.Windows.Forms.Label();
|
this.label19 = new System.Windows.Forms.Label();
|
||||||
this.labOperationSite = new System.Windows.Forms.Label();
|
this.labOperationSite = new System.Windows.Forms.Label();
|
||||||
@ -100,7 +99,6 @@ namespace AIMS.OremrUserControl
|
|||||||
this.label22 = new System.Windows.Forms.Label();
|
this.label22 = new System.Windows.Forms.Label();
|
||||||
this.label21 = new System.Windows.Forms.Label();
|
this.label21 = new System.Windows.Forms.Label();
|
||||||
this.lblVerify = new System.Windows.Forms.Label();
|
this.lblVerify = new System.Windows.Forms.Label();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// label6
|
// label6
|
||||||
@ -502,18 +500,6 @@ namespace AIMS.OremrUserControl
|
|||||||
this.panel1.Size = new System.Drawing.Size(1, 460);
|
this.panel1.Size = new System.Drawing.Size(1, 460);
|
||||||
this.panel1.TabIndex = 25;
|
this.panel1.TabIndex = 25;
|
||||||
//
|
//
|
||||||
// pictureBox1
|
|
||||||
//
|
|
||||||
this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
|
||||||
this.pictureBox1.ErrorImage = null;
|
|
||||||
this.pictureBox1.InitialImage = null;
|
|
||||||
this.pictureBox1.Location = new System.Drawing.Point(580, 180);
|
|
||||||
this.pictureBox1.Name = "pictureBox1";
|
|
||||||
this.pictureBox1.Size = new System.Drawing.Size(130, 97);
|
|
||||||
this.pictureBox1.TabIndex = 26;
|
|
||||||
this.pictureBox1.TabStop = false;
|
|
||||||
this.pictureBox1.Visible = false;
|
|
||||||
//
|
|
||||||
// labHospitalName
|
// labHospitalName
|
||||||
//
|
//
|
||||||
this.labHospitalName.AutoSize = true;
|
this.labHospitalName.AutoSize = true;
|
||||||
@ -830,7 +816,6 @@ namespace AIMS.OremrUserControl
|
|||||||
this.Controls.Add(this.panel11);
|
this.Controls.Add(this.panel11);
|
||||||
this.Controls.Add(this.panel10);
|
this.Controls.Add(this.panel10);
|
||||||
this.Controls.Add(this.panel4);
|
this.Controls.Add(this.panel4);
|
||||||
this.Controls.Add(this.pictureBox1);
|
|
||||||
this.Controls.Add(this.label1);
|
this.Controls.Add(this.label1);
|
||||||
this.Controls.Add(this.label6);
|
this.Controls.Add(this.label6);
|
||||||
this.Controls.Add(this.labAge);
|
this.Controls.Add(this.labAge);
|
||||||
@ -890,7 +875,6 @@ namespace AIMS.OremrUserControl
|
|||||||
this.Margin = new System.Windows.Forms.Padding(1);
|
this.Margin = new System.Windows.Forms.Padding(1);
|
||||||
this.Name = "UCSurgicalNotice";
|
this.Name = "UCSurgicalNotice";
|
||||||
this.Size = new System.Drawing.Size(780, 555);
|
this.Size = new System.Drawing.Size(780, 555);
|
||||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
this.PerformLayout();
|
this.PerformLayout();
|
||||||
|
|
||||||
@ -933,7 +917,6 @@ namespace AIMS.OremrUserControl
|
|||||||
private System.Windows.Forms.Label label15;
|
private System.Windows.Forms.Label label15;
|
||||||
public System.Windows.Forms.Label labRemark;
|
public System.Windows.Forms.Label labRemark;
|
||||||
private System.Windows.Forms.Label label17;
|
private System.Windows.Forms.Label label17;
|
||||||
public System.Windows.Forms.PictureBox pictureBox1;
|
|
||||||
public System.Windows.Forms.Label labHospitalName;
|
public System.Windows.Forms.Label labHospitalName;
|
||||||
private System.Windows.Forms.Label label19;
|
private System.Windows.Forms.Label label19;
|
||||||
public System.Windows.Forms.Label labOperationSite;
|
public System.Windows.Forms.Label labOperationSite;
|
||||||
|
|||||||
@ -230,10 +230,14 @@ namespace AIMS.OremrUserControl
|
|||||||
string sAnesthesiaDoctor = item["AnesthesiaDoctor"].ToString();
|
string sAnesthesiaDoctor = item["AnesthesiaDoctor"].ToString();
|
||||||
string sInstrumentNurse = item["InstrumentNurse"].ToString();
|
string sInstrumentNurse = item["InstrumentNurse"].ToString();
|
||||||
string sTourNurse = item["TourNurse"].ToString();
|
string sTourNurse = item["TourNurse"].ToString();
|
||||||
GridRow grNew = new GridRow(item["ApplyId"].ToString(), item["PlanOrder"].ToString(), string.Format("{0}{1}", item["PatientName"].ToString(), ""), item["MdrecNo"].ToString(), item["ApplyDepName"].ToString() + "-" + item["SickBed"].ToString(), sOperationDoctor, item["ApplyOperationInfoName"].ToString(), DateTime.Parse(item["OrderOperationTime"].ToString()).ToString("HH:mm"), sAnesthesiaDoctor, sInstrumentNurse, sTourNurse, item["Remark"].ToString(), "Χ");
|
GridRow grNew = new GridRow(item["ApplyId"].ToString(), item["PlanOrder"].ToString(), string.Format("{0}{1}", item["PatientName"].ToString(), ""), item["MdrecNo"].ToString(), item["ApplyDepName"].ToString() + "-" + item["SickBed"].ToString(), sOperationDoctor, item["ApplyOperationInfoName"].ToString(), DateTime.Parse(item["OrderOperationTime"].ToString()).ToString("HH:mm"), sAnesthesiaDoctor, sInstrumentNurse, sTourNurse, item["OperationRemark"].ToString(), "Χ");
|
||||||
if (item["OperationType"].ToString() == "急诊")
|
if (item["Contagion"].ToString() != "" && item["Contagion"].ToString() != "无" && item["Contagion"].ToString() != "未报")
|
||||||
{
|
{
|
||||||
grNew.CellStyles.Default.Background.Color1 = Color.Tomato;
|
grNew.CellStyles.Default.Background.Color1 = Color.Purple;
|
||||||
|
}
|
||||||
|
else if (item["OperationType"].ToString() == "急诊")
|
||||||
|
{
|
||||||
|
grNew.CellStyles.Default.Background.Color1 = Color.Red;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
37
AIMS/PublicUI/frmSelectDisease.Designer.cs
generated
37
AIMS/PublicUI/frmSelectDisease.Designer.cs
generated
@ -39,7 +39,9 @@
|
|||||||
this.SelectIdColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.SelectIdColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.SelectIcdCodeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.SelectIcdCodeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.SelectNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.SelectNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.btnDown = new System.Windows.Forms.Button();
|
||||||
this.btnToLeft = new System.Windows.Forms.Button();
|
this.btnToLeft = new System.Windows.Forms.Button();
|
||||||
|
this.btnUp = new System.Windows.Forms.Button();
|
||||||
this.btnToRight = new System.Windows.Forms.Button();
|
this.btnToRight = new System.Windows.Forms.Button();
|
||||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||||
this.dgvDisease = new System.Windows.Forms.DataGridView();
|
this.dgvDisease = new System.Windows.Forms.DataGridView();
|
||||||
@ -78,7 +80,7 @@
|
|||||||
this.panel1.Font = new System.Drawing.Font("宋体", 10.5F);
|
this.panel1.Font = new System.Drawing.Font("宋体", 10.5F);
|
||||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||||
this.panel1.Name = "panel1";
|
this.panel1.Name = "panel1";
|
||||||
this.panel1.Size = new System.Drawing.Size(813, 467);
|
this.panel1.Size = new System.Drawing.Size(833, 467);
|
||||||
this.panel1.TabIndex = 1;
|
this.panel1.TabIndex = 1;
|
||||||
//
|
//
|
||||||
// panel2
|
// panel2
|
||||||
@ -87,12 +89,14 @@
|
|||||||
this.panel2.Controls.Add(this.labUp);
|
this.panel2.Controls.Add(this.labUp);
|
||||||
this.panel2.Controls.Add(this.labPage);
|
this.panel2.Controls.Add(this.labPage);
|
||||||
this.panel2.Controls.Add(this.groupBox2);
|
this.panel2.Controls.Add(this.groupBox2);
|
||||||
|
this.panel2.Controls.Add(this.btnDown);
|
||||||
this.panel2.Controls.Add(this.btnToLeft);
|
this.panel2.Controls.Add(this.btnToLeft);
|
||||||
|
this.panel2.Controls.Add(this.btnUp);
|
||||||
this.panel2.Controls.Add(this.btnToRight);
|
this.panel2.Controls.Add(this.btnToRight);
|
||||||
this.panel2.Controls.Add(this.groupBox1);
|
this.panel2.Controls.Add(this.groupBox1);
|
||||||
this.panel2.Location = new System.Drawing.Point(0, 37);
|
this.panel2.Location = new System.Drawing.Point(0, 37);
|
||||||
this.panel2.Name = "panel2";
|
this.panel2.Name = "panel2";
|
||||||
this.panel2.Size = new System.Drawing.Size(807, 427);
|
this.panel2.Size = new System.Drawing.Size(833, 427);
|
||||||
this.panel2.TabIndex = 4;
|
this.panel2.TabIndex = 4;
|
||||||
//
|
//
|
||||||
// labDown
|
// labDown
|
||||||
@ -133,7 +137,7 @@
|
|||||||
// groupBox2
|
// groupBox2
|
||||||
//
|
//
|
||||||
this.groupBox2.Controls.Add(this.dgvSelectDisease);
|
this.groupBox2.Controls.Add(this.dgvSelectDisease);
|
||||||
this.groupBox2.Location = new System.Drawing.Point(428, 20);
|
this.groupBox2.Location = new System.Drawing.Point(418, 20);
|
||||||
this.groupBox2.Name = "groupBox2";
|
this.groupBox2.Name = "groupBox2";
|
||||||
this.groupBox2.Size = new System.Drawing.Size(366, 394);
|
this.groupBox2.Size = new System.Drawing.Size(366, 394);
|
||||||
this.groupBox2.TabIndex = 14;
|
this.groupBox2.TabIndex = 14;
|
||||||
@ -182,6 +186,17 @@
|
|||||||
this.SelectNameColumn.ReadOnly = true;
|
this.SelectNameColumn.ReadOnly = true;
|
||||||
this.SelectNameColumn.Width = 210;
|
this.SelectNameColumn.Width = 210;
|
||||||
//
|
//
|
||||||
|
// btnDown
|
||||||
|
//
|
||||||
|
this.btnDown.Font = new System.Drawing.Font("宋体", 20.5F);
|
||||||
|
this.btnDown.Location = new System.Drawing.Point(792, 105);
|
||||||
|
this.btnDown.Name = "btnDown";
|
||||||
|
this.btnDown.Size = new System.Drawing.Size(31, 63);
|
||||||
|
this.btnDown.TabIndex = 13;
|
||||||
|
this.btnDown.Text = "↓";
|
||||||
|
this.btnDown.UseVisualStyleBackColor = true;
|
||||||
|
this.btnDown.Click += new System.EventHandler(this.btnDown_Click);
|
||||||
|
//
|
||||||
// btnToLeft
|
// btnToLeft
|
||||||
//
|
//
|
||||||
this.btnToLeft.Location = new System.Drawing.Point(379, 200);
|
this.btnToLeft.Location = new System.Drawing.Point(379, 200);
|
||||||
@ -192,6 +207,17 @@
|
|||||||
this.btnToLeft.UseVisualStyleBackColor = true;
|
this.btnToLeft.UseVisualStyleBackColor = true;
|
||||||
this.btnToLeft.Click += new System.EventHandler(this.btnToLeft_Click);
|
this.btnToLeft.Click += new System.EventHandler(this.btnToLeft_Click);
|
||||||
//
|
//
|
||||||
|
// btnUp
|
||||||
|
//
|
||||||
|
this.btnUp.Font = new System.Drawing.Font("宋体", 20.5F);
|
||||||
|
this.btnUp.Location = new System.Drawing.Point(792, 36);
|
||||||
|
this.btnUp.Name = "btnUp";
|
||||||
|
this.btnUp.Size = new System.Drawing.Size(31, 63);
|
||||||
|
this.btnUp.TabIndex = 12;
|
||||||
|
this.btnUp.Text = "↑";
|
||||||
|
this.btnUp.UseVisualStyleBackColor = true;
|
||||||
|
this.btnUp.Click += new System.EventHandler(this.btnUp_Click);
|
||||||
|
//
|
||||||
// btnToRight
|
// btnToRight
|
||||||
//
|
//
|
||||||
this.btnToRight.Location = new System.Drawing.Point(379, 75);
|
this.btnToRight.Location = new System.Drawing.Point(379, 75);
|
||||||
@ -263,6 +289,7 @@
|
|||||||
this.btnAddDisease.TabIndex = 3;
|
this.btnAddDisease.TabIndex = 3;
|
||||||
this.btnAddDisease.Text = "添加诊断";
|
this.btnAddDisease.Text = "添加诊断";
|
||||||
this.btnAddDisease.UseVisualStyleBackColor = true;
|
this.btnAddDisease.UseVisualStyleBackColor = true;
|
||||||
|
this.btnAddDisease.Visible = false;
|
||||||
this.btnAddDisease.Click += new System.EventHandler(this.btnAddDisease_Click);
|
this.btnAddDisease.Click += new System.EventHandler(this.btnAddDisease_Click);
|
||||||
//
|
//
|
||||||
// btnOk
|
// btnOk
|
||||||
@ -288,7 +315,7 @@
|
|||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.ClientSize = new System.Drawing.Size(813, 467);
|
this.ClientSize = new System.Drawing.Size(833, 467);
|
||||||
this.Controls.Add(this.panel1);
|
this.Controls.Add(this.panel1);
|
||||||
this.MaximizeBox = false;
|
this.MaximizeBox = false;
|
||||||
this.MinimizeBox = false;
|
this.MinimizeBox = false;
|
||||||
@ -333,5 +360,7 @@
|
|||||||
private System.Windows.Forms.DataGridViewTextBoxColumn SelectIdColumn;
|
private System.Windows.Forms.DataGridViewTextBoxColumn SelectIdColumn;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn SelectIcdCodeColumn;
|
private System.Windows.Forms.DataGridViewTextBoxColumn SelectIcdCodeColumn;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn SelectNameColumn;
|
private System.Windows.Forms.DataGridViewTextBoxColumn SelectNameColumn;
|
||||||
|
private System.Windows.Forms.Button btnDown;
|
||||||
|
private System.Windows.Forms.Button btnUp;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1,5 +1,7 @@
|
|||||||
using AIMSBLL;
|
using AIMSBLL;
|
||||||
|
using AIMSExtension;
|
||||||
using AIMSModel;
|
using AIMSModel;
|
||||||
|
using DevComponents.DotNetBar.Controls;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
@ -25,7 +27,10 @@ namespace AIMS.PublicUI.UI
|
|||||||
|
|
||||||
private void frmSelectDisease_Load(object sender, EventArgs e)
|
private void frmSelectDisease_Load(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
if (PublicMethod.RoleName.Contains("增加诊断"))
|
||||||
|
{
|
||||||
|
btnAddDisease.Visible = true;
|
||||||
|
}
|
||||||
AIMSExtension.PublicMethod.SetDgvAttribute(dgvDisease);
|
AIMSExtension.PublicMethod.SetDgvAttribute(dgvDisease);
|
||||||
AIMSExtension.PublicMethod.SetDgvAttribute(dgvSelectDisease);
|
AIMSExtension.PublicMethod.SetDgvAttribute(dgvSelectDisease);
|
||||||
|
|
||||||
@ -147,19 +152,15 @@ namespace AIMS.PublicUI.UI
|
|||||||
|
|
||||||
private void btnOk_Click(object sender, EventArgs e)
|
private void btnOk_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
SelectRightData.Clear();
|
||||||
if (dgvSelectDisease.Rows.Count > 0)
|
if (dgvSelectDisease.Rows.Count > 0)
|
||||||
{
|
{
|
||||||
SelectRightData.Clear();
|
|
||||||
for (int i = 0; i < dgvSelectDisease.Rows.Count; i++)
|
for (int i = 0; i < dgvSelectDisease.Rows.Count; i++)
|
||||||
{
|
{
|
||||||
SelectRightData.Add(int.Parse(dgvSelectDisease.Rows[i].Cells["SelectIdColumn"].Value.ToString()));
|
SelectRightData.Add(int.Parse(dgvSelectDisease.Rows[i].Cells["SelectIdColumn"].Value.ToString()));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
SelectRightData.Clear();
|
|
||||||
}
|
|
||||||
Close();
|
Close();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -195,5 +196,57 @@ namespace AIMS.PublicUI.UI
|
|||||||
dgvSelectDisease.Rows.RemoveAt(dgvSelectDisease.CurrentRow.Index);
|
dgvSelectDisease.Rows.RemoveAt(dgvSelectDisease.CurrentRow.Index);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void btnUp_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
DataGridViewSelectedRowCollection dgvsrc = dgvSelectDisease.SelectedRows;//获取选中行的集合
|
||||||
|
if (dgvsrc.Count > 0)
|
||||||
|
{
|
||||||
|
int index = dgvSelectDisease.SelectedRows[0].Index;//获取当前选中行的索引
|
||||||
|
if (index > 0)//如果该行不是第一行
|
||||||
|
{
|
||||||
|
DataGridViewRow dgvr = dgvSelectDisease.Rows[index - dgvsrc.Count];//获取选中行的上一行
|
||||||
|
dgvSelectDisease.Rows.RemoveAt(index - dgvsrc.Count);//删除原选中行的上一行
|
||||||
|
dgvSelectDisease.Rows.Insert((index), dgvr);//将选中行的上一行插入到选中行的后面
|
||||||
|
for (int i = 0; i < dgvsrc.Count; i++)//选中移动后的行
|
||||||
|
{
|
||||||
|
dgvSelectDisease.Rows[index - i - 1].Selected = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
MessageBox.Show(ex.ToString());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void btnDown_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
DataGridViewSelectedRowCollection dgvsrc = dgvSelectDisease.SelectedRows;//获取选中行的集合
|
||||||
|
if (dgvsrc.Count > 0)
|
||||||
|
{
|
||||||
|
int index = dgvSelectDisease.SelectedRows[0].Index;//获取当前选中行的索引
|
||||||
|
if (index >= 0 & (dgvSelectDisease.RowCount - 1) != index)//如果该行不是最后一行
|
||||||
|
{
|
||||||
|
DataGridViewRow dgvr = dgvSelectDisease.Rows[index + 1];//获取选中行的下一行
|
||||||
|
dgvSelectDisease.Rows.RemoveAt(index + 1);//删除原选中行的上一行
|
||||||
|
dgvSelectDisease.Rows.Insert((index + 1 - dgvsrc.Count), dgvr);//将选中行的上一行插入到选中行的后面
|
||||||
|
for (int i = 0; i < dgvsrc.Count; i++)//选中移动后的行
|
||||||
|
{
|
||||||
|
dgvSelectDisease.Rows[index + 1 - i].Selected = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
MessageBox.Show(ex.ToString());
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -126,24 +126,6 @@
|
|||||||
<metadata name="SelectNameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="SelectNameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="SelectIdColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
|
||||||
<value>True</value>
|
|
||||||
</metadata>
|
|
||||||
<metadata name="SelectIcdCodeColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
|
||||||
<value>True</value>
|
|
||||||
</metadata>
|
|
||||||
<metadata name="SelectNameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
|
||||||
<value>True</value>
|
|
||||||
</metadata>
|
|
||||||
<metadata name="Id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
|
||||||
<value>True</value>
|
|
||||||
</metadata>
|
|
||||||
<metadata name="IcdCodeColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
|
||||||
<value>True</value>
|
|
||||||
</metadata>
|
|
||||||
<metadata name="NameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
|
||||||
<value>True</value>
|
|
||||||
</metadata>
|
|
||||||
<metadata name="Id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="Id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
|||||||
@ -21,6 +21,10 @@ namespace AIMS.PublicUI.UI
|
|||||||
|
|
||||||
private void frmSelectOperation_Load(object sender, EventArgs e)
|
private void frmSelectOperation_Load(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
if (AIMSExtension.PublicMethod.RoleName.Contains("增加手术"))
|
||||||
|
{
|
||||||
|
btnAddOperation.Visible = true;
|
||||||
|
}
|
||||||
AIMSExtension.PublicMethod.SetDgvAttribute(dgvOperation);
|
AIMSExtension.PublicMethod.SetDgvAttribute(dgvOperation);
|
||||||
AIMSExtension.PublicMethod.SetDgvAttribute(dgvSelectOperation);
|
AIMSExtension.PublicMethod.SetDgvAttribute(dgvSelectOperation);
|
||||||
|
|
||||||
|
|||||||
@ -25,6 +25,10 @@ namespace AIMS.PublicUI.UI
|
|||||||
|
|
||||||
private void frmSelectOperationOne_Load(object sender, EventArgs e)
|
private void frmSelectOperationOne_Load(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
if (AIMSExtension.PublicMethod.RoleName.Contains("增加手术"))
|
||||||
|
{
|
||||||
|
btnAddOperation.Visible = true;
|
||||||
|
}
|
||||||
AIMSExtension.PublicMethod.SetDgvAttribute(dgvOperation);
|
AIMSExtension.PublicMethod.SetDgvAttribute(dgvOperation);
|
||||||
//AIMSExtension.PublicMethod.SetDgvAttribute(dgvSelectOperation);
|
//AIMSExtension.PublicMethod.SetDgvAttribute(dgvSelectOperation);
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
using AIMSBLL;
|
using AIMSBLL;
|
||||||
|
using AIMSExtension;
|
||||||
using AIMSModel;
|
using AIMSModel;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@ -74,6 +75,7 @@ namespace AIMS.PublicUI.UI
|
|||||||
InitTreeView();
|
InitTreeView();
|
||||||
////dgvRole_CellMouseClick(null, null);
|
////dgvRole_CellMouseClick(null, null);
|
||||||
MessageBox.Show("权限分配成功!");
|
MessageBox.Show("权限分配成功!");
|
||||||
|
AIMSExtension.PublicMethod.RoleName = BMenu.GetMenuRootListManageStr(AIMSExtension.PublicMethod.RoleId, "功能权限");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception en)
|
catch (Exception en)
|
||||||
|
|||||||
@ -69,6 +69,10 @@ namespace AIMSBLL
|
|||||||
{
|
{
|
||||||
return DMenu.GetMenuRootListManage(RoleId,ParentId);
|
return DMenu.GetMenuRootListManage(RoleId,ParentId);
|
||||||
}
|
}
|
||||||
|
public static List<string> GetMenuRootListManageStr(int RoleId , string ParentId)
|
||||||
|
{
|
||||||
|
return DMenu.GetMenuRootListManageStr(RoleId,ParentId );
|
||||||
|
}
|
||||||
public static List<AIMSModel.Menu> GetMenuRootListManage(int RoleId)
|
public static List<AIMSModel.Menu> GetMenuRootListManage(int RoleId)
|
||||||
{
|
{
|
||||||
return DMenu.GetMenuRootListManage(RoleId);
|
return DMenu.GetMenuRootListManage(RoleId);
|
||||||
|
|||||||
@ -270,6 +270,22 @@ namespace AIMSDAL
|
|||||||
}
|
}
|
||||||
return MenuList;
|
return MenuList;
|
||||||
}
|
}
|
||||||
|
public static List<string> GetMenuRootListManageStr(int RoleId, string ParentId)
|
||||||
|
{
|
||||||
|
List<string> MenuList = new List<string>();
|
||||||
|
|
||||||
|
StringBuilder strSql = new StringBuilder();
|
||||||
|
strSql.Append("select m.Id,m.Name,m.Path,m.ParentId,m.IsValid from Menu m ");
|
||||||
|
strSql.Append("INNER JOIN UserPurview up ON up.MenuId =m.Id ");
|
||||||
|
strSql.Append("WHERE m.IsValid=1 AND m.ParentId =(select id from Menu where Name='"+ParentId+"') AND up.RoleId=" + RoleId + " order by MenuOrder");//
|
||||||
|
DataTable dt = HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
|
||||||
|
|
||||||
|
for (int i = 0; i < dt.Rows.Count; i++)
|
||||||
|
{
|
||||||
|
MenuList.Add(dt.Rows[i]["Name"].ToString());
|
||||||
|
}
|
||||||
|
return MenuList;
|
||||||
|
}
|
||||||
public static List<Menu> GetMenuRootListManage(int RoleId)
|
public static List<Menu> GetMenuRootListManage(int RoleId)
|
||||||
{
|
{
|
||||||
List<Menu> MenuList = new List<Menu>();
|
List<Menu> MenuList = new List<Menu>();
|
||||||
|
|||||||
@ -367,7 +367,7 @@ namespace AIMSDAL
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
string sql = string.Format(@"update OperationApply set {0} where state in(1,2,3) and PlanOperationTime<'" + SearchTime.ToString("yyyy-MM-dd 23:59:59") + "' and PlanOperationTime>'" + SearchTime.ToString("yyyy-MM-dd 00:00:00") + "' and OperationRoomId =" + CurrentRoom, DoctorNuresName);
|
string sql = string.Format(@"update OperationApply set {0} where state in(1,2,3,4) and PlanOperationTime<'" + SearchTime.ToString("yyyy-MM-dd 23:59:59") + "' and PlanOperationTime>'" + SearchTime.ToString("yyyy-MM-dd 00:00:00") + "' and OperationRoomId =" + CurrentRoom, DoctorNuresName);
|
||||||
return DBHelper.ExecNonQuery(sql);
|
return DBHelper.ExecNonQuery(sql);
|
||||||
}
|
}
|
||||||
catch (Exception)
|
catch (Exception)
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
using HelperDB;
|
using HelperDB;
|
||||||
using System;
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
@ -18,6 +19,7 @@ namespace AIMSExtension
|
|||||||
public static string DeptName = "";
|
public static string DeptName = "";
|
||||||
public static int DepId = 0;
|
public static int DepId = 0;
|
||||||
public static int RoleId = 0;
|
public static int RoleId = 0;
|
||||||
|
public static List<string> RoleName;
|
||||||
public static int PermissionLevel = 0;
|
public static int PermissionLevel = 0;
|
||||||
public static string NowVersion;
|
public static string NowVersion;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user