提交试车代码
This commit is contained in:
@@ -49,14 +49,14 @@ namespace FineUIPro.Web.TestRun.BeforeTestRun
|
||||
set { ViewState["QuestionEditImg"] = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 整改图片是否可编辑
|
||||
/// </summary>
|
||||
public int RectifyEditImg
|
||||
{
|
||||
get { return (int)ViewState["RectifyEditImg"]; }
|
||||
set { ViewState["RectifyEditImg"] = value; }
|
||||
}
|
||||
///// <summary>
|
||||
///// 整改图片是否可编辑
|
||||
///// </summary>
|
||||
//public int RectifyEditImg
|
||||
//{
|
||||
// get { return (int)ViewState["RectifyEditImg"]; }
|
||||
// set { ViewState["RectifyEditImg"] = value; }
|
||||
//}
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
@@ -76,7 +76,7 @@ namespace FineUIPro.Web.TestRun.BeforeTestRun
|
||||
btnSave.Hidden = true;
|
||||
btnSubmit.Hidden = true;
|
||||
QuestionEditImg = -1;
|
||||
RectifyEditImg = -1;
|
||||
//RectifyEditImg = -1;
|
||||
txtTailTermCode.Enabled = false;
|
||||
ddlConstructionUnit.Enabled = false;
|
||||
ddlProblemType.Enabled = false;
|
||||
@@ -96,7 +96,7 @@ namespace FineUIPro.Web.TestRun.BeforeTestRun
|
||||
public void PageInit()
|
||||
{
|
||||
QuestionEditImg = 0;
|
||||
RectifyEditImg = 0;
|
||||
//RectifyEditImg = -1;
|
||||
var selectList = new List<SelectPropertyTechnology>();
|
||||
//施工单位
|
||||
UnitService.InitUnitByProjectIdUnitTypeDropDownList(ddlConstructionUnit, this.CurrUser.LoginProjectId, BLL.Const.ProjectUnitType_2, false);
|
||||
@@ -233,7 +233,7 @@ namespace FineUIPro.Web.TestRun.BeforeTestRun
|
||||
if (model.ApproveState > 1)
|
||||
{
|
||||
QuestionEditImg = -1;
|
||||
RectifyEditImg = -1;
|
||||
//RectifyEditImg = -1;
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -467,13 +467,13 @@ namespace FineUIPro.Web.TestRun.BeforeTestRun
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type={0}&toKeyId={1}&path=FileUpload/CheckControl&menuId={2}", QuestionEditImg, this.TailTermId + "q", Const.InspectTailTerm)));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 整改图片
|
||||
/// </summary>
|
||||
protected void imgBtnRectifyFile_Click(object sender, EventArgs e)
|
||||
{
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type={0}&toKeyId={1}&path=FileUpload/CheckControl&menuId={2}", RectifyEditImg, this.TailTermId + "h", Const.InspectTailTerm)));
|
||||
}
|
||||
///// <summary>
|
||||
///// 整改图片
|
||||
///// </summary>
|
||||
//protected void imgBtnRectifyFile_Click(object sender, EventArgs e)
|
||||
//{
|
||||
// PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type={0}&toKeyId={1}&path=FileUpload/CheckControl&menuId={2}", RectifyEditImg, this.TailTermId + "h", Const.InspectTailTerm)));
|
||||
//}
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
Reference in New Issue
Block a user