提交代码
This commit is contained in:
@@ -49,15 +49,6 @@ namespace FineUIPro.Web.TestRun.BeforeTestRun
|
||||
set { ViewState["QuestionEditImg"] = value; }
|
||||
}
|
||||
|
||||
///// <summary>
|
||||
///// 整改图片是否可编辑
|
||||
///// </summary>
|
||||
//public int RectifyEditImg
|
||||
//{
|
||||
// get { return (int)ViewState["RectifyEditImg"]; }
|
||||
// set { ViewState["RectifyEditImg"] = value; }
|
||||
//}
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
@@ -454,6 +445,9 @@ namespace FineUIPro.Web.TestRun.BeforeTestRun
|
||||
{
|
||||
Funs.DB.PreRun_InspectTailTerm.InsertOnSubmit(model);
|
||||
}
|
||||
//判断尾项是否保存
|
||||
var itemModel = Funs.DB.PreRun_SubInspectTermItem.FirstOrDefault(x => x.TermItemId == this.TermItemId);
|
||||
if (itemModel != null) itemModel.InspectionResults = 0;
|
||||
Funs.DB.SubmitChanges();
|
||||
ShowNotify("操作成功!", MessageBoxIcon.Success);
|
||||
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
|
||||
|
||||
Reference in New Issue
Block a user