20240410 开车会议管理

This commit is contained in:
2024-04-10 14:37:59 +08:00
parent 00a325ba3a
commit 9bb7f02b83
135 changed files with 5027 additions and 552 deletions
@@ -0,0 +1,32 @@
update Sys_Menu set IsUsed=0 where MenuId='6549EF60-1DED-4912-8D2D-7B32A80A2DEC'--视频会议
go
update Sys_Menu set MenuName='项目开车总结' where MenuId='ECDC614F-6239-44D2-9523-6A25D42C6A45'
go
update Sys_Menu set MenuName='开车完工报告',SortIndex=30 where MenuId='AA88BD56-E0B4-4B9C-9238-3F48EA59C50A'
go
insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
values('D215165B-95BA-4298-9736-B7A20F27B5D1','专项总结','TestRun/DriverSummary/SpecialSummary.aspx',10,'ECDC614F-6239-44D2-9523-6A25D42C6A45','Menu_TestRun',0,1,1)
go
insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
values('5ED79CA3-F5C5-4987-85CD-F0797FA4D5C8','D215165B-95BA-4298-9736-B7A20F27B5D1','增加',1)
insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
values('9C985452-F943-42B5-AC58-FE5DDDB91831','D215165B-95BA-4298-9736-B7A20F27B5D1','修改',2)
insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
values('8A359D94-434A-4275-935F-796C464711FC','D215165B-95BA-4298-9736-B7A20F27B5D1','删除',3)
insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
values('69A30098-93DE-45DE-B982-82362ABD0BEF','D215165B-95BA-4298-9736-B7A20F27B5D1','保存',4)
go
insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
values('9EBA628D-E725-4A0B-B765-171F405D0821','完工后个人总结','TestRun/DriverSummary/PersonalSummary.aspx',20,'ECDC614F-6239-44D2-9523-6A25D42C6A45','Menu_TestRun',0,1,1)
go
insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
values('FF57ECA6-DB21-48A1-8F14-7AAD7F698C13','9EBA628D-E725-4A0B-B765-171F405D0821','增加',1)
insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
values('A0B04474-8F27-4DE2-9471-444163B04E8E','9EBA628D-E725-4A0B-B765-171F405D0821','修改',2)
insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
values('F3D17AC8-F40C-4E9B-9F11-34E4820E5095','9EBA628D-E725-4A0B-B765-171F405D0821','删除',3)
insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
values('CCAFE438-A71E-41D9-A727-AC5A5C92D2A8','9EBA628D-E725-4A0B-B765-171F405D0821','保存',4)
go
+1
View File
@@ -773,6 +773,7 @@
<Compile Include="TestRun\DriverSummary\DriverSummaryService.cs" />
<Compile Include="TestRun\FeedingTestRunService.cs" />
<Compile Include="TestRun\Meeting\MeetingItemService.cs" />
<Compile Include="TestRun\Meeting\MeetingMinutesService.cs" />
<Compile Include="TestRun\Meeting\MeetingService.cs" />
<Compile Include="TestRun\PersonTrain\DriverPrepareTrainPlanService.cs" />
<Compile Include="TestRun\PersonTrain\PersonTrainPlanService.cs" />
+11 -1
View File
@@ -5518,10 +5518,20 @@ namespace BLL
public const string MonthSummaryMenuId = "9B32C4BF-62E9-4561-8632-97AC0F581701";
/// <summary>
/// 项目完工总结
/// 开车完工总结
/// </summary>
public const string CompleteSummaryMenuId = "AA88BD56-E0B4-4B9C-9238-3F48EA59C50A";
/// <summary>
/// 专项总结
/// </summary>
public const string SpecialSummaryMenuId = "D215165B-95BA-4298-9736-B7A20F27B5D1";
/// <summary>
/// 完工后个人总结
/// </summary>
public const string PersonalSummaryMenuId = "9EBA628D-E725-4A0B-B765-171F405D0821";
#endregion
#region
@@ -18,6 +18,15 @@ namespace BLL
return Funs.DB.Driver_DriverSummary.FirstOrDefault(e => e.DriverSummaryId == driverSummaryId);
}
/// <summary>
/// 获取总结列表
/// </summary>
/// <returns></returns>
public static List<Model.Driver_DriverSummary> GetSummaryList(string projectId, string summaryType)
{
return (from x in Funs.DB.Driver_DriverSummary where x.ProjectId == projectId && x.SummaryType == summaryType select x).ToList();
}
/// <summary>
/// 添加总结
/// </summary>
@@ -0,0 +1,77 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BLL
{
/// <summary>
/// 会议纪要
/// </summary>
public class MeetingMinutesService
{
/// <summary>
/// 根据主键获取会议纪要
/// </summary>
/// <param name="meetingMinutesId"></param>
/// <returns></returns>
public static Model.Driver_MeetingMinutes GetMinutesById(string meetingMinutesId)
{
return Funs.DB.Driver_MeetingMinutes.FirstOrDefault(e => e.MeetingMinutesId == meetingMinutesId);
}
/// <summary>
/// 添加会议纪要
/// </summary>
/// <param name="meetingMinutes"></param>
public static void AddMeetingMinutes(Model.Driver_MeetingMinutes meetingMinutes)
{
Model.Driver_MeetingMinutes newMeetingMinutes = new Model.Driver_MeetingMinutes
{
MeetingMinutesId = meetingMinutes.MeetingMinutesId,
ProjectId = meetingMinutes.ProjectId,
MinutesCode = meetingMinutes.MinutesCode,
MeetingType = meetingMinutes.MeetingType,
CompileMan = meetingMinutes.CompileMan,
CompileDate = meetingMinutes.CompileDate,
Statues = meetingMinutes.Statues
};
Funs.DB.Driver_MeetingMinutes.InsertOnSubmit(newMeetingMinutes);
Funs.DB.SubmitChanges();
}
/// <summary>
/// 修改会议纪要
/// </summary>
/// <param name="meetingMinutes"></param>
public static void UpdateMeetingMinutes(Model.Driver_MeetingMinutes meetingMinutes)
{
Model.Driver_MeetingMinutes newMeetingMinutes = Funs.DB.Driver_MeetingMinutes.FirstOrDefault(e => e.MeetingMinutesId == meetingMinutes.MeetingMinutesId);
if (newMeetingMinutes != null)
{
newMeetingMinutes.ProjectId = meetingMinutes.ProjectId;
newMeetingMinutes.MinutesCode = meetingMinutes.MinutesCode;
newMeetingMinutes.MeetingType = meetingMinutes.MeetingType;
newMeetingMinutes.CompileMan = meetingMinutes.CompileMan;
newMeetingMinutes.CompileDate = meetingMinutes.CompileDate;
newMeetingMinutes.Statues = meetingMinutes.Statues;
Funs.DB.SubmitChanges();
}
}
/// <summary>
/// 根据主键删除会议纪要
/// </summary>
/// <param name="meetingMinutesId"></param>
public static void DeleteMeetingMinutesById(string meetingMinutesId)
{
Model.Driver_MeetingMinutes newMeetingMinutes = Funs.DB.Driver_MeetingMinutes.FirstOrDefault(e => e.MeetingMinutesId == meetingMinutesId);
if (newMeetingMinutes != null)
{
Funs.DB.Driver_MeetingMinutes.DeleteOnSubmit(newMeetingMinutes);
Funs.DB.SubmitChanges();
}
}
}
}
@@ -134,6 +134,12 @@ namespace FineUIPro.Web.AttachFile
//Request.QueryString["type"]; ////类型:0时是上传资源页面,附件权限不需要判断 -1时只查看权限 -2查看集团公司
this.GetButtonPower();
this.BindGrid();
//用于开车总结签字版附件,不可编辑
if (Request.QueryString["strParam"] == "2" && (this.MenuId == BLL.Const.SpecialSummaryMenuId || this.MenuId == BLL.Const.PersonalSummaryMenuId || this.MenuId == BLL.Const.CompleteSummaryMenuId))
{
btnOnlineEdit.Hidden = true;
}
}
else
{
@@ -61,6 +61,12 @@
<f:RenderField ColumnID="Contents" DataField="Contents" FieldType="String" HeaderText="主要内容" TextAlign="Left"
HeaderTextAlign="Center" Width="280px">
</f:RenderField>
<f:RenderField ColumnID="Problem" DataField="Problem" FieldType="String" HeaderText="问题类别" TextAlign="Left"
HeaderTextAlign="Center" Width="280px">
</f:RenderField>
<f:RenderField ColumnID="Measure" DataField="Measure" FieldType="String" HeaderText="改进措施" TextAlign="Left"
HeaderTextAlign="Center" Width="280px">
</f:RenderField>
<f:RenderField ColumnID="IssuedDate" DataField="IssuedDate" FieldType="Date" Renderer="Date" HeaderText="下发日期" TextAlign="Center"
HeaderTextAlign="Center" Width="130px">
</f:RenderField>
@@ -28,7 +28,7 @@ namespace FineUIPro.Web.Comprehensive
}
public void BindGrid()
{
string strSql = @"select NCRManagementId, ProjectId, SendUnit, NCRCode, Contents, IssuedDate, ReceiveUnit,Status,
string strSql = @"select NCRManagementId, ProjectId, SendUnit, NCRCode, Contents,Problem,Measure,IssuedDate, ReceiveUnit,Status,
ClosedDate, CompleteDate, ResponsibleMan, AttachUrl, ImplementationFrontState,
CompileMan, UnitWorkId,CN.ProfessionalName,C.CNProfessionalId,u.UnitName
from Comprehensive_NCRManagement C
@@ -83,8 +83,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
{
this.ddlProblem.SelectedValue = nCRManagement.Problem;
}
this.txtMeasure.Text = nCRManagement.Measure;
this.txtMeasure.Text = nCRManagement.Measure;
this.txtResponsibleMan.Text = nCRManagement.ResponsibleMan;
this.txtImplementationFrontState.Text = nCRManagement.ImplementationFrontState;
-330
View File
@@ -1,330 +0,0 @@
错误信息开始=====>
错误类型:ArgumentException
错误信息:提供的 URI 方案“http”无效,应为“https”。
参数名: via
错误堆栈:
在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
在 System.ServiceModel.ClientBase`1.get_Channel()
在 BLL.CNCECHSSEService.HSSEServiceClient.GetSupervise_SubUnitReportListToSUB() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14204
在 BLL.CNCECHSSEWebService.getSupervise_SubUnitReport() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2181
出错时间:04/03/2024 17:51:45
出错时间:04/03/2024 17:51:46
错误信息开始=====>
错误类型:ArgumentException
错误信息:提供的 URI 方案“http”无效,应为“https”。
参数名: via
错误堆栈:
在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
在 System.ServiceModel.ClientBase`1.get_Channel()
在 BLL.CNCECHSSEService.HSSEServiceClient.GetCheck_CheckInfo_Table8ItemListToSUB(String unitId) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14228
在 BLL.CNCECHSSEWebService.getCheck_CheckInfo_Table8Item() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2046
出错时间:04/03/2024 17:51:46
出错时间:04/03/2024 17:51:46
错误信息开始=====>
错误类型:ArgumentException
错误信息:提供的 URI 方案“http”无效,应为“https”。
参数名: via
错误堆栈:
在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
在 System.ServiceModel.ClientBase`1.get_Channel()
在 BLL.CNCECHSSEService.HSSEServiceClient.GetCheck_CheckRectifyListToSUB(String unitId) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14220
在 BLL.CNCECHSSEWebService.getCheck_CheckRectify() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1942
出错时间:04/03/2024 17:51:46
出错时间:04/03/2024 17:51:46
错误信息开始=====>
错误类型:ArgumentException
错误信息:提供的 URI 方案“http”无效,应为“https”。
参数名: via
错误堆栈:
在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
在 System.ServiceModel.ClientBase`1.get_Channel()
在 BLL.CNCECHSSEService.HSSEServiceClient.GetInformation_UrgeReportToSUB(String unitId) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14020
在 BLL.CNCECHSSEWebService.getInformation_UrgeReport() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1884
出错时间:04/03/2024 17:51:46
出错时间:04/03/2024 17:51:46
错误信息开始=====>
错误类型:ArgumentException
错误信息:提供的 URI 方案“http”无效,应为“https”。
参数名: via
错误堆栈:
在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
在 System.ServiceModel.ClientBase`1.get_Channel()
在 BLL.CNCECHSSEService.HSSEServiceClient.GetSupervise_SubUnitReportListToSUB() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14204
在 BLL.CNCECHSSEWebService.getSupervise_SubUnitReport() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2181
出错时间:04/03/2024 19:51:41
出错时间:04/03/2024 19:51:41
错误信息开始=====>
错误类型:ArgumentException
错误信息:提供的 URI 方案“http”无效,应为“https”。
参数名: via
错误堆栈:
在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
在 System.ServiceModel.ClientBase`1.get_Channel()
在 BLL.CNCECHSSEService.HSSEServiceClient.GetCheck_CheckInfo_Table8ItemListToSUB(String unitId) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14228
在 BLL.CNCECHSSEWebService.getCheck_CheckInfo_Table8Item() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2046
出错时间:04/03/2024 19:51:41
出错时间:04/03/2024 19:51:41
错误信息开始=====>
错误类型:ArgumentException
错误信息:提供的 URI 方案“http”无效,应为“https”。
参数名: via
错误堆栈:
在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
在 System.ServiceModel.ClientBase`1.get_Channel()
在 BLL.CNCECHSSEService.HSSEServiceClient.GetCheck_CheckRectifyListToSUB(String unitId) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14220
在 BLL.CNCECHSSEWebService.getCheck_CheckRectify() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1942
出错时间:04/03/2024 19:51:42
出错时间:04/03/2024 19:51:42
错误信息开始=====>
错误类型:ArgumentException
错误信息:提供的 URI 方案“http”无效,应为“https”。
参数名: via
错误堆栈:
在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
在 System.ServiceModel.ClientBase`1.get_Channel()
在 BLL.CNCECHSSEService.HSSEServiceClient.GetInformation_UrgeReportToSUB(String unitId) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14020
在 BLL.CNCECHSSEWebService.getInformation_UrgeReport() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1884
出错时间:04/03/2024 19:51:42
出错时间:04/03/2024 19:51:42
错误信息开始=====>
错误类型:ArgumentException
错误信息:提供的 URI 方案“http”无效,应为“https”。
参数名: via
错误堆栈:
在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
在 System.ServiceModel.ClientBase`1.get_Channel()
在 BLL.CNCECHSSEService.HSSEServiceClient.GetSupervise_SubUnitReportListToSUB() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14204
在 BLL.CNCECHSSEWebService.getSupervise_SubUnitReport() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2181
出错时间:04/03/2024 21:51:41
出错时间:04/03/2024 21:51:42
错误信息开始=====>
错误类型:ArgumentException
错误信息:提供的 URI 方案“http”无效,应为“https”。
参数名: via
错误堆栈:
在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
在 System.ServiceModel.ClientBase`1.get_Channel()
在 BLL.CNCECHSSEService.HSSEServiceClient.GetCheck_CheckInfo_Table8ItemListToSUB(String unitId) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14228
在 BLL.CNCECHSSEWebService.getCheck_CheckInfo_Table8Item() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2046
出错时间:04/03/2024 21:51:42
出错时间:04/03/2024 21:51:42
错误信息开始=====>
错误类型:ArgumentException
错误信息:提供的 URI 方案“http”无效,应为“https”。
参数名: via
错误堆栈:
在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
在 System.ServiceModel.ClientBase`1.get_Channel()
在 BLL.CNCECHSSEService.HSSEServiceClient.GetCheck_CheckRectifyListToSUB(String unitId) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14220
在 BLL.CNCECHSSEWebService.getCheck_CheckRectify() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1942
出错时间:04/03/2024 21:51:42
出错时间:04/03/2024 21:51:42
错误信息开始=====>
错误类型:ArgumentException
错误信息:提供的 URI 方案“http”无效,应为“https”。
参数名: via
错误堆栈:
在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
在 System.ServiceModel.ChannelFactory`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannel()
在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
在 System.ServiceModel.ClientBase`1.get_Channel()
在 BLL.CNCECHSSEService.HSSEServiceClient.GetInformation_UrgeReportToSUB(String unitId) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14020
在 BLL.CNCECHSSEWebService.getInformation_UrgeReport() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1884
出错时间:04/03/2024 21:51:42
出错时间:04/03/2024 21:51:42
错误信息开始=====>
错误类型:NullReferenceException
错误信息:未将对象引用设置到对象的实例。
错误堆栈:
在 FineUIPro.Web.CQMS.ManageReportNew.MonthReportEdit.Page_Load(Object sender, EventArgs e) 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\CQMS\ManageReportNew\MonthReportEdit.aspx.cs:行号 193
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
在 System.EventHandler.Invoke(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/03/2024 23:11:43
出错文件:http://localhost:8579/CQMS/ManageReportNew/MonthReportEdit.aspx?reportId=a5209a38-af66-4082-90ab-2585e44c3760
IP地址:::1
操作人员:JT
出错时间:04/03/2024 23:11:43
Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

+48
View File
@@ -1802,6 +1802,10 @@
<Content Include="TestRun\DriverSummary\CompleteSummaryEdit.aspx" />
<Content Include="TestRun\DriverSummary\MonthSummary.aspx" />
<Content Include="TestRun\DriverSummary\MonthSummaryEdit.aspx" />
<Content Include="TestRun\DriverSummary\PersonalSummary.aspx" />
<Content Include="TestRun\DriverSummary\PersonalSummaryEdit.aspx" />
<Content Include="TestRun\DriverSummary\SpecialSummary.aspx" />
<Content Include="TestRun\DriverSummary\SpecialSummaryEdit.aspx" />
<Content Include="TestRun\FeedingTestRun.aspx" />
<Content Include="TestRun\FeedingTestRunEdit.aspx" />
<Content Include="TestRun\Feeding\FeedingRunApplication.aspx" />
@@ -1825,6 +1829,8 @@
<Content Include="TestRun\Meeting\MeetingInitiate.aspx" />
<Content Include="TestRun\Meeting\MeetingInitiateEdit.aspx" />
<Content Include="TestRun\Meeting\MeetingSummary.aspx" />
<Content Include="TestRun\Meeting\MeetingSummaryEdit.aspx" />
<Content Include="TestRun\Meeting\MeetingSummaryView.aspx" />
<Content Include="TestRun\Meeting\ScheduleMeeting.aspx" />
<Content Include="TestRun\Meeting\ScheduleMeetingEdit.aspx" />
<Content Include="TestRun\Meeting\ScheduleMeetingView.aspx" />
@@ -16225,6 +16231,34 @@
<Compile Include="TestRun\DriverSummary\MonthSummaryEdit.aspx.designer.cs">
<DependentUpon>MonthSummaryEdit.aspx</DependentUpon>
</Compile>
<Compile Include="TestRun\DriverSummary\PersonalSummary.aspx.cs">
<DependentUpon>PersonalSummary.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="TestRun\DriverSummary\PersonalSummary.aspx.designer.cs">
<DependentUpon>PersonalSummary.aspx</DependentUpon>
</Compile>
<Compile Include="TestRun\DriverSummary\PersonalSummaryEdit.aspx.cs">
<DependentUpon>PersonalSummaryEdit.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="TestRun\DriverSummary\PersonalSummaryEdit.aspx.designer.cs">
<DependentUpon>PersonalSummaryEdit.aspx</DependentUpon>
</Compile>
<Compile Include="TestRun\DriverSummary\SpecialSummary.aspx.cs">
<DependentUpon>SpecialSummary.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="TestRun\DriverSummary\SpecialSummary.aspx.designer.cs">
<DependentUpon>SpecialSummary.aspx</DependentUpon>
</Compile>
<Compile Include="TestRun\DriverSummary\SpecialSummaryEdit.aspx.cs">
<DependentUpon>SpecialSummaryEdit.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="TestRun\DriverSummary\SpecialSummaryEdit.aspx.designer.cs">
<DependentUpon>SpecialSummaryEdit.aspx</DependentUpon>
</Compile>
<Compile Include="TestRun\FeedingTestRun.aspx.cs">
<DependentUpon>FeedingTestRun.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -16386,6 +16420,20 @@
<Compile Include="TestRun\Meeting\MeetingSummary.aspx.designer.cs">
<DependentUpon>MeetingSummary.aspx</DependentUpon>
</Compile>
<Compile Include="TestRun\Meeting\MeetingSummaryEdit.aspx.cs">
<DependentUpon>MeetingSummaryEdit.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="TestRun\Meeting\MeetingSummaryEdit.aspx.designer.cs">
<DependentUpon>MeetingSummaryEdit.aspx</DependentUpon>
</Compile>
<Compile Include="TestRun\Meeting\MeetingSummaryView.aspx.cs">
<DependentUpon>MeetingSummaryView.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="TestRun\Meeting\MeetingSummaryView.aspx.designer.cs">
<DependentUpon>MeetingSummaryView.aspx</DependentUpon>
</Compile>
<Compile Include="TestRun\Meeting\ScheduleMeeting.aspx.cs">
<DependentUpon>ScheduleMeeting.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -9,9 +9,9 @@
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" runat="server" />
<f:Panel ID="Panel1" runat="server" Margin="1px" BodyPadding="1px" ShowBorder="false"
ShowHeader="false" Layout="HBox" BoxConfigAlign="Stretch">
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
<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="DriverReportId" AllowCellEditing="true" ClicksToEdit="2" DataIDField="DriverReportId" AllowSorting="true" SortField="DriverReportCode"
@@ -60,7 +60,7 @@
FieldType="String" HeaderText="备注" HeaderTextAlign="Center" Width="120px" ExpandUnusedSpace="true">
</f:RenderField>
<f:LinkButtonField HeaderText="附件" ConfirmTarget="Top" Width="80px" CommandName="AttachUrl" ColumnID="AttachUrl"
TextAlign="Center" ToolTip="附件查看" Icon="Find" />
TextAlign="Center" ToolTip="附件查看" DataTextField="AttachUrl" ExpandUnusedSpace="true" />
</Columns>
<Listeners>
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
@@ -37,10 +37,12 @@ namespace FineUIPro.Web.TestRun.DriverReport
report.ReportType,
report.Remark,
unitWork.UnitWorkName,
u.UserName AS CompilePersonName"
u.UserName AS CompilePersonName,
RIGHT(att.AttachUrl,CHARINDEX('_',REVERSE(att.AttachUrl))-1) AS AttachUrl"
+ @" FROM Driver_DriverReport AS report "
+ @" LEFT JOIN WBS_UnitWork AS unitWork ON unitWork.UnitWorkId = report.UnitWorkId"
+ @" LEFT JOIN Sys_User AS u ON u.UserId = report.CompilePerson"
+ @" LEFT JOIN AttachFile AS att ON att.ToKeyId=report.DriverReportId "
+ @" WHERE report.ProjectId=@projectId AND report.ReportType='6'";
List<SqlParameter> listStr = new List<SqlParameter>();
listStr.Add(new SqlParameter("@projectId", this.CurrUser.LoginProjectId));
@@ -83,6 +83,8 @@
</f:Label>
<f:Button ID="btnAttach" Icon="TableCell" EnablePostBack="true" Text="附件" runat="server" OnClick="btnAttach_Click">
</f:Button>
<f:Label ID="lbtnAttach" runat="server">
</f:Label>
</Items>
</f:Panel>
</Items>
@@ -96,7 +98,7 @@
</f:Form>
<f:Window ID="WindowAtt" Title="弹出窗体" Hidden="true" EnableIFrame="true" EnableMaximize="true"
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="700px"
Height="500px">
Height="500px" OnClose="WindowAtt_Close">
</f:Window>
</form>
</body>
@@ -1,5 +1,6 @@
using BLL;
using System;
using System.Collections.Generic;
namespace FineUIPro.Web.TestRun.DriverReport
{
@@ -34,6 +35,7 @@ namespace FineUIPro.Web.TestRun.DriverReport
this.txtSubmitDate.Text = data.SubmitDate.HasValue ? string.Format("{0:yyyy-MM-dd}", data.SubmitDate) : "";
//this.txtNumber.Text = data.Number;
this.txtRemark.Text = data.Remark;
WindowAtt_Close(null, null);
}
}
else
@@ -59,6 +61,28 @@ namespace FineUIPro.Web.TestRun.DriverReport
}
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/TestRun/DriverReport/DriverRunComplete&menuId={1}", this.hdId.Text, BLL.Const.DriverRunCompleteMenuId)));
}
protected void WindowAtt_Close(object sender, WindowCloseEventArgs e)
{
this.lbtnAttach.Text = string.Empty;
string url = string.Empty;
var attLists = BLL.AttachFileService.Getfiles(this.hdId.Text, BLL.Const.DriverRunCompleteMenuId);
if (attLists != null)
{
List<string> lists = Funs.GetStrListByStr(attLists.AttachUrl, ',');
if (lists.Count > 0)
{
foreach (var item in lists)
{
url += item.Substring(item.IndexOf('_') + 1) + "\r\n";
}
}
if (!string.IsNullOrEmpty(url))
{
this.lbtnAttach.Text = url;
}
}
}
#endregion
#region
@@ -174,6 +174,15 @@ namespace FineUIPro.Web.TestRun.DriverReport {
/// </remarks>
protected global::FineUIPro.Button btnAttach;
/// <summary>
/// lbtnAttach 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label lbtnAttach;
/// <summary>
/// WindowAtt 控件。
/// </summary>
@@ -9,9 +9,9 @@
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" runat="server" />
<f:Panel ID="Panel1" runat="server" Margin="1px" BodyPadding="1px" ShowBorder="false"
ShowHeader="false" Layout="HBox" BoxConfigAlign="Stretch">
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
<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="DriverReportId" AllowCellEditing="true" ClicksToEdit="2" DataIDField="DriverReportId" AllowSorting="true" SortField="DriverReportCode"
@@ -60,7 +60,7 @@
FieldType="String" HeaderText="备注" HeaderTextAlign="Center" Width="120px" ExpandUnusedSpace="true">
</f:RenderField>
<f:LinkButtonField HeaderText="附件" ConfirmTarget="Top" Width="80px" CommandName="AttachUrl" ColumnID="AttachUrl"
TextAlign="Center" ToolTip="附件查看" Icon="Find" />
TextAlign="Center" ToolTip="附件查看" DataTextField="AttachUrl" ExpandUnusedSpace="true" />
</Columns>
<Listeners>
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
@@ -37,10 +37,12 @@ namespace FineUIPro.Web.TestRun.DriverReport
report.ReportType,
report.Remark,
unitWork.UnitWorkName,
u.UserName AS CompilePersonName"
u.UserName AS CompilePersonName,
RIGHT(att.AttachUrl,CHARINDEX('_',REVERSE(att.AttachUrl))-1) AS AttachUrl"
+ @" FROM Driver_DriverReport AS report "
+ @" LEFT JOIN WBS_UnitWork AS unitWork ON unitWork.UnitWorkId = report.UnitWorkId"
+ @" LEFT JOIN Sys_User AS u ON u.UserId = report.CompilePerson"
+ @" LEFT JOIN AttachFile AS att ON att.ToKeyId=report.DriverReportId "
+ @" WHERE report.ProjectId=@projectId AND report.ReportType='4'";
List<SqlParameter> listStr = new List<SqlParameter>();
listStr.Add(new SqlParameter("@projectId", this.CurrUser.LoginProjectId));
@@ -83,6 +83,8 @@
</f:Label>
<f:Button ID="btnAttach" Icon="TableCell" EnablePostBack="true" Text="附件" runat="server" OnClick="btnAttach_Click">
</f:Button>
<f:Label ID="lbtnAttach" runat="server">
</f:Label>
</Items>
</f:Panel>
</Items>
@@ -96,7 +98,7 @@
</f:Form>
<f:Window ID="WindowAtt" Title="弹出窗体" Hidden="true" EnableIFrame="true" EnableMaximize="true"
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="700px"
Height="500px">
Height="500px" OnClose="WindowAtt_Close">
</f:Window>
</form>
</body>
@@ -1,5 +1,6 @@
using BLL;
using System;
using System.Collections.Generic;
namespace FineUIPro.Web.TestRun.DriverReport
{
@@ -34,6 +35,7 @@ namespace FineUIPro.Web.TestRun.DriverReport
this.txtSubmitDate.Text = data.SubmitDate.HasValue ? string.Format("{0:yyyy-MM-dd}", data.SubmitDate) : "";
//this.txtNumber.Text = data.Number;
this.txtRemark.Text = data.Remark;
WindowAtt_Close(null, null);
}
}
else
@@ -59,6 +61,28 @@ namespace FineUIPro.Web.TestRun.DriverReport
}
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/TestRun/DriverReport/FeedTestRunReport&menuId={1}", this.hdId.Text, BLL.Const.FeedTestRunReportMenuId)));
}
protected void WindowAtt_Close(object sender, WindowCloseEventArgs e)
{
this.lbtnAttach.Text = string.Empty;
string url = string.Empty;
var attLists = BLL.AttachFileService.Getfiles(this.hdId.Text, BLL.Const.FeedTestRunReportMenuId);
if (attLists != null)
{
List<string> lists = Funs.GetStrListByStr(attLists.AttachUrl, ',');
if (lists.Count > 0)
{
foreach (var item in lists)
{
url += item.Substring(item.IndexOf('_') + 1) + "\r\n";
}
}
if (!string.IsNullOrEmpty(url))
{
this.lbtnAttach.Text = url;
}
}
}
#endregion
#region
@@ -174,6 +174,15 @@ namespace FineUIPro.Web.TestRun.DriverReport {
/// </remarks>
protected global::FineUIPro.Button btnAttach;
/// <summary>
/// lbtnAttach 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label lbtnAttach;
/// <summary>
/// WindowAtt 控件。
/// </summary>
@@ -9,9 +9,9 @@
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" runat="server" />
<f:Panel ID="Panel1" runat="server" Margin="1px" BodyPadding="1px" ShowBorder="false"
ShowHeader="false" Layout="HBox" BoxConfigAlign="Stretch">
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
<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="DriverReportId" AllowCellEditing="true" ClicksToEdit="2" DataIDField="DriverReportId" AllowSorting="true" SortField="DriverReportCode"
@@ -60,7 +60,7 @@
FieldType="String" HeaderText="备注" HeaderTextAlign="Center" Width="120px" ExpandUnusedSpace="true">
</f:RenderField>
<f:LinkButtonField HeaderText="附件" ConfirmTarget="Top" Width="80px" CommandName="AttachUrl" ColumnID="AttachUrl"
TextAlign="Center" ToolTip="附件查看" Icon="Find" />
TextAlign="Center" ToolTip="附件查看" DataTextField="AttachUrl" ExpandUnusedSpace="true" />
</Columns>
<Listeners>
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
@@ -37,10 +37,12 @@ namespace FineUIPro.Web.TestRun.DriverReport
report.ReportType,
report.Remark,
unitWork.UnitWorkName,
u.UserName AS CompilePersonName"
u.UserName AS CompilePersonName,
RIGHT(att.AttachUrl,CHARINDEX('_',REVERSE(att.AttachUrl))-1) AS AttachUrl"
+ @" FROM Driver_DriverReport AS report "
+ @" LEFT JOIN WBS_UnitWork AS unitWork ON unitWork.UnitWorkId = report.UnitWorkId"
+ @" LEFT JOIN Sys_User AS u ON u.UserId = report.CompilePerson"
+ @" LEFT JOIN AttachFile AS att ON att.ToKeyId=report.DriverReportId "
+ @" WHERE report.ProjectId=@projectId AND report.ReportType='3'";
List<SqlParameter> listStr = new List<SqlParameter>();
listStr.Add(new SqlParameter("@projectId", this.CurrUser.LoginProjectId));
@@ -83,6 +83,8 @@
</f:Label>
<f:Button ID="btnAttach" Icon="TableCell" EnablePostBack="true" Text="附件" runat="server" OnClick="btnAttach_Click">
</f:Button>
<f:Label ID="lbtnAttach" runat="server">
</f:Label>
</Items>
</f:Panel>
</Items>
@@ -96,7 +98,7 @@
</f:Form>
<f:Window ID="WindowAtt" Title="弹出窗体" Hidden="true" EnableIFrame="true" EnableMaximize="true"
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="700px"
Height="500px">
Height="500px" OnClose="WindowAtt_Close">
</f:Window>
</form>
</body>
@@ -1,5 +1,6 @@
using BLL;
using System;
using System.Collections.Generic;
namespace FineUIPro.Web.TestRun.DriverReport
{
@@ -34,6 +35,7 @@ namespace FineUIPro.Web.TestRun.DriverReport
this.txtSubmitDate.Text = data.SubmitDate.HasValue ? string.Format("{0:yyyy-MM-dd}", data.SubmitDate) : "";
//this.txtNumber.Text = data.Number;
this.txtRemark.Text = data.Remark;
WindowAtt_Close(null, null);
}
}
else
@@ -59,6 +61,28 @@ namespace FineUIPro.Web.TestRun.DriverReport
}
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/TestRun/DriverReport/LinkedTestRunReport&menuId={1}", this.hdId.Text, BLL.Const.LinkedTestRunReportMenuId)));
}
protected void WindowAtt_Close(object sender, WindowCloseEventArgs e)
{
this.lbtnAttach.Text = string.Empty;
string url = string.Empty;
var attLists = BLL.AttachFileService.Getfiles(this.hdId.Text, BLL.Const.LinkedTestRunReportMenuId);
if (attLists != null)
{
List<string> lists = Funs.GetStrListByStr(attLists.AttachUrl, ',');
if (lists.Count > 0)
{
foreach (var item in lists)
{
url += item.Substring(item.IndexOf('_') + 1) + "\r\n";
}
}
if (!string.IsNullOrEmpty(url))
{
this.lbtnAttach.Text = url;
}
}
}
#endregion
#region
@@ -174,6 +174,15 @@ namespace FineUIPro.Web.TestRun.DriverReport {
/// </remarks>
protected global::FineUIPro.Button btnAttach;
/// <summary>
/// lbtnAttach 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label lbtnAttach;
/// <summary>
/// WindowAtt 控件。
/// </summary>
@@ -9,9 +9,9 @@
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" runat="server" />
<f:Panel ID="Panel1" runat="server" Margin="1px" BodyPadding="1px" ShowBorder="false"
ShowHeader="false" Layout="HBox" BoxConfigAlign="Stretch">
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
<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="MonthReportId" AllowCellEditing="true" ClicksToEdit="2" DataIDField="MonthReportId" AllowSorting="true" SortField="MonthReportDate"
@@ -47,8 +47,8 @@
TextAlign="Center" ToolTip="推送提醒" Icon="CartPut" />
<f:LinkButtonField HeaderText="查看推送内容" ConfirmTarget="Top" Width="120px" CommandName="SeePush" ColumnID="SeePush"
TextAlign="Center" ToolTip="查看推送内容" Icon="Find" />
<f:LinkButtonField HeaderText="附件" ConfirmTarget="Top" Width="80px" CommandName="AttachUrl" ColumnID="AttachUrl"
TextAlign="Center" ToolTip="附件查看" Icon="Find" />
<f:LinkButtonField HeaderText="附件" ConfirmTarget="Top" Width="180px" CommandName="AttachUrl" ColumnID="AttachUrl"
TextAlign="Center" ToolTip="附件查看" DataTextField="AttachUrl" ExpandUnusedSpace="true" />
</Columns>
<Listeners>
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
@@ -28,8 +28,10 @@ namespace FineUIPro.Web.TestRun.DriverReport
string strSql = @"SELECT report.MonthReportId,
report.ProjectId,
report.MonthReportCode,
(CONVERT(varchar(10),DATEADD(DAY,1,DATEADD(MONTH,-1,report.MonthReportDate)),120)+'至'+CONVERT(varchar(10),report.MonthReportDate,120)) as MonthReportDate"
(CONVERT(varchar(10),DATEADD(DAY,1,DATEADD(MONTH,-1,report.MonthReportDate)),120)+'至'+CONVERT(varchar(10),report.MonthReportDate,120)) as MonthReportDate,
RIGHT(att.AttachUrl,CHARINDEX('_',REVERSE(att.AttachUrl))-1) AS AttachUrl"
+ @" FROM TestRun_MonthReport AS report "
+ @" LEFT JOIN AttachFile AS att ON att.ToKeyId=report.MonthReportId "
+ @" WHERE report.ProjectId=@projectId ";
List<SqlParameter> listStr = new List<SqlParameter>();
listStr.Add(new SqlParameter("@projectId", this.CurrUser.LoginProjectId));
@@ -618,6 +618,8 @@
</f:Label>
<f:Button ID="btnAttach" Icon="TableCell" EnablePostBack="true" Text="附件" runat="server" OnClick="btnAttach_Click">
</f:Button>
<f:Label ID="lbtnAttach" runat="server">
</f:Label>
</Items>
</f:Panel>
</Items>
@@ -630,7 +632,7 @@
</Rows>
</f:Form>
<f:Window ID="WindowAtt" Title="弹出窗体" Hidden="true" EnableIFrame="true" EnableMaximize="true"
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="700px"
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="700px" OnClose="WindowAtt_Close"
Height="500px">
</f:Window>
</form>
@@ -80,6 +80,7 @@ namespace FineUIPro.Web.TestRun.DriverReport
this.Grid3.DataSource = items3;
this.Grid3.DataBind();
}
WindowAtt_Close(null, null);
}
else
{
@@ -147,6 +148,27 @@ namespace FineUIPro.Web.TestRun.DriverReport
}
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/TestRun/DriverReport/MonthReport&menuId={1}", this.hdId.Text, BLL.Const.MonthReportMenuId)));
}
protected void WindowAtt_Close(object sender, WindowCloseEventArgs e)
{
this.lbtnAttach.Text = string.Empty;
string url = string.Empty;
var attLists = BLL.AttachFileService.Getfiles(this.hdId.Text, BLL.Const.MonthReportMenuId);
if (attLists != null)
{
List<string> lists = Funs.GetStrListByStr(attLists.AttachUrl, ',');
if (lists.Count > 0)
{
foreach (var item in lists)
{
url += item.Substring(item.IndexOf('_') + 1) + "\r\n";
}
}
if (!string.IsNullOrEmpty(url))
{
this.lbtnAttach.Text = url;
}
}
}
#endregion
#region
@@ -1011,6 +1011,15 @@ namespace FineUIPro.Web.TestRun.DriverReport {
/// </remarks>
protected global::FineUIPro.Button btnAttach;
/// <summary>
/// lbtnAttach 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label lbtnAttach;
/// <summary>
/// WindowAtt 控件。
/// </summary>
@@ -9,9 +9,9 @@
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" runat="server" />
<f:Panel ID="Panel1" runat="server" Margin="1px" BodyPadding="1px" ShowBorder="false"
ShowHeader="false" Layout="HBox" BoxConfigAlign="Stretch">
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
<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="DriverReportId" AllowCellEditing="true" ClicksToEdit="2" DataIDField="DriverReportId" AllowSorting="true" SortField="DriverReportCode"
@@ -60,7 +60,7 @@
FieldType="String" HeaderText="备注" HeaderTextAlign="Center" Width="120px" ExpandUnusedSpace="true">
</f:RenderField>
<f:LinkButtonField HeaderText="附件" ConfirmTarget="Top" Width="80px" CommandName="AttachUrl" ColumnID="AttachUrl"
TextAlign="Center" ToolTip="附件查看" Icon="Find" />
TextAlign="Center" ToolTip="附件查看" DataTextField="AttachUrl" ExpandUnusedSpace="true" />
</Columns>
<Listeners>
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
@@ -37,10 +37,12 @@ namespace FineUIPro.Web.TestRun.DriverReport
report.ReportType,
report.Remark,
unitWork.UnitWorkName,
u.UserName AS CompilePersonName"
u.UserName AS CompilePersonName,
RIGHT(att.AttachUrl,CHARINDEX('_',REVERSE(att.AttachUrl))-1) AS AttachUrl"
+ @" FROM Driver_DriverReport AS report "
+ @" LEFT JOIN WBS_UnitWork AS unitWork ON unitWork.UnitWorkId = report.UnitWorkId"
+ @" LEFT JOIN Sys_User AS u ON u.UserId = report.CompilePerson"
+ @" LEFT JOIN AttachFile AS att ON att.ToKeyId=report.DriverReportId "
+ @" WHERE report.ProjectId=@projectId AND report.ReportType='5'";
List<SqlParameter> listStr = new List<SqlParameter>();
listStr.Add(new SqlParameter("@projectId", this.CurrUser.LoginProjectId));
@@ -83,6 +83,8 @@
</f:Label>
<f:Button ID="btnAttach" Icon="TableCell" EnablePostBack="true" Text="附件" runat="server" OnClick="btnAttach_Click">
</f:Button>
<f:Label ID="lbtnAttach" runat="server">
</f:Label>
</Items>
</f:Panel>
</Items>
@@ -96,7 +98,7 @@
</f:Form>
<f:Window ID="WindowAtt" Title="弹出窗体" Hidden="true" EnableIFrame="true" EnableMaximize="true"
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="700px"
Height="500px">
Height="500px" OnClose="WindowAtt_Close">
</f:Window>
</form>
</body>
@@ -1,5 +1,6 @@
using BLL;
using System;
using System.Collections.Generic;
namespace FineUIPro.Web.TestRun.DriverReport
{
@@ -34,6 +35,7 @@ namespace FineUIPro.Web.TestRun.DriverReport
this.txtSubmitDate.Text = data.SubmitDate.HasValue ? string.Format("{0:yyyy-MM-dd}", data.SubmitDate) : "";
//this.txtNumber.Text = data.Number;
this.txtRemark.Text = data.Remark;
WindowAtt_Close(null, null);
}
}
else
@@ -59,6 +61,28 @@ namespace FineUIPro.Web.TestRun.DriverReport
}
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/TestRun/DriverReport/PropertyReport&menuId={1}", this.hdId.Text, BLL.Const.PropertyReportMenuId)));
}
protected void WindowAtt_Close(object sender, WindowCloseEventArgs e)
{
this.lbtnAttach.Text = string.Empty;
string url = string.Empty;
var attLists = BLL.AttachFileService.Getfiles(this.hdId.Text, BLL.Const.PropertyReportMenuId);
if (attLists != null)
{
List<string> lists = Funs.GetStrListByStr(attLists.AttachUrl, ',');
if (lists.Count > 0)
{
foreach (var item in lists)
{
url += item.Substring(item.IndexOf('_') + 1) + "\r\n";
}
}
if (!string.IsNullOrEmpty(url))
{
this.lbtnAttach.Text = url;
}
}
}
#endregion
#region
@@ -174,6 +174,15 @@ namespace FineUIPro.Web.TestRun.DriverReport {
/// </remarks>
protected global::FineUIPro.Button btnAttach;
/// <summary>
/// lbtnAttach 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label lbtnAttach;
/// <summary>
/// WindowAtt 控件。
/// </summary>
@@ -5,28 +5,27 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>项目完工总结</title>
<title>开车完工总结</title>
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" runat="server" />
<f:Panel ID="Panel1" runat="server" Margin="1px" BodyPadding="1px" ShowBorder="false"
ShowHeader="false" Layout="HBox" BoxConfigAlign="Stretch">
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
<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="DriverSummaryId" AllowCellEditing="true" ClicksToEdit="2" DataIDField="DriverSummaryId" AllowSorting="true" SortField="DriverSummaryCode"
SortDirection="ASC" OnSort="Grid1_Sort" EnableColumnLines="true" AllowPaging="true" IsDatabasePaging="true" PageSize="10" OnPageIndexChange="Grid1_PageIndexChange"
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="开车完工总结" EnableCollapse="true"
runat="server" BoxFlex="1" DataKeyNames="DriverSummaryId" AllowCellEditing="true" ClicksToEdit="2" DataIDField="DriverSummaryId" AllowSorting="true" SortField="SubmitDate"
SortDirection="DESC" OnSort="Grid1_Sort" EnableColumnLines="true" AllowPaging="true" IsDatabasePaging="true" PageSize="10" OnPageIndexChange="Grid1_PageIndexChange"
EnableRowDoubleClickEvent="true" EnableTextSelection="True" OnRowCommand="Grid1_RowCommand" OnRowDoubleClick="Grid1_RowDoubleClick">
<Toolbars>
<f:Toolbar ID="ToolSearch" Position="Top" runat="server" ToolbarAlign="Left">
<Items>
<%--<f:DropDownList ID="drpUnitWorkId" runat="server" Label="单位工程" LabelAlign="Right"></f:DropDownList>--%>
<f:TextBox ID="txtSummary" runat="server" Label="完工总结" LabelAlign="Right"></f:TextBox>
<f:TextBox ID="txtDriverSummaryCode" runat="server" Label="总结名称" LabelAlign="Right"></f:TextBox>
<f:Button ID="btnSearch" Icon="SystemSearch" ToolTip="搜索"
EnablePostBack="true" runat="server" OnClick="btnSearch_Click">
</f:Button>
<f:ToolbarFill runat="server"></f:ToolbarFill>
<f:Button ID="btnNew" Icon="Add" ToolTip="新增" EnablePostBack="false" runat="server" Hidden="true">
<f:Button ID="btnNew" Icon="Add" ToolTip="新增" runat="server" Hidden="true" OnClick="btnNew_Click">
</f:Button>
</Items>
</f:Toolbar>
@@ -38,26 +37,16 @@
<asp:Label ID="lblPageIndex" runat="server" Text='<%# Grid1.PageIndex * Grid1.PageSize + Container.DataItemIndex + 1 %>'></asp:Label>
</ItemTemplate>
</f:TemplateField>
<%--<f:RenderField ColumnID="UnitWorkName" DataField="UnitWorkName"
FieldType="String" HeaderText="单位工程" HeaderTextAlign="Center" Width="120px">
</f:RenderField>--%>
<f:RenderField ColumnID="DriverSummaryCode" DataField="DriverSummaryCode"
FieldType="String" HeaderText="编号" HeaderTextAlign="Center" Width="200px">
</f:RenderField>
<f:RenderField ColumnID="Summary" DataField="Summary"
FieldType="String" HeaderText="完工总结" HeaderTextAlign="Center" Width="280px">
FieldType="String" HeaderText="总结名称" HeaderTextAlign="Center" Width="400px">
</f:RenderField>
<f:RenderField ColumnID="SummaryPersonName" DataField="SummaryPersonName"
FieldType="String" HeaderText="总结人" HeaderTextAlign="Center" Width="120px">
FieldType="String" HeaderText="总结人" HeaderTextAlign="Center" Width="200px">
</f:RenderField>
<f:RenderField ColumnID="SubmitDate" DataField="SubmitDate"
FieldType="Date" Renderer="Date" HeaderText="总结日期" HeaderTextAlign="Center" Width="110px">
</f:RenderField>
<f:RenderField ColumnID="Remark" DataField="Remark"
FieldType="String" HeaderText="备注" HeaderTextAlign="Center" Width="120px" ExpandUnusedSpace="true">
</f:RenderField>
<f:LinkButtonField HeaderText="附件" ConfirmTarget="Top" Width="80px" CommandName="AttachUrl" ColumnID="AttachUrl"
TextAlign="Center" ToolTip="附件查看" Icon="Find" />
<f:LinkButtonField HeaderText="附件" ConfirmTarget="Top" Width="180px" CommandName="AttachUrl" ColumnID="AttachUrl"
TextAlign="Center" ToolTip="附件查看" ExpandUnusedSpace="true" DataTextField="AttachUrl"/>
<f:LinkButtonField HeaderText="签字版附件" ConfirmTarget="Top" Width="180px" CommandName="AttachUrl2" ColumnID="AttachUrl2"
TextAlign="Center" ToolTip="附件查看" ExpandUnusedSpace="true" DataTextField="AttachUrl2"/>
</Columns>
<Listeners>
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
@@ -78,9 +67,9 @@
</f:Grid>
</Items>
</f:Panel>
<f:Window ID="Window1" Title="项目完工总结" Hidden="true" EnableIFrame="true" EnableMaximize="true"
<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="550px">
Width="700px" Height="300px">
</f:Window>
<f:Window ID="WindowAtt" Title="弹出窗体" Hidden="true" EnableIFrame="true" EnableMaximize="true"
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="700px"
@@ -15,9 +15,7 @@ namespace FineUIPro.Web.TestRun.DriverSummary
if (!IsPostBack)
{
GetButtonPower();
BindGrid();
btnNew.OnClientClick = Window1.GetShowReference("CompleteSummaryEdit.aspx") + "return false;";
//BLL.UnitWorkService.InitUnitWorkDropDownList(this.drpUnitWorkId, this.CurrUser.LoginProjectId, true);
BindGrid();
}
}
#endregion
@@ -34,24 +32,20 @@ namespace FineUIPro.Web.TestRun.DriverSummary
summary.SummaryPerson,
summary.SummaryType,
summary.SubmitDate,
summary.Remark,
unitWork.UnitWorkName,
u.UserName AS SummaryPersonName"
+ @" FROM Driver_DriverSummary AS summary "
+ @" LEFT JOIN WBS_UnitWork AS unitWork ON unitWork.UnitWorkId = summary.UnitWorkId"
u.UserName AS SummaryPersonName,
RIGHT(att.AttachUrl,CHARINDEX('_',REVERSE(att.AttachUrl))-1) AS AttachUrl,
RIGHT(att2.AttachUrl, CHARINDEX('_', REVERSE(att2.AttachUrl)) - 1) AS AttachUrl2"
+ @" FROM Driver_DriverSummary AS summary "
+ @" LEFT JOIN Sys_User AS u ON u.UserId = summary.SummaryPerson"
+ @" WHERE summary.ProjectId=@projectId AND summary.SummaryType='2'";
+ @" LEFT JOIN AttachFile AS att ON att.ToKeyId=summary.DriverSummaryId+'#1'"
+ @" LEFT JOIN AttachFile AS att2 ON att2.ToKeyId=summary.DriverSummaryId+'#2'"
+ @" WHERE summary.ProjectId=@projectId AND summary.SummaryType='3'";
List<SqlParameter> listStr = new List<SqlParameter>();
listStr.Add(new SqlParameter("@projectId", this.CurrUser.LoginProjectId));
//if (!string.IsNullOrEmpty(this.drpUnitWorkId.SelectedValue) && this.drpUnitWorkId.SelectedValue != BLL.Const._Null)
//{
// strSql += " AND summary.UnitWorkId=@unitWorkId";
// listStr.Add(new SqlParameter("@unitWorkId", this.drpUnitWorkId.SelectedValue));
//}
if (!string.IsNullOrEmpty(this.txtSummary.Text.Trim()))
if (!string.IsNullOrEmpty(this.txtDriverSummaryCode.Text.Trim()))
{
strSql += " AND summary.Summary LIKE @Summary";
listStr.Add(new SqlParameter("@Summary", "%" + this.txtSummary.Text.Trim() + "%"));
strSql += " AND summary.DriverSummaryCode LIKE @DriverSummaryCode";
listStr.Add(new SqlParameter("@DriverSummaryCode", "%" + this.txtDriverSummaryCode.Text.Trim() + "%"));
}
SqlParameter[] parameter = listStr.ToArray();
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
@@ -119,6 +113,27 @@ namespace FineUIPro.Web.TestRun.DriverSummary
#endregion
#region
/// <summary>
/// 增加
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnNew_Click(object sender, EventArgs e)
{
var q = BLL.DriverSummaryService.GetSummaryList(this.CurrUser.LastProjectId, "3");
if (q.Count() > 0)
{
Alert.ShowInTop("开车完成报告已存在!", MessageBoxIcon.Warning);
return;
}
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("CompleteSummaryEdit.aspx", "编辑 - ")));
}
/// <summary>
/// 右键编辑
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnMenuModify_Click(object sender, EventArgs e)
{
EditData();
@@ -179,7 +194,11 @@ namespace FineUIPro.Web.TestRun.DriverSummary
string id = Grid1.DataKeys[e.RowIndex][0].ToString();
if (e.CommandName == "AttachUrl")
{
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type=-1&toKeyId={0}&path=FileUpload/TestRun/DriverSummary/CompleteSummary&menuId={1}", id, BLL.Const.CompleteSummaryMenuId)));
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type=-1&toKeyId={0}&path=FileUpload/TestRun/DriverSummary/CompleteSummary&menuId={1}&strParam=1", id, BLL.Const.CompleteSummaryMenuId)));
}
if (e.CommandName == "AttachUrl2")
{
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type=-1&toKeyId={0}&path=FileUpload/TestRun/DriverSummary/CompleteSummary&menuId={1}&strParam=2", id, BLL.Const.CompleteSummaryMenuId)));
}
}
#endregion
@@ -58,13 +58,13 @@ namespace FineUIPro.Web.TestRun.DriverSummary {
protected global::FineUIPro.Toolbar ToolSearch;
/// <summary>
/// txtSummary 控件。
/// txtDriverSummaryCode 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtSummary;
protected global::FineUIPro.TextBox txtDriverSummaryCode;
/// <summary>
/// btnSearch 控件。

Some files were not shown because too many files have changed in this diff Show More