手术排程权限控制

This commit is contained in:
leomon 2023-07-14 10:51:32 +08:00
parent e6e8236202
commit 2abc90c7d6
11 changed files with 546 additions and 5677 deletions

View File

@ -682,9 +682,6 @@
<Compile Include="OperationFront\frmOperationFrontVisit.Designer.cs"> <Compile Include="OperationFront\frmOperationFrontVisit.Designer.cs">
<DependentUpon>frmOperationFrontVisit.cs</DependentUpon> <DependentUpon>frmOperationFrontVisit.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="OperationFront\frmOperationSchedulePlanOld.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="OperationFront\frmStopOperation.cs"> <Compile Include="OperationFront\frmStopOperation.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
@ -1171,9 +1168,6 @@
<EmbeddedResource Include="OperationFront\frmOperationFrontVisit.resx"> <EmbeddedResource Include="OperationFront\frmOperationFrontVisit.resx">
<DependentUpon>frmOperationFrontVisit.cs</DependentUpon> <DependentUpon>frmOperationFrontVisit.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="OperationFront\frmOperationSchedulePlanOld.resx">
<DependentUpon>frmOperationSchedulePlanOld.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="OperationFront\frmStopOperation.resx"> <EmbeddedResource Include="OperationFront\frmStopOperation.resx">
<DependentUpon>frmStopOperation.cs</DependentUpon> <DependentUpon>frmStopOperation.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>

View File

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

View File

