diff --git a/PEIS/View/Enrollment/EnrollmentPersonForm.cs b/PEIS/View/Enrollment/EnrollmentPersonForm.cs index cd7700f..207be21 100644 --- a/PEIS/View/Enrollment/EnrollmentPersonForm.cs +++ b/PEIS/View/Enrollment/EnrollmentPersonForm.cs @@ -602,7 +602,7 @@ namespace PEIS.View.Enrollment if (Global.Msg("warn", "确定要发送吗?") == DialogResult.No) return; - //CostToHis(_chooseRegItem.ID); + CostToHis(_chooseRegItem.ID); OnSendToDept(_chooseRegItem.ID); OnGetRegItems(0); OnGetCheckCost(_chooseRegItem.ID); diff --git a/PEIS/View/Exam/TotalForm.cs b/PEIS/View/Exam/TotalForm.cs index 10557c6..a55bd18 100644 --- a/PEIS/View/Exam/TotalForm.cs +++ b/PEIS/View/Exam/TotalForm.cs @@ -1,6 +1,7 @@ using DevExpress.XtraEditors; using DevExpress.XtraGrid.Views.Base; using DevExpress.XtraGrid.Views.Grid; +using LIS.Model; using PEIS.Base; using PEIS.Entity; using PEIS.Event; @@ -88,13 +89,19 @@ namespace PEIS.View.Exam RbStatus2.Click += RadioButton_Click; // 输入体检号回车 //txtId.KeyDown += TxtId_KeyDown; - OpsConclusion.TsmiRefresh.Text = "上移"; - OpsConclusion.TsmiRefresh.Image = Properties.Resources.shang; OpsConclusion.TsmiAdd.Text = "下移"; OpsConclusion.TsmiAdd.Image = Properties.Resources.xia; OpsConclusion.TsmiAllDelete.Visible = true; - //结论-排序 + OpsConclusion.TsmiUp.Visible = true; + // 重新加载结论 OpsConclusion.TsmiRefresh.Click += (s, e) => + { + CacheDataModel.GetConclusions(); + CmbSearchConclusion.DataSource = Global._lstConclusion; + SearchAllConclusion(); + }; + //结论-排序 + OpsConclusion.TsmiUp.Click += (s, e) => { ConclusionSort(-1); }; diff --git a/PEIS/View/UControl/OpMenuSimple.Designer.cs b/PEIS/View/UControl/OpMenuSimple.Designer.cs index 13caab1..47d3853 100644 --- a/PEIS/View/UControl/OpMenuSimple.Designer.cs +++ b/PEIS/View/UControl/OpMenuSimple.Designer.cs @@ -35,6 +35,7 @@ this.TsmiDelete = new System.Windows.Forms.ToolStripMenuItem(); this.TsmiAdd = new System.Windows.Forms.ToolStripMenuItem(); this.TsmiRefresh = new System.Windows.Forms.ToolStripMenuItem(); + this.TsmiUp = new System.Windows.Forms.ToolStripMenuItem(); this.menuStrip1.SuspendLayout(); this.SuspendLayout(); // @@ -50,6 +51,7 @@ this.TsmiAllDelete, this.TsmiDelete, this.TsmiAdd, + this.TsmiUp, this.TsmiRefresh}); this.menuStrip1.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.HorizontalStackWithOverflow; this.menuStrip1.Location = new System.Drawing.Point(0, 0); @@ -107,6 +109,16 @@ this.TsmiRefresh.Size = new System.Drawing.Size(75, 34); this.TsmiRefresh.Text = "刷新"; // + // TsmiUp + // + this.TsmiUp.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + this.TsmiUp.Image = global::PEIS.Properties.Resources.shang; + this.TsmiUp.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.TsmiUp.Name = "TsmiUp"; + this.TsmiUp.Size = new System.Drawing.Size(69, 34); + this.TsmiUp.Text = "上移"; + this.TsmiUp.Visible = false; + // // OpMenuSimple // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); @@ -129,5 +141,6 @@ public System.Windows.Forms.ToolStripMenuItem TsmiAdd; public System.Windows.Forms.ToolStripMenuItem TsmiRefresh; public System.Windows.Forms.ToolStripMenuItem TsmiAllDelete; + public System.Windows.Forms.ToolStripMenuItem TsmiUp; } }