This commit is contained in:
geh 2025-05-19 10:27:35 +08:00
parent 5d8f6ee65e
commit cd67e71e38
22 changed files with 33 additions and 2 deletions

View File

@ -3,7 +3,7 @@
中化学建设投资集团安徽工程有限公司
职工入场安全教育培训
(安徽成汉)
[pic]

View File

@ -3,7 +3,7 @@
中化学建设投资集团安徽工程有限公司
职工入场安全教育培训
(安徽成汉)
[pic]

View File

@ -3,7 +3,7 @@
中化学建设投资集团安徽工程有限公司
职工入场安全教育培训
(挖掘机司机)
[pic]

View File

@ -3,7 +3,7 @@
中化学建设投资集团安徽工程有限公司
职工入场安全教育培训
(安徽成汉)
[pic]

View File

@ -3,7 +3,7 @@
中化学建设投资集团安徽工程有限公司
职工入场安全教育培训
(安徽成汉)
[pic]

View File

@ -3,7 +3,7 @@
中化学建设投资集团安徽工程有限公司
职工入场安全教育培训
(安徽成汉)
[pic]

View File

@ -3,7 +3,7 @@
中化学建设投资集团安徽工程有限公司
职工入场安全教育培训
(安徽成汉)
[pic]

View File

@ -3,7 +3,7 @@
中化学建设投资集团安徽工程有限公司
职工入场安全教育培训
(桩基)
[pic]

View File

@ -3,7 +3,7 @@
中化学建设投资集团安徽工程有限公司
职工入场安全教育培训
(中徽机电科技)
[pic]

View File

@ -3,7 +3,7 @@
中化学建设投资集团安徽工程有限公司
职工入场安全教育培训
(安徽运盛-土方)
[pic]

View File

@ -3,7 +3,6 @@
中化学建设投资集团安徽工程有限公司
职工入场安全教育培训
(安徽成汉)
[pic]

View File

@ -3,7 +3,7 @@
中化学建设投资集团安徽工程有限公司
职工入场安全教育培训
(安徽成汉)
[pic]

View File

@ -3,7 +3,7 @@
中化学建设投资集团安徽工程有限公司
职工入场安全教育培训
(安徽成汉)
[pic]

View File

@ -3,7 +3,7 @@
中化学建设投资集团安徽工程有限公司
职工入场安全教育培训
(安徽成汉)
[pic]

View File

@ -3,7 +3,7 @@
中化学建设投资集团安徽工程有限公司
职工入场安全教育培训
(项目管理人员)
[pic]

View File

@ -3,7 +3,7 @@
中化学建设投资集团安徽工程有限公司
职工入场安全教育培训
(安徽成汉)
[pic]

View File

@ -3,7 +3,7 @@
中化学建设投资集团安徽工程有限公司
职工入场安全教育培训
(安徽成汉)
[pic]

View File

@ -3,7 +3,7 @@
中化学建设投资集团安徽工程有限公司
职工入场安全教育培训
(安徽成汉)
[pic]

View File

@ -35,7 +35,7 @@ namespace FineUIPro.Web.HSSE.Meeting
if (!IsPostBack)
{
Funs.DropDownPageSize(this.ddlPageSize);
this.ProjectId = this.ProjectId;
this.ProjectId = this.CurrUser.LoginProjectId;
if (!string.IsNullOrEmpty(Request.Params["projectId"]) && Request.Params["projectId"] != this.ProjectId)
{
this.ProjectId = Request.Params["projectId"];

View File

@ -490,7 +490,7 @@ namespace WebAPI.Controllers
var getTestTrainingItemList = (from x in Funs.DB.Training_TestTrainingItem
join y in Funs.DB.Training_TestTraining on x.TrainingId equals y.TrainingId
where y.TrainingName.Contains("岗位人员试题") &&
x.WorkPostNames.Contains(person.WorkPostName)
x.WorkPostIds.Contains(person.WorkPostId)
orderby x.TestType, x.TrainingItemCode
select new
{

View File

@ -806,5 +806,35 @@ namespace WebAPI.Controllers
#endregion
#region personId获取用户考试分数
/// <summary>
/// 根据personId获取用户信息
/// </summary>
/// <param name="personId"></param>
/// <returns></returns>
public Model.ResponeData getTestScoreByPersonId(string personId)
{
var responeData = new Model.ResponeData();
try
{
Model.Training_TestRecord testRecord = Funs.DB.Training_TestRecord
.Where(e => e.TestManId == personId && e.TestScores != null && e.TestEndTime.HasValue && e.TestStartTime.HasValue)
.OrderByDescending(e => e.TestStartTime)
.FirstOrDefault();
if (testRecord != null)
{
responeData.data = new {testRecord.TestScores};
}
}
catch (Exception ex)
{
responeData.code = 0;
responeData.message = ex.Message;
}
return responeData;
}
#endregion
}
}

View File

@ -160,6 +160,7 @@ namespace WebAPI.Filter
, "TestRecord*getTestTimesByTestRecordId"
, "TestRecord*getTestRecordItemAnswerBySelectedItem"
, "TestRecord*postSubmitTestRecord"
, "TestRecord*getTestScoreByPersonId"
};
/// <summary>