1、关键事项新增时,邮件提醒抄送人;
2、施工技术交底、培训记录,补充附件上传功能;
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using BLL;
|
||||
using FineUIPro.Web.Comprehensive;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
@@ -47,6 +48,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
|
||||
if (con != null)
|
||||
{
|
||||
this.ConTechnologyDisclosureId = con.ConTechnologyDisclosureId;
|
||||
this.hdAttachUrl.Text = this.ConTechnologyDisclosureId;
|
||||
if (!string.IsNullOrEmpty(con.CNProfessionalId))
|
||||
{
|
||||
this.drpCNProfessionalId.SelectedValue = con.CNProfessionalId;
|
||||
@@ -124,11 +126,18 @@ namespace FineUIPro.Web.CQMS.Comprehensive
|
||||
newCon.AttendMan = this.txtAttendMan.Text.Trim();
|
||||
newCon.RemarkCode = Funs.GetNewInt(this.txtRemarkCode.Text.Trim());
|
||||
newCon.DisclosurePersonNum = Funs.GetNewInt(this.txtDisclosurePersonNum.Text.Trim());
|
||||
|
||||
|
||||
if (string.IsNullOrEmpty(this.ConTechnologyDisclosureId))
|
||||
{
|
||||
newCon.ConTechnologyDisclosureId = SQLHelper.GetNewID(typeof(Model.Comprehensive_ConTechnologyDisclosure));
|
||||
|
||||
if (!string.IsNullOrEmpty(this.hdAttachUrl.Text))
|
||||
{
|
||||
newCon.ConTechnologyDisclosureId = this.hdAttachUrl.Text;
|
||||
}
|
||||
else
|
||||
{
|
||||
newCon.ConTechnologyDisclosureId = SQLHelper.GetNewID(typeof(Model.Comprehensive_ConTechnologyDisclosure));
|
||||
this.hdAttachUrl.Text = newCon.ConTechnologyDisclosureId;
|
||||
}
|
||||
newCon.CompileMan = this.CurrUser.UserId;
|
||||
newCon.CompileDate = DateTime.Now;
|
||||
BLL.ConTechnologyDisclosureService.AddConTechnologyDisclosure(newCon);
|
||||
@@ -165,5 +174,22 @@ namespace FineUIPro.Web.CQMS.Comprehensive
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 附件上传
|
||||
/// <summary>
|
||||
/// 附件上传
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnAttach_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (string.IsNullOrEmpty(this.hdAttachUrl.Text)) //新增记录
|
||||
{
|
||||
this.hdAttachUrl.Text = SQLHelper.GetNewID(typeof(Model.Comprehensive_DesignDetails));
|
||||
}
|
||||
Model.Comprehensive_ConTechnologyDisclosure con = BLL.ConTechnologyDisclosureService.GetConTechnologyDisclosureById(this.ConTechnologyDisclosureId);
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/CQMS/ConTechnologyDisclosure&menuId={1}", this.hdAttachUrl.Text, BLL.Const.ConTechnologyDisclosureMenuId)));
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user