20250613 试压包

This commit is contained in:
2025-06-13 10:54:16 +08:00
parent eef442181b
commit d22783f08f
11 changed files with 1534 additions and 2 deletions
@@ -597,5 +597,35 @@ namespace FineUIPro.Web.HJGL.TestPackage
ctlAuditFlow.data = parameter3D;
ctlAuditFlow.BindData();
}
/// <summary>
/// 导入
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnMenuImport_Click(object sender, EventArgs e)
{
if (this.tvControlItem.SelectedNode.CommandName == "单位工程")
{
if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.PersonId, Const.TestPackageEditMenuId, Const.BtnAdd))
{
if (this.tvControlItem.SelectedNode != null && this.tvControlItem.SelectedNode.CommandName == "单位工程")
{
this.SetTextTemp();
string window = String.Format("TestPackageImport.aspx?unitWorkId={0}", this.tvControlItem.SelectedNodeID, "导入 - ");
PageContext.RegisterStartupScript(Window1.GetSaveStateReference(this.hdPTP_ID.ClientID)
+ Window1.GetShowReference(window));
}
}
else
{
ShowNotify("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
}
}
else
{
ShowNotify("非单位工程类型无法导入!", MessageBoxIcon.Warning);
}
}
}
}