diff --git a/DataBase/版本日志/SGGLDB_WH_2024-04-18-bwj.sql b/DataBase/版本日志/SGGLDB_WH_2024-04-18-bwj.sql
new file mode 100644
index 00000000..778001ef
--- /dev/null
+++ b/DataBase/版本日志/SGGLDB_WH_2024-04-18-bwj.sql
@@ -0,0 +1,3 @@
+
+alter table Comprehensive_SpecialEquipment add PositionNum nvarchar(50)
+go
\ No newline at end of file
diff --git a/DataBase/版本日志/SGGLDB_WH_2024-04-22-bwj.sql b/DataBase/版本日志/SGGLDB_WH_2024-04-22-bwj.sql
new file mode 100644
index 00000000..a715e653
--- /dev/null
+++ b/DataBase/版本日志/SGGLDB_WH_2024-04-22-bwj.sql
@@ -0,0 +1,7 @@
+
+alter table Comprehensive_InspectionPerson add RemarkCode nvarchar(50)
+alter table Comprehensive_InspectionMachine add RemarkCode nvarchar(50)
+alter table Comprehensive_DesignChangeOrder add RemarkCode nvarchar(50)
+alter table Comprehensive_NCRManagement add RemarkCode nvarchar(50)
+alter table Comprehensive_DataReceivingDoc add RemarkCode nvarchar(50)
+
diff --git a/DataBase/版本日志/SGGLDB_WH_2024-04-22-wq.sql b/DataBase/版本日志/SGGLDB_WH_2024-04-22-wq.sql
new file mode 100644
index 00000000..c10140e4
--- /dev/null
+++ b/DataBase/版本日志/SGGLDB_WH_2024-04-22-wq.sql
@@ -0,0 +1,75 @@
+
+delete Sys_Menu where MenuId='2590BA0B-3B56-4F8A-8EB8-2D047EF90753'
+INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Icon,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)VALUES('2590BA0B-3B56-4F8A-8EB8-2D047EF90753','־',null,'TestRun/ProduceTestRun/RunningLogManagementList.aspx',1,'110E8BDB-8121-4C5B-A3C3-AF2B34B1B29B','Menu_TestRun',0,1,1)
+
+--==־
+if object_id(N'Running_LogManagement',N'U') is not null
+drop table dbo.Running_LogManagement
+CREATE TABLE dbo.Running_LogManagement(
+ RunningId varchar(50) NOT NULL,--
+ ProjectId varchar(50) NULL,--Ŀ
+ InstallationId varchar(50) NULL,--װ
+ ProcessesId varchar(50) NULL,--
+ SystemId varchar(50) NULL,--ϵͳ
+ JobNo varchar(50) NULL,--ļ
+ ShiftType varchar(50) NULL,--ְ1:װ2:ҹ
+ ShiftUser varchar(50) NULL,--ְְ
+ SuccessionUser varchar(50) NULL,--ְ
+ StartData datetime NULL,--ʼ
+ EndData datetime NULL,--
+ Situation varchar(1000),--
+ Remarks varchar(1000),--ע
+ HandoverCare varchar(1000),--ע
+ AddUser varchar(50) NULL,--
+ AddTime datetime NULL,--
+ Sort int NULL,--
+ CONSTRAINT PK_Running_LogManagement PRIMARY KEY CLUSTERED
+(
+ RunningId ASC
+)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
+) ON [PRIMARY]
+GO
+
+--־
+if object_id(N'Running_Operation',N'U') is not null
+drop table dbo.Running_Operation
+CREATE TABLE dbo.Running_Operation(
+ OperationId varchar(50) NOT NULL,--
+ RunningId varchar(50) NULL,--־
+ ProjectId varchar(50) NULL,--Ŀ
+ InstallationId varchar(50) NULL,--װ
+ ProcessesId varchar(50) NULL,--
+ SystemId varchar(50) NULL,--ϵͳ
+ OperationReason varchar(1000),--ԭ
+ OperationHandle varchar(1000),--
+ AddUser varchar(50) NULL,--
+ AddTime datetime NULL,--
+ Sort int NULL,--
+ CONSTRAINT PK_Running_Operation PRIMARY KEY CLUSTERED
+(
+ OperationId ASC
+)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
+) ON [PRIMARY]
+GO
+
+--־ά
+if object_id(N'Running_Maintenance',N'U') is not null
+drop table dbo.Running_Maintenance
+CREATE TABLE dbo.Running_Maintenance(
+ MaintenanceId varchar(50) NOT NULL,--
+ RunningId varchar(50) NULL,--־
+ ProjectId varchar(50) NULL,--Ŀ
+ InstallationId varchar(50) NULL,--װ
+ ProcessesId varchar(50) NULL,--
+ SystemId varchar(50) NULL,--ϵͳ
+ MaintenanceReason varchar(1000),--άԭ
+ MaintenanceHandle varchar(1000),--ά
+ AddUser varchar(50) NULL,--
+ AddTime datetime NULL,--
+ Sort int NULL,--
+ CONSTRAINT PK_Running_Maintenance PRIMARY KEY CLUSTERED
+(
+ MaintenanceId ASC
+)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
+) ON [PRIMARY]
+GO
\ No newline at end of file
diff --git a/SGGL/BLL/CQMS/Check/JointCheckService.cs b/SGGL/BLL/CQMS/Check/JointCheckService.cs
index 7e6a43ec..bdd02f6d 100644
--- a/SGGL/BLL/CQMS/Check/JointCheckService.cs
+++ b/SGGL/BLL/CQMS/Check/JointCheckService.cs
@@ -518,5 +518,15 @@ namespace BLL
db.SubmitChanges();
}
}
+
+ ///
+ /// 根据项目Id获取专项检查
+ ///
+ ///
+ ///
+ public static List GetDriverPlanByProjectId(string projectId)
+ {
+ return (from x in Funs.DB.Check_JointCheck where x.ProjectId == projectId select x).ToList();
+ }
}
}
diff --git a/SGGL/BLL/CQMS/Comprehensive/DataReceivingDocService.cs b/SGGL/BLL/CQMS/Comprehensive/DataReceivingDocService.cs
index 9dac14b5..d199e432 100644
--- a/SGGL/BLL/CQMS/Comprehensive/DataReceivingDocService.cs
+++ b/SGGL/BLL/CQMS/Comprehensive/DataReceivingDocService.cs
@@ -65,6 +65,7 @@ namespace BLL
CompileDate = doc.CompileDate,
Status = doc.Status,
AuditMan = doc.AuditMan,
+ RemarkCode = doc.RemarkCode
};
Funs.DB.Comprehensive_DataReceivingDoc.InsertOnSubmit(newDoc);
Funs.DB.SubmitChanges();
diff --git a/SGGL/BLL/CQMS/Comprehensive/DesignChangeOrderService.cs b/SGGL/BLL/CQMS/Comprehensive/DesignChangeOrderService.cs
index d53ea1f7..8003bf0f 100644
--- a/SGGL/BLL/CQMS/Comprehensive/DesignChangeOrderService.cs
+++ b/SGGL/BLL/CQMS/Comprehensive/DesignChangeOrderService.cs
@@ -197,6 +197,7 @@ namespace BLL
newDesignChangeOrder.CompileDate = desginChangeOrder.CompileDate;
newDesignChangeOrder.CompleteDate = desginChangeOrder.CompleteDate;
newDesignChangeOrder.Status = desginChangeOrder.Status;
+ newDesignChangeOrder.RemarkCode = desginChangeOrder.RemarkCode;
db.Comprehensive_DesignChangeOrder.InsertOnSubmit(newDesignChangeOrder);
db.SubmitChanges();
}
@@ -225,6 +226,7 @@ namespace BLL
newDesignChangeOrder.ImplementationFrontState = desginChangeOrder.ImplementationFrontState;
newDesignChangeOrder.CompleteDate = desginChangeOrder.CompleteDate;
newDesignChangeOrder.Status = desginChangeOrder.Status;
+ newDesignChangeOrder.RemarkCode = desginChangeOrder.RemarkCode;
db.SubmitChanges();
}
}
diff --git a/SGGL/BLL/CQMS/Comprehensive/InspectionMachineService.cs b/SGGL/BLL/CQMS/Comprehensive/InspectionMachineService.cs
index ca1d601b..7d002b8d 100644
--- a/SGGL/BLL/CQMS/Comprehensive/InspectionMachineService.cs
+++ b/SGGL/BLL/CQMS/Comprehensive/InspectionMachineService.cs
@@ -128,6 +128,7 @@ namespace BLL
newInspectionMachine.UnitsCount = inspectionMachine.UnitsCount;
newInspectionMachine.LeaveDate = inspectionMachine.LeaveDate;
newInspectionMachine.Status = inspectionMachine.Status;
+ newInspectionMachine.RemarkCode = inspectionMachine.RemarkCode;
db.Comprehensive_InspectionMachine.InsertOnSubmit(newInspectionMachine);
db.SubmitChanges();
}
@@ -159,6 +160,7 @@ namespace BLL
newInspectionMachine.UnitsCount = inspectionMachine.UnitsCount;
newInspectionMachine.LeaveDate = inspectionMachine.LeaveDate;
newInspectionMachine.Status = inspectionMachine.Status;
+ newInspectionMachine.RemarkCode = inspectionMachine.RemarkCode;
db.SubmitChanges();
}
}
diff --git a/SGGL/BLL/CQMS/Comprehensive/InspectionPersonService.cs b/SGGL/BLL/CQMS/Comprehensive/InspectionPersonService.cs
index 179687e2..c31f907b 100644
--- a/SGGL/BLL/CQMS/Comprehensive/InspectionPersonService.cs
+++ b/SGGL/BLL/CQMS/Comprehensive/InspectionPersonService.cs
@@ -61,6 +61,7 @@ namespace BLL
newInspectionPerson.UnitWorkId = inspectionPerson.UnitWorkId;
newInspectionPerson.Status = inspectionPerson.Status;
newInspectionPerson.IsTrain = inspectionPerson.IsTrain;
+ newInspectionPerson.RemarkCode = inspectionPerson.RemarkCode;
db.Comprehensive_InspectionPerson.InsertOnSubmit(newInspectionPerson);
db.SubmitChanges();
}
@@ -92,6 +93,7 @@ namespace BLL
newInspectionPerson.UnitWorkId = inspectionPerson.UnitWorkId;
newInspectionPerson.Status = inspectionPerson.Status;
newInspectionPerson.IsTrain = inspectionPerson.IsTrain;
+ newInspectionPerson.RemarkCode = inspectionPerson.RemarkCode;
db.SubmitChanges();
}
}
diff --git a/SGGL/BLL/CQMS/Comprehensive/NCRManagementService.cs b/SGGL/BLL/CQMS/Comprehensive/NCRManagementService.cs
index ea7fe758..1e5b5755 100644
--- a/SGGL/BLL/CQMS/Comprehensive/NCRManagementService.cs
+++ b/SGGL/BLL/CQMS/Comprehensive/NCRManagementService.cs
@@ -118,6 +118,7 @@ namespace BLL
newNCRManagement.Status = nCRManagement.Status;
newNCRManagement.Problem = nCRManagement.Problem;
newNCRManagement.Measure = nCRManagement.Measure;
+ newNCRManagement.RemarkCode = nCRManagement.RemarkCode;
db.Comprehensive_NCRManagement.InsertOnSubmit(newNCRManagement);
db.SubmitChanges();
}
diff --git a/SGGL/BLL/CQMS/Comprehensive/SpecialEquipmentService.cs b/SGGL/BLL/CQMS/Comprehensive/SpecialEquipmentService.cs
index 6d0f4537..a3f7f589 100644
--- a/SGGL/BLL/CQMS/Comprehensive/SpecialEquipmentService.cs
+++ b/SGGL/BLL/CQMS/Comprehensive/SpecialEquipmentService.cs
@@ -105,6 +105,7 @@ namespace BLL
newEquipment.MonitoringReportNumber = SpecialEquipment.MonitoringReportNumber;
newEquipment.CompileMan = SpecialEquipment.CompileMan;
newEquipment.Status = SpecialEquipment.Status;
+ newEquipment.PositionNum = SpecialEquipment.PositionNum;
db.Comprehensive_SpecialEquipment.InsertOnSubmit(newEquipment);
db.SubmitChanges();
}
@@ -127,6 +128,7 @@ namespace BLL
newEquipment.SubmitDataNumber = SpecialEquipment.SubmitDataNumber;
newEquipment.MonitoringReportNumber = SpecialEquipment.MonitoringReportNumber;
newEquipment.Status = SpecialEquipment.Status;
+ newEquipment.PositionNum = SpecialEquipment.PositionNum;
db.SubmitChanges();
}
}
diff --git a/SGGL/BLL/Common/Const.cs b/SGGL/BLL/Common/Const.cs
index ff6456f1..69a4d707 100644
--- a/SGGL/BLL/Common/Const.cs
+++ b/SGGL/BLL/Common/Const.cs
@@ -3244,12 +3244,17 @@ namespace BLL
///
/// 资料收发文登记记录导入模板原始虚拟路径
///
- public const string CQMS_DataReceivingDocTempUrl = "File\\Excel\\DataIn\\资料收发文登记记录导入模板.xlsx";
+ public const string CQMS_DataReceivingDocTempUrl = "File\\Excel\\DataIn\\资料收发文登记记录导入模板.xls";
///
/// 培训记录导入模板原始虚拟路径
///
public const string CQMS_TrainingRecordsTemplateUrl= "File\\Excel\\DataIn\\培训记录导入模板.xlsx";
+
+ ///
+ /// 质量专项检查模板文件原始虚拟路径
+ ///
+ public const string JointCheckTempUrl = "File\\Excel\\CQMS\\质量专项检查模版.xlsx";
#endregion
#region 绩效考核模板文件路径
diff --git a/SGGL/BLL/ProjectData/UnitWorkService.cs b/SGGL/BLL/ProjectData/UnitWorkService.cs
index e3ef0752..16e48681 100644
--- a/SGGL/BLL/ProjectData/UnitWorkService.cs
+++ b/SGGL/BLL/ProjectData/UnitWorkService.cs
@@ -590,5 +590,24 @@ namespace BLL
}
return name;
}
+
+ public static string GetUnitWorkIdsByUnitWorkNames(string projectId,string unitWorks)
+ {
+ if (!string.IsNullOrEmpty(unitWorks))
+ {
+ string[] ins = unitWorks.Split(',');
+ string unitIds = string.Empty;
+ foreach (string s in ins)
+ {
+ var q = GetUnitWorkByUnitWorkName(projectId, s.Trim()).UnitWorkId;
+ unitIds += q + ",";
+ }
+ return unitIds.Substring(0, unitIds.LastIndexOf(','));
+ }
+ else
+ {
+ return string.Empty;
+ }
+ }
}
}
diff --git a/SGGL/BLL/SysManage/UnitService.cs b/SGGL/BLL/SysManage/UnitService.cs
index 4e193bbb..136f269c 100644
--- a/SGGL/BLL/SysManage/UnitService.cs
+++ b/SGGL/BLL/SysManage/UnitService.cs
@@ -671,10 +671,10 @@ namespace BLL
string unitIds = string.Empty;
foreach (string s in ins)
{
- var q = BLL.UnitService.getUnitByUnitName(s);
- unitIds = unitIds + q.UnitId + ",";
+ var q = getUnitByUnitName(s.Trim());
+ unitIds += q.UnitId + ",";
}
- return unitIds.Substring(0, unitIds.Length - 1);
+ return unitIds.Substring(0, unitIds.LastIndexOf(","));
}
else
{
diff --git a/SGGL/FineUIPro.Web/CQMS/Check/JointCheck.aspx b/SGGL/FineUIPro.Web/CQMS/Check/JointCheck.aspx
index 765c8c30..7a597f11 100644
--- a/SGGL/FineUIPro.Web/CQMS/Check/JointCheck.aspx
+++ b/SGGL/FineUIPro.Web/CQMS/Check/JointCheck.aspx
@@ -75,6 +75,9 @@
+
+
diff --git a/SGGL/FineUIPro.Web/CQMS/Check/JointCheck.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Check/JointCheck.aspx.cs
index 6e3bb4a7..34e2e611 100644
--- a/SGGL/FineUIPro.Web/CQMS/Check/JointCheck.aspx.cs
+++ b/SGGL/FineUIPro.Web/CQMS/Check/JointCheck.aspx.cs
@@ -3,6 +3,7 @@ using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
+using System.IO;
using System.Linq;
using System.Web;
using System.Web.UI;
@@ -401,5 +402,188 @@ namespace FineUIPro.Web.CQMS.Check
txtEndTime.Text = "";
bindata();
}
+
+ #region 导出按钮
+ /// 导出按钮
+ ///
+ ///
+ ///
+ protected void btnOut_Click(object sender, EventArgs e)
+ {
+ string rootPath = Server.MapPath("~/");
+ string initTemplatePath = Const.JointCheckTempUrl;
+ string uploadfilepath = string.Empty;
+ string newUrl = string.Empty;
+ uploadfilepath = rootPath + initTemplatePath;
+ var lists = BLL.JointCheckService.GetDriverPlanByProjectId(this.CurrUser.LoginProjectId);
+ if (lists != null)
+ {
+ newUrl = uploadfilepath.Replace("质量专项检查模版.xlsx", "质量专项检查.xlsx");
+ File.Copy(uploadfilepath, newUrl);
+ // 第一步:读取文件流
+ NPOI.SS.UserModel.IWorkbook workbook;
+ using (FileStream stream = new FileStream(newUrl, FileMode.Open, FileAccess.Read))
+ {
+ workbook = new NPOI.XSSF.UserModel.XSSFWorkbook(stream);
+ }
+ // 创建单元格样式
+ NPOI.SS.UserModel.ICellStyle cellStyle = workbook.CreateCellStyle();
+ cellStyle.BorderTop = NPOI.SS.UserModel.BorderStyle.Thin;
+ cellStyle.BorderRight = NPOI.SS.UserModel.BorderStyle.Thin;
+ cellStyle.BorderBottom = NPOI.SS.UserModel.BorderStyle.Thin;
+ cellStyle.BorderLeft = NPOI.SS.UserModel.BorderStyle.Thin;
+ cellStyle.Alignment = NPOI.SS.UserModel.HorizontalAlignment.Center;
+ cellStyle.VerticalAlignment = NPOI.SS.UserModel.VerticalAlignment.Center;
+ var font = workbook.CreateFont();
+ font.FontHeightInPoints = 11;
+ cellStyle.SetFont(font);
+ NPOI.SS.UserModel.ICellStyle cellStyle0 = workbook.CreateCellStyle();
+ cellStyle0.BorderTop = NPOI.SS.UserModel.BorderStyle.Thin;
+ cellStyle0.BorderRight = NPOI.SS.UserModel.BorderStyle.Thin;
+ cellStyle0.BorderBottom = NPOI.SS.UserModel.BorderStyle.Thin;
+ cellStyle0.BorderLeft = NPOI.SS.UserModel.BorderStyle.Thin;
+ cellStyle0.Alignment = NPOI.SS.UserModel.HorizontalAlignment.Center;
+ cellStyle0.VerticalAlignment = NPOI.SS.UserModel.VerticalAlignment.Center;
+ var font0 = workbook.CreateFont();
+ font0.FontHeightInPoints = 12;
+ font0.IsBold = true;
+ cellStyle0.SetFont(font0);
+ // 第二步:创建新数据行
+ NPOI.SS.UserModel.ISheet sheet = workbook.GetSheetAt(0);
+ NPOI.SS.UserModel.IRow row = sheet.GetRow(0);
+ NPOI.SS.UserModel.ICell cell;
+ int i = 1;
+ foreach (var item in lists)
+ {
+ // 第二步:创建新数据行
+ row = sheet.CreateRow(i);
+ // 添加数据
+ cell = row.CreateCell(0);
+ cell.CellStyle = cellStyle;
+ cell.SetCellValue(i.ToString());//序号
+ cell = row.CreateCell(1);
+ cell.CellStyle = cellStyle;
+ cell.SetCellValue(item.JointCheckCode);
+ cell = row.CreateCell(2);
+ cell.CellStyle = cellStyle;
+ cell.SetCellValue(BLL.UnitService.GetUnitNameByUnitId(item.UnitId));
+ cell = row.CreateCell(3);
+ cell.CellStyle = cellStyle;
+ string checkName = string.Empty;
+ if (item.CheckType == "1")
+ {
+ checkName = "周检查";
+ }
+ else if (item.CheckType == "2")
+ {
+ checkName = "月检查";
+ }
+ else if (item.CheckType == "3")
+ {
+ checkName = "不定期检查";
+ }
+ else if (item.CheckType == "4")
+ {
+ checkName = "专业检查";
+ }
+ cell.SetCellValue(checkName);
+ cell = row.CreateCell(4);
+ cell.CellStyle = cellStyle;
+ cell.SetCellValue(item.CheckName);
+ cell = row.CreateCell(5);
+ cell.CellStyle = cellStyle;
+ cell.SetCellValue(item.CheckDate.HasValue ? string.Format("{0:yyyy-MM-dd}", item.CheckDate) : "");
+ cell = row.CreateCell(6);
+ cell.CellStyle = cellStyle;
+ cell.SetCellValue(BLL.UserService.GetUserNameByUserId(item.CheckMan));
+ cell = row.CreateCell(7);
+ cell.CellStyle = cellStyle;
+ string state = string.Empty;
+ if (item.State.ToString() == BLL.Const.JointCheck_ReCompile)
+ {
+ state = "重新编制";
+ }
+ else if (item.State.ToString() == BLL.Const.JointCheck_Compile)
+ {
+ state = "编制";
+ }
+ else if (item.State.ToString() == BLL.Const.JointCheck_Audit1)
+ {
+ state = "分包专工回复";
+ }
+ else if (item.State.ToString() == BLL.Const.JointCheck_Audit2)
+ {
+ state = "分包负责人审批";
+ }
+ else if (item.State.ToString() == BLL.Const.JointCheck_Audit3)
+ {
+ state = "总包专工回复";
+ }
+ else if (item.State.ToString() == BLL.Const.JointCheck_Audit4)
+ {
+ state = "总包负责人审批";
+ }
+ else if (item.State.ToString() == BLL.Const.JointCheck_Complete)
+ {
+ state = "审批完成";
+ }
+ else if (item.State.ToString() == BLL.Const.JointCheck_Z)
+ {
+ state = "整改中";
+ }
+ else if (item.State.ToString() == BLL.Const.JointCheck_Audit1R)
+ {
+ state = "分包专工重新回复";
+ }
+ cell.SetCellValue(state);
+ cell = row.CreateCell(8);
+ cell.CellStyle = cellStyle;
+ string userNames = string.Empty;
+ List list = BLL.JointCheckApproveService.GetJointCheckApprovesByJointCheckId(item.JointCheckId);
+ foreach (var a in list)
+ {
+ if (a != null)
+ {
+ if (a.ApproveMan != null)
+ {
+ if (!userNames.Contains(BLL.UserService.GetUserByUserId(a.ApproveMan).UserName))
+ {
+ userNames += UserService.GetUserByUserId(a.ApproveMan).UserName + ",";
+ }
+ }
+ }
+ }
+ if (!string.IsNullOrEmpty(userNames))
+ {
+ userNames = userNames.Substring(0, userNames.LastIndexOf(","));
+ }
+ cell.SetCellValue(userNames);
+
+ i++;
+ }
+ // 第三步:写入文件流
+ using (FileStream stream = new FileStream(newUrl, FileMode.Create, FileAccess.Write))
+ {
+ workbook.Write(stream);
+ workbook.Close();
+ }
+ string fileName = Path.GetFileName(newUrl);
+ FileInfo info = new FileInfo(newUrl);
+ long fileSize = info.Length;
+ Response.Clear();
+ Response.ContentType = "application/x-zip-compressed";
+ Response.AddHeader("Content-Disposition", "attachment;filename=" + System.Web.HttpUtility.UrlEncode(fileName, System.Text.Encoding.UTF8));
+ Response.AddHeader("Content-Length", fileSize.ToString());
+ Response.TransmitFile(newUrl, 0, fileSize);
+ Response.Flush();
+ Response.Close();
+ File.Delete(newUrl);
+ }
+ else
+ {
+ Alert.ShowInTop("当前无记录,无法导出!", MessageBoxIcon.Warning);
+ }
+ }
+ #endregion
}
}
\ No newline at end of file
diff --git a/SGGL/FineUIPro.Web/CQMS/Check/JointCheck.aspx.designer.cs b/SGGL/FineUIPro.Web/CQMS/Check/JointCheck.aspx.designer.cs
index 5ca52c9c..8f7cbdb0 100644
--- a/SGGL/FineUIPro.Web/CQMS/Check/JointCheck.aspx.designer.cs
+++ b/SGGL/FineUIPro.Web/CQMS/Check/JointCheck.aspx.designer.cs
@@ -129,6 +129,15 @@ namespace FineUIPro.Web.CQMS.Check {
///
protected global::FineUIPro.Button btnNew;
+ ///
+ /// btnOut 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnOut;
+
///
/// lblPageIndex 控件。
///
diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDoc.aspx b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDoc.aspx
index 02d5d8a7..0a2e1e10 100644
--- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDoc.aspx
+++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDoc.aspx
@@ -156,7 +156,7 @@
+ Width="700px" Height="560px">
<%--
导入资料收发文登记记录
-
-
-
-