专项检查
This commit is contained in:
@@ -27,7 +27,7 @@ REM --------------
|
|||||||
@echo.
|
@echo.
|
||||||
@call "%VS150%"
|
@call "%VS150%"
|
||||||
|
|
||||||
SqlMetal /views /server:DESKTOP-MEED9GU\SQLSERVER /user:sa /password:303303 /database:SGGLDB_HBAZ /code:%Model_ROOT%\Model.cs /namespace:Model
|
SqlMetal /views /server:47.104.102.122,14333 /user:sa /password:p@ssw0rd /database:SGGLDB_HBAZ /code:%Model_ROOT%\Model.cs /namespace:Model
|
||||||
|
|
||||||
@ECHO 完成
|
@ECHO 完成
|
||||||
pause
|
pause
|
||||||
|
|||||||
@@ -157,9 +157,7 @@ namespace BLL
|
|||||||
{
|
{
|
||||||
DateTime mdate = Funs.GetNewDateTimeOrNow(date);
|
DateTime mdate = Funs.GetNewDateTimeOrNow(date);
|
||||||
var hazardRegisters = (from x in db.HSSE_Hazard_HazardRegister
|
var hazardRegisters = (from x in db.HSSE_Hazard_HazardRegister
|
||||||
//join y in db.Base_Project on x.ProjectId equals projectId
|
where x.CheckTime.Value.Year == mdate.Year
|
||||||
where x.ProjectId == projectId
|
|
||||||
&& x.CheckTime.Value.Year == mdate.Year
|
|
||||||
&& x.CheckTime.Value.Month == mdate.Month
|
&& x.CheckTime.Value.Month == mdate.Month
|
||||||
&& x.CheckTime.Value.Day == mdate.Day
|
&& x.CheckTime.Value.Day == mdate.Day
|
||||||
select new Model.HazardRegisterItem
|
select new Model.HazardRegisterItem
|
||||||
@@ -181,6 +179,10 @@ namespace BLL
|
|||||||
Risk_Level = x.Risk_Level,
|
Risk_Level = x.Risk_Level,
|
||||||
|
|
||||||
}).OrderBy(x => x.CheckTime).ToList();
|
}).OrderBy(x => x.CheckTime).ToList();
|
||||||
|
if (String.IsNullOrEmpty(projectId))
|
||||||
|
{
|
||||||
|
hazardRegisters.Where(p => p.ProjectId == projectId);
|
||||||
|
}
|
||||||
return hazardRegisters;
|
return hazardRegisters;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,17 +1,88 @@
|
|||||||
using Model;
|
using System;
|
||||||
using System;
|
|
||||||
using System.Collections;
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using System.Web.UI.WebControls;
|
|
||||||
|
|
||||||
namespace BLL
|
namespace BLL
|
||||||
{
|
{
|
||||||
public class CheckControlService
|
public class CheckControlService
|
||||||
{
|
{
|
||||||
|
|
||||||
|
#region 质量巡检列表
|
||||||
|
public static Object GetListDataForApi(string state, string name, string projectId, int index, int page)
|
||||||
|
{
|
||||||
|
using (var db = new Model.SGGLDB(Funs.ConnString))
|
||||||
|
{
|
||||||
|
var list = db.Check_CheckControl.Select(x => new {
|
||||||
|
CheckControlCode = x.CheckControlCode,
|
||||||
|
DocCode = x.DocCode,
|
||||||
|
ProjectId = x.ProjectId,
|
||||||
|
States = x.State,
|
||||||
|
CheckSite = x.CheckSite,
|
||||||
|
QuestionDef = x.QuestionDef,
|
||||||
|
CheckDate = String.Format("{0:yyyy-MM-dd}", x.CheckDate),
|
||||||
|
LimitDate = String.Format("{0:yyyy-MM-dd}", x.LimitDate),
|
||||||
|
RectifyOpinion = x.RectifyOpinion,
|
||||||
|
CheckMan = x.CheckMan,
|
||||||
|
UnitWorkId = x.UnitWorkId,
|
||||||
|
UnitWorkName = (from y in db.WBS_UnitWork where y.UnitWorkId == x.UnitWorkId select y.UnitWorkName).First(),
|
||||||
|
CheckManName = (from y in db.Sys_User where y.UserId == x.CheckMan select y.UserName).First(),
|
||||||
|
PrincipalMan = x.DutyMan,
|
||||||
|
PrincipalManName = db.Sys_User.FirstOrDefault(e => e.UserId == x.DutyMan).UserName,
|
||||||
|
CNProfessionalCode = x.CNProfessionalCode,
|
||||||
|
CNProfessionalCodeName = db.Base_CNProfessional.FirstOrDefault(e => e.CNProfessionalId == x.CNProfessionalCode).ProfessionalName,
|
||||||
|
QuestionType = x.QuestionType,
|
||||||
|
QuestionTypeName = db.Base_QualityQuestionType.FirstOrDefault(e => e.QualityQuestionTypeId == x.QuestionType).QualityQuestionType,
|
||||||
|
}).Where(e => e.ProjectId == projectId);
|
||||||
|
if (state != "0")
|
||||||
|
{
|
||||||
|
list = list.Where(x => x.States == state);
|
||||||
|
}
|
||||||
|
return list.ToList().Skip(index * page).Take(page);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 质量巡检详细
|
||||||
|
public static object GetCheckControlForApi(string CheckControlCode)
|
||||||
|
{
|
||||||
|
using (var db = new Model.SGGLDB(Funs.ConnString))
|
||||||
|
{
|
||||||
|
object x = db.Check_CheckControl.Select(x => new {
|
||||||
|
CheckControlCode = x.CheckControlCode,
|
||||||
|
ProjectId = x.ProjectId,
|
||||||
|
ProjectName = db.Base_Project.FirstOrDefault(p => p.ProjectId == x.ProjectId).ProjectName,
|
||||||
|
DocCode = x.DocCode,
|
||||||
|
States = x.State,
|
||||||
|
CheckSite = x.CheckSite,
|
||||||
|
QuestionDef = x.QuestionDef,
|
||||||
|
CheckDate = String.Format("{0:yyyy-MM-dd}", x.CheckDate),
|
||||||
|
LimitDate = String.Format("{0:yyyy-MM-dd}", x.LimitDate),
|
||||||
|
RectifyOpinion = x.RectifyOpinion,
|
||||||
|
CheckMan = x.CheckMan,
|
||||||
|
UnitWorkId = x.UnitWorkId,
|
||||||
|
AttachUrl = x.AttachUrl,
|
||||||
|
HandleWay = x.HandleWay,
|
||||||
|
RectifyDate = String.Format("{0:yyyy-MM-dd}", x.RectifyDate),
|
||||||
|
ReAttachUrl = x.ReAttachUrl,
|
||||||
|
IsOk = x.IsOK,
|
||||||
|
OKDescr = x.OKDescr,
|
||||||
|
UnitWorkName = (from y in db.WBS_UnitWork where y.UnitWorkId == x.UnitWorkId select y.UnitWorkName).First(),
|
||||||
|
CheckManName = (from y in db.Sys_User where y.UserId == x.CheckMan select y.UserName).First(),
|
||||||
|
PrincipalMan = x.DutyMan,
|
||||||
|
PrincipalManName = db.Sys_User.FirstOrDefault(e => e.UserId == x.DutyMan).UserName,
|
||||||
|
CNProfessionalCode = x.CNProfessionalCode,
|
||||||
|
CNProfessionalCodeName = db.Base_CNProfessional.FirstOrDefault(e => e.CNProfessionalId == x.CNProfessionalCode).ProfessionalName,
|
||||||
|
QuestionType = x.QuestionType,
|
||||||
|
QuestionTypeName = db.Base_QualityQuestionType.FirstOrDefault(e => e.QualityQuestionTypeId == x.QuestionType).QualityQuestionType,
|
||||||
|
}).FirstOrDefault(e => e.CheckControlCode == CheckControlCode);
|
||||||
|
|
||||||
|
return x;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
public static Model.SGGLDB db = Funs.DB;
|
public static Model.SGGLDB db = Funs.DB;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 根据质量检查与控制Id删除一个质量检查与控制信息
|
/// 根据质量检查与控制Id删除一个质量检查与控制信息
|
||||||
@@ -50,7 +121,7 @@ namespace BLL
|
|||||||
{
|
{
|
||||||
dropName.DataValueField = "Value";
|
dropName.DataValueField = "Value";
|
||||||
dropName.DataTextField = "Text";
|
dropName.DataTextField = "Text";
|
||||||
dropName.DataSource = GetDHandleTypeByState(state);
|
//dropName.DataSource = GetDHandleTypeByState(state);
|
||||||
dropName.DataBind();
|
dropName.DataBind();
|
||||||
if (isShowPlease)
|
if (isShowPlease)
|
||||||
{
|
{
|
||||||
@@ -73,7 +144,6 @@ namespace BLL
|
|||||||
newCheckControl.UnitId = CheckControl.UnitId;
|
newCheckControl.UnitId = CheckControl.UnitId;
|
||||||
newCheckControl.CheckDate = CheckControl.CheckDate;
|
newCheckControl.CheckDate = CheckControl.CheckDate;
|
||||||
newCheckControl.CheckMan = CheckControl.CheckMan;
|
newCheckControl.CheckMan = CheckControl.CheckMan;
|
||||||
newCheckControl.IsSubmit = CheckControl.IsSubmit;
|
|
||||||
newCheckControl.SubmitMan = CheckControl.SubmitMan;
|
newCheckControl.SubmitMan = CheckControl.SubmitMan;
|
||||||
newCheckControl.CNProfessionalCode = CheckControl.CNProfessionalCode;
|
newCheckControl.CNProfessionalCode = CheckControl.CNProfessionalCode;
|
||||||
newCheckControl.QuestionType = CheckControl.QuestionType;
|
newCheckControl.QuestionType = CheckControl.QuestionType;
|
||||||
@@ -86,7 +156,7 @@ namespace BLL
|
|||||||
newCheckControl.RectifyDate = CheckControl.RectifyDate;
|
newCheckControl.RectifyDate = CheckControl.RectifyDate;
|
||||||
newCheckControl.ReAttachUrl = CheckControl.ReAttachUrl;
|
newCheckControl.ReAttachUrl = CheckControl.ReAttachUrl;
|
||||||
newCheckControl.State = CheckControl.State;
|
newCheckControl.State = CheckControl.State;
|
||||||
newCheckControl.SaveHandleMan = CheckControl.SaveHandleMan;
|
newCheckControl.DutyMan = CheckControl.DutyMan;
|
||||||
|
|
||||||
db.Check_CheckControl.InsertOnSubmit(newCheckControl);
|
db.Check_CheckControl.InsertOnSubmit(newCheckControl);
|
||||||
db.SubmitChanges();
|
db.SubmitChanges();
|
||||||
@@ -104,7 +174,6 @@ namespace BLL
|
|||||||
newCheckControl.UnitId = CheckControl.UnitId;
|
newCheckControl.UnitId = CheckControl.UnitId;
|
||||||
newCheckControl.CheckDate = CheckControl.CheckDate;
|
newCheckControl.CheckDate = CheckControl.CheckDate;
|
||||||
newCheckControl.CheckMan = CheckControl.CheckMan;
|
newCheckControl.CheckMan = CheckControl.CheckMan;
|
||||||
newCheckControl.IsSubmit = CheckControl.IsSubmit;
|
|
||||||
newCheckControl.SubmitMan = CheckControl.SubmitMan;
|
newCheckControl.SubmitMan = CheckControl.SubmitMan;
|
||||||
newCheckControl.CNProfessionalCode = CheckControl.CNProfessionalCode;
|
newCheckControl.CNProfessionalCode = CheckControl.CNProfessionalCode;
|
||||||
newCheckControl.QuestionType = CheckControl.QuestionType;
|
newCheckControl.QuestionType = CheckControl.QuestionType;
|
||||||
@@ -117,7 +186,7 @@ namespace BLL
|
|||||||
newCheckControl.RectifyDate = CheckControl.RectifyDate;
|
newCheckControl.RectifyDate = CheckControl.RectifyDate;
|
||||||
newCheckControl.ReAttachUrl = CheckControl.ReAttachUrl;
|
newCheckControl.ReAttachUrl = CheckControl.ReAttachUrl;
|
||||||
newCheckControl.State = CheckControl.State;
|
newCheckControl.State = CheckControl.State;
|
||||||
newCheckControl.SaveHandleMan = CheckControl.SaveHandleMan;
|
newCheckControl.DutyMan = CheckControl.DutyMan;
|
||||||
|
|
||||||
db.Check_CheckControl.InsertOnSubmit(newCheckControl);
|
db.Check_CheckControl.InsertOnSubmit(newCheckControl);
|
||||||
db.SubmitChanges();
|
db.SubmitChanges();
|
||||||
@@ -131,88 +200,59 @@ namespace BLL
|
|||||||
{
|
{
|
||||||
return Funs.DB.Check_CheckControl.FirstOrDefault(e => e.CheckControlCode == CheckControlCode);
|
return Funs.DB.Check_CheckControl.FirstOrDefault(e => e.CheckControlCode == CheckControlCode);
|
||||||
}
|
}
|
||||||
public static Model.Check_CheckControl GetCheckControlForApi(string CheckControlCode)
|
|
||||||
{
|
|
||||||
using (var db = new Model.SGGLDB(Funs.ConnString))
|
|
||||||
{
|
|
||||||
Model.Check_CheckControl x = db.Check_CheckControl.FirstOrDefault(e => e.CheckControlCode == CheckControlCode);
|
|
||||||
x.AttachUrl = AttachFileService.getFileUrl(x.CheckControlCode);
|
|
||||||
x.ReAttachUrl = AttachFileService.getFileUrl(x.CheckControlCode + "r");
|
|
||||||
x.QuestionType = x.QuestionType + "$" + BLL.QualityQuestionTypeService.GetQualityQuestionType(x.QuestionType).QualityQuestionType;
|
|
||||||
var unit = UnitService.GetUnitByUnitId(x.UnitId);
|
|
||||||
x.UnitId = x.UnitId + "$" + unit.UnitName;
|
|
||||||
var ppunit = UnitService.GetUnitByUnitId(x.ProposeUnitId);
|
|
||||||
var punit = ProjectUnitService.GetProjectUnitByUnitIdProjectId(x.ProjectId, x.ProposeUnitId);
|
|
||||||
if (punit != null)
|
|
||||||
{
|
|
||||||
x.ProposeUnitId = x.ProposeUnitId + "$" + ppunit.UnitName + "$" + punit.UnitType;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
x.ProposeUnitId = x.ProposeUnitId + "$" + "$";
|
|
||||||
|
|
||||||
}
|
|
||||||
Sys_User checkMen = UserService.GetUserByUserId(x.CheckMan);
|
|
||||||
|
|
||||||
x.CheckMan = (checkMen != null ? checkMen.UserName : "") + "$" + UnitWorkService.GetNameById(x.UnitWorkId) + "$" + ConvertManAndID(x.CheckControlCode);
|
|
||||||
|
|
||||||
x.CNProfessionalCode = x.CNProfessionalCode + "$" + CNProfessionalService.GetCNProfessionalNameByCode(x.CNProfessionalCode);
|
|
||||||
return x;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 根据状态选择下一步办理类型
|
/// 根据状态选择下一步办理类型
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="state"></param>
|
/// <param name="state"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public static ListItem[] GetDHandleTypeByState(string state)
|
//public static ListItem[] GetDHandleTypeByState(string state)
|
||||||
{
|
//{
|
||||||
if (state == Const.CheckControl_Compile || state == Const.CheckControl_ReCompile) //无是否同意
|
// if (state == Const.CheckControl_Compile || state == Const.CheckControl_ReCompile) //无是否同意
|
||||||
{
|
// {
|
||||||
ListItem[] lis = new ListItem[2];
|
// ListItem[] lis = new ListItem[2];
|
||||||
lis[0] = new ListItem("分包专业工程师回复", Const.CheckControl_Audit2);
|
// lis[0] = new ListItem("分包专业工程师回复", Const.CheckControl_Audit2);
|
||||||
lis[1] = new ListItem("总包负责人审核", Const.CheckControl_Audit1);
|
// lis[1] = new ListItem("总包负责人审核", Const.CheckControl_Audit1);
|
||||||
return lis;
|
// return lis;
|
||||||
}
|
// }
|
||||||
else if (state == Const.CheckControl_Audit1)//有是否同意
|
// else if (state == Const.CheckControl_Audit1)//有是否同意
|
||||||
{
|
// {
|
||||||
ListItem[] lis = new ListItem[2];
|
// ListItem[] lis = new ListItem[2];
|
||||||
lis[0] = new ListItem("分包专业工程师回复", Const.CheckControl_Audit2);//是 加载
|
// lis[0] = new ListItem("分包专业工程师回复", Const.CheckControl_Audit2);//是 加载
|
||||||
lis[1] = new ListItem("重新编制", Const.CheckControl_ReCompile);//否加载
|
// lis[1] = new ListItem("重新编制", Const.CheckControl_ReCompile);//否加载
|
||||||
return lis;
|
// return lis;
|
||||||
}
|
// }
|
||||||
else if (state == Const.CheckControl_Audit2 || state == Const.CheckControl_ReCompile2)//无是否同意
|
// else if (state == Const.CheckControl_Audit2 || state == Const.CheckControl_ReCompile2)//无是否同意
|
||||||
{
|
// {
|
||||||
ListItem[] lis = new ListItem[1];
|
// ListItem[] lis = new ListItem[1];
|
||||||
lis[0] = new ListItem("总包专业工程师确认", Const.CheckControl_Audit4);
|
// lis[0] = new ListItem("总包专业工程师确认", Const.CheckControl_Audit4);
|
||||||
return lis;
|
// return lis;
|
||||||
}
|
// }
|
||||||
else if (state == Const.CheckControl_Audit3)//有是否同意
|
// else if (state == Const.CheckControl_Audit3)//有是否同意
|
||||||
{
|
// {
|
||||||
ListItem[] lis = new ListItem[2];
|
// ListItem[] lis = new ListItem[2];
|
||||||
lis[0] = new ListItem("总包专业工程师确认", Const.CheckControl_Audit4);//是 加载
|
// lis[0] = new ListItem("总包专业工程师确认", Const.CheckControl_Audit4);//是 加载
|
||||||
lis[1] = new ListItem("分包专业工程师重新回复", Const.CheckControl_ReCompile2);//否加载
|
// lis[1] = new ListItem("分包专业工程师重新回复", Const.CheckControl_ReCompile2);//否加载
|
||||||
return lis;
|
// return lis;
|
||||||
}
|
// }
|
||||||
else if (state == Const.CheckControl_Audit4)//有是否同意
|
// else if (state == Const.CheckControl_Audit4)//有是否同意
|
||||||
{
|
// {
|
||||||
ListItem[] lis = new ListItem[2];
|
// ListItem[] lis = new ListItem[2];
|
||||||
// lis[0] = new ListItem("总包负责人确认", Const.CheckControl_Audit5);//是 加载
|
// // lis[0] = new ListItem("总包负责人确认", Const.CheckControl_Audit5);//是 加载
|
||||||
lis[0] = new ListItem("审批完成", Const.CheckControl_Complete);//是 加载
|
// lis[0] = new ListItem("审批完成", Const.CheckControl_Complete);//是 加载
|
||||||
lis[1] = new ListItem("分包专业工程师重新回复", Const.CheckControl_ReCompile2);//否加载
|
// lis[1] = new ListItem("分包专业工程师重新回复", Const.CheckControl_ReCompile2);//否加载
|
||||||
return lis;
|
// return lis;
|
||||||
}
|
// }
|
||||||
else if (state == Const.CheckControl_Audit5)//有是否同意
|
// else if (state == Const.CheckControl_Audit5)//有是否同意
|
||||||
{
|
// {
|
||||||
ListItem[] lis = new ListItem[2];
|
// ListItem[] lis = new ListItem[2];
|
||||||
lis[0] = new ListItem("审批完成", Const.CheckControl_Complete);//是 加载
|
// lis[0] = new ListItem("审批完成", Const.CheckControl_Complete);//是 加载
|
||||||
lis[1] = new ListItem("分包专业工程师重新回复", Const.CheckControl_ReCompile2);//否加载
|
// lis[1] = new ListItem("分包专业工程师重新回复", Const.CheckControl_ReCompile2);//否加载
|
||||||
return lis;
|
// return lis;
|
||||||
}
|
// }
|
||||||
else
|
// else
|
||||||
return null;
|
// return null;
|
||||||
}
|
//}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 修改质量检查与控制
|
/// 修改质量检查与控制
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -226,7 +266,6 @@ namespace BLL
|
|||||||
newCheckControl.UnitWorkId = CheckControl.UnitWorkId;
|
newCheckControl.UnitWorkId = CheckControl.UnitWorkId;
|
||||||
newCheckControl.UnitId = CheckControl.UnitId;
|
newCheckControl.UnitId = CheckControl.UnitId;
|
||||||
newCheckControl.CheckDate = CheckControl.CheckDate;
|
newCheckControl.CheckDate = CheckControl.CheckDate;
|
||||||
newCheckControl.IsSubmit = CheckControl.IsSubmit;
|
|
||||||
newCheckControl.SubmitMan = CheckControl.SubmitMan;
|
newCheckControl.SubmitMan = CheckControl.SubmitMan;
|
||||||
newCheckControl.IsOK = CheckControl.IsOK;
|
newCheckControl.IsOK = CheckControl.IsOK;
|
||||||
newCheckControl.CNProfessionalCode = CheckControl.CNProfessionalCode;
|
newCheckControl.CNProfessionalCode = CheckControl.CNProfessionalCode;
|
||||||
@@ -240,123 +279,11 @@ namespace BLL
|
|||||||
newCheckControl.RectifyDate = CheckControl.RectifyDate;
|
newCheckControl.RectifyDate = CheckControl.RectifyDate;
|
||||||
newCheckControl.ReAttachUrl = CheckControl.ReAttachUrl;
|
newCheckControl.ReAttachUrl = CheckControl.ReAttachUrl;
|
||||||
newCheckControl.State = CheckControl.State;
|
newCheckControl.State = CheckControl.State;
|
||||||
newCheckControl.SaveHandleMan = CheckControl.SaveHandleMan;
|
newCheckControl.DutyMan = CheckControl.DutyMan;
|
||||||
|
|
||||||
db.SubmitChanges();
|
db.SubmitChanges();
|
||||||
}
|
}
|
||||||
public static List<Model.Check_CheckControl> GetListDataForApi(string state, string name, string projectId, int index, int page)
|
|
||||||
{
|
|
||||||
using (var db = new Model.SGGLDB(Funs.ConnString))
|
|
||||||
{
|
|
||||||
IQueryable<Model.Check_CheckControl> q = db.Check_CheckControl;
|
|
||||||
List<string> ids = new List<string>();
|
|
||||||
if (!string.IsNullOrEmpty(name))
|
|
||||||
{
|
|
||||||
var qunit = from u in Funs.DB.Base_Unit
|
|
||||||
where u.UnitName.Contains(name)
|
|
||||||
select u.UnitId;
|
|
||||||
ids = qunit.ToList();
|
|
||||||
q = q.Where(e => ids.Contains(e.UnitId));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(projectId))
|
|
||||||
{
|
|
||||||
q = q.Where(e => e.ProjectId == projectId);
|
|
||||||
}
|
|
||||||
switch (state)
|
|
||||||
{
|
|
||||||
case "1": // 未整改
|
|
||||||
q = q.Where(e => e.State != BLL.Const.CheckControl_Audit4
|
|
||||||
&& e.State != BLL.Const.CheckControl_Audit5
|
|
||||||
&& e.State != BLL.Const.CheckControl_Complete
|
|
||||||
&& e.LimitDate > DateTime.Now);
|
|
||||||
break;
|
|
||||||
case "2": // 待确认 5/6
|
|
||||||
q = q.Where(e => e.State == BLL.Const.CheckControl_Audit4 || e.State == BLL.Const.CheckControl_Audit5);
|
|
||||||
break;
|
|
||||||
case "3": // 已闭环 7
|
|
||||||
q = q.Where(e => e.State == BLL.Const.CheckControl_Complete);
|
|
||||||
break;
|
|
||||||
case "4": // 超期未整改
|
|
||||||
q = q.Where(e => e.State != BLL.Const.CheckControl_Audit4
|
|
||||||
&& e.State != BLL.Const.CheckControl_Audit5
|
|
||||||
&& e.State != BLL.Const.CheckControl_Complete
|
|
||||||
&& e.LimitDate < DateTime.Now);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
var qq1 = from x in q
|
|
||||||
orderby x.DocCode descending
|
|
||||||
select new
|
|
||||||
{
|
|
||||||
x.CheckControlCode,
|
|
||||||
x.DocCode,
|
|
||||||
x.UnitId,
|
|
||||||
x.ProposeUnitId,
|
|
||||||
x.UnitWorkId,
|
|
||||||
x.CheckDate,
|
|
||||||
x.State,
|
|
||||||
x.CheckSite,
|
|
||||||
x.IsSubmit,
|
|
||||||
x.AttachUrl,
|
|
||||||
x.QuestionDef,
|
|
||||||
x.QuestionType,
|
|
||||||
x.RectifyOpinion,
|
|
||||||
x.LimitDate,
|
|
||||||
x.CNProfessionalCode,
|
|
||||||
|
|
||||||
CNProfessionalName = (from y in db.Base_CNProfessional where y.CNProfessionalId == x.CNProfessionalCode select y.ProfessionalName).First(),
|
|
||||||
UnitWork = (from y in db.WBS_UnitWork where y.UnitWorkId == x.UnitWorkId select y.UnitWorkCode + "-" + y.UnitWorkName + (y.ProjectType == "1" ? "(建筑)" : "(安装)")).First(),
|
|
||||||
CheckMan = (from y in db.Sys_User where y.UserId == x.CheckMan select y.UserName).First()
|
|
||||||
|
|
||||||
};
|
|
||||||
var list = qq1.Skip(index * page).Take(page).ToList();
|
|
||||||
|
|
||||||
List<Model.Check_CheckControl> listRes = new List<Model.Check_CheckControl>();
|
|
||||||
for (int i = 0; i < list.Count; i++)
|
|
||||||
{
|
|
||||||
try
|
|
||||||
{
|
|
||||||
Model.Check_CheckControl x = new Model.Check_CheckControl();
|
|
||||||
x.CheckControlCode = list[i].CheckControlCode;
|
|
||||||
x.DocCode = list[i].DocCode;
|
|
||||||
x.UnitWorkId = list[i].UnitWorkId;
|
|
||||||
x.CheckDate = list[i].CheckDate;
|
|
||||||
x.UnitId = list[i].UnitId + "$" + UnitService.GetUnitNameByUnitId(list[i].UnitId);
|
|
||||||
var punit = ProjectUnitService.GetProjectUnitByUnitIdProjectId(projectId, list[i].ProposeUnitId);
|
|
||||||
string unitType = string.Empty;
|
|
||||||
if (punit != null)
|
|
||||||
{
|
|
||||||
unitType = punit.UnitType;
|
|
||||||
}
|
|
||||||
x.ProposeUnitId = list[i].ProposeUnitId + "$" + UnitService.GetUnitNameByUnitId(list[i].ProposeUnitId) + "$" + unitType;
|
|
||||||
x.CheckMan = list[i].CheckMan + "$" + list[i].UnitWork + "$" + ConvertManAndID(list[i].CheckControlCode);
|
|
||||||
x.State = list[i].State;
|
|
||||||
x.CheckSite = list[i].CheckSite;
|
|
||||||
x.IsSubmit = list[i].IsSubmit;
|
|
||||||
x.AttachUrl = list[i].AttachUrl;
|
|
||||||
x.QuestionDef = list[i].QuestionDef;
|
|
||||||
if (!string.IsNullOrEmpty(list[i].QuestionType))
|
|
||||||
{
|
|
||||||
var qualityQuestionType = BLL.QualityQuestionTypeService.GetQualityQuestionType(list[i].QuestionType);
|
|
||||||
x.QuestionType = list[i].QuestionType + "$" + qualityQuestionType.QualityQuestionType
|
|
||||||
+ "$" + (qualityQuestionType.Type.HasValue&&qualityQuestionType.Type.Value==1? "建筑工程" : "安装工程");
|
|
||||||
}
|
|
||||||
x.RectifyOpinion = list[i].RectifyOpinion;
|
|
||||||
x.LimitDate = list[i].LimitDate;
|
|
||||||
x.CNProfessionalCode = list[i].CNProfessionalCode + "$" + list[i].CNProfessionalName;
|
|
||||||
x.AttachUrl = AttachFileService.getFileUrl(x.CheckControlCode);
|
|
||||||
x.ReAttachUrl = AttachFileService.getFileUrl(x.CheckControlCode + "r");
|
|
||||||
listRes.Add(x);
|
|
||||||
}
|
|
||||||
catch (Exception e)
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return listRes;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// 查询数量
|
// 查询数量
|
||||||
public static string GetListCountStr(string projectId, string searchWord, string unitId, string unitWork, string problemType, string professional, string dateA, string dateZ)
|
public static string GetListCountStr(string projectId, string searchWord, string unitId, string unitWork, string problemType, string professional, string dateA, string dateZ)
|
||||||
{
|
{
|
||||||
@@ -518,7 +445,6 @@ namespace BLL
|
|||||||
x.CheckDate,
|
x.CheckDate,
|
||||||
x.State,
|
x.State,
|
||||||
x.CheckSite,
|
x.CheckSite,
|
||||||
x.IsSubmit,
|
|
||||||
x.AttachUrl,
|
x.AttachUrl,
|
||||||
x.QuestionDef,
|
x.QuestionDef,
|
||||||
x.QuestionType,
|
x.QuestionType,
|
||||||
@@ -546,7 +472,6 @@ namespace BLL
|
|||||||
x.CheckMan = list[i].CheckMan + "$" + list[i].UnitWork + "$" + ConvertManAndID(list[i].CheckControlCode);
|
x.CheckMan = list[i].CheckMan + "$" + list[i].UnitWork + "$" + ConvertManAndID(list[i].CheckControlCode);
|
||||||
x.State = list[i].State;
|
x.State = list[i].State;
|
||||||
x.CheckSite = list[i].CheckSite;
|
x.CheckSite = list[i].CheckSite;
|
||||||
x.IsSubmit = list[i].IsSubmit;
|
|
||||||
x.AttachUrl = list[i].AttachUrl;
|
x.AttachUrl = list[i].AttachUrl;
|
||||||
x.QuestionDef = list[i].QuestionDef;
|
x.QuestionDef = list[i].QuestionDef;
|
||||||
if (!string.IsNullOrEmpty(list[i].QuestionType))
|
if (!string.IsNullOrEmpty(list[i].QuestionType))
|
||||||
@@ -607,45 +532,16 @@ namespace BLL
|
|||||||
|
|
||||||
using (var db = new Model.SGGLDB(Funs.ConnString))
|
using (var db = new Model.SGGLDB(Funs.ConnString))
|
||||||
{
|
{
|
||||||
Model.Check_CheckControl newCheckControl = db.Check_CheckControl.First(e => e.CheckControlCode == CheckControl.CheckControlCode);
|
Model.Check_CheckControl item = db.Check_CheckControl.First(e => e.CheckControlCode == CheckControl.CheckControlCode);
|
||||||
if (!string.IsNullOrEmpty(CheckControl.DocCode))
|
|
||||||
newCheckControl.DocCode = CheckControl.DocCode;
|
item.DocCode = item.DocCode??CheckControl.DocCode;
|
||||||
if (!string.IsNullOrEmpty(CheckControl.UnitWorkId))
|
item.UnitWorkId = item.UnitWorkId??CheckControl.UnitWorkId;
|
||||||
newCheckControl.UnitWorkId = CheckControl.UnitWorkId;
|
item.ReAttachUrl = item.ReAttachUrl??CheckControl.ReAttachUrl;
|
||||||
if (!string.IsNullOrEmpty(CheckControl.UnitId))
|
item.RectifyDate = item.RectifyDate??CheckControl.RectifyDate;
|
||||||
newCheckControl.UnitId = CheckControl.UnitId;
|
item.HandleWay = CheckControl.HandleWay;
|
||||||
if (CheckControl.CheckDate.HasValue)
|
item.State = CheckControl.State;
|
||||||
newCheckControl.CheckDate = CheckControl.CheckDate;
|
item.OKDescr = CheckControl.OKDescr;
|
||||||
if (CheckControl.IsSubmit.HasValue)
|
item.IsOK = item.IsOK??CheckControl.IsOK;
|
||||||
newCheckControl.IsSubmit = CheckControl.IsSubmit;
|
|
||||||
if (!string.IsNullOrEmpty(CheckControl.SubmitMan))
|
|
||||||
newCheckControl.SubmitMan = CheckControl.SubmitMan;
|
|
||||||
if (CheckControl.IsOK.HasValue)
|
|
||||||
newCheckControl.IsOK = CheckControl.IsOK;
|
|
||||||
if (!string.IsNullOrEmpty(CheckControl.CNProfessionalCode))
|
|
||||||
newCheckControl.CNProfessionalCode = CheckControl.CNProfessionalCode;
|
|
||||||
if (!string.IsNullOrEmpty(CheckControl.QuestionType))
|
|
||||||
newCheckControl.QuestionType = CheckControl.QuestionType;
|
|
||||||
if (!string.IsNullOrEmpty(CheckControl.CheckSite))
|
|
||||||
newCheckControl.CheckSite = CheckControl.CheckSite;
|
|
||||||
if (!string.IsNullOrEmpty(CheckControl.QuestionDef))
|
|
||||||
newCheckControl.QuestionDef = CheckControl.QuestionDef;
|
|
||||||
if (CheckControl.LimitDate.HasValue)
|
|
||||||
newCheckControl.LimitDate = CheckControl.LimitDate;
|
|
||||||
if (!string.IsNullOrEmpty(CheckControl.RectifyOpinion))
|
|
||||||
newCheckControl.RectifyOpinion = CheckControl.RectifyOpinion;
|
|
||||||
if (!string.IsNullOrEmpty(CheckControl.AttachUrl))
|
|
||||||
newCheckControl.AttachUrl = CheckControl.AttachUrl;
|
|
||||||
if (!string.IsNullOrEmpty(CheckControl.HandleWay))
|
|
||||||
newCheckControl.HandleWay = CheckControl.HandleWay;
|
|
||||||
if (CheckControl.RectifyDate.HasValue)
|
|
||||||
newCheckControl.RectifyDate = CheckControl.RectifyDate;
|
|
||||||
if (!string.IsNullOrEmpty(CheckControl.ReAttachUrl))
|
|
||||||
newCheckControl.ReAttachUrl = CheckControl.ReAttachUrl;
|
|
||||||
if (!string.IsNullOrEmpty(CheckControl.State))
|
|
||||||
newCheckControl.State = CheckControl.State;
|
|
||||||
if (!string.IsNullOrEmpty(CheckControl.ProposeUnitId))
|
|
||||||
newCheckControl.ProposeUnitId = CheckControl.ProposeUnitId;
|
|
||||||
db.SubmitChanges();
|
db.SubmitChanges();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -109,14 +109,39 @@ namespace BLL
|
|||||||
|
|
||||||
return isok;
|
return isok;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#region API
|
|
||||||
/// <summary>
|
#region API
|
||||||
/// 根据--1 建筑工程 2 安装工程或者3(全部)分组问题类别 ---何丽梅
|
/// <summary>
|
||||||
/// </summary>
|
/// 根据--1 建筑工程 2 安装工程或者3(全部)分组问题类别 ---何丽梅
|
||||||
/// <returns></returns>
|
/// </summary>
|
||||||
public static List<dynamic> GetGroupProjectName(int ProjectQualityType)
|
/// <returns></returns>
|
||||||
|
|
||||||
|
public static List<dynamic> GetGroupProjectName( int PageNumber, int PageSize, string Keyword)
|
||||||
|
{
|
||||||
|
//var list = db.WBS_ProjectQuality.Where(c => c.ProjectQualityType == ProjectQualityType).GroupBy(c => c.ProjectName).Select(c => c.Key).ToList();
|
||||||
|
//return list;
|
||||||
|
|
||||||
|
var list = from y in Funs.DB.Base_QualityQuestionType
|
||||||
|
where y.Type == 2 || y.Type == 1
|
||||||
|
select new
|
||||||
|
{
|
||||||
|
y.Type,
|
||||||
|
y.QualityQuestionType,
|
||||||
|
y.QualityQuestionTypeId
|
||||||
|
}
|
||||||
|
;
|
||||||
|
if(!string.IsNullOrEmpty(Keyword))
|
||||||
|
{
|
||||||
|
list = list.Where(x => x.QualityQuestionType.Contains(Keyword));
|
||||||
|
}
|
||||||
|
list = list.Skip((PageNumber - 1) * PageSize).Take(PageSize);
|
||||||
|
|
||||||
|
return list.Distinct().ToList<dynamic>();
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
public static List<dynamic> GetGroupProjectName(int ProjectQualityType)
|
||||||
{
|
{
|
||||||
//var list = db.WBS_ProjectQuality.Where(c => c.ProjectQualityType == ProjectQualityType).GroupBy(c => c.ProjectName).Select(c => c.Key).ToList();
|
//var list = db.WBS_ProjectQuality.Where(c => c.ProjectQualityType == ProjectQualityType).GroupBy(c => c.ProjectName).Select(c => c.Key).ToList();
|
||||||
//return list;
|
//return list;
|
||||||
@@ -129,7 +154,6 @@ namespace BLL
|
|||||||
y.QualityQuestionTypeId
|
y.QualityQuestionTypeId
|
||||||
}
|
}
|
||||||
;
|
;
|
||||||
|
|
||||||
switch (ProjectQualityType)
|
switch (ProjectQualityType)
|
||||||
{
|
{
|
||||||
case 1: // 建筑工程
|
case 1: // 建筑工程
|
||||||
@@ -161,13 +185,16 @@ namespace BLL
|
|||||||
/// 分组问题描述
|
/// 分组问题描述
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public static List<dynamic> GetGroupProjectQualityDes(string projectName)
|
public static List<dynamic> GetGroupProjectQualityDes(string projectName, string keyword = "")
|
||||||
{
|
{
|
||||||
var list = db.WBS_ProjectQuality.Where(c => c.ProjectName == projectName).GroupBy(c => c.ProjectQualityDes).Select(c => new
|
if (string.IsNullOrEmpty(keyword)) keyword = "";
|
||||||
|
var list = Funs.DB.WBS_ProjectQuality.Where(c => c.ProjectName == projectName && c.ProjectQualityDes.Contains(keyword)).Select(c => new
|
||||||
{
|
{
|
||||||
QuestionDef = c.Key,
|
ProjectQualityResult = c.ProjectQualityResult,
|
||||||
QuestionDefId = c.Key
|
QuestionDef = c.ProjectQualityDes,
|
||||||
|
QuestionDefId = c.ProjectQualityId
|
||||||
}).ToList<dynamic>();
|
}).ToList<dynamic>();
|
||||||
|
|
||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ namespace BLL.OfficeCheck.Inspect
|
|||||||
public static Model.Inspect_Inspection SaveInspection(Model.Inspect_Inspection Inspection)
|
public static Model.Inspect_Inspection SaveInspection(Model.Inspect_Inspection Inspection)
|
||||||
{
|
{
|
||||||
Model.SGGLDB db = Funs.DB;
|
Model.SGGLDB db = Funs.DB;
|
||||||
int count = (from x in db.Inspect_Inspection where x.InspectType == "1" select x).Count();
|
int count = (from x in db.Inspect_Inspection where x.InspectType == Inspection.InspectType select x).Count();
|
||||||
if (Inspection.InspectionId == null)
|
if (Inspection.InspectionId == null)
|
||||||
{
|
{
|
||||||
Inspection.InspectionId = SQLHelper.GetNewID();
|
Inspection.InspectionId = SQLHelper.GetNewID();
|
||||||
@@ -22,7 +22,7 @@ namespace BLL.OfficeCheck.Inspect
|
|||||||
Model.Inspect_Inspection newInspection = new Model.Inspect_Inspection
|
Model.Inspect_Inspection newInspection = new Model.Inspect_Inspection
|
||||||
{
|
{
|
||||||
InspectionId = Inspection.InspectionId,
|
InspectionId = Inspection.InspectionId,
|
||||||
InspectionCode = "1-"+count.ToString("D6"),
|
InspectionCode = Inspection.InspectType+"-" + count.ToString("D6"),
|
||||||
ProjectId = Inspection.ProjectId,
|
ProjectId = Inspection.ProjectId,
|
||||||
Description = Inspection.Description,
|
Description = Inspection.Description,
|
||||||
States = Inspection.States,
|
States = Inspection.States,
|
||||||
@@ -77,6 +77,7 @@ namespace BLL.OfficeCheck.Inspect
|
|||||||
CreateManName = (from y in Funs.DB.Sys_User where y.UserId == x.CreateMan select y.UserName).FirstOrDefault(),
|
CreateManName = (from y in Funs.DB.Sys_User where y.UserId == x.CreateMan select y.UserName).FirstOrDefault(),
|
||||||
ProblemTypeId = x.ProblemTypeId,
|
ProblemTypeId = x.ProblemTypeId,
|
||||||
ProblemTypeName = x.ProblemTypeName,
|
ProblemTypeName = x.ProblemTypeName,
|
||||||
|
InspectType = x.InspectType,
|
||||||
Place = x.Place,
|
Place = x.Place,
|
||||||
children = (from a in Funs.DB.Inspect_InspectionItem
|
children = (from a in Funs.DB.Inspect_InspectionItem
|
||||||
where a.InspectionId == x.InspectionId
|
where a.InspectionId == x.InspectionId
|
||||||
@@ -92,7 +93,9 @@ namespace BLL.OfficeCheck.Inspect
|
|||||||
AfterUrl = a.AfterUrl,
|
AfterUrl = a.AfterUrl,
|
||||||
RectificationDate = a.RectificationDate,
|
RectificationDate = a.RectificationDate,
|
||||||
EvaluateResults = a.EvaluateResults,
|
EvaluateResults = a.EvaluateResults,
|
||||||
WorkAreaName = a.WorkAreaName
|
WorkAreaName = a.WorkAreaName,
|
||||||
|
RectificationDescription = a.RectificationDescription,
|
||||||
|
ProblemDetial = a.ProblemDetial
|
||||||
}).ToList()
|
}).ToList()
|
||||||
}).FirstOrDefault(e => e.InspectionId == InspectionId);
|
}).FirstOrDefault(e => e.InspectionId == InspectionId);
|
||||||
}
|
}
|
||||||
@@ -178,7 +181,8 @@ namespace BLL.OfficeCheck.Inspect
|
|||||||
ProblemTypeId = y.ProblemTypeId,
|
ProblemTypeId = y.ProblemTypeId,
|
||||||
ProblemTypeName = y.ProblemTypeName,
|
ProblemTypeName = y.ProblemTypeName,
|
||||||
Place = y.Place,
|
Place = y.Place,
|
||||||
|
ProblemDetial = x.ProblemDetial,
|
||||||
|
RectificationDescription = x.RectificationDescription,
|
||||||
}
|
}
|
||||||
).FirstOrDefault(e => e.InspectionItemId == InspectionItemId);
|
).FirstOrDefault(e => e.InspectionItemId == InspectionItemId);
|
||||||
}
|
}
|
||||||
@@ -232,7 +236,8 @@ namespace BLL.OfficeCheck.Inspect
|
|||||||
newInspectionItem.AfterUrl = InspectionItem.AfterUrl;
|
newInspectionItem.AfterUrl = InspectionItem.AfterUrl;
|
||||||
newInspectionItem.AuditTime = InspectionItem.AuditTime;
|
newInspectionItem.AuditTime = InspectionItem.AuditTime;
|
||||||
newInspectionItem.AuditMan = InspectionItem.AuditMan;
|
newInspectionItem.AuditMan = InspectionItem.AuditMan;
|
||||||
|
newInspectionItem.ProblemDetial = InspectionItem.ProblemDetial;
|
||||||
|
newInspectionItem.RectificationDescription = InspectionItem.RectificationDescription;
|
||||||
newInspectionItem.BeforelUrl = InspectionItem.BeforelUrl;
|
newInspectionItem.BeforelUrl = InspectionItem.BeforelUrl;
|
||||||
newInspectionItem.RectificationResults = InspectionItem.RectificationResults;
|
newInspectionItem.RectificationResults = InspectionItem.RectificationResults;
|
||||||
newInspectionItem.States = InspectionItem.States;
|
newInspectionItem.States = InspectionItem.States;
|
||||||
@@ -301,10 +306,11 @@ namespace BLL.OfficeCheck.Inspect
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="SafetyResponsibilitiesId"></param>
|
/// <param name="SafetyResponsibilitiesId"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public static List<InspectionDto> GetInspectionList(string ProjectId, string States, int PageNumber, int PageSize)
|
public static List<InspectionDto> GetInspectionList(string ProjectId,string type, string States, int PageNumber, int PageSize)
|
||||||
{
|
{
|
||||||
|
|
||||||
var getDataLists = (from x in Funs.DB.Inspect_Inspection
|
var getDataLists = (from x in Funs.DB.Inspect_Inspection
|
||||||
|
|
||||||
select new InspectionDto
|
select new InspectionDto
|
||||||
{
|
{
|
||||||
InspectionId = x.InspectionId,
|
InspectionId = x.InspectionId,
|
||||||
@@ -324,7 +330,7 @@ namespace BLL.OfficeCheck.Inspect
|
|||||||
ProblemTypeName = x.ProblemTypeName,
|
ProblemTypeName = x.ProblemTypeName,
|
||||||
Place = x.Place,
|
Place = x.Place,
|
||||||
ChildsCount = Funs.DB.Inspect_InspectionItem.Count(itm=>itm.InspectionId == x.InspectionId).ToString()
|
ChildsCount = Funs.DB.Inspect_InspectionItem.Count(itm=>itm.InspectionId == x.InspectionId).ToString()
|
||||||
});
|
}).Where(x=> x.InspectType == type);
|
||||||
if (!string.IsNullOrEmpty(ProjectId))
|
if (!string.IsNullOrEmpty(ProjectId))
|
||||||
{
|
{
|
||||||
getDataLists = getDataLists.Where(q => q.ProjectId == ProjectId);
|
getDataLists = getDataLists.Where(q => q.ProjectId == ProjectId);
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head runat="server">
|
<head runat="server">
|
||||||
<link href="../../res/css/common.css" rel="stylesheet" type="text/css" />
|
<link href="../../res/css/common.css" rel="stylesheet" type="text/css" />
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
<script src="../../Controls/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
|
<script src="../../Controls/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
|
||||||
<title>质量巡检</title>
|
<title>质量巡检</title>
|
||||||
@@ -35,11 +35,12 @@
|
|||||||
background-color: #79FF79;
|
background-color: #79FF79;
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
.Green {
|
.Green {
|
||||||
background-color: Green;
|
background-color: Green;
|
||||||
color:white;
|
color: white;
|
||||||
}
|
}
|
||||||
.Yellow {
|
|
||||||
|
.Yellow {
|
||||||
background-color: #FFFF93;
|
background-color: #FFFF93;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -50,6 +51,7 @@
|
|||||||
.LightGreen {
|
.LightGreen {
|
||||||
background-color: LightGreen
|
background-color: LightGreen
|
||||||
}
|
}
|
||||||
|
|
||||||
.f-grid-colheader-text {
|
.f-grid-colheader-text {
|
||||||
white-space: normal;
|
white-space: normal;
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
@@ -74,39 +76,39 @@
|
|||||||
<f:Toolbar ID="Toolbar1" Position="Top" runat="server" ToolbarAlign="Left">
|
<f:Toolbar ID="Toolbar1" Position="Top" runat="server" ToolbarAlign="Left">
|
||||||
<Items>
|
<Items>
|
||||||
<f:DropDownList ID="drpSponsorUnit" runat="server" Label="施工单位" EnableEdit="true" EmptyText="请选择查询条件"
|
<f:DropDownList ID="drpSponsorUnit" runat="server" Label="施工单位" EnableEdit="true" EmptyText="请选择查询条件"
|
||||||
LabelAlign="right">
|
LabelAlign="right">
|
||||||
</f:DropDownList>
|
</f:DropDownList>
|
||||||
|
|
||||||
<f:DropDownList ID="drpUnitWork" runat="server" Label="单位工程" LabelAlign="Right" EnableEdit="true">
|
<f:DropDownList ID="drpUnitWork" runat="server" Label="单位工程" LabelAlign="Right" EnableEdit="true">
|
||||||
</f:DropDownList>
|
</f:DropDownList>
|
||||||
<f:DropDownList ID="drpCNProfessional" runat="server" Label="专业" LabelAlign="Right" EnableEdit="true">
|
<f:DropDownList ID="drpCNProfessional" runat="server" Label="专业" LabelAlign="Right" EnableEdit="true">
|
||||||
</f:DropDownList>
|
</f:DropDownList>
|
||||||
<f:DropDownList ID="drpQuestionType" runat="server" Label="问题类别" Width="210px" LabelAlign="Right" EnableEdit="true">
|
<f:DropDownList ID="drpQuestionType" runat="server" Label="问题类别" Width="210px" LabelAlign="Right" EnableEdit="true">
|
||||||
</f:DropDownList>
|
</f:DropDownList>
|
||||||
|
|
||||||
</Items>
|
</Items>
|
||||||
</f:Toolbar>
|
</f:Toolbar>
|
||||||
<f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Left">
|
<f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Left">
|
||||||
<Items>
|
<Items>
|
||||||
<f:DropDownList ID="dpHandelStatus" runat="server" Label="整改状态" LabelAlign="Right" EnableEdit="true">
|
<f:DropDownList ID="dpHandelStatus" runat="server" Label="整改状态" LabelAlign="Right" EnableEdit="true">
|
||||||
<f:ListItem Text="待整改" Value="4" />
|
<f:ListItem Text="待整改" Value="4" />
|
||||||
<f:ListItem Text="已整改-待复查验收" Value="1" />
|
<f:ListItem Text="已整改-待复查验收" Value="1" />
|
||||||
<f:ListItem Text="超期未整改" Value="3" />
|
<f:ListItem Text="超期未整改" Value="3" />
|
||||||
<f:ListItem Text="已闭环" Value="2" />
|
<f:ListItem Text="已闭环" Value="2" />
|
||||||
|
|
||||||
</f:DropDownList>
|
</f:DropDownList>
|
||||||
|
|
||||||
<f:DatePicker runat="server" DateFormatString="yyyy-MM-dd" Label="开始日期" ID="txtStartTime"
|
<f:DatePicker runat="server" DateFormatString="yyyy-MM-dd" Label="开始日期" ID="txtStartTime"
|
||||||
LabelAlign="right" >
|
LabelAlign="right">
|
||||||
</f:DatePicker>
|
</f:DatePicker>
|
||||||
<f:DatePicker runat="server" DateFormatString="yyyy-MM-dd" Label="结束日期" ID="txtEndTime"
|
<f:DatePicker runat="server" DateFormatString="yyyy-MM-dd" Label="结束日期" ID="txtEndTime"
|
||||||
LabelAlign="right" >
|
LabelAlign="right">
|
||||||
</f:DatePicker>
|
</f:DatePicker>
|
||||||
|
|
||||||
<f:ToolbarFill runat="server"></f:ToolbarFill>
|
<f:ToolbarFill runat="server"></f:ToolbarFill>
|
||||||
<f:Button ID="btnQuery" OnClick="btnQuery_Click" ToolTip="查询" Icon="SystemSearch" EnablePostBack="true" runat="server" >
|
<f:Button ID="btnQuery" OnClick="btnQuery_Click" ToolTip="查询" Icon="SystemSearch" EnablePostBack="true" runat="server">
|
||||||
</f:Button>
|
</f:Button>
|
||||||
<f:Button ID="btnRset" OnClick="btnRset_Click" ToolTip="重置" Icon="ArrowUndo" EnablePostBack="true" runat="server" >
|
<f:Button ID="btnRset" OnClick="btnRset_Click" ToolTip="重置" Icon="ArrowUndo" EnablePostBack="true" runat="server">
|
||||||
</f:Button>
|
</f:Button>
|
||||||
<f:Button ID="btnNew" ToolTip="新增" Icon="Add" EnablePostBack="false" runat="server"
|
<f:Button ID="btnNew" ToolTip="新增" Icon="Add" EnablePostBack="false" runat="server"
|
||||||
Hidden="true">
|
Hidden="true">
|
||||||
@@ -118,7 +120,7 @@
|
|||||||
|
|
||||||
</Items>
|
</Items>
|
||||||
</f:Toolbar>
|
</f:Toolbar>
|
||||||
|
|
||||||
</Toolbars>
|
</Toolbars>
|
||||||
<Columns>
|
<Columns>
|
||||||
<f:TemplateField ColumnID="tfNumber" Width="55px" HeaderText="序号" HeaderTextAlign="Center" TextAlign="Center"
|
<f:TemplateField ColumnID="tfNumber" Width="55px" HeaderText="序号" HeaderTextAlign="Center" TextAlign="Center"
|
||||||
@@ -126,27 +128,45 @@
|
|||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:Label ID="labNumber" runat="server" Text='<%# Grid1.PageIndex * Grid1.PageSize + Container.DataItemIndex + 1 %>'></asp:Label>
|
<asp:Label ID="labNumber" runat="server" Text='<%# Grid1.PageIndex * Grid1.PageSize + Container.DataItemIndex + 1 %>'></asp:Label>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</f:TemplateField>
|
</f:TemplateField>
|
||||||
|
|
||||||
<f:RenderField Width="100px" ColumnID="DocCode" DataField="DocCode"
|
<f:RenderField ColumnID="DocCode" DataField="DocCode"
|
||||||
SortField="DocCode" FieldType="String" HeaderText="质量巡检编号" TextAlign="Center"
|
SortField="DocCode" FieldType="String" HeaderText="编号" TextAlign="Center"
|
||||||
HeaderTextAlign="Center">
|
HeaderTextAlign="Center">
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
<f:RenderField Width="100px" ColumnID="UnitWorkName" DataField="UnitWorkName"
|
<f:RenderField Width="100px" ColumnID="CheckSite" DataField="CheckSite"
|
||||||
SortField="UnitWorkName" FieldType="String" HeaderText="单位工程名称" TextAlign="Center"
|
SortField="CheckSite" FieldType="String" HeaderText="部位" TextAlign="Center"
|
||||||
HeaderTextAlign="Center">
|
HeaderTextAlign="Center">
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
<f:RenderField Width="100px" ColumnID="UnitName" DataField="UnitName"
|
<f:RenderField ColumnID="CNProfessionalCodeName" DataField="CNProfessionalCodeName"
|
||||||
SortField="UnitName" FieldType="String" HeaderText="施工单位" TextAlign="Left"
|
SortField="CNProfessionalCodeName" FieldType="String" HeaderText="专业" TextAlign="center"
|
||||||
HeaderTextAlign="Center">
|
HeaderTextAlign="Center">
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
<f:RenderField Width="80px" ColumnID="ProfessionalName" DataField="ProfessionalName" SortField="ProfessionalName"
|
<f:RenderField ColumnID="QuestionTypeName" DataField="QuestionTypeName" SortField="QuestionTypeName"
|
||||||
FieldType="String" HeaderText="专业" TextAlign="Center" HeaderTextAlign="Center">
|
FieldType="String" HeaderText="问题类型" TextAlign="Center" HeaderTextAlign="Center">
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
<f:RenderField Width="90px" ColumnID="QuestionType" DataField="QuestionType" SortField="QuestionType"
|
<f:RenderField ColumnID="QuestionDef" DataField="QuestionDef" SortField="QuestionDef"
|
||||||
FieldType="String" HeaderText="问题类别" TextAlign="Center" HeaderTextAlign="Center">
|
FieldType="String" HeaderText="问题描述" TextAlign="Center" HeaderTextAlign="Center">
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
<f:TemplateField ColumnID="tfImageUrl1" Width="120px" HeaderText="整改前" HeaderTextAlign="Center"
|
<f:RenderField ColumnID="RectifyOpinion" Width="400px" DataField="RectifyOpinion" SortField="RectifyOpinion"
|
||||||
|
FieldType="String" HeaderText="整改要求" TextAlign="Left" HeaderTextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField ColumnID="UnitWorkName" DataField="UnitWorkName" SortField="UnitWorkName"
|
||||||
|
FieldType="String" HeaderText="受检区域" TextAlign="Center" HeaderTextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField ColumnID="CheckManName" DataField="CheckManName" SortField="CheckManName"
|
||||||
|
FieldType="String" HeaderText="检查人" TextAlign="Center" HeaderTextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField ColumnID="CheckDate" DataField="CheckDate" SortField="CheckDate"
|
||||||
|
FieldType="String" HeaderText="检查日期" TextAlign="Center" HeaderTextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField ColumnID="PrincipalManName" DataField="PrincipalManName" SortField="PrincipalManName"
|
||||||
|
FieldType="String" HeaderText="责任人" TextAlign="Center" HeaderTextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField ColumnID="LimitDate" DataField="LimitDate" SortField="LimitDate"
|
||||||
|
FieldType="String" HeaderText="整改期限" TextAlign="Center" HeaderTextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:TemplateField ColumnID="AttachUrl" Width="120px" HeaderText="整改前" HeaderTextAlign="Center"
|
||||||
TextAlign="Left">
|
TextAlign="Left">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:Label ID="lbImageUrl" runat="server" Text='<%# ConvertImageUrlByImage(Eval("CheckControlCode")) %>'></asp:Label>
|
<asp:Label ID="lbImageUrl" runat="server" Text='<%# ConvertImageUrlByImage(Eval("CheckControlCode")) %>'></asp:Label>
|
||||||
@@ -158,33 +178,13 @@
|
|||||||
<asp:Label ID="lbImageUrl2" runat="server" Text='<%# ConvertImgUrlByImage(Eval("CheckControlCode")) %>'></asp:Label>
|
<asp:Label ID="lbImageUrl2" runat="server" Text='<%# ConvertImgUrlByImage(Eval("CheckControlCode")) %>'></asp:Label>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</f:TemplateField>
|
</f:TemplateField>
|
||||||
<f:RenderField Width="70px" ColumnID="CheckSite" DataField="CheckSite" SortField="CheckSite"
|
<f:TemplateField ColumnID="State2" Width="80px" HeaderText="状态" HeaderTextAlign="Center" TextAlign="Center"
|
||||||
FieldType="String" HeaderText="部位" TextAlign="Center" HeaderTextAlign="Center">
|
|
||||||
</f:RenderField>
|
|
||||||
<f:RenderField Width="95px" ColumnID="CheckDate" DataField="CheckDate" SortField="CheckDate"
|
|
||||||
FieldType="Date" Renderer="Date" RendererArgument="yyyy-MM-dd" HeaderText="巡检日期" TextAlign="Center" HeaderTextAlign="Center">
|
|
||||||
</f:RenderField>
|
|
||||||
<f:RenderField Width="95px" ColumnID="userName" DataField="userName" SortField="userName"
|
|
||||||
FieldType="String" HeaderText="检查人" TextAlign="Center" HeaderTextAlign="Center">
|
|
||||||
</f:RenderField>
|
|
||||||
<f:TemplateField ColumnID="State" Width="100px" HeaderText="审批状态" HeaderTextAlign="Center" TextAlign="Center"
|
|
||||||
EnableLock="true" Locked="False">
|
|
||||||
<ItemTemplate>
|
|
||||||
<asp:Label ID="labState" runat="server" Text='<%# ConvertState(Eval("State")) %>'></asp:Label>
|
|
||||||
</ItemTemplate>
|
|
||||||
</f:TemplateField>
|
|
||||||
<f:TemplateField ColumnID="AuditMan" Width="80px" HeaderText="办理人" HeaderTextAlign="Center" TextAlign="Center"
|
|
||||||
EnableLock="true" Locked="False">
|
|
||||||
<ItemTemplate>
|
|
||||||
<asp:Label ID="lbAuditMan" runat="server" Text='<%# ConvertMan(Eval("CheckControlCode")) %>'></asp:Label>
|
|
||||||
</ItemTemplate>
|
|
||||||
</f:TemplateField>
|
|
||||||
<f:TemplateField ColumnID="State2" Width="80px" HeaderText="整改状态" HeaderTextAlign="Center" TextAlign="Center"
|
|
||||||
EnableLock="true" Locked="False">
|
EnableLock="true" Locked="False">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:Label ID="lbState2" runat="server" Text='<%# Convertstatus(Eval("CheckControlCode")) %>'></asp:Label>
|
<asp:Label ID="lbState2" runat="server" Text='<%# Convertstatus(Eval("CheckControlCode")) %>'></asp:Label>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</f:TemplateField>
|
</f:TemplateField>
|
||||||
|
|
||||||
</Columns>
|
</Columns>
|
||||||
<Listeners>
|
<Listeners>
|
||||||
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
|
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
|
||||||
@@ -213,28 +213,18 @@
|
|||||||
Target="Parent" EnableResize="false" runat="server" IsModal="true" OnClose="Window1_Close"
|
Target="Parent" EnableResize="false" runat="server" IsModal="true" OnClose="Window1_Close"
|
||||||
Width="1300px" Height="660px">
|
Width="1300px" Height="660px">
|
||||||
</f:Window>
|
</f:Window>
|
||||||
<f:Window ID="Window2" Title="质量罚款单" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
<f:Window ID="Window2" Title="质量罚款单" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||||
Target="Parent" EnableResize="false" runat="server" IsModal="true" OnClose="Window1_Close"
|
Target="Parent" EnableResize="false" runat="server" IsModal="true" OnClose="Window1_Close"
|
||||||
Width="1000px" Height="450px">
|
Width="1000px" Height="450px">
|
||||||
</f:Window>
|
</f:Window>
|
||||||
<f:Menu ID="Menu1" runat="server">
|
<f:Menu ID="Menu1" runat="server">
|
||||||
<Items>
|
<Items>
|
||||||
<f:MenuButton ID="btnMenuModify" EnablePostBack="true" runat="server" Hidden="true" Text="修改" Icon="Pencil"
|
|
||||||
OnClick="btnMenuModify_Click">
|
|
||||||
</f:MenuButton>
|
|
||||||
<f:MenuButton ID="btnMenuView" EnablePostBack="true" runat="server" Text="查看" Icon="ApplicationViewIcons"
|
<f:MenuButton ID="btnMenuView" EnablePostBack="true" runat="server" Text="查看" Icon="ApplicationViewIcons"
|
||||||
OnClick="btnMenuView_Click">
|
OnClick="btnMenuView_Click">
|
||||||
</f:MenuButton>
|
</f:MenuButton>
|
||||||
<f:MenuButton ID="MenuButton1" EnablePostBack="true" EnableAjax="false" runat="server" DisableControlBeforePostBack="false" Text="质量通知单打印" Icon="ApplicationViewIcons"
|
|
||||||
OnClick="btnMenuNotice_Click">
|
|
||||||
</f:MenuButton>
|
|
||||||
<f:MenuButton ID="MenuButton2" EnablePostBack="true" EnableAjax="false" runat="server" DisableControlBeforePostBack="false" Text="质量整改回复单" Icon="ApplicationViewIcons"
|
|
||||||
OnClick="btnMenuReNotice_Click">
|
|
||||||
</f:MenuButton>
|
|
||||||
<f:MenuButton ID="MenuButton3" EnablePostBack="true" EnableAjax="false" runat="server" DisableControlBeforePostBack="false" Text="生成质量罚款单" Icon="ApplicationViewIcons"
|
|
||||||
OnClick="btnMenuFine_Click">
|
|
||||||
</f:MenuButton>
|
|
||||||
|
|
||||||
|
|
||||||
<f:MenuButton ID="btnMenuDel" EnablePostBack="true" runat="server" Hidden="true" Icon="Delete" Text="删除" ConfirmText="确定删除当前数据?"
|
<f:MenuButton ID="btnMenuDel" EnablePostBack="true" runat="server" Hidden="true" Icon="Delete" Text="删除" ConfirmText="确定删除当前数据?"
|
||||||
OnClick="btnMenuDel_Click">
|
OnClick="btnMenuDel_Click">
|
||||||
</f:MenuButton>
|
</f:MenuButton>
|
||||||
|
|||||||
@@ -3,11 +3,13 @@ using BLL;
|
|||||||
using Model;
|
using Model;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
using System.Configuration;
|
using System.Configuration;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using System.Data.SqlClient;
|
using System.Data.SqlClient;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using System.Reflection.Emit;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using AspNet = System.Web.UI.WebControls;
|
using AspNet = System.Web.UI.WebControls;
|
||||||
@@ -129,65 +131,100 @@ namespace FineUIPro.Web.CQMS.Check
|
|||||||
}
|
}
|
||||||
protected DataTable ChecklistData()
|
protected DataTable ChecklistData()
|
||||||
{
|
{
|
||||||
string strSql = @"SELECT chec.CheckControlCode,chec.CheckSite,chec.ProjectId,chec.unitId,cNProfessional.ProfessionalName,"
|
|
||||||
+ @" QualityQuestionType.QualityQuestionType as QuestionType,"
|
|
||||||
+ @" chec.checkman,chec.CheckDate,chec.DocCode,chec.submitman,chec.state,chec.CNProfessionalCode,"
|
|
||||||
+ @" unit.UnitName,unitWork.UnitWorkName,u.userName "
|
|
||||||
+ @" FROM Check_CheckControl chec"
|
|
||||||
+ @" left join Base_Unit unit on unit.unitId=chec.unitId"
|
|
||||||
+ @" left join Base_CNProfessional cNProfessional on cNProfessional.CNProfessionalId=chec.CNProfessionalCode"
|
|
||||||
+ @" left join WBS_UnitWork unitWork on unitWork.UnitWorkId = chec.UnitWorkId"
|
|
||||||
+ @" left join Base_QualityQuestionType QualityQuestionType on QualityQuestionType.QualityQuestionTypeId = chec.QuestionType"
|
|
||||||
+ @" left join sys_User u on u.userId = chec.CheckMan"
|
|
||||||
+ @" where chec.ProjectId=@ProjectId";
|
|
||||||
|
|
||||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
//string strSql = @"SELECT chec.CheckControlCode,chec.CheckSite,chec.ProjectId,chec.unitId,cNProfessional.ProfessionalName,"
|
||||||
listStr.Add(new SqlParameter("@ProjectId", this.CurrUser.LoginProjectId));
|
// + @" QualityQuestionType.QualityQuestionType as QuestionType,"
|
||||||
strSql += " AND (chec.CheckDate>=@startTime or @startTime='') and (chec.CheckDate<=@endTime or @endTime='') ";
|
// + @" chec.checkman,chec.CheckDate,chec.DocCode,chec.submitman,chec.state,chec.CNProfessionalCode,"
|
||||||
listStr.Add(new SqlParameter("@startTime", !string.IsNullOrEmpty(txtStartTime.Text.Trim()) ? txtStartTime.Text.Trim() + " 00:00:00" : ""));
|
// + @" unit.UnitName,unitWork.UnitWorkName,u.userName "
|
||||||
listStr.Add(new SqlParameter("@endTime", !string.IsNullOrEmpty(txtEndTime.Text.Trim()) ? txtEndTime.Text.Trim() + " 23:59:59" : ""));
|
// + @" FROM Check_CheckControl chec"
|
||||||
if (drpSponsorUnit.SelectedValue != BLL.Const._Null)
|
// + @" left join Base_Unit unit on unit.unitId=chec.unitId"
|
||||||
{
|
// + @" left join Base_CNProfessional cNProfessional on cNProfessional.CNProfessionalId=chec.CNProfessionalCode"
|
||||||
strSql += " AND chec.unitId=@unitId";
|
// + @" left join WBS_UnitWork unitWork on unitWork.UnitWorkId = chec.UnitWorkId"
|
||||||
listStr.Add(new SqlParameter("@unitId", drpSponsorUnit.SelectedValue));
|
// + @" left join Base_QualityQuestionType QualityQuestionType on QualityQuestionType.QualityQuestionTypeId = chec.QuestionType"
|
||||||
}
|
// + @" left join sys_User u on u.userId = chec.CheckMan"
|
||||||
if (drpUnitWork.SelectedValue != Const._Null)
|
// + @" where chec.ProjectId=@ProjectId";
|
||||||
{
|
|
||||||
strSql += " AND chec.unitworkId=@unitworkId";
|
//List<SqlParameter> listStr = new List<SqlParameter>();
|
||||||
listStr.Add(new SqlParameter("@unitworkId", drpUnitWork.SelectedValue));
|
//listStr.Add(new SqlParameter("@ProjectId", this.CurrUser.LoginProjectId));
|
||||||
}
|
//strSql += " AND (chec.CheckDate>=@startTime or @startTime='') and (chec.CheckDate<=@endTime or @endTime='') ";
|
||||||
if (drpCNProfessional.SelectedValue != Const._Null)
|
//listStr.Add(new SqlParameter("@startTime", !string.IsNullOrEmpty(txtStartTime.Text.Trim()) ? txtStartTime.Text.Trim() + " 00:00:00" : ""));
|
||||||
{
|
//listStr.Add(new SqlParameter("@endTime", !string.IsNullOrEmpty(txtEndTime.Text.Trim()) ? txtEndTime.Text.Trim() + " 23:59:59" : ""));
|
||||||
strSql += " AND chec.CNProfessionalCode=@CNProfessionalCode";
|
//if (drpSponsorUnit.SelectedValue != BLL.Const._Null)
|
||||||
listStr.Add(new SqlParameter("@CNProfessionalCode", drpCNProfessional.SelectedValue));
|
//{
|
||||||
}
|
// strSql += " AND chec.unitId=@unitId";
|
||||||
if (drpQuestionType.SelectedValue != Const._Null)
|
// listStr.Add(new SqlParameter("@unitId", drpSponsorUnit.SelectedValue));
|
||||||
{
|
//}
|
||||||
strSql += " AND chec.QuestionType=@QuestionType";
|
//if (drpUnitWork.SelectedValue != Const._Null)
|
||||||
listStr.Add(new SqlParameter("@QuestionType", drpQuestionType.SelectedValue));
|
//{
|
||||||
}
|
// strSql += " AND chec.unitworkId=@unitworkId";
|
||||||
if (dpHandelStatus.SelectedValue != Const._Null)
|
// listStr.Add(new SqlParameter("@unitworkId", drpUnitWork.SelectedValue));
|
||||||
{
|
//}
|
||||||
if (dpHandelStatus.SelectedValue.Equals("1"))
|
//if (drpCNProfessional.SelectedValue != Const._Null)
|
||||||
{
|
//{
|
||||||
strSql += " AND (chec.state='5' or chec.state='6')";
|
// strSql += " AND chec.CNProfessionalCode=@CNProfessionalCode";
|
||||||
}
|
// listStr.Add(new SqlParameter("@CNProfessionalCode", drpCNProfessional.SelectedValue));
|
||||||
else if (dpHandelStatus.SelectedValue.Equals("2"))
|
//}
|
||||||
{
|
//if (drpQuestionType.SelectedValue != Const._Null)
|
||||||
strSql += " AND chec.state='7'";
|
//{
|
||||||
}
|
// strSql += " AND chec.QuestionType=@QuestionType";
|
||||||
else if (dpHandelStatus.SelectedValue.Equals("3"))
|
// listStr.Add(new SqlParameter("@QuestionType", drpQuestionType.SelectedValue));
|
||||||
{
|
//}
|
||||||
strSql += " AND DATEADD(day,1,chec.LimitDate)< GETDATE() and chec.state<>5 and chec.state<>6 and chec.state<>7";
|
//if (dpHandelStatus.SelectedValue != Const._Null)
|
||||||
}
|
//{
|
||||||
else if (dpHandelStatus.SelectedValue.Equals("4"))
|
// if (dpHandelStatus.SelectedValue.Equals("1"))
|
||||||
{
|
// {
|
||||||
strSql += " AND DATEADD(day,1,chec.LimitDate)> GETDATE() and chec.state<>5 and chec.state<>6 and chec.state<>7";
|
// strSql += " AND (chec.state='5' or chec.state='6')";
|
||||||
}
|
// }
|
||||||
}
|
// else if (dpHandelStatus.SelectedValue.Equals("2"))
|
||||||
SqlParameter[] parameter = listStr.ToArray();
|
// {
|
||||||
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
|
// strSql += " AND chec.state='7'";
|
||||||
return tb;
|
// }
|
||||||
|
// else if (dpHandelStatus.SelectedValue.Equals("3"))
|
||||||
|
// {
|
||||||
|
// strSql += " AND DATEADD(day,1,chec.LimitDate)< GETDATE() and chec.state<>5 and chec.state<>6 and chec.state<>7";
|
||||||
|
// }
|
||||||
|
// else if (dpHandelStatus.SelectedValue.Equals("4"))
|
||||||
|
// {
|
||||||
|
// strSql += " AND DATEADD(day,1,chec.LimitDate)> GETDATE() and chec.state<>5 and chec.state<>6 and chec.state<>7";
|
||||||
|
// }
|
||||||
|
//}
|
||||||
|
|
||||||
|
//SqlParameter[] parameter = listStr.ToArray();
|
||||||
|
//DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
|
||||||
|
|
||||||
|
var query = (from x in Funs.DB.Check_CheckControl
|
||||||
|
select new
|
||||||
|
{
|
||||||
|
CheckControlCode = x.CheckControlCode,
|
||||||
|
ProjectId = x.ProjectId,
|
||||||
|
ProjectName = Funs.DB.Base_Project.FirstOrDefault(p => p.ProjectId == x.ProjectId).ProjectName,
|
||||||
|
DocCode = x.DocCode,
|
||||||
|
States = x.State,
|
||||||
|
CheckSite = x.CheckSite,
|
||||||
|
QuestionDef = x.QuestionDef,
|
||||||
|
CheckDate = String.Format("{0:yyyy-MM-dd}", x.CheckDate),
|
||||||
|
LimitDate = String.Format("{0:yyyy-MM-dd}", x.LimitDate),
|
||||||
|
RectifyOpinion = x.RectifyOpinion,
|
||||||
|
CheckMan = x.CheckMan,
|
||||||
|
UnitWorkId = x.UnitWorkId,
|
||||||
|
AttachUrl = x.AttachUrl,
|
||||||
|
HandleWay = x.HandleWay,
|
||||||
|
RectifyDate = String.Format("{0:yyyy-MM-dd}", x.RectifyDate),
|
||||||
|
ReAttachUrl = x.ReAttachUrl,
|
||||||
|
IsOk = x.IsOK,
|
||||||
|
OKDescr = x.OKDescr,
|
||||||
|
UnitWorkName = (from y in Funs.DB.WBS_UnitWork where y.UnitWorkId == x.UnitWorkId select y.UnitWorkName).First(),
|
||||||
|
CheckManName = (from y in Funs.DB.Sys_User where y.UserId == x.CheckMan select y.UserName).First(),
|
||||||
|
PrincipalMan = x.DutyMan,
|
||||||
|
PrincipalManName = Funs.DB.Sys_User.FirstOrDefault(e => e.UserId == x.DutyMan).UserName,
|
||||||
|
CNProfessionalCode = x.CNProfessionalCode,
|
||||||
|
CNProfessionalCodeName = Funs.DB.Base_CNProfessional.FirstOrDefault(e => e.CNProfessionalId == x.CNProfessionalCode).ProfessionalName,
|
||||||
|
QuestionType = x.QuestionType,
|
||||||
|
QuestionTypeName = Funs.DB.Base_QualityQuestionType.FirstOrDefault(e => e.QualityQuestionTypeId == x.QuestionType).QualityQuestionType,
|
||||||
|
|
||||||
|
}).ToList();
|
||||||
|
DataTable td = ToDataTable(query);
|
||||||
|
return td;
|
||||||
}
|
}
|
||||||
protected void btnOut_Click(object sender, EventArgs e)
|
protected void btnOut_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
@@ -272,42 +309,26 @@ namespace FineUIPro.Web.CQMS.Check
|
|||||||
|
|
||||||
return sb.ToString();
|
return sb.ToString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#region 检查照片
|
||||||
protected string ConvertImageUrlByImage(object registrationId)
|
protected string ConvertImageUrlByImage(object registrationId)
|
||||||
{
|
{
|
||||||
string url = string.Empty;
|
string url = string.Empty;
|
||||||
if (registrationId != null)
|
if (registrationId != null)
|
||||||
{
|
{
|
||||||
IList<Model.AttachFile> sourlist = AttachFileService.GetBeforeFileList(registrationId.ToString(), BLL.Const.CheckListMenuId);
|
Model.Check_CheckControl m = Funs.DB.Check_CheckControl.FirstOrDefault(e => e.CheckControlCode == registrationId.ToString());
|
||||||
|
url = BLL.UploadAttachmentService.ShowImage(ConfigurationManager.AppSettings["CEMS_IMG_URL"], m.AttachUrl.TrimEnd(','));
|
||||||
if (sourlist != null&& sourlist.Count>0)
|
|
||||||
{
|
|
||||||
string AttachUrl = "";
|
|
||||||
foreach(var item in sourlist)
|
|
||||||
{ if(!string.IsNullOrEmpty(item.AttachUrl)&& item.AttachUrl.ToLower().EndsWith(".jpg")|| item.AttachUrl.ToLower().EndsWith(".jpeg")|| item.AttachUrl.ToLower().EndsWith(".png"))
|
|
||||||
AttachUrl += item.AttachUrl.TrimEnd(',')+",";
|
|
||||||
}
|
|
||||||
url = BLL.UploadAttachmentService.ShowImage(ConfigurationManager.AppSettings["CEMS_IMG_URL"], AttachUrl.TrimEnd(','));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return url;
|
return url;
|
||||||
}
|
}
|
||||||
|
#endregion
|
||||||
protected string ConvertImgUrlByImage(object registrationId)
|
protected string ConvertImgUrlByImage(object registrationId)
|
||||||
{
|
{
|
||||||
string url = string.Empty;
|
string url = string.Empty;
|
||||||
if (registrationId != null)
|
if (registrationId != null)
|
||||||
{
|
{
|
||||||
IList<Model.AttachFile> sourlist = AttachFileService.Getfilelist(registrationId.ToString()+"r", BLL.Const.CheckListMenuId);
|
Model.Check_CheckControl m = Funs.DB.Check_CheckControl.FirstOrDefault(e => e.CheckControlCode == registrationId.ToString());
|
||||||
|
url = BLL.UploadAttachmentService.ShowImage(ConfigurationManager.AppSettings["CEMS_IMG_URL"], m.ReAttachUrl.TrimEnd(','));
|
||||||
if (sourlist != null && sourlist.Count > 0)
|
|
||||||
{
|
|
||||||
string AttachUrl = "";
|
|
||||||
foreach (var item in sourlist)
|
|
||||||
{
|
|
||||||
if (!string.IsNullOrEmpty(item.AttachUrl) && item.AttachUrl.ToLower().EndsWith(".jpg") || item.AttachUrl.ToLower().EndsWith(".jpeg") || item.AttachUrl.ToLower().EndsWith(".png"))
|
|
||||||
AttachUrl += item.AttachUrl.TrimEnd(',') + ",";
|
|
||||||
}
|
|
||||||
url = BLL.UploadAttachmentService.ShowImage(ConfigurationManager.AppSettings["CEMS_IMG_URL"], AttachUrl.TrimEnd(','));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return url;
|
return url;
|
||||||
}
|
}
|
||||||
@@ -315,25 +336,25 @@ namespace FineUIPro.Web.CQMS.Check
|
|||||||
public string Convertstatus(Object code)
|
public string Convertstatus(Object code)
|
||||||
{
|
{
|
||||||
Model.Check_CheckControl checkControl = BLL.CheckControlService.GetCheckControl(code.ToString());
|
Model.Check_CheckControl checkControl = BLL.CheckControlService.GetCheckControl(code.ToString());
|
||||||
if (checkControl.State.Equals("5") || checkControl.State.Equals("6"))
|
if (checkControl.State.Equals("1") )
|
||||||
{
|
{
|
||||||
return "未确认";
|
return "待整改";
|
||||||
}
|
}
|
||||||
else if (checkControl.State == Const.CheckControl_Complete)
|
else if (checkControl.State.Equals("2"))
|
||||||
{ //闭环
|
{ //闭环
|
||||||
return "已闭环";
|
return "待确认";
|
||||||
}
|
}
|
||||||
//else if( checkControl.LimitDate> )
|
//else if( checkControl.LimitDate> )
|
||||||
else if (Convert.ToDateTime(checkControl.LimitDate).AddDays(1) < DateTime.Now) //延期未整改
|
else if (checkControl.State.Equals("3")) //延期未整改
|
||||||
{
|
{
|
||||||
return "超期未整改";
|
return "已闭环";
|
||||||
|
|
||||||
}
|
}
|
||||||
else //期内未整改
|
else
|
||||||
{
|
{
|
||||||
return "未整改";
|
return "";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -355,31 +376,31 @@ namespace FineUIPro.Web.CQMS.Check
|
|||||||
Grid1.DataSource = table;
|
Grid1.DataSource = table;
|
||||||
Grid1.DataBind();
|
Grid1.DataBind();
|
||||||
|
|
||||||
for (int i = 0; i < Grid1.Rows.Count; i++)
|
//for (int i = 0; i < Grid1.Rows.Count; i++)
|
||||||
{
|
//{
|
||||||
string rowID = Grid1.Rows[i].DataKeys[0].ToString();
|
// string rowID = Grid1.Rows[i].DataKeys[0].ToString();
|
||||||
if (rowID.Count() > 0)
|
// if (rowID.Count() > 0)
|
||||||
{
|
// {
|
||||||
Model.Check_CheckControl checkControl = BLL.CheckControlService.GetCheckControl(rowID);
|
// Model.Check_CheckControl checkControl = BLL.CheckControlService.GetCheckControl(rowID);
|
||||||
if (checkControl.State.Equals("5") || checkControl.State.Equals("6"))
|
// if (checkControl.State.Equals("5") || checkControl.State.Equals("6"))
|
||||||
{
|
// {
|
||||||
Grid1.Rows[i].CellCssClasses[11] = "LightGreen";//未确认
|
// Grid1.Rows[i].CellCssClasses[11] = "LightGreen";//未确认
|
||||||
}
|
// }
|
||||||
else if (checkControl.State == Const.CheckControl_Complete)
|
// else if (checkControl.State == Const.CheckControl_Complete)
|
||||||
{ //闭环
|
// { //闭环
|
||||||
Grid1.Rows[i].CellCssClasses[11] = "Green";
|
// Grid1.Rows[i].CellCssClasses[11] = "Green";
|
||||||
|
|
||||||
}
|
// }
|
||||||
else if (Convert.ToDateTime(checkControl.LimitDate).AddDays(1) < DateTime.Now) //延期未整改
|
// else if (Convert.ToDateTime(checkControl.LimitDate).AddDays(1) < DateTime.Now) //延期未整改
|
||||||
{
|
// {
|
||||||
Grid1.Rows[i].CellCssClasses[11] = "Red";
|
// Grid1.Rows[i].CellCssClasses[11] = "Red";
|
||||||
}
|
// }
|
||||||
else //期内未整改
|
// else //期内未整改
|
||||||
{
|
// {
|
||||||
Grid1.Rows[i].CellCssClasses[11] = " Yellow ";
|
// Grid1.Rows[i].CellCssClasses[11] = " Yellow ";
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -507,16 +528,16 @@ namespace FineUIPro.Web.CQMS.Check
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
if (this.btnMenuModify.Hidden || checks.State == BLL.Const.State_2) ////双击事件 编辑权限有:编辑页面,无:查看页面 或者状态是完成时查看页面
|
//if (this.btnMenuModify.Hidden || checks.State == BLL.Const.State_2) ////双击事件 编辑权限有:编辑页面,无:查看页面 或者状态是完成时查看页面
|
||||||
{
|
//{
|
||||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("CheckListView.aspx?CheckControlCode={0}", codes, "查看 - ")));
|
// PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("CheckListView.aspx?CheckControlCode={0}", codes, "查看 - ")));
|
||||||
return;
|
// return;
|
||||||
}
|
//}
|
||||||
else
|
//else
|
||||||
{
|
//{
|
||||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("CheckListEdit.aspx?CheckControlCode={0}", codes, "编辑 - ")));
|
// PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("CheckListEdit.aspx?CheckControlCode={0}", codes, "编辑 - ")));
|
||||||
return;
|
// return;
|
||||||
}
|
//}
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -574,15 +595,12 @@ namespace FineUIPro.Web.CQMS.Check
|
|||||||
var buttonList = BLL.CommonService.GetAllButtonList(this.ProjectId, this.CurrUser.UserId, BLL.Const.CheckListMenuId);
|
var buttonList = BLL.CommonService.GetAllButtonList(this.ProjectId, this.CurrUser.UserId, BLL.Const.CheckListMenuId);
|
||||||
if (buttonList.Count() > 0)
|
if (buttonList.Count() > 0)
|
||||||
{
|
{
|
||||||
if (buttonList.Contains(BLL.Const.BtnAdd))
|
//if (buttonList.Contains(BLL.Const.BtnAdd))
|
||||||
{
|
//{
|
||||||
this.btnNew.Hidden = false;
|
// this.btnNew.Hidden = false;
|
||||||
|
|
||||||
}
|
//}
|
||||||
if (buttonList.Contains(BLL.Const.BtnModify))
|
|
||||||
{
|
|
||||||
this.btnMenuModify.Hidden = false;
|
|
||||||
}
|
|
||||||
if (buttonList.Contains(BLL.Const.BtnDelete))
|
if (buttonList.Contains(BLL.Const.BtnDelete))
|
||||||
{
|
{
|
||||||
this.btnMenuDel.Hidden = false;
|
this.btnMenuDel.Hidden = false;
|
||||||
@@ -1498,5 +1516,29 @@ namespace FineUIPro.Web.CQMS.Check
|
|||||||
txtEndTime.Text = "";
|
txtEndTime.Text = "";
|
||||||
BindGrid();
|
BindGrid();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#region Linq获取列表转换焊材DateTable类型
|
||||||
|
public DataTable ToDataTable<T>(IEnumerable<T> data)
|
||||||
|
{
|
||||||
|
PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(typeof(T));
|
||||||
|
DataTable table = new DataTable();
|
||||||
|
foreach (PropertyDescriptor prop in properties)
|
||||||
|
{
|
||||||
|
table.Columns.Add(prop.Name, Nullable.GetUnderlyingType(prop.PropertyType) ?? prop.PropertyType);
|
||||||
|
}
|
||||||
|
|
||||||
|
foreach (T item in data)
|
||||||
|
{
|
||||||
|
DataRow row = table.NewRow();
|
||||||
|
foreach (PropertyDescriptor prop in properties)
|
||||||
|
{
|
||||||
|
row[prop.Name] = prop.GetValue(item) ?? DBNull.Value;
|
||||||
|
}
|
||||||
|
table.Rows.Add(row);
|
||||||
|
}
|
||||||
|
|
||||||
|
return table;
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -194,24 +194,6 @@ namespace FineUIPro.Web.CQMS.Check
|
|||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::System.Web.UI.WebControls.Label lbImageUrl2;
|
protected global::System.Web.UI.WebControls.Label lbImageUrl2;
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// labState 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::System.Web.UI.WebControls.Label labState;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// lbAuditMan 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::System.Web.UI.WebControls.Label lbAuditMan;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// lbState2 控件。
|
/// lbState2 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -275,15 +257,6 @@ namespace FineUIPro.Web.CQMS.Check
|
|||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.Menu Menu1;
|
protected global::FineUIPro.Menu Menu1;
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// btnMenuModify 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.MenuButton btnMenuModify;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// btnMenuView 控件。
|
/// btnMenuView 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -293,33 +266,6 @@ namespace FineUIPro.Web.CQMS.Check
|
|||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.MenuButton btnMenuView;
|
protected global::FineUIPro.MenuButton btnMenuView;
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// MenuButton1 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.MenuButton MenuButton1;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// MenuButton2 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.MenuButton MenuButton2;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// MenuButton3 控件。
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// 自动生成的字段。
|
|
||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
|
||||||
/// </remarks>
|
|
||||||
protected global::FineUIPro.MenuButton MenuButton3;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// btnMenuDel 控件。
|
/// btnMenuDel 控件。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -318,9 +318,9 @@ namespace FineUIPro.Web.CQMS.Check
|
|||||||
|
|
||||||
}
|
}
|
||||||
Model.Check_CheckControl checkControl1 = CheckControlService.GetCheckControl(CheckControlCode);
|
Model.Check_CheckControl checkControl1 = CheckControlService.GetCheckControl(CheckControlCode);
|
||||||
if (checkControl1 != null && !string.IsNullOrEmpty(checkControl1.SaveHandleMan))
|
if (checkControl1 != null && !string.IsNullOrEmpty(checkControl1.DutyMan))
|
||||||
{
|
{
|
||||||
this.drpHandleMan.SelectedValue = checkControl1.SaveHandleMan;
|
this.drpHandleMan.SelectedValue = checkControl1.DutyMan;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -476,7 +476,7 @@ namespace FineUIPro.Web.CQMS.Check
|
|||||||
}
|
}
|
||||||
if (saveType == "submit")
|
if (saveType == "submit")
|
||||||
{
|
{
|
||||||
checkControl.SaveHandleMan = null;
|
checkControl.DutyMan = null;
|
||||||
Model.Check_CheckControlApprove approve = new Model.Check_CheckControlApprove();
|
Model.Check_CheckControlApprove approve = new Model.Check_CheckControlApprove();
|
||||||
approve.CheckControlCode = CheckControlCode;
|
approve.CheckControlCode = CheckControlCode;
|
||||||
if (this.drpHandleMan.SelectedValue != BLL.Const._Null)
|
if (this.drpHandleMan.SelectedValue != BLL.Const._Null)
|
||||||
@@ -496,7 +496,7 @@ namespace FineUIPro.Web.CQMS.Check
|
|||||||
}
|
}
|
||||||
if (saveType == "save")
|
if (saveType == "save")
|
||||||
{
|
{
|
||||||
checkControl.SaveHandleMan = this.drpHandleMan.SelectedValue;
|
checkControl.DutyMan = this.drpHandleMan.SelectedValue;
|
||||||
}
|
}
|
||||||
checkControl.CheckControlCode = CheckControlCode;
|
checkControl.CheckControlCode = CheckControlCode;
|
||||||
BLL.CheckControlService.UpdateCheckControl(checkControl);
|
BLL.CheckControlService.UpdateCheckControl(checkControl);
|
||||||
@@ -506,7 +506,7 @@ namespace FineUIPro.Web.CQMS.Check
|
|||||||
checkControl.CheckMan = this.CurrUser.UserId;
|
checkControl.CheckMan = this.CurrUser.UserId;
|
||||||
if (saveType == "save")
|
if (saveType == "save")
|
||||||
{
|
{
|
||||||
checkControl.SaveHandleMan = this.drpHandleMan.SelectedValue;
|
checkControl.DutyMan = this.drpHandleMan.SelectedValue;
|
||||||
}
|
}
|
||||||
if (!string.IsNullOrEmpty(this.hdCheckControlCode.Text))
|
if (!string.IsNullOrEmpty(this.hdCheckControlCode.Text))
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -5712,3 +5712,962 @@ IP地址:::1
|
|||||||
|
|
||||||
出错时间:04/06/2025 22:13:30
|
出错时间:04/06/2025 22:13:30
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:NullReferenceException
|
||||||
|
错误信息:未将对象引用设置到对象的实例。
|
||||||
|
错误堆栈:
|
||||||
|
在 FineUIPro.Web.HSSE.Technique.RectifyEdit.GetButtonPower() 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\HSSE\Technique\RectifyEdit.aspx.cs:行号 135
|
||||||
|
在 FineUIPro.Web.HSSE.Technique.RectifyEdit.Page_Load(Object sender, EventArgs e) 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\HSSE\Technique\RectifyEdit.aspx.cs:行号 53
|
||||||
|
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
|
||||||
|
在 System.Web.UI.Control.OnLoad(EventArgs e)
|
||||||
|
在 System.Web.UI.Control.LoadRecursive()
|
||||||
|
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||||
|
出错时间:04/08/2025 11:07:44
|
||||||
|
出错文件:http://localhost:4528/HSSE/Technique/RectifyEdit.aspx?RectifyId=00101
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/08/2025 11:07:44
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:NullReferenceException
|
||||||
|
错误信息:未将对象引用设置到对象的实例。
|
||||||
|
错误堆栈:
|
||||||
|
在 FineUIPro.Web.HSSE.Technique.RectifyEdit.GetButtonPower() 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\HSSE\Technique\RectifyEdit.aspx.cs:行号 135
|
||||||
|
在 FineUIPro.Web.HSSE.Technique.RectifyEdit.Page_Load(Object sender, EventArgs e) 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\HSSE\Technique\RectifyEdit.aspx.cs:行号 53
|
||||||
|
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
|
||||||
|
在 System.Web.UI.Control.OnLoad(EventArgs e)
|
||||||
|
在 System.Web.UI.Control.LoadRecursive()
|
||||||
|
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||||
|
出错时间:04/08/2025 11:07:55
|
||||||
|
出错文件:http://localhost:4528/HSSE/Technique/RectifyEdit.aspx?RectifyId=00101
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/08/2025 11:07:55
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:NullReferenceException
|
||||||
|
错误信息:未将对象引用设置到对象的实例。
|
||||||
|
错误堆栈:
|
||||||
|
在 FineUIPro.Web.HSSE.Technique.RectifyEdit.GetButtonPower() 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\HSSE\Technique\RectifyEdit.aspx.cs:行号 135
|
||||||
|
在 FineUIPro.Web.HSSE.Technique.RectifyEdit.Page_Load(Object sender, EventArgs e) 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\HSSE\Technique\RectifyEdit.aspx.cs:行号 53
|
||||||
|
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
|
||||||
|
在 System.Web.UI.Control.OnLoad(EventArgs e)
|
||||||
|
在 System.Web.UI.Control.LoadRecursive()
|
||||||
|
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||||
|
出错时间:04/08/2025 11:08:10
|
||||||
|
出错文件:http://localhost:4528/HSSE/Technique/RectifyEdit.aspx?RectifyId=00107
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/08/2025 11:08:10
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:NullReferenceException
|
||||||
|
错误信息:未将对象引用设置到对象的实例。
|
||||||
|
错误堆栈:
|
||||||
|
在 FineUIPro.Web.HSSE.Technique.RectifyItemEdit.GetButtonPower() 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\HSSE\Technique\RectifyItemEdit.aspx.cs:行号 152
|
||||||
|
在 FineUIPro.Web.HSSE.Technique.RectifyItemEdit.Page_Load(Object sender, EventArgs e) 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\HSSE\Technique\RectifyItemEdit.aspx.cs:行号 52
|
||||||
|
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
|
||||||
|
在 System.Web.UI.Control.OnLoad(EventArgs e)
|
||||||
|
在 System.Web.UI.Control.LoadRecursive()
|
||||||
|
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||||
|
出错时间:04/08/2025 11:08:22
|
||||||
|
出错文件:http://localhost:4528/HSSE/Technique/RectifyItemEdit.aspx?RectifyItemId=17FD34CE-CF20-4110-8A48-9D70D0D9E060
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/08/2025 11:08:22
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:NullReferenceException
|
||||||
|
错误信息:未将对象引用设置到对象的实例。
|
||||||
|
错误堆栈:
|
||||||
|
在 FineUIPro.Web.HSSE.Technique.RectifyItemEdit.GetButtonPower() 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\HSSE\Technique\RectifyItemEdit.aspx.cs:行号 152
|
||||||
|
在 FineUIPro.Web.HSSE.Technique.RectifyItemEdit.Page_Load(Object sender, EventArgs e) 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\HSSE\Technique\RectifyItemEdit.aspx.cs:行号 52
|
||||||
|
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
|
||||||
|
在 System.Web.UI.Control.OnLoad(EventArgs e)
|
||||||
|
在 System.Web.UI.Control.LoadRecursive()
|
||||||
|
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||||
|
出错时间:04/08/2025 11:11:39
|
||||||
|
出错文件:http://localhost:4528/HSSE/Technique/RectifyItemEdit.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/08/2025 11:11:40
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:NullReferenceException
|
||||||
|
错误信息:未将对象引用设置到对象的实例。
|
||||||
|
错误堆栈:
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.VisitInvocation(InvocationExpression invoke)
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node)
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.VisitExpression(Expression exp)
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.VisitBinary(BinaryExpression b)
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node)
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.VisitExpression(Expression exp)
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.VisitWhere(Expression sequence, LambdaExpression predicate)
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.VisitSequenceOperatorCall(MethodCallExpression mc)
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.VisitMethodCall(MethodCallExpression mc)
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node)
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.VisitSelect(Expression sequence, LambdaExpression selector)
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.VisitSequenceOperatorCall(MethodCallExpression mc)
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.VisitMethodCall(MethodCallExpression mc)
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node)
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.VisitAggregate(Expression sequence, LambdaExpression lambda, SqlNodeType aggType, Type returnType)
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.VisitSequenceOperatorCall(MethodCallExpression mc)
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.VisitMethodCall(MethodCallExpression mc)
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node)
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.ConvertOuter(Expression node)
|
||||||
|
在 System.Data.Linq.SqlClient.SqlProvider.BuildQuery(Expression query, SqlNodeAnnotations annotations)
|
||||||
|
在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
|
||||||
|
在 System.Data.Linq.DataQuery`1.System.Linq.IQueryProvider.Execute[S](Expression expression)
|
||||||
|
在 System.Linq.Queryable.Count[TSource](IQueryable`1 source)
|
||||||
|
在 FineUIPro.Web.common.mainProject.getPersonWorkTime() 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\common\mainProject.aspx.cs:行号 200
|
||||||
|
在 FineUIPro.Web.common.mainProject.Page_Load(Object sender, EventArgs e) 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\common\mainProject.aspx.cs:行号 54
|
||||||
|
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
|
||||||
|
在 System.Web.UI.Control.OnLoad(EventArgs e)
|
||||||
|
在 System.Web.UI.Control.LoadRecursive()
|
||||||
|
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||||
|
出错时间:04/08/2025 15:51:37
|
||||||
|
出错文件:http://localhost:4528/common/mainProject.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/08/2025 15:51:37
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:HttpParseException
|
||||||
|
错误信息:类型“FineUIPro.Form”不具有名为“Grid”的公共属性。
|
||||||
|
错误堆栈:
|
||||||
|
在 System.Web.UI.TemplateParser.ProcessException(Exception ex)
|
||||||
|
在 System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
|
||||||
|
在 System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
|
||||||
|
----错误类型:HttpException
|
||||||
|
----错误信息:
|
||||||
|
----类型“FineUIPro.Form”不具有名为“Grid”的公共属性。
|
||||||
|
----错误堆栈:
|
||||||
|
在 System.Web.UI.ControlBuilder.GetChildPropertyBuilder(String tagName, IDictionary attribs, Type& childType, TemplateParser templateParser, Boolean defaultProperty)
|
||||||
|
在 System.Web.UI.ControlBuilder.CreateChildBuilder(String filter, String tagName, IDictionary attribs, TemplateParser parser, ControlBuilder parentBuilder, String id, Int32 line, VirtualPath virtualPath, Type& childType, Boolean defaultProperty)
|
||||||
|
在 System.Web.UI.TemplateParser.ProcessBeginTag(Match match, String inputText)
|
||||||
|
在 System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
|
||||||
|
出错时间:04/08/2025 16:07:47
|
||||||
|
出错文件:http://localhost:4528/OfficeCheck/Inspect/ProjectQualityInspection.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/08/2025 16:07:47
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:HttpParseException
|
||||||
|
错误信息:类型“FineUIPro.Form”不具有名为“Grid”的公共属性。
|
||||||
|
错误堆栈:
|
||||||
|
在 System.Web.UI.TemplateParser.ProcessException(Exception ex)
|
||||||
|
在 System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
|
||||||
|
在 System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
|
||||||
|
----错误类型:HttpException
|
||||||
|
----错误信息:
|
||||||
|
----类型“FineUIPro.Form”不具有名为“Grid”的公共属性。
|
||||||
|
----错误堆栈:
|
||||||
|
在 System.Web.UI.ControlBuilder.GetChildPropertyBuilder(String tagName, IDictionary attribs, Type& childType, TemplateParser templateParser, Boolean defaultProperty)
|
||||||
|
在 System.Web.UI.ControlBuilder.CreateChildBuilder(String filter, String tagName, IDictionary attribs, TemplateParser parser, ControlBuilder parentBuilder, String id, Int32 line, VirtualPath virtualPath, Type& childType, Boolean defaultProperty)
|
||||||
|
在 System.Web.UI.TemplateParser.ProcessBeginTag(Match match, String inputText)
|
||||||
|
在 System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
|
||||||
|
出错时间:04/08/2025 16:08:26
|
||||||
|
出错文件:http://localhost:4528/OfficeCheck/Inspect/ProjectQualityInspection.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/08/2025 16:08:26
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:HttpParseException
|
||||||
|
错误信息:类型“FineUIPro.Form”不具有名为“Grid”的公共属性。
|
||||||
|
错误堆栈:
|
||||||
|
在 System.Web.UI.TemplateParser.ProcessException(Exception ex)
|
||||||
|
在 System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
|
||||||
|
在 System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
|
||||||
|
----错误类型:HttpException
|
||||||
|
----错误信息:
|
||||||
|
----类型“FineUIPro.Form”不具有名为“Grid”的公共属性。
|
||||||
|
----错误堆栈:
|
||||||
|
在 System.Web.UI.ControlBuilder.GetChildPropertyBuilder(String tagName, IDictionary attribs, Type& childType, TemplateParser templateParser, Boolean defaultProperty)
|
||||||
|
在 System.Web.UI.ControlBuilder.CreateChildBuilder(String filter, String tagName, IDictionary attribs, TemplateParser parser, ControlBuilder parentBuilder, String id, Int32 line, VirtualPath virtualPath, Type& childType, Boolean defaultProperty)
|
||||||
|
在 System.Web.UI.TemplateParser.ProcessBeginTag(Match match, String inputText)
|
||||||
|
在 System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
|
||||||
|
出错时间:04/08/2025 16:10:10
|
||||||
|
出错文件:http://localhost:4528/OfficeCheck/Inspect/ProjectQualityInspection.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/08/2025 16:10:10
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:HttpParseException
|
||||||
|
错误信息:类型“FineUIPro.Form”不具有名为“Grid”的公共属性。
|
||||||
|
错误堆栈:
|
||||||
|
在 System.Web.UI.TemplateParser.ProcessException(Exception ex)
|
||||||
|
在 System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
|
||||||
|
在 System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
|
||||||
|
----错误类型:HttpException
|
||||||
|
----错误信息:
|
||||||
|
----类型“FineUIPro.Form”不具有名为“Grid”的公共属性。
|
||||||
|
----错误堆栈:
|
||||||
|
在 System.Web.UI.ControlBuilder.GetChildPropertyBuilder(String tagName, IDictionary attribs, Type& childType, TemplateParser templateParser, Boolean defaultProperty)
|
||||||
|
在 System.Web.UI.ControlBuilder.CreateChildBuilder(String filter, String tagName, IDictionary attribs, TemplateParser parser, ControlBuilder parentBuilder, String id, Int32 line, VirtualPath virtualPath, Type& childType, Boolean defaultProperty)
|
||||||
|
在 System.Web.UI.TemplateParser.ProcessBeginTag(Match match, String inputText)
|
||||||
|
在 System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
|
||||||
|
出错时间:04/08/2025 16:15:09
|
||||||
|
出错文件:http://localhost:4528/OfficeCheck/Inspect/ProjectQualityInspection.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/08/2025 16:15:09
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:HttpParseException
|
||||||
|
错误信息:类型“FineUIPro.Form”不具有名为“Grid”的公共属性。
|
||||||
|
错误堆栈:
|
||||||
|
在 System.Web.UI.TemplateParser.ProcessException(Exception ex)
|
||||||
|
在 System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
|
||||||
|
在 System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
|
||||||
|
----错误类型:HttpException
|
||||||
|
----错误信息:
|
||||||
|
----类型“FineUIPro.Form”不具有名为“Grid”的公共属性。
|
||||||
|
----错误堆栈:
|
||||||
|
在 System.Web.UI.ControlBuilder.GetChildPropertyBuilder(String tagName, IDictionary attribs, Type& childType, TemplateParser templateParser, Boolean defaultProperty)
|
||||||
|
在 System.Web.UI.ControlBuilder.CreateChildBuilder(String filter, String tagName, IDictionary attribs, TemplateParser parser, ControlBuilder parentBuilder, String id, Int32 line, VirtualPath virtualPath, Type& childType, Boolean defaultProperty)
|
||||||
|
在 System.Web.UI.TemplateParser.ProcessBeginTag(Match match, String inputText)
|
||||||
|
在 System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
|
||||||
|
出错时间:04/08/2025 16:16:05
|
||||||
|
出错文件:http://localhost:4528/OfficeCheck/Inspect/ProjectQualityInspection.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/08/2025 16:16:05
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:HttpCompileException
|
||||||
|
错误信息:e:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\OfficeCheck\Inspect\ProjectQualityInspection.aspx(24): error CS1061: “ASP.officecheck_inspect_projectqualityinspection_aspx”不包含“TextBox_TextChanged”的定义,并且找不到可接受类型为“ASP.officecheck_inspect_projectqualityinspection_aspx”的第一个参数的扩展方法“TextBox_TextChanged”(是否缺少 using 指令或程序集引用?)
|
||||||
|
错误堆栈:
|
||||||
|
在 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
|
||||||
|
在 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
|
||||||
|
在 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
|
||||||
|
在 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
|
||||||
|
在 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
|
||||||
|
在 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
|
||||||
|
在 System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path)
|
||||||
|
在 System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
|
||||||
|
在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
|
||||||
|
在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
|
||||||
|
出错时间:04/08/2025 16:25:25
|
||||||
|
出错文件:http://localhost:4528/OfficeCheck/Inspect/ProjectQualityInspection.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/08/2025 16:25:25
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:HttpCompileException
|
||||||
|
错误信息:e:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\OfficeCheck\Inspect\ProjectQualityInspection.aspx(24): error CS1061: “ASP.officecheck_inspect_projectqualityinspection_aspx”不包含“TextBox_TextChanged”的定义,并且找不到可接受类型为“ASP.officecheck_inspect_projectqualityinspection_aspx”的第一个参数的扩展方法“TextBox_TextChanged”(是否缺少 using 指令或程序集引用?)
|
||||||
|
错误堆栈:
|
||||||
|
在 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
|
||||||
|
在 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
|
||||||
|
在 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
|
||||||
|
在 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
|
||||||
|
在 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
|
||||||
|
在 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
|
||||||
|
在 System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path)
|
||||||
|
在 System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
|
||||||
|
在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
|
||||||
|
在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
|
||||||
|
出错时间:04/08/2025 16:36:54
|
||||||
|
出错文件:http://localhost:4528/OfficeCheck/Inspect/ProjectQualityInspection.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/08/2025 16:36:54
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:HttpCompileException
|
||||||
|
错误信息:e:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\OfficeCheck\Inspect\ProjectQualityInspection.aspx(24): error CS1061: “ASP.officecheck_inspect_projectqualityinspection_aspx”不包含“TextBox_TextChanged”的定义,并且找不到可接受类型为“ASP.officecheck_inspect_projectqualityinspection_aspx”的第一个参数的扩展方法“TextBox_TextChanged”(是否缺少 using 指令或程序集引用?)
|
||||||
|
错误堆栈:
|
||||||
|
在 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
|
||||||
|
在 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
|
||||||
|
在 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
|
||||||
|
在 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
|
||||||
|
在 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
|
||||||
|
在 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
|
||||||
|
在 System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path)
|
||||||
|
在 System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
|
||||||
|
在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
|
||||||
|
在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
|
||||||
|
出错时间:04/08/2025 16:42:27
|
||||||
|
出错文件:http://localhost:4528/OfficeCheck/Inspect/ProjectQualityInspection.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/08/2025 16:42:27
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:HttpCompileException
|
||||||
|
错误信息:e:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\OfficeCheck\Inspect\ProjectQualityInspection.aspx(24): error CS1061: “ASP.officecheck_inspect_projectqualityinspection_aspx”不包含“TextBox_TextChanged”的定义,并且找不到可接受类型为“ASP.officecheck_inspect_projectqualityinspection_aspx”的第一个参数的扩展方法“TextBox_TextChanged”(是否缺少 using 指令或程序集引用?)
|
||||||
|
错误堆栈:
|
||||||
|
在 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
|
||||||
|
在 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
|
||||||
|
在 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
|
||||||
|
在 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
|
||||||
|
在 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
|
||||||
|
在 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
|
||||||
|
在 System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path)
|
||||||
|
在 System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
|
||||||
|
在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
|
||||||
|
在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
|
||||||
|
出错时间:04/08/2025 16:43:18
|
||||||
|
出错文件:http://localhost:4528/OfficeCheck/Inspect/ProjectQualityInspection.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/08/2025 16:43:18
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:HttpCompileException
|
||||||
|
错误信息:e:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\OfficeCheck\Inspect\ProjectQualityInspection.aspx(13): error CS1061: “ASP.officecheck_inspect_projectqualityinspection_aspx”不包含“Grid1_Sort”的定义,并且找不到可接受类型为“ASP.officecheck_inspect_projectqualityinspection_aspx”的第一个参数的扩展方法“Grid1_Sort”(是否缺少 using 指令或程序集引用?)
|
||||||
|
错误堆栈:
|
||||||
|
在 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
|
||||||
|
在 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
|
||||||
|
在 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
|
||||||
|
在 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
|
||||||
|
在 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
|
||||||
|
在 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
|
||||||
|
在 System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path)
|
||||||
|
在 System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
|
||||||
|
在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
|
||||||
|
在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
|
||||||
|
出错时间:04/08/2025 16:43:57
|
||||||
|
出错文件:http://localhost:4528/OfficeCheck/Inspect/ProjectQualityInspection.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/08/2025 16:43:57
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:HttpCompileException
|
||||||
|
错误信息:e:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\OfficeCheck\Inspect\ProjectQualityInspection.aspx(13): error CS1061: “ASP.officecheck_inspect_projectqualityinspection_aspx”不包含“Grid1_Sort”的定义,并且找不到可接受类型为“ASP.officecheck_inspect_projectqualityinspection_aspx”的第一个参数的扩展方法“Grid1_Sort”(是否缺少 using 指令或程序集引用?)
|
||||||
|
错误堆栈:
|
||||||
|
在 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
|
||||||
|
在 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
|
||||||
|
在 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
|
||||||
|
在 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
|
||||||
|
在 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
|
||||||
|
在 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
|
||||||
|
在 System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path)
|
||||||
|
在 System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
|
||||||
|
在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
|
||||||
|
在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
|
||||||
|
出错时间:04/08/2025 16:44:37
|
||||||
|
出错文件:http://localhost:4528/OfficeCheck/Inspect/ProjectQualityInspection.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/08/2025 16:44:37
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:HttpCompileException
|
||||||
|
错误信息:e:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\OfficeCheck\Inspect\ProjectQualityInspection.aspx(13): error CS1061: “ASP.officecheck_inspect_projectqualityinspection_aspx”不包含“Grid1_PageIndexChange”的定义,并且找不到可接受类型为“ASP.officecheck_inspect_projectqualityinspection_aspx”的第一个参数的扩展方法“Grid1_PageIndexChange”(是否缺少 using 指令或程序集引用?)
|
||||||
|
错误堆栈:
|
||||||
|
在 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
|
||||||
|
在 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
|
||||||
|
在 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
|
||||||
|
在 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
|
||||||
|
在 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
|
||||||
|
在 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
|
||||||
|
在 System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path)
|
||||||
|
在 System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
|
||||||
|
在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
|
||||||
|
在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
|
||||||
|
出错时间:04/08/2025 16:46:47
|
||||||
|
出错文件:http://localhost:4528/OfficeCheck/Inspect/ProjectQualityInspection.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/08/2025 16:46:48
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:HttpCompileException
|
||||||
|
错误信息:e:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\OfficeCheck\Inspect\ProjectQualityInspection.aspx(13): error CS1061: “ASP.officecheck_inspect_projectqualityinspection_aspx”不包含“Grid1_RowCommand”的定义,并且找不到可接受类型为“ASP.officecheck_inspect_projectqualityinspection_aspx”的第一个参数的扩展方法“Grid1_RowCommand”(是否缺少 using 指令或程序集引用?)
|
||||||
|
错误堆栈:
|
||||||
|
在 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
|
||||||
|
在 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
|
||||||
|
在 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
|
||||||
|
在 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
|
||||||
|
在 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
|
||||||
|
在 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
|
||||||
|
在 System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path)
|
||||||
|
在 System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
|
||||||
|
在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
|
||||||
|
在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
|
||||||
|
出错时间:04/08/2025 16:49:05
|
||||||
|
出错文件:http://localhost:4528/OfficeCheck/Inspect/ProjectQualityInspection.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/08/2025 16:49:06
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:HttpCompileException
|
||||||
|
错误信息:e:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\OfficeCheck\Inspect\ProjectQualityInspection.aspx(13): error CS1061: “ASP.officecheck_inspect_projectqualityinspection_aspx”不包含“Grid1_RowCommand”的定义,并且找不到可接受类型为“ASP.officecheck_inspect_projectqualityinspection_aspx”的第一个参数的扩展方法“Grid1_RowCommand”(是否缺少 using 指令或程序集引用?)
|
||||||
|
错误堆栈:
|
||||||
|
在 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
|
||||||
|
在 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
|
||||||
|
在 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
|
||||||
|
在 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
|
||||||
|
在 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
|
||||||
|
在 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
|
||||||
|
在 System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path)
|
||||||
|
在 System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
|
||||||
|
在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
|
||||||
|
在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
|
||||||
|
出错时间:04/08/2025 16:49:20
|
||||||
|
出错文件:http://localhost:4528/OfficeCheck/Inspect/ProjectQualityInspection.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/08/2025 16:49:20
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:HttpCompileException
|
||||||
|
错误信息:e:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\OfficeCheck\Inspect\ProjectQualityInspection.aspx(13): error CS1061: “ASP.officecheck_inspect_projectqualityinspection_aspx”不包含“Grid1_RowDoubleClick”的定义,并且找不到可接受类型为“ASP.officecheck_inspect_projectqualityinspection_aspx”的第一个参数的扩展方法“Grid1_RowDoubleClick”(是否缺少 using 指令或程序集引用?)
|
||||||
|
错误堆栈:
|
||||||
|
在 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
|
||||||
|
在 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
|
||||||
|
在 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
|
||||||
|
在 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
|
||||||
|
在 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
|
||||||
|
在 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
|
||||||
|
在 System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path)
|
||||||
|
在 System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
|
||||||
|
在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
|
||||||
|
在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
|
||||||
|
出错时间:04/08/2025 16:51:41
|
||||||
|
出错文件:http://localhost:4528/OfficeCheck/Inspect/ProjectQualityInspection.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/08/2025 16:51:41
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:HttpCompileException
|
||||||
|
错误信息:e:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\OfficeCheck\Inspect\ProjectQualityInspection.aspx(13): error CS1061: “ASP.officecheck_inspect_projectqualityinspection_aspx”不包含“Grid1_RowDoubleClick”的定义,并且找不到可接受类型为“ASP.officecheck_inspect_projectqualityinspection_aspx”的第一个参数的扩展方法“Grid1_RowDoubleClick”(是否缺少 using 指令或程序集引用?)
|
||||||
|
错误堆栈:
|
||||||
|
在 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
|
||||||
|
在 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
|
||||||
|
在 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
|
||||||
|
在 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
|
||||||
|
在 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
|
||||||
|
在 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
|
||||||
|
在 System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path)
|
||||||
|
在 System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
|
||||||
|
在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
|
||||||
|
在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
|
||||||
|
出错时间:04/08/2025 16:52:01
|
||||||
|
出错文件:http://localhost:4528/OfficeCheck/Inspect/ProjectQualityInspection.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/08/2025 16:52:01
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:NullReferenceException
|
||||||
|
错误信息:未将对象引用设置到对象的实例。
|
||||||
|
错误堆栈:
|
||||||
|
在 FineUIPro.Web.OfficeCheck.Inspect.ProjectQualityInspection.SetResponsibleUnit() 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\OfficeCheck\Inspect\ProjectQualityInspection.aspx.cs:行号 141
|
||||||
|
在 FineUIPro.Web.OfficeCheck.Inspect.ProjectQualityInspection.Page_Load(Object sender, EventArgs e) 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\OfficeCheck\Inspect\ProjectQualityInspection.aspx.cs:行号 37
|
||||||
|
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
|
||||||
|
在 System.Web.UI.Control.OnLoad(EventArgs e)
|
||||||
|
在 System.Web.UI.Control.LoadRecursive()
|
||||||
|
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||||
|
出错时间:04/08/2025 16:53:11
|
||||||
|
出错文件:http://localhost:4528/OfficeCheck/Inspect/ProjectQualityInspection.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/08/2025 16:53:11
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:NullReferenceException
|
||||||
|
错误信息:未将对象引用设置到对象的实例。
|
||||||
|
错误堆栈:
|
||||||
|
在 FineUIPro.Web.OfficeCheck.Inspect.ProjectQualityInspection.SetResponsibleUnit() 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\OfficeCheck\Inspect\ProjectQualityInspection.aspx.cs:行号 141
|
||||||
|
在 FineUIPro.Web.OfficeCheck.Inspect.ProjectQualityInspection.Page_Load(Object sender, EventArgs e) 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\OfficeCheck\Inspect\ProjectQualityInspection.aspx.cs:行号 37
|
||||||
|
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
|
||||||
|
在 System.Web.UI.Control.OnLoad(EventArgs e)
|
||||||
|
在 System.Web.UI.Control.LoadRecursive()
|
||||||
|
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||||
|
出错时间:04/08/2025 16:58:10
|
||||||
|
出错文件:http://localhost:4528/OfficeCheck/Inspect/ProjectQualityInspection.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/08/2025 16:58:10
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:NullReferenceException
|
||||||
|
错误信息:未将对象引用设置到对象的实例。
|
||||||
|
错误堆栈:
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.VisitInvocation(InvocationExpression invoke)
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node)
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.VisitExpression(Expression exp)
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.VisitBinary(BinaryExpression b)
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node)
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.VisitExpression(Expression exp)
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.VisitWhere(Expression sequence, LambdaExpression predicate)
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.VisitSequenceOperatorCall(MethodCallExpression mc)
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.VisitMethodCall(MethodCallExpression mc)
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node)
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.VisitSelect(Expression sequence, LambdaExpression selector)
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.VisitSequenceOperatorCall(MethodCallExpression mc)
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.VisitMethodCall(MethodCallExpression mc)
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node)
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.VisitAggregate(Expression sequence, LambdaExpression lambda, SqlNodeType aggType, Type returnType)
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.VisitSequenceOperatorCall(MethodCallExpression mc)
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.VisitMethodCall(MethodCallExpression mc)
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.VisitInner(Expression node)
|
||||||
|
在 System.Data.Linq.SqlClient.QueryConverter.ConvertOuter(Expression node)
|
||||||
|
在 System.Data.Linq.SqlClient.SqlProvider.BuildQuery(Expression query, SqlNodeAnnotations annotations)
|
||||||
|
在 System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
|
||||||
|
在 System.Data.Linq.DataQuery`1.System.Linq.IQueryProvider.Execute[S](Expression expression)
|
||||||
|
在 System.Linq.Queryable.Count[TSource](IQueryable`1 source)
|
||||||
|
在 FineUIPro.Web.common.mainProject.getPersonWorkTime() 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\common\mainProject.aspx.cs:行号 200
|
||||||
|
在 FineUIPro.Web.common.mainProject.Page_Load(Object sender, EventArgs e) 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\common\mainProject.aspx.cs:行号 54
|
||||||
|
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
|
||||||
|
在 System.Web.UI.Control.OnLoad(EventArgs e)
|
||||||
|
在 System.Web.UI.Control.LoadRecursive()
|
||||||
|
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||||
|
出错时间:04/08/2025 17:07:25
|
||||||
|
出错文件:http://localhost:4528/common/mainProject.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/08/2025 17:07:25
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:NullReferenceException
|
||||||
|
错误信息:未将对象引用设置到对象的实例。
|
||||||
|
错误堆栈:
|
||||||
|
在 FineUIPro.Web.common.mainProject.getCQMSProblem() 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\common\mainProject.aspx.cs:行号 535
|
||||||
|
在 FineUIPro.Web.common.mainProject.Page_Load(Object sender, EventArgs e) 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\common\mainProject.aspx.cs:行号 60
|
||||||
|
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
|
||||||
|
在 System.Web.UI.Control.OnLoad(EventArgs e)
|
||||||
|
在 System.Web.UI.Control.LoadRecursive()
|
||||||
|
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||||
|
出错时间:04/08/2025 17:11:43
|
||||||
|
出错文件:http://localhost:4528/common/mainProject.aspx
|
||||||
|
IP地址:127.0.0.1
|
||||||
|
|
||||||
|
出错时间:04/08/2025 17:11:43
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:NullReferenceException
|
||||||
|
错误信息:未将对象引用设置到对象的实例。
|
||||||
|
错误堆栈:
|
||||||
|
在 FineUIPro.Web.common.mainProject.getCQMSProblem() 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\common\mainProject.aspx.cs:行号 535
|
||||||
|
在 FineUIPro.Web.common.mainProject.Page_Load(Object sender, EventArgs e) 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\common\mainProject.aspx.cs:行号 60
|
||||||
|
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
|
||||||
|
在 System.Web.UI.Control.OnLoad(EventArgs e)
|
||||||
|
在 System.Web.UI.Control.LoadRecursive()
|
||||||
|
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||||
|
出错时间:04/08/2025 17:11:43
|
||||||
|
出错文件:http://localhost:4528/common/mainProject.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/08/2025 17:11:43
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:NullReferenceException
|
||||||
|
错误信息:未将对象引用设置到对象的实例。
|
||||||
|
错误堆栈:
|
||||||
|
在 FineUIPro.Web.OfficeCheck.Inspect.ProjectQualityInspection.SetResponsibleUnit() 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\OfficeCheck\Inspect\ProjectQualityInspection.aspx.cs:行号 143
|
||||||
|
在 FineUIPro.Web.OfficeCheck.Inspect.ProjectQualityInspection.Page_Load(Object sender, EventArgs e) 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\OfficeCheck\Inspect\ProjectQualityInspection.aspx.cs:行号 39
|
||||||
|
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
|
||||||
|
在 System.Web.UI.Control.OnLoad(EventArgs e)
|
||||||
|
在 System.Web.UI.Control.LoadRecursive()
|
||||||
|
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||||
|
出错时间:04/08/2025 17:16:10
|
||||||
|
出错文件:http://localhost:4528/OfficeCheck/Inspect/ProjectQualityInspection.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/08/2025 17:16:11
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:NullReferenceException
|
||||||
|
错误信息:未将对象引用设置到对象的实例。
|
||||||
|
错误堆栈:
|
||||||
|
在 FineUIPro.Web.OfficeCheck.Inspect.ProjectQualityInspectionView.Page_Load(Object sender, EventArgs e) 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\OfficeCheck\Inspect\ProjectQualityInspectionView.aspx.cs:行号 60
|
||||||
|
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
|
||||||
|
在 System.Web.UI.Control.OnLoad(EventArgs e)
|
||||||
|
在 System.Web.UI.Control.LoadRecursive()
|
||||||
|
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||||
|
出错时间:04/08/2025 17:53:20
|
||||||
|
出错文件:http://localhost:4528/OfficeCheck/Inspect/ProjectQualityInspectionView.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/08/2025 17:53:21
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:NullReferenceException
|
||||||
|
错误信息:未将对象引用设置到对象的实例。
|
||||||
|
错误堆栈:
|
||||||
|
在 FineUIPro.Web.OfficeCheck.Inspect.ProjectQualityInspectionView.Page_Load(Object sender, EventArgs e) 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\OfficeCheck\Inspect\ProjectQualityInspectionView.aspx.cs:行号 63
|
||||||
|
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
|
||||||
|
在 System.Web.UI.Control.OnLoad(EventArgs e)
|
||||||
|
在 System.Web.UI.Control.LoadRecursive()
|
||||||
|
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||||
|
出错时间:04/08/2025 18:20:52
|
||||||
|
出错文件:http://localhost:4528/OfficeCheck/Inspect/ProjectQualityInspectionView.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/08/2025 18:20:53
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:NullReferenceException
|
||||||
|
错误信息:未将对象引用设置到对象的实例。
|
||||||
|
错误堆栈:
|
||||||
|
在 FineUIPro.Web.OfficeCheck.Inspect.ProjectQualityInspection.SetButtonPower() 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\OfficeCheck\Inspect\ProjectQualityInspection.aspx.cs:行号 309
|
||||||
|
在 FineUIPro.Web.OfficeCheck.Inspect.ProjectQualityInspection.Page_Load(Object sender, EventArgs e) 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\OfficeCheck\Inspect\ProjectQualityInspection.aspx.cs:行号 35
|
||||||
|
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
|
||||||
|
在 System.Web.UI.Control.OnLoad(EventArgs e)
|
||||||
|
在 System.Web.UI.Control.LoadRecursive()
|
||||||
|
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||||
|
出错时间:04/08/2025 19:17:29
|
||||||
|
出错文件:http://localhost:4528/OfficeCheck/Inspect/ProjectQualityInspection.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/08/2025 19:17:29
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:NullReferenceException
|
||||||
|
错误信息:未将对象引用设置到对象的实例。
|
||||||
|
错误堆栈:
|
||||||
|
在 FineUIPro.Web.OfficeCheck.Inspect.ProjectQualityInspection.SetButtonPower() 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\OfficeCheck\Inspect\ProjectQualityInspection.aspx.cs:行号 310
|
||||||
|
在 FineUIPro.Web.OfficeCheck.Inspect.ProjectQualityInspection.Page_Load(Object sender, EventArgs e) 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\OfficeCheck\Inspect\ProjectQualityInspection.aspx.cs:行号 36
|
||||||
|
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
|
||||||
|
在 System.Web.UI.Control.OnLoad(EventArgs e)
|
||||||
|
在 System.Web.UI.Control.LoadRecursive()
|
||||||
|
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||||
|
出错时间:04/08/2025 19:29:18
|
||||||
|
出错文件:http://localhost:4528/OfficeCheck/Inspect/ProjectQualityInspection.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/08/2025 19:29:18
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:NullReferenceException
|
||||||
|
错误信息:未将对象引用设置到对象的实例。
|
||||||
|
错误堆栈:
|
||||||
|
在 FineUIPro.Web.OfficeCheck.Inspect.ProjectQualityInspection.SetButtonPower() 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\OfficeCheck\Inspect\ProjectQualityInspection.aspx.cs:行号 310
|
||||||
|
在 FineUIPro.Web.OfficeCheck.Inspect.ProjectQualityInspection.Page_Load(Object sender, EventArgs e) 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\OfficeCheck\Inspect\ProjectQualityInspection.aspx.cs:行号 36
|
||||||
|
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
|
||||||
|
在 System.Web.UI.Control.OnLoad(EventArgs e)
|
||||||
|
在 System.Web.UI.Control.LoadRecursive()
|
||||||
|
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||||
|
出错时间:04/08/2025 19:30:40
|
||||||
|
出错文件:http://localhost:4528/OfficeCheck/Inspect/ProjectQualityInspection.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/08/2025 19:30:40
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:ChangeConflictException
|
||||||
|
错误信息:找不到行或行已更改。
|
||||||
|
错误堆栈:
|
||||||
|
在 System.Data.Linq.ChangeProcessor.SubmitChanges(ConflictMode failureMode)
|
||||||
|
在 System.Data.Linq.DataContext.SubmitChanges(ConflictMode failureMode)
|
||||||
|
在 System.Data.Linq.DataContext.SubmitChanges()
|
||||||
|
在 FineUIPro.Web.OfficeCheck.Inspect.ProjectQualityInspection.btnMenuDel_Click(Object sender, EventArgs e) 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\OfficeCheck\Inspect\ProjectQualityInspection.aspx.cs:行号 337
|
||||||
|
在 FineUIPro.MenuButton.OnClick(EventArgs e)
|
||||||
|
在 (MenuButton , EventArgs )
|
||||||
|
在 FineUIPro.MenuButton.RaisePostBackEvent(String eventArgument)
|
||||||
|
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
|
||||||
|
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
|
||||||
|
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||||
|
出错时间:04/08/2025 19:31:23
|
||||||
|
出错文件:http://localhost:4528/OfficeCheck/Inspect/ProjectQualityInspection.aspx
|
||||||
|
IP地址:::1
|
||||||
|
操作人员:徐月
|
||||||
|
|
||||||
|
出错时间:04/08/2025 19:31:23
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:NullReferenceException
|
||||||
|
错误信息:未将对象引用设置到对象的实例。
|
||||||
|
错误堆栈:
|
||||||
|
在 FineUIPro.Web.OfficeCheck.Inspect.ProjectQualityInspection.SetButtonPower() 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\OfficeCheck\Inspect\ProjectQualityInspection.aspx.cs:行号 310
|
||||||
|
在 FineUIPro.Web.OfficeCheck.Inspect.ProjectQualityInspection.Page_Load(Object sender, EventArgs e) 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\OfficeCheck\Inspect\ProjectQualityInspection.aspx.cs:行号 36
|
||||||
|
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
|
||||||
|
在 System.Web.UI.Control.OnLoad(EventArgs e)
|
||||||
|
在 System.Web.UI.Control.LoadRecursive()
|
||||||
|
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||||
|
出错时间:04/08/2025 19:33:21
|
||||||
|
出错文件:http://localhost:4528/OfficeCheck/Inspect/ProjectQualityInspection.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/08/2025 19:33:21
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:NullReferenceException
|
||||||
|
错误信息:未将对象引用设置到对象的实例。
|
||||||
|
错误堆栈:
|
||||||
|
在 FineUIPro.Web.OfficeCheck.Inspect.ProjectQualityInspection.SetButtonPower() 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\OfficeCheck\Inspect\ProjectQualityInspection.aspx.cs:行号 310
|
||||||
|
在 FineUIPro.Web.OfficeCheck.Inspect.ProjectQualityInspection.Page_Load(Object sender, EventArgs e) 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\OfficeCheck\Inspect\ProjectQualityInspection.aspx.cs:行号 36
|
||||||
|
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
|
||||||
|
在 System.Web.UI.Control.OnLoad(EventArgs e)
|
||||||
|
在 System.Web.UI.Control.LoadRecursive()
|
||||||
|
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||||
|
出错时间:04/08/2025 19:40:34
|
||||||
|
出错文件:http://localhost:4528/OfficeCheck/Inspect/ProjectQualityInspection.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/08/2025 19:40:34
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:NullReferenceException
|
||||||
|
错误信息:未将对象引用设置到对象的实例。
|
||||||
|
错误堆栈:
|
||||||
|
在 FineUIPro.Web.OfficeCheck.Inspect.ProjectQualityInspection.SetButtonPower() 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\OfficeCheck\Inspect\ProjectQualityInspection.aspx.cs:行号 310
|
||||||
|
在 FineUIPro.Web.OfficeCheck.Inspect.ProjectQualityInspection.Page_Load(Object sender, EventArgs e) 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\OfficeCheck\Inspect\ProjectQualityInspection.aspx.cs:行号 36
|
||||||
|
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
|
||||||
|
在 System.Web.UI.Control.OnLoad(EventArgs e)
|
||||||
|
在 System.Web.UI.Control.LoadRecursive()
|
||||||
|
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||||
|
出错时间:04/08/2025 19:55:33
|
||||||
|
出错文件:http://localhost:4528/OfficeCheck/Inspect/ProjectQualityInspection.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/08/2025 19:55:33
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:NullReferenceException
|
||||||
|
错误信息:未将对象引用设置到对象的实例。
|
||||||
|
错误堆栈:
|
||||||
|
在 FineUIPro.Web.CQMS.Check.ChecklistEdit.Page_Load(Object sender, EventArgs e) 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\CQMS\Check\ChecklistEdit.aspx.cs:行号 131
|
||||||
|
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
|
||||||
|
在 System.Web.UI.Control.OnLoad(EventArgs e)
|
||||||
|
在 System.Web.UI.Control.LoadRecursive()
|
||||||
|
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||||
|
出错时间:04/10/2025 09:40:22
|
||||||
|
出错文件:http://localhost:4528/CQMS/Check/ChecklistEdit.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/10/2025 09:40:22
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:NullReferenceException
|
||||||
|
错误信息:未将对象引用设置到对象的实例。
|
||||||
|
错误堆栈:
|
||||||
|
在 FineUIPro.Web.index.Page_Init(Object sender, EventArgs e)
|
||||||
|
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
|
||||||
|
在 System.Web.UI.Control.OnInit(EventArgs e)
|
||||||
|
在 System.Web.UI.Page.OnInit(EventArgs e)
|
||||||
|
在 System.Web.UI.Control.InitRecursive(Control namingContainer)
|
||||||
|
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||||
|
出错时间:04/12/2025 17:19:12
|
||||||
|
出错文件:http://localhost:4528/index.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/12/2025 17:19:12
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:NullReferenceException
|
||||||
|
错误信息:未将对象引用设置到对象的实例。
|
||||||
|
错误堆栈:
|
||||||
|
在 FineUIPro.Web.common.mainProject.getCQMSProblem() 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\common\mainProject.aspx.cs:行号 535
|
||||||
|
在 FineUIPro.Web.common.mainProject.Page_Load(Object sender, EventArgs e) 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\common\mainProject.aspx.cs:行号 60
|
||||||
|
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
|
||||||
|
在 System.Web.UI.Control.OnLoad(EventArgs e)
|
||||||
|
在 System.Web.UI.Control.LoadRecursive()
|
||||||
|
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||||
|
出错时间:04/12/2025 17:28:28
|
||||||
|
出错文件:http://localhost:4528/common/mainProject.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/12/2025 17:28:28
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:NullReferenceException
|
||||||
|
错误信息:未将对象引用设置到对象的实例。
|
||||||
|
错误堆栈:
|
||||||
|
在 FineUIPro.Web.CQMS.Check.CheckList.Page_Load(Object sender, EventArgs e) 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\CQMS\Check\CheckList.aspx.cs:行号 70
|
||||||
|
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
|
||||||
|
在 System.Web.UI.Control.OnLoad(EventArgs e)
|
||||||
|
在 System.Web.UI.Control.LoadRecursive()
|
||||||
|
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||||
|
出错时间:04/12/2025 18:42:05
|
||||||
|
出错文件:http://localhost:4528/CQMS/Check/CheckList.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/12/2025 18:42:05
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:HttpException
|
||||||
|
错误信息:DataBinding:“System.Data.DataRowView”不包含名为“State”的属性。
|
||||||
|
错误堆栈:
|
||||||
|
在 System.Web.UI.DataBinder.GetPropertyValue(Object container, String propName)
|
||||||
|
在 System.Web.UI.DataBinder.Eval(Object container, String[] expressionParts)
|
||||||
|
在 System.Web.UI.DataBinder.Eval(Object container, String expression)
|
||||||
|
在 System.Web.UI.TemplateControl.Eval(String expression)
|
||||||
|
在 ASP.cqms_check_checklist_aspx.__DataBindinglabState(Object sender, EventArgs e) 位置 e:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\CQMS\Check\CheckList.aspx:行号 173
|
||||||
|
在 System.Web.UI.Control.OnDataBinding(EventArgs e)
|
||||||
|
在 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
|
||||||
|
在 System.Web.UI.Control.DataBind()
|
||||||
|
在 System.Web.UI.Control.DataBindChildren()
|
||||||
|
在 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
|
||||||
|
在 System.Web.UI.Control.DataBind()
|
||||||
|
在 (Control )
|
||||||
|
在 FineUIPro.GridRow.BkpgFeAELTFlAvoTrOBrConfcLJbA()
|
||||||
|
在 (GridRow )
|
||||||
|
在 FineUIPro.Grid.BkpgFeAELTFlAvoTrOBrConfcLJbA(Int32 , Object )
|
||||||
|
在 (Grid , Int32 , Object )
|
||||||
|
在 FineUIPro.Grid.LDChsdiaqdhUTcxBcQPMKyQFfjEDB(DataTable , Boolean )
|
||||||
|
在 (Grid , DataTable , Boolean )
|
||||||
|
在 FineUIPro.Grid.DataBind(Boolean keepCurrentData)
|
||||||
|
在 (Grid , Boolean )
|
||||||
|
在 FineUIPro.Grid.DataBind()
|
||||||
|
在 FineUIPro.Web.CQMS.Check.CheckList.BindGrid() 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\CQMS\Check\CheckList.aspx.cs:行号 393
|
||||||
|
在 FineUIPro.Web.CQMS.Check.CheckList.Page_Load(Object sender, EventArgs e) 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\CQMS\Check\CheckList.aspx.cs:行号 88
|
||||||
|
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
|
||||||
|
在 System.Web.UI.Control.OnLoad(EventArgs e)
|
||||||
|
在 System.Web.UI.Control.LoadRecursive()
|
||||||
|
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||||
|
出错时间:04/12/2025 18:42:25
|
||||||
|
出错文件:http://localhost:4528/CQMS/Check/CheckList.aspx
|
||||||
|
IP地址:::1
|
||||||
|
操作人员:徐月
|
||||||
|
|
||||||
|
出错时间:04/12/2025 18:42:25
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:NullReferenceException
|
||||||
|
错误信息:未将对象引用设置到对象的实例。
|
||||||
|
错误堆栈:
|
||||||
|
在 FineUIPro.Web.CQMS.Check.CheckList.Page_Load(Object sender, EventArgs e) 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\CQMS\Check\CheckList.aspx.cs:行号 70
|
||||||
|
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
|
||||||
|
在 System.Web.UI.Control.OnLoad(EventArgs e)
|
||||||
|
在 System.Web.UI.Control.LoadRecursive()
|
||||||
|
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||||
|
出错时间:04/12/2025 18:44:03
|
||||||
|
出错文件:http://localhost:4528/CQMS/Check/CheckList.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/12/2025 18:44:04
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:NullReferenceException
|
||||||
|
错误信息:未将对象引用设置到对象的实例。
|
||||||
|
错误堆栈:
|
||||||
|
在 FineUIPro.Web.indexProject.Page_Load(Object sender, EventArgs e)
|
||||||
|
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
|
||||||
|
在 System.Web.UI.Control.OnLoad(EventArgs e)
|
||||||
|
在 System.Web.UI.Control.LoadRecursive()
|
||||||
|
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||||
|
出错时间:04/12/2025 21:33:26
|
||||||
|
出错文件:http://localhost:4528/indexProject.aspx?projectId=195f0bcf-1781-4a8e-846c-20a35801bb9b
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/12/2025 21:33:26
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:NullReferenceException
|
||||||
|
错误信息:未将对象引用设置到对象的实例。
|
||||||
|
错误堆栈:
|
||||||
|
在 FineUIPro.Web.CQMS.Check.CheckList.ConvertImageUrlByImage(Object registrationId)
|
||||||
|
在 ASP.cqms_check_checklist_aspx.__DataBindinglbImageUrl(Object sender, EventArgs e) 位置 e:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\CQMS\Check\CheckList.aspx:行号 172
|
||||||
|
在 System.Web.UI.Control.OnDataBinding(EventArgs e)
|
||||||
|
在 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
|
||||||
|
在 System.Web.UI.Control.DataBind()
|
||||||
|
在 System.Web.UI.Control.DataBindChildren()
|
||||||
|
在 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
|
||||||
|
在 System.Web.UI.Control.DataBind()
|
||||||
|
在 (Control )
|
||||||
|
在 FineUIPro.GridRow.BkpgFeAELTFlAvoTrOBrConfcLJbA()
|
||||||
|
在 (GridRow )
|
||||||
|
在 FineUIPro.Grid.BkpgFeAELTFlAvoTrOBrConfcLJbA(Int32 , Object )
|
||||||
|
在 (Grid , Int32 , Object )
|
||||||
|
在 FineUIPro.Grid.LDChsdiaqdhUTcxBcQPMKyQFfjEDB(DataTable , Boolean )
|
||||||
|
在 (Grid , DataTable , Boolean )
|
||||||
|
在 FineUIPro.Grid.DataBind(Boolean keepCurrentData)
|
||||||
|
在 (Grid , Boolean )
|
||||||
|
在 FineUIPro.Grid.DataBind()
|
||||||
|
在 FineUIPro.Web.CQMS.Check.CheckList.BindGrid()
|
||||||
|
在 FineUIPro.Web.CQMS.Check.CheckList.Page_Load(Object sender, EventArgs e)
|
||||||
|
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
|
||||||
|
在 System.Web.UI.Control.OnLoad(EventArgs e)
|
||||||
|
在 System.Web.UI.Control.LoadRecursive()
|
||||||
|
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||||
|
出错时间:04/12/2025 21:51:19
|
||||||
|
出错文件:http://localhost:4528/CQMS/Check/CheckList.aspx
|
||||||
|
IP地址:::1
|
||||||
|
操作人员:徐月
|
||||||
|
|
||||||
|
出错时间:04/12/2025 21:51:19
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:NullReferenceException
|
||||||
|
错误信息:未将对象引用设置到对象的实例。
|
||||||
|
错误堆栈:
|
||||||
|
在 FineUIPro.Web.CQMS.Check.CheckList.Page_Load(Object sender, EventArgs e) 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\CQMS\Check\CheckList.aspx.cs:行号 70
|
||||||
|
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
|
||||||
|
在 System.Web.UI.Control.OnLoad(EventArgs e)
|
||||||
|
在 System.Web.UI.Control.LoadRecursive()
|
||||||
|
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||||
|
出错时间:04/12/2025 21:59:53
|
||||||
|
出错文件:http://localhost:4528/CQMS/Check/CheckList.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/12/2025 21:59:54
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:NullReferenceException
|
||||||
|
错误信息:未将对象引用设置到对象的实例。
|
||||||
|
错误堆栈:
|
||||||
|
在 FineUIPro.Web.CQMS.Check.CheckList.Page_Load(Object sender, EventArgs e) 位置 E:\公司项目\河北安装\SGGL_HBAZ\SGGL\FineUIPro.Web\CQMS\Check\CheckList.aspx.cs:行号 70
|
||||||
|
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
|
||||||
|
在 System.Web.UI.Control.OnLoad(EventArgs e)
|
||||||
|
在 System.Web.UI.Control.LoadRecursive()
|
||||||
|
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||||
|
出错时间:04/12/2025 22:02:24
|
||||||
|
出错文件:http://localhost:4528/CQMS/Check/CheckList.aspx
|
||||||
|
IP地址:::1
|
||||||
|
|
||||||
|
出错时间:04/12/2025 22:02:24
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -2410,6 +2410,7 @@
|
|||||||
<Content Include="OfficeCheck\Check\CheckTeamEdit.aspx" />
|
<Content Include="OfficeCheck\Check\CheckTeamEdit.aspx" />
|
||||||
<Content Include="OfficeCheck\Check\RectifyEdit.aspx" />
|
<Content Include="OfficeCheck\Check\RectifyEdit.aspx" />
|
||||||
<Content Include="OfficeCheck\Inspect\ProjectQualityInspection.aspx" />
|
<Content Include="OfficeCheck\Inspect\ProjectQualityInspection.aspx" />
|
||||||
|
<Content Include="OfficeCheck\Inspect\ProjectQualityInspectionView.aspx" />
|
||||||
<Content Include="OfficeCheck\Inspect\ProjectSafetyInspection.aspx" />
|
<Content Include="OfficeCheck\Inspect\ProjectSafetyInspection.aspx" />
|
||||||
<Content Include="OfficeCheck\Inspect\ProjectSafetyInspectionEdit.aspx" />
|
<Content Include="OfficeCheck\Inspect\ProjectSafetyInspectionEdit.aspx" />
|
||||||
<Content Include="OfficeCheck\Inspect\ProjectSafetyInspectionRectify.aspx" />
|
<Content Include="OfficeCheck\Inspect\ProjectSafetyInspectionRectify.aspx" />
|
||||||
@@ -16194,6 +16195,13 @@
|
|||||||
<Compile Include="OfficeCheck\Inspect\ProjectQualityInspection.aspx.designer.cs">
|
<Compile Include="OfficeCheck\Inspect\ProjectQualityInspection.aspx.designer.cs">
|
||||||
<DependentUpon>ProjectQualityInspection.aspx</DependentUpon>
|
<DependentUpon>ProjectQualityInspection.aspx</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="OfficeCheck\Inspect\ProjectQualityInspectionView.aspx.cs">
|
||||||
|
<DependentUpon>ProjectQualityInspectionView.aspx</DependentUpon>
|
||||||
|
<SubType>ASPXCodeBehind</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="OfficeCheck\Inspect\ProjectQualityInspectionView.aspx.designer.cs">
|
||||||
|
<DependentUpon>ProjectQualityInspectionView.aspx</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<Compile Include="OfficeCheck\Inspect\ProjectSafetyInspection.aspx.cs">
|
<Compile Include="OfficeCheck\Inspect\ProjectSafetyInspection.aspx.cs">
|
||||||
<DependentUpon>ProjectSafetyInspection.aspx</DependentUpon>
|
<DependentUpon>ProjectSafetyInspection.aspx</DependentUpon>
|
||||||
<SubType>ASPXCodeBehind</SubType>
|
<SubType>ASPXCodeBehind</SubType>
|
||||||
|
|||||||
@@ -65,7 +65,7 @@
|
|||||||
FieldType="String" HeaderText="负责人" HeaderTextAlign="Center" TextAlign="Left">
|
FieldType="String" HeaderText="负责人" HeaderTextAlign="Center" TextAlign="Left">
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
<f:RenderField Width="100px" ColumnID="CreateTime" DataField="CreateTime" SortField="CreateTime"
|
<f:RenderField Width="100px" ColumnID="CreateTime" DataField="CreateTime" SortField="CreateTime"
|
||||||
FieldType="String" HeaderText="创建日期" HeaderTextAlign="Center" Renderer="Date" RendererArgument="yyyy-MM-dd" TextAlign="Left">
|
FieldType="String" HeaderText="创建日期" HeaderTextAlign="Center" Renderer="Date" RendererArgument="yyyy-MM-dd" TextAlign="Left">
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
<f:RenderField Width="140px" ColumnID="ProblemTypeName" DataField="ProblemTypeName" SortField="ProblemTypeName"
|
<f:RenderField Width="140px" ColumnID="ProblemTypeName" DataField="ProblemTypeName" SortField="ProblemTypeName"
|
||||||
FieldType="String" HeaderText="问题类型" HeaderTextAlign="Center" TextAlign="Left">
|
FieldType="String" HeaderText="问题类型" HeaderTextAlign="Center" TextAlign="Left">
|
||||||
@@ -78,7 +78,7 @@
|
|||||||
FieldType="String" HeaderText="检查区域" HeaderTextAlign="Center" TextAlign="Left">
|
FieldType="String" HeaderText="检查区域" HeaderTextAlign="Center" TextAlign="Left">
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
<f:RenderField Width="140px" ColumnID="CheckTime" DataField="CheckTime" SortField="CheckTime"
|
<f:RenderField Width="140px" ColumnID="CheckTime" DataField="CheckTime" SortField="CheckTime"
|
||||||
FieldType="String" HeaderText="检查日期" HeaderTextAlign="Center" Renderer="Date" RendererArgument="yyyy-MM-dd" TextAlign="Left">
|
FieldType="String" HeaderText="检查日期" HeaderTextAlign="Center" Renderer="Date" RendererArgument="yyyy-MM-dd" TextAlign="Left">
|
||||||
</f:RenderField>
|
</f:RenderField>
|
||||||
|
|
||||||
<f:TemplateField ColumnID="tfImageUrl1" Width="250px" HeaderText="整改前" HeaderTextAlign="Center"
|
<f:TemplateField ColumnID="tfImageUrl1" Width="250px" HeaderText="整改前" HeaderTextAlign="Center"
|
||||||
@@ -124,6 +124,9 @@
|
|||||||
<f:MenuButton ID="btnMenuSee" EnablePostBack="true" runat="server" Text="查看"
|
<f:MenuButton ID="btnMenuSee" EnablePostBack="true" runat="server" Text="查看"
|
||||||
OnClick="btnMenuSee_Click" Icon="Find">
|
OnClick="btnMenuSee_Click" Icon="Find">
|
||||||
</f:MenuButton>
|
</f:MenuButton>
|
||||||
|
<f:MenuButton ID="btnMenuDel" EnablePostBack="true" runat="server" Hidden="true"
|
||||||
|
Icon="Delete" Text="删除" ConfirmText="确定删除当前数据?" OnClick="btnMenuDel_Click">
|
||||||
|
</f:MenuButton>
|
||||||
</Items>
|
</Items>
|
||||||
</f:Menu>
|
</f:Menu>
|
||||||
</form>
|
</form>
|
||||||
@@ -140,8 +143,8 @@
|
|||||||
this.mergeColumns(['CheckMan']);
|
this.mergeColumns(['CheckMan']);
|
||||||
this.mergeColumns(['PersonResponsibleName']);
|
this.mergeColumns(['PersonResponsibleName']);
|
||||||
this.mergeColumns(['ProblemTypeName']);
|
this.mergeColumns(['ProblemTypeName']);
|
||||||
this.mergeColumns(['Place']);
|
this.mergeColumns(['Place']);
|
||||||
this.mergeColumns(['CreateTime']);
|
this.mergeColumns(['CreateTime']);
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -254,148 +254,31 @@ namespace FineUIPro.Web.HSSE.Check
|
|||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region 编辑
|
#region 删除
|
||||||
/// <summary>
|
protected void btnMenuDel_Click(object sender, EventArgs e)
|
||||||
/// 编辑按钮
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="sender"></param>
|
|
||||||
/// <param name="e"></param>
|
|
||||||
protected void btnMenuModify_Click(object sender, EventArgs e)
|
|
||||||
{
|
{
|
||||||
if (Grid1.SelectedRowIndexArray.Length == 0)
|
if (Grid1.SelectedRowIndexArray.Length > 0)
|
||||||
{
|
{
|
||||||
Alert.ShowInTop("请至少选择一条记录!", MessageBoxIcon.Warning);
|
foreach (int rowIndex in Grid1.SelectedRowIndexArray)
|
||||||
return;
|
|
||||||
}
|
|
||||||
string RegistrationId = Grid1.SelectedRowID;
|
|
||||||
var registration = BLL.HSSE_Hazard_HazardRegisterService.GetHazardRegisterByHazardRegisterId(RegistrationId);
|
|
||||||
if (registration != null)
|
|
||||||
{
|
|
||||||
if (registration.States == Const.State_1) //待整改
|
|
||||||
{
|
{
|
||||||
if (registration.CheckManId == this.CurrUser.UserId) //当前人是检查人,可以在整改前继续编辑
|
Model.SGGLDB db = Funs.DB;
|
||||||
|
string rowID = Grid1.DataKeys[rowIndex][0].ToString();
|
||||||
|
Model.Inspect_InspectionItem item = db.Inspect_InspectionItem.FirstOrDefault(x => x.InspectionItemId == rowID);
|
||||||
|
if (item != null)
|
||||||
{
|
{
|
||||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("HiddenRectificationAdd.aspx?HazardRegisterId={0}", RegistrationId, "编辑 - ")));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Alert.ShowInTop("您不是记录检查人,无法编辑!", MessageBoxIcon.Warning);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (registration.States == Const.State_2) //已整改待确认
|
|
||||||
{
|
|
||||||
if (registration.ResponsibleMan == this.CurrUser.UserId) //当前人是责任人,可以在确认前继续编辑
|
|
||||||
{
|
|
||||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("HiddenRectificationRectify.aspx?HazardRegisterId={0}", RegistrationId, "编辑 - ")));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Alert.ShowInTop("您不是记录责任人,无法编辑!", MessageBoxIcon.Warning);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (registration.States == Const.State_3) //已闭环
|
|
||||||
{
|
|
||||||
Alert.ShowInTop("该记录已闭环,无法编辑!", MessageBoxIcon.Warning);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
#region 整改
|
db.Inspect_InspectionItem.DeleteOnSubmit(item);
|
||||||
/// <summary>
|
db.SubmitChanges();
|
||||||
/// 整改按钮
|
int count = db.Inspect_Inspection.Count(x => x.InspectionId == item.InspectionId);
|
||||||
/// </summary>
|
if (count == 0)
|
||||||
/// <param name="sender"></param>
|
{
|
||||||
/// <param name="e"></param>
|
db.Inspect_Inspection.DeleteOnSubmit(db.Inspect_Inspection.FirstOrDefault(x => x.InspectionId == item.InspectionId));
|
||||||
protected void btnMenuRectify_Click(object sender, EventArgs e)
|
db.SubmitChanges();
|
||||||
{
|
}
|
||||||
if (Grid1.SelectedRowIndexArray.Length == 0)
|
|
||||||
{
|
|
||||||
Alert.ShowInTop("请至少选择一条记录!", MessageBoxIcon.Warning);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
string RegistrationId = Grid1.SelectedRowID;
|
|
||||||
var registration = BLL.HSSE_Hazard_HazardRegisterService.GetHazardRegisterByCheckItemDetailId(RegistrationId);
|
|
||||||
if (registration != null)
|
|
||||||
{
|
|
||||||
if (registration.States == "1") //待整改
|
|
||||||
{
|
|
||||||
if (registration.ResponsibleMan == this.CurrUser.UserId) //当前人是责任人,可以进行整改操作
|
|
||||||
{
|
|
||||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("../HiddenInspection/HiddenRectificationRectify.aspx?HazardRegisterId={0}", registration.HazardRegisterId, "编辑 - ")));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Alert.ShowInTop("您不是记录责任人,无法整改!", MessageBoxIcon.Warning);
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
BindGrid();
|
||||||
{
|
ShowNotify("删除数据成功!");
|
||||||
Alert.ShowInTop("该记录不是待整改状态,无法进行整改操作!", MessageBoxIcon.Warning);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
#region 确认
|
|
||||||
/// <summary>
|
|
||||||
/// 确认按钮
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="sender"></param>
|
|
||||||
/// <param name="e"></param>
|
|
||||||
protected void btnMenuConfirm_Click(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
if (Grid1.SelectedRowIndexArray.Length == 0)
|
|
||||||
{
|
|
||||||
Alert.ShowInTop("请至少选择一条记录!", MessageBoxIcon.Warning);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
string RegistrationId = Grid1.SelectedRowID;
|
|
||||||
var registration = BLL.HSSE_Hazard_HazardRegisterService.GetHazardRegisterByCheckItemDetailId(RegistrationId);
|
|
||||||
if (registration != null)
|
|
||||||
{
|
|
||||||
if (registration.States == Const.State_2) //待确认
|
|
||||||
{
|
|
||||||
if (registration.CheckManId == this.CurrUser.UserId) //当前人是检查人,可以进行确认操作
|
|
||||||
{
|
|
||||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("../HiddenInspection/HiddenRectificationConfirm.aspx?HazardRegisterId={0}", registration.HazardRegisterId, "编辑 - ")));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Alert.ShowInTop("您不是记录检查人,无法确认!", MessageBoxIcon.Warning);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Alert.ShowInTop("该记录不是待确认状态,无法进行确认操作!", MessageBoxIcon.Warning);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
#region 编制
|
|
||||||
/// <summary>
|
|
||||||
/// 编制
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="sender"></param>
|
|
||||||
/// <param name="e"></param>
|
|
||||||
protected void btnNew_Click(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
if (BLL.CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.HSSE_HiddenRectificationListMenuId, BLL.Const.BtnAdd))
|
|
||||||
{
|
|
||||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("../HiddenInspection/HiddenRectificationAdd.aspx", "登记 - ")));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
@@ -612,8 +495,18 @@ namespace FineUIPro.Web.HSSE.Check
|
|||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var buttonList = CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.HSSE_HiddenRectificationListMenuId);
|
var buttonList = CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, "C7481FEE-EA92-44B8-99F6-C5CA6BBDCFF5");
|
||||||
|
if (buttonList.Count() > 0)
|
||||||
|
{
|
||||||
|
if (buttonList.Contains(BLL.Const.BtnSee))
|
||||||
|
{
|
||||||
|
this.btnMenuSee.Hidden = false;
|
||||||
|
}
|
||||||
|
if (buttonList.Contains(BLL.Const.BtnDelete))
|
||||||
|
{
|
||||||
|
this.btnMenuDel.Hidden = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|||||||
@@ -184,5 +184,14 @@ namespace FineUIPro.Web.HSSE.Check
|
|||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::FineUIPro.MenuButton btnMenuSee;
|
protected global::FineUIPro.MenuButton btnMenuSee;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnMenuDel 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.MenuButton btnMenuDel;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -53,7 +53,7 @@
|
|||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
<f:FormRow>
|
<f:FormRow>
|
||||||
<Items>
|
<Items>
|
||||||
<f:TextBox ID="conclusion" runat="server" Label="审批结论" Readonly="true">
|
<f:TextBox ID="conclusion" runat="server" Label="审批结果" Readonly="true">
|
||||||
</f:TextBox>
|
</f:TextBox>
|
||||||
</Items>
|
</Items>
|
||||||
</f:FormRow>
|
</f:FormRow>
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ namespace FineUIPro.Web.HSSE.Check
|
|||||||
this.Code.Text = item.InspectionCode;
|
this.Code.Text = item.InspectionCode;
|
||||||
this.PName.Text = item.ProjectName;
|
this.PName.Text = item.ProjectName;
|
||||||
this.Cman.Text = item.CheckMan;
|
this.Cman.Text = item.CheckMan;
|
||||||
this.Pman.Text = item.ProblemTypeName;
|
this.Pman.Text = item.PersonResponsibleName;
|
||||||
this.Ptype.Text = item.ProblemTypeName;
|
this.Ptype.Text = item.ProblemTypeName;
|
||||||
this.Iarea.Text = item.Place;
|
this.Iarea.Text = item.Place;
|
||||||
this.Carea.Text = item.WorkAreaName;
|
this.Carea.Text = item.WorkAreaName;
|
||||||
|
|||||||
@@ -4,13 +4,149 @@
|
|||||||
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head runat="server">
|
<head runat="server">
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
<title></title>
|
<title>专项检查记录</title>
|
||||||
|
<link href="~/res/css/common.css" rel="stylesheet" type="text/css" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<form id="form1" runat="server">
|
<form id="form1" runat="server">
|
||||||
<div>
|
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
|
||||||
</div>
|
<f:Panel ID="Panel1" runat="server" Margin="5px" BodyPadding="5px" ShowBorder="false" ShowHeader="false" Layout="VBox" BoxConfigAlign="Stretch">
|
||||||
|
<Items>
|
||||||
|
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="专项检查记录" EnableCollapse="true"
|
||||||
|
runat="server" BoxFlex="1" DataKeyNames="InspectionItemId" DataIDField="InspectionItemId"
|
||||||
|
AllowCellEditing="true" ClicksToEdit="2" ForceFit="true"
|
||||||
|
AllowSorting="true" SortField="CreateTime" SortDirection="DESC" OnSort="Grid1_Sort"
|
||||||
|
EnableColumnLines="true" AllowPaging="true" IsDatabasePaging="true" PageSize="10"
|
||||||
|
OnPageIndexChange="Grid1_PageIndexChange" OnRowCommand="Grid1_RowCommand"
|
||||||
|
EnableRowDoubleClickEvent="true" OnRowDoubleClick="Grid1_RowDoubleClick" EnableTextSelection="True">
|
||||||
|
|
||||||
|
<Toolbars>
|
||||||
|
<f:Toolbar ID="Toolbar1" Position="Top" runat="server" ToolbarAlign="Left">
|
||||||
|
<Items>
|
||||||
|
<f:TextBox runat="server" Label="检查人" ID="txtCheckMan" EmptyText="输入查询条件" AutoPostBack="true"
|
||||||
|
OnTextChanged="TextBox_TextChanged" LabelAlign="right" Width="210px" LabelWidth="80px">
|
||||||
|
</f:TextBox>
|
||||||
|
<f:DropDownList ID="txtType" runat="server" Label="问题类型" AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged"
|
||||||
|
LabelWidth="100px" LabelAlign="Right" Width="210px">
|
||||||
|
</f:DropDownList>
|
||||||
|
<f:DropDownList ID="txtWorkAreaName" runat="server" Label="单位工程" AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged"
|
||||||
|
LabelWidth="100px" EnableEdit="true" ForceSelection="false" LabelAlign="Right" Width="200px">
|
||||||
|
</f:DropDownList>
|
||||||
|
<f:DropDownList ID="txtResponsibilityUnitName" runat="server" Label="责任单位" AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged"
|
||||||
|
LabelWidth="100px" LabelAlign="Right" Width="200px">
|
||||||
|
</f:DropDownList>
|
||||||
|
<f:DatePicker ID="txtStartTime" runat="server" Label="检查时间" LabelAlign="Right"
|
||||||
|
AutoPostBack="true" OnTextChanged="TextBox_TextChanged" Width="200px" LabelWidth="80px">
|
||||||
|
</f:DatePicker>
|
||||||
|
<f:Label ID="Label3" runat="server" Text="至">
|
||||||
|
</f:Label>
|
||||||
|
<f:DatePicker ID="txtEndTime" runat="server" AutoPostBack="true" OnTextChanged="TextBox_TextChanged"
|
||||||
|
Width="130px">
|
||||||
|
</f:DatePicker>
|
||||||
|
</Items>
|
||||||
|
</f:Toolbar>
|
||||||
|
</Toolbars>
|
||||||
|
<Columns>
|
||||||
|
<f:TemplateField ColumnID="tfPageIndex" Width="55px" HeaderText="序号" HeaderTextAlign="Center"
|
||||||
|
TextAlign="Center" EnableLock="true" Locked="False">
|
||||||
|
<ItemTemplate>
|
||||||
|
<asp:Label ID="lblPageIndex" runat="server" Text='<%# Grid1.PageIndex * Grid1.PageSize + Container.DataItemIndex + 1 %>'></asp:Label>
|
||||||
|
</ItemTemplate>
|
||||||
|
</f:TemplateField>
|
||||||
|
<f:RenderField Width="100px" ColumnID="InspectionCode" DataField="InspectionCode" SortField="InspectionCode"
|
||||||
|
FieldType="String" HeaderText="编号" HeaderTextAlign="Center" TextAlign="Left">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField Width="100px" ColumnID="CheckMan" DataField="CheckMan" SortField="CheckMan"
|
||||||
|
FieldType="String" HeaderText="检查人" HeaderTextAlign="Center" TextAlign="Left">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField Width="100px" ColumnID="PersonResponsibleName" DataField="PersonResponsibleName" SortField="PersonResponsibleName"
|
||||||
|
FieldType="String" HeaderText="负责人" HeaderTextAlign="Center" TextAlign="Left">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField Width="100px" ColumnID="CreateTime" DataField="CreateTime" SortField="CreateTime"
|
||||||
|
FieldType="String" HeaderText="创建日期" HeaderTextAlign="Center" Renderer="Date" RendererArgument="yyyy-MM-dd" TextAlign="Left">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField Width="140px" ColumnID="ProblemTypeName" DataField="ProblemTypeName" SortField="ProblemTypeName"
|
||||||
|
FieldType="String" HeaderText="问题类型" HeaderTextAlign="Center" TextAlign="Left">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField Width="140px" ColumnID="Place" DataField="Place" SortField="Place"
|
||||||
|
FieldType="String" HeaderText="受检区域" HeaderTextAlign="Center" TextAlign="Left">
|
||||||
|
</f:RenderField>
|
||||||
|
|
||||||
|
<f:RenderField Width="140px" ColumnID="WorkAreaName" DataField="WorkAreaName" SortField="WorkAreaName"
|
||||||
|
FieldType="String" HeaderText="检查区域" HeaderTextAlign="Center" TextAlign="Left">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField Width="140px" ColumnID="CheckTime" DataField="CheckTime" SortField="CheckTime"
|
||||||
|
FieldType="String" HeaderText="检查日期" HeaderTextAlign="Center" Renderer="Date" RendererArgument="yyyy-MM-dd" TextAlign="Left">
|
||||||
|
</f:RenderField>
|
||||||
|
|
||||||
|
<f:TemplateField ColumnID="tfImageUrl1" Width="250px" HeaderText="整改前" HeaderTextAlign="Center"
|
||||||
|
TextAlign="Left">
|
||||||
|
<ItemTemplate>
|
||||||
|
<%# ConvertImgUrlByImage(Eval("InspectionItemId")) %>
|
||||||
|
</ItemTemplate>
|
||||||
|
</f:TemplateField>
|
||||||
|
<f:TemplateField ColumnID="tfImageUrl2" Width="250px" HeaderText="整改后" HeaderTextAlign="Center"
|
||||||
|
TextAlign="Left">
|
||||||
|
<ItemTemplate>
|
||||||
|
<%# ConvertImgUrl(Eval("InspectionItemId")) %>
|
||||||
|
</ItemTemplate>
|
||||||
|
</f:TemplateField>
|
||||||
|
|
||||||
|
<f:RenderField Width="100px" ColumnID="itemStates" DataField="itemStates" SortField="itemStates"
|
||||||
|
FieldType="String" HeaderText="状态" HeaderTextAlign="Center" TextAlign="Left" ExpandUnusedSpace="true">
|
||||||
|
</f:RenderField>
|
||||||
|
</Columns>
|
||||||
|
|
||||||
|
<Listeners>
|
||||||
|
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
|
||||||
|
<f:Listener Event="dataload" Handler="onGridDataLoad" />
|
||||||
|
</Listeners>
|
||||||
|
<PageItems>
|
||||||
|
<f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
|
||||||
|
</f:ToolbarSeparator>
|
||||||
|
<f:ToolbarText ID="ToolbarText1" runat="server" Text="每页记录数:">
|
||||||
|
</f:ToolbarText>
|
||||||
|
<f:DropDownList runat="server" ID="ddlPageSize" Width="80px" AutoPostBack="true"
|
||||||
|
OnSelectedIndexChanged="ddlPageSize_SelectedIndexChanged">
|
||||||
|
</f:DropDownList>
|
||||||
|
</PageItems>
|
||||||
|
</f:Grid>
|
||||||
|
</Items>
|
||||||
|
</f:Panel>
|
||||||
|
<f:Window ID="Window1" Title="专项检查" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||||
|
Target="Parent" EnableResize="false" runat="server" IsModal="true" OnClose="Window1_Close"
|
||||||
|
Width="900px" Height="580px">
|
||||||
|
</f:Window>
|
||||||
|
|
||||||
|
<f:Menu ID="Menu1" runat="server">
|
||||||
|
<Items>
|
||||||
|
<f:MenuButton ID="btnMenuSee" EnablePostBack="true" runat="server" Text="查看"
|
||||||
|
OnClick="btnMenuSee_Click" Icon="Find">
|
||||||
|
</f:MenuButton>
|
||||||
|
<f:MenuButton ID="btnMenuDel" EnablePostBack="true" runat="server" Hidden="true"
|
||||||
|
Icon="Delete" Text="删除" ConfirmText="确定删除当前数据?" OnClick="btnMenuDel_Click">
|
||||||
|
</f:MenuButton>
|
||||||
|
</Items>
|
||||||
|
</f:Menu>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var menuID = '<%= Menu1.ClientID %>';
|
||||||
|
// 返回false,来阻止浏览器右键菜单
|
||||||
|
function onRowContextMenu(event, rowId) {
|
||||||
|
F(menuID).show(); //showAt(event.pageX, event.pageY);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
function onGridDataLoad(event) {
|
||||||
|
this.mergeColumns(['InspectionCode']);
|
||||||
|
this.mergeColumns(['CheckMan']);
|
||||||
|
this.mergeColumns(['PersonResponsibleName']);
|
||||||
|
this.mergeColumns(['ProblemTypeName']);
|
||||||
|
this.mergeColumns(['Place']);
|
||||||
|
this.mergeColumns(['CreateTime']);
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,17 +1,349 @@
|
|||||||
using System;
|
using BLL;
|
||||||
|
using FineUIPro.Web.HSSE.Check;
|
||||||
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Configuration;
|
||||||
|
using System.Data;
|
||||||
|
using System.Data.SqlClient;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Web;
|
using System.Text;
|
||||||
using System.Web.UI;
|
using AspNet = System.Web.UI.WebControls;
|
||||||
using System.Web.UI.WebControls;
|
|
||||||
|
|
||||||
namespace FineUIPro.Web.OfficeCheck.Inspect
|
namespace FineUIPro.Web.OfficeCheck.Inspect
|
||||||
{
|
{
|
||||||
public partial class ProjectQualityInspection : System.Web.UI.Page
|
public partial class ProjectQualityInspection : PageBase
|
||||||
{
|
{
|
||||||
|
#region 定义项
|
||||||
|
public List<string> ItemSelectedList
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return (List<string>)ViewState["ItemSelectedList"];
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
ViewState["ItemSelectedList"] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
protected void Page_Load(object sender, EventArgs e)
|
protected void Page_Load(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
if (!IsPostBack)
|
||||||
|
{
|
||||||
|
ddlPageSize.SelectedValue = Grid1.PageSize.ToString();
|
||||||
|
this.txtStartTime.Text = DateTime.Today.ToString("yyyy-MM-dd");
|
||||||
|
this.txtEndTime.Text = DateTime.Today.ToString("yyyy-MM-dd");
|
||||||
|
SetButtonPower();
|
||||||
|
SetProblemTypes();
|
||||||
|
SetResponsibleUnit();
|
||||||
|
SetUnitProject();
|
||||||
|
getList();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
#region 请求质量专检列表
|
||||||
|
public void getList()
|
||||||
|
{
|
||||||
|
string strSql = "SELECT a.InspectionId,a.InspectionCode,a.ProjectId,(SELECT ProjectName FROM Base_Project as p WHERE p.ProjectId = a.ProjectId) as ProjectName, a.PersonResponsible,(SELECT UserName FROM Sys_User as u WHERE u.UserID = a.PersonResponsible) as PersonResponsibleName, (CASE WHEN a.States = '1' THEN '待检查' WHEN a.States = '2' THEN '待审核/整改' WHEN a.States = '3' THEN '已闭环' END ) as Status, a.CheckMan, a.CreateTime, a.ProblemTypeName,b.CompileTime as CheckTime, " +
|
||||||
|
"b.InspectionItemId,b.BeforelUrl,b.AfterUrl, (CASE WHEN b.States = '1'and a.States = '1' THEN '待提交' WHEN a.States = '2' and b.States = '1' THEN '待审核' WHEN a.States = '2' and b.States = '2' THEN '待整改' WHEN a.States = '2' and b.States = '3' THEN '已闭环' WHEN a.States = '3' THEN '已闭环' END) as itemStates," +
|
||||||
|
"a.Place FROM Inspect_InspectionItem as b LEFT JOIN Inspect_Inspection as a on b.InspectionId = a.InspectionId WHERE a.InspectType = '2'";
|
||||||
|
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||||
|
if (!string.IsNullOrEmpty(this.CurrUser.LoginProjectId))
|
||||||
|
{
|
||||||
|
strSql += "and a.ProjectId = @ProjectId";
|
||||||
|
listStr.Add(new SqlParameter("@ProjectId", this.CurrUser.LoginProjectId));
|
||||||
|
}
|
||||||
|
if (!string.IsNullOrEmpty(this.txtCheckMan.Text.Trim()))
|
||||||
|
{
|
||||||
|
strSql += " AND a.CheckMan LIKE @CheckMan";
|
||||||
|
listStr.Add(new SqlParameter("@CheckMan", "%" + this.txtCheckMan.Text.Trim() + "%"));
|
||||||
|
}
|
||||||
|
if (this.txtType.SelectedText.Trim() != "请选择" && !string.IsNullOrEmpty(this.txtType.SelectedText.Trim()))
|
||||||
|
{
|
||||||
|
strSql += " AND a.ProblemTypeName = @Type";
|
||||||
|
listStr.Add(new SqlParameter("@Type", this.txtType.SelectedText.Trim()));
|
||||||
|
}
|
||||||
|
if (!string.IsNullOrEmpty(this.txtWorkAreaName.SelectedText) && this.txtWorkAreaName.SelectedText.Trim() != "请选择")
|
||||||
|
{
|
||||||
|
strSql += " AND a.Place = @Place";
|
||||||
|
listStr.Add(new SqlParameter("@Place", this.txtWorkAreaName.SelectedText.Trim()));
|
||||||
|
}
|
||||||
|
if (!string.IsNullOrEmpty(this.txtWorkAreaName.Text.Trim()))
|
||||||
|
{
|
||||||
|
strSql += " AND a.Place LIKE @Place";
|
||||||
|
listStr.Add(new SqlParameter("@Place", "%" + this.txtWorkAreaName.Text.Trim() + "%"));
|
||||||
|
}
|
||||||
|
if (!string.IsNullOrEmpty(txtStartTime.Text.Trim()))
|
||||||
|
{
|
||||||
|
strSql += " AND b.CompileTime >= @StartTime";
|
||||||
|
listStr.Add(new SqlParameter("@StartTime", string.Format("{0} {1}", this.txtStartTime.Text.Trim(), "00:00:00")));
|
||||||
|
}
|
||||||
|
if (!string.IsNullOrEmpty(this.txtEndTime.Text.Trim()))
|
||||||
|
{
|
||||||
|
strSql += " AND b.CompileTime <= @EndTime";
|
||||||
|
listStr.Add(new SqlParameter("@EndTime", string.Format("{0} {1}", this.txtEndTime.Text.Trim(), "23:59:59")));
|
||||||
|
}
|
||||||
|
SqlParameter[] parameter = listStr.ToArray();
|
||||||
|
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
|
||||||
|
Grid1.RecordCount = tb.Rows.Count;
|
||||||
|
var table = this.GetPagedDataTable(Grid1, tb);
|
||||||
|
|
||||||
|
Grid1.DataSource = table;
|
||||||
|
Grid1.DataBind();
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 问题类型下拉框赋值
|
||||||
|
public void SetProblemTypes()
|
||||||
|
{
|
||||||
|
txtType.DataValueField = "QualityQuestionTypeId";
|
||||||
|
txtType.DataTextField = "QualityQuestionType";
|
||||||
|
List<Model.Base_QualityQuestionType> list = (from x in Funs.DB.Base_QualityQuestionType select x).ToList();
|
||||||
|
list.Insert(0, new Model.Base_QualityQuestionType()
|
||||||
|
{
|
||||||
|
QualityQuestionTypeId = "-1",
|
||||||
|
QualityQuestionType = "请选择"
|
||||||
|
});
|
||||||
|
txtType.DataSource = list;
|
||||||
|
txtType.DataBind();
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 单位工程下拉框赋值
|
||||||
|
public void SetUnitProject()
|
||||||
|
{
|
||||||
|
List<Model.WBS_UnitWork> list = new List<Model.WBS_UnitWork>() {
|
||||||
|
new Model.WBS_UnitWork()
|
||||||
|
{
|
||||||
|
UnitWorkId = "-1",
|
||||||
|
UnitWorkName = "请选择"
|
||||||
|
}
|
||||||
|
};
|
||||||
|
if (!string.IsNullOrEmpty(this.CurrUser.LoginProjectId))
|
||||||
|
{
|
||||||
|
list.AddRange((from x in Funs.DB.WBS_UnitWork where x.ProjectId == this.CurrUser.LoginProjectId select x).ToList());
|
||||||
|
}
|
||||||
|
txtWorkAreaName.DataValueField = "UnitWorkId";
|
||||||
|
txtWorkAreaName.DataTextField = "UnitWorkName";
|
||||||
|
txtWorkAreaName.DataSource = list;
|
||||||
|
txtWorkAreaName.DataBind();
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 责任单位下拉框赋值
|
||||||
|
public void SetResponsibleUnit()
|
||||||
|
{
|
||||||
|
List<Model.UnitItem> list = new List<Model.UnitItem>() {
|
||||||
|
new Model.UnitItem()
|
||||||
|
{
|
||||||
|
UnitId = "-1",
|
||||||
|
UnitName = "请选择"
|
||||||
|
}
|
||||||
|
};
|
||||||
|
if (!string.IsNullOrEmpty(this.CurrUser.LoginProjectId))
|
||||||
|
{
|
||||||
|
list.AddRange((from x in Funs.DB.Project_ProjectUnit
|
||||||
|
join y in Funs.DB.Base_Unit on x.UnitId equals y.UnitId
|
||||||
|
where x.ProjectId == this.CurrUser.LoginProjectId
|
||||||
|
select new Model.UnitItem()
|
||||||
|
{
|
||||||
|
UnitId = y.UnitId,
|
||||||
|
UnitName = y.UnitName
|
||||||
|
}).ToList());
|
||||||
|
}
|
||||||
|
txtResponsibilityUnitName.DataValueField = "UnitId";
|
||||||
|
txtResponsibilityUnitName.DataTextField = "UnitName";
|
||||||
|
txtResponsibilityUnitName.DataSource = list;
|
||||||
|
txtResponsibilityUnitName.DataBind();
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 整改后图片
|
||||||
|
protected string ConvertImgUrl(object registrationId)
|
||||||
|
{
|
||||||
|
string url = string.Empty;
|
||||||
|
if (registrationId != null)
|
||||||
|
{
|
||||||
|
var imgUrl = Funs.DB.Inspect_InspectionItem.FirstOrDefault(x => x.InspectionItemId == registrationId.ToString()).AfterUrl;
|
||||||
|
if (imgUrl != null)
|
||||||
|
{
|
||||||
|
url = BLL.UploadAttachmentService.ShowImage(ConfigurationManager.AppSettings["CEMS_IMG_URL"], imgUrl);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return url;
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 整改前图片
|
||||||
|
protected string ConvertImgUrlByImage(object registrationId)
|
||||||
|
{
|
||||||
|
string url = string.Empty;
|
||||||
|
if (registrationId != null)
|
||||||
|
{
|
||||||
|
var imgUrl = Funs.DB.Inspect_InspectionItem.FirstOrDefault(x => x.InspectionItemId == registrationId.ToString()).BeforelUrl;
|
||||||
|
if (imgUrl != null)
|
||||||
|
{
|
||||||
|
url = BLL.UploadAttachmentService.ShowImage(ConfigurationManager.AppSettings["CEMS_IMG_URL"], imgUrl);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return url;
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 关闭window弹窗
|
||||||
|
protected void Window1_Close(object sender, WindowCloseEventArgs e)
|
||||||
|
{
|
||||||
|
getList();
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 查看详细
|
||||||
|
protected void btnMenuSee_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (Grid1.SelectedRowIndexArray.Length == 0)
|
||||||
|
{
|
||||||
|
Alert.ShowInTop("请至少选择一条记录!", MessageBoxIcon.Warning);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
string id = Grid1.SelectedRowID;
|
||||||
|
|
||||||
|
if (id != null)
|
||||||
|
{
|
||||||
|
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("ProjectQualityInspectionView.aspx?InspectionItemId={0}", id, "查看 - ")));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 查询
|
||||||
|
protected void TextBox_TextChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
getList();
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 排序
|
||||||
|
protected void Grid1_Sort(object sender, GridSortEventArgs e)
|
||||||
|
{
|
||||||
|
getList();
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 分页
|
||||||
|
protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
|
||||||
|
{
|
||||||
|
Grid1.PageIndex = e.NewPageIndex;
|
||||||
|
getList();
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 分页条数下拉框
|
||||||
|
protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue);
|
||||||
|
getList();
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region Grid行点击事件
|
||||||
|
protected void Grid1_RowCommand(object sender, GridCommandEventArgs e)
|
||||||
|
{
|
||||||
|
string RegistrationId = Grid1.DataKeys[e.RowIndex][0].ToString();
|
||||||
|
Model.HSSE_Hazard_HazardRegister hazardRegister = BLL.HSSE_Hazard_HazardRegisterService.GetHazardRegisterByCheckItemDetailId(RegistrationId);
|
||||||
|
if (e.CommandName == "IsSelected")
|
||||||
|
{
|
||||||
|
CheckBoxField checkField = (CheckBoxField)Grid1.FindColumn("ckbIsSelected");
|
||||||
|
if (checkField.GetCheckedState(e.RowIndex))
|
||||||
|
{
|
||||||
|
if (!ItemSelectedList.Contains(RegistrationId))
|
||||||
|
{
|
||||||
|
ItemSelectedList.Add(RegistrationId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (ItemSelectedList.Contains(RegistrationId))
|
||||||
|
{
|
||||||
|
ItemSelectedList.Remove(RegistrationId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (e.CommandName == "del")
|
||||||
|
{
|
||||||
|
if (BLL.CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.HSSE_HiddenRectificationListMenuId, BLL.Const.BtnDelete))
|
||||||
|
{
|
||||||
|
if (hazardRegister.States != Const.State_3 || this.CurrUser.UserId == BLL.Const.hfnbdId) //待整改
|
||||||
|
{
|
||||||
|
var getD = BLL.HSSE_Hazard_HazardRegisterService.GetHazardRegisterByHazardRegisterId(RegistrationId);
|
||||||
|
if (getD != null)
|
||||||
|
{
|
||||||
|
BLL.LogService.AddSys_Log(this.CurrUser, getD.HazardCode, getD.HazardRegisterId, BLL.Const.HSSE_HiddenRectificationListMenuId, BLL.Const.BtnDelete);
|
||||||
|
BLL.HSSE_Hazard_HazardRegisterService.DeleteHazardRegisterByHazardRegisterId(RegistrationId);
|
||||||
|
getList();
|
||||||
|
ShowNotify("删除成功!", MessageBoxIcon.Success);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Alert.ShowInTop("已闭环,无法删除!", MessageBoxIcon.Warning);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region Grid双击事件
|
||||||
|
protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e)
|
||||||
|
{
|
||||||
|
btnMenuSee_Click(null, null);
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 获取按钮权限
|
||||||
|
public void SetButtonPower()
|
||||||
|
{
|
||||||
|
var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, "66A8D852-A542-47C7-B474-C0EEA73AC58E");
|
||||||
|
if (buttonList.Count() > 0)
|
||||||
|
{
|
||||||
|
if (buttonList.Contains(BLL.Const.BtnDelete))
|
||||||
|
{
|
||||||
|
this.btnMenuDel.Hidden = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 删除
|
||||||
|
protected void btnMenuDel_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (Grid1.SelectedRowIndexArray.Length > 0)
|
||||||
|
{
|
||||||
|
foreach (int rowIndex in Grid1.SelectedRowIndexArray)
|
||||||
|
{
|
||||||
|
Model.SGGLDB db = Funs.DB;
|
||||||
|
string rowID = Grid1.DataKeys[rowIndex][0].ToString();
|
||||||
|
Model.Inspect_InspectionItem item = db.Inspect_InspectionItem.FirstOrDefault(x => x.InspectionItemId == rowID);
|
||||||
|
if (item != null)
|
||||||
|
{
|
||||||
|
|
||||||
|
db.Inspect_InspectionItem.DeleteOnSubmit(item);
|
||||||
|
db.SubmitChanges();
|
||||||
|
int count = db.Inspect_Inspection.Count(x=> x.InspectionId == item.InspectionId);
|
||||||
|
if(count == 0) {
|
||||||
|
db.Inspect_Inspection.DeleteOnSubmit(db.Inspect_Inspection.FirstOrDefault(x => x.InspectionId == item.InspectionId));
|
||||||
|
db.SubmitChanges();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
getList();
|
||||||
|
ShowNotify("删除数据成功!");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+171
@@ -22,5 +22,176 @@ namespace FineUIPro.Web.OfficeCheck.Inspect
|
|||||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// PageManager1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.PageManager PageManager1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Panel1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Panel Panel1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Grid1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Grid Grid1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Toolbar1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Toolbar Toolbar1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtCheckMan 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextBox txtCheckMan;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtType 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.DropDownList txtType;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtWorkAreaName 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.DropDownList txtWorkAreaName;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtResponsibilityUnitName 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.DropDownList txtResponsibilityUnitName;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtStartTime 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.DatePicker txtStartTime;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Label3 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Label Label3;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtEndTime 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.DatePicker txtEndTime;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// lblPageIndex 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.WebControls.Label lblPageIndex;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// ToolbarSeparator1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// ToolbarText1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.ToolbarText ToolbarText1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// ddlPageSize 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.DropDownList ddlPageSize;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Window1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Window Window1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Menu1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Menu Menu1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnMenuSee 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.MenuButton btnMenuSee;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnMenuDel 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.MenuButton btnMenuDel;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,111 @@
|
|||||||
|
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ProjectQualityInspectionView.aspx.cs" Inherits="FineUIPro.Web.OfficeCheck.Inspect.ProjectQualityInspectionView" %>
|
||||||
|
|
||||||
|
<!DOCTYPE html>
|
||||||
|
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head runat="server">
|
||||||
|
<title>查看专项检查</title>
|
||||||
|
<link href="~/res/css/common.css" rel="stylesheet" type="text/css" />
|
||||||
|
<style type="text/css">
|
||||||
|
.labcenter {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<form id="_form1" runat="server">
|
||||||
|
<f:PageManager ID="PageManager1" runat="server" />
|
||||||
|
<f:Form IsFluid="true" ShowHeader="false" BodyPadding="10px" ID="Form1" EnableCollapse="false"
|
||||||
|
runat="server">
|
||||||
|
<Rows>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:TextBox ID="Code" runat="server" Label="编号" Readonly="true">
|
||||||
|
</f:TextBox>
|
||||||
|
<f:TextBox ID="PName" runat="server" Label="项目名称" Readonly="true">
|
||||||
|
</f:TextBox>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:TextBox ID="Cman" runat="server" Label="检查人" Readonly="true">
|
||||||
|
</f:TextBox>
|
||||||
|
<f:TextBox ID="Pman" runat="server" Label="负责人" Readonly="true">
|
||||||
|
</f:TextBox>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:TextBox ID="Ptype" runat="server" Label="问题类型" Readonly="true">
|
||||||
|
</f:TextBox>
|
||||||
|
<f:TextBox ID="Iarea" runat="server" Label="受检区域" Readonly="true">
|
||||||
|
</f:TextBox>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:TextBox ID="Carea" runat="server" Label="检查区域" Readonly="true">
|
||||||
|
</f:TextBox>
|
||||||
|
<f:TextBox ID="state" runat="server" Label="状态" Readonly="true">
|
||||||
|
</f:TextBox>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:TextBox ID="QDetails" runat="server" Label="问题描述" Readonly="true">
|
||||||
|
</f:TextBox>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:TextBox ID="suggest" runat="server" Label="建议" Readonly="true">
|
||||||
|
</f:TextBox>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:TextBox ID="conclusion" runat="server" Label="审批结果" Readonly="true">
|
||||||
|
</f:TextBox>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
|
||||||
|
<f:FormRow ColumnWidths="8% 92%">
|
||||||
|
<Items>
|
||||||
|
<f:Label runat="server" ID="lblImageUrl" Label="检查图片">
|
||||||
|
</f:Label>
|
||||||
|
<f:ContentPanel ID="ContentPanel2" runat="server" ShowHeader="false" ShowBorder="false"
|
||||||
|
Title="检查图片">
|
||||||
|
<table style="width">
|
||||||
|
<tr style="height: 28px">
|
||||||
|
<td align="left">
|
||||||
|
<div id="divImageUrl" runat="server">
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</f:ContentPanel>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow ColumnWidths="8% 92%">
|
||||||
|
<Items>
|
||||||
|
<f:Label runat="server" ID="lblRectificationImageUrl" Label="整改图片">
|
||||||
|
</f:Label>
|
||||||
|
<f:ContentPanel ID="ContentPanel1" runat="server" ShowHeader="false" ShowBorder="false"
|
||||||
|
Title="整改图片">
|
||||||
|
<table>
|
||||||
|
<tr style="height: 28px">
|
||||||
|
<td align="left">
|
||||||
|
<div id="divRectificationImageUrl" runat="server">
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</f:ContentPanel>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
</Rows>
|
||||||
|
</f:Form>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,102 @@
|
|||||||
|
using BLL;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Configuration;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Web;
|
||||||
|
using System.Web.UI;
|
||||||
|
using System.Web.UI.WebControls;
|
||||||
|
|
||||||
|
namespace FineUIPro.Web.OfficeCheck.Inspect
|
||||||
|
{
|
||||||
|
public partial class ProjectQualityInspectionView : System.Web.UI.Page
|
||||||
|
{
|
||||||
|
#region 定义变量
|
||||||
|
|
||||||
|
public string InspectionItemId
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return (string)ViewState["InspectionItemId"];
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
ViewState["InspectionItemId"] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
protected void Page_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
this.InspectionItemId = Request.Params["InspectionItemId"];
|
||||||
|
|
||||||
|
var item = (from x in Funs.DB.Inspect_InspectionItem
|
||||||
|
join y in Funs.DB.Inspect_Inspection on x.InspectionId equals y.InspectionId
|
||||||
|
where x.InspectionItemId == this.InspectionItemId
|
||||||
|
select new
|
||||||
|
{
|
||||||
|
InspectionItemId = x.InspectionItemId,
|
||||||
|
InspectionId = x.InspectionId,
|
||||||
|
ProjectId = y.ProjectId,
|
||||||
|
ProjectName = Funs.DB.Base_Project.FirstOrDefault(p => p.ProjectId == y.ProjectId).ProjectName,
|
||||||
|
InspectionCode = y.InspectionCode,
|
||||||
|
CheckMan = y.CheckMan,
|
||||||
|
ProblemTypeName = y.ProblemTypeName,
|
||||||
|
Place = y.Place,
|
||||||
|
PersonResponsible = y.PersonResponsible,
|
||||||
|
PersonResponsibleName = Funs.DB.Sys_User.FirstOrDefault(p => p.UserId == y.PersonResponsible).UserName,
|
||||||
|
WorkAreaName = x.WorkAreaName,
|
||||||
|
States = y.States,
|
||||||
|
ItemStates = x.States,
|
||||||
|
EvaluateResults = x.EvaluateResults,
|
||||||
|
BeforelUrl = x.BeforelUrl,
|
||||||
|
AfterUrl = x.AfterUrl,
|
||||||
|
AuditTime = x.AuditTime,
|
||||||
|
AuditMan = x.AuditMan,
|
||||||
|
RectificationResults = x.RectificationResults,
|
||||||
|
AuditManName = Funs.DB.Sys_User.FirstOrDefault(p => p.UserId == x.AuditMan).UserName,
|
||||||
|
ProblemDetial = x.ProblemDetial,
|
||||||
|
RectificationDescription = x.RectificationDescription
|
||||||
|
|
||||||
|
}
|
||||||
|
).FirstOrDefault();
|
||||||
|
this.QDetails.Text = item.ProblemDetial;
|
||||||
|
this.suggest.Text = item.RectificationDescription;
|
||||||
|
this.Code.Text = item.InspectionCode;
|
||||||
|
this.PName.Text = item.ProjectName;
|
||||||
|
this.Cman.Text = item.CheckMan;
|
||||||
|
this.Pman.Text = item.PersonResponsibleName;
|
||||||
|
this.Ptype.Text = item.ProblemTypeName;
|
||||||
|
this.Iarea.Text = item.Place;
|
||||||
|
this.Carea.Text = item.WorkAreaName;
|
||||||
|
this.conclusion.Text = item.RectificationResults;
|
||||||
|
this.divImageUrl.InnerHtml = BLL.UploadAttachmentService.ShowAttachment(ConfigurationManager.AppSettings["CEMS_IMG_URL"], item.BeforelUrl);
|
||||||
|
this.divRectificationImageUrl.InnerHtml = BLL.UploadAttachmentService.ShowAttachment(ConfigurationManager.AppSettings["CEMS_IMG_URL"], item.AfterUrl);
|
||||||
|
|
||||||
|
if (item.States == "1" && item.ItemStates == "1")
|
||||||
|
{
|
||||||
|
this.state.Text = "待提交";
|
||||||
|
}
|
||||||
|
if (item.States == "2" && item.ItemStates == "1")
|
||||||
|
{
|
||||||
|
this.state.Text = "待审批";
|
||||||
|
}
|
||||||
|
if (item.States == "2" && item.ItemStates == "2")
|
||||||
|
{
|
||||||
|
this.state.Text = "待整改";
|
||||||
|
}
|
||||||
|
if (item.States == "2" && item.ItemStates == "3")
|
||||||
|
{
|
||||||
|
this.state.Text = "已闭环";
|
||||||
|
}
|
||||||
|
if (item.States == "2" && item.ItemStates == "3")
|
||||||
|
{
|
||||||
|
this.state.Text = "已闭环";
|
||||||
|
}
|
||||||
|
if (item.States == "3")
|
||||||
|
{
|
||||||
|
this.state.Text = "已闭环";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
+197
@@ -0,0 +1,197 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <自动生成>
|
||||||
|
// 此代码由工具生成。
|
||||||
|
//
|
||||||
|
// 对此文件的更改可能导致不正确的行为,如果
|
||||||
|
// 重新生成代码,则所做更改将丢失。
|
||||||
|
// </自动生成>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace FineUIPro.Web.OfficeCheck.Inspect
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
public partial class ProjectQualityInspectionView
|
||||||
|
{
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// _form1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.HtmlControls.HtmlForm _form1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// PageManager1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.PageManager PageManager1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Form1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Form Form1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Code 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextBox Code;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// PName 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextBox PName;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Cman 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextBox Cman;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Pman 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextBox Pman;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Ptype 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextBox Ptype;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Iarea 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextBox Iarea;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Carea 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextBox Carea;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// state 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextBox state;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// QDetails 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextBox QDetails;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// suggest 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextBox suggest;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// conclusion 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextBox conclusion;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// lblImageUrl 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Label lblImageUrl;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// ContentPanel2 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.ContentPanel ContentPanel2;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// divImageUrl 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divImageUrl;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// lblRectificationImageUrl 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Label lblRectificationImageUrl;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// ContentPanel1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.ContentPanel ContentPanel1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// divRectificationImageUrl 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divRectificationImageUrl;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -4,7 +4,6 @@
|
|||||||
<TreeNode id="2FC8AA2A-F421-4174-A05E-2711167AF141" Text="日常巡检记录" EnText="日常巡检记录" NavigateUrl="HSSE/HiddenInspection/HiddenRectificationList.aspx">
|
<TreeNode id="2FC8AA2A-F421-4174-A05E-2711167AF141" Text="日常巡检记录" EnText="日常巡检记录" NavigateUrl="HSSE/HiddenInspection/HiddenRectificationList.aspx">
|
||||||
</TreeNode>
|
</TreeNode>
|
||||||
<TreeNode id="C7481FEE-EA92-44B8-99F6-C5CA6BBDCFF5" Text="专项检查记录" EnText="专项检查记录" NavigateUrl="HSSE/Check/CheckSpecialRecord.aspx"></TreeNode>
|
<TreeNode id="C7481FEE-EA92-44B8-99F6-C5CA6BBDCFF5" Text="专项检查记录" EnText="专项检查记录" NavigateUrl="HSSE/Check/CheckSpecialRecord.aspx"></TreeNode>
|
||||||
<TreeNode id="0DAAF731-D058-41E9-9C8A-0647DF82E0D0" Text="安全专检" EnText="安全专检" NavigateUrl="OfficeCheck/Inspect/ProjectSafetyInspection.aspx"></TreeNode>
|
|
||||||
</TreeNode>
|
</TreeNode>
|
||||||
<TreeNode id="5309E7E0-395E-4F11-8F5E-D52E11526A2A" Text="安全会议" EnText="安全会议" NavigateUrl=""><TreeNode id="F8ADCDBC-AAAD-4884-9935-2B63562E4779" Text="班前会" EnText="班前会" NavigateUrl="HSSE/Meeting/ClassMeeting.aspx"></TreeNode>
|
<TreeNode id="5309E7E0-395E-4F11-8F5E-D52E11526A2A" Text="安全会议" EnText="安全会议" NavigateUrl=""><TreeNode id="F8ADCDBC-AAAD-4884-9935-2B63562E4779" Text="班前会" EnText="班前会" NavigateUrl="HSSE/Meeting/ClassMeeting.aspx"></TreeNode>
|
||||||
<TreeNode id="5236B1D9-8B57-495E-8644-231DF5D066CE" Text="安全周例会" EnText="安全周例会" NavigateUrl="HSSE/Meeting/WeekMeeting.aspx"></TreeNode>
|
<TreeNode id="5236B1D9-8B57-495E-8644-231DF5D066CE" Text="安全周例会" EnText="安全周例会" NavigateUrl="HSSE/Meeting/WeekMeeting.aspx"></TreeNode>
|
||||||
|
|||||||
@@ -6,6 +6,5 @@
|
|||||||
<TreeNode id="C9C95D5A-4A15-4F4B-B091-EB5BECC254A4" Text="整体及分类汇总表" EnText="整体及分类汇总表" NavigateUrl="CQMS/QuantityManagement/WorkTeamStatistics.aspx"></TreeNode>
|
<TreeNode id="C9C95D5A-4A15-4F4B-B091-EB5BECC254A4" Text="整体及分类汇总表" EnText="整体及分类汇总表" NavigateUrl="CQMS/QuantityManagement/WorkTeamStatistics.aspx"></TreeNode>
|
||||||
<TreeNode id="CE235B20-C6BB-4A34-A11C-70F90921B803" Text="项目内容汇总表" EnText="项目内容汇总表" NavigateUrl="CQMS/QuantityManagement/ProjectContentStatistics.aspx"></TreeNode>
|
<TreeNode id="CE235B20-C6BB-4A34-A11C-70F90921B803" Text="项目内容汇总表" EnText="项目内容汇总表" NavigateUrl="CQMS/QuantityManagement/ProjectContentStatistics.aspx"></TreeNode>
|
||||||
</TreeNode>
|
</TreeNode>
|
||||||
<TreeNode id="CAAD533A-D199-4CFB-BCC1-980FBE1085EC" Text="安全专检" EnText="安全专检" NavigateUrl="OfficeCheck/Inspect/SafetyInspection.aspx"></TreeNode>
|
|
||||||
<TreeNode id="BDCCE638-E9EF-421D-B09B-699F02A4462C" Text="质量专检" EnText="质量专检" NavigateUrl="OfficeCheck/Inspect/QualityInspection.aspx"></TreeNode>
|
<TreeNode id="BDCCE638-E9EF-421D-B09B-699F02A4462C" Text="质量专检" EnText="质量专检" NavigateUrl="OfficeCheck/Inspect/QualityInspection.aspx"></TreeNode>
|
||||||
</Tree>
|
</Tree>
|
||||||
@@ -43,7 +43,6 @@
|
|||||||
<TreeNode id="3EC2676A-70EB-400E-BE17-EEBBA0B7E9D7" Text="安全巡检类型定义" EnText="安全巡检类型定义" NavigateUrl="BaseInfo/HazardRegisterTypes.aspx"></TreeNode>
|
<TreeNode id="3EC2676A-70EB-400E-BE17-EEBBA0B7E9D7" Text="安全巡检类型定义" EnText="安全巡检类型定义" NavigateUrl="BaseInfo/HazardRegisterTypes.aspx"></TreeNode>
|
||||||
<TreeNode id="CCF9E615-78C9-4085-BCFE-0F9907D3FA0A" Text="物资类别" EnText="物资类别" NavigateUrl="BaseInfo/GoodsCategory.aspx"></TreeNode>
|
<TreeNode id="CCF9E615-78C9-4085-BCFE-0F9907D3FA0A" Text="物资类别" EnText="物资类别" NavigateUrl="BaseInfo/GoodsCategory.aspx"></TreeNode>
|
||||||
<TreeNode id="E4B526CC-805E-4131-8E18-2FFA6871507E" Text="风险等级" EnText="风险等级" NavigateUrl="BaseInfo/RiskLevel.aspx"></TreeNode>
|
<TreeNode id="E4B526CC-805E-4131-8E18-2FFA6871507E" Text="风险等级" EnText="风险等级" NavigateUrl="BaseInfo/RiskLevel.aspx"></TreeNode>
|
||||||
<TreeNode id="6E2A2D85-30A0-DA45-D1C4-A4661A8AEDF0 " Text="问题类别" EnText="问题类别" NavigateUrl="BaseInfo/ProblemTypes.aspx"></TreeNode>
|
|
||||||
</TreeNode>
|
</TreeNode>
|
||||||
<TreeNode id="85DFE1D3-9E68-46B5-87E5-A525698F2F5F" Text="焊接设置" EnText="焊接设置" NavigateUrl=""><TreeNode id="8IDKGJE2-09B1-4607-BC6D-865CE48F0004" Text="焊接耗材定义" EnText="焊接耗材定义" NavigateUrl="HJGL/BaseInfo/Consumables.aspx"></TreeNode>
|
<TreeNode id="85DFE1D3-9E68-46B5-87E5-A525698F2F5F" Text="焊接设置" EnText="焊接设置" NavigateUrl=""><TreeNode id="8IDKGJE2-09B1-4607-BC6D-865CE48F0004" Text="焊接耗材定义" EnText="焊接耗材定义" NavigateUrl="HJGL/BaseInfo/Consumables.aspx"></TreeNode>
|
||||||
<TreeNode id="4C41FC4C-659E-495E-8BD3-0702F35F534E" Text="管道级别定义" EnText="管道级别定义" NavigateUrl="HJGL/BaseInfo/PipingClass.aspx"></TreeNode>
|
<TreeNode id="4C41FC4C-659E-495E-8BD3-0702F35F534E" Text="管道级别定义" EnText="管道级别定义" NavigateUrl="HJGL/BaseInfo/PipingClass.aspx"></TreeNode>
|
||||||
|
|||||||
@@ -9,16 +9,17 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>智慧施工管理信息系统</title>
|
<title>智慧施工管理信息系统</title>
|
||||||
<script src="lib/flex.js"></script>
|
<script src="lib/flex.js"></script>
|
||||||
<link href="../res/css/mainindex.css?v1" rel="stylesheet" />
|
<link href="../res/css/mainindex.css?v2" rel="stylesheet" />
|
||||||
<link href="../res/indexv2/assets/css/swiper-bundle.min.css" rel="stylesheet" />
|
<link href="../res/indexv2/assets/css/swiper-bundle.min.css" rel="stylesheet" />
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
input[type="date"] {
|
input[type="date"] {
|
||||||
background-color: rgba(0,0,0,0);
|
background-color: rgba(0,0,0,0);
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
font-size: .175rem;
|
font-size: .175rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@@ -97,14 +98,15 @@
|
|||||||
right: 4px;
|
right: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="date"] {
|
input[type="date"] {
|
||||||
background-color: rgba(0,0,0,0);
|
background-color: rgba(0,0,0,0);
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
font-size: .175rem;
|
font-size: .175rem;
|
||||||
}
|
}
|
||||||
input[type="date"]::-webkit-calendar-picker-indicator {
|
|
||||||
filter: invert(1);
|
input[type="date"]::-webkit-calendar-picker-indicator {
|
||||||
}
|
filter: invert(1);
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<script src="../res/indexv2/assets/js/swiper-bundle.min.js"></script>
|
<script src="../res/indexv2/assets/js/swiper-bundle.min.js"></script>
|
||||||
<body class="t-main1">
|
<body class="t-main1">
|
||||||
@@ -114,24 +116,27 @@
|
|||||||
<div class="t-side-tit">
|
<div class="t-side-tit">
|
||||||
<asp:Literal runat="server" Text="劳务数据" />
|
<asp:Literal runat="server" Text="劳务数据" />
|
||||||
<div class="z-date">
|
<div class="z-date">
|
||||||
<input id="labour" type="date" value="" />
|
<%-- <input id="labour" type="date" value="" />--%>
|
||||||
|
<input id="labour_start" type="date" value="" />
|
||||||
|
<span style="font-size: 10px; padding: 0 6px;">至</span>
|
||||||
|
<input id="labour_end" type="date" value="" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="t-xmtj flex-row">
|
<div class="t-xmtj flex-row">
|
||||||
<div class="t-xmtj-box flex-column flex-item-center">
|
<div class="t-xmtj-box flex-column flex-item-center">
|
||||||
<div class="t-xmtj-box-val " ><span class="color1" id="allperson"></span><span style="font-size:.25rem;color:#d7d7d7;">人</span></div>
|
<div class="t-xmtj-box-val "><span class="color1" id="allperson"></span><span style="font-size: .25rem; color: #d7d7d7;">人</span></div>
|
||||||
<div class="t-xmtj-box-lab">
|
<div class="t-xmtj-box-lab">
|
||||||
<asp:Literal runat="server" Text="现场人数" />
|
<asp:Literal runat="server" Text="现场人数" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="t-xmtj-box flex-column flex-item-center">
|
<div class="t-xmtj-box flex-column flex-item-center">
|
||||||
<div class="t-xmtj-box-val" ><span class="color2" id="managePerson"></span><span style="font-size:.25rem;color:#d7d7d7;">人</span></div>
|
<div class="t-xmtj-box-val"><span class="color2" id="managePerson"></span><span style="font-size: .25rem; color: #d7d7d7;">人</span></div>
|
||||||
<div class="t-xmtj-box-lab">
|
<div class="t-xmtj-box-lab">
|
||||||
<asp:Literal runat="server" Text="管理人员" />
|
<asp:Literal runat="server" Text="管理人员" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="t-xmtj-box flex-column flex-item-center">
|
<div class="t-xmtj-box flex-column flex-item-center">
|
||||||
<div class="t-xmtj-box-val " ><span class="color3" id="workerPerson"></span><span style="font-size:.25rem;color:#d7d7d7;">人</span></div>
|
<div class="t-xmtj-box-val "><span class="color3" id="workerPerson"></span><span style="font-size: .25rem; color: #d7d7d7;">人</span></div>
|
||||||
<div class="t-xmtj-box-lab">
|
<div class="t-xmtj-box-lab">
|
||||||
<asp:Literal runat="server" Text="作业人员" />
|
<asp:Literal runat="server" Text="作业人员" />
|
||||||
</div>
|
</div>
|
||||||
@@ -171,8 +176,8 @@
|
|||||||
<div class="lw-item-val color4" runat="server" id="undone">0</div>
|
<div class="lw-item-val color4" runat="server" id="undone">0</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="t-aqtj" >
|
<div class="t-aqtj">
|
||||||
<div id="aqtj" style="height:100%;width:100%;"></div>
|
<div id="aqtj" style="height: 100%; width: 100%;"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="t-side-tit">
|
<div class="t-side-tit">
|
||||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,LiveVideo%>" />
|
<asp:Literal runat="server" Text="<%$ Resources:Lan,LiveVideo%>" />
|
||||||
@@ -214,6 +219,11 @@
|
|||||||
<div class="t-side">
|
<div class="t-side">
|
||||||
<div class="t-side-tit">
|
<div class="t-side-tit">
|
||||||
<asp:Literal runat="server" Text="<%$ Resources:Lan,Quality_problem_statistics%>" />
|
<asp:Literal runat="server" Text="<%$ Resources:Lan,Quality_problem_statistics%>" />
|
||||||
|
<div class="z-date">
|
||||||
|
<input id="labour_start" type="date" value="" />
|
||||||
|
<span style="font-size: 10px; padding: 0 6px;">至</span>
|
||||||
|
<input id="labour_end" type="date" value="" />
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="t-zltj">
|
<div class="t-zltj">
|
||||||
<div class="zl-box-tit flex-row flex-between flex-item-center">
|
<div class="zl-box-tit flex-row flex-between flex-item-center">
|
||||||
@@ -300,21 +310,40 @@
|
|||||||
let AQWTChart = null; // 安全问题统计柱状图的实体
|
let AQWTChart = null; // 安全问题统计柱状图的实体
|
||||||
// 5分钟刷新一次数据
|
// 5分钟刷新一次数据
|
||||||
setInterval(function () {
|
setInterval(function () {
|
||||||
// 问题类型统计
|
// 问题类型统计
|
||||||
problemTypeStatistics($('#safe_start').val(), $('#safe_end').val())
|
problemTypeStatistics($('#safe_start').val(), $('#safe_end').val())
|
||||||
// 劳务数据统计
|
// 劳务数据统计
|
||||||
serviceData($("#labour").val())
|
serviceData()
|
||||||
}, 300000)
|
}, 300000)
|
||||||
|
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
// 初始化劳务数据
|
// 初始化劳务数据
|
||||||
$("#labour").val(nowDate())
|
$("#labour_start").val(nowDate())
|
||||||
serviceData(nowDate())
|
$("#labour_end").val(nowDate())
|
||||||
|
serviceData()
|
||||||
|
|
||||||
// 切换日期时请求数据
|
// 切换日期时请求数据
|
||||||
$('#labour').on("change", function (e) {
|
$('#labour_start').on('change', function () {
|
||||||
serviceData($("#labour").val())
|
let labour_start = $('#labour_start').val()
|
||||||
|
let labour_end = $('#labour_end').val()
|
||||||
|
if (new Date(labour_start).getTime() > new Date(labour_end)) {
|
||||||
|
alert("请选择小于" + labour_end + "日期")
|
||||||
|
$('#labour_start').val(labour_end)
|
||||||
|
}
|
||||||
|
serviceData()
|
||||||
|
|
||||||
})
|
})
|
||||||
|
$('#labour_end').on('change', function () {
|
||||||
|
let labour_start = $('#labour_start').val()
|
||||||
|
let labour_end = $('#labour_end').val()
|
||||||
|
if (new Date(labour_start).getTime() > new Date(labour_end)) {
|
||||||
|
$('#labour_start').val(nowDate())
|
||||||
|
|
||||||
|
alert("请选择大于" + labour_start + "日期")
|
||||||
|
}
|
||||||
|
serviceData()
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// 给安全问题统计赋值
|
// 给安全问题统计赋值
|
||||||
@@ -333,9 +362,8 @@
|
|||||||
if (new Date(safe_start).getTime() > new Date(safe_end)) {
|
if (new Date(safe_start).getTime() > new Date(safe_end)) {
|
||||||
alert("请选择小于" + safe_end + "日期")
|
alert("请选择小于" + safe_end + "日期")
|
||||||
$('#safe_start').val(safe_end)
|
$('#safe_start').val(safe_end)
|
||||||
} else {
|
|
||||||
problemTypeStatistics($('#safe_start').val(), $('#safe_end').val())
|
|
||||||
}
|
}
|
||||||
|
problemTypeStatistics($('#safe_start').val(), $('#safe_end').val())
|
||||||
|
|
||||||
})
|
})
|
||||||
$('#safe_end').on('change', function () {
|
$('#safe_end').on('change', function () {
|
||||||
@@ -344,13 +372,41 @@
|
|||||||
if (new Date(safe_start).getTime() > new Date(safe_end)) {
|
if (new Date(safe_start).getTime() > new Date(safe_end)) {
|
||||||
$('#safe_start').val(nowDate())
|
$('#safe_start').val(nowDate())
|
||||||
alert("请选择大于" + safe_start + "日期")
|
alert("请选择大于" + safe_start + "日期")
|
||||||
} else {
|
|
||||||
problemTypeStatistics($('#safe_start').val(), $('#safe_end').val())
|
|
||||||
}
|
}
|
||||||
|
problemTypeStatistics($('#safe_start').val(), $('#safe_end').val())
|
||||||
})
|
})
|
||||||
|
|
||||||
createChinaMap()
|
createChinaMap()
|
||||||
})
|
})
|
||||||
|
// 质量问题统计
|
||||||
|
function getQualityProblemStatistics() {
|
||||||
|
$.ajax({
|
||||||
|
url: "main3.aspx/GetQualityProblemStatistics",
|
||||||
|
type: "POST",
|
||||||
|
contentType: "application/json; charset=utf-8",
|
||||||
|
dataType: "json",
|
||||||
|
data: JSON.stringify({
|
||||||
|
startdate: startdate,
|
||||||
|
enddate: enddate
|
||||||
|
}),
|
||||||
|
success: function (data) {
|
||||||
|
console.log(data)
|
||||||
|
let d = data.d
|
||||||
|
$("#all").text(d.AllCount)
|
||||||
|
$("#done").text(d.DoneCount)
|
||||||
|
$("#undone").text(d.UnDoneCount)
|
||||||
|
let tits = []
|
||||||
|
let vals = []
|
||||||
|
d.CheckList.map(e => {
|
||||||
|
tits.push(e.type)
|
||||||
|
vals.push(e.count)
|
||||||
|
})
|
||||||
|
|
||||||
|
initAQWTap('aqtj', tits, vals)
|
||||||
|
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
// 安全问题统计
|
// 安全问题统计
|
||||||
function problemTypeStatistics(startdate, enddate) {
|
function problemTypeStatistics(startdate, enddate) {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
@@ -375,21 +431,24 @@
|
|||||||
tits.push(e.type)
|
tits.push(e.type)
|
||||||
vals.push(e.count)
|
vals.push(e.count)
|
||||||
})
|
})
|
||||||
|
|
||||||
initAQWTap('aqtj', tits, vals)
|
initAQWTap('aqtj', tits, vals)
|
||||||
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
// 请求劳务数据
|
// 请求劳务数据
|
||||||
function serviceData(date) {
|
function serviceData() {
|
||||||
|
let labour_start = $('#labour_start').val()
|
||||||
|
let labour_end = $('#labour_end').val()
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: "main3.aspx/GetServiceData",
|
url: "main3.aspx/GetServiceData",
|
||||||
type: "POST",
|
type: "POST",
|
||||||
contentType: "application/json; charset=utf-8",
|
contentType: "application/json; charset=utf-8",
|
||||||
dataType: "json",
|
dataType: "json",
|
||||||
data: JSON.stringify({
|
data: JSON.stringify({
|
||||||
date: date
|
startdate: labour_start,
|
||||||
|
enddate: labour_end
|
||||||
}),
|
}),
|
||||||
success: function (data) {
|
success: function (data) {
|
||||||
console.log(data)
|
console.log(data)
|
||||||
@@ -423,8 +482,9 @@
|
|||||||
var option = {
|
var option = {
|
||||||
grid: {
|
grid: {
|
||||||
containLabel: true,
|
containLabel: true,
|
||||||
|
top: 30,
|
||||||
left: 0,
|
left: 0,
|
||||||
bottom: resetSize(10),
|
height: 180,
|
||||||
|
|
||||||
},
|
},
|
||||||
xAxis: {
|
xAxis: {
|
||||||
@@ -435,8 +495,8 @@
|
|||||||
rotate: -25,
|
rotate: -25,
|
||||||
interval: 0,
|
interval: 0,
|
||||||
textStyle: {
|
textStyle: {
|
||||||
fontSize: 14,
|
fontSize: 12,
|
||||||
color: '#84D7FE'
|
color: '#FFFFFF'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -480,7 +540,7 @@
|
|||||||
right: '0',
|
right: '0',
|
||||||
bottom: 0,
|
bottom: 0,
|
||||||
start: 0,//滚动条的起始位置
|
start: 0,//滚动条的起始位置
|
||||||
end: 50, //滚动条的截止位置(按比例分割你的柱状图x轴长度)
|
end: 8/tit.length*100, //滚动条的截止位置(按比例分割你的柱状图x轴长度)
|
||||||
fillerColor: '#6B7388', //滑块的颜色
|
fillerColor: '#6B7388', //滑块的颜色
|
||||||
backgroundColor: '#2B3755', // 滑块轨道的颜色
|
backgroundColor: '#2B3755', // 滑块轨道的颜色
|
||||||
borderColor: 'transparent', // 滑块轨道边框的颜色
|
borderColor: 'transparent', // 滑块轨道边框的颜色
|
||||||
@@ -523,9 +583,9 @@
|
|||||||
$(".swiper-button-next").on("click", function () {
|
$(".swiper-button-next").on("click", function () {
|
||||||
mySwiper.slideNext()
|
mySwiper.slideNext()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function initZLMap(el, val, tit = "") {
|
function initZLMap(el, val, tit = "") {
|
||||||
|
|
||||||
const gaugeData = [
|
const gaugeData = [
|
||||||
@@ -629,7 +689,7 @@
|
|||||||
var myChart = echarts.init(chartDom);
|
var myChart = echarts.init(chartDom);
|
||||||
option && myChart.setOption(option);
|
option && myChart.setOption(option);
|
||||||
}
|
}
|
||||||
|
|
||||||
function createChinaMap() {
|
function createChinaMap() {
|
||||||
var chinaData = JSON.parse('<%=ProjectInfo %>')
|
var chinaData = JSON.parse('<%=ProjectInfo %>')
|
||||||
// 地图 点
|
// 地图 点
|
||||||
|
|||||||
@@ -82,12 +82,13 @@ namespace FineUIPro.Web.common
|
|||||||
|
|
||||||
#region 劳务数据
|
#region 劳务数据
|
||||||
[WebMethod]
|
[WebMethod]
|
||||||
public static Object GetServiceData(string date)
|
public static Object GetServiceData(string startdate, string enddate)
|
||||||
{
|
{
|
||||||
DateTime mdate = Funs.GetNewDateTimeOrNow(date);
|
DateTime startd = Funs.GetNewDateTimeOrNow(string.Format("{0} {1}", startdate, "00:00:00"));
|
||||||
|
DateTime endd = Funs.GetNewDateTimeOrNow(string.Format("{0} {1}", enddate, "23:59:59"));
|
||||||
int m_count = Funs.DB.Project_ProjectUser.Count();
|
int m_count = Funs.DB.Project_ProjectUser.Count();
|
||||||
int job_count = (from x in Funs.DB.Meeting_ClassMeeting
|
int job_count = (from x in Funs.DB.Meeting_ClassMeeting
|
||||||
where x.ClassMeetingDate.Value.Year == mdate.Year && x.ClassMeetingDate.Value.Month == mdate.Month && x.ClassMeetingDate.Value.Day == mdate.Day
|
where x.ClassMeetingDate >= startd && x.ClassMeetingDate <= endd
|
||||||
select new Model.MeetingItem
|
select new Model.MeetingItem
|
||||||
{
|
{
|
||||||
AttentPersonNum = x.AttentPersonNum ?? 0,
|
AttentPersonNum = x.AttentPersonNum ?? 0,
|
||||||
@@ -103,8 +104,23 @@ namespace FineUIPro.Web.common
|
|||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
#region 质量问题统计
|
||||||
|
[WebMethod]
|
||||||
|
public static Object GetQualityProblemStatistics(string startdate, string enddate)
|
||||||
|
{
|
||||||
|
DateTime startd = Funs.GetNewDateTimeOrNow(string.Format("{0} {1}", startdate, "00:00:00"));
|
||||||
|
DateTime endd = Funs.GetNewDateTimeOrNow(string.Format("{0} {1}", enddate, "23:59:59"));
|
||||||
|
List<Model.Inspect_InspectionItem> list = (from x in Funs.DB.Inspect_InspectionItem
|
||||||
|
join i in Funs.DB.Inspect_Inspection on x.InspectionId equals i.InspectionId
|
||||||
|
where i.InspectType == "1" && x.CompileTime > startd && x.CompileTime < endd
|
||||||
|
select new Model.Inspect_InspectionItem()
|
||||||
|
).ToList();
|
||||||
|
|
||||||
#region
|
return null;
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 安全问题统计
|
||||||
[WebMethod]
|
[WebMethod]
|
||||||
public static Object GetSafetyProblemStatistics( string startdate, string enddate)
|
public static Object GetSafetyProblemStatistics( string startdate, string enddate)
|
||||||
{
|
{
|
||||||
@@ -135,16 +151,10 @@ namespace FineUIPro.Web.common
|
|||||||
).Concat(
|
).Concat(
|
||||||
from i in Funs.DB.Inspect_Inspection
|
from i in Funs.DB.Inspect_Inspection
|
||||||
join itm in Funs.DB.Inspect_InspectionItem on i.InspectionId equals itm.InspectionId
|
join itm in Funs.DB.Inspect_InspectionItem on i.InspectionId equals itm.InspectionId
|
||||||
where i.ProblemTypeName != null && i.CreateTime > startd && i.CreateTime < endd
|
where i.ProblemTypeName != null && i.CreateTime > startd && i.CreateTime < endd && i.InspectType == "1"
|
||||||
group i by i.ProblemTypeName into g2
|
group i by i.ProblemTypeName into g2
|
||||||
select new { type = g2.Key, count = g2.Count() }
|
select new { type = g2.Key, count = g2.Count() }
|
||||||
|
|
||||||
).Concat(
|
|
||||||
from ins in Funs.DB.Inspect_Inspection
|
|
||||||
join itm in Funs.DB.Inspect_InspectionItem on ins.InspectionId equals itm.InspectionId
|
|
||||||
where ins.Place != null && ins.CreateTime > startd && ins.CreateTime < endd
|
|
||||||
group ins by ins.Place into g3
|
|
||||||
select new { type = g3.Key, count = g3.Count() }
|
|
||||||
)
|
)
|
||||||
.GroupBy(x => x.type)
|
.GroupBy(x => x.type)
|
||||||
.Select(g => new { type = g.Key, count = g.Sum(x => x.count) });
|
.Select(g => new { type = g.Key, count = g.Sum(x => x.count) });
|
||||||
|
|||||||
@@ -178,7 +178,9 @@
|
|||||||
<div class="side-tit image-full">
|
<div class="side-tit image-full">
|
||||||
<asp:Literal runat="server" Text="劳务数据" />
|
<asp:Literal runat="server" Text="劳务数据" />
|
||||||
<div class="z-date">
|
<div class="z-date">
|
||||||
<input id="labour" type="date" value="" />
|
<input id="labour_start" type="date" value="" />
|
||||||
|
<span style="font-size: 10px; padding: 0 6px;">至</span>
|
||||||
|
<input id="labour_end" type="date" value="" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="anq-box">
|
<div class="anq-box">
|
||||||
@@ -186,8 +188,8 @@
|
|||||||
<div class="anq-lab">
|
<div class="anq-lab">
|
||||||
<asp:Literal runat="server" Text="现场人数" />:
|
<asp:Literal runat="server" Text="现场人数" />:
|
||||||
</div>
|
</div>
|
||||||
<div class="anq-val" ><span id="all_count"></span> <span style="font-size: 14px;">人</span></div>
|
<div class="anq-val"><span id="all_count"></span><span style="font-size: 14px;">人</span></div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="anq-inner flex-row flex-center">
|
<div class="anq-inner flex-row flex-center">
|
||||||
<div class="anq-inner-b flex-column flex-center">
|
<div class="anq-inner-b flex-column flex-center">
|
||||||
@@ -246,8 +248,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="lw-map">
|
<div class="lw-map">
|
||||||
<div id="lw-map"></div>
|
<div id="lw-map"></div>`
|
||||||
<p style="text-align:center;margin-top: 10%;color:#ffffff;">暂无数据</p>`
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<%--<div class="side-tit image-full tit1">视频监控</div>
|
<%--<div class="side-tit image-full tit1">视频监控</div>
|
||||||
@@ -573,28 +574,46 @@
|
|||||||
// 问题类型统计
|
// 问题类型统计
|
||||||
problemTypeStatistics($('#safe_start').val(), $('#safe_end').val())
|
problemTypeStatistics($('#safe_start').val(), $('#safe_end').val())
|
||||||
// 劳务数据统计
|
// 劳务数据统计
|
||||||
serviceData($("#labour").val())
|
serviceData()
|
||||||
}, 300000)
|
}, 300000)
|
||||||
|
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
let ProjectId = "<%= ProjectId%>"
|
let ProjectId = "<%= ProjectId%>"
|
||||||
// 给劳务数据日期选择框赋当天日期
|
// 初始化劳务数据
|
||||||
$('#labour').val(nowDate());
|
$("#labour_start").val(nowDate())
|
||||||
serviceData(nowDate())
|
$("#labour_end").val(nowDate())
|
||||||
|
serviceData()
|
||||||
// 切换日期时请求数据
|
// 切换日期时请求数据
|
||||||
$('#labour').on("change", function (e) {
|
$('#labour_start').on('change', function () {
|
||||||
serviceData($(this).val())
|
let labour_start = $('#labour_start').val()
|
||||||
|
let labour_end = $('#labour_end').val()
|
||||||
|
if (new Date(labour_start).getTime() > new Date(labour_end)) {
|
||||||
|
alert("请选择小于" + labour_end + "日期")
|
||||||
|
$('#labour_start').val(labour_end)
|
||||||
|
}
|
||||||
|
serviceData()
|
||||||
|
|
||||||
})
|
})
|
||||||
|
$('#labour_end').on('change', function () {
|
||||||
|
let labour_start = $('#labour_start').val()
|
||||||
|
let labour_end = $('#labour_end').val()
|
||||||
|
if (new Date(labour_start).getTime() > new Date(labour_end)) {
|
||||||
|
$('#labour_start').val(nowDate())
|
||||||
|
|
||||||
|
alert("请选择大于" + labour_start + "日期")
|
||||||
|
}
|
||||||
|
serviceData()
|
||||||
|
})
|
||||||
|
|
||||||
// 给安全问题统计赋值
|
// 给安全问题统计赋值
|
||||||
let date = new Date()
|
let date = new Date()
|
||||||
let year = date.getFullYear()
|
let year = date.getFullYear()
|
||||||
let month = date.getMonth() + 1
|
let month = date.getMonth() + 1
|
||||||
|
|
||||||
$('#safe_start').val(`${year}-${month.toString().padStart(2, '0') }-01`);
|
$('#safe_start').val(`${year}-${month.toString().padStart(2, '0')}-01`);
|
||||||
$('#safe_end').val(`${year}-${month.toString().padStart(2, '0')}-${new Date(year, month, 0).getDate() }`);
|
$('#safe_end').val(`${year}-${month.toString().padStart(2, '0')}-${new Date(year, month, 0).getDate()}`);
|
||||||
problemTypeStatistics($('#safe_start').val(), $('#safe_end').val())
|
problemTypeStatistics($('#safe_start').val(), $('#safe_end').val())
|
||||||
|
|
||||||
$('#safe_start').on('change', function () {
|
$('#safe_start').on('change', function () {
|
||||||
let safe_start = $('#safe_start').val()
|
let safe_start = $('#safe_start').val()
|
||||||
let safe_end = $('#safe_end').val()
|
let safe_end = $('#safe_end').val()
|
||||||
@@ -604,7 +623,7 @@
|
|||||||
} else {
|
} else {
|
||||||
problemTypeStatistics($('#safe_start').val(), $('#safe_end').val())
|
problemTypeStatistics($('#safe_start').val(), $('#safe_end').val())
|
||||||
}
|
}
|
||||||
|
|
||||||
})
|
})
|
||||||
$('#safe_end').on('change', function () {
|
$('#safe_end').on('change', function () {
|
||||||
let safe_start = $('#safe_start').val()
|
let safe_start = $('#safe_start').val()
|
||||||
@@ -638,8 +657,7 @@
|
|||||||
data: JSON.stringify({
|
data: JSON.stringify({
|
||||||
ProjectId: ProjectId,
|
ProjectId: ProjectId,
|
||||||
startdate: startdate,
|
startdate: startdate,
|
||||||
enddate: enddate,
|
enddate: enddate
|
||||||
|
|
||||||
}),
|
}),
|
||||||
success: function (data) {
|
success: function (data) {
|
||||||
console.log(data)
|
console.log(data)
|
||||||
@@ -654,31 +672,22 @@
|
|||||||
vals.push(e.count)
|
vals.push(e.count)
|
||||||
})
|
})
|
||||||
initAQWTap('lw-map', tits, vals)
|
initAQWTap('lw-map', tits, vals)
|
||||||
//if (d.CheckList.length > 0) {
|
|
||||||
// d.CheckList.map(e => {
|
|
||||||
// tits.push(e.type)
|
|
||||||
// vals.push(e.count)
|
|
||||||
// })
|
|
||||||
// $("#lw-map").show()
|
|
||||||
// $(".lw-map>p").hide()
|
|
||||||
// initAQWTap('lw-map', tits, vals)
|
|
||||||
//} else {
|
|
||||||
// $("#lw-map").hide()
|
|
||||||
// $(".lw-map>p").show()
|
|
||||||
//}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
// 请求劳务数据
|
// 请求劳务数据
|
||||||
function serviceData(date) {
|
function serviceData() {
|
||||||
|
let labour_start = $('#labour_start').val()
|
||||||
|
let labour_end = $('#labour_end').val()
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: "mainProject.aspx/GetServiceData",
|
url: "mainProject.aspx/GetServiceData",
|
||||||
type: "POST",
|
type: "POST",
|
||||||
contentType: "application/json; charset=utf-8",
|
contentType: "application/json; charset=utf-8",
|
||||||
dataType: "json",
|
dataType: "json",
|
||||||
data: JSON.stringify({
|
data: JSON.stringify({
|
||||||
date: date,
|
startdate: labour_start,
|
||||||
|
enddate: labour_end,
|
||||||
ProjectId: ProjectId,
|
ProjectId: ProjectId,
|
||||||
}),
|
}),
|
||||||
success: function (data) {
|
success: function (data) {
|
||||||
@@ -702,9 +711,9 @@
|
|||||||
var option = {
|
var option = {
|
||||||
grid: {
|
grid: {
|
||||||
containLabel: true,
|
containLabel: true,
|
||||||
|
top: 30,
|
||||||
left: 0,
|
left: 0,
|
||||||
bottom: resetSize(10),
|
height: 220,
|
||||||
|
|
||||||
},
|
},
|
||||||
xAxis: {
|
xAxis: {
|
||||||
type: 'category',
|
type: 'category',
|
||||||
@@ -714,8 +723,8 @@
|
|||||||
rotate: -25,
|
rotate: -25,
|
||||||
interval: 0,
|
interval: 0,
|
||||||
textStyle: {
|
textStyle: {
|
||||||
fontSize: 14,
|
fontSize: 12,
|
||||||
color: '#84D7FE'
|
color: '#FFFFFF'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -735,7 +744,7 @@
|
|||||||
},
|
},
|
||||||
series: [
|
series: [
|
||||||
{
|
{
|
||||||
barWidth: resetSize(20),
|
barWidth: 20,
|
||||||
data: val,
|
data: val,
|
||||||
type: 'bar',
|
type: 'bar',
|
||||||
label: {
|
label: {
|
||||||
@@ -759,7 +768,7 @@
|
|||||||
right: '0',
|
right: '0',
|
||||||
bottom: 0,
|
bottom: 0,
|
||||||
start: 0,//滚动条的起始位置
|
start: 0,//滚动条的起始位置
|
||||||
end: 50, //滚动条的截止位置(按比例分割你的柱状图x轴长度)
|
end: 8 / tit.length * 100, //滚动条的截止位置(按比例分割你的柱状图x轴长度)
|
||||||
fillerColor: '#6B7388', //滑块的颜色
|
fillerColor: '#6B7388', //滑块的颜色
|
||||||
backgroundColor: '#2B3755', // 滑块轨道的颜色
|
backgroundColor: '#2B3755', // 滑块轨道的颜色
|
||||||
borderColor: 'transparent', // 滑块轨道边框的颜色
|
borderColor: 'transparent', // 滑块轨道边框的颜色
|
||||||
@@ -974,7 +983,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function resetSize(size, initWidth = 1920) {
|
function resetSize(size, initWidth = 1920) {
|
||||||
let clientWidth = document.body.clientWidth
|
let clientWidth = document.body.clientWidth
|
||||||
@@ -1021,8 +1030,8 @@
|
|||||||
}, 'json');
|
}, 'json');
|
||||||
|
|
||||||
}
|
}
|
||||||
initVideo();
|
//initVideo();
|
||||||
runShowVideo();
|
//runShowVideo();
|
||||||
|
|
||||||
var videoURL = '<%= VideoHost %>';
|
var videoURL = '<%= VideoHost %>';
|
||||||
let more = document.getElementById('more')
|
let more = document.getElementById('more')
|
||||||
@@ -1033,7 +1042,7 @@
|
|||||||
//var password = $('#SimpleForm1_hfMonitorPW-inputEl').val();
|
//var password = $('#SimpleForm1_hfMonitorPW-inputEl').val();
|
||||||
console.log(videoURL);
|
console.log(videoURL);
|
||||||
debugger
|
debugger
|
||||||
window.open(videoURL + "#/screen?username=" + '<%= VideoUserName %>' + "&password=" + '<%= VideoPassWord %>', '_blank');
|
////////window.open(videoURL + "#/screen?username=" + '<%= VideoUserName %>' + "&password=" + '<%= VideoPassWord %>', '_blank');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
alert("您没有权限!");
|
alert("您没有权限!");
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ using System.Data;
|
|||||||
using System.Data.SqlClient;
|
using System.Data.SqlClient;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using System.Runtime.InteropServices.ComTypes;
|
||||||
using System.Web.Services;
|
using System.Web.Services;
|
||||||
|
|
||||||
namespace FineUIPro.Web.common
|
namespace FineUIPro.Web.common
|
||||||
@@ -50,7 +51,7 @@ namespace FineUIPro.Web.common
|
|||||||
this.ProjectId = this.CurrUser.LoginProjectId;
|
this.ProjectId = this.CurrUser.LoginProjectId;
|
||||||
}
|
}
|
||||||
/// 获取安全人工时
|
/// 获取安全人工时
|
||||||
getPersonWorkTime();
|
//getPersonWorkTime();
|
||||||
///劳务统计
|
///劳务统计
|
||||||
getSitePerson();
|
getSitePerson();
|
||||||
///项目概况
|
///项目概况
|
||||||
@@ -81,13 +82,14 @@ namespace FineUIPro.Web.common
|
|||||||
|
|
||||||
#region 获取项目劳务数据
|
#region 获取项目劳务数据
|
||||||
[WebMethod]
|
[WebMethod]
|
||||||
public static Object GetServiceData(string ProjectId, string date)
|
public static Object GetServiceData(string ProjectId, string startdate, string enddate)
|
||||||
{
|
{
|
||||||
DateTime mdate = Funs.GetNewDateTimeOrNow(date);
|
DateTime startd = Funs.GetNewDateTimeOrNow(string.Format("{0} {1}", startdate, "00:00:00"));
|
||||||
|
DateTime endd = Funs.GetNewDateTimeOrNow(string.Format("{0} {1}", enddate, "23:59:59"));
|
||||||
int m_count = Funs.DB.Project_ProjectUser.Count(x => x.ProjectId == ProjectId);
|
int m_count = Funs.DB.Project_ProjectUser.Count(x => x.ProjectId == ProjectId);
|
||||||
int job_count = (from x in Funs.DB.Meeting_ClassMeeting
|
int job_count = (from x in Funs.DB.Meeting_ClassMeeting
|
||||||
where x.ProjectId == ProjectId
|
where x.ProjectId == ProjectId && x.ClassMeetingDate >= startd && x.ClassMeetingDate <= endd
|
||||||
&& x.ClassMeetingDate.Value.Year == mdate.Year && x.ClassMeetingDate.Value.Month == mdate.Month && x.ClassMeetingDate.Value.Day == mdate.Day
|
|
||||||
select new Model.MeetingItem
|
select new Model.MeetingItem
|
||||||
{
|
{
|
||||||
AttentPersonNum = x.AttentPersonNum ?? 0,
|
AttentPersonNum = x.AttentPersonNum ?? 0,
|
||||||
@@ -130,12 +132,12 @@ namespace FineUIPro.Web.common
|
|||||||
group hsse by hsse.RectifyName into g1
|
group hsse by hsse.RectifyName into g1
|
||||||
select new { type = g1.Key, count = g1.Count() }).Union((from i in Funs.DB.Inspect_Inspection
|
select new { type = g1.Key, count = g1.Count() }).Union((from i in Funs.DB.Inspect_Inspection
|
||||||
join itm in Funs.DB.Inspect_InspectionItem on i.InspectionId equals itm.InspectionId
|
join itm in Funs.DB.Inspect_InspectionItem on i.InspectionId equals itm.InspectionId
|
||||||
where i.ProblemTypeName != null && i.ProjectId == ProjectId && i.CreateTime > startd && i.CreateTime < endd
|
where i.ProblemTypeName != null && i.ProjectId == ProjectId && i.CreateTime > startd && i.CreateTime < endd && i.InspectType == "1"
|
||||||
group i by i.ProblemTypeName into g2
|
group i by i.ProblemTypeName into g2
|
||||||
select new { type = g2.Key, count = g2.Count() })
|
select new { type = g2.Key, count = g2.Count() })
|
||||||
.Union(from ins in Funs.DB.Inspect_Inspection
|
.Union(from ins in Funs.DB.Inspect_Inspection
|
||||||
join itm in Funs.DB.Inspect_InspectionItem on ins.InspectionId equals itm.InspectionId
|
join itm in Funs.DB.Inspect_InspectionItem on ins.InspectionId equals itm.InspectionId
|
||||||
where ins.Place != null && ins.ProjectId == ProjectId && ins.CreateTime > startd && ins.CreateTime < endd
|
where ins.Place != null && ins.ProjectId == ProjectId && ins.CreateTime > startd && ins.CreateTime < endd && ins.InspectType == "1"
|
||||||
group ins by ins.Place into g3
|
group ins by ins.Place into g3
|
||||||
select new { type = g3.Key, count = g3.Count() })).ToList();
|
select new { type = g3.Key, count = g3.Count() })).ToList();
|
||||||
|
|
||||||
@@ -173,7 +175,6 @@ namespace FineUIPro.Web.common
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void getPersonWorkTime()
|
private void getPersonWorkTime()
|
||||||
{
|
{
|
||||||
//this.divSafeWorkTime.InnerHtml = "0000000000";
|
|
||||||
var monthReportB = from y in Funs.DB.Manager_MonthReportB
|
var monthReportB = from y in Funs.DB.Manager_MonthReportB
|
||||||
where y.ProjectId == this.CurrUser.LoginProjectId
|
where y.ProjectId == this.CurrUser.LoginProjectId
|
||||||
orderby y.Months descending
|
orderby y.Months descending
|
||||||
@@ -245,90 +246,96 @@ namespace FineUIPro.Web.common
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void getSitePerson()
|
private void getSitePerson()
|
||||||
{
|
{
|
||||||
int AllCount = 0;
|
try
|
||||||
int MCount = 0;
|
|
||||||
//var getallin = APIPageDataService.getPersonInOutNum(this.ProjectId, DateTime.Now.AddDays(-1));
|
|
||||||
DateTime dateValue = DateTime.Now.AddDays(-1);
|
|
||||||
List<Model.PageDataPersonInOutItem> getallin = new List<Model.PageDataPersonInOutItem>();
|
|
||||||
var getInMaxs = from x in Funs.DB.SitePerson_Person
|
|
||||||
join y in Funs.DB.Base_WorkPost on x.WorkPostId equals y.WorkPostId
|
|
||||||
where x.ProjectId == this.CurrUser.LoginProjectId && x.IsUsed == true
|
|
||||||
select new Model.PageDataPersonInOutItem
|
|
||||||
{
|
|
||||||
PersonId = x.PersonId,
|
|
||||||
PostType = y.PostType,
|
|
||||||
WorkPostId = x.WorkPostId,
|
|
||||||
IdentityCard = x.IdentityCard
|
|
||||||
|
|
||||||
};
|
|
||||||
if (getInMaxs.Count() > 0)
|
|
||||||
{
|
|
||||||
getallin = getInMaxs.Distinct().ToList();
|
|
||||||
}
|
|
||||||
var AllInOut = (from x in Funs.DB.T_d_EmployInOutRecord
|
|
||||||
join y in Funs.DB.SitePerson_Person on new { ss1 = x.ProjectId, ss = x.IDCardNo } equals new { ss1 = y.ProjectId, ss = y.IdentityCard }
|
|
||||||
where y.ProjectId == this.CurrUser.LoginProjectId && y.IsUsed == true && x.ProjectId == this.CurrUser.LoginProjectId && x.RecordDate.Value == DateTime.Now.Date
|
|
||||||
select x.IDCardNo).Distinct();
|
|
||||||
AllCount = AllInOut.Count();
|
|
||||||
if (AllCount > 0)
|
|
||||||
{
|
{
|
||||||
|
int AllCount = 0;
|
||||||
|
int MCount = 0;
|
||||||
|
//var getallin = APIPageDataService.getPersonInOutNum(this.ProjectId, DateTime.Now.AddDays(-1));
|
||||||
|
DateTime dateValue = DateTime.Now.AddDays(-1);
|
||||||
|
List<Model.PageDataPersonInOutItem> getallin = new List<Model.PageDataPersonInOutItem>();
|
||||||
|
var getInMaxs = from x in Funs.DB.SitePerson_Person
|
||||||
|
join y in Funs.DB.Base_WorkPost on x.WorkPostId equals y.WorkPostId
|
||||||
|
where x.ProjectId == this.CurrUser.LoginProjectId && x.IsUsed == true
|
||||||
|
select new Model.PageDataPersonInOutItem
|
||||||
|
{
|
||||||
|
PersonId = x.PersonId,
|
||||||
|
PostType = y.PostType,
|
||||||
|
WorkPostId = x.WorkPostId,
|
||||||
|
IdentityCard = x.IdentityCard
|
||||||
|
|
||||||
HashSet<string> idCardNoSet = new HashSet<string>();
|
};
|
||||||
foreach (string idCardNo in AllInOut)
|
if (getInMaxs.Count() > 0)
|
||||||
{
|
{
|
||||||
idCardNoSet.Add(idCardNo);
|
getallin = getInMaxs.Distinct().ToList();
|
||||||
}
|
}
|
||||||
foreach (var i in getallin)
|
var AllInOut = (from x in Funs.DB.T_d_EmployInOutRecord
|
||||||
|
join y in Funs.DB.SitePerson_Person on new { ss1 = x.ProjectId, ss = x.IDCardNo } equals new { ss1 = y.ProjectId, ss = y.IdentityCard }
|
||||||
|
where y.ProjectId == this.CurrUser.LoginProjectId && y.IsUsed == true && x.ProjectId == this.CurrUser.LoginProjectId && x.RecordDate.Value == DateTime.Now.Date
|
||||||
|
select x.IDCardNo).Distinct();
|
||||||
|
AllCount = AllInOut.Count();
|
||||||
|
if (AllCount > 0)
|
||||||
{
|
{
|
||||||
if (i.PostType == Const.PostType_1 && idCardNoSet.Contains(i.IdentityCard))
|
|
||||||
|
HashSet<string> idCardNoSet = new HashSet<string>();
|
||||||
|
foreach (string idCardNo in AllInOut)
|
||||||
{
|
{
|
||||||
MCount++;
|
idCardNoSet.Add(idCardNo);
|
||||||
}
|
}
|
||||||
}
|
foreach (var i in getallin)
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
WorkPostS = "[]";
|
|
||||||
InPostCounts = "[]";
|
|
||||||
InDutyCounts = "[]";
|
|
||||||
List<int> InPostCountList = new List<int>();
|
|
||||||
List<int> InDutyCountList = new List<int>();
|
|
||||||
List<string> worksList = new List<string>();
|
|
||||||
//if (this.CurrUser.UserId != Const.hfnbdId)
|
|
||||||
//{
|
|
||||||
var getPersons = Funs.DB.SitePerson_Person.Where(x => x.ProjectId == this.ProjectId && x.IsUsed == true && x.InTime <= DateTime.Now
|
|
||||||
&& !x.OutTime.HasValue);
|
|
||||||
if (getPersons.Count() > 0)
|
|
||||||
{
|
|
||||||
var getWorkIds = getPersons.Where(x => x.WorkPostId != null).Select(x => x.WorkPostId).Distinct();
|
|
||||||
if (getWorkIds.Count() > 0)
|
|
||||||
{
|
|
||||||
foreach (var item in getWorkIds)
|
|
||||||
{
|
{
|
||||||
worksList.Add(WorkPostService.getWorkPostNameById(item));
|
if (i.PostType == Const.PostType_1 && idCardNoSet.Contains(i.IdentityCard))
|
||||||
int isPost = getPersons.Where(x => x.WorkPostId == item).Count();
|
|
||||||
InPostCountList.Add(isPost);
|
|
||||||
int inDuty = 0;
|
|
||||||
if (getallin.Count() > 0)
|
|
||||||
{
|
{
|
||||||
inDuty = getallin.Where(x => x.WorkPostId == item).Count();
|
MCount++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
WorkPostS = "[]";
|
||||||
|
InPostCounts = "[]";
|
||||||
|
InDutyCounts = "[]";
|
||||||
|
List<int> InPostCountList = new List<int>();
|
||||||
|
List<int> InDutyCountList = new List<int>();
|
||||||
|
List<string> worksList = new List<string>();
|
||||||
|
//if (this.CurrUser.UserId != Const.hfnbdId)
|
||||||
|
//{
|
||||||
|
var getPersons = Funs.DB.SitePerson_Person.Where(x => x.ProjectId == this.ProjectId && x.IsUsed == true && x.InTime <= DateTime.Now
|
||||||
|
&& !x.OutTime.HasValue);
|
||||||
|
if (getPersons.Count() > 0)
|
||||||
|
{
|
||||||
|
var getWorkIds = getPersons.Where(x => x.WorkPostId != null).Select(x => x.WorkPostId).Distinct();
|
||||||
|
if (getWorkIds.Count() > 0)
|
||||||
|
{
|
||||||
|
foreach (var item in getWorkIds)
|
||||||
|
{
|
||||||
|
worksList.Add(WorkPostService.getWorkPostNameById(item));
|
||||||
|
int isPost = getPersons.Where(x => x.WorkPostId == item).Count();
|
||||||
|
InPostCountList.Add(isPost);
|
||||||
|
int inDuty = 0;
|
||||||
|
if (getallin.Count() > 0)
|
||||||
|
{
|
||||||
|
inDuty = getallin.Where(x => x.WorkPostId == item).Count();
|
||||||
|
}
|
||||||
|
InDutyCountList.Add(inDuty);
|
||||||
}
|
}
|
||||||
InDutyCountList.Add(inDuty);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
else
|
||||||
else
|
{
|
||||||
{
|
worksList.Add(" ");
|
||||||
worksList.Add(" ");
|
InPostCountList.Add(0);
|
||||||
InPostCountList.Add(0);
|
InDutyCountList.Add(0);
|
||||||
InDutyCountList.Add(0);
|
}
|
||||||
}
|
//}
|
||||||
//}
|
|
||||||
|
|
||||||
WorkPostS = JsonConvert.SerializeObject(worksList);
|
WorkPostS = JsonConvert.SerializeObject(worksList);
|
||||||
InPostCounts = JsonConvert.SerializeObject(InPostCountList);
|
InPostCounts = JsonConvert.SerializeObject(InPostCountList);
|
||||||
InDutyCounts = JsonConvert.SerializeObject(InDutyCountList);
|
InDutyCounts = JsonConvert.SerializeObject(InDutyCountList);
|
||||||
|
} catch (Exception ex)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|||||||
@@ -191,7 +191,8 @@ body::-webkit-scrollbar{
|
|||||||
|
|
||||||
.t-aqtj{
|
.t-aqtj{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 2.625rem;
|
height: 2.3rem;
|
||||||
|
margin-bottom: .25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.t-xcsp {
|
.t-xcsp {
|
||||||
|
|||||||
+27112
-45
File diff suppressed because it is too large
Load Diff
+5
-2
@@ -1,9 +1,12 @@
|
|||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
# Visual Studio 15
|
# Visual Studio Version 17
|
||||||
VisualStudioVersion = 15.0.35213.121
|
VisualStudioVersion = 17.9.34701.34
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FineUIPro.Web", "FineUIPro.Web\FineUIPro.Web.csproj", "{C88D3156-2D56-4DB0-922E-1995FB61C9BD}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FineUIPro.Web", "FineUIPro.Web\FineUIPro.Web.csproj", "{C88D3156-2D56-4DB0-922E-1995FB61C9BD}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{B3F63538-AB8A-45C6-B572-ACA5426DB0DE} = {B3F63538-AB8A-45C6-B572-ACA5426DB0DE}
|
||||||
|
EndProjectSection
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BLL", "BLL\BLL.csproj", "{BBC7282A-9E2B-4BD6-9C6D-333CEFC6F332}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BLL", "BLL\BLL.csproj", "{BBC7282A-9E2B-4BD6-9C6D-333CEFC6F332}"
|
||||||
EndProject
|
EndProject
|
||||||
|
|||||||
@@ -4,18 +4,62 @@ using System.Collections.Generic;
|
|||||||
using System;
|
using System;
|
||||||
using BLL;
|
using BLL;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using static WebAPI.Controllers.HSSE.ImageRecognitionController;
|
||||||
|
|
||||||
namespace Mvc.Controllers
|
namespace Mvc.Controllers
|
||||||
{
|
{
|
||||||
public class CheckListController : ApiController
|
public class CheckListController : ApiController
|
||||||
{
|
{
|
||||||
|
#region 根据项目日期获取巡检记录
|
||||||
|
[HttpGet]
|
||||||
|
public Model.ResponeData GetCheckList(string projectId, string checkDate)
|
||||||
|
{
|
||||||
|
var responeData = new Model.ResponeData();
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
DateTime mdate = Funs.GetNewDateTimeOrNow(checkDate);
|
||||||
|
var list = Funs.DB.Check_CheckControl.Where(q => q.CheckDate.Value.Year == mdate.Year
|
||||||
|
&& q.CheckDate.Value.Month == mdate.Month
|
||||||
|
&& q.CheckDate.Value.Day == mdate.Day);
|
||||||
|
if(string.IsNullOrEmpty(projectId)&& projectId!=null)
|
||||||
|
{
|
||||||
|
list = list.Where(p=>p.ProjectId == projectId);
|
||||||
|
}
|
||||||
|
responeData.data = list.OrderBy(x=>x.CheckDate).ToList().Select(x => new
|
||||||
|
{
|
||||||
|
CheckControlCode = x.CheckControlCode, // ID
|
||||||
|
DocCode = x.DocCode, // 编号
|
||||||
|
ProjectId = x.ProjectId, // 项目ID
|
||||||
|
ProjectName = Funs.DB.Base_Project.FirstOrDefault(p => p.ProjectId == x.ProjectId).ProjectName,
|
||||||
|
CheckMan = x.CheckMan, // 巡检人ID
|
||||||
|
CheckManName = (from y in Funs.DB.Sys_User where y.UserId == x.CheckMan select y.UserName).First(),// 巡检人
|
||||||
|
CheckDate = String.Format("{0:yyyy-MM-dd}", x.CheckDate), // 巡检日期
|
||||||
|
QuestionType = x.QuestionType, // 问题类型
|
||||||
|
QuestionTypeName = Funs.DB.Base_QualityQuestionType.FirstOrDefault(e => e.QualityQuestionTypeId == x.QuestionType).QualityQuestionType,
|
||||||
|
States = x.State,
|
||||||
|
LimitDate = String.Format("{0:yyyy-MM-dd}", x.LimitDate),
|
||||||
|
QuestionDef = x.QuestionDef,
|
||||||
|
}); ;
|
||||||
|
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
responeData.code = 0;
|
||||||
|
responeData.message = ex.Message;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
return responeData;
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
//
|
//
|
||||||
// 质量巡检
|
// 质量巡检
|
||||||
// GET: /Draw/
|
// GET: /Draw/
|
||||||
[HttpGet]
|
[HttpGet]
|
||||||
public ResponseData<List<Check_CheckControl>> Index(string projectId, int index, int page, string state, string name)
|
public ResponseData<object> Index(string projectId, int index, int page, string state, string name)
|
||||||
{
|
{
|
||||||
ResponseData<List<Check_CheckControl>> res = new ResponseData<List<Check_CheckControl>>();
|
ResponseData<object> res = new ResponseData<object>();
|
||||||
try
|
try
|
||||||
{res.successful = true;
|
{res.successful = true;
|
||||||
res.resultValue = BLL.CheckControlService.GetListDataForApi(state, name, projectId, index, page);
|
res.resultValue = BLL.CheckControlService.GetListDataForApi(state, name, projectId, index, page);
|
||||||
@@ -30,6 +74,20 @@ namespace Mvc.Controllers
|
|||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 根据code获取详情
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="CheckControlCode"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public ResponseData<object> GetCheckControl(string code)
|
||||||
|
{
|
||||||
|
ResponseData<object> res = new ResponseData<object>();
|
||||||
|
object checkControl = BLL.CheckControlService.GetCheckControlForApi(code);
|
||||||
|
res.successful = true;
|
||||||
|
res.resultValue = checkControl;
|
||||||
|
return res;
|
||||||
|
}
|
||||||
|
|
||||||
[HttpGet]
|
[HttpGet]
|
||||||
public ResponseData<string> Conut(string projectId, string searchWord, string unitId = null, string unitWork = null, string problemType = null, string professional = null, string dateA = null, string dateZ = null)
|
public ResponseData<string> Conut(string projectId, string searchWord, string unitId = null, string unitWork = null, string problemType = null, string professional = null, string dateA = null, string dateZ = null)
|
||||||
{
|
{
|
||||||
@@ -48,19 +106,7 @@ namespace Mvc.Controllers
|
|||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 根据code获取详情
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="CheckControlCode"></param>
|
|
||||||
/// <returns></returns>
|
|
||||||
public ResponseData<Check_CheckControl> GetCheckControl(string code)
|
|
||||||
{
|
|
||||||
ResponseData<Check_CheckControl> res = new ResponseData<Check_CheckControl>();
|
|
||||||
Check_CheckControl checkControl = BLL.CheckControlService.GetCheckControlForApi(code);
|
|
||||||
res.successful = true;
|
|
||||||
res.resultValue = BeanUtil.CopyOjbect<Check_CheckControl>(checkControl, true);
|
|
||||||
return res;
|
|
||||||
}
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 根据code获取 审核记录
|
/// 根据code获取 审核记录
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -92,24 +138,15 @@ namespace Mvc.Controllers
|
|||||||
{
|
{
|
||||||
if (string.IsNullOrEmpty(CheckControl.DocCode))
|
if (string.IsNullOrEmpty(CheckControl.DocCode))
|
||||||
{
|
{
|
||||||
string prefix = BLL.ProjectService.GetProjectByProjectId(CheckControl.ProjectId).ProjectCode + "-QC-TCC-XJ-";
|
CheckControl.DocCode = BLL.SQLHelper.RunProcNewId("SpGetNewCode5ByProjectId", "dbo.Check_CheckControl", "DocCode",CheckControl.ProjectId, "QXJ-");
|
||||||
CheckControl.DocCode = BLL.SQLHelper.RunProcNewId("SpGetNewCode5ByProjectId", "dbo.Check_CheckControl", "DocCode",CheckControl.ProjectId, prefix);
|
|
||||||
}
|
}
|
||||||
CheckControl.CheckControlCode = Guid.NewGuid().ToString();
|
CheckControl.CheckControlCode = Guid.NewGuid().ToString();
|
||||||
BLL.CheckControlService.AddCheckControlForApi(CheckControl);
|
BLL.CheckControlService.AddCheckControlForApi(CheckControl);
|
||||||
//BLL.AttachFileService.updateAttachFile(CheckControl.ReAttachUrl, CheckControl.CheckControlCode+"r", Const.CheckListMenuId);
|
|
||||||
//BLL.AttachFileService.updateAttachFile(CheckControl.AttachUrl, CheckControl.CheckControlCode, Const.CheckListMenuId);
|
|
||||||
SaveAttachFile(CheckControl.CheckControlCode + "r", BLL.Const.CheckListMenuId, CheckControl.ReAttachUrl);
|
|
||||||
SaveAttachFile(CheckControl.CheckControlCode, BLL.Const.CheckListMenuId, CheckControl.AttachUrl);
|
|
||||||
res.resultValue = CheckControl.CheckControlCode;
|
res.resultValue = CheckControl.CheckControlCode;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
BLL.CheckControlService.UpdateCheckControlForApi(CheckControl);
|
BLL.CheckControlService.UpdateCheckControlForApi(CheckControl);
|
||||||
//BLL.AttachFileService.updateAttachFile(CheckControl.ReAttachUrl, CheckControl.CheckControlCode + "r", Const.CheckListMenuId);
|
|
||||||
//BLL.AttachFileService.updateAttachFile(CheckControl.AttachUrl, CheckControl.CheckControlCode, Const.CheckListMenuId);
|
|
||||||
SaveAttachFile(CheckControl.CheckControlCode + "r", BLL.Const.CheckListMenuId, CheckControl.ReAttachUrl);
|
|
||||||
SaveAttachFile(CheckControl.CheckControlCode, BLL.Const.CheckListMenuId, CheckControl.AttachUrl);
|
|
||||||
res.resultValue = CheckControl.CheckControlCode;
|
res.resultValue = CheckControl.CheckControlCode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -25,12 +25,12 @@ namespace Mvc.Controllers
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
|
|
||||||
[HttpGet]
|
[HttpGet]
|
||||||
public ResponseData<List<dynamic>> GetGroupProjectName(int ProjectQualityType)
|
public ResponseData<List<dynamic>> GetGroupProjectName(string Keyword, int PageNumber = 1, int PageSize=15 )
|
||||||
{
|
{
|
||||||
ResponseData<List<dynamic>> res = new ResponseData<List<dynamic>>();
|
ResponseData<List<dynamic>> res = new ResponseData<List<dynamic>>();
|
||||||
|
|
||||||
res.successful = true;
|
res.successful = true;
|
||||||
res.resultValue = BLL.ProjectQualityService.GetGroupProjectName(ProjectQualityType);
|
res.resultValue = BLL.ProjectQualityService.GetGroupProjectName( PageNumber, PageSize, Keyword);
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -41,11 +41,11 @@ namespace Mvc.Controllers
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
|
|
||||||
[HttpGet]
|
[HttpGet]
|
||||||
public ResponseData<List<dynamic>> GetGroupProjectQualityDes(string projectName)
|
public ResponseData<List<dynamic>> GetGroupProjectQualityDes(string projectName, string keyword = "")
|
||||||
{
|
{
|
||||||
ResponseData<List<dynamic>> res = new ResponseData<List<dynamic>>();
|
ResponseData<List<dynamic>> res = new ResponseData<List<dynamic>>();
|
||||||
res.successful = true;
|
res.successful = true;
|
||||||
res.resultValue = BLL.ProjectQualityService.GetGroupProjectQualityDes(projectName);
|
res.resultValue = BLL.ProjectQualityService.GetGroupProjectQualityDes(projectName, keyword);
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ namespace WebAPI.Controllers.HSSE
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
var query = (from x in Funs.DB.Technique_Rectify
|
var query = (from x in Funs.DB.Technique_Rectify
|
||||||
|
where x.IsEndLever == true
|
||||||
select new
|
select new
|
||||||
{
|
{
|
||||||
x.RectifyId,
|
x.RectifyId,
|
||||||
|
|||||||
@@ -62,12 +62,12 @@ namespace WebAPI.Controllers.HSSE
|
|||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region 获取专检主项列表
|
#region 获取专检主项列表
|
||||||
public Model.ResponeData getInspectionList(string ProjectId, string States, int PageNumber, int PageSize)
|
public Model.ResponeData getInspectionList(string ProjectId, string States, int PageNumber, int PageSize, string type = "1")
|
||||||
{
|
{
|
||||||
var responeData = new Model.ResponeData();
|
var responeData = new Model.ResponeData();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
responeData.data = Inspect_InspectionService.GetInspectionList(ProjectId, States, PageNumber, PageSize);
|
responeData.data = Inspect_InspectionService.GetInspectionList(ProjectId, type, States, PageNumber, PageSize);
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
@@ -122,7 +122,7 @@ namespace WebAPI.Controllers.HSSE
|
|||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region 根据项目和检查日期获取专检 (公司级查询)
|
#region 根据项目和检查日期获取专检 (公司级查询)
|
||||||
public Model.ResponeData getInspectionByProjectIdAndCheckDate(string projectId, string checkDate)
|
public Model.ResponeData getInspectionByProjectIdAndCheckDate(string projectId, string checkDate, string type)
|
||||||
{
|
{
|
||||||
var responeData = new Model.ResponeData();
|
var responeData = new Model.ResponeData();
|
||||||
try
|
try
|
||||||
@@ -130,6 +130,7 @@ namespace WebAPI.Controllers.HSSE
|
|||||||
DateTime mdate = Funs.GetNewDateTimeOrNow(checkDate);
|
DateTime mdate = Funs.GetNewDateTimeOrNow(checkDate);
|
||||||
|
|
||||||
var getDataLists = (from x in Funs.DB.Inspect_Inspection
|
var getDataLists = (from x in Funs.DB.Inspect_Inspection
|
||||||
|
where x.InspectType == type
|
||||||
select new InspectionDto
|
select new InspectionDto
|
||||||
{
|
{
|
||||||
InspectionId = x.InspectionId,
|
InspectionId = x.InspectionId,
|
||||||
@@ -151,9 +152,9 @@ namespace WebAPI.Controllers.HSSE
|
|||||||
where a.InspectionId == x.InspectionId
|
where a.InspectionId == x.InspectionId
|
||||||
select a).Count().ToString(),
|
select a).Count().ToString(),
|
||||||
});
|
});
|
||||||
if (!string.IsNullOrEmpty(projectId))
|
if (!string.IsNullOrEmpty(projectId)&&projectId!=null)
|
||||||
{
|
{
|
||||||
getDataLists = getDataLists.Where(q => q.ProjectId == projectId&&q.InspectType == "1");
|
getDataLists = getDataLists.Where(q => q.ProjectId == projectId);
|
||||||
}
|
}
|
||||||
|
|
||||||
getDataLists = getDataLists.Where(q => q.CreateTime.Value.Year == mdate.Year
|
getDataLists = getDataLists.Where(q => q.CreateTime.Value.Year == mdate.Year
|
||||||
|
|||||||
Reference in New Issue
Block a user