麻醉术前访视单动态加载lis数据

This commit is contained in:
leomo 2022-10-27 22:13:00 +08:00
parent 4cd6f49734
commit 2ce824ad5d
25 changed files with 2405 additions and 1109 deletions

View File

@ -159,18 +159,14 @@
<Compile Include="DocManager\frmDocument3.designer.cs">
<DependentUpon>frmDocument3.cs</DependentUpon>
</Compile>
<Compile Include="DocManager\frmSelectPatient.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DocManager\frmSelectPatient.designer.cs">
<DependentUpon>frmSelectPatient.cs</DependentUpon>
</Compile>
<Compile Include="DocManager\frmTemplateD.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DocManager\frmTemplateD.designer.cs">
<DependentUpon>frmTemplateD.cs</DependentUpon>
</Compile>
<Compile Include="DocManager\PatientLisResult.cs" />
<Compile Include="DocManager\PatientRecord.cs" />
<Compile Include="DrugManagement\frmDosageKind.cs">
<SubType>Form</SubType>
</Compile>
@ -333,6 +329,12 @@
<Compile Include="OperationDoing\oldSystemCode\frmKnowledgeBase.designer.cs">
<DependentUpon>frmKnowledgeBase.cs</DependentUpon>
</Compile>
<Compile Include="OperationDoing\oldSystemCode\frmLISResult.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="OperationDoing\oldSystemCode\frmLISResult.designer.cs">
<DependentUpon>frmLISResult.cs</DependentUpon>
</Compile>
<Compile Include="OperationDoing\oldSystemCode\frmNoticeLargeScreen.cs">
<SubType>Form</SubType>
</Compile>
@ -898,9 +900,6 @@
<EmbeddedResource Include="DocManager\frmDocument3.resx">
<DependentUpon>frmDocument3.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="DocManager\frmSelectPatient.resx">
<DependentUpon>frmSelectPatient.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="DocManager\frmTemplateD.resx">
<DependentUpon>frmTemplateD.cs</DependentUpon>
<SubType>Designer</SubType>
@ -989,6 +988,9 @@
<EmbeddedResource Include="OperationDoing\oldSystemCode\frmKnowledgeBase.resx">
<DependentUpon>frmKnowledgeBase.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="OperationDoing\oldSystemCode\frmLISResult.resx">
<DependentUpon>frmLISResult.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="OperationDoing\oldSystemCode\frmNoticeLargeScreen.resx">
<DependentUpon>frmNoticeLargeScreen.cs</DependentUpon>
</EmbeddedResource>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<AtuoUpdate>
<ConnectionString>Data Source=.;Initial Catalog=AIMSDB_SXTLYY_Temp;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>
<HisConnectionStringOracel>Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.10.7)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl2))));Persist Security Info=True;User ID=smview;Password=i39;</HisConnectionStringOracel>
</AtuoUpdate>

View File

@ -0,0 +1,67 @@
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
namespace AIMS.DocManager
{
/// <summary>
/// V_OperationRecordALL
/// </summary>
public class PatientLisResult
{
public string PATIENT_ID { get; set; }
public string Item1 { get; set; }
public string Item2 { get; set; }
public string Item3 { get; set; }
public string Item4 { get; set; }
public string Item5 { get; set; }
public string Item6 { get; set; }
public string Item7 { get; set; }
public string Item8 { get; set; }
public string Item9 { get; set; }
public string Item10 { get; set; }
public string Item11 { get; set; }
public string Item12 { get; set; }
public string Item13 { get; set; }
public string Item14 { get; set; }
public string Item15 { get; set; }
public string Item16 { get; set; }
public string Item17 { get; set; }
public string Item18 { get; set; }
public string Item19 { get; set; }
public string Item20 { get; set; }
public static PatientLisResult GetLisResult(string patientNo)
{
PatientLisResult patient = new PatientLisResult ();
DataTable dt = DocumentManagement.DocumentDAL.GetLisResult (patientNo );
if (dt.Rows.Count > 0)
{
patient.PATIENT_ID = dt.Rows[0]["PATIENT_ID"].ToString();
patient.Item1 = dt.Rows[0]["Item1"].ToString();
patient.Item2 = dt.Rows[0]["Item2"].ToString();
patient.Item3 = dt.Rows[0]["Item3"].ToString();
patient.Item4 = dt.Rows[0]["Item4"].ToString();
patient.Item5 = dt.Rows[0]["Item5"].ToString();
patient.Item6 = dt.Rows[0]["Item6"].ToString();
patient.Item7 = dt.Rows[0]["Item7"].ToString();
patient.Item8 = dt.Rows[0]["Item8"].ToString();
patient.Item9 = dt.Rows[0]["Item9"].ToString();
patient.Item10 = dt.Rows[0]["Item10"].ToString();
patient.Item11 = dt.Rows[0]["Item11"].ToString();
patient.Item12 = dt.Rows[0]["Item12"].ToString();
patient.Item13 = dt.Rows[0]["Item13"].ToString();
patient.Item14 = dt.Rows[0]["Item14"].ToString();
patient.Item15 = dt.Rows[0]["Item15"].ToString();
patient.Item16 = dt.Rows[0]["Item16"].ToString();
patient.Item17 = dt.Rows[0]["Item17"].ToString();
patient.Item18 = dt.Rows[0]["Item18"].ToString();
patient.Item19 = dt.Rows[0]["Item19"].ToString();
patient.Item20 = dt.Rows[0]["Item20"].ToString();
}
return patient;
}
}
}

View File

@ -0,0 +1,189 @@
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
namespace AIMS.DocManager
{
/// <summary>
/// V_OperationRecordALL
/// </summary>
public class PatientRecord
{
public int PatientId { get; set; }
public int ApplyId { get; set; }
public String MdrecNo { get; set; }
public String ArchivesNo { get; set; }
public String PatientName { get; set; }
public String PatientName1 { get; set; }
public String ApplyDepName { get; set; }
public String PatientKind { get; set; }
public String Sex { get; set; }
public String BirthDay { get; set; }
public String Age { get; set; }
public String Height { get; set; }
public String Weight { get; set; }
public String BloodType { get; set; }
public String RHBloodType { get; set; }
public String SickBed { get; set; }
public String OperationType { get; set; }
public String OrderOperationTime { get; set; }
public String OperationTimeLeight { get; set; }
public String IsReturnOperation { get; set; }
public String IsPlanReturnOperation { get; set; }
public String ApplyDiagnoseInfoName { get; set; }
public String DiagnoseRemark { get; set; }
public String ApplyOperationInfoName { get; set; }
public String OperationRemark { get; set; }
public String ApplyOperationLevelName { get; set; }
public String ApplyOperationCutTypeName { get; set; }
public String ApplyOperationPositionName { get; set; }
public String ApplyAnaesthesiaMethodName { get; set; }
public String Contagion { get; set; }
public String ApplyOperationDoctor { get; set; }
public String Assistant1 { get; set; }
public String Assistant2 { get; set; }
public String Assistant3 { get; set; }
public String Intern { get; set; }
public String Other { get; set; }
public String ApplyTime { get; set; }
public String ApplyOperatorName { get; set; }
public String VerifyTime { get; set; }
public String VerifyOperatorName { get; set; }
public String PlanOperationTime { get; set; }
public String OperationRoomId { get; set; }
public String OperationRoom { get; set; }
public String PlanOrder { get; set; }
public String ApplyAnesthesiaDoctor { get; set; }
public String InstrumentNurse { get; set; }
public String TourNurse { get; set; }
public String AnesthesiaDoctorSucceed { get; set; }
public String InstrumentNurseSucceed { get; set; }
public String TourNurseSucceed { get; set; }
public String ASA { get; set; }
public String HeartFunctionLevel { get; set; }
public String IsFasting { get; set; }
public String State { get; set; }
public String InRoomTime { get; set; }
public String OutRoomTime { get; set; }
public String OperationBeginTime { get; set; }
public String OperationEndTime { get; set; }
public String OperationLevelName { get; set; }
public String OpeAfterMode { get; set; }
public String SpecialSituation { get; set; }
public String PunctureBodyPosition { get; set; }
public String PuncturePosition { get; set; }
public String CatheterDepth { get; set; }
public String NeedleSize { get; set; }
public String NeedleDirection { get; set; }
public String AnaesthesiaPlane { get; set; }
public String AnaesthesiaEffect { get; set; }
public String DiagnoseInfoName { get; set; }
public String OperationInfoName { get; set; }
public String AnaesthesiaMethodName { get; set; }
public String OperationCutTypeName { get; set; }
public String OperationBodyPositionName { get; set; }
public String OperationPositionName { get; set; }
public String OperationDoctor { get; set; }
public String Assistant { get; set; }
public String AnesthesiaDoctor { get; set; }
public String Nurse { get; set; }
public String Illdistrict { get; set; }
public String Remarks { get; set; }
public String SysDate { get; set; }
public String SysTime { get; set; }
public String OpeTime { get; set; }
public String MedicalRecord { get; set; }
public PatientLisResult LisResult { get; set; }
public static PatientRecord GetPatientRecord(int patientId)
{
PatientRecord patient = new PatientRecord();
#region
DataTable dt = DocumentManagement.DocumentDAL.GetPatient(patientId);
if (dt.Rows.Count > 0)
{
patient.PatientId = int.Parse(dt.Rows[0]["PatientId"].ToString());
//patient.PatientId = int.Parse(dt.Rows[0]["PatientId"].ToString());
patient.ApplyId = int.Parse(dt.Rows[0]["ApplyId"].ToString());
patient.MdrecNo = dt.Rows[0]["MdrecNo"].ToString();
patient.ArchivesNo = dt.Rows[0]["ArchivesNo"].ToString();
patient.PatientName = dt.Rows[0]["PatientName"].ToString();
patient.PatientName1 = dt.Rows[0]["PatientName"].ToString();
patient.PatientKind = dt.Rows[0]["PatientKind"].ToString();
patient.Sex = dt.Rows[0]["Sex"].ToString();
patient.ApplyDepName = dt.Rows[0]["ApplyDepName"].ToString();
patient.Age = dt.Rows[0]["Age"].ToString();
patient.BirthDay = dt.Rows[0]["BirthDay"].ToString();
patient.Height = dt.Rows[0]["Height"].ToString();
patient.Weight = dt.Rows[0]["Weight"].ToString();
patient.BloodType = dt.Rows[0]["BloodType"].ToString();
patient.SickBed = dt.Rows[0]["SickBed"].ToString();
patient.OperationType = dt.Rows[0]["OperationType"].ToString();
patient.OrderOperationTime = dt.Rows[0]["OrderOperationTime"].ToString();
patient.OperationTimeLeight = dt.Rows[0]["OperationTimeLeight"].ToString();
patient.IsReturnOperation = dt.Rows[0]["IsReturnOperation"].ToString();
patient.IsPlanReturnOperation = dt.Rows[0]["IsPlanReturnOperation"].ToString();
patient.ApplyDiagnoseInfoName = dt.Rows[0]["ApplyDiagnoseInfoName"].ToString();
patient.DiagnoseRemark = dt.Rows[0]["DiagnoseRemark"].ToString();
patient.ApplyOperationInfoName = dt.Rows[0]["ApplyOperationInfoName"].ToString();
patient.OperationRemark = dt.Rows[0]["OperationRemark"].ToString();
patient.ApplyOperationLevelName = dt.Rows[0]["ApplyOperationLevelName"].ToString();
patient.ApplyOperationCutTypeName = dt.Rows[0]["ApplyOperationCutTypeName"].ToString();
patient.ApplyOperationPositionName = dt.Rows[0]["ApplyOperationPositionName"].ToString();
patient.ApplyAnaesthesiaMethodName = dt.Rows[0]["ApplyAnaesthesiaMethodName"].ToString();
patient.Contagion = dt.Rows[0]["Contagion"].ToString();
patient.ApplyOperationDoctor = dt.Rows[0]["ApplyOperationDoctor"].ToString();
patient.Assistant1 = dt.Rows[0]["Assistant1"].ToString();
patient.Assistant2 = dt.Rows[0]["Assistant2"].ToString();
patient.Assistant3 = dt.Rows[0]["Assistant3"].ToString();
patient.Intern = dt.Rows[0]["Intern"].ToString();
patient.Other = dt.Rows[0]["Other"].ToString();
patient.ApplyTime = dt.Rows[0]["ApplyTime"].ToString();
patient.ApplyOperatorName = dt.Rows[0]["ApplyOperatorName"].ToString();
patient.VerifyOperatorName = dt.Rows[0]["VerifyOperatorName"].ToString();
patient.PlanOperationTime = dt.Rows[0]["PlanOperationTime"].ToString();
patient.OperationRoomId = dt.Rows[0]["OperationRoomId"].ToString();
patient.OperationRoom = dt.Rows[0]["OperationRoom"].ToString();
patient.PlanOrder = dt.Rows[0]["PlanOrder"].ToString();
patient.ApplyAnesthesiaDoctor = dt.Rows[0]["ApplyAnesthesiaDoctor"].ToString();
patient.InstrumentNurse = dt.Rows[0]["InstrumentNurse"].ToString();
patient.TourNurse = dt.Rows[0]["TourNurse"].ToString();
patient.AnesthesiaDoctorSucceed = dt.Rows[0]["AnesthesiaDoctorSucceed"].ToString();
patient.InstrumentNurseSucceed = dt.Rows[0]["InstrumentNurseSucceed"].ToString();
patient.TourNurseSucceed = dt.Rows[0]["TourNurseSucceed"].ToString();
patient.ASA = dt.Rows[0]["ASA"].ToString();
patient.HeartFunctionLevel = dt.Rows[0]["HeartFunctionLevel"].ToString();
patient.IsFasting = dt.Rows[0]["IsFasting"].ToString();
patient.State = dt.Rows[0]["State"].ToString();
patient.InRoomTime = dt.Rows[0]["InRoomTime"].ToString();
patient.OutRoomTime = dt.Rows[0]["OutRoomTime"].ToString();
patient.OperationBeginTime = dt.Rows[0]["OperationBeginTime"].ToString();
patient.OperationEndTime = dt.Rows[0]["OperationEndTime"].ToString();
patient.OperationLevelName = dt.Rows[0]["OperationLevelName"].ToString();
patient.SpecialSituation = dt.Rows[0]["SpecialSituation"].ToString();
patient.AnaesthesiaPlane = dt.Rows[0]["AnaesthesiaPlane"].ToString();
patient.DiagnoseInfoName = dt.Rows[0]["DiagnoseInfoName"].ToString();
patient.OperationInfoName = dt.Rows[0]["OperationInfoName"].ToString();
patient.AnaesthesiaMethodName = dt.Rows[0]["AnaesthesiaMethodName"].ToString();
patient.OperationCutTypeName = dt.Rows[0]["OperationCutTypeName"].ToString();
patient.OperationBodyPositionName = dt.Rows[0]["OperationBodyPositionName"].ToString();
patient.OperationPositionName = dt.Rows[0]["OperationPositionName"].ToString();
patient.OperationDoctor = dt.Rows[0]["OperationDoctor"].ToString();
patient.Assistant = dt.Rows[0]["Assistant"].ToString();
patient.AnesthesiaDoctor = dt.Rows[0]["AnesthesiaDoctor"].ToString();
patient.Nurse = dt.Rows[0]["Nurse"].ToString();
patient.Illdistrict = dt.Rows[0]["Illdistrict"].ToString();
patient.Remarks = dt.Rows[0]["Remarks"].ToString();
patient.SysDate = dt.Rows[0]["SysDate"].ToString();
patient.SysTime = dt.Rows[0]["SysTime"].ToString();
patient.OpeTime = dt.Rows[0]["OpeTime"].ToString();
patient.MedicalRecord = dt.Rows[0]["MedicalRecord"].ToString();
}
patient.LisResult = PatientLisResult.GetLisResult(patient.MdrecNo);
#endregion
return patient;
}
}
}