@ -43,50 +43,6 @@
this.panel1 = new System.Windows.Forms.Panel(); this.panel1 = new System.Windows.Forms.Panel();
this.panel3 = new System.Windows.Forms.Panel(); this.panel3 = new System.Windows.Forms.Panel();
this.dgv = new DevComponents.DotNetBar.Controls.DataGridViewX(); this.dgv = new DevComponents.DotNetBar.Controls.DataGridViewX();
this.CheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.ApplyId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.StateColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.PatientNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.SexColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Age = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ApplyDepNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OperationGroup = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.SickBedColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.PatientType = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.MdrecNoColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OperationTypeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ApplyOperatorNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ApplyTimeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OrderOperationTimeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ApplyDiagnoseInfoNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ApplyOperationInfoNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.InRoomTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OutRoomTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.RoomHourTimeSpan = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.AnesthesiaBeginTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.AnesthesiaEndTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.AnaesthesiaHourTimeSpan = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OperationBeginTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OperationEndTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OperationHourTimeSpan = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.AnaesthesiaMethodNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OperationInfoName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OperationCut = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OperationPositionName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OperationBodyPositionName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OperationLevelNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ASALevelName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OperationDoctorColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Assistant1Column = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.AnesthesiaDoctorColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.AnesthesiaDoctor2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.TourNurseColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.InstrumentNurseColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OperationRoomColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.PlanOrder = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.IsNotPlanReturnOperation = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.RemarkColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OperatorName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.panel2 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel();
this.cboDept = new DevComponents.DotNetBar.Controls.ComboBoxEx(); this.cboDept = new DevComponents.DotNetBar.Controls.ComboBoxEx();
this.AgeEnd = new System.Windows.Forms.NumericUpDown(); this.AgeEnd = new System.Windows.Forms.NumericUpDown();
@ -169,6 +125,51 @@
this.dataGridViewTextBoxColumn41 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn41 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn42 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn42 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn43 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn43 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.CheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.ApplyId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.StateColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.PatientNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.SexColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Age = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ApplyDepNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OperationGroup = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.SickBedColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.PatientType = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.MdrecNoColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OperationTypeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ApplyOperatorNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ApplyTimeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OrderOperationTimeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ApplyDiagnoseInfoNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ApplyOperationInfoNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.InRoomTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OutRoomTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.RoomHourTimeSpan = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.AnesthesiaBeginTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.AnesthesiaEndTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.AnaesthesiaHourTimeSpan = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OperationBeginTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OperationEndTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OperationHourTimeSpan = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.AnaesthesiaMethodNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OperationInfoName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OperationCut = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OperationPositionName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OperationBodyPositionName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OperationLevelNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ASALevelName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.AnalgesiaModel = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OperationDoctorColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Assistant1Column = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.AnesthesiaDoctorColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.AnesthesiaDoctor2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.TourNurseColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.InstrumentNurseColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OperationRoomColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.PlanOrder = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.IsNotPlanReturnOperation = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.RemarkColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OperatorName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.toolStrip1.SuspendLayout(); this.toolStrip1.SuspendLayout();
this.panel1.SuspendLayout(); this.panel1.SuspendLayout();
this.panel3.SuspendLayout(); this.panel3.SuspendLayout();
@ -342,6 +343,7 @@
this.OperationBodyPositionName, this.OperationBodyPositionName,
this.OperationLevelNameColumn, this.OperationLevelNameColumn,
this.ASALevelName, this.ASALevelName,
this.AnalgesiaModel,
this.OperationDoctorColumn, this.OperationDoctorColumn,
this.Assistant1Column, this.Assistant1Column,
this.AnesthesiaDoctorColumn, this.AnesthesiaDoctorColumn,
@ -362,7 +364,7 @@
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False; dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgv.DefaultCellStyle = dataGridViewCellStyle1; this.dgv.DefaultCellStyle = dataGridViewCellStyle1;
this.dgv.Dock = System.Windows.Forms.DockStyle.Fill; this.dgv.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgv.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(170)))), ((int)(((byte)(170))))); this.dgv.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
this.dgv.Location = new System.Drawing.Point(0, 0); this.dgv.Location = new System.Drawing.Point(0, 0);
this.dgv.Name = "dgv"; this.dgv.Name = "dgv";
this.dgv.ReadOnly = true; this.dgv.ReadOnly = true;
@ -372,355 +374,6 @@
this.dgv.TabIndex = 4; this.dgv.TabIndex = 4;
this.dgv.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dgv_RowPostPaint); this.dgv.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dgv_RowPostPaint);
// //
// CheckBoxColumn
//
this.CheckBoxColumn.HeaderText = "选择";
this.CheckBoxColumn.Name = "CheckBoxColumn";
this.CheckBoxColumn.ReadOnly = true;
this.CheckBoxColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.CheckBoxColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.CheckBoxColumn.Visible = false;
this.CheckBoxColumn.Width = 35;
//
// ApplyId
//
this.ApplyId.DataPropertyName = "ApplyId";
this.ApplyId.HeaderText = "序号";
this.ApplyId.Name = "ApplyId";
this.ApplyId.ReadOnly = true;
this.ApplyId.Visible = false;
//
// StateColumn
//
this.StateColumn.DataPropertyName = "State";
this.StateColumn.HeaderText = "状态";
this.StateColumn.Name = "StateColumn";
this.StateColumn.ReadOnly = true;
this.StateColumn.Width = 60;
//
// PatientNameColumn
//
this.PatientNameColumn.DataPropertyName = "PatientName";
this.PatientNameColumn.HeaderText = "姓名";
this.PatientNameColumn.Name = "PatientNameColumn";
this.PatientNameColumn.ReadOnly = true;
this.PatientNameColumn.Width = 60;
//
// SexColumn
//
this.SexColumn.DataPropertyName = "Sex";
this.SexColumn.HeaderText = "性别";
this.SexColumn.Name = "SexColumn";
this.SexColumn.ReadOnly = true;
this.SexColumn.Width = 40;
//
// Age
//
this.Age.DataPropertyName = "Age";
this.Age.HeaderText = "年龄";
this.Age.Name = "Age";
this.Age.ReadOnly = true;
this.Age.Width = 40;
//
// ApplyDepNameColumn
//
this.ApplyDepNameColumn.DataPropertyName = "PatientDept";
this.ApplyDepNameColumn.HeaderText = "科室";
this.ApplyDepNameColumn.Name = "ApplyDepNameColumn";
this.ApplyDepNameColumn.ReadOnly = true;
this.ApplyDepNameColumn.Width = 80;
//
// OperationGroup
//
this.OperationGroup.DataPropertyName = "OperationGroup";
this.OperationGroup.HeaderText = "专业组";
this.OperationGroup.Name = "OperationGroup";
this.OperationGroup.ReadOnly = true;
//
// SickBedColumn
//
this.SickBedColumn.DataPropertyName = "SickBed";
this.SickBedColumn.HeaderText = "床位";
this.SickBedColumn.Name = "SickBedColumn";
this.SickBedColumn.ReadOnly = true;
this.SickBedColumn.Width = 40;
//
// PatientType
//
this.PatientType.DataPropertyName = "PatientType";
this.PatientType.HeaderText = "患者类别";
this.PatientType.Name = "PatientType";
this.PatientType.ReadOnly = true;
this.PatientType.Width = 80;
//
// MdrecNoColumn
//
this.MdrecNoColumn.DataPropertyName = "MdrecNo";
this.MdrecNoColumn.HeaderText = "住院号";
this.MdrecNoColumn.Name = "MdrecNoColumn";
this.MdrecNoColumn.ReadOnly = true;
this.MdrecNoColumn.Width = 70;
//
// OperationTypeColumn
//
this.OperationTypeColumn.DataPropertyName = "OperationType";
this.OperationTypeColumn.HeaderText = "手术类型";
this.OperationTypeColumn.Name = "OperationTypeColumn";
this.OperationTypeColumn.ReadOnly = true;
this.OperationTypeColumn.Width = 80;
//
// ApplyOperatorNameColumn
//
this.ApplyOperatorNameColumn.DataPropertyName = "ApplyOperatorNo";
this.ApplyOperatorNameColumn.HeaderText = "申请人";
this.ApplyOperatorNameColumn.Name = "ApplyOperatorNameColumn";
this.ApplyOperatorNameColumn.ReadOnly = true;
this.ApplyOperatorNameColumn.Width = 70;
//
// ApplyTimeColumn
//
this.ApplyTimeColumn.DataPropertyName = "ApplyTime";
this.ApplyTimeColumn.HeaderText = "申请时间";
this.ApplyTimeColumn.Name = "ApplyTimeColumn";
this.ApplyTimeColumn.ReadOnly = true;
this.ApplyTimeColumn.Width = 110;
//
// OrderOperationTimeColumn
//
this.OrderOperationTimeColumn.DataPropertyName = "OrderOperationTime";
this.OrderOperationTimeColumn.HeaderText = "预约时间";
this.OrderOperationTimeColumn.Name = "OrderOperationTimeColumn";
this.OrderOperationTimeColumn.ReadOnly = true;
this.OrderOperationTimeColumn.Width = 110;
//
// ApplyDiagnoseInfoNameColumn
//
this.ApplyDiagnoseInfoNameColumn.DataPropertyName = "ApplyDiagnoseInfoName";
this.ApplyDiagnoseInfoNameColumn.HeaderText = "术前诊断";
this.ApplyDiagnoseInfoNameColumn.Name = "ApplyDiagnoseInfoNameColumn";
this.ApplyDiagnoseInfoNameColumn.ReadOnly = true;
this.ApplyDiagnoseInfoNameColumn.Width = 150;
//
// ApplyOperationInfoNameColumn
//
this.ApplyOperationInfoNameColumn.DataPropertyName = "ApplyOperationInfoName";
this.ApplyOperationInfoNameColumn.HeaderText = "拟施手术";
this.ApplyOperationInfoNameColumn.Name = "ApplyOperationInfoNameColumn";
this.ApplyOperationInfoNameColumn.ReadOnly = true;
this.ApplyOperationInfoNameColumn.Width = 150;
//
// InRoomTime
//
this.InRoomTime.DataPropertyName = "InRoomTime";
this.InRoomTime.HeaderText = "入室时间";
this.InRoomTime.Name = "InRoomTime";
this.InRoomTime.ReadOnly = true;
this.InRoomTime.Width = 110;
//
// OutRoomTime
//
this.OutRoomTime.DataPropertyName = "OutRoomTime";
this.OutRoomTime.HeaderText = "出室时间";
this.OutRoomTime.Name = "OutRoomTime";
this.OutRoomTime.ReadOnly = true;
this.OutRoomTime.Width = 110;
//
// RoomHourTimeSpan
//
this.RoomHourTimeSpan.DataPropertyName = "RoomHourTimeSpan";
this.RoomHourTimeSpan.HeaderText = "总时长";
this.RoomHourTimeSpan.Name = "RoomHourTimeSpan";
this.RoomHourTimeSpan.ReadOnly = true;
this.RoomHourTimeSpan.Width = 80;
//
// AnesthesiaBeginTime
//
this.AnesthesiaBeginTime.DataPropertyName = "AnesthesiaBeginTime";
this.AnesthesiaBeginTime.HeaderText = "麻醉开始时间";
this.AnesthesiaBeginTime.Name = "AnesthesiaBeginTime";
this.AnesthesiaBeginTime.ReadOnly = true;
this.AnesthesiaBeginTime.Width = 110;
//
// AnesthesiaEndTime
//
this.AnesthesiaEndTime.DataPropertyName = "AnesthesiaEndTime";
this.AnesthesiaEndTime.HeaderText = "麻醉结束时间";
this.AnesthesiaEndTime.Name = "AnesthesiaEndTime";
this.AnesthesiaEndTime.ReadOnly = true;
this.AnesthesiaEndTime.Width = 110;
//
// AnaesthesiaHourTimeSpan
//
this.AnaesthesiaHourTimeSpan.DataPropertyName = "AnaesthesiaHourTimeSpan";
this.AnaesthesiaHourTimeSpan.HeaderText = "麻醉时长";
this.AnaesthesiaHourTimeSpan.Name = "AnaesthesiaHourTimeSpan";
this.AnaesthesiaHourTimeSpan.ReadOnly = true;
this.AnaesthesiaHourTimeSpan.Width = 80;
//
// OperationBeginTime
//
this.OperationBeginTime.DataPropertyName = "OperationBeginTime";
this.OperationBeginTime.HeaderText = "手术开始时间";
this.OperationBeginTime.Name = "OperationBeginTime";
this.OperationBeginTime.ReadOnly = true;
this.OperationBeginTime.Width = 110;
//
// OperationEndTime
//
this.OperationEndTime.DataPropertyName = "OperationEndTime";
this.OperationEndTime.HeaderText = "手术结束时间";
this.OperationEndTime.Name = "OperationEndTime";
this.OperationEndTime.ReadOnly = true;
this.OperationEndTime.Width = 110;
//
// OperationHourTimeSpan
//
this.OperationHourTimeSpan.DataPropertyName = "OperationHourTimeSpan";
this.OperationHourTimeSpan.HeaderText = "手术时长";
this.OperationHourTimeSpan.Name = "OperationHourTimeSpan";
this.OperationHourTimeSpan.ReadOnly = true;
this.OperationHourTimeSpan.Width = 80;
//
// AnaesthesiaMethodNameColumn
//
this.AnaesthesiaMethodNameColumn.DataPropertyName = "AnaesthesiaMethodName";
this.AnaesthesiaMethodNameColumn.HeaderText = "麻醉方式";
this.AnaesthesiaMethodNameColumn.Name = "AnaesthesiaMethodNameColumn";
this.AnaesthesiaMethodNameColumn.ReadOnly = true;
//
// OperationInfoName
//
this.OperationInfoName.DataPropertyName = "OperationInfoName";
this.OperationInfoName.HeaderText = "实施手术";
this.OperationInfoName.Name = "OperationInfoName";
this.OperationInfoName.ReadOnly = true;
//
// OperationCut
//
this.OperationCut.DataPropertyName = "OperationCut";
this.OperationCut.HeaderText = "切口类型";
this.OperationCut.Name = "OperationCut";
this.OperationCut.ReadOnly = true;
this.OperationCut.Width = 80;
//
// OperationPositionName
//
this.OperationPositionName.DataPropertyName = "OperationPositionName";
this.OperationPositionName.HeaderText = "手术部位";
this.OperationPositionName.Name = "OperationPositionName";
this.OperationPositionName.ReadOnly = true;
this.OperationPositionName.Width = 80;
//
// OperationBodyPositionName
//
this.OperationBodyPositionName.DataPropertyName = "OperationBodyPositionName";
this.OperationBodyPositionName.HeaderText = "手术体位";
this.OperationBodyPositionName.Name = "OperationBodyPositionName";
this.OperationBodyPositionName.ReadOnly = true;
this.OperationBodyPositionName.Width = 80;
//
// OperationLevelNameColumn
//
this.OperationLevelNameColumn.DataPropertyName = "OperationLevel";
this.OperationLevelNameColumn.HeaderText = "手术分级";
this.OperationLevelNameColumn.Name = "OperationLevelNameColumn";
this.OperationLevelNameColumn.ReadOnly = true;
this.OperationLevelNameColumn.Width = 80;
//
// ASALevelName
//
this.ASALevelName.DataPropertyName = "ASALevelName";
this.ASALevelName.HeaderText = "ASA等级";
this.ASALevelName.Name = "ASALevelName";
this.ASALevelName.ReadOnly = true;
this.ASALevelName.Width = 80;
//
// OperationDoctorColumn
//
this.OperationDoctorColumn.DataPropertyName = "OperationDoctor";
this.OperationDoctorColumn.HeaderText = "术者";
this.OperationDoctorColumn.Name = "OperationDoctorColumn";
this.OperationDoctorColumn.ReadOnly = true;
this.OperationDoctorColumn.Width = 60;
//
// Assistant1Column
//
this.Assistant1Column.DataPropertyName = "Assistant";
this.Assistant1Column.HeaderText = "助手";
this.Assistant1Column.Name = "Assistant1Column";
this.Assistant1Column.ReadOnly = true;
this.Assistant1Column.Width = 90;
//
// AnesthesiaDoctorColumn
//
this.AnesthesiaDoctorColumn.DataPropertyName = "AnesthesiaDoctor";
this.AnesthesiaDoctorColumn.HeaderText = "主麻";
this.AnesthesiaDoctorColumn.Name = "AnesthesiaDoctorColumn";
this.AnesthesiaDoctorColumn.ReadOnly = true;
this.AnesthesiaDoctorColumn.Width = 60;
//
// AnesthesiaDoctor2
//
this.AnesthesiaDoctor2.DataPropertyName = "AnesthesiaDoctor2";
this.AnesthesiaDoctor2.HeaderText = "副麻";
this.AnesthesiaDoctor2.Name = "AnesthesiaDoctor2";
this.AnesthesiaDoctor2.ReadOnly = true;
this.AnesthesiaDoctor2.Width = 60;
//
// TourNurseColumn
//
this.TourNurseColumn.DataPropertyName = "TourNurse";
this.TourNurseColumn.HeaderText = "巡回";
this.TourNurseColumn.Name = "TourNurseColumn";
this.TourNurseColumn.ReadOnly = true;
this.TourNurseColumn.Width = 60;
//
// InstrumentNurseColumn
//
this.InstrumentNurseColumn.DataPropertyName = "InstrumentNurse";
this.InstrumentNurseColumn.HeaderText = "器械";
this.InstrumentNurseColumn.Name = "InstrumentNurseColumn";
this.InstrumentNurseColumn.ReadOnly = true;
this.InstrumentNurseColumn.Width = 60;
//
// OperationRoomColumn
//
this.OperationRoomColumn.DataPropertyName = "OperationRoom";
this.OperationRoomColumn.HeaderText = "术间";
this.OperationRoomColumn.Name = "OperationRoomColumn";
this.OperationRoomColumn.ReadOnly = true;
this.OperationRoomColumn.Width = 40;
//
// PlanOrder
//
this.PlanOrder.DataPropertyName = "PlanOrder";
this.PlanOrder.HeaderText = "台次";
this.PlanOrder.Name = "PlanOrder";
this.PlanOrder.ReadOnly = true;
this.PlanOrder.Width = 40;
//
// IsNotPlanReturnOperation
//
this.IsNotPlanReturnOperation.DataPropertyName = "IsNotPlanReturnOperation";
this.IsNotPlanReturnOperation.HeaderText = "非计划二次手术";
this.IsNotPlanReturnOperation.Name = "IsNotPlanReturnOperation";
this.IsNotPlanReturnOperation.ReadOnly = true;
//
// RemarkColumn
//
this.RemarkColumn.DataPropertyName = "Remark";
this.RemarkColumn.HeaderText = "停止原因";
this.RemarkColumn.Name = "RemarkColumn";
this.RemarkColumn.ReadOnly = true;
//
// OperatorName
//
this.OperatorName.DataPropertyName = "OperatorName";
this.OperatorName.HeaderText = "停止人";
this.OperatorName.Name = "OperatorName";
this.OperatorName.ReadOnly = true;
this.OperatorName.Width = 80;
//
// panel2 // panel2
// //
this.panel2.Controls.Add(this.cboDept); this.panel2.Controls.Add(this.cboDept);
@ -1482,6 +1135,362 @@
this.dataGridViewTextBoxColumn43.Name = "dataGridViewTextBoxColumn43"; this.dataGridViewTextBoxColumn43.Name = "dataGridViewTextBoxColumn43";
this.dataGridViewTextBoxColumn43.Width = 80; this.dataGridViewTextBoxColumn43.Width = 80;
// //
// CheckBoxColumn
//
this.CheckBoxColumn.HeaderText = "选择";
this.CheckBoxColumn.Name = "CheckBoxColumn";
this.CheckBoxColumn.ReadOnly = true;
this.CheckBoxColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.CheckBoxColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.CheckBoxColumn.Visible = false;
this.CheckBoxColumn.Width = 35;
//
// ApplyId
//
this.ApplyId.DataPropertyName = "ApplyId";
this.ApplyId.HeaderText = "序号";
this.ApplyId.Name = "ApplyId";
this.ApplyId.ReadOnly = true;
this.ApplyId.Visible = false;
//
// StateColumn
//
this.StateColumn.DataPropertyName = "State";
this.StateColumn.HeaderText = "状态";
this.StateColumn.Name = "StateColumn";
this.StateColumn.ReadOnly = true;
this.StateColumn.Width = 60;
//
// PatientNameColumn
//
this.PatientNameColumn.DataPropertyName = "PatientName";
this.PatientNameColumn.HeaderText = "姓名";
this.PatientNameColumn.Name = "PatientNameColumn";
this.PatientNameColumn.ReadOnly = true;
this.PatientNameColumn.Width = 60;
//
// SexColumn
//
this.SexColumn.DataPropertyName = "Sex";
this.SexColumn.HeaderText = "性别";
this.SexColumn.Name = "SexColumn";
this.SexColumn.ReadOnly = true;
this.SexColumn.Width = 40;
//
// Age
//
this.Age.DataPropertyName = "Age";
this.Age.HeaderText = "年龄";
this.Age.Name = "Age";
this.Age.ReadOnly = true;
this.Age.Width = 40;
//
// ApplyDepNameColumn
//
this.ApplyDepNameColumn.DataPropertyName = "PatientDept";
this.ApplyDepNameColumn.HeaderText = "科室";
this.ApplyDepNameColumn.Name = "ApplyDepNameColumn";
this.ApplyDepNameColumn.ReadOnly = true;
this.ApplyDepNameColumn.Width = 80;
//
// OperationGroup
//
this.OperationGroup.DataPropertyName = "OperationGroup";
this.OperationGroup.HeaderText = "专业组";
this.OperationGroup.Name = "OperationGroup";
this.OperationGroup.ReadOnly = true;
//
// SickBedColumn
//
this.SickBedColumn.DataPropertyName = "SickBed";
this.SickBedColumn.HeaderText = "床位";
this.SickBedColumn.Name = "SickBedColumn";
this.SickBedColumn.ReadOnly = true;
this.SickBedColumn.Width = 40;
//
// PatientType
//
this.PatientType.DataPropertyName = "PatientType";
this.PatientType.HeaderText = "患者类别";
this.PatientType.Name = "PatientType";
this.PatientType.ReadOnly = true;
this.PatientType.Width = 80;
//
// MdrecNoColumn
//
this.MdrecNoColumn.DataPropertyName = "MdrecNo";
this.MdrecNoColumn.HeaderText = "住院号";
this.MdrecNoColumn.Name = "MdrecNoColumn";
this.MdrecNoColumn.ReadOnly = true;
this.MdrecNoColumn.Width = 70;
//
// OperationTypeColumn
//
this.OperationTypeColumn.DataPropertyName = "OperationType";
this.OperationTypeColumn.HeaderText = "手术类型";
this.OperationTypeColumn.Name = "OperationTypeColumn";
this.OperationTypeColumn.ReadOnly = true;
this.OperationTypeColumn.Width = 80;
//
// ApplyOperatorNameColumn
//
this.ApplyOperatorNameColumn.DataPropertyName = "ApplyOperatorNo";
this.ApplyOperatorNameColumn.HeaderText = "申请人";
this.ApplyOperatorNameColumn.Name = "ApplyOperatorNameColumn";
this.ApplyOperatorNameColumn.ReadOnly = true;
this.ApplyOperatorNameColumn.Width = 70;
//
// ApplyTimeColumn
//
this.ApplyTimeColumn.DataPropertyName = "ApplyTime";
this.ApplyTimeColumn.HeaderText = "申请时间";
this.ApplyTimeColumn.Name = "ApplyTimeColumn";
this.ApplyTimeColumn.ReadOnly = true;
this.ApplyTimeColumn.Width = 110;
//
// OrderOperationTimeColumn
//
this.OrderOperationTimeColumn.DataPropertyName = "OrderOperationTime";
this.OrderOperationTimeColumn.HeaderText = "预约时间";
this.OrderOperationTimeColumn.Name = "OrderOperationTimeColumn";
this.OrderOperationTimeColumn.ReadOnly = true;
this.OrderOperationTimeColumn.Width = 110;
//
// ApplyDiagnoseInfoNameColumn
//
this.ApplyDiagnoseInfoNameColumn.DataPropertyName = "ApplyDiagnoseInfoName";
this.ApplyDiagnoseInfoNameColumn.HeaderText = "术前诊断";
this.ApplyDiagnoseInfoNameColumn.Name = "ApplyDiagnoseInfoNameColumn";
this.ApplyDiagnoseInfoNameColumn.ReadOnly = true;
this.ApplyDiagnoseInfoNameColumn.Width = 150;
//
// ApplyOperationInfoNameColumn
//
this.ApplyOperationInfoNameColumn.DataPropertyName = "ApplyOperationInfoName";
this.ApplyOperationInfoNameColumn.HeaderText = "拟施手术";
this.ApplyOperationInfoNameColumn.Name = "ApplyOperationInfoNameColumn";
this.ApplyOperationInfoNameColumn.ReadOnly = true;
this.ApplyOperationInfoNameColumn.Width = 150;
//
// InRoomTime
//
this.InRoomTime.DataPropertyName = "InRoomTime";
this.InRoomTime.HeaderText = "入室时间";
this.InRoomTime.Name = "InRoomTime";
this.InRoomTime.ReadOnly = true;
this.InRoomTime.Width = 110;
//
// OutRoomTime
//
this.OutRoomTime.DataPropertyName = "OutRoomTime";
this.OutRoomTime.HeaderText = "出室时间";
this.OutRoomTime.Name = "OutRoomTime";
this.OutRoomTime.ReadOnly = true;
this.OutRoomTime.Width = 110;
//
// RoomHourTimeSpan
//
this.RoomHourTimeSpan.DataPropertyName = "RoomHourTimeSpan";
this.RoomHourTimeSpan.HeaderText = "总时长";
this.RoomHourTimeSpan.Name = "RoomHourTimeSpan";
this.RoomHourTimeSpan.ReadOnly = true;
this.RoomHourTimeSpan.Width = 80;
//
// AnesthesiaBeginTime
//
this.AnesthesiaBeginTime.DataPropertyName = "AnesthesiaBeginTime";
this.AnesthesiaBeginTime.HeaderText = "麻醉开始时间";
this.AnesthesiaBeginTime.Name = "AnesthesiaBeginTime";
this.AnesthesiaBeginTime.ReadOnly = true;
this.AnesthesiaBeginTime.Width = 110;
//
// AnesthesiaEndTime
//
this.AnesthesiaEndTime.DataPropertyName = "AnesthesiaEndTime";
this.AnesthesiaEndTime.HeaderText = "麻醉结束时间";
this.AnesthesiaEndTime.Name = "AnesthesiaEndTime";
this.AnesthesiaEndTime.ReadOnly = true;
this.AnesthesiaEndTime.Width = 110;
//
// AnaesthesiaHourTimeSpan
//
this.AnaesthesiaHourTimeSpan.DataPropertyName = "AnaesthesiaHourTimeSpan";
this.AnaesthesiaHourTimeSpan.HeaderText = "麻醉时长";
this.AnaesthesiaHourTimeSpan.Name = "AnaesthesiaHourTimeSpan";
this.AnaesthesiaHourTimeSpan.ReadOnly = true;
this.AnaesthesiaHourTimeSpan.Width = 80;
//
// OperationBeginTime
//
this.OperationBeginTime.DataPropertyName = "OperationBeginTime";
this.OperationBeginTime.HeaderText = "手术开始时间";
this.OperationBeginTime.Name = "OperationBeginTime";
this.OperationBeginTime.ReadOnly = true;
this.OperationBeginTime.Width = 110;
//
// OperationEndTime
//
this.OperationEndTime.DataPropertyName = "OperationEndTime";
this.OperationEndTime.HeaderText = "手术结束时间";
this.OperationEndTime.Name = "OperationEndTime";
this.OperationEndTime.ReadOnly = true;
this.OperationEndTime.Width = 110;
//
// OperationHourTimeSpan
//
this.OperationHourTimeSpan.DataPropertyName = "OperationHourTimeSpan";
this.OperationHourTimeSpan.HeaderText = "手术时长";
this.OperationHourTimeSpan.Name = "OperationHourTimeSpan";
this.OperationHourTimeSpan.ReadOnly = true;
this.OperationHourTimeSpan.Width = 80;
//
// AnaesthesiaMethodNameColumn
//
this.AnaesthesiaMethodNameColumn.DataPropertyName = "AnaesthesiaMethodName";
this.AnaesthesiaMethodNameColumn.HeaderText = "麻醉方式";
this.AnaesthesiaMethodNameColumn.Name = "AnaesthesiaMethodNameColumn";
this.AnaesthesiaMethodNameColumn.ReadOnly = true;
//
// OperationInfoName
//
this.OperationInfoName.DataPropertyName = "OperationInfoName";
this.OperationInfoName.HeaderText = "实施手术";
this.OperationInfoName.Name = "OperationInfoName";
this.OperationInfoName.ReadOnly = true;
//
// OperationCut
//
this.OperationCut.DataPropertyName = "OperationCut";
this.OperationCut.HeaderText = "切口类型";
this.OperationCut.Name = "OperationCut";
this.OperationCut.ReadOnly = true;
this.OperationCut.Width = 80;
//
// OperationPositionName
//
this.OperationPositionName.DataPropertyName = "OperationPositionName";
this.OperationPositionName.HeaderText = "手术部位";
this.OperationPositionName.Name = "OperationPositionName";
this.OperationPositionName.ReadOnly = true;
this.OperationPositionName.Width = 80;
//
// OperationBodyPositionName
//
this.OperationBodyPositionName.DataPropertyName = "OperationBodyPositionName";
this.OperationBodyPositionName.HeaderText = "手术体位";
this.OperationBodyPositionName.Name = "OperationBodyPositionName";
this.OperationBodyPositionName.ReadOnly = true;
this.OperationBodyPositionName.Width = 80;
//
// OperationLevelNameColumn
//
this.OperationLevelNameColumn.DataPropertyName = "OperationLevel";
this.OperationLevelNameColumn.HeaderText = "手术分级";
this.OperationLevelNameColumn.Name = "OperationLevelNameColumn";
this.OperationLevelNameColumn.ReadOnly = true;
this.OperationLevelNameColumn.Width = 80;
//
// ASALevelName
//
this.ASALevelName.DataPropertyName = "ASALevelName";
this.ASALevelName.HeaderText = "ASA等级";
this.ASALevelName.Name = "ASALevelName";
this.ASALevelName.ReadOnly = true;
this.ASALevelName.Width = 80;
//
// AnalgesiaModel
//
this.AnalgesiaModel.DataPropertyName = "AnalgesiaModel";
this.AnalgesiaModel.HeaderText = "镇痛方式";
this.AnalgesiaModel.Name = "AnalgesiaModel";
this.AnalgesiaModel.ReadOnly = true;
//
// OperationDoctorColumn
//
this.OperationDoctorColumn.DataPropertyName = "OperationDoctor";
this.OperationDoctorColumn.HeaderText = "术者";
this.OperationDoctorColumn.Name = "OperationDoctorColumn";
this.OperationDoctorColumn.ReadOnly = true;
this.OperationDoctorColumn.Width = 60;
//
// Assistant1Column
//
this.Assistant1Column.DataPropertyName = "Assistant";
this.Assistant1Column.HeaderText = "助手";
this.Assistant1Column.Name = "Assistant1Column";
this.Assistant1Column.ReadOnly = true;
this.Assistant1Column.Width = 90;
//
// AnesthesiaDoctorColumn
//
this.AnesthesiaDoctorColumn.DataPropertyName = "AnesthesiaDoctor";
this.AnesthesiaDoctorColumn.HeaderText = "主麻";
this.AnesthesiaDoctorColumn.Name = "AnesthesiaDoctorColumn";
this.AnesthesiaDoctorColumn.ReadOnly = true;
this.AnesthesiaDoctorColumn.Width = 60;
//
// AnesthesiaDoctor2
//
this.AnesthesiaDoctor2.DataPropertyName = "AnesthesiaDoctor2";
this.AnesthesiaDoctor2.HeaderText = "副麻";
this.AnesthesiaDoctor2.Name = "AnesthesiaDoctor2";
this.AnesthesiaDoctor2.ReadOnly = true;
this.AnesthesiaDoctor2.Width = 60;
//
// TourNurseColumn
//
this.TourNurseColumn.DataPropertyName = "TourNurse";
this.TourNurseColumn.HeaderText = "巡回";
this.TourNurseColumn.Name = "TourNurseColumn";
this.TourNurseColumn.ReadOnly = true;
this.TourNurseColumn.Width = 60;
//
// InstrumentNurseColumn
//
this.InstrumentNurseColumn.DataPropertyName = "InstrumentNurse";
this.InstrumentNurseColumn.HeaderText = "器械";
this.InstrumentNurseColumn.Name = "InstrumentNurseColumn";
this.InstrumentNurseColumn.ReadOnly = true;
this.InstrumentNurseColumn.Width = 60;
//
// OperationRoomColumn
//
this.OperationRoomColumn.DataPropertyName = "OperationRoom";
this.OperationRoomColumn.HeaderText = "术间";
this.OperationRoomColumn.Name = "OperationRoomColumn";
this.OperationRoomColumn.ReadOnly = true;
this.OperationRoomColumn.Width = 40;
//
// PlanOrder
//
this.PlanOrder.DataPropertyName = "PlanOrder";
this.PlanOrder.HeaderText = "台次";
this.PlanOrder.Name = "PlanOrder";
this.PlanOrder.ReadOnly = true;
this.PlanOrder.Width = 40;
//
// IsNotPlanReturnOperation
//
this.IsNotPlanReturnOperation.DataPropertyName = "IsNotPlanReturnOperation";
this.IsNotPlanReturnOperation.HeaderText = "非计划二次手术";
this.IsNotPlanReturnOperation.Name = "IsNotPlanReturnOperation";
this.IsNotPlanReturnOperation.ReadOnly = true;
//
// RemarkColumn
//
this.RemarkColumn.DataPropertyName = "Remark";
this.RemarkColumn.HeaderText = "停止原因";
this.RemarkColumn.Name = "RemarkColumn";
this.RemarkColumn.ReadOnly = true;
//
// OperatorName
//
this.OperatorName.DataPropertyName = "OperatorName";
this.OperatorName.HeaderText = "停止人";
this.OperatorName.Name = "OperatorName";
this.OperatorName.ReadOnly = true;
this.OperatorName.Width = 80;
//
// frmOperationManage // frmOperationManage
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
@ -1563,50 +1572,6 @@
private DevComponents.DotNetBar.Controls.ComboBoxEx CboOperationSite; private DevComponents.DotNetBar.Controls.ComboBoxEx CboOperationSite;
private System.Windows.Forms.Label labelSite; private System.Windows.Forms.Label labelSite;
private DevComponents.DotNetBar.Controls.ComboBoxEx cboDept; private DevComponents.DotNetBar.Controls.ComboBoxEx cboDept;
private System.Windows.Forms.DataGridViewCheckBoxColumn CheckBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyId;
private System.Windows.Forms.DataGridViewTextBoxColumn StateColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn PatientNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn SexColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn Age;
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyDepNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationGroup;
private System.Windows.Forms.DataGridViewTextBoxColumn SickBedColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn PatientType;
private System.Windows.Forms.DataGridViewTextBoxColumn MdrecNoColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationTypeColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyOperatorNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyTimeColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn OrderOperationTimeColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyDiagnoseInfoNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyOperationInfoNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn InRoomTime;
private System.Windows.Forms.DataGridViewTextBoxColumn OutRoomTime;
private System.Windows.Forms.DataGridViewTextBoxColumn RoomHourTimeSpan;
private System.Windows.Forms.DataGridViewTextBoxColumn AnesthesiaBeginTime;
private System.Windows.Forms.DataGridViewTextBoxColumn AnesthesiaEndTime;
private System.Windows.Forms.DataGridViewTextBoxColumn AnaesthesiaHourTimeSpan;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationBeginTime;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationEndTime;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationHourTimeSpan;
private System.Windows.Forms.DataGridViewTextBoxColumn AnaesthesiaMethodNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationInfoName;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationCut;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationPositionName;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationBodyPositionName;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationLevelNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn ASALevelName;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationDoctorColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn Assistant1Column;
private System.Windows.Forms.DataGridViewTextBoxColumn AnesthesiaDoctorColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn AnesthesiaDoctor2;
private System.Windows.Forms.DataGridViewTextBoxColumn TourNurseColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn InstrumentNurseColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationRoomColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn PlanOrder;
private System.Windows.Forms.DataGridViewTextBoxColumn IsNotPlanReturnOperation;
private System.Windows.Forms.DataGridViewTextBoxColumn RemarkColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn OperatorName;
private System.Windows.Forms.Label label16; private System.Windows.Forms.Label label16;
private System.Windows.Forms.ComboBox cboOperationGroup; private System.Windows.Forms.ComboBox cboOperationGroup;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
@ -1652,5 +1617,50 @@
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn41; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn41;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn42; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn42;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn43; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn43;
private System.Windows.Forms.DataGridViewCheckBoxColumn CheckBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyId;
private System.Windows.Forms.DataGridViewTextBoxColumn StateColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn PatientNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn SexColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn Age;
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyDepNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationGroup;
private System.Windows.Forms.DataGridViewTextBoxColumn SickBedColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn PatientType;
private System.Windows.Forms.DataGridViewTextBoxColumn MdrecNoColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationTypeColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyOperatorNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyTimeColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn OrderOperationTimeColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyDiagnoseInfoNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyOperationInfoNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn InRoomTime;
private System.Windows.Forms.DataGridViewTextBoxColumn OutRoomTime;
private System.Windows.Forms.DataGridViewTextBoxColumn RoomHourTimeSpan;
private System.Windows.Forms.DataGridViewTextBoxColumn AnesthesiaBeginTime;
private System.Windows.Forms.DataGridViewTextBoxColumn AnesthesiaEndTime;
private System.Windows.Forms.DataGridViewTextBoxColumn AnaesthesiaHourTimeSpan;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationBeginTime;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationEndTime;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationHourTimeSpan;
private System.Windows.Forms.DataGridViewTextBoxColumn AnaesthesiaMethodNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationInfoName;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationCut;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationPositionName;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationBodyPositionName;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationLevelNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn ASALevelName;
private System.Windows.Forms.DataGridViewTextBoxColumn AnalgesiaModel;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationDoctorColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn Assistant1Column;
private System.Windows.Forms.DataGridViewTextBoxColumn AnesthesiaDoctorColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn AnesthesiaDoctor2;
private System.Windows.Forms.DataGridViewTextBoxColumn TourNurseColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn InstrumentNurseColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationRoomColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn PlanOrder;
private System.Windows.Forms.DataGridViewTextBoxColumn IsNotPlanReturnOperation;
private System.Windows.Forms.DataGridViewTextBoxColumn RemarkColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn OperatorName;
} }
} }

