作业票

This commit is contained in:
2026-03-05 15:18:57 +08:00
parent bdf83e0509
commit 170f26497c
25 changed files with 886 additions and 359 deletions
@@ -39,7 +39,8 @@ namespace FineUIPro.Web.HSSE.License
Model.License_LicenseManager licenseManager = BLL.LicenseManagerService.GetLicenseManagerById(this.LicenseManagerId);
if (licenseManager != null)
{
this.txtLicenseManagerCode.Text = BLL.CodeRecordsService.ReturnCodeByDataId(this.LicenseManagerId);
this.txtLicenseManagerCode.Text = licenseManager.LicenseManagerCode;
//this.txtLicenseManagerCode.Text = BLL.CodeRecordsService.ReturnCodeByDataId(this.LicenseManagerId);
if (!string.IsNullOrEmpty(licenseManager.UnitId))
{
var unit = BLL.UnitService.GetUnitByUnitId(licenseManager.UnitId);
@@ -104,6 +105,20 @@ namespace FineUIPro.Web.HSSE.License
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/LicenseManagerAttachUrl&menuId={1}&type=-1", LicenseManagerId, BLL.Const.ProjectLicenseManagerMenuId)));
}
}
/// <summary>
/// 上传关闭附件
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnAttachUrlGB_Click(object sender, EventArgs e)
{
if (!string.IsNullOrEmpty(this.LicenseManagerId))
{
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/LicenseManagerAttachUrl&menuId={1}&type=-1", LicenseManagerId + "_GB", BLL.Const.ProjectLicenseManagerMenuId)));
}
}
#endregion
}
}