View File

@ -1,416 +0,0 @@
namespace AIMS.DocManager
{
partial class frmSelectPatient
{
/// <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 dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
this.panel1 = new System.Windows.Forms.Panel();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.dtpBegInDate = new System.Windows.Forms.DateTimePicker();
this.dtpEndDate = new System.Windows.Forms.DateTimePicker();
this.label3 = new System.Windows.Forms.Label();
this.chkIsApply = new System.Windows.Forms.CheckBox();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.rdDoingOrAfter = new System.Windows.Forms.RadioButton();
this.rdFront = new System.Windows.Forms.RadioButton();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.textBox1 = new System.Windows.Forms.TextBox();
this.btnFind = new System.Windows.Forms.Button();
this.dgv = new System.Windows.Forms.DataGridView();
this.PatientId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ApplyId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ArchivesNoColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.MdrecNoColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.SickBedColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.PatientNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.SexColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OperationRoomColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ApplyDepNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ApplyTimeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OperationBeginTimeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ApplyDiagnoseInfoNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ApplyOperationInfoNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OperationInfoNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.StateColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.panel1.SuspendLayout();
this.groupBox3.SuspendLayout();
this.groupBox2.SuspendLayout();
this.groupBox1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgv)).BeginInit();
this.SuspendLayout();
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.AliceBlue;
this.panel1.Controls.Add(this.groupBox3);
this.panel1.Controls.Add(this.groupBox2);
this.panel1.Controls.Add(this.groupBox1);
this.panel1.Controls.Add(this.btnFind);
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Font = new System.Drawing.Font("宋体", 9F);
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Margin = new System.Windows.Forms.Padding(4);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(1163, 62);
this.panel1.TabIndex = 2;
//
// groupBox3
//
this.groupBox3.Controls.Add(this.dtpBegInDate);
this.groupBox3.Controls.Add(this.dtpEndDate);
this.groupBox3.Controls.Add(this.label3);
this.groupBox3.Controls.Add(this.chkIsApply);
this.groupBox3.Location = new System.Drawing.Point(469, 10);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(420, 46);
this.groupBox3.TabIndex = 42;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "手术时间";
//
// dtpBegInDate
//
this.dtpBegInDate.CustomFormat = "yyyy-MM-dd";
this.dtpBegInDate.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
this.dtpBegInDate.Location = new System.Drawing.Point(7, 18);
this.dtpBegInDate.Margin = new System.Windows.Forms.Padding(4);
this.dtpBegInDate.Name = "dtpBegInDate";
this.dtpBegInDate.Size = new System.Drawing.Size(128, 21);
this.dtpBegInDate.TabIndex = 32;
//
// dtpEndDate
//
this.dtpEndDate.CustomFormat = "yyyy-MM-dd";
this.dtpEndDate.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
this.dtpEndDate.Location = new System.Drawing.Point(177, 18);
this.dtpEndDate.Margin = new System.Windows.Forms.Padding(4);
this.dtpEndDate.Name = "dtpEndDate";
this.dtpEndDate.Size = new System.Drawing.Size(128, 21);
this.dtpEndDate.TabIndex = 34;
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(143, 22);
this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(17, 12);
this.label3.TabIndex = 33;
this.label3.Text = "至";
//
// chkIsApply
//
this.chkIsApply.AutoSize = true;
this.chkIsApply.Location = new System.Drawing.Point(312, 20);
this.chkIsApply.Name = "chkIsApply";
this.chkIsApply.Size = new System.Drawing.Size(72, 16);
this.chkIsApply.TabIndex = 39;
this.chkIsApply.Text = "申请时间";
this.chkIsApply.UseVisualStyleBackColor = true;
this.chkIsApply.CheckedChanged += new System.EventHandler(this.chkIsApply_CheckedChanged);
//
// groupBox2
//
this.groupBox2.Controls.Add(this.rdDoingOrAfter);
this.groupBox2.Controls.Add(this.rdFront);
this.groupBox2.Location = new System.Drawing.Point(192, 12);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(249, 44);
this.groupBox2.TabIndex = 41;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "状态";
//
// rdDoingOrAfter
//
this.rdDoingOrAfter.AutoSize = true;
this.rdDoingOrAfter.Location = new System.Drawing.Point(102, 20);
this.rdDoingOrAfter.Name = "rdDoingOrAfter";
this.rdDoingOrAfter.Size = new System.Drawing.Size(83, 16);
this.rdDoingOrAfter.TabIndex = 37;
this.rdDoingOrAfter.Text = "术中及术后";
this.rdDoingOrAfter.UseVisualStyleBackColor = true;
//
// rdFront
//
this.rdFront.AutoSize = true;
this.rdFront.Checked = true;
this.rdFront.Location = new System.Drawing.Point(16, 20);
this.rdFront.Name = "rdFront";
this.rdFront.Size = new System.Drawing.Size(47, 16);
this.rdFront.TabIndex = 36;
this.rdFront.TabStop = true;
this.rdFront.Text = "术前";
this.rdFront.UseVisualStyleBackColor = true;
//
// groupBox1
//
this.groupBox1.Controls.Add(this.textBox1);
this.groupBox1.Location = new System.Drawing.Point(12, 12);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(174, 44);
this.groupBox1.TabIndex = 40;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "住院号或姓名";
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(6, 17);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(162, 21);
this.textBox1.TabIndex = 2;
//
// btnFind
//
this.btnFind.Font = new System.Drawing.Font("宋体", 12F);
this.btnFind.Location = new System.Drawing.Point(908, 18);
this.btnFind.Margin = new System.Windows.Forms.Padding(4);
this.btnFind.Name = "btnFind";
this.btnFind.Size = new System.Drawing.Size(89, 36);
this.btnFind.TabIndex = 9;
this.btnFind.Text = "查询";
this.btnFind.UseVisualStyleBackColor = true;
this.btnFind.Click += new System.EventHandler(this.btnFind_Click);
//
// dgv
//
this.dgv.AllowUserToAddRows = false;
this.dgv.BackgroundColor = System.Drawing.Color.White;
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9.5F);
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgv.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
this.dgv.ColumnHeadersHeight = 40;
this.dgv.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.PatientId,
this.ApplyId,
this.ArchivesNoColumn,
this.MdrecNoColumn,
this.SickBedColumn,
this.PatientNameColumn,
this.SexColumn,
this.OperationRoomColumn,
this.ApplyDepNameColumn,
this.ApplyTimeColumn,
this.OperationBeginTimeColumn,
this.ApplyDiagnoseInfoNameColumn,
this.ApplyOperationInfoNameColumn,
this.OperationInfoNameColumn,
this.StateColumn});
this.dgv.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgv.Location = new System.Drawing.Point(0, 62);
this.dgv.Margin = new System.Windows.Forms.Padding(4);
this.dgv.MultiSelect = false;
this.dgv.Name = "dgv";
this.dgv.ReadOnly = true;
this.dgv.RowHeadersVisible = false;
this.dgv.RowHeadersWidth = 35;
this.dgv.RowTemplate.Height = 23;
this.dgv.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgv.Size = new System.Drawing.Size(1163, 462);
this.dgv.TabIndex = 5;
this.dgv.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgv_CellClick);
//
// PatientId
//
this.PatientId.DataPropertyName = "PatientId";
this.PatientId.HeaderText = "PatientId";
this.PatientId.Name = "PatientId";
this.PatientId.ReadOnly = true;
this.PatientId.Visible = false;
//
// ApplyId
//
this.ApplyId.DataPropertyName = "ApplyId";
this.ApplyId.HeaderText = "ApplyId";
this.ApplyId.Name = "ApplyId";
this.ApplyId.ReadOnly = true;
this.ApplyId.Visible = false;
//
// ArchivesNoColumn
//
this.ArchivesNoColumn.DataPropertyName = "ArchivesNo";
this.ArchivesNoColumn.HeaderText = "病历号";
this.ArchivesNoColumn.Name = "ArchivesNoColumn";
this.ArchivesNoColumn.ReadOnly = true;
this.ArchivesNoColumn.Width = 80;
//
// MdrecNoColumn
//
this.MdrecNoColumn.DataPropertyName = "MdrecNo";
this.MdrecNoColumn.HeaderText = "住院号";
this.MdrecNoColumn.Name = "MdrecNoColumn";
this.MdrecNoColumn.ReadOnly = true;
this.MdrecNoColumn.Width = 80;
//
// SickBedColumn
//
this.SickBedColumn.DataPropertyName = "SickBed";
this.SickBedColumn.HeaderText = "床号";
this.SickBedColumn.Name = "SickBedColumn";
this.SickBedColumn.ReadOnly = true;
this.SickBedColumn.Width = 50;
//
// 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 = 50;
//
// OperationRoomColumn
//
this.OperationRoomColumn.DataPropertyName = "OperationRoom";
this.OperationRoomColumn.HeaderText = "手术室";
this.OperationRoomColumn.Name = "OperationRoomColumn";
this.OperationRoomColumn.ReadOnly = true;
this.OperationRoomColumn.Width = 80;
//
// ApplyDepNameColumn
//
this.ApplyDepNameColumn.DataPropertyName = "ApplyDepName";
this.ApplyDepNameColumn.HeaderText = "科室";
this.ApplyDepNameColumn.Name = "ApplyDepNameColumn";
this.ApplyDepNameColumn.ReadOnly = true;
//
// ApplyTimeColumn
//
this.ApplyTimeColumn.DataPropertyName = "ApplyTime";
this.ApplyTimeColumn.HeaderText = "申请时间";
this.ApplyTimeColumn.Name = "ApplyTimeColumn";
this.ApplyTimeColumn.ReadOnly = true;
//
// OperationBeginTimeColumn
//
this.OperationBeginTimeColumn.DataPropertyName = "OperationBeginTime";
this.OperationBeginTimeColumn.HeaderText = "开始时间";
this.OperationBeginTimeColumn.Name = "OperationBeginTimeColumn";
this.OperationBeginTimeColumn.ReadOnly = true;
//
// ApplyDiagnoseInfoNameColumn
//
this.ApplyDiagnoseInfoNameColumn.DataPropertyName = "ApplyDiagnoseInfoName";
this.ApplyDiagnoseInfoNameColumn.HeaderText = "术前诊断";
this.ApplyDiagnoseInfoNameColumn.Name = "ApplyDiagnoseInfoNameColumn";
this.ApplyDiagnoseInfoNameColumn.ReadOnly = true;
this.ApplyDiagnoseInfoNameColumn.Width = 120;
//
// ApplyOperationInfoNameColumn
//
this.ApplyOperationInfoNameColumn.DataPropertyName = "ApplyOperationInfoName";
this.ApplyOperationInfoNameColumn.HeaderText = "拟施手术";
this.ApplyOperationInfoNameColumn.Name = "ApplyOperationInfoNameColumn";
this.ApplyOperationInfoNameColumn.ReadOnly = true;
this.ApplyOperationInfoNameColumn.Width = 120;
//
// OperationInfoNameColumn
//
this.OperationInfoNameColumn.DataPropertyName = "OperationInfoName";
this.OperationInfoNameColumn.HeaderText = "实施手术";
this.OperationInfoNameColumn.Name = "OperationInfoNameColumn";
this.OperationInfoNameColumn.ReadOnly = true;
this.OperationInfoNameColumn.Width = 120;
//
// StateColumn
//
this.StateColumn.DataPropertyName = "State";
this.StateColumn.HeaderText = "状态";
this.StateColumn.Name = "StateColumn";
this.StateColumn.ReadOnly = true;
this.StateColumn.Width = 75;
//
// frmSelectPatient
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoScroll = true;
this.ClientSize = new System.Drawing.Size(1163, 524);
this.Controls.Add(this.dgv);
this.Controls.Add(this.panel1);
this.Font = new System.Drawing.Font("宋体", 9.5F);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "frmSelectPatient";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "选择患者";
this.Load += new System.EventHandler(this.frmSelectPatient_Load);
this.panel1.ResumeLayout(false);
this.groupBox3.ResumeLayout(false);
this.groupBox3.PerformLayout();
this.groupBox2.ResumeLayout(false);
this.groupBox2.PerformLayout();
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dgv)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Button btnFind;
private System.Windows.Forms.DataGridView dgv;
private System.Windows.Forms.RadioButton rdDoingOrAfter;
private System.Windows.Forms.RadioButton rdFront;
private System.Windows.Forms.DateTimePicker dtpBegInDate;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.DateTimePicker dtpEndDate;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.CheckBox chkIsApply;
private System.Windows.Forms.GroupBox groupBox3;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.DataGridViewTextBoxColumn PatientId;
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyId;
private System.Windows.Forms.DataGridViewTextBoxColumn ArchivesNoColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn MdrecNoColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn SickBedColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn PatientNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn SexColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationRoomColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyDepNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyTimeColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationBeginTimeColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyDiagnoseInfoNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn ApplyOperationInfoNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn OperationInfoNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn StateColumn;
}
}