View File

@ -219,6 +219,9 @@
<metadata name="ASALevelName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="ASALevelName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>
<metadata name="AnalgesiaModel.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"> <metadata name="OperationDoctorColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>

View File

@ -3473,41 +3473,7 @@ namespace AIMS.OperationFront.UI
#endregion #endregion
#region #region
//#region 权限控制
///// <summary>
///// 是否允许排程患者
///// </summary>
//private bool IsAllowPat = false;
///// <summary>
///// 是否允许排程麻醉
///// </summary>
//private bool IsAllowAns = false;
///// <summary>
///// 是否允许排程护士
///// </summary>
//private bool IsAllowNur = false;
///// <summary>
///// 是否允许审核申请
///// </summary>
//private bool IsAllowAdtApply = false;
///// <summary>
///// 是否允许停止手术
///// </summary>
//private bool IsAllowStopOpe = false;
///// <summary>
///// 是否允许排程通过
///// </summary>
//private bool IsAllowPassOpe = false;
//#endregion
/// <summary>
/// 当前角色 1 :"护士" 2 :"麻醉师" 0 :"全能排"
/// </summary>
//private int nowRole;
/// <summary>
/// 当前选择dgv
/// </summary>
//private DataGridView SelectDgv;
/// <summary> /// <summary>
/// 当前选择人员类型 /// 当前选择人员类型
/// </summary> /// </summary>
@ -3528,7 +3494,6 @@ namespace AIMS.OperationFront.UI
public static int hiscount = 0; public static int hiscount = 0;
public Panel SelectPanel; public Panel SelectPanel;
public List<ucPlanOperationRoomCard> ucOpeRooms; public List<ucPlanOperationRoomCard> ucOpeRooms;
public SysConfig sysPass = BSysConfig.SelectSingle(" name='手术排程通过功能' ", null);
/// <summary> /// <summary>
/// 控件垂直间隔 /// 控件垂直间隔
@ -3597,10 +3562,11 @@ namespace AIMS.OperationFront.UI
{ {
try try
{ {
dtpSearchTime.Value = DateTime.Now; dtpSearchTime.Value = DateTime.Now;
string week = Day[Convert.ToInt32(dtpSearchTime.Value.DayOfWeek.ToString("d"))].ToString(); string week = Day[Convert.ToInt32(dtpSearchTime.Value.DayOfWeek.ToString("d"))].ToString();
labelWeek.Text = week; labelWeek.Text = week;
if (sysPass.IsValid == 1 && sysPass.Value == "1") if (RoomCardManage.IsAllowPassOpe == true)
{ btnpass.Visible = true; toolStripSeparator3.Visible = true; } { btnpass.Visible = true; toolStripSeparator3.Visible = true; }
else else
{ btnpass.Visible = false; toolStripSeparator3.Visible = false; } { btnpass.Visible = false; toolStripSeparator3.Visible = false; }
@ -3613,6 +3579,35 @@ namespace AIMS.OperationFront.UI
FirstLoad(); FirstLoad();
this.CboOperationSite.SelectedIndexChanged += new System.EventHandler(this.CboOperationSite_SelectedIndexChanged); this.CboOperationSite.SelectedIndexChanged += new System.EventHandler(this.CboOperationSite_SelectedIndexChanged);
RoomCardManage.IsAllowPat = RoomCardManage.GetRolePermission("排程患者");
RoomCardManage.IsAllowAns = RoomCardManage.GetRolePermission("排程麻醉");
RoomCardManage.IsAllowNur = RoomCardManage.GetRolePermission("排程护士");
RoomCardManage.IsAllowStopOpe = RoomCardManage.GetRolePermission("停止手术");
RoomCardManage.IsAllowPassOpe = RoomCardManage.GetRolePermission("排程通过");
tsbCancelOperationApply.Visible = RoomCardManage.IsAllowStopOpe;
if (RoomCardManage.IsAllowAns == false)
{
buttonItemAnas.Click -= new EventHandler(buttonItemDoctor_Click);
this.navigationPane1.Controls.Remove(this.navigationPanePanel2);
this.navigationPane1.Items.Remove(this.buttonItemAnas);
mnuCancelADoctor.Visible = false;
}
if (RoomCardManage.IsAllowNur == false)
{
buttonInstrumentNurse.Click -= new EventHandler(buttonInstrumentNurse_Click);
buttonItemTourNurse.Click -= new EventHandler(buttonItemTourNurse_Click);
this.navigationPane1.Controls.Remove(this.navigationPanePanel4);
this.navigationPane1.Controls.Remove(this.navigationPanePanel5);
this.navigationPane1.Items.Remove(this.buttonInstrumentNurse);
this.navigationPane1.Items.Remove(this.buttonItemTourNurse);
mnuCancelINurse.Visible = false;
mnuCancelTNurse.Visible = false;
}
if (!RoomCardManage.IsAllowPat)
{
mnuChangeOptRoomTo.Visible = false;
}
} }
catch (Exception ex) catch (Exception ex)
{ {
@ -3738,7 +3733,7 @@ namespace AIMS.OperationFront.UI
if (i != 0) tabScheduling.Tabs[i].Visible = false; if (i != 0) tabScheduling.Tabs[i].Visible = false;
} }
_rowColumnOfPage = RoomCount*3; _rowColumnOfPage = RoomCount * 3;
List<OperationRoom> rooms = operationRooms; List<OperationRoom> rooms = operationRooms;
int allpage = 0; int allpage = 0;
@ -4015,7 +4010,7 @@ namespace AIMS.OperationFront.UI
{ {
if (CurrentRoom <= 0) return 0; if (CurrentRoom <= 0) return 0;
OperationApply opeapply = BOperationApply.SelectSingle(applyID, RecursiveType.None, 0); OperationApply opeapply = BOperationApply.SelectSingle(applyID, RecursiveType.None, 0);
if (sysPass.IsValid == 1 && sysPass.Value == "1") if (RoomCardManage.IsAllowPassOpe == true)
{ {
opeapply.State = 3; opeapply.State = 3;
} }
@ -4247,6 +4242,11 @@ namespace AIMS.OperationFront.UI
int rowIndexLastDisplayed = 0; int rowIndexLastDisplayed = 0;
bool IsUpdate = false; bool IsUpdate = false;
if (RoomCardManage.SelectIds == null) return; if (RoomCardManage.SelectIds == null) return;
if (RoomCardManage.IsAllowPat == false)
{
MessageBox.Show("您没有排程权限!", "系统提示");
return;
}
RoomCardManage.SelectIds.ForEach(s => RoomCardManage.SelectIds.ForEach(s =>
{ {
returnValue = SaveApplyScheduling(CurrentRoom, s); returnValue = SaveApplyScheduling(CurrentRoom, s);
@ -4424,6 +4424,11 @@ namespace AIMS.OperationFront.UI
{ {
if (e.GridCell.Value.ToString() == "Χ") if (e.GridCell.Value.ToString() == "Χ")
{ {
if (RoomCardManage.IsAllowPat == false)
{
MessageBox.Show("您没有排程权限!", "系统提示");
return;
}
#region #region
OperationApply opeapply = BOperationApply.SelectSingle(iRowID, RecursiveType.None, 0); OperationApply opeapply = BOperationApply.SelectSingle(iRowID, RecursiveType.None, 0);
if (opeapply.State > 5) { MessageBox.Show("该申请已手术 不允许删除!"); return; } if (opeapply.State > 5) { MessageBox.Show("该申请已手术 不允许删除!"); return; }
@ -4533,7 +4538,7 @@ namespace AIMS.OperationFront.UI
} }
} }
if (SelGridRow == null || stepGridRow == null) if (SelGridRow == null || stepGridRow == null || RoomCardManage.IsAllowPat == false)
return; return;
BOperationApply.UpdatePlanOrder(Convert.ToInt32(SelGridRow.Cells[0].Value), Convert.ToInt32(stepGridRow.Cells[1].Value)); BOperationApply.UpdatePlanOrder(Convert.ToInt32(SelGridRow.Cells[0].Value), Convert.ToInt32(stepGridRow.Cells[1].Value));
@ -4604,7 +4609,6 @@ namespace AIMS.OperationFront.UI
} }
} }
#endregion #endregion
#region #region
string sInstrumentNurse = item["InstrumentNurse"].ToString(); string sInstrumentNurse = item["InstrumentNurse"].ToString();
if (!string.IsNullOrWhiteSpace(sInstrumentNurse)) if (!string.IsNullOrWhiteSpace(sInstrumentNurse))

File diff suppressed because it is too large Load Diff

View File

@ -1,376 +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="PlanTime.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Diagnose.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="OperationType.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Contagion.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewCheckBoxColumn3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn49.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="iName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn51.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn52.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn53.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn54.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn55.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn56.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn57.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn58.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn59.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewCheckBoxColumn4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn60.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="tName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn62.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn63.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn64.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn65.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn66.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn67.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn68.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn69.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn70.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Check.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="oName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="DepartmentRefName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Mon.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Tues.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Wed.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Thurs.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Fri.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Sat.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Sun.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewCheckBoxColumn2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewCheckBoxColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="imageList1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>245, 17</value>
</metadata>
<data name="imageList1.ImageStream" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAD+
CAAAAk1TRnQBSQFMAgEBAgEAAewBEwHsARMBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABQAMAARADAAEBAQABCAYAAQQYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
AWYDAAGZAwABzAIAATMDAAIzAgABMwFmAgABMwGZAgABMwHMAgABMwH/AgABZgMAAWYBMwIAAmYCAAFm
AZkCAAFmAcwCAAFmAf8CAAGZAwABmQEzAgABmQFmAgACmQIAAZkBzAIAAZkB/wIAAcwDAAHMATMCAAHM
AWYCAAHMAZkCAALMAgABzAH/AgAB/wFmAgAB/wGZAgAB/wHMAQABMwH/AgAB/wEAATMBAAEzAQABZgEA
ATMBAAGZAQABMwEAAcwBAAEzAQAB/wEAAf8BMwIAAzMBAAIzAWYBAAIzAZkBAAIzAcwBAAIzAf8BAAEz
AWYCAAEzAWYBMwEAATMCZgEAATMBZgGZAQABMwFmAcwBAAEzAWYB/wEAATMBmQIAATMBmQEzAQABMwGZ
AWYBAAEzApkBAAEzAZkBzAEAATMBmQH/AQABMwHMAgABMwHMATMBAAEzAcwBZgEAATMBzAGZAQABMwLM
AQABMwHMAf8BAAEzAf8BMwEAATMB/wFmAQABMwH/AZkBAAEzAf8BzAEAATMC/wEAAWYDAAFmAQABMwEA
AWYBAAFmAQABZgEAAZkBAAFmAQABzAEAAWYBAAH/AQABZgEzAgABZgIzAQABZgEzAWYBAAFmATMBmQEA
AWYBMwHMAQABZgEzAf8BAAJmAgACZgEzAQADZgEAAmYBmQEAAmYBzAEAAWYBmQIAAWYBmQEzAQABZgGZ
AWYBAAFmApkBAAFmAZkBzAEAAWYBmQH/AQABZgHMAgABZgHMATMBAAFmAcwBmQEAAWYCzAEAAWYBzAH/
AQABZgH/AgABZgH/ATMBAAFmAf8BmQEAAWYB/wHMAQABzAEAAf8BAAH/AQABzAEAApkCAAGZATMBmQEA
AZkBAAGZAQABmQEAAcwBAAGZAwABmQIzAQABmQEAAWYBAAGZATMBzAEAAZkBAAH/AQABmQFmAgABmQFm
ATMBAAGZATMBZgEAAZkBZgGZAQABmQFmAcwBAAGZATMB/wEAApkBMwEAApkBZgEAA5kBAAKZAcwBAAKZ
Af8BAAGZAcwCAAGZAcwBMwEAAWYBzAFmAQABmQHMAZkBAAGZAswBAAGZAcwB/wEAAZkB/wIAAZkB/wEz
AQABmQHMAWYBAAGZAf8BmQEAAZkB/wHMAQABmQL/AQABzAMAAZkBAAEzAQABzAEAAWYBAAHMAQABmQEA
AcwBAAHMAQABmQEzAgABzAIzAQABzAEzAWYBAAHMATMBmQEAAcwBMwHMAQABzAEzAf8BAAHMAWYCAAHM
AWYBMwEAAZkCZgEAAcwBZgGZAQABzAFmAcwBAAGZAWYB/wEAAcwBmQIAAcwBmQEzAQABzAGZAWYBAAHM
ApkBAAHMAZkBzAEAAcwBmQH/AQACzAIAAswBMwEAAswBZgEAAswBmQEAA8wBAALMAf8BAAHMAf8CAAHM
Af8BMwEAAZkB/wFmAQABzAH/AZkBAAHMAf8BzAEAAcwC/wEAAcwBAAEzAQAB/wEAAWYBAAH/AQABmQEA
AcwBMwIAAf8CMwEAAf8BMwFmAQAB/wEzAZkBAAH/ATMBzAEAAf8BMwH/AQAB/wFmAgAB/wFmATMBAAHM
AmYBAAH/AWYBmQEAAf8BZgHMAQABzAFmAf8BAAH/AZkCAAH/AZkBMwEAAf8BmQFmAQAB/wKZAQAB/wGZ
AcwBAAH/AZkB/wEAAf8BzAIAAf8BzAEzAQAB/wHMAWYBAAH/AcwBmQEAAf8CzAEAAf8BzAH/AQAC/wEz
AQABzAH/AWYBAAL/AZkBAAL/AcwBAAJmAf8BAAFmAf8BZgEAAWYC/wEAAf8CZgEAAf8BZgH/AQAC/wFm
AQABIQEAAaUBAANfAQADdwEAA4YBAAOWAQADywEAA7IBAAPXAQAD3QEAA+MBAAPqAQAD8QEAA/gBAAHw
AfsB/wEAAaQCoAEAA4ADAAH/AgAB/wMAAv8BAAH/AwAB/wEAAf8BAAL/AgAD/wMAASoLKTMAAioLUgEp
MgABUgFRAVkIUgFRAW4BSgIAASoLKSQAAlIEWQFYAVIBdAJzAnQBSgEAASoBWQtSASkiAAVGAUwBRgJ0
AXkDegF5AXMBSgFSAlkIWAJSASoiAALjAxcB4wFMBZoBegF5AXQB6gFSAXoJWQFYAVIBKSIAAUYBFgTj
AW8BmQGaBJkBegF0AYwBUgF6CVkBWAJSASkiAAFMAhYB4wFGAXMEHAGZAhwBdAGnAVIBegpZAlIBKiIA
BEwCWQHPAfMBtQHyAs8BtQHzAc8BUgF6C1kBWAEqIgABUgJ0AVICWQHPAd0BtQHyAvEBvAK1AVIBegVZ
BHoDWQEqIQABUgSaAVIBWQGuAbUB8gO1AQkB8AEJAVICegNZBnoBWQEqIgABUgF1A3oBdQFLAQABzwG8
AQkBzwHzAfIB8QEJAXQDegNZAVIDdAJSIwABOAFZAlIBdQF6AgABzwLxAQkCtQHPAacBAAF0A3oBWQEq
KQABWQHlAaABmgF5AVICAAGnAs8DpwMAAf8CdAJSKgABUgKgAsMBdAIAAqc4AAJSPAABQgFNAT4HAAE+
AwABKAMAAUADAAEQAwABAQEAAQEFAAGAFwAD/wEAAcABAwL/BAABgAEBAv8EAAGAAQEBgAEHBAABgAEB
AQABAwcAAQMHAAEDBwABAQQAAYACAAEBBAABgAIAAQEEAAGAAgABAQcAAQMEAAEBAgABBwQAAQMBAAGB
Af8EAAIDAYMB/wQAAQMBPwL/BAABzwP/BAAL
</value>
</data>
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>144, 17</value>
</metadata>
<metadata name="ctsThisRoom.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>525, 17</value>
</metadata>
<metadata name="contextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>360, 17</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn7.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn8.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn9.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn10.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn11.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn12.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn13.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn14.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn15.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn16.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn17.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn18.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn19.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn20.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn21.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn22.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn23.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn24.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>44</value>
</metadata>
</root>

View File

@ -12,6 +12,29 @@ namespace AIMS.OremrUserControl
{ {
public static class RoomCardManage public static class RoomCardManage
{ {
#region
/// <summary>
/// 是否允许排程患者
/// </summary>
public static bool IsAllowPat = false;
/// <summary>
/// 是否允许排程麻醉
/// </summary>
public static bool IsAllowAns = false;
/// <summary>
/// 是否允许排程护士
/// </summary>
public static bool IsAllowNur = false;
/// <summary>
/// 是否允许停止手术
/// </summary>
public static bool IsAllowStopOpe = false;
/// <summary>
/// 是否允许排程通过
/// </summary>
public static bool IsAllowPassOpe = false;
#endregion
public static List<int> OldSelectIds; public static List<int> OldSelectIds;
public static List<int> SelectIds = new List<int>(); public static List<int> SelectIds = new List<int>();
public static DataGridView SelectDgv; public static DataGridView SelectDgv;
@ -69,5 +92,12 @@ namespace AIMS.OremrUserControl
} }
catch { } catch { }
} }
public static bool GetRolePermission(string permissionItem)
{
if (AIMSExtension.PublicMethod.RoleName.Contains(permissionItem))
return true;
else
return false;
}
} }
} }

