feat(hjgl): 完善检测结果导入与焊接质量管理
通过批量导入、标准化打印和材料导出,减少检测结果及材料信息的人工整理,确保检测单、委托状态和焊口质量资料保持一致。
This commit is contained in:
@@ -83,6 +83,7 @@ namespace FineUIPro.Web.HJGL.NDT
|
||||
if (buttonList.Contains(BLL.Const.BtnSave))
|
||||
{
|
||||
this.btnEdit.Hidden = false;
|
||||
this.btnUnitWorkImport.Hidden = false;
|
||||
}
|
||||
if (buttonList.Contains(BLL.Const.BtnAuditing))
|
||||
{
|
||||
@@ -1073,5 +1074,27 @@ namespace FineUIPro.Web.HJGL.NDT
|
||||
ShowNotify("请选择委托单号!", MessageBoxIcon.Warning);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 单位工程级批量导入检测结果
|
||||
/// </summary>
|
||||
protected void btnUnitWorkImport_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (!CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.PersonId, Const.HJGL_NDTBatchMenuId, Const.BtnSave))
|
||||
{
|
||||
ShowNotify("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
|
||||
if (this.tvControlItem.SelectedNode == null || this.tvControlItem.SelectedNode.CommandName != "单位工程")
|
||||
{
|
||||
ShowNotify("请先选中单位工程节点!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
|
||||
string window = string.Format("NDTBatchUnitImport.aspx?unitWorkId={0}&type={1}",
|
||||
Server.UrlEncode(this.tvControlItem.SelectedNodeID), Server.UrlEncode(this.Type));
|
||||
PageContext.RegisterStartupScript(Window2.GetShowReference(window));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user