This commit is contained in:
geh
2025-06-18 16:17:36 +08:00
parent 4926935d71
commit 0cb37e2c02
21 changed files with 2751 additions and 692 deletions
@@ -175,10 +175,10 @@ namespace FineUIPro.Web.HSSE.EduTrain
BItem = pds.Rows[i][7].ToString().Trim(),
};
if (!string.IsNullOrEmpty(pds.Rows[i][12].ToString().Trim()))
{
newViewTrainingItem.Score = int.Parse(pds.Rows[i][12].ToString().Trim());
}
// if (!string.IsNullOrEmpty(pds.Rows[i][12].ToString().Trim()))
// {
// newViewTrainingItem.Score = int.Parse(pds.Rows[i][12].ToString().Trim());
// }
////试题类型
string col1 = pds.Rows[i][1].ToString().Trim();
@@ -331,7 +331,7 @@ namespace FineUIPro.Web.HSSE.EduTrain
CItem = newViewTrainingItem.CItem,
DItem = newViewTrainingItem.DItem,
EItem = newViewTrainingItem.EItem,
Score = newViewTrainingItem.Score,
// Score = newViewTrainingItem.Score,
AnswerItems = newViewTrainingItem.AnswerItems,
};
if (newViewTrainingItem.Abstracts.Contains("(") || newViewTrainingItem.Abstracts.Contains(")")
@@ -35,13 +35,17 @@ namespace FineUIPro.Web.HSSE.Emergency
if (!IsPostBack)
{
Funs.DropDownPageSize(this.ddlPageSize);
////权限按钮方法
this.GetButtonPower();
this.ProjectId = this.CurrUser.LoginProjectId;
if (!string.IsNullOrEmpty(Request.Params["projectId"]) && Request.Params["projectId"] != this.ProjectId)
{
this.ProjectId = Request.Params["projectId"];
}
if (!string.IsNullOrEmpty(this.ProjectId))
{
this.panelLeftRegion.Hidden = true;
////权限按钮方法
this.GetButtonPower();
}
this.InitDropDownList();
this.btnNew.OnClientClick = Window1.GetShowReference("EmergencyListEdit.aspx") + "return false;";
@@ -37,13 +37,17 @@ namespace FineUIPro.Web.HSSE.Emergency
if (!IsPostBack)
{
Funs.DropDownPageSize(this.ddlPageSize);
////权限按钮方法
this.GetButtonPower();
this.ProjectId = this.CurrUser.LoginProjectId;
if (!string.IsNullOrEmpty(Request.Params["projectId"]) && Request.Params["projectId"] != this.ProjectId)
{
this.ProjectId = Request.Params["projectId"];
}
if (!string.IsNullOrEmpty(this.ProjectId))
{
this.panelLeftRegion.Hidden = true;
////权限按钮方法
this.GetButtonPower();
}
this.InitDropDownList();
this.btnNew.OnClientClick = Window1.GetShowReference("EmergencySupplyEdit.aspx") + "return false;";
if (this.CurrUser != null && this.CurrUser.PageSize.HasValue)