View File

@ -1,380 +0,0 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DocumentManagement;
namespace AIMS.DocManager
{
public partial class frmSelectPatient : Form
{
//返回的PatientId
public PatientRecord Patient = new PatientRecord();
private DataTable dt;
public frmSelectPatient()
{
InitializeComponent();
dgv.AutoGenerateColumns = false;
AIMSExtension.PublicMethod.SetDgvAttribute(dgv);
dgv.CellMouseEnter += new DataGridViewCellEventHandler(dgv_CellMouseEnter);
dgv.CellMouseLeave += new DataGridViewCellEventHandler(dgv_CellMouseLeave);
dtpEndDate.Value = DateTime.Parse(dtpEndDate.Value.ToString("yyyy-MM-dd")).AddDays(4);
}
void dgv_CellMouseLeave(object sender, DataGridViewCellEventArgs e)
{
var rowIndex = e.RowIndex;
if (rowIndex < 0 || rowIndex >= dgv.Rows.Count)
{
return;
}
dgv.Rows[rowIndex].DefaultCellStyle = dgv.DefaultCellStyle;
}
void dgv_CellMouseEnter(object sender, DataGridViewCellEventArgs e)
{
var rowIndex = e.RowIndex;
if (rowIndex < 0 || rowIndex >= dgv.Rows.Count)
{
return;
}
dgv.Rows[rowIndex].DefaultCellStyle = new DataGridViewCellStyle() { BackColor = Color.Yellow };
}
private void btnFind_Click(object sender, EventArgs e)
{
StringBuilder sb = new StringBuilder();
string strNameOrMdrecNo = this.textBox1.Text.Trim();
if (!strNameOrMdrecNo.Equals(string.Empty))
{
sb.Append(" (PatientName like '%" + strNameOrMdrecNo + "%' or MdrecNo like '%" + strNameOrMdrecNo + "%')");
}
if (rdFront.Checked)
{
sb.Append(" and [State] in ('已申请','已审核','预排程','已排程','已访视')");
}
else
{
sb.Append(" and [State] in ('手术中','麻醉恢复中','手术结束','麻醉恢复结束')");
}
if (chkIsApply.Checked)
{
sb.Append(" and ApplyTime >= '" + this.dtpBegInDate.Value.ToString("yyyy-MM-dd") + "' ");
sb.Append(" and ApplyTime <= '" + this.dtpEndDate.Value.ToString("yyyy-MM-dd") + "' ");
}
else
{
sb.Append(" and InRoomTime >= '" + this.dtpBegInDate.Value.ToString("yyyy-MM-dd") + "' ");
sb.Append(" and InRoomTime <= '" + this.dtpEndDate.Value.ToString("yyyy-MM-dd") + "' ");
}
dt = DocumentDAL.GetPatients(sb.ToString());
dgv.DataSource = dt;
}
private void dgv_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
}
private void dgv_CellClick(object sender, DataGridViewCellEventArgs e)
{
var rowIndex = e.RowIndex;
if (rowIndex < 0 || rowIndex >= dgv.Rows.Count)
{
return;
}
this.Patient.PatientId = int.Parse(dgv.Rows[rowIndex].Cells["PatientId"].Value.ToString());
//this.Patient.PatientId = int.Parse(dt.Rows[rowIndex]["PatientId"].ToString());
this.Patient.ApplyId = int.Parse(dgv.Rows[rowIndex].Cells["ApplyId"].Value.ToString());
this.Patient.MdrecNo = dgv.Rows[rowIndex].Cells["MdrecNoColumn"].Value.ToString();
this.Patient.ArchivesNo = dgv.Rows[rowIndex].Cells["ArchivesNoColumn"].Value.ToString();
this.Patient.PatientName = dgv.Rows[rowIndex].Cells["PatientNameColumn"].Value.ToString();
this.Patient.PatientName1 = dgv.Rows[rowIndex].Cells["PatientNameColumn"].Value.ToString();
this.Patient.PatientKind = dt.Rows[rowIndex]["PatientKind"].ToString();
this.Patient.Sex = dgv.Rows[rowIndex].Cells["SexColumn"].Value.ToString();
this.Patient.ApplyDepName = dt.Rows[rowIndex]["ApplyDepName"].ToString();
this.Patient.BirthDay = dt.Rows[rowIndex]["BirthDay"].ToString();
this.Patient.Age = dt.Rows[rowIndex]["Age"].ToString();
this.Patient.Height = dt.Rows[rowIndex]["Height"].ToString();
this.Patient.Weight = dt.Rows[rowIndex]["Weight"].ToString();
this.Patient.BloodType = dt.Rows[rowIndex]["BloodType"].ToString();
this.Patient.SickBed = dt.Rows[rowIndex]["SickBed"].ToString();
this.Patient.OperationType = dt.Rows[rowIndex]["OperationType"].ToString();
this.Patient.OrderOperationTime = dt.Rows[rowIndex]["OrderOperationTime"].ToString();
this.Patient.OperationTimeLeight = dt.Rows[rowIndex]["OperationTimeLeight"].ToString();
this.Patient.IsReturnOperation = dt.Rows[rowIndex]["IsReturnOperation"].ToString();
this.Patient.IsPlanReturnOperation = dt.Rows[rowIndex]["IsPlanReturnOperation"].ToString();
this.Patient.ApplyDiagnoseInfoName = dt.Rows[rowIndex]["ApplyDiagnoseInfoName"].ToString();
this.Patient.DiagnoseRemark = dt.Rows[rowIndex]["DiagnoseRemark"].ToString();
this.Patient.ApplyOperationInfoName = dt.Rows[rowIndex]["ApplyOperationInfoName"].ToString();
this.Patient.OperationRemark = dt.Rows[rowIndex]["OperationRemark"].ToString();
this.Patient.ApplyOperationLevelName = dt.Rows[rowIndex]["ApplyOperationLevelName"].ToString();
this.Patient.ApplyOperationCutTypeName = dt.Rows[rowIndex]["ApplyOperationCutTypeName"].ToString();
this.Patient.ApplyOperationPositionName = dt.Rows[rowIndex]["ApplyOperationPositionName"].ToString();
this.Patient.ApplyAnaesthesiaMethodName = dt.Rows[rowIndex]["ApplyAnaesthesiaMethodName"].ToString();
this.Patient.Contagion = dt.Rows[rowIndex]["Contagion"].ToString();
this.Patient.ApplyOperationDoctor = dt.Rows[rowIndex]["ApplyOperationDoctor"].ToString();
this.Patient.Assistant1 = dt.Rows[rowIndex]["Assistant1"].ToString();
this.Patient.Assistant2 = dt.Rows[rowIndex]["Assistant2"].ToString();
this.Patient.Assistant3 = dt.Rows[rowIndex]["Assistant3"].ToString();
this.Patient.Intern = dt.Rows[rowIndex]["Intern"].ToString();
this.Patient.Other = dt.Rows[rowIndex]["Other"].ToString();
this.Patient.ApplyTime = dt.Rows[rowIndex]["ApplyTime"].ToString();
this.Patient.ApplyOperatorName = dt.Rows[rowIndex]["ApplyOperatorName"].ToString();
this.Patient.VerifyOperatorName = dt.Rows[rowIndex]["VerifyOperatorName"].ToString();
this.Patient.PlanOperationTime = dt.Rows[rowIndex]["PlanOperationTime"].ToString();
this.Patient.OperationRoomId = dt.Rows[rowIndex]["OperationRoomId"].ToString();
this.Patient.OperationRoom = dt.Rows[rowIndex]["OperationRoom"].ToString();
this.Patient.PlanOrder = dt.Rows[rowIndex]["PlanOrder"].ToString();
this.Patient.ApplyAnesthesiaDoctor = dt.Rows[rowIndex]["ApplyAnesthesiaDoctor"].ToString();
this.Patient.InstrumentNurse = dt.Rows[rowIndex]["InstrumentNurse"].ToString();
this.Patient.TourNurse = dt.Rows[rowIndex]["TourNurse"].ToString();
this.Patient.AnesthesiaDoctorSucceed = dt.Rows[rowIndex]["AnesthesiaDoctorSucceed"].ToString();
this.Patient.InstrumentNurseSucceed = dt.Rows[rowIndex]["InstrumentNurseSucceed"].ToString();
this.Patient.TourNurseSucceed = dt.Rows[rowIndex]["TourNurseSucceed"].ToString();
this.Patient.ASA = dt.Rows[rowIndex]["ASA"].ToString();
this.Patient.HeartFunctionLevel = dt.Rows[rowIndex]["HeartFunctionLevel"].ToString();
this.Patient.IsFasting = dt.Rows[rowIndex]["IsFasting"].ToString();
this.Patient.State = dt.Rows[rowIndex]["State"].ToString();
this.Patient.InRoomTime = dt.Rows[rowIndex]["InRoomTime"].ToString();
this.Patient.OutRoomTime = dt.Rows[rowIndex]["OutRoomTime"].ToString();
this.Patient.OperationBeginTime = dt.Rows[rowIndex]["OperationBeginTime"].ToString();
this.Patient.OperationEndTime = dt.Rows[rowIndex]["OperationEndTime"].ToString();
this.Patient.OperationLevelName = dt.Rows[rowIndex]["OperationLevelName"].ToString();
this.Patient.OpeAfterMode = dt.Rows[rowIndex]["OpeAfterMode"].ToString();
this.Patient.SpecialSituation = dt.Rows[rowIndex]["SpecialSituation"].ToString();
this.Patient.PunctureBodyPosition = dt.Rows[rowIndex]["PunctureBodyPosition"].ToString();
this.Patient.PuncturePosition = dt.Rows[rowIndex]["PuncturePosition"].ToString();
this.Patient.CatheterDepth = dt.Rows[rowIndex]["CatheterDepth"].ToString();
this.Patient.NeedleSize = dt.Rows[rowIndex]["NeedleSize"].ToString();
this.Patient.NeedleDirection = dt.Rows[rowIndex]["NeedleDirection"].ToString();
this.Patient.AnaesthesiaPlane = dt.Rows[rowIndex]["AnaesthesiaPlane"].ToString();
this.Patient.AnaesthesiaEffect = dt.Rows[rowIndex]["AnaesthesiaEffect"].ToString();
this.Patient.DiagnoseInfoName = dt.Rows[rowIndex]["DiagnoseInfoName"].ToString();
this.Patient.OperationInfoName = dt.Rows[rowIndex]["OperationInfoName"].ToString();
this.Patient.AnaesthesiaMethodName = dt.Rows[rowIndex]["AnaesthesiaMethodName"].ToString();
this.Patient.OperationCutTypeName = dt.Rows[rowIndex]["OperationCutTypeName"].ToString();
this.Patient.OperationBodyPositionName = dt.Rows[rowIndex]["OperationBodyPositionName"].ToString();
this.Patient.OperationPositionName = dt.Rows[rowIndex]["OperationPositionName"].ToString();
this.Patient.OperationDoctor = dt.Rows[rowIndex]["OperationDoctor"].ToString();
this.Patient.Assistant = dt.Rows[rowIndex]["Assistant"].ToString();
this.Patient.AnesthesiaDoctor = dt.Rows[rowIndex]["AnesthesiaDoctor"].ToString();
this.Patient.Nurse = dt.Rows[rowIndex]["Nurse"].ToString();
this.Patient.Illdistrict = dt.Rows[rowIndex]["Illdistrict"].ToString();
this.Patient.Remarks = dt.Rows[rowIndex]["Remarks"].ToString();
this.Patient.SysDate = dt.Rows[rowIndex]["SysDate"].ToString();
this.Close();
}
private void chkIsApply_CheckedChanged(object sender, EventArgs e)
{
if (chkIsApply.Checked)
{
groupBox3.Text = "申请时间";
}
else
{
groupBox3.Text = "手术时间";
}
}
private void frmSelectPatient_Load(object sender, EventArgs e)
{
}
}
/// <summary>
/// V_OperationRecordALL
/// </summary>
public class PatientRecord
{
public int PatientId { get; set; }
public int ApplyId { get; set; }
public String MdrecNo { get; set; }
public String ArchivesNo { get; set; }
public String PatientName { get; set; }
public String PatientName1 { get; set; }
public String ApplyDepName { get; set; }
public String PatientKind { get; set; }
public String Sex { get; set; }
public String BirthDay { get; set; }
public String Age { get; set; }
public String Height { get; set; }
public String Weight { get; set; }
public String BloodType { get; set; }
public String RHBloodType { get; set; }
public String SickBed { get; set; }
public String OperationType { get; set; }
public String OrderOperationTime { get; set; }
public String OperationTimeLeight { get; set; }
public String IsReturnOperation { get; set; }
public String IsPlanReturnOperation { get; set; }
public String ApplyDiagnoseInfoName { get; set; }
public String DiagnoseRemark { get; set; }
public String ApplyOperationInfoName { get; set; }
public String OperationRemark { get; set; }
public String ApplyOperationLevelName { get; set; }
public String ApplyOperationCutTypeName { get; set; }
public String ApplyOperationPositionName { get; set; }
public String ApplyAnaesthesiaMethodName { get; set; }
public String Contagion { get; set; }
public String ApplyOperationDoctor { get; set; }
public String Assistant1 { get; set; }
public String Assistant2 { get; set; }
public String Assistant3 { get; set; }
public String Intern { get; set; }
public String Other { get; set; }
public String ApplyTime { get; set; }
public String ApplyOperatorName { get; set; }
public String VerifyTime { get; set; }
public String VerifyOperatorName { get; set; }
public String PlanOperationTime { get; set; }
public String OperationRoomId { get; set; }
public String OperationRoom { get; set; }
public String PlanOrder { get; set; }
public String ApplyAnesthesiaDoctor { get; set; }
public String InstrumentNurse { get; set; }
public String TourNurse { get; set; }
public String AnesthesiaDoctorSucceed { get; set; }
public String InstrumentNurseSucceed { get; set; }
public String TourNurseSucceed { get; set; }
public String ASA { get; set; }
public String HeartFunctionLevel { get; set; }
public String IsFasting { get; set; }
public String State { get; set; }
public String InRoomTime { get; set; }
public String OutRoomTime { get; set; }
public String OperationBeginTime { get; set; }
public String OperationEndTime { get; set; }
public String OperationLevelName { get; set; }
public String OpeAfterMode { get; set; }
public String SpecialSituation { get; set; }
public String PunctureBodyPosition { get; set; }
public String PuncturePosition { get; set; }
public String CatheterDepth { get; set; }
public String NeedleSize { get; set; }
public String NeedleDirection { get; set; }
public String AnaesthesiaPlane { get; set; }
public String AnaesthesiaEffect { get; set; }
public String DiagnoseInfoName { get; set; }
public String OperationInfoName { get; set; }
public String AnaesthesiaMethodName { get; set; }
public String OperationCutTypeName { get; set; }
public String OperationBodyPositionName { get; set; }
public String OperationPositionName { get; set; }
public String OperationDoctor { get; set; }
public String Assistant { get; set; }
public String AnesthesiaDoctor { get; set; }
public String Nurse { get; set; }
public String Illdistrict { get; set; }
public String Remarks { get; set; }
public String SysDate { get; set; }
public String SysTime { get; set; }
public String OpeTime { get; set; }
public String MedicalRecord { get; set; }
public static PatientRecord GetPatientRecord(int patientId)
{
PatientRecord patient = new PatientRecord();
#region
DataTable dt = DocumentManagement.DocumentDAL.GetPatient(patientId);
if (dt.Rows.Count > 0)
{
patient.PatientId = int.Parse(dt.Rows[0]["PatientId"].ToString());
//patient.PatientId = int.Parse(dt.Rows[0]["PatientId"].ToString());
patient.ApplyId = int.Parse(dt.Rows[0]["ApplyId"].ToString());
patient.MdrecNo = dt.Rows[0]["MdrecNo"].ToString();
patient.ArchivesNo = dt.Rows[0]["ArchivesNo"].ToString();
patient.PatientName = dt.Rows[0]["PatientName"].ToString();
patient.PatientName1 = dt.Rows[0]["PatientName"].ToString();
patient.PatientKind = dt.Rows[0]["PatientKind"].ToString();
patient.Sex = dt.Rows[0]["Sex"].ToString();
patient.ApplyDepName = dt.Rows[0]["ApplyDepName"].ToString();
patient.Age = dt.Rows[0]["Age"].ToString();
patient.BirthDay = dt.Rows[0]["BirthDay"].ToString();
patient.Height = dt.Rows[0]["Height"].ToString();
patient.Weight = dt.Rows[0]["Weight"].ToString();
patient.BloodType = dt.Rows[0]["BloodType"].ToString();
patient.SickBed = dt.Rows[0]["SickBed"].ToString();
patient.OperationType = dt.Rows[0]["OperationType"].ToString();
patient.OrderOperationTime = dt.Rows[0]["OrderOperationTime"].ToString();
patient.OperationTimeLeight = dt.Rows[0]["OperationTimeLeight"].ToString();
patient.IsReturnOperation = dt.Rows[0]["IsReturnOperation"].ToString();
patient.IsPlanReturnOperation = dt.Rows[0]["IsPlanReturnOperation"].ToString();
patient.ApplyDiagnoseInfoName = dt.Rows[0]["ApplyDiagnoseInfoName"].ToString();
patient.DiagnoseRemark = dt.Rows[0]["DiagnoseRemark"].ToString();
patient.ApplyOperationInfoName = dt.Rows[0]["ApplyOperationInfoName"].ToString();
patient.OperationRemark = dt.Rows[0]["OperationRemark"].ToString();
patient.ApplyOperationLevelName = dt.Rows[0]["ApplyOperationLevelName"].ToString();
patient.ApplyOperationCutTypeName = dt.Rows[0]["ApplyOperationCutTypeName"].ToString();
patient.ApplyOperationPositionName = dt.Rows[0]["ApplyOperationPositionName"].ToString();
patient.ApplyAnaesthesiaMethodName = dt.Rows[0]["ApplyAnaesthesiaMethodName"].ToString();
patient.Contagion = dt.Rows[0]["Contagion"].ToString();
patient.ApplyOperationDoctor = dt.Rows[0]["ApplyOperationDoctor"].ToString();
patient.Assistant1 = dt.Rows[0]["Assistant1"].ToString();
patient.Assistant2 = dt.Rows[0]["Assistant2"].ToString();
patient.Assistant3 = dt.Rows[0]["Assistant3"].ToString();
patient.Intern = dt.Rows[0]["Intern"].ToString();
patient.Other = dt.Rows[0]["Other"].ToString();
patient.ApplyTime = dt.Rows[0]["ApplyTime"].ToString();
patient.ApplyOperatorName = dt.Rows[0]["ApplyOperatorName"].ToString();
patient.VerifyOperatorName = dt.Rows[0]["VerifyOperatorName"].ToString();
patient.PlanOperationTime = dt.Rows[0]["PlanOperationTime"].ToString();
patient.OperationRoomId = dt.Rows[0]["OperationRoomId"].ToString();
patient.OperationRoom = dt.Rows[0]["OperationRoom"].ToString();
patient.PlanOrder = dt.Rows[0]["PlanOrder"].ToString();
patient.ApplyAnesthesiaDoctor = dt.Rows[0]["ApplyAnesthesiaDoctor"].ToString();
patient.InstrumentNurse = dt.Rows[0]["InstrumentNurse"].ToString();
patient.TourNurse = dt.Rows[0]["TourNurse"].ToString();
patient.AnesthesiaDoctorSucceed = dt.Rows[0]["AnesthesiaDoctorSucceed"].ToString();
patient.InstrumentNurseSucceed = dt.Rows[0]["InstrumentNurseSucceed"].ToString();
patient.TourNurseSucceed = dt.Rows[0]["TourNurseSucceed"].ToString();
patient.ASA = dt.Rows[0]["ASA"].ToString();
patient.HeartFunctionLevel = dt.Rows[0]["HeartFunctionLevel"].ToString();
patient.IsFasting = dt.Rows[0]["IsFasting"].ToString();
patient.State = dt.Rows[0]["State"].ToString();
patient.InRoomTime = dt.Rows[0]["InRoomTime"].ToString();
patient.OutRoomTime = dt.Rows[0]["OutRoomTime"].ToString();
patient.OperationBeginTime = dt.Rows[0]["OperationBeginTime"].ToString();
patient.OperationEndTime = dt.Rows[0]["OperationEndTime"].ToString();
patient.OperationLevelName = dt.Rows[0]["OperationLevelName"].ToString();
patient.OpeAfterMode = dt.Rows[0]["OpeAfterMode"].ToString();
patient.SpecialSituation = dt.Rows[0]["SpecialSituation"].ToString();
patient.PunctureBodyPosition = dt.Rows[0]["PunctureBodyPosition"].ToString();
patient.PuncturePosition = dt.Rows[0]["PuncturePosition"].ToString();
patient.CatheterDepth = dt.Rows[0]["CatheterDepth"].ToString();
patient.NeedleSize = dt.Rows[0]["NeedleSize"].ToString();
patient.NeedleDirection = dt.Rows[0]["NeedleDirection"].ToString();
patient.AnaesthesiaPlane = dt.Rows[0]["AnaesthesiaPlane"].ToString();
patient.AnaesthesiaEffect = dt.Rows[0]["AnaesthesiaEffect"].ToString();
patient.DiagnoseInfoName = dt.Rows[0]["DiagnoseInfoName"].ToString();
patient.OperationInfoName = dt.Rows[0]["OperationInfoName"].ToString();
patient.AnaesthesiaMethodName = dt.Rows[0]["AnaesthesiaMethodName"].ToString();
patient.OperationCutTypeName = dt.Rows[0]["OperationCutTypeName"].ToString();
patient.OperationBodyPositionName = dt.Rows[0]["OperationBodyPositionName"].ToString();
patient.OperationPositionName = dt.Rows[0]["OperationPositionName"].ToString();
patient.OperationDoctor = dt.Rows[0]["OperationDoctor"].ToString();
patient.Assistant = dt.Rows[0]["Assistant"].ToString();
patient.AnesthesiaDoctor = dt.Rows[0]["AnesthesiaDoctor"].ToString();
patient.Nurse = dt.Rows[0]["Nurse"].ToString();
patient.Illdistrict = dt.Rows[0]["Illdistrict"].ToString();
patient.Remarks = dt.Rows[0]["Remarks"].ToString();
patient.SysDate = dt.Rows[0]["SysDate"].ToString();
patient.SysTime = dt.Rows[0]["SysTime"].ToString();
patient.OpeTime = dt.Rows[0]["OpeTime"].ToString();
patient.MedicalRecord = dt.Rows[0]["MedicalRecord"].ToString();
}
#endregion
return patient;
}
}
}

