fix:危大工程
This commit is contained in:
@@ -3,6 +3,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
|
||||
@@ -34,11 +35,12 @@ namespace FineUIPro.Web.Comprehensive
|
||||
{
|
||||
string strSql = @"select MajorPlanApprovalId, ProjectId, PlanCode, PlanName, ReviewMan, ApprovalDate,
|
||||
AuditMan, ApprovalMan, ImplementationDeviation, AttachUrl, CompileMan, CompileDate,
|
||||
UnitWorkId,CN.ProfessionalName,C.CNProfessionalId,C.UnitId,u.UnitName ,
|
||||
UnitWorkId,CN.ProfessionalName,C.CNProfessionalId,C.UnitId,u.UnitName ,Const.ConstText as TypeName,C.SchemeType,
|
||||
case IsReview when 1 then '是' else '否' end as IsReview,C.RemarkCode
|
||||
from Comprehensive_MajorPlanApproval C
|
||||
left join Base_CNProfessional CN on C.CNProfessionalId=CN.CNProfessionalId
|
||||
left join Base_Unit as u on u.UnitId = C.UnitId
|
||||
LEFT JOIN Sys_Const AS Const ON C.HazardType=Const.ConstValue and Const.GroupId='LargerHazardType'
|
||||
where C.ProjectId = @ProjectId";
|
||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
listStr.Add(new SqlParameter("@ProjectId", this.CurrUser.LoginProjectId));
|
||||
@@ -431,5 +433,14 @@ namespace FineUIPro.Web.Comprehensive
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
protected void attchUrl_Click(object sender, EventArgs e)
|
||||
{
|
||||
Debug.WriteLine("attchUrl_Click");
|
||||
var d = Grid1.SelectedRowID;
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format(
|
||||
"../../AttachFile/webuploader.aspx?type=-1&source=1&toKeyId={0}&path=FileUpload/CQMS/MajorPlanApproval&menuId={1}",
|
||||
d, BLL.Const.MajorPlanApprovalMenuId)));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user