refactor(cqms): 整理检查模块并迁移 WBS 服务
清理旧检查页面、服务和接口,补充 WBS 检查服务及数据库脚本,同步工程引用与菜单配置,收敛 CQMS 检查功能的代码组织。
This commit is contained in:
@@ -116,24 +116,6 @@ namespace FineUIPro.Web.Controls
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (!string.IsNullOrEmpty(Request.Params["TechnicalDiscloseId"]))
|
||||
{
|
||||
var technicalDisclose = Funs.DB.Technical_TechnicalDisclose.FirstOrDefault(e => e.TechnicalDiscloseId == Request.Params["TechnicalDiscloseId"]);
|
||||
if (technicalDisclose != null)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(technicalDisclose.QRCodeAttachUrl) && CreateQRCodeService.isHaveImage(technicalDisclose.QRCodeAttachUrl))
|
||||
{
|
||||
this.QRCodeAttachUrl = technicalDisclose.QRCodeAttachUrl;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.CreateCode_Simple(Request.Params["strCode"]);
|
||||
technicalDisclose.QRCodeAttachUrl = this.QRCodeAttachUrl;
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
this.Image1.ImageUrl = "~/" + this.QRCodeAttachUrl;
|
||||
}
|
||||
|
||||
@@ -210,10 +192,6 @@ namespace FineUIPro.Web.Controls
|
||||
{
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("QRCodePrint.aspx?ServerTestPlanId={0}", Request.Params["ServerTestPlanId"], "打印 - ")));
|
||||
}
|
||||
else if (!string.IsNullOrEmpty(Request.Params["TechnicalDiscloseId"]))
|
||||
{
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("QRCodePrint.aspx?TechnicalDiscloseId={0}", Request.Params["TechnicalDiscloseId"], "打印 - ")));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user