View File

@ -1,165 +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="PatientId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ApplyId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ArchivesNoColumn.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="SickBedColumn.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="OperationRoomColumn.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="ApplyTimeColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="OperationBeginTimeColumn.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="OperationInfoNameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="StateColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>

View File

@ -7,6 +7,7 @@ using AIMSExtension;
using AIMSModel;
using DevComponents.Editors.DateTimeAdv;
using DrawGraph;
using KHD_OREMRInterface;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
@ -2058,7 +2059,11 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
private void btnsjzx_Click(object sender, EventArgs e)
{
MessageBox.Show("未连接到服务器 请联系管理员或稍后再试!", "系统提示");
//MessageBox.Show("未连接到服务器 请联系管理员或稍后再试!", "系统提示");
frmLISResult lISResult = new frmLISResult();
lISResult.PatientNo = _record.InHospitalNo;
lISResult.Show();
}
private void btnqxqd_Click(object sender, EventArgs e)
{

View File

@ -0,0 +1,41 @@
using DocumentManagement;
using System;
using System.Data;
using System.Windows.Forms;
using System.Xml;
namespace KHD_OREMRInterface
{
public partial class frmLISResult : Form
{
public string PatientNo;
public frmLISResult()
{
InitializeComponent();
dgvType.AutoGenerateColumns = false;
}
private void frmLISInspectionReport_Load(object sender, EventArgs e)
{
dgvItems.AutoGenerateColumns = false;
DataTable lisdate = DocumentDAL.GetLisResultNos(PatientNo);
foreach (DataRow row in lisdate.Rows)
{
int index = this.dgvType.Rows.Add();
this.dgvType.Rows[index].Cells[0].Value = row[0].ToString();
this.dgvType.Rows[index].Cells[1].Value = row[1].ToString();
this.dgvType.Rows[index].Cells[2].Value = row[2].ToString();
}
}
private void dgvType_CellClick(object sender, DataGridViewCellEventArgs e)
{
if (!(dgvType.SelectedRows.Count > 0)) return;
string lisBillNo = dgvType.SelectedRows[0].Cells[0].Value.ToString();
DataTable lisdate = DocumentDAL.GetLisResultItems(PatientNo,lisBillNo);
dgvItems.DataSource = lisdate;
}
}
}

View File

@ -0,0 +1,610 @@
namespace KHD_OREMRInterface
{
partial class frmLISResult
{
/// <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 dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = 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 dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = 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 dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = 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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmLISResult));
this.panel1 = new System.Windows.Forms.Panel();
this.dgvItems = new DevComponents.DotNetBar.Controls.DataGridViewX();
this.dgvType = new DevComponents.DotNetBar.Controls.DataGridViewX();
this.lblRemark = 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.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.item_code = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.item_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.result = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.reference = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.value_unit = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.report_time = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.report_person = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ItemId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ItemName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.UpdateTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvItems)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dgvType)).BeginInit();
this.SuspendLayout();
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.White;
this.panel1.Controls.Add(this.dgvItems);
this.panel1.Controls.Add(this.dgvType);
this.panel1.Controls.Add(this.lblRemark);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(961, 561);
this.panel1.TabIndex = 0;
//
// dgvItems
//
this.dgvItems.AllowUserToAddRows = false;
this.dgvItems.AllowUserToDeleteRows = false;
this.dgvItems.BackgroundColor = System.Drawing.Color.White;
this.dgvItems.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.dgvItems.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None;
this.dgvItems.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvItems.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.item_code,
this.item_name,
this.result,
this.reference,
this.value_unit,
this.report_time,
this.report_person});
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvItems.DefaultCellStyle = dataGridViewCellStyle1;
this.dgvItems.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvItems.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
this.dgvItems.Location = new System.Drawing.Point(240, 0);
this.dgvItems.Name = "dgvItems";
this.dgvItems.RowHeadersVisible = false;
this.dgvItems.RowTemplate.Height = 23;
this.dgvItems.Size = new System.Drawing.Size(721, 561);
this.dgvItems.TabIndex = 7;
//
// dgvType
//
this.dgvType.AllowUserToAddRows = false;
this.dgvType.AllowUserToDeleteRows = false;
this.dgvType.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.dgvType.BackgroundColor = System.Drawing.Color.White;
this.dgvType.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.dgvType.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None;
this.dgvType.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvType.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.ItemId,
this.ItemName,
this.UpdateTime});
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvType.DefaultCellStyle = dataGridViewCellStyle2;
this.dgvType.Dock = System.Windows.Forms.DockStyle.Left;
this.dgvType.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
this.dgvType.Location = new System.Drawing.Point(0, 0);
this.dgvType.Name = "dgvType";
this.dgvType.ReadOnly = true;
this.dgvType.RowHeadersVisible = false;
this.dgvType.RowTemplate.Height = 23;
this.dgvType.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvType.Size = new System.Drawing.Size(240, 561);
this.dgvType.TabIndex = 6;
this.dgvType.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvType_CellClick);
//
// lblRemark
//
this.lblRemark.AutoSize = true;
this.lblRemark.Location = new System.Drawing.Point(116, 109);
this.lblRemark.Name = "lblRemark";
this.lblRemark.Size = new System.Drawing.Size(13, 20);
this.lblRemark.TabIndex = 2;
this.lblRemark.Text = " ";
//
// dataGridViewTextBoxColumn1
//
this.dataGridViewTextBoxColumn1.DataPropertyName = "Index";
dataGridViewCellStyle3.BackColor = System.Drawing.Color.PaleTurquoise;
this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle3;
this.dataGridViewTextBoxColumn1.HeaderText = "序";
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
this.dataGridViewTextBoxColumn1.ReadOnly = true;
this.dataGridViewTextBoxColumn1.Visible = false;
this.dataGridViewTextBoxColumn1.Width = 40;
//
// dataGridViewTextBoxColumn2
//
this.dataGridViewTextBoxColumn2.DataPropertyName = "检验日期";
dataGridViewCellStyle4.BackColor = System.Drawing.Color.PaleTurquoise;
this.dataGridViewTextBoxColumn2.DefaultCellStyle = dataGridViewCellStyle4;
this.dataGridViewTextBoxColumn2.HeaderText = "检验日期";
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
this.dataGridViewTextBoxColumn2.ReadOnly = true;
this.dataGridViewTextBoxColumn2.Visible = false;
this.dataGridViewTextBoxColumn2.Width = 119;
//
// dataGridViewTextBoxColumn3
//
this.dataGridViewTextBoxColumn3.DataPropertyName = "样本类型";
dataGridViewCellStyle5.BackColor = System.Drawing.Color.PaleTurquoise;
this.dataGridViewTextBoxColumn3.DefaultCellStyle = dataGridViewCellStyle5;
this.dataGridViewTextBoxColumn3.HeaderText = "样本";
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
this.dataGridViewTextBoxColumn3.ReadOnly = true;
this.dataGridViewTextBoxColumn3.Visible = false;
this.dataGridViewTextBoxColumn3.Width = 80;
//
// dataGridViewTextBoxColumn4
//
this.dataGridViewTextBoxColumn4.DataPropertyName = "项目名称";
dataGridViewCellStyle6.BackColor = System.Drawing.Color.PaleTurquoise;
this.dataGridViewTextBoxColumn4.DefaultCellStyle = dataGridViewCellStyle6;
this.dataGridViewTextBoxColumn4.HeaderText = "项目名称";
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
this.dataGridViewTextBoxColumn4.ReadOnly = true;
this.dataGridViewTextBoxColumn4.Visible = false;
this.dataGridViewTextBoxColumn4.Width = 205;
//
// dataGridViewTextBoxColumn5
//
this.dataGridViewTextBoxColumn5.DataPropertyName = "检验结果";
dataGridViewCellStyle7.BackColor = System.Drawing.Color.PaleTurquoise;
this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle7;
this.dataGridViewTextBoxColumn5.HeaderText = "结果";
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
this.dataGridViewTextBoxColumn5.ReadOnly = true;
this.dataGridViewTextBoxColumn5.Visible = false;
this.dataGridViewTextBoxColumn5.Width = 90;
//
// dataGridViewTextBoxColumn6
//
this.dataGridViewTextBoxColumn6.DataPropertyName = "单位";
dataGridViewCellStyle8.BackColor = System.Drawing.Color.PaleTurquoise;
this.dataGridViewTextBoxColumn6.DefaultCellStyle = dataGridViewCellStyle8;
this.dataGridViewTextBoxColumn6.HeaderText = "单位";
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
this.dataGridViewTextBoxColumn6.ReadOnly = true;
this.dataGridViewTextBoxColumn6.Visible = false;
this.dataGridViewTextBoxColumn6.Width = 60;
//
// dataGridViewTextBoxColumn7
//
this.dataGridViewTextBoxColumn7.DataPropertyName = "标志";
dataGridViewCellStyle9.BackColor = System.Drawing.Color.PaleTurquoise;
this.dataGridViewTextBoxColumn7.DefaultCellStyle = dataGridViewCellStyle9;
this.dataGridViewTextBoxColumn7.HeaderText = "标志";
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
this.dataGridViewTextBoxColumn7.ReadOnly = true;
this.dataGridViewTextBoxColumn7.Width = 60;
//
// dataGridViewTextBoxColumn8
//
this.dataGridViewTextBoxColumn8.DataPropertyName = "参考值";
dataGridViewCellStyle10.BackColor = System.Drawing.Color.PaleTurquoise;
this.dataGridViewTextBoxColumn8.DefaultCellStyle = dataGridViewCellStyle10;
this.dataGridViewTextBoxColumn8.HeaderText = "参考值";
this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
this.dataGridViewTextBoxColumn8.ReadOnly = true;
this.dataGridViewTextBoxColumn8.Visible = false;
this.dataGridViewTextBoxColumn8.Width = 119;
//
// dataGridViewTextBoxColumn9
//
this.dataGridViewTextBoxColumn9.DataPropertyName = "result_type";
dataGridViewCellStyle11.BackColor = System.Drawing.Color.PaleTurquoise;
this.dataGridViewTextBoxColumn9.DefaultCellStyle = dataGridViewCellStyle11;
this.dataGridViewTextBoxColumn9.HeaderText = "结果值类型";
this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
this.dataGridViewTextBoxColumn9.ReadOnly = true;
this.dataGridViewTextBoxColumn9.Width = 119;
//
// dataGridViewTextBoxColumn10
//
this.dataGridViewTextBoxColumn10.DataPropertyName = "result_tips";
dataGridViewCellStyle12.BackColor = System.Drawing.Color.PaleTurquoise;
this.dataGridViewTextBoxColumn10.DefaultCellStyle = dataGridViewCellStyle12;
this.dataGridViewTextBoxColumn10.HeaderText = "结果值标识";
this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10";
this.dataGridViewTextBoxColumn10.ReadOnly = true;
this.dataGridViewTextBoxColumn10.Width = 119;
//
// item_code
//
this.item_code.DataPropertyName = "LIS_ITEM_NO";
this.item_code.HeaderText = "项目ID";
this.item_code.Name = "item_code";
//
// item_name
//
this.item_name.DataPropertyName = "LIS_ITEM_NAME";
this.item_name.HeaderText = "项目名称";
this.item_name.Name = "item_name";
//
// result
//
this.result.DataPropertyName = "LIS_ITEM_VALUE";
this.result.HeaderText = "项目参考值";
this.result.Name = "result";
//
// reference
//
this.reference.DataPropertyName = "LIS_ITEM_BZ";
this.reference.HeaderText = "参考值";
this.reference.Name = "reference";
//
// value_unit
//
this.value_unit.DataPropertyName = "LIS_ITEM_UNIT";
this.value_unit.HeaderText = "单位";
this.value_unit.Name = "value_unit";
//
// report_time
//
this.report_time.DataPropertyName = "UpdateTime";
this.report_time.HeaderText = "报告时间";
this.report_time.Name = "report_time";
//
// report_person
//
this.report_person.DataPropertyName = "LIS_ITEM_OPERATOR";
this.report_person.HeaderText = "报告人";
this.report_person.Name = "report_person";
//
// dataGridViewTextBoxColumn11
//
this.dataGridViewTextBoxColumn11.DataPropertyName = "reference";
dataGridViewCellStyle13.BackColor = System.Drawing.Color.PaleTurquoise;
this.dataGridViewTextBoxColumn11.DefaultCellStyle = dataGridViewCellStyle13;
this.dataGridViewTextBoxColumn11.HeaderText = "参考值";
this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11";
this.dataGridViewTextBoxColumn11.ReadOnly = true;
//
// dataGridViewTextBoxColumn12
//
this.dataGridViewTextBoxColumn12.DataPropertyName = "value_unit";
dataGridViewCellStyle14.BackColor = System.Drawing.Color.PaleTurquoise;
this.dataGridViewTextBoxColumn12.DefaultCellStyle = dataGridViewCellStyle14;
this.dataGridViewTextBoxColumn12.HeaderText = "单位";
this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12";
this.dataGridViewTextBoxColumn12.ReadOnly = true;
this.dataGridViewTextBoxColumn12.Visible = false;
//
// dataGridViewTextBoxColumn13
//
this.dataGridViewTextBoxColumn13.DataPropertyName = "value_min";
dataGridViewCellStyle15.BackColor = System.Drawing.Color.PaleTurquoise;
this.dataGridViewTextBoxColumn13.DefaultCellStyle = dataGridViewCellStyle15;
this.dataGridViewTextBoxColumn13.HeaderText = "最小值";
this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13";
this.dataGridViewTextBoxColumn13.ReadOnly = true;
this.dataGridViewTextBoxColumn13.Visible = false;
//
// dataGridViewTextBoxColumn14
//
this.dataGridViewTextBoxColumn14.DataPropertyName = "value_max";
dataGridViewCellStyle16.BackColor = System.Drawing.Color.PaleTurquoise;
this.dataGridViewTextBoxColumn14.DefaultCellStyle = dataGridViewCellStyle16;
this.dataGridViewTextBoxColumn14.HeaderText = "最大值";
this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14";
this.dataGridViewTextBoxColumn14.ReadOnly = true;
this.dataGridViewTextBoxColumn14.Visible = false;
//
// dataGridViewTextBoxColumn15
//
this.dataGridViewTextBoxColumn15.DataPropertyName = "req_id";
dataGridViewCellStyle17.BackColor = System.Drawing.Color.PaleTurquoise;
this.dataGridViewTextBoxColumn15.DefaultCellStyle = dataGridViewCellStyle17;
this.dataGridViewTextBoxColumn15.HeaderText = "申请单号";
this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15";
this.dataGridViewTextBoxColumn15.ReadOnly = true;
this.dataGridViewTextBoxColumn15.Visible = false;
//
// dataGridViewTextBoxColumn16
//
this.dataGridViewTextBoxColumn16.DataPropertyName = "req_name";
dataGridViewCellStyle18.BackColor = System.Drawing.Color.PaleTurquoise;
this.dataGridViewTextBoxColumn16.DefaultCellStyle = dataGridViewCellStyle18;
this.dataGridViewTextBoxColumn16.HeaderText = "申请单名称";
this.dataGridViewTextBoxColumn16.Name = "dataGridViewTextBoxColumn16";
this.dataGridViewTextBoxColumn16.ReadOnly = true;
this.dataGridViewTextBoxColumn16.Visible = false;
//
// dataGridViewTextBoxColumn17
//
this.dataGridViewTextBoxColumn17.DataPropertyName = "req_time";
dataGridViewCellStyle19.BackColor = System.Drawing.Color.PaleTurquoise;
this.dataGridViewTextBoxColumn17.DefaultCellStyle = dataGridViewCellStyle19;
this.dataGridViewTextBoxColumn17.HeaderText = "申请单时间";
this.dataGridViewTextBoxColumn17.Name = "dataGridViewTextBoxColumn17";
this.dataGridViewTextBoxColumn17.ReadOnly = true;
this.dataGridViewTextBoxColumn17.Visible = false;
//
// dataGridViewTextBoxColumn18
//
this.dataGridViewTextBoxColumn18.DataPropertyName = "req_person";
dataGridViewCellStyle20.BackColor = System.Drawing.Color.PaleTurquoise;
this.dataGridViewTextBoxColumn18.DefaultCellStyle = dataGridViewCellStyle20;
this.dataGridViewTextBoxColumn18.HeaderText = "申请人";
this.dataGridViewTextBoxColumn18.Name = "dataGridViewTextBoxColumn18";
this.dataGridViewTextBoxColumn18.ReadOnly = true;
this.dataGridViewTextBoxColumn18.Visible = false;
//
// dataGridViewTextBoxColumn19
//
this.dataGridViewTextBoxColumn19.DataPropertyName = "req_dept";
dataGridViewCellStyle21.BackColor = System.Drawing.Color.PaleTurquoise;
this.dataGridViewTextBoxColumn19.DefaultCellStyle = dataGridViewCellStyle21;
this.dataGridViewTextBoxColumn19.HeaderText = "申请科室";
this.dataGridViewTextBoxColumn19.Name = "dataGridViewTextBoxColumn19";
this.dataGridViewTextBoxColumn19.ReadOnly = true;
//
// dataGridViewTextBoxColumn20
//
this.dataGridViewTextBoxColumn20.DataPropertyName = "sample_code";
dataGridViewCellStyle22.BackColor = System.Drawing.Color.PaleTurquoise;
this.dataGridViewTextBoxColumn20.DefaultCellStyle = dataGridViewCellStyle22;
this.dataGridViewTextBoxColumn20.HeaderText = "样本编码";
this.dataGridViewTextBoxColumn20.Name = "dataGridViewTextBoxColumn20";
this.dataGridViewTextBoxColumn20.ReadOnly = true;
//
// dataGridViewTextBoxColumn21
//
this.dataGridViewTextBoxColumn21.DataPropertyName = "sample_class";
dataGridViewCellStyle23.BackColor = System.Drawing.Color.PaleTurquoise;
this.dataGridViewTextBoxColumn21.DefaultCellStyle = dataGridViewCellStyle23;
this.dataGridViewTextBoxColumn21.HeaderText = "样本名";
this.dataGridViewTextBoxColumn21.Name = "dataGridViewTextBoxColumn21";
this.dataGridViewTextBoxColumn21.ReadOnly = true;
//
// dataGridViewTextBoxColumn22
//
this.dataGridViewTextBoxColumn22.DataPropertyName = "sample_time";
dataGridViewCellStyle24.BackColor = System.Drawing.Color.PaleTurquoise;
this.dataGridViewTextBoxColumn22.DefaultCellStyle = dataGridViewCellStyle24;
this.dataGridViewTextBoxColumn22.HeaderText = "采样日期";
this.dataGridViewTextBoxColumn22.Name = "dataGridViewTextBoxColumn22";
this.dataGridViewTextBoxColumn22.ReadOnly = true;
//
// dataGridViewTextBoxColumn23
//
this.dataGridViewTextBoxColumn23.DataPropertyName = "sample_person";
dataGridViewCellStyle25.BackColor = System.Drawing.Color.PaleTurquoise;
this.dataGridViewTextBoxColumn23.DefaultCellStyle = dataGridViewCellStyle25;
this.dataGridViewTextBoxColumn23.HeaderText = "采样人";
this.dataGridViewTextBoxColumn23.Name = "dataGridViewTextBoxColumn23";
this.dataGridViewTextBoxColumn23.ReadOnly = true;
//
// dataGridViewTextBoxColumn24
//
this.dataGridViewTextBoxColumn24.DataPropertyName = "check_person";
dataGridViewCellStyle26.BackColor = System.Drawing.Color.PaleTurquoise;
this.dataGridViewTextBoxColumn24.DefaultCellStyle = dataGridViewCellStyle26;
this.dataGridViewTextBoxColumn24.HeaderText = "审核人员";
this.dataGridViewTextBoxColumn24.Name = "dataGridViewTextBoxColumn24";
this.dataGridViewTextBoxColumn24.ReadOnly = true;
//
// dataGridViewTextBoxColumn25
//
this.dataGridViewTextBoxColumn25.DataPropertyName = "check_time";
dataGridViewCellStyle27.BackColor = System.Drawing.Color.PaleTurquoise;
this.dataGridViewTextBoxColumn25.DefaultCellStyle = dataGridViewCellStyle27;
this.dataGridViewTextBoxColumn25.HeaderText = "审核时间";
this.dataGridViewTextBoxColumn25.Name = "dataGridViewTextBoxColumn25";
this.dataGridViewTextBoxColumn25.ReadOnly = true;
//
// dataGridViewTextBoxColumn26
//
this.dataGridViewTextBoxColumn26.DataPropertyName = "report_time";
dataGridViewCellStyle28.BackColor = System.Drawing.Color.PaleTurquoise;
this.dataGridViewTextBoxColumn26.DefaultCellStyle = dataGridViewCellStyle28;
this.dataGridViewTextBoxColumn26.HeaderText = "报告时间";
this.dataGridViewTextBoxColumn26.Name = "dataGridViewTextBoxColumn26";
this.dataGridViewTextBoxColumn26.ReadOnly = true;
//
// dataGridViewTextBoxColumn27
//
this.dataGridViewTextBoxColumn27.DataPropertyName = "report_person";
dataGridViewCellStyle29.BackColor = System.Drawing.Color.PaleTurquoise;
this.dataGridViewTextBoxColumn27.DefaultCellStyle = dataGridViewCellStyle29;
this.dataGridViewTextBoxColumn27.HeaderText = "报告人";
this.dataGridViewTextBoxColumn27.Name = "dataGridViewTextBoxColumn27";
this.dataGridViewTextBoxColumn27.ReadOnly = true;
//
// dataGridViewTextBoxColumn28
//
this.dataGridViewTextBoxColumn28.DataPropertyName = "test_mehod";
dataGridViewCellStyle30.BackColor = System.Drawing.Color.PaleTurquoise;
this.dataGridViewTextBoxColumn28.DefaultCellStyle = dataGridViewCellStyle30;
this.dataGridViewTextBoxColumn28.HeaderText = "测试方法";
this.dataGridViewTextBoxColumn28.Name = "dataGridViewTextBoxColumn28";
this.dataGridViewTextBoxColumn28.ReadOnly = true;
//
// dataGridViewTextBoxColumn29
//
this.dataGridViewTextBoxColumn29.DataPropertyName = "remark";
this.dataGridViewTextBoxColumn29.HeaderText = "备注";
this.dataGridViewTextBoxColumn29.Name = "dataGridViewTextBoxColumn29";
//
// ItemId
//
this.ItemId.HeaderText = "项目Id";
this.ItemId.Name = "ItemId";
this.ItemId.ReadOnly = true;
this.ItemId.Visible = false;
//
// ItemName
//
this.ItemName.DataPropertyName = "ITEM_NAME";
this.ItemName.HeaderText = "检验名称";
this.ItemName.Name = "ItemName";
this.ItemName.ReadOnly = true;
//
// UpdateTime
//
this.UpdateTime.HeaderText = "检验时间";
this.UpdateTime.Name = "UpdateTime";
this.UpdateTime.ReadOnly = true;
this.UpdateTime.Visible = false;
//
// frmLISResult
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(961, 561);
this.Controls.Add(this.panel1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "frmLISResult";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "检验报告";
this.Load += new System.EventHandler(this.frmLISInspectionReport_Load);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvItems)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dgvType)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label lblRemark;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
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.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn10;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn11;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn12;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn13;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn14;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn15;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn16;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn17;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn18;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn19;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn20;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn21;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn22;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn23;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn24;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn25;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn26;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn27;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn28;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn29;
private DevComponents.DotNetBar.Controls.DataGridViewX dgvType;
private DevComponents.DotNetBar.Controls.DataGridViewX dgvItems;
private System.Windows.Forms.DataGridViewTextBoxColumn item_code;
private System.Windows.Forms.DataGridViewTextBoxColumn item_name;
private System.Windows.Forms.DataGridViewTextBoxColumn result;
private System.Windows.Forms.DataGridViewTextBoxColumn reference;
private System.Windows.Forms.DataGridViewTextBoxColumn value_unit;
private System.Windows.Forms.DataGridViewTextBoxColumn report_time;
private System.Windows.Forms.DataGridViewTextBoxColumn report_person;
private System.Windows.Forms.DataGridViewTextBoxColumn ItemId;
private System.Windows.Forms.DataGridViewTextBoxColumn ItemName;
private System.Windows.Forms.DataGridViewTextBoxColumn UpdateTime;
}
}