View File

@ -72,6 +72,21 @@ namespace AIMS.OremrUserControl
operationRoom = _operationRoom; operationRoom = _operationRoom;
this.labelName.Text = _operationRoom.Name; this.labelName.Text = _operationRoom.Name;
this.OperationRoomId = _operationRoom.Id.Value; this.OperationRoomId = _operationRoom.Id.Value;
if (RoomCardManage.IsAllowAns == false)
{
tsDelAnes.Visible = false;
}
if (RoomCardManage.IsAllowNur == false)
{
tsDelNs1.Visible = false;
tsDelNs2.Visible = false;
}
if (!RoomCardManage.IsAllowPat )
{
tsUpdateRoom.Visible = false;
tsDel.Visible = false;
}
} }
public void RaiseDataSavedEvent() public void RaiseDataSavedEvent()

View File

@ -294,7 +294,7 @@ namespace AIMSDAL
} }
public static DataTable GetOperationDoingDataTable(string BegInData, string EndData) public static DataTable GetOperationDoingDataTable(string BegInData, string EndData)
{ {
string strSql = " SELECT * from [dbo].[V_OperationRecordInfo] WHERE OrderOperationTime>='" + BegInData + "' and OrderOperationTime<'" + EndData + "' order by OperationRoomId,PlanOrder asc"; string strSql = " SELECT * from [dbo].[V_OperationRecordInfo] WHERE OrderOperationTime>='" + BegInData + "' and OrderOperationTime<'" + EndData + "' order by OpeDAY, OperationRoomId,PlanOrder asc";
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString()); return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
} }