refactor: 清理旧模块资源并整理人员服务目录

为收敛当前分支代码范围并统一人员服务目录,移除历史模块与静态资源,减少无效代码和目录分散带来的维护成本。
This commit is contained in:
2026-09-19 13:45:38 +08:00
parent 7b5b060ffc
commit 8efe030f47
7188 changed files with 3777 additions and 1117238 deletions
@@ -98,7 +98,7 @@ namespace FineUIPro.Web.PersonManage.Test
for (int i = 0; i < Grid1.Rows.Count; i++)
{
string testRecordId = Grid1.Rows[i].DataKeys[0].ToString();
var testRecord = BLL.TestRecordService.GetTestRecordById(testRecordId);
var testRecord = BLL.ServerTestRecordService.GetTestRecordById(testRecordId);
if (testRecord != null)
{
if (testRecord.TestScores < SysConstSetService.getPassScore())
@@ -176,38 +176,7 @@ namespace FineUIPro.Web.PersonManage.Test
return;
}
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("~/HSSE/EduTrain/TestRecordPrint.aspx?TestRecordId={0}&type=1", Grid1.SelectedRowID, "编辑 - "), "考试试卷", 1200, 600));
}
#endregion
#region 归档
/// <summary>
/// 右键编辑事件
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnMenuFile_Click(object sender, EventArgs e)
{
if (Grid1.SelectedRowIndexArray.Length > 0)
{
string values = string.Empty;
foreach (int rowIndex in Grid1.SelectedRowIndexArray)
{
string rowID = Grid1.DataKeys[rowIndex][0].ToString();
values += rowID + "|";
}
if (!string.IsNullOrEmpty(values) && values.Length <= 1850)
{
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("~/HSSE/InformationProject/FileCabinetAChange.aspx?values={0}&menuId={1}", values, BLL.Const.ProjectTestRecordMenuId, "查看 - "), "归档", 600, 540));
}
else
{
Alert.ShowInTop("请一次至少一条,最多50条记录归档!", MessageBoxIcon.Warning);
}
BindGrid();
}
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("TestRecordPrint.aspx?TestRecordId={0}&type=1", Grid1.SelectedRowID, "编辑 - "), "考试试卷", 1200, 600));
}
#endregion
@@ -285,7 +254,7 @@ namespace FineUIPro.Web.PersonManage.Test
Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
return;
}
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("~/HSSE/EduTrain/TestRecordPrint.aspx?TestRecordId={0}&type=1", Grid1.SelectedRowID, "编辑 - "), "考试试卷", 900, 650));
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("TestRecordPrint.aspx?TestRecordId={0}&type=1", Grid1.SelectedRowID, "编辑 - "), "考试试卷", 900, 650));
}
}
}
}