File diff suppressed because it is too large Load Diff

View File

@ -112,7 +112,7 @@ namespace AIMS.OremrUserControl
&& (XTextElement as XTextInputFieldElement).FieldSettings.EditStyle != InputFieldEditStyle.Date
&& (XTextElement as XTextInputFieldElement).FieldSettings.ListSource != null
select XTextElement as XTextInputFieldElement;
DataRow[] dr = DocumentDAL.GetReflectionList().Select("KB_SEQ <> ''");
DataRow[] dr = DocumentDAL.GetReflectionList("V_OperationRecordALL").Select("KB_SEQ <> ''");
var p = typeof(PatientRecord).GetProperties();
for (int i = 0; i < dr.Count(); i++)
{
@ -125,6 +125,23 @@ namespace AIMS.OremrUserControl
element.Text = info.GetValue(Patient, null).ToString();
}
}
if (Patient.LisResult != null && Patient.LisResult.PATIENT_ID != null)
{
DataRow[] drr = DocumentDAL.GetReflectionList("V_LisResult").Select("KB_SEQ <> ''");
var lis = typeof(PatientLisResult).GetProperties();
for (int i = 0; i < drr.Count(); i++)
{
var name = drr[i].ItemArray[0].ToString();
var value = drr[i].ItemArray[1].ToString();
XTextInputFieldElement element = query.Where(x => x.FieldSettings.ListSource.SourceName == value).FirstOrDefault();
PropertyInfo info = lis.Where(px => px.Name == name).FirstOrDefault();
if (element != null && info != null)
{
element.Text = info.GetValue(Patient.LisResult, null).ToString();
}
}
}
}
string xmlStatic = DocumentDAL.GetEventXml(DModel.TemplateId);
if (xmlStatic != string.Empty)

View File

@ -40,7 +40,7 @@ namespace BeginScreen
{
try
{
string sql = "select ApplyDepartmentName 科室,EndemicArea 病区,CONVERT(VARCHAR(16),OperationRoom.Orderby)+'-'+CONVERT(VARCHAR(16),TableIndex) as 术间,case CONVERT(VARCHAR(16), TableIndex) when 1 then '10:00' else '接台' end as 时间,V_PlanedOpe.Name as 姓名,Sex as 性别,BirthDay as 年龄, InHospitalNo as 住院号,Bed as 床号,Diagnose as 术前诊断,operation as 拟施手术,OperationDoctor as 手术者,Assistant1 as 一助,Assistant2 as 二助,Assistant3 as 三助,AnaesthesiaMethodName as 拟施麻醉,AnesthesiaDoctor as 麻醉医生,InstrumentNurse as 洗手,TourNurse as 巡回 from V_PlanedOpe left join OperationRoom on OperationRoom.Id = PlanOperationRoom where " + whereSql + " Order By OperationRoom.OrderBy,TableIndex";
string sql = "select ApplyDepName 科室, CONVERT(VARCHAR(16),OperationRoom.Name )+'-'+CONVERT(VARCHAR(16),PlanOrder ) as 术间,case CONVERT(VARCHAR(16), PlanOrder ) when 1 then '10:00' else '接台' end as 时间,PatientName as 姓名,Sex as 性别,BirthDay as 年龄, MdrecNo as 住院号,SickBed as 床号,ApplyDiagnoseInfoName as 术前诊断,ApplyOperationInfoName as 拟施手术,OperationDoctor as 手术者,Assistant1 as 一助,Assistant2 as 二助,Assistant3 as 三助,AnaesthesiaMethodName as 拟施麻醉,AnesthesiaDoctor as 麻醉医生,InstrumentNurse as 洗手,TourNurse as 巡回 from [dbo].[V_OperationFront] left join OperationRoom on OperationRoom.Id = OperationRoomId where " + whereSql + " Order By OperationRoom.Id,PlanOrder" ;
return DBHelper.GetDataTable(sql);
}
catch (Exception)
@ -260,7 +260,7 @@ namespace BeginScreen
/// <returns></returns>
public static DataTable GetDepartments()
{
string sql = "SELECT Id,Name,Name+'('+HCode+')' as NameHCode FROM Departments where IsValid=1";
string sql = "SELECT Id,Name,Name+'('+HelpCode+')' as NameHCode FROM Department where IsValid=1";
return DBHelper.GetDataTable(sql);
}
@ -270,7 +270,7 @@ namespace BeginScreen
/// <returns></returns>
public static DataTable GetWorkers()
{
string sql = "select Id,Name,Name+'('+WorkNo+')'+'('+HCode+')' as NameHCode FROM Workers where IsValid = 1";
string sql = "select top 20 Id,Name,Name+'('+No+')'+'('+HelpCode+')' as NameHCode FROM Person where IsValid = 1";
return DBHelper.GetDataTable(sql);
}

View File

@ -51,9 +51,8 @@ namespace BeginScreen
//}
//else
//{
string wheresql = "OrderOperationTime>='" + DateTime.Parse(tbJxrq2.Value).ToString("yyyy-MM-dd 00:00:00") + "' and OrderOperationTime<='" + DateTime.Parse(tbJxrq2.Value).ToString("yyyy-MM-dd 23:59:59") + "' and state in (2,3) ";
if (ddlDep.SelectedValue.Trim() != "") wheresql += " and ( ApplyDepartmentName like '%" + ddlDep.SelectedValue.Trim() + "%' ) ";
//if (ddlEArea.SelectedValue.Trim() != "") wheresql += " and ( EndemicArea like '%" + ddlEArea.SelectedValue.Trim() + "%' ) ";
string wheresql = "OrderOperationTime>='" + DateTime.Parse(tbJxrq2.Value).ToString("yyyy-MM-dd 00:00:00") + "' and OrderOperationTime<='" + DateTime.Parse(tbJxrq2.Value).ToString("yyyy-MM-dd 23:59:59") + "' and StateId <6 ";
if (ddlDep.SelectedValue.Trim() != "") wheresql += " and ( ApplyDepName like '%" + ddlDep.SelectedValue.Trim() + "%' ) ";
if (ddlPeo.SelectedValue.Trim() != "") wheresql += " and ( OperationDoctor like '%" + ddlPeo.SelectedValue.Trim() + "%') ";
//if (ddlList.SelectedValue != "") wheresql += " and ( dtp.name='" + ddlList.Text + "') ";
DataTable operationApplys = PublicMethod.SelectPlanedOpeByRoom(wheresql);

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?>
<configuration>
<connectionStrings>
<add name="MindraySqlString" connectionString="Data Source=192.168.10.47;Initial Catalog=AIMSDB_SXTLYY;User ID=sm;Password=ysyhl9t;MultipleActiveResultSets=true;" providerName="System.Data.SqlClient"/>
<add name="MindraySqlString" connectionString="Data Source=.;Initial Catalog=AIMSDB_SXTLYY;User ID=sa;Password=Test2020;MultipleActiveResultSets=true;" providerName="System.Data.SqlClient"/>
<add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>
</connectionStrings>
<appSettings>

View File

@ -29,12 +29,7 @@ namespace DocumentManagement
static DocumentDAL()
{
LoadKBLibaray();
}
/// <summary>
/// 基础信息视图
/// </summary>
public static string Vw_Info = "V_OperationRecordALL";
}
//public static string OperatorNo = "";
@ -342,7 +337,7 @@ namespace DocumentManagement
/// 返回视图映射列表
/// </summary>
/// <returns></returns>
public static DataTable GetReflectionList()
public static DataTable GetReflectionList(string Vw_Info)
{
StringBuilder strSql = new StringBuilder();
strSql.Append(" Select name,isnull(kb.KB_SEQ,'')as KB_SEQ FROM SysColumns syscn ");
@ -793,5 +788,48 @@ namespace DocumentManagement
throw ex;
}
}
public static DataTable GetLisResult(string patientNo)
{
try
{
StringBuilder strSql = new StringBuilder();
strSql.Append(" select *");
strSql.Append(" from V_LisResult where");
strSql.Append(" PATIENT_ID = '" + patientNo + "'");
return DbHelperSQL.GetDataTable(strSql.ToString());
}
catch (Exception ex)
{
throw ex;
}
}
public static DataTable GetLisResultNos(string patientNo)
{
try
{
StringBuilder strSql = new StringBuilder();
strSql.Append(" select LIS_ITEM_CODE,LIS_ITEM_CODEName,UpdateTime from LisResult where");
strSql.Append(" PATIENT_ID = '" + patientNo + "' group by LIS_ITEM_CODE,LIS_ITEM_CODEName,UpdateTime ");
return DbHelperSQL.GetDataTable(strSql.ToString());
}
catch (Exception ex)
{
throw ex;
}
}
public static DataTable GetLisResultItems(string patientNo,string LIS_ITEM_CODE)
{
try
{
StringBuilder strSql = new StringBuilder();
strSql.Append(" select * from LisResult where");
strSql.Append(" PATIENT_ID = '" + patientNo + "' and LIS_ITEM_CODE= '" +LIS_ITEM_CODE + "' ");
return DbHelperSQL.GetDataTable(strSql.ToString());
}
catch (Exception ex)
{
throw ex;
}
}
}
}

View File

@ -66,6 +66,8 @@
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.txtViewName = new System.Windows.Forms.TextBox();
this.label8 = new System.Windows.Forms.Label();
this.panel1.SuspendLayout();
this.panel3.SuspendLayout();
this.groupBox4.SuspendLayout();
@ -86,9 +88,9 @@
this.panel1.Controls.Add(this.panel2);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
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, 2, 2, 2);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(1515, 703);
this.panel1.Size = new System.Drawing.Size(1136, 562);
this.panel1.TabIndex = 1;
//
// panel3
@ -97,10 +99,10 @@
this.panel3.Controls.Add(this.groupBox2);
this.panel3.Controls.Add(this.groupBox1);
this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel3.Location = new System.Drawing.Point(384, 0);
this.panel3.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.panel3.Location = new System.Drawing.Point(288, 0);
this.panel3.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(1131, 703);
this.panel3.Size = new System.Drawing.Size(848, 562);
this.panel3.TabIndex = 2;
//
// groupBox4
@ -111,11 +113,9 @@
this.groupBox4.Controls.Add(this.label5);
this.groupBox4.Controls.Add(this.label6);
this.groupBox4.Dock = System.Windows.Forms.DockStyle.Fill;
this.groupBox4.Location = new System.Drawing.Point(0, 545);
this.groupBox4.Margin = new System.Windows.Forms.Padding(4);
this.groupBox4.Location = new System.Drawing.Point(0, 436);
this.groupBox4.Name = "groupBox4";
this.groupBox4.Padding = new System.Windows.Forms.Padding(4);
this.groupBox4.Size = new System.Drawing.Size(1131, 158);
this.groupBox4.Size = new System.Drawing.Size(848, 126);
this.groupBox4.TabIndex = 569;
this.groupBox4.TabStop = false;
this.groupBox4.Text = "表信息维护功能";
@ -123,40 +123,36 @@
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(47, 66);
this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label4.Location = new System.Drawing.Point(35, 53);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(172, 15);
this.label4.Size = new System.Drawing.Size(137, 12);
this.label4.TabIndex = 3;
this.label4.Text = "双击节点可以编辑或删除";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(47, 32);
this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label2.Location = new System.Drawing.Point(35, 26);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(217, 15);
this.label2.Size = new System.Drawing.Size(173, 12);
this.label2.TabIndex = 2;
this.label2.Text = "在知识树上点右键可以移动目录";
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(24, 66);
this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label5.Location = new System.Drawing.Point(18, 53);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(23, 15);
this.label5.Size = new System.Drawing.Size(17, 12);
this.label5.TabIndex = 1;
this.label5.Text = "2.";
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(24, 32);
this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label6.Location = new System.Drawing.Point(18, 26);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(23, 15);
this.label6.Size = new System.Drawing.Size(17, 12);
this.label6.TabIndex = 0;
this.label6.Text = "1.";
//
@ -169,11 +165,9 @@
this.groupBox2.Controls.Add(this.btnDel);
this.groupBox2.Dock = System.Windows.Forms.DockStyle.Top;
this.groupBox2.Font = new System.Drawing.Font("宋体", 10.5F);
this.groupBox2.Location = new System.Drawing.Point(0, 119);
this.groupBox2.Margin = new System.Windows.Forms.Padding(4);
this.groupBox2.Location = new System.Drawing.Point(0, 95);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Padding = new System.Windows.Forms.Padding(4);
this.groupBox2.Size = new System.Drawing.Size(1131, 426);
this.groupBox2.Size = new System.Drawing.Size(848, 341);
this.groupBox2.TabIndex = 1;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "知识点样式 ";
@ -184,10 +178,10 @@
this.panel5.Controls.Add(this.rtbSQL);
this.panel5.Controls.Add(this.dgvItems);
this.panel5.Dock = System.Windows.Forms.DockStyle.Top;
this.panel5.Location = new System.Drawing.Point(4, 85);
this.panel5.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.panel5.Location = new System.Drawing.Point(3, 68);
this.panel5.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.panel5.Name = "panel5";
this.panel5.Size = new System.Drawing.Size(1123, 271);
this.panel5.Size = new System.Drawing.Size(842, 217);
this.panel5.TabIndex = 10;
//
// panel6
@ -198,20 +192,20 @@
this.panel6.Controls.Add(this.label7);
this.panel6.Dock = System.Windows.Forms.DockStyle.Top;
this.panel6.Font = new System.Drawing.Font("宋体", 10.5F);
this.panel6.Location = new System.Drawing.Point(623, 0);
this.panel6.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.panel6.Location = new System.Drawing.Point(467, 0);
this.panel6.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.panel6.Name = "panel6";
this.panel6.Size = new System.Drawing.Size(500, 271);
this.panel6.Size = new System.Drawing.Size(375, 217);
this.panel6.TabIndex = 11;
this.panel6.Visible = false;
//
// btnReflection
//
this.btnReflection.Font = new System.Drawing.Font("宋体", 9F);
this.btnReflection.Location = new System.Drawing.Point(299, 14);
this.btnReflection.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.btnReflection.Location = new System.Drawing.Point(224, 11);
this.btnReflection.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.btnReflection.Name = "btnReflection";
this.btnReflection.Size = new System.Drawing.Size(74, 25);
this.btnReflection.Size = new System.Drawing.Size(56, 20);
this.btnReflection.TabIndex = 15;
this.btnReflection.Text = "选择..";
this.btnReflection.UseVisualStyleBackColor = true;
@ -220,29 +214,27 @@
// txtReflection
//
this.txtReflection.Enabled = false;
this.txtReflection.Location = new System.Drawing.Point(92, 13);
this.txtReflection.Margin = new System.Windows.Forms.Padding(4);
this.txtReflection.Location = new System.Drawing.Point(69, 10);
this.txtReflection.Name = "txtReflection";
this.txtReflection.Size = new System.Drawing.Size(200, 27);
this.txtReflection.Size = new System.Drawing.Size(151, 23);
this.txtReflection.TabIndex = 14;
//
// label7
//
this.label7.AutoSize = true;
this.label7.Location = new System.Drawing.Point(4, 17);
this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label7.Location = new System.Drawing.Point(3, 14);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(89, 18);
this.label7.Size = new System.Drawing.Size(70, 14);
this.label7.TabIndex = 13;
this.label7.Text = "数据映射:";
//
// rtbSQL
//
this.rtbSQL.Dock = System.Windows.Forms.DockStyle.Fill;
this.rtbSQL.Location = new System.Drawing.Point(623, 0);
this.rtbSQL.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.rtbSQL.Location = new System.Drawing.Point(467, 0);
this.rtbSQL.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.rtbSQL.Name = "rtbSQL";
this.rtbSQL.Size = new System.Drawing.Size(500, 271);
this.rtbSQL.Size = new System.Drawing.Size(375, 217);
this.rtbSQL.TabIndex = 0;
this.rtbSQL.Text = "";
this.rtbSQL.Visible = false;
@ -255,10 +247,9 @@
this.Column2});
this.dgvItems.Dock = System.Windows.Forms.DockStyle.Left;
this.dgvItems.Location = new System.Drawing.Point(0, 0);
this.dgvItems.Margin = new System.Windows.Forms.Padding(4);
this.dgvItems.Name = "dgvItems";
this.dgvItems.RowTemplate.Height = 23;
this.dgvItems.Size = new System.Drawing.Size(623, 271);
this.dgvItems.Size = new System.Drawing.Size(467, 217);
this.dgvItems.TabIndex = 9;
//
// Column1
@ -274,10 +265,9 @@
// btnClear
//
this.btnClear.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnClear.Location = new System.Drawing.Point(981, 368);
this.btnClear.Margin = new System.Windows.Forms.Padding(4);
this.btnClear.Location = new System.Drawing.Point(736, 294);
this.btnClear.Name = "btnClear";
this.btnClear.Size = new System.Drawing.Size(120, 50);
this.btnClear.Size = new System.Drawing.Size(90, 40);
this.btnClear.TabIndex = 11;
this.btnClear.Text = "清除(&C)";
this.btnClear.UseVisualStyleBackColor = true;
@ -290,19 +280,19 @@
this.panel4.Controls.Add(this.rdList);
this.panel4.Dock = System.Windows.Forms.DockStyle.Top;
this.panel4.Font = new System.Drawing.Font("宋体", 10.5F);
this.panel4.Location = new System.Drawing.Point(4, 24);
this.panel4.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.panel4.Location = new System.Drawing.Point(3, 19);
this.panel4.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(1123, 61);
this.panel4.Size = new System.Drawing.Size(842, 49);
this.panel4.TabIndex = 9;
//
// rdReflection
//
this.rdReflection.AutoSize = true;
this.rdReflection.Location = new System.Drawing.Point(396, 22);
this.rdReflection.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.rdReflection.Location = new System.Drawing.Point(297, 18);
this.rdReflection.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.rdReflection.Name = "rdReflection";
this.rdReflection.Size = new System.Drawing.Size(101, 22);
this.rdReflection.Size = new System.Drawing.Size(81, 18);
this.rdReflection.TabIndex = 2;
this.rdReflection.Text = "视图映射";
this.rdReflection.UseVisualStyleBackColor = true;
@ -311,10 +301,10 @@
// rdSQL
//
this.rdSQL.AutoSize = true;
this.rdSQL.Location = new System.Drawing.Point(224, 22);
this.rdSQL.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.rdSQL.Location = new System.Drawing.Point(168, 18);
this.rdSQL.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.rdSQL.Name = "rdSQL";
this.rdSQL.Size = new System.Drawing.Size(92, 22);
this.rdSQL.Size = new System.Drawing.Size(74, 18);
this.rdSQL.TabIndex = 1;
this.rdSQL.Text = "SQL语句";
this.rdSQL.UseVisualStyleBackColor = true;
@ -324,10 +314,10 @@
//
this.rdList.AutoSize = true;
this.rdList.Checked = true;
this.rdList.Location = new System.Drawing.Point(53, 22);
this.rdList.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.rdList.Location = new System.Drawing.Point(40, 18);
this.rdList.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.rdList.Name = "rdList";
this.rdList.Size = new System.Drawing.Size(65, 22);
this.rdList.Size = new System.Drawing.Size(53, 18);
this.rdList.TabIndex = 0;
this.rdList.TabStop = true;
this.rdList.Text = "列表";
@ -337,10 +327,9 @@
// btnSave
//
this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnSave.Location = new System.Drawing.Point(692, 368);
this.btnSave.Margin = new System.Windows.Forms.Padding(4);
this.btnSave.Location = new System.Drawing.Point(519, 294);
this.btnSave.Name = "btnSave";
this.btnSave.Size = new System.Drawing.Size(120, 50);
this.btnSave.Size = new System.Drawing.Size(90, 40);
this.btnSave.TabIndex = 7;
this.btnSave.Text = "确定(&S)";
this.btnSave.UseVisualStyleBackColor = true;
@ -349,10 +338,9 @@
// btnDel
//
this.btnDel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnDel.Location = new System.Drawing.Point(837, 368);
this.btnDel.Margin = new System.Windows.Forms.Padding(4);
this.btnDel.Location = new System.Drawing.Point(628, 294);
this.btnDel.Name = "btnDel";
this.btnDel.Size = new System.Drawing.Size(120, 50);
this.btnDel.Size = new System.Drawing.Size(90, 40);
this.btnDel.TabIndex = 8;
this.btnDel.Text = "删除(&D)";
this.btnDel.UseVisualStyleBackColor = true;
@ -363,25 +351,25 @@
this.groupBox1.Controls.Add(this.btnSelect);
this.groupBox1.Controls.Add(this.txtParentName);
this.groupBox1.Controls.Add(this.label1);
this.groupBox1.Controls.Add(this.txtViewName);
this.groupBox1.Controls.Add(this.txtName);
this.groupBox1.Controls.Add(this.label8);
this.groupBox1.Controls.Add(this.label3);
this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top;
this.groupBox1.Font = new System.Drawing.Font("宋体", 10.5F);
this.groupBox1.Location = new System.Drawing.Point(0, 0);
this.groupBox1.Margin = new System.Windows.Forms.Padding(4);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Padding = new System.Windows.Forms.Padding(4);
this.groupBox1.Size = new System.Drawing.Size(1131, 119);
this.groupBox1.Size = new System.Drawing.Size(848, 95);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
//
// btnSelect
//
this.btnSelect.Font = new System.Drawing.Font("宋体", 9F);
this.btnSelect.Location = new System.Drawing.Point(319, 31);
this.btnSelect.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.btnSelect.Location = new System.Drawing.Point(239, 25);
this.btnSelect.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.btnSelect.Name = "btnSelect";
this.btnSelect.Size = new System.Drawing.Size(74, 25);
this.btnSelect.Size = new System.Drawing.Size(56, 20);
this.btnSelect.TabIndex = 12;
this.btnSelect.Text = "选择..";
this.btnSelect.UseVisualStyleBackColor = true;
@ -390,37 +378,33 @@
// txtParentName
//
this.txtParentName.Enabled = false;
this.txtParentName.Location = new System.Drawing.Point(112, 32);
this.txtParentName.Margin = new System.Windows.Forms.Padding(4);
this.txtParentName.Location = new System.Drawing.Point(84, 26);
this.txtParentName.Name = "txtParentName";
this.txtParentName.Size = new System.Drawing.Size(200, 27);
this.txtParentName.Size = new System.Drawing.Size(151, 23);
this.txtParentName.TabIndex = 10;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(8, 36);
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label1.Location = new System.Drawing.Point(6, 29);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(71, 18);
this.label1.Size = new System.Drawing.Size(56, 14);
this.label1.TabIndex = 9;
this.label1.Text = "父节点:";
//
// txtName
//
this.txtName.Location = new System.Drawing.Point(112, 75);
this.txtName.Margin = new System.Windows.Forms.Padding(4);
this.txtName.Location = new System.Drawing.Point(84, 60);
this.txtName.Name = "txtName";
this.txtName.Size = new System.Drawing.Size(200, 27);
this.txtName.Size = new System.Drawing.Size(151, 23);
this.txtName.TabIndex = 5;
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(8, 80);
this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label3.Location = new System.Drawing.Point(6, 64);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(89, 18);
this.label3.Size = new System.Drawing.Size(70, 14);
this.label3.TabIndex = 4;
this.label3.Text = "节点名称:";
//
@ -429,10 +413,9 @@
this.panel2.Controls.Add(this.tvwKB);
this.panel2.Dock = System.Windows.Forms.DockStyle.Left;
this.panel2.Location = new System.Drawing.Point(0, 0);
this.panel2.Margin = new System.Windows.Forms.Padding(4);
this.panel2.Name = "panel2";
this.panel2.Padding = new System.Windows.Forms.Padding(4);
this.panel2.Size = new System.Drawing.Size(384, 703);
this.panel2.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3);
this.panel2.Size = new System.Drawing.Size(288, 562);
this.panel2.TabIndex = 1;
//
// tvwKB
@ -440,10 +423,9 @@
this.tvwKB.Dock = System.Windows.Forms.DockStyle.Fill;
this.tvwKB.Font = new System.Drawing.Font("宋体", 10.5F);
this.tvwKB.HideSelection = false;
this.tvwKB.Location = new System.Drawing.Point(4, 4);
this.tvwKB.Margin = new System.Windows.Forms.Padding(4);
this.tvwKB.Location = new System.Drawing.Point(3, 3);
this.tvwKB.Name = "tvwKB";
this.tvwKB.Size = new System.Drawing.Size(376, 695);
this.tvwKB.Size = new System.Drawing.Size(282, 556);
this.tvwKB.TabIndex = 1;
this.tvwKB.NodeMouseDoubleClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.tvwKB_NodeMouseDoubleClick);
this.tvwKB.MouseClick += new System.Windows.Forms.MouseEventHandler(this.tvwKB_MouseClick);
@ -457,42 +439,59 @@
this.ToolStripMenuItem,
this.ToolStripMenuItem});
this.contextMenuStrip2.Name = "contextMenuStrip2";
this.contextMenuStrip2.Size = new System.Drawing.Size(195, 116);
this.contextMenuStrip2.Size = new System.Drawing.Size(167, 92);
//
// 新建目录ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "新建目录ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(194, 28);
this.ToolStripMenuItem.Size = new System.Drawing.Size(166, 22);
this.ToolStripMenuItem.Text = "添加同级目录";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 添加子目录ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "添加子目录ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(194, 28);
this.ToolStripMenuItem.Size = new System.Drawing.Size(166, 22);
this.ToolStripMenuItem.Text = "添加子目录";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 上移ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "上移ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(194, 28);
this.ToolStripMenuItem.Size = new System.Drawing.Size(166, 22);
this.ToolStripMenuItem.Text = "上移";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// 下移ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "下移ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(194, 28);
this.ToolStripMenuItem.Size = new System.Drawing.Size(166, 22);
this.ToolStripMenuItem.Text = "下移";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// txtViewName
//
this.txtViewName.Location = new System.Drawing.Point(319, 60);
this.txtViewName.Name = "txtViewName";
this.txtViewName.Size = new System.Drawing.Size(151, 23);
this.txtViewName.TabIndex = 5;
//
// label8
//
this.label8.AutoSize = true;
this.label8.Location = new System.Drawing.Point(243, 64);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(70, 14);
this.label8.TabIndex = 4;
this.label8.Text = "试图名称:";
//
// frmKB
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1515, 703);
this.ClientSize = new System.Drawing.Size(1136, 562);
this.Controls.Add(this.panel1);
this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.Name = "frmKB";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "知识库";
@ -557,5 +556,7 @@
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.TextBox txtViewName;
private System.Windows.Forms.Label label8;
}
}

View File

@ -78,8 +78,9 @@ namespace DocumentManagement
return;
}
btnClear_Click(null, null);
txtParentName.Tag = (KBEntry)tvwKB.SelectedNode.Tag;
txtParentName.Tag = tvwKB.SelectedNode.Tag;
txtParentName.Text = tvwKB.SelectedNode.Text;
txtViewName.Text = ((KBEntry)tvwKB.SelectedNode.Tag).Value;
}
/// <summary>
@ -174,12 +175,12 @@ namespace DocumentManagement
private void btnReflection_Click(object sender, EventArgs e)
{
if (DocumentDAL.Vw_Info == "")
if ( txtViewName.Text == "")
{
MessageBox.Show("视图名无效!");
return;
}
frmViewSelect frmViewSelect = new frmViewSelect();
frmViewSelect frmViewSelect = new frmViewSelect(txtViewName.Text);
frmViewSelect.EntryId = ((KBEntry)txtName.Tag) == null ? string.Empty : ((KBEntry)txtName.Tag).ID;
frmViewSelect.FormClosing += new FormClosingEventHandler(frmViewSelect_FormClosing);
frmViewSelect.ShowDialog();
@ -260,6 +261,7 @@ namespace DocumentManagement
if (!vcName.Equals(string.Empty))
{
txtReflection.Text = vcName;
txtName.Text = vcName;
}
}

View File

@ -126,7 +126,4 @@
<metadata name="contextMenuStrip2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="reportDataDataSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>211, 17</value>
</metadata>
</root>

View File

@ -429,7 +429,7 @@
<data name="tsbSave.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAS
dAAAEnQB3mYfeAAAAZtJREFUOE+tkjFLw0AUx/sR/Ah+hIxCl4BLxyxCF6EgQlGE4FQKQlAKLkJw6iIE
cgAAEnIBXmVb4wAAAZtJREFUOE+tkjFLw0AUx/sR/Ah+hIxCl4BLxyxCF6EgQlGE4FQKQlAKLkJw6iIE
JxfhEASXwi2COIVWJ5fDtm5ikqYRB/373iVt0ppB0IM/l9y93//evXuVfxmOp/BbtU582F2S6yPDUwP5
CLjXwMcXkJAmn0CYib95LaDZOpCo7wmtDM8Njs8DHRhnIAMRaZrBQRzDbEsYZgNWq8SA55iCGZrB/J/C
Uzy/RTDaAq1TBWvX+2lgn6k5zBlwJhqeJhgGE/RHIYx9oe9fbkAbxXtrOEkwCmMMxiHkk8LqjocGFbLU
@ -992,7 +992,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAACO
GAAAAk1TRnQBSQFMAgEBIQEAAXgBCQF4AQkBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
GAAAAk1TRnQBSQFMAgEBIQEAAYgBCQGIAQkBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABQAMAAZADAAEBAQABCAYAASQYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
@ -3367,7 +3367,7 @@
<data name="toolStripMenuItem51.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wgAADsIBFShKgAAAAVZJREFUOE+tkMFLAkEUxv2DBO952EMX8TLnPS2B4EKHOQpdtsvacZcgvAgSSpAY
wAAADsABataJCQAAAVZJREFUOE+tkMFLAkEUxv2DBO952EMX8TLnPS2B4EKHOQpdtsvacZcgvAgSSpAY
22KIB0EYqCQqsUsgiMNCm0W0UHTq8LVvCqGDq4IfDMO8+b7fezOpjWs0GqPpd/F3VJJS4qTl/6st1Mtb
BKdSw3v0MQ94Xh9icL8agORUPHTFrQrI5wgGt0BTqMtV1G4LOE4NYRiifz0EM/h6gJ54UM9onnfALQe6
bq4eJgVBqII0OnXf27fXA5DMUlmFWdFCT6zxgXL2Dbf1CWZNYR9PwEpD6NYI7qmEGL4mgyhsHkXQyxL5
@ -3385,7 +3385,7 @@
<data name="toolStripMenuItem52.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wgAADsIBFShKgAAAAT5JREFUOE+9kSFPxEAQhftT+hPuJ1RWViIrkSuRK5ErK1eeXFm5ssmZNYSSQNgL
wAAADsABataJCQAAAT5JREFUOE+9kSFPxEAQhftT+hPuJ1RWViIrkSuRK5ErK1eeXFm5ssmZNYSSQNgL
CSFBsA7cY2b27not5CpIeMkzzc733kyLP8v5iOyQ3QdYF/D4/IrDk8vi4aWs82i1xfi0X4dw6lJm6+GH
gFaZdQhXZvkRoOYIMcFYBzckWinb9vTNZd+/fM6BXPekLyAlIL7RIAGW0tuEzbXH7uFjgliqy7IDVack
7SKUjbCUvJTqMnhz5bC7e88Q3peVJD1JOq9h+3xc47LDmNCaKMPssrEHAO3Lw8dkcRfokPO/w28Y7gPB
@ -3402,7 +3402,7 @@
<data name="toolStripMenuItem53.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wgAADsIBFShKgAAAAZRJREFUOE+1kqFuHDEURecP9hP2ExYWGgYaLjQMNAw0CFgVGQ40XGi40HBQZThS
wAAADsABataJCQAAAZRJREFUOE+1kqFuHDEURecP9hP2ExYWGgYaLjQMNAw0CFgVGQ40XGi40HBQZThS
qtRRChYals3tfXYm2aQbVapUS0eWZuae5/c8w39ZKToIMTj8fHrEy+Pr6/v8DfHoXwneoJ5Do8we9lbB
HyxxbX9+engvlFCtEQupNSCMtu1f7y3y5OCshjM71ETxaQtr9J8CCQv+YBii8OxZ3aFMBnHUMHuF4LbI
foDdfxSEVRDgnWFFQfPoL7CipcDbLjA36r0grALpu7B65tHD5o2RMLiivuw+CEbXh1a4z+w/a9S4gQ9s
@ -3479,7 +3479,7 @@
<value>2, 2, 2, 2</value>
</data>
<data name="rtbClick.Size" type="System.Drawing.Size, System.Drawing">
<value>168, 416</value>
<value>168, 405</value>
</data>
<data name="rtbClick.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
@ -3509,7 +3509,7 @@
<value>2, 2, 2, 2</value>
</data>
<data name="panel2.Size" type="System.Drawing.Size, System.Drawing">
<value>168, 416</value>
<value>168, 405</value>
</data>
<data name="panel2.TabIndex" type="System.Int32, mscorlib">
<value>9</value>
@ -3536,7 +3536,7 @@
<value>2, 2, 2, 2</value>
</data>
<data name="tabPage1.Size" type="System.Drawing.Size, System.Drawing">
<value>172, 420</value>
<value>172, 409</value>
</data>
<data name="tabPage1.TabIndex" type="System.Int32, mscorlib">
<value>2</value>
@ -3566,7 +3566,7 @@
<value>2, 2, 2, 2</value>
</data>
<data name="rtbContent.Size" type="System.Drawing.Size, System.Drawing">
<value>172, 420</value>
<value>172, 409</value>
</data>
<data name="rtbContent.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
@ -3596,7 +3596,7 @@
<value>2, 2, 2, 2</value>
</data>
<data name="panel1.Size" type="System.Drawing.Size, System.Drawing">
<value>172, 420</value>
<value>172, 409</value>
</data>
<data name="panel1.TabIndex" type="System.Int32, mscorlib">
<value>10</value>
@ -3620,7 +3620,7 @@
<value>2, 2, 2, 2</value>
</data>
<data name="tabPage3.Size" type="System.Drawing.Size, System.Drawing">
<value>172, 420</value>
<value>172, 409</value>
</data>
<data name="tabPage3.TabIndex" type="System.Int32, mscorlib">
<value>3</value>
@ -3678,7 +3678,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAACW
BQAAAk1TRnQBSQFMAwEBAAE4AQQBOAEEARABAAEQAQAE/wEZAQAI/wFCAU0BNgcAATYDAAEoAwABQAMA
BQAAAk1TRnQBSQFMAwEBAAFIAQQBSAEEARABAAEQAQAE/wEZAQAI/wFCAU0BNgcAATYDAAEoAwABQAMA
ARADAAEBAQABGAYAAQwVAAGcAZABigF7AWwBYwFyAWEBWAFxAWABVwFxAWABVwFxAWABVwFxAWABVwFx
AWABVwFxAWABVwFyAWEBWAF7AWwBYwGcAZABigHOAckBxpYAAa4BfAFvAdkBrQGdAdYBqAGaAdMBpgGY
AdIBpAGXAcwBoQGZAckBngGXAcYBnAGWAcQBmQGVAcEBlgGTAbYBkQGLAbgBjgGLAXwBbQFkAb8BtwG0

View File

@ -15,6 +15,7 @@ namespace DocumentManagement
/// 知识库EntryId
/// </summary>
public string EntryId;
public string ViewInfo;
/// <summary>
/// 返回结果
/// </summary>
@ -23,6 +24,11 @@ namespace DocumentManagement
{
InitializeComponent();
}
public frmViewSelect(string _ViewInfo)
{
InitializeComponent();
ViewInfo = _ViewInfo;
}
private void btnSave_Click(object sender, EventArgs e)
{
@ -43,7 +49,7 @@ namespace DocumentManagement
ForeColor = SystemColors.GrayText
};
//DocumentDAL dal = new DocumentDAL();
DataTable dt = DocumentDAL.GetReflectionList();
DataTable dt = DocumentDAL.GetReflectionList(ViewInfo);
for (int i = 0; i < dt.Rows.Count; i++)
{
TreeNode node = new TreeNode();

View File

@ -1348,7 +1348,7 @@ namespace DrawGraph
OpeRecoverInInfo = new OperationRecoverInInfo();
OpeRecoverOutInfo = new OperationRecoverOutInfo();
InstrumentList = new OperationRecordInstrumentList();
FactBloodGasAnalysisList = new List<FactBloodGasAnalysis>();
FactBloodGasAnalysisList = new List<FactBloodGasAnalysis>();
}
private void SetDefaultValue()

View File

@ -5,7 +5,7 @@ using System.ComponentModel;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Windows.Forms;
using System.Windows.Forms;
namespace DrawGraph
{
@ -123,8 +123,8 @@ namespace DrawGraph
break;
}
}
catch (Exception )
{
catch (Exception)
{
//throw;
}
}

View File

@ -755,7 +755,7 @@ namespace DrawGraphManagement
private void button11_Click(object sender, EventArgs e)
{
frmTemplateD frmTemplateD = new frmTemplateD();
frmTemplateD.ShowDialog();
frmTemplateD.Show();
}
}
}

View File

@ -14,7 +14,7 @@ namespace DrawGraphManagement
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Task.Factory.StartNew(() => { PreLoad(); });
PreLoad();
Application.Run(new Main());
}
static void PreLoad()