提交代码
This commit is contained in:
commit
3d00fd9831
|
@ -0,0 +1,63 @@
|
|||
|
||||
|
||||
ALTER PROCEDURE [dbo].[HJGL_sp_rpt_Repair]
|
||||
(
|
||||
@CH_RepairID NVARCHAR(50)
|
||||
)
|
||||
AS
|
||||
/******项目管理部返修焊缝检测委托单主表*******/
|
||||
SELECT Repair.CH_RepairID,
|
||||
Repair.ProjectId,
|
||||
Repair.CH_RepairNo as CH_TrustCode,
|
||||
--记录编号
|
||||
Unit.UnitName, --使用单位
|
||||
Project.ProjectCode, --项目号
|
||||
Project.ProjectName, --项目名称
|
||||
Project.ShortName,
|
||||
Repair.CH_RepairNo,--委托单号
|
||||
Installation.InstallationCode, --区域号
|
||||
Installation.InstallationName,
|
||||
--分项工程
|
||||
--检测时机
|
||||
--检件编号
|
||||
Repair.CH_ItemName,--检件名称
|
||||
(CASE IsoInfo.IsHot WHEN '1' THEN '是' ELSE '否' END) AS IsHot,--热处理状态
|
||||
IsoInfo.ISO_IsoNo,--检件名称
|
||||
NDTType.NDT_Code,--检测方法
|
||||
WeldMethod.WME_Code,--焊接方法
|
||||
SlopeType.JST_Code,--坡口形式
|
||||
NDTRate.NDTR_Name,--检测比例
|
||||
NDTRate.NDTR_Rate,
|
||||
Repair.CH_NDTCriteria,--检测标准
|
||||
(CASE Repair.CH_AcceptGrade
|
||||
WHEN '1' THEN 'Ⅰ'
|
||||
WHEN '2' THEN 'Ⅱ'
|
||||
WHEN '3' THEN 'Ⅲ'
|
||||
WHEN '4' THEN 'Ⅳ'
|
||||
WHEN '5' THEN 'Ⅴ'
|
||||
END) AS AcceptGrade,--合格级别
|
||||
User1.UserName AS TrustManName,--委托人
|
||||
User2.UserName AS AuditManName,--审核人
|
||||
CONVERT(VARCHAR(100), Repair.RepairTrustDate, 111) AS RepairTrustDate, --日期
|
||||
(User1.UserName+'/'+CONVERT(VARCHAR(100), Repair.RepairTrustDate, 111)) as ManAndTrustDate,
|
||||
Repair.CH_CheckUnit,
|
||||
checkUnit.UnitName AS CheckUnitName
|
||||
FROM HJGL_CH_Repair AS Repair
|
||||
LEFT JOIN dbo.Base_Unit AS Unit ON Unit.UnitId = Repair.CH_TrustUnit
|
||||
LEFT JOIN dbo.Base_Project AS Project ON Project.ProjectId = Repair.ProjectId
|
||||
LEFT JOIN dbo.HJGL_PW_IsoInfo AS IsoInfo ON IsoInfo.ISO_ID = Repair.ISO_ID
|
||||
LEFT JOIN dbo.Project_Installation AS Installation ON Installation.InstallationId = Repair.InstallationId
|
||||
LEFT JOIN dbo.Sys_User AS User1 ON User1.UserId = Repair.CH_Tabler
|
||||
LEFT JOIN dbo.Sys_User AS User2 ON User2.UserId = Repair.CH_AuditMan
|
||||
LEFT JOIN dbo.HJGL_BO_Batch AS Batch ON Batch.BatchId = Repair.BatchId
|
||||
LEFT JOIN dbo.HJGL_BS_NDTRate AS NDTRate ON NDTRate.NDTR_ID = Batch.NDTR_ID
|
||||
LEFT JOIN dbo.HJGL_BS_SlopeType AS SlopeType ON SlopeType.JST_ID = Repair.CH_SlopeType
|
||||
LEFT JOIN dbo.HJGL_BS_WeldMethod AS WeldMethod ON WeldMethod.WME_ID = Repair.CH_WeldMethod
|
||||
LEFT JOIN dbo.HJGL_BS_NDTType AS NDTType ON NDTType.NDT_ID = Repair.NDT_ID
|
||||
LEFT JOIN Base_Unit as checkUnit ON checkUnit.UnitId = Repair.CH_CheckUnit
|
||||
WHERE Repair.CH_RepairID=@CH_RepairID
|
||||
|
||||
|
||||
GO
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
|
@ -113,7 +113,7 @@
|
|||
</f:Panel>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
<f:Window ID="Window1" Title="print" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
<f:Window ID="Window1" Title="打印" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
Target="Parent" EnableResize="true" runat="server" OnClose="Window1_Close" IsModal="true"
|
||||
Width="1200px" Height="680px">
|
||||
</f:Window>
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -110,7 +110,7 @@
|
|||
</f:Panel>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
<f:Window ID="Window1" Title="print" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
<f:Window ID="Window1" Title="打印" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
Target="Parent" EnableResize="true" runat="server" OnClose="Window1_Close" IsModal="true"
|
||||
Width="1200px" Height="680px">
|
||||
</f:Window>
|
||||
|
|
|
@ -157,36 +157,17 @@ namespace FineUIPro.Web.ContinuousPrint
|
|||
Alert.ShowInTop("最少选中一行!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
string rootPath = Server.MapPath("~/") + Const.ExcelUrl;
|
||||
//导出文件
|
||||
string filePath = rootPath + DateTime.Now.ToString("yyyyMMddhhmmss") + "\\";
|
||||
if (!Directory.Exists(filePath))
|
||||
{
|
||||
Directory.CreateDirectory(filePath);
|
||||
}
|
||||
string ReportFileName = filePath + "out.xlsx";
|
||||
|
||||
string initTemplatePath = "";
|
||||
string rootPath = Server.MapPath("~/");
|
||||
BLL.Common.FastReportService.ResetData();
|
||||
|
||||
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
|
||||
keyValuePairs.Add("ProjectName", hidProjectName.Value);
|
||||
BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
|
||||
|
||||
if (Grid2.Rows.Count > 0)
|
||||
{
|
||||
int rowIndex = 0;
|
||||
XSSFWorkbook hssfworkbook = new XSSFWorkbook();
|
||||
XSSFSheet ws = (XSSFSheet)hssfworkbook.CreateSheet("焊接工作记录");
|
||||
|
||||
#region 列宽
|
||||
ws.SetColumnWidth(0, (9 * 256) - 95);//(8.08)8.08
|
||||
ws.SetColumnWidth(1, (9 * 256) - 95);//(8.08)8.08
|
||||
ws.SetColumnWidth(2, (7 * 256) - 95);//(6.08)6.08
|
||||
ws.SetColumnWidth(3, (11 * 256) - 95);//(10.08)10.08
|
||||
ws.SetColumnWidth(4, (15 * 256) - 15);//(14.33)14.25
|
||||
ws.SetColumnWidth(5, (21 * 256) + 15);//(20.55)20.5
|
||||
ws.SetColumnWidth(6, (9 * 256) - 95);//(8.08)8.08
|
||||
ws.SetColumnWidth(7, (9 * 256) - 95);//(8.08)8.08
|
||||
ws.SetColumnWidth(8, (9 * 256) - 95);//(8.08)8.08
|
||||
ws.SetColumnWidth(9, (9 * 256) - 95);//(8.08)8.08
|
||||
ws.SetColumnWidth(10, (9 * 256) - 95);//(8.08)8.08
|
||||
ws.SetColumnWidth(11, (5 * 256) + 100);//(4.83)4.83
|
||||
ws.SetColumnWidth(12, (13 * 256) + 200);//(12.17)12.17
|
||||
#endregion
|
||||
|
||||
for (int gi = 0; gi < Grid2.Rows.Count; gi++)
|
||||
{
|
||||
if (Grid2.SelectedRowIndexArray.Contains(gi))
|
||||
|
@ -198,339 +179,429 @@ namespace FineUIPro.Web.ContinuousPrint
|
|||
listStr.Add(new SqlParameter("@Flag", "0"));
|
||||
SqlParameter[] parameter = listStr.ToArray();
|
||||
var tb = SQLHelper.GetDataTableRunProc("HJGL_spJointWorkRecordNew", parameter);
|
||||
|
||||
if (tb.Rows.Count > 0)
|
||||
{
|
||||
//tb.Columns.Add("index", typeof(System.Int32));
|
||||
//foreach (DataRow row in tb.Rows)
|
||||
//{
|
||||
// try
|
||||
// {
|
||||
// row["index"] = int.Parse(System.Text.RegularExpressions.Regex.Replace(row["JOT_JointNo"].ToString(), @"[^0-9]+", ""));
|
||||
// }
|
||||
// catch (Exception ex)
|
||||
// {
|
||||
// row["index"] = 0;
|
||||
// }
|
||||
//}
|
||||
//DataView dv = tb.DefaultView;//获取表视图
|
||||
//dv.Sort = "index ASC";//按照ID倒序排序
|
||||
//tb = dv.ToTable();//转为表
|
||||
DataTable dt = new DataTable();
|
||||
dt.TableName = "Data";
|
||||
dt.Columns.Add("ISO_IsoNo");
|
||||
dt.Columns.Add("JOT_JointNo");
|
||||
dt.Columns.Add("WED_Code");
|
||||
dt.Columns.Add("JOT_JointDesc");
|
||||
dt.Columns.Add("STE_Code");
|
||||
dt.Columns.Add("weldLocal");
|
||||
dt.Columns.Add("WME_Name");
|
||||
dt.Columns.Add("WMT_MatName");
|
||||
dt.Columns.Add("JOT_PrepareTemp");
|
||||
dt.Columns.Add("WeldDate");
|
||||
tb.DefaultView.Sort = "JOTY_Group,Sort1,Sort2,Sort3,Sort4,Sort5 ASC";
|
||||
|
||||
CellRangeAddress region;
|
||||
//尾页面总数
|
||||
var pageNum = 0d;
|
||||
//尾部增加行
|
||||
var endaddNum = 0;
|
||||
//公共样式
|
||||
ICellStyle style = CommonPrint.SetExcelStyle(hssfworkbook, BorderStyle.Thin, BorderStyle.Thin, BorderStyle.Thin, BorderStyle.Thin, VerticalAlignment.Center, HorizontalAlignment.Center, 10, true);
|
||||
//文字靠左左侧无边框
|
||||
ICellStyle styleFontLeft = CommonPrint.SetExcelStyle(hssfworkbook, BorderStyle.Thin, BorderStyle.None, BorderStyle.Thin, BorderStyle.Thin, VerticalAlignment.Center, HorizontalAlignment.Left, 10, true);
|
||||
//文字靠左右边无边框
|
||||
ICellStyle styleRightNoneFontLeft = CommonPrint.SetExcelStyle(hssfworkbook, BorderStyle.Thin, BorderStyle.Thin, BorderStyle.None, BorderStyle.Thin, VerticalAlignment.Center, HorizontalAlignment.Left, 10, true);
|
||||
//头部样式
|
||||
ICellStyle styleTou = CommonPrint.SetExcelStyle(hssfworkbook, BorderStyle.Thin, BorderStyle.Thin, BorderStyle.Thin, BorderStyle.Thin, VerticalAlignment.Center, HorizontalAlignment.Center, 16, true, true);
|
||||
//计算页
|
||||
pageNum =
|
||||
tb.Rows.Count <= 11 ? 1
|
||||
: (tb.Rows.Count > 11 && tb.Rows.Count <= 27) ? 2
|
||||
: Math.Ceiling((float)(tb.Rows.Count - 27) / 16) + 2;
|
||||
//循环页
|
||||
for (int i = 1; i <= pageNum; i++)
|
||||
DataRow[] rows = tb.DefaultView.ToTable().Select();
|
||||
foreach (var row in rows)
|
||||
{
|
||||
//取数据开始和结束条数
|
||||
var dStart = 0;
|
||||
var dEnd = 0;
|
||||
//excel数据开始行和结束行
|
||||
var tStart = 0;
|
||||
var tEnd = 0;
|
||||
|
||||
#region 头部和每页数据参数
|
||||
//第一页和第二页需要创建头
|
||||
if (i == 1)
|
||||
{
|
||||
//尾部增加行
|
||||
endaddNum = 8;
|
||||
//创建头部行和列
|
||||
ws = ExcelCreateRowTitle(ws, hssfworkbook, rowIndex, rowIndex + 2, style, 0, 12);
|
||||
//取数据开始和结束条数
|
||||
dStart = 0;
|
||||
dEnd = 11;
|
||||
//excel数据开始行和结束行
|
||||
tStart = rowIndex + 3;
|
||||
tEnd = rowIndex + 13;
|
||||
|
||||
#region 头部
|
||||
//行1
|
||||
region = new CellRangeAddress(rowIndex, rowIndex + 1, 0, 2);
|
||||
ws.AddMergedRegion(region);
|
||||
ws.GetRow(rowIndex).GetCell(0).SetCellValue("SH/T 3503-J415-1");
|
||||
region = new CellRangeAddress(rowIndex, rowIndex + 1, 3, 8);
|
||||
ws.AddMergedRegion(region);
|
||||
ws.GetRow(rowIndex).GetCell(3).SetCellValue("管道焊接工作记录");
|
||||
ws.GetRow(rowIndex).GetCell(3).CellStyle = styleTou;
|
||||
region = new CellRangeAddress(rowIndex, rowIndex, 9, 10);
|
||||
ws.AddMergedRegion(region);
|
||||
ws.GetRow(rowIndex).GetCell(9).SetCellValue("工程名称:");
|
||||
region = new CellRangeAddress(rowIndex, rowIndex, 11, 12);
|
||||
ws.AddMergedRegion(region);
|
||||
ws.GetRow(rowIndex).GetCell(10).CellStyle = styleRightNoneFontLeft;
|
||||
ws.GetRow(rowIndex).GetCell(11).SetCellValue(hidProjectName.Value);
|
||||
ws.GetRow(rowIndex).GetCell(11).CellStyle = styleFontLeft;
|
||||
//行2
|
||||
region = new CellRangeAddress(rowIndex + 1, rowIndex + 1, 9, 10);
|
||||
ws.AddMergedRegion(region);
|
||||
ws.GetRow(rowIndex + 1).GetCell(9).SetCellValue("单位工程名称:");
|
||||
region = new CellRangeAddress(rowIndex + 1, rowIndex + 1, 11, 12);
|
||||
ws.AddMergedRegion(region);
|
||||
ws.GetRow(rowIndex + 1).GetCell(10).CellStyle = styleRightNoneFontLeft;
|
||||
ws.GetRow(rowIndex + 1).GetCell(11).SetCellValue("管道安装工程");
|
||||
ws.GetRow(rowIndex + 1).GetCell(11).CellStyle = styleFontLeft;
|
||||
//行3
|
||||
ws.GetRow(rowIndex + 2).GetCell(0).SetCellValue("管道编号/单线号");
|
||||
region = new CellRangeAddress(rowIndex + 2, rowIndex + 2, 0, 1);
|
||||
ws.AddMergedRegion(region);
|
||||
ws.GetRow(rowIndex + 2).GetCell(2).SetCellValue("焊口\n编号");
|
||||
ws.GetRow(rowIndex + 2).GetCell(3).SetCellValue("焊工\n代号");
|
||||
ws.GetRow(rowIndex + 2).GetCell(4).SetCellValue("规格\nmm");
|
||||
ws.GetRow(rowIndex + 2).GetCell(5).SetCellValue("材质");
|
||||
ws.GetRow(rowIndex + 2).GetCell(6).SetCellValue("焊接位置");
|
||||
ws.GetRow(rowIndex + 2).GetCell(7).SetCellValue("焊接方法");
|
||||
ws.GetRow(rowIndex + 2).GetCell(8).SetCellValue("焊材牌号");
|
||||
region = new CellRangeAddress(rowIndex + 2, rowIndex + 2, 8, 9);
|
||||
ws.AddMergedRegion(region);
|
||||
ws.GetRow(rowIndex + 2).GetCell(10).SetCellValue("实际预热\n温度℃");
|
||||
region = new CellRangeAddress(rowIndex + 2, rowIndex + 2, 10, 11);
|
||||
ws.AddMergedRegion(region);
|
||||
ws.GetRow(rowIndex + 2).GetCell(12).SetCellValue("焊接日期");
|
||||
#endregion
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
//尾部增加行
|
||||
endaddNum = 2;
|
||||
//创建头部行和列
|
||||
ws = ExcelCreateRowTitle(ws, hssfworkbook, rowIndex, rowIndex + 3, style, 0, 12);
|
||||
var pNum = (i - 1) * 16;
|
||||
//取数据开始和结束条数
|
||||
dStart = 11 + ((i - 2) * 16);
|
||||
dEnd = 11 + pNum;
|
||||
//excel数据开始行和结束行
|
||||
tStart = rowIndex + 3;
|
||||
tEnd = rowIndex + 18;
|
||||
|
||||
#region 头部(续)
|
||||
//行1
|
||||
region = new CellRangeAddress(rowIndex, rowIndex + 1, 0, 2);
|
||||
ws.AddMergedRegion(region);
|
||||
ws.GetRow(rowIndex).GetCell(0).SetCellValue("SH/T 3503-J415-2");
|
||||
region = new CellRangeAddress(rowIndex, rowIndex + 1, 3, 8);
|
||||
ws.AddMergedRegion(region);
|
||||
ws.GetRow(rowIndex).GetCell(3).SetCellValue("管道焊接工作记录(续)");
|
||||
ws.GetRow(rowIndex).GetCell(3).CellStyle = styleTou;
|
||||
region = new CellRangeAddress(rowIndex, rowIndex, 9, 10);
|
||||
ws.AddMergedRegion(region);
|
||||
ws.GetRow(rowIndex).GetCell(9).SetCellValue("工程名称:");
|
||||
region = new CellRangeAddress(rowIndex, rowIndex, 11, 12);
|
||||
ws.AddMergedRegion(region);
|
||||
ws.GetRow(rowIndex).GetCell(10).CellStyle = styleRightNoneFontLeft;
|
||||
ws.GetRow(rowIndex).GetCell(11).SetCellValue(hidProjectName.Value);
|
||||
ws.GetRow(rowIndex).GetCell(11).CellStyle = styleFontLeft;
|
||||
//行2
|
||||
region = new CellRangeAddress(rowIndex + 1, rowIndex + 1, 9, 10);
|
||||
ws.AddMergedRegion(region);
|
||||
ws.GetRow(rowIndex + 1).GetCell(9).SetCellValue("单位工程名称:");
|
||||
region = new CellRangeAddress(rowIndex + 1, rowIndex + 1, 11, 12);
|
||||
ws.AddMergedRegion(region);
|
||||
ws.GetRow(rowIndex + 1).GetCell(10).CellStyle = styleRightNoneFontLeft;
|
||||
ws.GetRow(rowIndex + 1).GetCell(11).SetCellValue("管道安装工程");
|
||||
ws.GetRow(rowIndex + 1).GetCell(11).CellStyle = styleFontLeft;
|
||||
//行3
|
||||
ws.GetRow(rowIndex + 2).GetCell(0).SetCellValue("管道编号/单线号");
|
||||
region = new CellRangeAddress(rowIndex + 2, rowIndex + 2, 0, 1);
|
||||
ws.AddMergedRegion(region);
|
||||
ws.GetRow(rowIndex + 2).GetCell(2).SetCellValue("焊口\n编号");
|
||||
ws.GetRow(rowIndex + 2).GetCell(3).SetCellValue("焊工\n代号");
|
||||
ws.GetRow(rowIndex + 2).GetCell(4).SetCellValue("规格\nmm");
|
||||
ws.GetRow(rowIndex + 2).GetCell(5).SetCellValue("材质");
|
||||
ws.GetRow(rowIndex + 2).GetCell(6).SetCellValue("焊接位置");
|
||||
ws.GetRow(rowIndex + 2).GetCell(7).SetCellValue("焊接方法");
|
||||
ws.GetRow(rowIndex + 2).GetCell(8).SetCellValue("焊材牌号");
|
||||
region = new CellRangeAddress(rowIndex + 2, rowIndex + 2, 8, 9);
|
||||
ws.AddMergedRegion(region);
|
||||
ws.GetRow(rowIndex + 2).GetCell(10).SetCellValue("实际预热\n温度℃");
|
||||
region = new CellRangeAddress(rowIndex + 2, rowIndex + 2, 10, 11);
|
||||
ws.AddMergedRegion(region);
|
||||
ws.GetRow(rowIndex + 2).GetCell(12).SetCellValue("焊接日期");
|
||||
|
||||
#endregion
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 数据
|
||||
//创建数据行和列
|
||||
ws = ExcelCreateRow(ws, hssfworkbook, tStart, tEnd, style, 0, 12);
|
||||
//获取当前页数据
|
||||
var pageTb = GetPageToTable(tb, dStart, dEnd);
|
||||
//遍历数据
|
||||
for (int j = 0; j < pageTb.Rows.Count; j++)
|
||||
{
|
||||
int dataRow = tStart + j;
|
||||
ws.GetRow(dataRow).GetCell(0).SetCellValue(pageTb.Rows[j]["ISO_IsoNo"].ToString());
|
||||
ws.GetRow(dataRow).GetCell(2).SetCellValue(pageTb.Rows[j]["JOT_JointNo"].ToString());
|
||||
ws.GetRow(dataRow).GetCell(3).SetCellValue(pageTb.Rows[j]["WED_Code"].ToString());
|
||||
ws.GetRow(dataRow).GetCell(4).SetCellValue(pageTb.Rows[j]["JOT_JointDesc"].ToString());
|
||||
ws.GetRow(dataRow).GetCell(5).SetCellValue(pageTb.Rows[j]["STE_Code"].ToString());
|
||||
ws.GetRow(dataRow).GetCell(6).SetCellValue(pageTb.Rows[j]["weldLocal"].ToString());
|
||||
ws.GetRow(dataRow).GetCell(7).SetCellValue(pageTb.Rows[j]["WME_Name"].ToString());
|
||||
ws.GetRow(dataRow).GetCell(8).SetCellValue(pageTb.Rows[j]["WMT_MatName"].ToString());
|
||||
ws.GetRow(dataRow).GetCell(10).SetCellValue(pageTb.Rows[j]["JOT_PrepareTemp"].ToString());
|
||||
ws.GetRow(dataRow).GetCell(12).SetCellValue(pageTb.Rows[j]["WeldDate"].ToString());
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 尾部
|
||||
if (i == 1)
|
||||
{
|
||||
//尾部样式无线条
|
||||
ICellStyle noneStyle = CommonPrint.SetExcelStyle(hssfworkbook, BorderStyle.None, BorderStyle.None, BorderStyle.None, BorderStyle.None, VerticalAlignment.Center, HorizontalAlignment.Center, 10);
|
||||
int ej = 0;
|
||||
//创建尾部
|
||||
ws.CreateRow(tEnd + 1);
|
||||
ws.CreateRow(tEnd + 1).HeightInPoints = 21f;
|
||||
ws.CreateRow(tEnd + 2);
|
||||
ws.CreateRow(tEnd + 2).HeightInPoints = 21f;
|
||||
ws.CreateRow(tEnd + 3);
|
||||
ws.CreateRow(tEnd + 3).HeightInPoints = 21f;
|
||||
ws.CreateRow(tEnd + 4);
|
||||
ws.CreateRow(tEnd + 4).HeightInPoints = 21f;
|
||||
ws.CreateRow(tEnd + 5);
|
||||
ws.CreateRow(tEnd + 5).HeightInPoints = 21f;
|
||||
for (int eIndex = 0; eIndex <= 12; eIndex++)
|
||||
{
|
||||
//行1
|
||||
ws.GetRow(tEnd + 1).CreateCell(eIndex);
|
||||
ws.GetRow(tEnd + 1).GetCell(eIndex).CellStyle = style;
|
||||
//行2
|
||||
ws.GetRow(tEnd + 2).CreateCell(eIndex);
|
||||
ws.GetRow(tEnd + 2).GetCell(eIndex).CellStyle = noneStyle;
|
||||
//行3
|
||||
ws.GetRow(tEnd + 3).CreateCell(eIndex);
|
||||
ws.GetRow(tEnd + 3).GetCell(eIndex).CellStyle = noneStyle;
|
||||
//行4
|
||||
ws.GetRow(tEnd + 4).CreateCell(eIndex);
|
||||
ws.GetRow(tEnd + 4).GetCell(eIndex).CellStyle = noneStyle;
|
||||
//行5
|
||||
ws.GetRow(tEnd + 5).CreateCell(eIndex); ej++;
|
||||
}
|
||||
//尾部样式左侧线文字靠右
|
||||
ICellStyle leftStyle = CommonPrint.SetExcelStyle(hssfworkbook, BorderStyle.None, BorderStyle.Thin, BorderStyle.None, BorderStyle.None, VerticalAlignment.Center, HorizontalAlignment.Right, 10);
|
||||
//尾部样式左侧线文字居中
|
||||
ICellStyle createStyle = CommonPrint.SetExcelStyle(hssfworkbook, BorderStyle.None, BorderStyle.Thin, BorderStyle.None, BorderStyle.None, VerticalAlignment.Center, HorizontalAlignment.Center, 10);
|
||||
//尾部样式右侧线条文字靠右
|
||||
ICellStyle rightStyle = CommonPrint.SetExcelStyle(hssfworkbook, BorderStyle.None, BorderStyle.None, BorderStyle.Thin, BorderStyle.None, VerticalAlignment.Center, HorizontalAlignment.Right, 10);
|
||||
//尾部样式左下线文字靠右
|
||||
ICellStyle leftBottStyle = CommonPrint.SetExcelStyle(hssfworkbook, BorderStyle.Thin, BorderStyle.Thin, BorderStyle.None, BorderStyle.None, VerticalAlignment.Center, HorizontalAlignment.Right, 10);
|
||||
//尾部样式右下线条文字靠右
|
||||
ICellStyle rightBottStyle = CommonPrint.SetExcelStyle(hssfworkbook, BorderStyle.Thin, BorderStyle.None, BorderStyle.Thin, BorderStyle.None, VerticalAlignment.Center, HorizontalAlignment.Right, 10);
|
||||
|
||||
//尾部行1
|
||||
region = new CellRangeAddress(tEnd + 1, tEnd + 1, 0, 3);
|
||||
ws.AddMergedRegion(region);
|
||||
ws.GetRow(tEnd + 1).GetCell(0).SetCellValue("建设/监理单位");
|
||||
region = new CellRangeAddress(tEnd + 1, tEnd + 1, 4, 7);
|
||||
ws.AddMergedRegion(region);
|
||||
ws.GetRow(tEnd + 1).GetCell(4).SetCellValue("总承包单位");
|
||||
region = new CellRangeAddress(tEnd + 1, tEnd + 1, 8, 12);
|
||||
ws.AddMergedRegion(region);
|
||||
ws.GetRow(tEnd + 1).GetCell(8).SetCellValue("施工单位");
|
||||
//尾部行2
|
||||
ws.GetRow(tEnd + 2).GetCell(0).SetCellValue("专业工程师:");
|
||||
ws.GetRow(tEnd + 2).GetCell(0).CellStyle = createStyle;
|
||||
region = new CellRangeAddress(tEnd + 2, tEnd + 2, 0, 1);
|
||||
ws.AddMergedRegion(region);
|
||||
ws.GetRow(tEnd + 2).GetCell(4).SetCellValue("专业工程师:");
|
||||
ws.GetRow(tEnd + 2).GetCell(4).CellStyle = leftStyle;
|
||||
region = new CellRangeAddress(tEnd + 2, tEnd + 2, 8, 9);
|
||||
ws.AddMergedRegion(region);
|
||||
ws.GetRow(tEnd + 2).GetCell(8).SetCellValue("记录人:");
|
||||
ws.GetRow(tEnd + 2).GetCell(8).CellStyle = leftStyle;
|
||||
ws.GetRow(tEnd + 2).GetCell(12).CellStyle = rightStyle;
|
||||
//尾部行3
|
||||
ws.GetRow(tEnd + 3).GetCell(0).CellStyle = leftStyle;
|
||||
ws.GetRow(tEnd + 3).GetCell(4).CellStyle = leftStyle;
|
||||
region = new CellRangeAddress(tEnd + 3, tEnd + 3, 8, 9);
|
||||
ws.AddMergedRegion(region);
|
||||
ws.GetRow(tEnd + 3).GetCell(8).SetCellValue("质量检查员:");
|
||||
ws.GetRow(tEnd + 3).GetCell(8).CellStyle = leftStyle;
|
||||
ws.GetRow(tEnd + 3).GetCell(12).CellStyle = rightStyle;
|
||||
//尾部行4
|
||||
ws.GetRow(tEnd + 4).GetCell(0).CellStyle = leftStyle;
|
||||
ws.GetRow(tEnd + 4).GetCell(4).CellStyle = leftStyle;
|
||||
region = new CellRangeAddress(tEnd + 4, tEnd + 4, 8, 9);
|
||||
ws.AddMergedRegion(region);
|
||||
ws.GetRow(tEnd + 4).GetCell(8).SetCellValue("焊接责任工程师:");
|
||||
ws.GetRow(tEnd + 4).GetCell(8).CellStyle = leftStyle;
|
||||
ws.GetRow(tEnd + 4).GetCell(12).CellStyle = rightStyle;
|
||||
//尾部行5
|
||||
ws.GetRow(tEnd + 5).GetCell(0).SetCellValue("日期:");
|
||||
ws.GetRow(tEnd + 5).GetCell(0).CellStyle = leftBottStyle;
|
||||
region = new CellRangeAddress(tEnd + 5, tEnd + 5, 1, 3);
|
||||
ws.AddMergedRegion(region);
|
||||
ws.GetRow(tEnd + 5).GetCell(1).SetCellValue("年 月 日");
|
||||
ws.GetRow(tEnd + 5).GetCell(1).CellStyle = ws.GetRow(tEnd + 5).GetCell(2).CellStyle = ws.GetRow(tEnd + 5).GetCell(3).CellStyle = rightBottStyle;
|
||||
|
||||
ws.GetRow(tEnd + 5).GetCell(4).SetCellValue("日期:");
|
||||
ws.GetRow(tEnd + 5).GetCell(4).CellStyle = leftBottStyle;
|
||||
region = new CellRangeAddress(tEnd + 5, tEnd + 5, 5, 7);
|
||||
ws.AddMergedRegion(region);
|
||||
ws.GetRow(tEnd + 5).GetCell(5).SetCellValue(" 年 月 日");
|
||||
ws.GetRow(tEnd + 5).GetCell(5).CellStyle = ws.GetRow(tEnd + 5).GetCell(6).CellStyle = ws.GetRow(tEnd + 5).GetCell(7).CellStyle = rightBottStyle;
|
||||
|
||||
region = new CellRangeAddress(tEnd + 5, tEnd + 5, 8, 9);
|
||||
ws.AddMergedRegion(region);
|
||||
ws.GetRow(tEnd + 5).GetCell(8).SetCellValue("日期:");
|
||||
ws.GetRow(tEnd + 5).GetCell(8).CellStyle = ws.GetRow(tEnd + 5).GetCell(9).CellStyle = leftBottStyle;
|
||||
region = new CellRangeAddress(tEnd + 5, tEnd + 5, 10, 12);
|
||||
ws.AddMergedRegion(region);
|
||||
ws.GetRow(tEnd + 5).GetCell(10).SetCellValue("年 月 日");
|
||||
ws.GetRow(tEnd + 5).GetCell(10).CellStyle = ws.GetRow(tEnd + 5).GetCell(11).CellStyle = ws.GetRow(tEnd + 5).GetCell(12).CellStyle = rightBottStyle;
|
||||
}
|
||||
#endregion
|
||||
|
||||
rowIndex = tEnd + endaddNum;
|
||||
var newRow = dt.NewRow();
|
||||
newRow["ISO_IsoNo"] = row["ISO_IsoNo"].ToString();
|
||||
newRow["JOT_JointNo"] = row["JOT_JointNo"].ToString();
|
||||
newRow["WED_Code"] = row["WED_Code"].ToString();
|
||||
newRow["JOT_JointDesc"] = row["JOT_JointDesc"].ToString();
|
||||
newRow["STE_Code"] = row["STE_Code"].ToString();
|
||||
newRow["weldLocal"] = row["weldLocal"].ToString();
|
||||
newRow["WME_Name"] = row["WME_Name"].ToString();
|
||||
newRow["WMT_MatName"] = row["WMT_MatName"].ToString();
|
||||
newRow["JOT_PrepareTemp"] = row["JOT_PrepareTemp"].ToString();
|
||||
newRow["WeldDate"] = string.Format("{0:yyyy-MM-dd}", row["WeldDate"]);
|
||||
dt.Rows.Add(newRow);
|
||||
}
|
||||
BLL.Common.FastReportService.AddFastreportTable(dt);
|
||||
|
||||
initTemplatePath = "File\\Fastreport\\管道焊接工作记录.frx";
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ws.SetMargin(MarginType.LeftMargin, 0.6);
|
||||
ws.SetMargin(MarginType.RightMargin, 0.2);
|
||||
//ws.SetMargin(MarginType.BottomMargin, 1);
|
||||
//ws.SetMargin(MarginType.TopMargin, 1);
|
||||
ws.PrintSetup.Landscape = true;
|
||||
ws.PrintSetup.PaperSize = 9;
|
||||
|
||||
ws.ForceFormulaRecalculation = true;
|
||||
using (FileStream filess = File.OpenWrite(ReportFileName))
|
||||
if (File.Exists(rootPath + initTemplatePath))
|
||||
{
|
||||
hssfworkbook.Write(filess);
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("../common/ReportPrint/Fastreport.aspx?ReportPath={0}", rootPath + initTemplatePath)));
|
||||
|
||||
}
|
||||
FileInfo filet = new FileInfo(ReportFileName);
|
||||
Response.Clear();
|
||||
Response.Charset = "GB2312";
|
||||
Response.ContentEncoding = System.Text.Encoding.UTF8;
|
||||
// 添加头信息,为"文件下载/另存为"对话框指定默认文件名
|
||||
Response.AddHeader("Content-Disposition", "attachment; filename=" + Server.UrlEncode("管道焊接记录.xlsx"));
|
||||
// 添加头信息,指定文件大小,让浏览器能够显示下载进度
|
||||
Response.AddHeader("Content-Length", filet.Length.ToString());
|
||||
// 指定返回的是一个不能被客户端读取的流,必须被下载
|
||||
Response.ContentType = "application/ms-excel";
|
||||
// 把文件流发送到客户端
|
||||
Response.WriteFile(filet.FullName);
|
||||
// 停止页面的执行
|
||||
Response.End();
|
||||
}
|
||||
|
||||
#region 导出Excel,不用了
|
||||
//string rootPath = Server.MapPath("~/") + Const.ExcelUrl;
|
||||
////导出文件
|
||||
//string filePath = rootPath + DateTime.Now.ToString("yyyyMMddhhmmss") + "\\";
|
||||
//if (!Directory.Exists(filePath))
|
||||
//{
|
||||
// Directory.CreateDirectory(filePath);
|
||||
//}
|
||||
//string ReportFileName = filePath + "out.xlsx";
|
||||
//if (Grid2.Rows.Count > 0)
|
||||
//{
|
||||
// int rowIndex = 0;
|
||||
// XSSFWorkbook hssfworkbook = new XSSFWorkbook();
|
||||
// XSSFSheet ws = (XSSFSheet)hssfworkbook.CreateSheet("焊接工作记录");
|
||||
|
||||
// #region 列宽
|
||||
// ws.SetColumnWidth(0, (9 * 256) - 95);//(8.08)8.08
|
||||
// ws.SetColumnWidth(1, (9 * 256) - 95);//(8.08)8.08
|
||||
// ws.SetColumnWidth(2, (7 * 256) - 95);//(6.08)6.08
|
||||
// ws.SetColumnWidth(3, (11 * 256) - 95);//(10.08)10.08
|
||||
// ws.SetColumnWidth(4, (15 * 256) - 15);//(14.33)14.25
|
||||
// ws.SetColumnWidth(5, (21 * 256) + 15);//(20.55)20.5
|
||||
// ws.SetColumnWidth(6, (9 * 256) - 95);//(8.08)8.08
|
||||
// ws.SetColumnWidth(7, (9 * 256) - 95);//(8.08)8.08
|
||||
// ws.SetColumnWidth(8, (9 * 256) - 95);//(8.08)8.08
|
||||
// ws.SetColumnWidth(9, (9 * 256) - 95);//(8.08)8.08
|
||||
// ws.SetColumnWidth(10, (9 * 256) - 95);//(8.08)8.08
|
||||
// ws.SetColumnWidth(11, (5 * 256) + 100);//(4.83)4.83
|
||||
// ws.SetColumnWidth(12, (13 * 256) + 200);//(12.17)12.17
|
||||
// #endregion
|
||||
|
||||
// for (int gi = 0; gi < Grid2.Rows.Count; gi++)
|
||||
// {
|
||||
// if (Grid2.SelectedRowIndexArray.Contains(gi))
|
||||
// {
|
||||
// System.Web.UI.WebControls.HiddenField hidISO_ID = Grid2.Rows[gi].FindControl("hidISO_ID") as System.Web.UI.WebControls.HiddenField;
|
||||
// System.Web.UI.WebControls.HiddenField hidProjectName = Grid2.Rows[gi].FindControl("hidProjectName") as System.Web.UI.WebControls.HiddenField;
|
||||
// var listStr = new List<SqlParameter>();
|
||||
// listStr.Add(new SqlParameter("@IsoId", hidISO_ID.Value));
|
||||
// listStr.Add(new SqlParameter("@Flag", "0"));
|
||||
// SqlParameter[] parameter = listStr.ToArray();
|
||||
// var tb = SQLHelper.GetDataTableRunProc("HJGL_spJointWorkRecordNew", parameter);
|
||||
// if (tb.Rows.Count > 0)
|
||||
// {
|
||||
// //tb.Columns.Add("index", typeof(System.Int32));
|
||||
// //foreach (DataRow row in tb.Rows)
|
||||
// //{
|
||||
// // try
|
||||
// // {
|
||||
// // row["index"] = int.Parse(System.Text.RegularExpressions.Regex.Replace(row["JOT_JointNo"].ToString(), @"[^0-9]+", ""));
|
||||
// // }
|
||||
// // catch (Exception ex)
|
||||
// // {
|
||||
// // row["index"] = 0;
|
||||
// // }
|
||||
// //}
|
||||
// //DataView dv = tb.DefaultView;//获取表视图
|
||||
// //dv.Sort = "index ASC";//按照ID倒序排序
|
||||
// //tb = dv.ToTable();//转为表
|
||||
|
||||
// CellRangeAddress region;
|
||||
// //尾页面总数
|
||||
// var pageNum = 0d;
|
||||
// //尾部增加行
|
||||
// var endaddNum = 0;
|
||||
// //公共样式
|
||||
// ICellStyle style = CommonPrint.SetExcelStyle(hssfworkbook, BorderStyle.Thin, BorderStyle.Thin, BorderStyle.Thin, BorderStyle.Thin, VerticalAlignment.Center, HorizontalAlignment.Center, 10, true);
|
||||
// //文字靠左左侧无边框
|
||||
// ICellStyle styleFontLeft = CommonPrint.SetExcelStyle(hssfworkbook, BorderStyle.Thin, BorderStyle.None, BorderStyle.Thin, BorderStyle.Thin, VerticalAlignment.Center, HorizontalAlignment.Left, 10, true);
|
||||
// //文字靠左右边无边框
|
||||
// ICellStyle styleRightNoneFontLeft = CommonPrint.SetExcelStyle(hssfworkbook, BorderStyle.Thin, BorderStyle.Thin, BorderStyle.None, BorderStyle.Thin, VerticalAlignment.Center, HorizontalAlignment.Left, 10, true);
|
||||
// //头部样式
|
||||
// ICellStyle styleTou = CommonPrint.SetExcelStyle(hssfworkbook, BorderStyle.Thin, BorderStyle.Thin, BorderStyle.Thin, BorderStyle.Thin, VerticalAlignment.Center, HorizontalAlignment.Center, 16, true, true);
|
||||
// //计算页
|
||||
// pageNum =
|
||||
// tb.Rows.Count <= 11 ? 1
|
||||
// : (tb.Rows.Count > 11 && tb.Rows.Count <= 27) ? 2
|
||||
// : Math.Ceiling((float)(tb.Rows.Count - 27) / 16) + 2;
|
||||
// //循环页
|
||||
// for (int i = 1; i <= pageNum; i++)
|
||||
// {
|
||||
// //取数据开始和结束条数
|
||||
// var dStart = 0;
|
||||
// var dEnd = 0;
|
||||
// //excel数据开始行和结束行
|
||||
// var tStart = 0;
|
||||
// var tEnd = 0;
|
||||
|
||||
// #region 头部和每页数据参数
|
||||
// //第一页和第二页需要创建头
|
||||
// if (i == 1)
|
||||
// {
|
||||
// //尾部增加行
|
||||
// endaddNum = 8;
|
||||
// //创建头部行和列
|
||||
// ws = ExcelCreateRowTitle(ws, hssfworkbook, rowIndex, rowIndex + 2, style, 0, 12);
|
||||
// //取数据开始和结束条数
|
||||
// dStart = 0;
|
||||
// dEnd = 11;
|
||||
// //excel数据开始行和结束行
|
||||
// tStart = rowIndex + 3;
|
||||
// tEnd = rowIndex + 13;
|
||||
|
||||
// #region 头部
|
||||
// //行1
|
||||
// region = new CellRangeAddress(rowIndex, rowIndex + 1, 0, 2);
|
||||
// ws.AddMergedRegion(region);
|
||||
// ws.GetRow(rowIndex).GetCell(0).SetCellValue("SH/T 3503-J415-1");
|
||||
// region = new CellRangeAddress(rowIndex, rowIndex + 1, 3, 8);
|
||||
// ws.AddMergedRegion(region);
|
||||
// ws.GetRow(rowIndex).GetCell(3).SetCellValue("管道焊接工作记录");
|
||||
// ws.GetRow(rowIndex).GetCell(3).CellStyle = styleTou;
|
||||
// region = new CellRangeAddress(rowIndex, rowIndex, 9, 10);
|
||||
// ws.AddMergedRegion(region);
|
||||
// ws.GetRow(rowIndex).GetCell(9).SetCellValue("工程名称:");
|
||||
// region = new CellRangeAddress(rowIndex, rowIndex, 11, 12);
|
||||
// ws.AddMergedRegion(region);
|
||||
// ws.GetRow(rowIndex).GetCell(10).CellStyle = styleRightNoneFontLeft;
|
||||
// ws.GetRow(rowIndex).GetCell(11).SetCellValue(hidProjectName.Value);
|
||||
// ws.GetRow(rowIndex).GetCell(11).CellStyle = styleFontLeft;
|
||||
// //行2
|
||||
// region = new CellRangeAddress(rowIndex + 1, rowIndex + 1, 9, 10);
|
||||
// ws.AddMergedRegion(region);
|
||||
// ws.GetRow(rowIndex + 1).GetCell(9).SetCellValue("单位工程名称:");
|
||||
// region = new CellRangeAddress(rowIndex + 1, rowIndex + 1, 11, 12);
|
||||
// ws.AddMergedRegion(region);
|
||||
// ws.GetRow(rowIndex + 1).GetCell(10).CellStyle = styleRightNoneFontLeft;
|
||||
// ws.GetRow(rowIndex + 1).GetCell(11).SetCellValue("管道安装工程");
|
||||
// ws.GetRow(rowIndex + 1).GetCell(11).CellStyle = styleFontLeft;
|
||||
// //行3
|
||||
// ws.GetRow(rowIndex + 2).GetCell(0).SetCellValue("管道编号/单线号");
|
||||
// region = new CellRangeAddress(rowIndex + 2, rowIndex + 2, 0, 1);
|
||||
// ws.AddMergedRegion(region);
|
||||
// ws.GetRow(rowIndex + 2).GetCell(2).SetCellValue("焊口\n编号");
|
||||
// ws.GetRow(rowIndex + 2).GetCell(3).SetCellValue("焊工\n代号");
|
||||
// ws.GetRow(rowIndex + 2).GetCell(4).SetCellValue("规格\nmm");
|
||||
// ws.GetRow(rowIndex + 2).GetCell(5).SetCellValue("材质");
|
||||
// ws.GetRow(rowIndex + 2).GetCell(6).SetCellValue("焊接位置");
|
||||
// ws.GetRow(rowIndex + 2).GetCell(7).SetCellValue("焊接方法");
|
||||
// ws.GetRow(rowIndex + 2).GetCell(8).SetCellValue("焊材牌号");
|
||||
// region = new CellRangeAddress(rowIndex + 2, rowIndex + 2, 8, 9);
|
||||
// ws.AddMergedRegion(region);
|
||||
// ws.GetRow(rowIndex + 2).GetCell(10).SetCellValue("实际预热\n温度℃");
|
||||
// region = new CellRangeAddress(rowIndex + 2, rowIndex + 2, 10, 11);
|
||||
// ws.AddMergedRegion(region);
|
||||
// ws.GetRow(rowIndex + 2).GetCell(12).SetCellValue("焊接日期");
|
||||
// #endregion
|
||||
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// //尾部增加行
|
||||
// endaddNum = 2;
|
||||
// //创建头部行和列
|
||||
// ws = ExcelCreateRowTitle(ws, hssfworkbook, rowIndex, rowIndex + 3, style, 0, 12);
|
||||
// var pNum = (i - 1) * 16;
|
||||
// //取数据开始和结束条数
|
||||
// dStart = 11 + ((i - 2) * 16);
|
||||
// dEnd = 11 + pNum;
|
||||
// //excel数据开始行和结束行
|
||||
// tStart = rowIndex + 3;
|
||||
// tEnd = rowIndex + 18;
|
||||
|
||||
// #region 头部(续)
|
||||
// //行1
|
||||
// region = new CellRangeAddress(rowIndex, rowIndex + 1, 0, 2);
|
||||
// ws.AddMergedRegion(region);
|
||||
// ws.GetRow(rowIndex).GetCell(0).SetCellValue("SH/T 3503-J415-2");
|
||||
// region = new CellRangeAddress(rowIndex, rowIndex + 1, 3, 8);
|
||||
// ws.AddMergedRegion(region);
|
||||
// ws.GetRow(rowIndex).GetCell(3).SetCellValue("管道焊接工作记录(续)");
|
||||
// ws.GetRow(rowIndex).GetCell(3).CellStyle = styleTou;
|
||||
// region = new CellRangeAddress(rowIndex, rowIndex, 9, 10);
|
||||
// ws.AddMergedRegion(region);
|
||||
// ws.GetRow(rowIndex).GetCell(9).SetCellValue("工程名称:");
|
||||
// region = new CellRangeAddress(rowIndex, rowIndex, 11, 12);
|
||||
// ws.AddMergedRegion(region);
|
||||
// ws.GetRow(rowIndex).GetCell(10).CellStyle = styleRightNoneFontLeft;
|
||||
// ws.GetRow(rowIndex).GetCell(11).SetCellValue(hidProjectName.Value);
|
||||
// ws.GetRow(rowIndex).GetCell(11).CellStyle = styleFontLeft;
|
||||
// //行2
|
||||
// region = new CellRangeAddress(rowIndex + 1, rowIndex + 1, 9, 10);
|
||||
// ws.AddMergedRegion(region);
|
||||
// ws.GetRow(rowIndex + 1).GetCell(9).SetCellValue("单位工程名称:");
|
||||
// region = new CellRangeAddress(rowIndex + 1, rowIndex + 1, 11, 12);
|
||||
// ws.AddMergedRegion(region);
|
||||
// ws.GetRow(rowIndex + 1).GetCell(10).CellStyle = styleRightNoneFontLeft;
|
||||
// ws.GetRow(rowIndex + 1).GetCell(11).SetCellValue("管道安装工程");
|
||||
// ws.GetRow(rowIndex + 1).GetCell(11).CellStyle = styleFontLeft;
|
||||
// //行3
|
||||
// ws.GetRow(rowIndex + 2).GetCell(0).SetCellValue("管道编号/单线号");
|
||||
// region = new CellRangeAddress(rowIndex + 2, rowIndex + 2, 0, 1);
|
||||
// ws.AddMergedRegion(region);
|
||||
// ws.GetRow(rowIndex + 2).GetCell(2).SetCellValue("焊口\n编号");
|
||||
// ws.GetRow(rowIndex + 2).GetCell(3).SetCellValue("焊工\n代号");
|
||||
// ws.GetRow(rowIndex + 2).GetCell(4).SetCellValue("规格\nmm");
|
||||
// ws.GetRow(rowIndex + 2).GetCell(5).SetCellValue("材质");
|
||||
// ws.GetRow(rowIndex + 2).GetCell(6).SetCellValue("焊接位置");
|
||||
// ws.GetRow(rowIndex + 2).GetCell(7).SetCellValue("焊接方法");
|
||||
// ws.GetRow(rowIndex + 2).GetCell(8).SetCellValue("焊材牌号");
|
||||
// region = new CellRangeAddress(rowIndex + 2, rowIndex + 2, 8, 9);
|
||||
// ws.AddMergedRegion(region);
|
||||
// ws.GetRow(rowIndex + 2).GetCell(10).SetCellValue("实际预热\n温度℃");
|
||||
// region = new CellRangeAddress(rowIndex + 2, rowIndex + 2, 10, 11);
|
||||
// ws.AddMergedRegion(region);
|
||||
// ws.GetRow(rowIndex + 2).GetCell(12).SetCellValue("焊接日期");
|
||||
|
||||
// #endregion
|
||||
// }
|
||||
// #endregion
|
||||
|
||||
// #region 数据
|
||||
// //创建数据行和列
|
||||
// ws = ExcelCreateRow(ws, hssfworkbook, tStart, tEnd, style, 0, 12);
|
||||
// //获取当前页数据
|
||||
// var pageTb = GetPageToTable(tb, dStart, dEnd);
|
||||
// //遍历数据
|
||||
// for (int j = 0; j < pageTb.Rows.Count; j++)
|
||||
// {
|
||||
// int dataRow = tStart + j;
|
||||
// ws.GetRow(dataRow).GetCell(0).SetCellValue(pageTb.Rows[j]["ISO_IsoNo"].ToString());
|
||||
// ws.GetRow(dataRow).GetCell(2).SetCellValue(pageTb.Rows[j]["JOT_JointNo"].ToString());
|
||||
// ws.GetRow(dataRow).GetCell(3).SetCellValue(pageTb.Rows[j]["WED_Code"].ToString());
|
||||
// ws.GetRow(dataRow).GetCell(4).SetCellValue(pageTb.Rows[j]["JOT_JointDesc"].ToString());
|
||||
// ws.GetRow(dataRow).GetCell(5).SetCellValue(pageTb.Rows[j]["STE_Code"].ToString());
|
||||
// ws.GetRow(dataRow).GetCell(6).SetCellValue(pageTb.Rows[j]["weldLocal"].ToString());
|
||||
// ws.GetRow(dataRow).GetCell(7).SetCellValue(pageTb.Rows[j]["WME_Name"].ToString());
|
||||
// ws.GetRow(dataRow).GetCell(8).SetCellValue(pageTb.Rows[j]["WMT_MatName"].ToString());
|
||||
// ws.GetRow(dataRow).GetCell(10).SetCellValue(pageTb.Rows[j]["JOT_PrepareTemp"].ToString());
|
||||
// ws.GetRow(dataRow).GetCell(12).SetCellValue(pageTb.Rows[j]["WeldDate"].ToString());
|
||||
// }
|
||||
// #endregion
|
||||
|
||||
// #region 尾部
|
||||
// if (i == 1)
|
||||
// {
|
||||
// //尾部样式无线条
|
||||
// ICellStyle noneStyle = CommonPrint.SetExcelStyle(hssfworkbook, BorderStyle.None, BorderStyle.None, BorderStyle.None, BorderStyle.None, VerticalAlignment.Center, HorizontalAlignment.Center, 10);
|
||||
// int ej = 0;
|
||||
// //创建尾部
|
||||
// ws.CreateRow(tEnd + 1);
|
||||
// ws.CreateRow(tEnd + 1).HeightInPoints = 21f;
|
||||
// ws.CreateRow(tEnd + 2);
|
||||
// ws.CreateRow(tEnd + 2).HeightInPoints = 21f;
|
||||
// ws.CreateRow(tEnd + 3);
|
||||
// ws.CreateRow(tEnd + 3).HeightInPoints = 21f;
|
||||
// ws.CreateRow(tEnd + 4);
|
||||
// ws.CreateRow(tEnd + 4).HeightInPoints = 21f;
|
||||
// ws.CreateRow(tEnd + 5);
|
||||
// ws.CreateRow(tEnd + 5).HeightInPoints = 21f;
|
||||
// for (int eIndex = 0; eIndex <= 12; eIndex++)
|
||||
// {
|
||||
// //行1
|
||||
// ws.GetRow(tEnd + 1).CreateCell(eIndex);
|
||||
// ws.GetRow(tEnd + 1).GetCell(eIndex).CellStyle = style;
|
||||
// //行2
|
||||
// ws.GetRow(tEnd + 2).CreateCell(eIndex);
|
||||
// ws.GetRow(tEnd + 2).GetCell(eIndex).CellStyle = noneStyle;
|
||||
// //行3
|
||||
// ws.GetRow(tEnd + 3).CreateCell(eIndex);
|
||||
// ws.GetRow(tEnd + 3).GetCell(eIndex).CellStyle = noneStyle;
|
||||
// //行4
|
||||
// ws.GetRow(tEnd + 4).CreateCell(eIndex);
|
||||
// ws.GetRow(tEnd + 4).GetCell(eIndex).CellStyle = noneStyle;
|
||||
// //行5
|
||||
// ws.GetRow(tEnd + 5).CreateCell(eIndex); ej++;
|
||||
// }
|
||||
// //尾部样式左侧线文字靠右
|
||||
// ICellStyle leftStyle = CommonPrint.SetExcelStyle(hssfworkbook, BorderStyle.None, BorderStyle.Thin, BorderStyle.None, BorderStyle.None, VerticalAlignment.Center, HorizontalAlignment.Right, 10);
|
||||
// //尾部样式左侧线文字居中
|
||||
// ICellStyle createStyle = CommonPrint.SetExcelStyle(hssfworkbook, BorderStyle.None, BorderStyle.Thin, BorderStyle.None, BorderStyle.None, VerticalAlignment.Center, HorizontalAlignment.Center, 10);
|
||||
// //尾部样式右侧线条文字靠右
|
||||
// ICellStyle rightStyle = CommonPrint.SetExcelStyle(hssfworkbook, BorderStyle.None, BorderStyle.None, BorderStyle.Thin, BorderStyle.None, VerticalAlignment.Center, HorizontalAlignment.Right, 10);
|
||||
// //尾部样式左下线文字靠右
|
||||
// ICellStyle leftBottStyle = CommonPrint.SetExcelStyle(hssfworkbook, BorderStyle.Thin, BorderStyle.Thin, BorderStyle.None, BorderStyle.None, VerticalAlignment.Center, HorizontalAlignment.Right, 10);
|
||||
// //尾部样式右下线条文字靠右
|
||||
// ICellStyle rightBottStyle = CommonPrint.SetExcelStyle(hssfworkbook, BorderStyle.Thin, BorderStyle.None, BorderStyle.Thin, BorderStyle.None, VerticalAlignment.Center, HorizontalAlignment.Right, 10);
|
||||
|
||||
// //尾部行1
|
||||
// region = new CellRangeAddress(tEnd + 1, tEnd + 1, 0, 3);
|
||||
// ws.AddMergedRegion(region);
|
||||
// ws.GetRow(tEnd + 1).GetCell(0).SetCellValue("建设/监理单位");
|
||||
// region = new CellRangeAddress(tEnd + 1, tEnd + 1, 4, 7);
|
||||
// ws.AddMergedRegion(region);
|
||||
// ws.GetRow(tEnd + 1).GetCell(4).SetCellValue("总承包单位");
|
||||
// region = new CellRangeAddress(tEnd + 1, tEnd + 1, 8, 12);
|
||||
// ws.AddMergedRegion(region);
|
||||
// ws.GetRow(tEnd + 1).GetCell(8).SetCellValue("施工单位");
|
||||
// //尾部行2
|
||||
// ws.GetRow(tEnd + 2).GetCell(0).SetCellValue("专业工程师:");
|
||||
// ws.GetRow(tEnd + 2).GetCell(0).CellStyle = createStyle;
|
||||
// region = new CellRangeAddress(tEnd + 2, tEnd + 2, 0, 1);
|
||||
// ws.AddMergedRegion(region);
|
||||
// ws.GetRow(tEnd + 2).GetCell(4).SetCellValue("专业工程师:");
|
||||
// ws.GetRow(tEnd + 2).GetCell(4).CellStyle = leftStyle;
|
||||
// region = new CellRangeAddress(tEnd + 2, tEnd + 2, 8, 9);
|
||||
// ws.AddMergedRegion(region);
|
||||
// ws.GetRow(tEnd + 2).GetCell(8).SetCellValue("记录人:");
|
||||
// ws.GetRow(tEnd + 2).GetCell(8).CellStyle = leftStyle;
|
||||
// ws.GetRow(tEnd + 2).GetCell(12).CellStyle = rightStyle;
|
||||
// //尾部行3
|
||||
// ws.GetRow(tEnd + 3).GetCell(0).CellStyle = leftStyle;
|
||||
// ws.GetRow(tEnd + 3).GetCell(4).CellStyle = leftStyle;
|
||||
// region = new CellRangeAddress(tEnd + 3, tEnd + 3, 8, 9);
|
||||
// ws.AddMergedRegion(region);
|
||||
// ws.GetRow(tEnd + 3).GetCell(8).SetCellValue("质量检查员:");
|
||||
// ws.GetRow(tEnd + 3).GetCell(8).CellStyle = leftStyle;
|
||||
// ws.GetRow(tEnd + 3).GetCell(12).CellStyle = rightStyle;
|
||||
// //尾部行4
|
||||
// ws.GetRow(tEnd + 4).GetCell(0).CellStyle = leftStyle;
|
||||
// ws.GetRow(tEnd + 4).GetCell(4).CellStyle = leftStyle;
|
||||
// region = new CellRangeAddress(tEnd + 4, tEnd + 4, 8, 9);
|
||||
// ws.AddMergedRegion(region);
|
||||
// ws.GetRow(tEnd + 4).GetCell(8).SetCellValue("焊接责任工程师:");
|
||||
// ws.GetRow(tEnd + 4).GetCell(8).CellStyle = leftStyle;
|
||||
// ws.GetRow(tEnd + 4).GetCell(12).CellStyle = rightStyle;
|
||||
// //尾部行5
|
||||
// ws.GetRow(tEnd + 5).GetCell(0).SetCellValue("日期:");
|
||||
// ws.GetRow(tEnd + 5).GetCell(0).CellStyle = leftBottStyle;
|
||||
// region = new CellRangeAddress(tEnd + 5, tEnd + 5, 1, 3);
|
||||
// ws.AddMergedRegion(region);
|
||||
// ws.GetRow(tEnd + 5).GetCell(1).SetCellValue("年 月 日");
|
||||
// ws.GetRow(tEnd + 5).GetCell(1).CellStyle = ws.GetRow(tEnd + 5).GetCell(2).CellStyle = ws.GetRow(tEnd + 5).GetCell(3).CellStyle = rightBottStyle;
|
||||
|
||||
// ws.GetRow(tEnd + 5).GetCell(4).SetCellValue("日期:");
|
||||
// ws.GetRow(tEnd + 5).GetCell(4).CellStyle = leftBottStyle;
|
||||
// region = new CellRangeAddress(tEnd + 5, tEnd + 5, 5, 7);
|
||||
// ws.AddMergedRegion(region);
|
||||
// ws.GetRow(tEnd + 5).GetCell(5).SetCellValue(" 年 月 日");
|
||||
// ws.GetRow(tEnd + 5).GetCell(5).CellStyle = ws.GetRow(tEnd + 5).GetCell(6).CellStyle = ws.GetRow(tEnd + 5).GetCell(7).CellStyle = rightBottStyle;
|
||||
|
||||
// region = new CellRangeAddress(tEnd + 5, tEnd + 5, 8, 9);
|
||||
// ws.AddMergedRegion(region);
|
||||
// ws.GetRow(tEnd + 5).GetCell(8).SetCellValue("日期:");
|
||||
// ws.GetRow(tEnd + 5).GetCell(8).CellStyle = ws.GetRow(tEnd + 5).GetCell(9).CellStyle = leftBottStyle;
|
||||
// region = new CellRangeAddress(tEnd + 5, tEnd + 5, 10, 12);
|
||||
// ws.AddMergedRegion(region);
|
||||
// ws.GetRow(tEnd + 5).GetCell(10).SetCellValue("年 月 日");
|
||||
// ws.GetRow(tEnd + 5).GetCell(10).CellStyle = ws.GetRow(tEnd + 5).GetCell(11).CellStyle = ws.GetRow(tEnd + 5).GetCell(12).CellStyle = rightBottStyle;
|
||||
// }
|
||||
// #endregion
|
||||
|
||||
// rowIndex = tEnd + endaddNum;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
// ws.SetMargin(MarginType.LeftMargin, 0.6);
|
||||
// ws.SetMargin(MarginType.RightMargin, 0.2);
|
||||
// //ws.SetMargin(MarginType.BottomMargin, 1);
|
||||
// //ws.SetMargin(MarginType.TopMargin, 1);
|
||||
// ws.PrintSetup.Landscape = true;
|
||||
// ws.PrintSetup.PaperSize = 9;
|
||||
|
||||
// ws.ForceFormulaRecalculation = true;
|
||||
// using (FileStream filess = File.OpenWrite(ReportFileName))
|
||||
// {
|
||||
// hssfworkbook.Write(filess);
|
||||
// }
|
||||
// FileInfo filet = new FileInfo(ReportFileName);
|
||||
// Response.Clear();
|
||||
// Response.Charset = "GB2312";
|
||||
// Response.ContentEncoding = System.Text.Encoding.UTF8;
|
||||
// // 添加头信息,为"文件下载/另存为"对话框指定默认文件名
|
||||
// Response.AddHeader("Content-Disposition", "attachment; filename=" + Server.UrlEncode("管道焊接记录.xlsx"));
|
||||
// // 添加头信息,指定文件大小,让浏览器能够显示下载进度
|
||||
// Response.AddHeader("Content-Length", filet.Length.ToString());
|
||||
// // 指定返回的是一个不能被客户端读取的流,必须被下载
|
||||
// Response.ContentType = "application/ms-excel";
|
||||
// // 把文件流发送到客户端
|
||||
// Response.WriteFile(filet.FullName);
|
||||
// // 停止页面的执行
|
||||
// Response.End();
|
||||
//}
|
||||
#endregion
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
|
|
@ -0,0 +1,557 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="05/06/2025 14:30:21" ReportInfo.Modified="05/06/2025 18:02:32" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<Dictionary>
|
||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqM3/HbiZANEYP3Y6oNtE7mnpx+oG3GHIPNmrMCiyY8aaCVynM0fYlZ5YZKM9WrQe9hDk43vX9Nrar7yVij5ew8q/J9lwWi1b952G1Um0cxl494yv4mzdxck6kbW3d7FWyIyy5Y3kZKgYQAMl3yENzWQ5YW8BhaGCHvLBX14AYWM43EIlupHCcnqYTj+lwXcpV">
|
||||
<TableDataSource Name="MainData" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="MainData">
|
||||
<Column Name="TestEngineeringCode" DataType="System.String" PropName="attach_image_id"/>
|
||||
<Column Name="GuideBookCode" DataType="System.String" PropName="image_series"/>
|
||||
<Column Name="file_name" DataType="System.String"/>
|
||||
<Column Name="file_size" DataType="System.Double"/>
|
||||
<Column Name="file_type" DataType="System.String"/>
|
||||
<Column Name="created_date" DataType="System.DateTime"/>
|
||||
<Column Name="created_by" DataType="System.String"/>
|
||||
<Column Name="series_desc" DataType="System.String"/>
|
||||
<Column Name="file_path" DataType="System.String"/>
|
||||
<Column Name="series_timestamp" DataType="System.String"/>
|
||||
</TableDataSource>
|
||||
<TableDataSource Name="Data" DataType="System.Int32" PropName="AttachFile" Enabled="true" TableName="Data">
|
||||
<Column Name="AttachFileId" DataType="System.String"/>
|
||||
<Column Name="ToKeyId" DataType="System.String"/>
|
||||
<Column Name="AttachSource" DataType="System.String"/>
|
||||
<Column Name="AttachUrl" DataType="System.String"/>
|
||||
<Column Name="MenuId" DataType="System.String"/>
|
||||
</TableDataSource>
|
||||
</MsSqlDataConnection>
|
||||
</Dictionary>
|
||||
<ReportPage Name="Page1" Guides="0,718.2,66.15,47.25,56.7,75.6,28.35,18.9,85.05,217.35,264.6,396.9,463.05,595.35,330.75,519.75,151.2,652.05,717.99,119.86,239.72,359.58,479.44,599.3,118.69">
|
||||
<PageHeaderBand Name="PageHeader1" Width="718.2" Height="548.1" PrintOn="FirstPage" Guides="0,548.1,18.9,37.8,66.15,28.35,103.95,132.3,160.65,274.05,198.45,236.25,349.65,311.85,481.95,387.45,415.8,444.15,510.3">
|
||||
<TableObject Name="Table1" Width="718.2" Height="548.1">
|
||||
<TableColumn Name="Column1" Width="18.9"/>
|
||||
<TableColumn Name="Column2"/>
|
||||
<TableColumn Name="Column3"/>
|
||||
<TableColumn Name="Column4"/>
|
||||
<TableColumn Name="Column5" Width="47.25"/>
|
||||
<TableColumn Name="Column6"/>
|
||||
<TableColumn Name="Column7"/>
|
||||
<TableColumn Name="Column8"/>
|
||||
<TableColumn Name="Column9" Width="56.7"/>
|
||||
<TableColumn Name="Column10" Width="75.6"/>
|
||||
<TableColumn Name="Column11" Width="28.35"/>
|
||||
<TableColumn Name="Column12" Width="28.35"/>
|
||||
<TableColumn Name="Column13" Width="28.35"/>
|
||||
<TableColumn Name="Column14" Width="18.9"/>
|
||||
<TableColumn Name="Column15" Width="18.9"/>
|
||||
<TableRow Name="Row1">
|
||||
<TableCell Name="Cell1" Text="YA-BK-107.2-2019" HorzAlign="Right" VertAlign="Center" ColSpan="15"/>
|
||||
<TableCell Name="Cell2" HorzAlign="Right" VertAlign="Center"/>
|
||||
<TableCell Name="Cell3" HorzAlign="Right" VertAlign="Center"/>
|
||||
<TableCell Name="Cell4" HorzAlign="Right" VertAlign="Center"/>
|
||||
<TableCell Name="Cell5" HorzAlign="Right" VertAlign="Center"/>
|
||||
<TableCell Name="Cell26" HorzAlign="Right" VertAlign="Center"/>
|
||||
<TableCell Name="Cell27" HorzAlign="Right" VertAlign="Center"/>
|
||||
<TableCell Name="Cell28" HorzAlign="Right" VertAlign="Center"/>
|
||||
<TableCell Name="Cell29" HorzAlign="Right" VertAlign="Center"/>
|
||||
<TableCell Name="Cell30" HorzAlign="Right" VertAlign="Center"/>
|
||||
<TableCell Name="Cell31" HorzAlign="Right" VertAlign="Center"/>
|
||||
<TableCell Name="Cell32" HorzAlign="Right" VertAlign="Center"/>
|
||||
<TableCell Name="Cell33" HorzAlign="Right" VertAlign="Center"/>
|
||||
<TableCell Name="Cell34" HorzAlign="Right" VertAlign="Center"/>
|
||||
<TableCell Name="Cell35" HorzAlign="Right" VertAlign="Center"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row2">
|
||||
<TableCell Name="Cell6" Text="浙江石油化工有限公司" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="15"/>
|
||||
<TableCell Name="Cell7"/>
|
||||
<TableCell Name="Cell8"/>
|
||||
<TableCell Name="Cell9"/>
|
||||
<TableCell Name="Cell10"/>
|
||||
<TableCell Name="Cell36"/>
|
||||
<TableCell Name="Cell37"/>
|
||||
<TableCell Name="Cell38"/>
|
||||
<TableCell Name="Cell39"/>
|
||||
<TableCell Name="Cell40"/>
|
||||
<TableCell Name="Cell41"/>
|
||||
<TableCell Name="Cell42"/>
|
||||
<TableCell Name="Cell43"/>
|
||||
<TableCell Name="Cell44"/>
|
||||
<TableCell Name="Cell45"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row3" Height="28.35">
|
||||
<TableCell Name="Cell11" Text="射 线 检 测 记 录" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt" ColSpan="15"/>
|
||||
<TableCell Name="Cell12" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt"/>
|
||||
<TableCell Name="Cell13" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt"/>
|
||||
<TableCell Name="Cell14" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt"/>
|
||||
<TableCell Name="Cell15" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt"/>
|
||||
<TableCell Name="Cell46" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt"/>
|
||||
<TableCell Name="Cell47" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt"/>
|
||||
<TableCell Name="Cell48" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt"/>
|
||||
<TableCell Name="Cell49" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt"/>
|
||||
<TableCell Name="Cell50" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt"/>
|
||||
<TableCell Name="Cell51" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt"/>
|
||||
<TableCell Name="Cell52" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt"/>
|
||||
<TableCell Name="Cell53" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt"/>
|
||||
<TableCell Name="Cell54" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt"/>
|
||||
<TableCell Name="Cell55" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row4" Height="37.8">
|
||||
<TableCell Name="Cell16" Border.Lines="All" Text="工程编号" HorzAlign="Center" VertAlign="Center" ColSpan="2"/>
|
||||
<TableCell Name="Cell17" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell18" Border.Lines="All" HorzAlign="Center" VertAlign="Center" ColSpan="2"/>
|
||||
<TableCell Name="Cell19" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell20" Border.Lines="All" Text="指导书编号" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell56" Border.Lines="All" HorzAlign="Center" VertAlign="Center" ColSpan="2"/>
|
||||
<TableCell Name="Cell57" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell58" Border.Lines="All" Text="记录编号" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell59" Border.Lines="All" HorzAlign="Center" VertAlign="Center" ColSpan="2"/>
|
||||
<TableCell Name="Cell60" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell61" Border.Lines="All" Text="共[TotalPages#]页 第[Page#]页" HorzAlign="Center" VertAlign="Center" ColSpan="5"/>
|
||||
<TableCell Name="Cell62" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell63" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell64" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell65" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row5" Height="28.35">
|
||||
<TableCell Name="Cell21" Border.Lines="All" Text="委托单位" HorzAlign="Center" VertAlign="Center" ColSpan="2"/>
|
||||
<TableCell Name="Cell22" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell23" Border.Lines="All" HorzAlign="Center" VertAlign="Center" ColSpan="3"/>
|
||||
<TableCell Name="Cell24" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell25" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell66" Border.Lines="All" Text="施工单位" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell67" Border.Lines="All" HorzAlign="Center" VertAlign="Center" ColSpan="3"/>
|
||||
<TableCell Name="Cell68" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell69" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell70" Border.Lines="All" Text="委托日期" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell71" Border.Lines="All" HorzAlign="Center" VertAlign="Center" ColSpan="5"/>
|
||||
<TableCell Name="Cell72" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell73" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell74" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell75" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row6" Height="28.35">
|
||||
<TableCell Name="Cell76" Border.Lines="All" Text="工程名称" HorzAlign="Center" VertAlign="Center" ColSpan="2"/>
|
||||
<TableCell Name="Cell77" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell78" Border.Lines="All" HorzAlign="Center" VertAlign="Center" ColSpan="3"/>
|
||||
<TableCell Name="Cell79" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell80" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell81" Border.Lines="All" Text="施工号" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell82" Border.Lines="All" HorzAlign="Center" VertAlign="Center" ColSpan="3"/>
|
||||
<TableCell Name="Cell83" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell84" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell85" Border.Lines="All" Text="委托人" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell86" Border.Lines="All" HorzAlign="Center" VertAlign="Center" ColSpan="5"/>
|
||||
<TableCell Name="Cell87" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell88" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell89" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell90" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row7" Height="37.8">
|
||||
<TableCell Name="Cell91" Border.Lines="All" Text="工件信息" HorzAlign="Center" VertAlign="Center" RowSpan="3"/>
|
||||
<TableCell Name="Cell92" Border.Lines="All" Text="工件编号" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell93" Border.Lines="All" HorzAlign="Center" VertAlign="Center" ColSpan="2"/>
|
||||
<TableCell Name="Cell94" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell95" Border.Lines="All" Text="工件名称" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell96" Border.Lines="All" HorzAlign="Center" VertAlign="Center" ColSpan="4"/>
|
||||
<TableCell Name="Cell97" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell98" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell99" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell100" Border.Lines="All" Text="工件类型" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell101" Border.Lines="All" Text="□容器□管道□试件" HorzAlign="Center" VertAlign="Center" ColSpan="5"/>
|
||||
<TableCell Name="Cell102" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell103" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell104" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell105" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row8" Height="37.8">
|
||||
<TableCell Name="Cell106" Border.Lines="All"/>
|
||||
<TableCell Name="Cell107" Border.Lines="All" Text="工件材质" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell108" Border.Lines="All" HorzAlign="Center" VertAlign="Center" ColSpan="2"/>
|
||||
<TableCell Name="Cell109" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell110" Border.Lines="All" Text="坡口型式" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell111" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell112" Border.Lines="All" Text="检测比例" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell113" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell114" Border.Lines="All" Text="焊接方法" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell115" Border.Lines="All" HorzAlign="Center" VertAlign="Center" ColSpan="6"/>
|
||||
<TableCell Name="Cell116" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell117" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell118" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell119" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell120" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row9" Height="37.8">
|
||||
<TableCell Name="Cell121" Border.Lines="All"/>
|
||||
<TableCell Name="Cell122" Border.Lines="All" Text="热处理状态" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell123" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell124" Border.Lines="All" Text="检测时机" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell125" Border.Lines="All" Text="焊后" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell126" Border.Lines="All" Text="表面状况" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell127" Border.Lines="All" Text="机械打磨" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell128" Border.Lines="All" Text="检测地点" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell129" Border.Lines="All" Text="□厂房 □现场 □曝光室" HorzAlign="Center" VertAlign="Center" ColSpan="7"/>
|
||||
<TableCell Name="Cell130" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell131" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell132" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell133" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell134" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell135" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row10" Height="37.8">
|
||||
<TableCell Name="Cell136" Border.Lines="All" Text="器材" HorzAlign="Center" VertAlign="Center" RowSpan="2"/>
|
||||
<TableCell Name="Cell137" Border.Lines="All" Text="射线种类" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell138" Border.Lines="All" Text="□X □γ" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell139" Border.Lines="All" Text="仪器型号和编号" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell140" Border.Lines="All" HorzAlign="Center" VertAlign="Center" ColSpan="3"/>
|
||||
<TableCell Name="Cell141" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell142" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell143" Border.Lines="All" Text="焦点尺寸" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell144" Border.Lines="All" Text="□0.6□2.0□3.0□5.5" HorzAlign="Center" VertAlign="Center" ColSpan="7"/>
|
||||
<TableCell Name="Cell145" Border.Lines="All"/>
|
||||
<TableCell Name="Cell146" Border.Lines="All"/>
|
||||
<TableCell Name="Cell147" Border.Lines="All"/>
|
||||
<TableCell Name="Cell148" Border.Lines="All"/>
|
||||
<TableCell Name="Cell149" Border.Lines="All"/>
|
||||
<TableCell Name="Cell150" Border.Lines="All"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row11" Height="37.8">
|
||||
<TableCell Name="Cell151" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell152" Border.Lines="All" Text="胶片型号/分类" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell153" Border.Lines="All" Text="Agfa C7、C5类□/Agfa C4、C4类□" HorzAlign="Center" VertAlign="Center" ColSpan="3"/>
|
||||
<TableCell Name="Cell154" Border.Lines="All"/>
|
||||
<TableCell Name="Cell155" Border.Lines="All"/>
|
||||
<TableCell Name="Cell156" Border.Lines="All" Text="增感方式" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell157" Border.Lines="All" Text="Pb(□0.03/0.1,□0.1/□0.1)" HorzAlign="Center" VertAlign="Center" ColSpan="3"/>
|
||||
<TableCell Name="Cell158" Border.Lines="All"/>
|
||||
<TableCell Name="Cell159" Border.Lines="All"/>
|
||||
<TableCell Name="Cell160" Border.Lines="All" Text="像质计" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell161" Border.Lines="All" Text="□ FE JB □专用FE" HorzAlign="Center" VertAlign="Center" ColSpan="5"/>
|
||||
<TableCell Name="Cell162" Border.Lines="All"/>
|
||||
<TableCell Name="Cell163" Border.Lines="All"/>
|
||||
<TableCell Name="Cell164" Border.Lines="All"/>
|
||||
<TableCell Name="Cell165" Border.Lines="All"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row12" Height="37.8">
|
||||
<TableCell Name="Cell166" Border.Lines="All" Text="检测技术参数" HorzAlign="Center" VertAlign="Center" RowSpan="4"/>
|
||||
<TableCell Name="Cell167" Border.Lines="All" Text="标准、合格等级" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell168" Border.Lines="All" HorzAlign="Center" VertAlign="Center" ColSpan="2"/>
|
||||
<TableCell Name="Cell169" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell170" Border.Lines="All" Text="检测技术等级" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell171" Border.Lines="All" Text="AB" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell172" Border.Lines="All" Text="透照技术" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell173" Border.Lines="All" Text="□单片,□双片" HorzAlign="Center" VertAlign="Center" ColSpan="2"/>
|
||||
<TableCell Name="Cell174" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell175" Border.Lines="All" Text="透照方式" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell176" Border.Lines="All" Text="□SD □SS □FZ " HorzAlign="Center" VertAlign="Center" ColSpan="5"/>
|
||||
<TableCell Name="Cell177" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell178" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell179" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell180" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row13" Height="28.35">
|
||||
<TableCell Name="Cell181" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell182" Border.Lines="All" Text="曝光参数" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell183" Border.Lines="All" Text="kv" HorzAlign="Right" VertAlign="Center"/>
|
||||
<TableCell Name="Cell184" Border.Lines="Left, Top, Bottom" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell185" Border.Lines="Right, Top, Bottom" Text="mA×mi" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell186" Border.Lines="Left, Top, Bottom" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell187" Border.Lines="Right, Top, Bottom" Text="Ci×min" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell188" Border.Lines="Left, Top, Bottom" Text="焦距 F" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell189" Border.Lines="Right, Top, Bottom" Text="mm" HorzAlign="Right" VertAlign="Center"/>
|
||||
<TableCell Name="Cell190" Border.Lines="All" Text="有效长度" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell191" Border.Lines="All" HorzAlign="Center" VertAlign="Center" ColSpan="5"/>
|
||||
<TableCell Name="Cell192" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell193" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell194" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell195" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row14" Height="28.35">
|
||||
<TableCell Name="Cell196" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell197" Border.Lines="All" Text="显定影配方" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell198" Border.Lines="All" Text="手工配方" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell199" Border.Lines="All" Text="暗室处理方式" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell200" Border.Lines="All" Text="□自动□手工" HorzAlign="Center" VertAlign="Center" ColSpan="2"/>
|
||||
<TableCell Name="Cell201" Border.Lines="All"/>
|
||||
<TableCell Name="Cell202" Border.Lines="All" Text="显定影参数" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell203" Border.Lines="All" Text=" ℃,显 min,定 min" HorzAlign="Center" VertAlign="Center" ColSpan="2"/>
|
||||
<TableCell Name="Cell204" Border.Lines="All" HorzAlign="Right"/>
|
||||
<TableCell Name="Cell205" Border.Lines="All" Text="检测区域" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell206" Border.Lines="All" Text="焊缝及两侧各5mm" HorzAlign="Center" VertAlign="Center" ColSpan="5"/>
|
||||
<TableCell Name="Cell207" Border.Lines="All"/>
|
||||
<TableCell Name="Cell208" Border.Lines="All"/>
|
||||
<TableCell Name="Cell209" Border.Lines="All"/>
|
||||
<TableCell Name="Cell210" Border.Lines="All"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row15" Height="37.8">
|
||||
<TableCell Name="Cell211" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell212" Border.Lines="All" Text="底片黑度" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell213" Border.Lines="All" Text="□1.5~4.5/□2.0~4.5" HorzAlign="Center" VertAlign="Center" ColSpan="2"/>
|
||||
<TableCell Name="Cell214" Border.Lines="All"/>
|
||||
<TableCell Name="Cell215" Border.Lines="All" Text="观片技术" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell216" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell217" Border.Lines="All" Text="□单片,□双片" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell218" Border.Lines="All" Text="无用射线防护" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell219" Border.Lines="All" Text="□背散射防护,□滤光板防护,□侧散射防护" HorzAlign="Center" VertAlign="Center" ColSpan="7"/>
|
||||
<TableCell Name="Cell220" Border.Lines="All"/>
|
||||
<TableCell Name="Cell221" Border.Lines="All"/>
|
||||
<TableCell Name="Cell222" Border.Lines="All"/>
|
||||
<TableCell Name="Cell223" Border.Lines="All"/>
|
||||
<TableCell Name="Cell224" Border.Lines="All"/>
|
||||
<TableCell Name="Cell225" Border.Lines="All"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row16" Height="28.35">
|
||||
<TableCell Name="Cell226" Border.Lines="All"/>
|
||||
<TableCell Name="Cell227" Border.Lines="All" Text="其他说明" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell228" Border.Lines="All" HorzAlign="Center" VertAlign="Center" ColSpan="13"/>
|
||||
<TableCell Name="Cell229" Border.Lines="All"/>
|
||||
<TableCell Name="Cell230" Border.Lines="All"/>
|
||||
<TableCell Name="Cell231" Border.Lines="All"/>
|
||||
<TableCell Name="Cell232" Border.Lines="All"/>
|
||||
<TableCell Name="Cell233" Border.Lines="All"/>
|
||||
<TableCell Name="Cell234" Border.Lines="All"/>
|
||||
<TableCell Name="Cell235" Border.Lines="All"/>
|
||||
<TableCell Name="Cell236" Border.Lines="All"/>
|
||||
<TableCell Name="Cell237" Border.Lines="All"/>
|
||||
<TableCell Name="Cell238" Border.Lines="All"/>
|
||||
<TableCell Name="Cell239" Border.Lines="All"/>
|
||||
<TableCell Name="Cell240" Border.Lines="All"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row17" Height="37.8">
|
||||
<TableCell Name="Cell241" Border.Lines="All" Text="序号" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell242" Border.Lines="All" Text="焊缝编号" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell243" Border.Lines="All" Text="检件规格" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell244" Border.Lines="All" Text="焊工号" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell245" Border.Lines="All" Text="底片编号" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell246" Border.Lines="All" Text="返修次数" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell247" Border.Lines="All" Text="灵敏度值" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell248" Border.Lines="All" Text="缺陷性质" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell249" Border.Lines="All" Text="缺陷定量" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell250" Border.Lines="All" Text="超标缺陷部位" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell251" Border.Lines="All" Text="评定结果" HorzAlign="Center" VertAlign="Center" ColSpan="2"/>
|
||||
<TableCell Name="Cell252" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell253" Border.Lines="All" Text="备注" HorzAlign="Center" VertAlign="Center" ColSpan="3"/>
|
||||
<TableCell Name="Cell254" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell255" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
</TableRow>
|
||||
</TableObject>
|
||||
<ChildBand Name="Child1" Top="552.1" Width="718.2" Height="160.65" PrintOn="LastPage, OddPages, EvenPages, RepeatedBand, SinglePage" Guides="0,160.65,18.9,37.8,66.15,28.35,94.5,122.85">
|
||||
<TableObject Name="Table2" Width="718.2" Height="160.65">
|
||||
<TableColumn Name="Column16" Width="18.9"/>
|
||||
<TableColumn Name="Column17"/>
|
||||
<TableColumn Name="Column18"/>
|
||||
<TableColumn Name="Column19"/>
|
||||
<TableColumn Name="Column20" Width="47.25"/>
|
||||
<TableColumn Name="Column21"/>
|
||||
<TableColumn Name="Column22"/>
|
||||
<TableColumn Name="Column23"/>
|
||||
<TableColumn Name="Column24" Width="56.7"/>
|
||||
<TableColumn Name="Column25" Width="75.6"/>
|
||||
<TableColumn Name="Column26" Width="28.35"/>
|
||||
<TableColumn Name="Column27" Width="28.35"/>
|
||||
<TableColumn Name="Column28" Width="28.35"/>
|
||||
<TableColumn Name="Column29" Width="18.9"/>
|
||||
<TableColumn Name="Column30" Width="18.9"/>
|
||||
<TableRow Name="Row18">
|
||||
<TableCell Name="Cell256" Text="YA-BK-107.2-2019" HorzAlign="Right" VertAlign="Center" ColSpan="15"/>
|
||||
<TableCell Name="Cell257" HorzAlign="Right" VertAlign="Center"/>
|
||||
<TableCell Name="Cell258" HorzAlign="Right" VertAlign="Center"/>
|
||||
<TableCell Name="Cell259" HorzAlign="Right" VertAlign="Center"/>
|
||||
<TableCell Name="Cell260" HorzAlign="Right" VertAlign="Center"/>
|
||||
<TableCell Name="Cell261" HorzAlign="Right" VertAlign="Center"/>
|
||||
<TableCell Name="Cell262" HorzAlign="Right" VertAlign="Center"/>
|
||||
<TableCell Name="Cell263" HorzAlign="Right" VertAlign="Center"/>
|
||||
<TableCell Name="Cell264" HorzAlign="Right" VertAlign="Center"/>
|
||||
<TableCell Name="Cell265" HorzAlign="Right" VertAlign="Center"/>
|
||||
<TableCell Name="Cell266" HorzAlign="Right" VertAlign="Center"/>
|
||||
<TableCell Name="Cell267" HorzAlign="Right" VertAlign="Center"/>
|
||||
<TableCell Name="Cell268" HorzAlign="Right" VertAlign="Center"/>
|
||||
<TableCell Name="Cell269" HorzAlign="Right" VertAlign="Center"/>
|
||||
<TableCell Name="Cell270" HorzAlign="Right" VertAlign="Center"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row19">
|
||||
<TableCell Name="Cell271" Text="浙江石油化工有限公司" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="15"/>
|
||||
<TableCell Name="Cell272"/>
|
||||
<TableCell Name="Cell273"/>
|
||||
<TableCell Name="Cell274"/>
|
||||
<TableCell Name="Cell275"/>
|
||||
<TableCell Name="Cell276"/>
|
||||
<TableCell Name="Cell277"/>
|
||||
<TableCell Name="Cell278"/>
|
||||
<TableCell Name="Cell279"/>
|
||||
<TableCell Name="Cell280"/>
|
||||
<TableCell Name="Cell281"/>
|
||||
<TableCell Name="Cell282"/>
|
||||
<TableCell Name="Cell283"/>
|
||||
<TableCell Name="Cell284"/>
|
||||
<TableCell Name="Cell285"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row20" Height="28.35">
|
||||
<TableCell Name="Cell286" Text="射 线 检 测 记 录" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt" ColSpan="15"/>
|
||||
<TableCell Name="Cell287" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt"/>
|
||||
<TableCell Name="Cell288" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt"/>
|
||||
<TableCell Name="Cell289" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt"/>
|
||||
<TableCell Name="Cell290" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt"/>
|
||||
<TableCell Name="Cell291" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt"/>
|
||||
<TableCell Name="Cell292" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt"/>
|
||||
<TableCell Name="Cell293" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt"/>
|
||||
<TableCell Name="Cell294" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt"/>
|
||||
<TableCell Name="Cell295" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt"/>
|
||||
<TableCell Name="Cell296" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt"/>
|
||||
<TableCell Name="Cell297" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt"/>
|
||||
<TableCell Name="Cell298" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt"/>
|
||||
<TableCell Name="Cell299" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt"/>
|
||||
<TableCell Name="Cell300" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row21" Height="28.35">
|
||||
<TableCell Name="Cell301" Border.Lines="All" Text="工程编号" HorzAlign="Center" VertAlign="Center" ColSpan="2"/>
|
||||
<TableCell Name="Cell302" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell303" Border.Lines="All" HorzAlign="Center" VertAlign="Center" ColSpan="3"/>
|
||||
<TableCell Name="Cell304" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell305" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell306" Border.Lines="All" Text="记录编号" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell307" Border.Lines="All" HorzAlign="Center" VertAlign="Center" ColSpan="4"/>
|
||||
<TableCell Name="Cell308" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell309" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell310" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell311" Border.Lines="All" Text="共[TotalPages#]页 第[Page#]页" HorzAlign="Center" VertAlign="Center" ColSpan="5"/>
|
||||
<TableCell Name="Cell312" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell313" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell314" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell315" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row22" Height="28.35">
|
||||
<TableCell Name="Cell316" Border.Lines="All" Text="工件编号" HorzAlign="Center" VertAlign="Center" ColSpan="2"/>
|
||||
<TableCell Name="Cell317" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell318" Border.Lines="All" HorzAlign="Center" VertAlign="Center" ColSpan="3"/>
|
||||
<TableCell Name="Cell319" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell320" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell321" Border.Lines="All" Text="工件名称" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell322" Border.Lines="All" HorzAlign="Center" VertAlign="Center" ColSpan="9"/>
|
||||
<TableCell Name="Cell323" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell324" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell325" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell326" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell327" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell328" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell329" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell330" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row34" Height="37.8">
|
||||
<TableCell Name="Cell496" Border.Lines="All" Text="序号" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell497" Border.Lines="All" Text="焊缝编号" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell498" Border.Lines="All" Text="检件规格" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell499" Border.Lines="All" Text="焊工号" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell500" Border.Lines="All" Text="底片编号" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell501" Border.Lines="All" Text="返修次数" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell502" Border.Lines="All" Text="灵敏度值" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell503" Border.Lines="All" Text="缺陷性质" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell504" Border.Lines="All" Text="缺陷定量" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell505" Border.Lines="All" Text="超标缺陷部位" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell506" Border.Lines="All" Text="评定结果" HorzAlign="Center" VertAlign="Center" ColSpan="2"/>
|
||||
<TableCell Name="Cell507" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell508" Border.Lines="All" Text="备注" HorzAlign="Center" VertAlign="Center" ColSpan="3"/>
|
||||
<TableCell Name="Cell509" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell510" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
</TableRow>
|
||||
</TableObject>
|
||||
</ChildBand>
|
||||
</PageHeaderBand>
|
||||
<DataBand Name="Data1" Top="716.75" Width="718.2" Height="37.8" Guides="0,37.8">
|
||||
<TableObject Name="Table3" Width="718.2" Height="37.8">
|
||||
<TableColumn Name="Column31" Width="18.9"/>
|
||||
<TableColumn Name="Column32"/>
|
||||
<TableColumn Name="Column33"/>
|
||||
<TableColumn Name="Column34"/>
|
||||
<TableColumn Name="Column35" Width="47.25"/>
|
||||
<TableColumn Name="Column36"/>
|
||||
<TableColumn Name="Column37"/>
|
||||
<TableColumn Name="Column38"/>
|
||||
<TableColumn Name="Column39" Width="56.7"/>
|
||||
<TableColumn Name="Column40" Width="75.6"/>
|
||||
<TableColumn Name="Column41" Width="28.35"/>
|
||||
<TableColumn Name="Column42" Width="28.35"/>
|
||||
<TableColumn Name="Column43" Width="28.35"/>
|
||||
<TableColumn Name="Column44" Width="18.9"/>
|
||||
<TableColumn Name="Column45" Width="18.9"/>
|
||||
<TableRow Name="Row40" Height="37.8">
|
||||
<TableCell Name="Cell586" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell587" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell588" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell589" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell590" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell591" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell592" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell593" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell594" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell595" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell596" Border.Lines="All" HorzAlign="Center" VertAlign="Center" ColSpan="2"/>
|
||||
<TableCell Name="Cell597" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell598" Border.Lines="All" HorzAlign="Center" VertAlign="Center" ColSpan="3"/>
|
||||
<TableCell Name="Cell599" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell600" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
</TableRow>
|
||||
</TableObject>
|
||||
</DataBand>
|
||||
<ColumnFooterBand Name="ColumnFooter1" Top="800.35" Width="718.2">
|
||||
<ChildBand Name="Child2" Top="758.55" Width="718.2" Height="37.8" Guides="0,37.8" FillUnusedSpace="true">
|
||||
<TableObject Name="Table4" Width="718.2" Height="37.8">
|
||||
<TableColumn Name="Column46" Width="18.9"/>
|
||||
<TableColumn Name="Column47"/>
|
||||
<TableColumn Name="Column48"/>
|
||||
<TableColumn Name="Column49"/>
|
||||
<TableColumn Name="Column50" Width="47.25"/>
|
||||
<TableColumn Name="Column51"/>
|
||||
<TableColumn Name="Column52"/>
|
||||
<TableColumn Name="Column53"/>
|
||||
<TableColumn Name="Column54" Width="56.7"/>
|
||||
<TableColumn Name="Column55" Width="75.6"/>
|
||||
<TableColumn Name="Column56" Width="28.35"/>
|
||||
<TableColumn Name="Column57" Width="28.35"/>
|
||||
<TableColumn Name="Column58" Width="28.35"/>
|
||||
<TableColumn Name="Column59" Width="18.9"/>
|
||||
<TableColumn Name="Column60" Width="18.9"/>
|
||||
<TableRow Name="Row41" Height="37.8">
|
||||
<TableCell Name="Cell601" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell602" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell603" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell604" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell605" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell606" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell607" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell608" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell609" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell610" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell611" Border.Lines="All" HorzAlign="Center" VertAlign="Center" ColSpan="2"/>
|
||||
<TableCell Name="Cell612" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell613" Border.Lines="All" HorzAlign="Center" VertAlign="Center" ColSpan="3"/>
|
||||
<TableCell Name="Cell614" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell615" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
</TableRow>
|
||||
</TableObject>
|
||||
</ChildBand>
|
||||
</ColumnFooterBand>
|
||||
<PageFooterBand Name="PageFooter1" Top="804.35" Width="718.2" Height="81.96" PrintOn="FirstPage" Guides="0,81.96,29.98,51.98">
|
||||
<TableObject Name="Table5" Width="717.99" Height="81.96" Border.Lines="Left, Top, Bottom">
|
||||
<TableColumn Name="Column61" Width="119.86"/>
|
||||
<TableColumn Name="Column62" Width="119.86"/>
|
||||
<TableColumn Name="Column63" Width="119.86"/>
|
||||
<TableColumn Name="Column64" Width="119.86"/>
|
||||
<TableColumn Name="Column65" Width="119.86"/>
|
||||
<TableColumn Name="Column66" Width="118.69"/>
|
||||
<TableRow Name="Row42" Height="29.98">
|
||||
<TableCell Name="Cell616" Text="复核:" VertAlign="Center"/>
|
||||
<TableCell Name="Cell617" Text="评片:" VertAlign="Center"/>
|
||||
<TableCell Name="Cell618" Text="冲洗:" VertAlign="Center"/>
|
||||
<TableCell Name="Cell619" Text="摄片:" VertAlign="Center"/>
|
||||
<TableCell Name="Cell620" Text="日期:" VertAlign="Center"/>
|
||||
<TableCell Name="Cell641" Border.Lines="Right" Text="摄片张数:" VertAlign="Center"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row43" Height="51.98">
|
||||
<TableCell Name="Cell621" Border.Lines="All" Text="说明:1.透照方式:Z-纵缝透照、FW-环缝外透、FN-环缝内透、FZ-环缝中心透照、SD-双壁单影、SS-双壁双影;2.缺陷性质:A-裂纹、B-未熔合、C-未焊透、D-条形缺陷、E-圆形缺陷、F-深孔、G-内凹、H-咬边。3.缺陷定量:条状缺陷1条长度5mm记为L=5,条状缺陷3条最大长度8mm记为L=8×3,圆形缺陷6点记为d=6,大于1/2壁厚的圆形缺陷和深孔记为ΦX" VertAlign="Center" ColSpan="6"/>
|
||||
<TableCell Name="Cell622" Border.Lines="All" VertAlign="Center"/>
|
||||
<TableCell Name="Cell623" Border.Lines="All" VertAlign="Center"/>
|
||||
<TableCell Name="Cell624" Border.Lines="All" VertAlign="Center"/>
|
||||
<TableCell Name="Cell625" Border.Lines="All" VertAlign="Center"/>
|
||||
<TableCell Name="Cell642" Border.Lines="All" VertAlign="Center"/>
|
||||
</TableRow>
|
||||
</TableObject>
|
||||
</PageFooterBand>
|
||||
</ReportPage>
|
||||
</Report>
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="11/22/2024 15:19:04" ReportInfo.Modified="01/25/2025 14:54:38" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="11/22/2024 15:19:04" ReportInfo.Modified="05/09/2025 16:32:18" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<ScriptText>using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
@ -42,7 +42,7 @@ namespace FastReport
|
|||
}
|
||||
</ScriptText>
|
||||
<Dictionary>
|
||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqdP6ADbZQpLOMXx+Ivgq2SioFBJ7B1iEOuUxf7y1evrTM15NUOhfx6SD2+E9SReEWvg7u6EQdXpqQDDPj6WgkoKQIrTt5q9lJyuCu5B6Nl0MXJ6ZEae4ta6haGkhwICyq72I9X2dS6a3zf8gkFZpb6VtdwKlyFhTivyv2i8IjPiUXLimy5mJMh8U2rXyiDDAJmbt/jcfBCOeWnhhH2EFB8w==">
|
||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqdP6ADbZQpLOMXx+Ivgq2SioFBJ7B1iEOuUxf7y1evrTM15NUOhfx6SD2+E9SReEWvg7u6EQdXpqQDDPj6WgkoKQIrTt5q9lJyuCu5B6Nl0MXJ6ZEae4ta6haGkhwICyq72I9X2dS6a3zf8gkFZpb6VtdwKlyFhTivyv2i8IjPiUXLimy5mJMh8U2rXyiDDAJjJwuY6vI3N7IrkA/ctinjQ==">
|
||||
<TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data">
|
||||
<Column Name="Number" DataType="System.String" PropName="attach_image_id"/>
|
||||
<Column Name="WED_Code" DataType="System.String" PropName="image_series"/>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="11/20/2024 14:22:21" ReportInfo.Modified="01/25/2025 15:05:02" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="11/20/2024 14:22:21" ReportInfo.Modified="04/29/2025 09:59:10" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<ScriptText>using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
@ -42,7 +42,7 @@ namespace FastReport
|
|||
}
|
||||
</ScriptText>
|
||||
<Dictionary>
|
||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqdP6ADbZQpLOMXx+Ivgq2SioFBJ7B1iEOuUxf7y1evrTM15NUOhfx6SD2+E9SReEWvg7u6EQdXpqQDDPj6WgkoKQIrTt5q9lJyuCu5B6Nl0MXJ6ZEae4ta6haGkhwICyq72I9X2dS6a3zf8gkFZpb6VtdwKlyFhTivyv2i8IjPiUXLimy5mJMh8U2rXyiDDAJ8GHRkqbNPdce6A+uag0TaA==">
|
||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqdP6ADbZQpLOMXx+Ivgq2SioFBJ7B1iEOuUxf7y1evrTM15NUOhfx6SD2+E9SReEWvg7u6EQdXpqQDDPj6WgkoKQIrTt5q9lJyuCu5B6Nl0MXJ6ZEae4ta6haGkhwICyq72I9X2dS6a3zf8gkFZpb6VtdwKlyFhTivyv2i8IjPiUXLimy5mJMh8U2rXyiDDAJcSwkldR2OtZerD4DV2pGrw==">
|
||||
<TableDataSource Name="MainData" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="MainData">
|
||||
<Column Name="ProjectName" DataType="System.String" PropName="attach_image_id"/>
|
||||
<Column Name="CheckUnit" DataType="System.String" PropName="image_series"/>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="11/19/2024 10:28:42" ReportInfo.Modified="01/25/2025 10:05:57" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="11/19/2024 10:28:42" ReportInfo.Modified="04/29/2025 16:16:31" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<ScriptText>using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
@ -50,7 +50,7 @@ namespace FastReport
|
|||
}
|
||||
</ScriptText>
|
||||
<Dictionary>
|
||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqdP6ADbZQpLOMXx+Ivgq2SioFBJ7B1iEOuUxf7y1evrTM15NUOhfx6SD2+E9SReEWvg7u6EQdXpqQDDPj6WgkoKQIrTt5q9lJyuCu5B6Nl0MXJ6ZEae4ta6haGkhwICyq72I9X2dS6a3zf8gkFZpb6VtdwKlyFhTivyv2i8IjPiUXLimy5mJMh8U2rXyiDDAJxQ13IqX4wiOXS7R1ms1UrQ==">
|
||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqdP6ADbZQpLOMXx+Ivgq2SioFBJ7B1iEOuUxf7y1evrTM15NUOhfx6SD2+E9SReEWvg7u6EQdXpqQDDPj6WgkoKQIrTt5q9lJyuCu5B6Nl0MXJ6ZEae4ta6haGkhwICyq72I9X2dS6a3zf8gkFZpb6VtdwKlyFhTivyv2i8IjPiUXLimy5mJMh8U2rXyiDDAJ5i+2Ctv8ItL002ud+v5oNQ==">
|
||||
<TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data">
|
||||
<Column Name="ISO_IsoNo" DataType="System.String" PropName="attach_image_id"/>
|
||||
<Column Name="JOT_JointNo" DataType="System.String" PropName="image_series"/>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="11/23/2024 15:00:41" ReportInfo.Modified="01/25/2025 15:02:30" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="11/23/2024 15:00:41" ReportInfo.Modified="05/09/2025 17:37:32" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<ScriptText>using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
@ -42,7 +42,7 @@ namespace FastReport
|
|||
}
|
||||
</ScriptText>
|
||||
<Dictionary>
|
||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqdP6ADbZQpLOMXx+Ivgq2SioFBJ7B1iEOuUxf7y1evrTM15NUOhfx6SD2+E9SReEWvg7u6EQdXpqQDDPj6WgkoKQIrTt5q9lJyuCu5B6Nl0MXJ6ZEae4ta6haGkhwICyq72I9X2dS6a3zf8gkFZpb6VtdwKlyFhTivyv2i8IjPiUXLimy5mJMh8U2rXyiDDAJ89JnsiXu1tD1SMnxb/tViA==">
|
||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqdP6ADbZQpLOMXx+Ivgq2SioFBJ7B1iEOuUxf7y1evrTM15NUOhfx6SD2+E9SReEWvg7u6EQdXpqQDDPj6WgkoKQIrTt5q9lJyuCu5B6Nl0MXJ6ZEae4ta6haGkhwICyq72I9X2dS6a3zf8gkFZpb6VtdwKlyFhTivyv2i8IjPiUXLimy5mJMh8U2rXyiDDAJYkylh3TFKXnBuJv63PwUGw==">
|
||||
<TableDataSource Name="Attach_Image" Alias="Data" DataType="System.Int32" Enabled="true" TableName="Attach_Image">
|
||||
<Column Name="Number" DataType="System.String" PropName="attach_image_id"/>
|
||||
<Column Name="ISO_IsoNo" DataType="System.String" PropName="image_series"/>
|
||||
|
@ -62,8 +62,9 @@ namespace FastReport
|
|||
<Parameter Name="ProjectName" DataType="System.String"/>
|
||||
<Parameter Name="InspectionCount" DataType="System.String"/>
|
||||
<Parameter Name="NDTRName" DataType="System.String"/>
|
||||
<Parameter Name="NDTType" DataType="System.String"/>
|
||||
</Dictionary>
|
||||
<ReportPage Name="Page1" Landscape="true" PaperWidth="297" PaperHeight="210" LeftMargin="20" TopMargin="25" RightMargin="20" BottomMargin="21" FirstPageSource="4" OtherPagesSource="4" Guides="0,970.7,226.8,94.5,47.25,708.75,66.15,37.8,56.7,75.6,85.05,828.95,904.55,132.3,321.3,425.25,623.7,772.25,179.55,491.4,548.1,63.5,387.45,971.32,481.89">
|
||||
<ReportPage Name="Page1" Landscape="true" PaperWidth="297" PaperHeight="210" LeftMargin="20" TopMargin="25" RightMargin="20" BottomMargin="21" FirstPageSource="4" OtherPagesSource="4" Guides="0,970.7,226.8,94.5,47.25,708.75,66.15,37.8,56.7,75.6,85.05,828.95,904.55,132.3,321.3,425.25,623.7,772.25,179.55,491.4,548.1,63.5,971.32,481.89">
|
||||
<PageHeaderBand Name="PageHeader1" Width="971.46" Height="179.55" Guides="0,179.55,94.5,18.9,47.25,66.15,28.35,122.85,151.2">
|
||||
<TableObject Name="Table1" Width="970.7" Height="179.55">
|
||||
<TableColumn Name="Column1" Width="37.8"/>
|
||||
|
@ -135,19 +136,19 @@ namespace FastReport
|
|||
<TableRow Name="Row3" Height="28.35">
|
||||
<TableCell Name="Cell11" Border.Lines="All" Text="报检/检查记录编号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell12" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell13" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="3"/>
|
||||
<TableCell Name="Cell13" Border.Lines="All" Text="/" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="3"/>
|
||||
<TableCell Name="Cell14" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell15" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell50" Border.Lines="All" Text="无损检测方法" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell51" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell52" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="3"/>
|
||||
<TableCell Name="Cell52" Border.Lines="All" Text="[NDTType]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="3"/>
|
||||
<TableCell Name="Cell53" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell54" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell55" Border.Lines="All" Text="报检数量" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell56" Border.Lines="All" Text="[InspectionCount]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell56" Border.Lines="All" Text="[InspectionCount]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell57" Border.Lines="All" Text="检测比例" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell58" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell59" Border.Lines="All" Text="[NDTRName]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell59" Border.Lines="All" Text="[NDTRName]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row4" Height="28.35">
|
||||
<TableCell Name="Cell16" Border.Lines="All" Text="序号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
|
||||
|
@ -164,7 +165,7 @@ namespace FastReport
|
|||
<TableCell Name="Cell68" Border.Lines="All" Text="实际预热温度 ℃" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
|
||||
<TableCell Name="Cell69" Border.Lines="All" Text="焊缝外观检查" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell70" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell71" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell71" Border.Lines="All" Text="合格" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row5" Height="28.35">
|
||||
<TableCell Name="Cell21" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="11/20/2024 09:40:31" ReportInfo.Modified="01/25/2025 15:05:06" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="11/20/2024 09:40:31" ReportInfo.Modified="05/06/2025 14:37:26" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<ScriptText>using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
@ -41,7 +41,7 @@ namespace FastReport
|
|||
}
|
||||
</ScriptText>
|
||||
<Dictionary>
|
||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqdP6ADbZQpLOMXx+Ivgq2SioFBJ7B1iEOuUxf7y1evrTM15NUOhfx6SD2+E9SReEWvg7u6EQdXpqQDDPj6WgkoKQIrTt5q9lJyuCu5B6Nl0MXJ6ZEae4ta6haGkhwICyq72I9X2dS6a3zf8gkFZpb6VtdwKlyFhTivyv2i8IjPiUXLimy5mJMh8U2rXyiDDAJEJ3ql2+eE5AMXHaB5/Pl/Q==">
|
||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqdP6ADbZQpLOMXx+Ivgq2SioFBJ7B1iEOuUxf7y1evrTM15NUOhfx6SD2+E9SReEWvg7u6EQdXpqQDDPj6WgkoKQIrTt5q9lJyuCu5B6Nl0MXJ6ZEae4ta6haGkhwICyq72I9X2dS6a3zf8gkFZpb6VtdwKlyFhTivyv2i8IjPiUXLimy5mJMh8U2rXyiDDAJY/MvafqAdTl9i5gdg1bNxg==">
|
||||
<TableDataSource Name="MainData" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="MainData">
|
||||
<Column Name="ProjectName" DataType="System.String" PropName="attach_image_id"/>
|
||||
<Column Name="InstallastionName" DataType="System.String" PropName="image_series"/>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="11/19/2024 10:28:42" ReportInfo.Modified="03/04/2025 10:23:46" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="11/19/2024 10:28:42" ReportInfo.Modified="04/29/2025 09:58:19" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<ScriptText>using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
@ -63,7 +63,7 @@ namespace FastReport
|
|||
}
|
||||
</ScriptText>
|
||||
<Dictionary>
|
||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqdP6ADbZQpLOMXx+Ivgq2SioFBJ7B1iEOuUxf7y1evrTM15NUOhfx6SD2+E9SReEWvg7u6EQdXpqQDDPj6WgkoKQIrTt5q9lJyuCu5B6Nl0MXJ6ZEae4ta6haGkhwICyq72I9X2dS6a3zf8gkFZpb6VtdwKlyFhTivyv2i8IjPiUXLimy5mJMh8U2rXyiDDAJ4KrLqKc3L/ZgkhTfcfxFZw==">
|
||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqdP6ADbZQpLOMXx+Ivgq2SioFBJ7B1iEOuUxf7y1evrTM15NUOhfx6SD2+E9SReEWvg7u6EQdXpqQDDPj6WgkoKQIrTt5q9lJyuCu5B6Nl0MXJ6ZEae4ta6haGkhwICyq72I9X2dS6a3zf8gkFZpb6VtdwKlyFhTivyv2i8IjPiUXLimy5mJMh8U2rXyiDDAJagCwWpef95VuTo6VfPPyoQ==">
|
||||
<TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data">
|
||||
<Column Name="ISO_IsoNo" DataType="System.String" PropName="attach_image_id"/>
|
||||
<Column Name="JOT_JointNo" DataType="System.String" PropName="image_series"/>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="11/20/2024 15:56:13" ReportInfo.Modified="01/25/2025 15:05:45" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="11/20/2024 15:56:13" ReportInfo.Modified="04/29/2025 15:20:39" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<ScriptText>using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
@ -42,7 +42,7 @@ namespace FastReport
|
|||
}
|
||||
</ScriptText>
|
||||
<Dictionary>
|
||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqdP6ADbZQpLOMXx+Ivgq2SioFBJ7B1iEOuUxf7y1evrTM15NUOhfx6SD2+E9SReEWvg7u6EQdXpqQDDPj6WgkoKQIrTt5q9lJyuCu5B6Nl0MXJ6ZEae4ta6haGkhwICyq72I9X2dS6a3zf8gkFZpb6VtdwKlyFhTivyv2i8IjPiUXLimy5mJMh8U2rXyiDDAJvfh8ZkmUHSxy0u6W6HTm2A==">
|
||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqdP6ADbZQpLOMXx+Ivgq2SioFBJ7B1iEOuUxf7y1evrTM15NUOhfx6SD2+E9SReEWvg7u6EQdXpqQDDPj6WgkoKQIrTt5q9lJyuCu5B6Nl0MXJ6ZEae4ta6haGkhwICyq72I9X2dS6a3zf8gkFZpb6VtdwKlyFhTivyv2i8IjPiUXLimy5mJMh8U2rXyiDDAJcTY8krScnDk8O+p7aoFxOg==">
|
||||
<TableDataSource Name="MainData" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="MainData">
|
||||
<Column Name="UnitName" DataType="System.String" PropName="attach_image_id"/>
|
||||
<Column Name="ProjectCode" DataType="System.String" PropName="image_series"/>
|
||||
|
|
|
@ -7,6 +7,7 @@ using System.Web.UI.WebControls;
|
|||
using BLL;
|
||||
using System.Data.SqlClient;
|
||||
using System.Data;
|
||||
using System.IO;
|
||||
|
||||
namespace FineUIPro.Web.HJGL.CheckManage
|
||||
{
|
||||
|
@ -204,18 +205,18 @@ namespace FineUIPro.Web.HJGL.CheckManage
|
|||
string sTE_ID2 = Grid1.SelectedRowID.Split(',')[5];
|
||||
string wME_Name = Grid1.SelectedRowID.Split(',')[6];
|
||||
var trust = BLL.HJGL_TrustManageEditService.GetCH_TrustByID(trustId);
|
||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
listStr.Add(new SqlParameter("@CH_TrustID", trustId));
|
||||
listStr.Add(new SqlParameter("@ISO_ID", isoId));
|
||||
listStr.Add(new SqlParameter("@Desc", desc));
|
||||
listStr.Add(new SqlParameter("@Flag", "0"));
|
||||
listStr.Add(new SqlParameter("@IsRepair", "0"));
|
||||
listStr.Add(new SqlParameter("@STE_Code", sTE_Code));
|
||||
listStr.Add(new SqlParameter("@STE_ID", sTE_ID));
|
||||
listStr.Add(new SqlParameter("@STE_ID2", sTE_ID2));
|
||||
listStr.Add(new SqlParameter("@WME_Name", wME_Name));
|
||||
SqlParameter[] parameter = listStr.ToArray();
|
||||
DataTable tb = null;
|
||||
//List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
//listStr.Add(new SqlParameter("@CH_TrustID", trustId));
|
||||
//listStr.Add(new SqlParameter("@ISO_ID", isoId));
|
||||
//listStr.Add(new SqlParameter("@Desc", desc));
|
||||
//listStr.Add(new SqlParameter("@Flag", "0"));
|
||||
//listStr.Add(new SqlParameter("@IsRepair", "0"));
|
||||
//listStr.Add(new SqlParameter("@STE_Code", sTE_Code));
|
||||
//listStr.Add(new SqlParameter("@STE_ID", sTE_ID));
|
||||
//listStr.Add(new SqlParameter("@STE_ID2", sTE_ID2));
|
||||
//listStr.Add(new SqlParameter("@WME_Name", wME_Name));
|
||||
//SqlParameter[] parameter = listStr.ToArray();
|
||||
//DataTable tb = null;
|
||||
string isoNo = BLL.HJGL_PW_IsoInfoService.GetIsoInfoByIsoInfoId(isoId).ISO_IsoNo;
|
||||
// PT,MT,UT调用一个存储过程
|
||||
if (trust != null)
|
||||
|
@ -224,9 +225,6 @@ namespace FineUIPro.Web.HJGL.CheckManage
|
|||
{
|
||||
if (!string.IsNullOrEmpty(trust.CH_NDTMethod))
|
||||
{
|
||||
//trust.Record_Printer = this.CurrUser.UserName;
|
||||
//trust.Record_PrintDate = DateTime.Now;
|
||||
//BLL.HJGL_TrustManageEditService.UpdateCH_Trust(trust);
|
||||
var trustItems = from x in Funs.DB.HJGL_CH_TrustItem
|
||||
join y in Funs.DB.HJGL_PW_JointInfo
|
||||
on x.JOT_ID equals y.JOT_ID
|
||||
|
@ -241,12 +239,15 @@ namespace FineUIPro.Web.HJGL.CheckManage
|
|||
trustItem.Record_PrintDate = DateTime.Now;
|
||||
BLL.HJGL_CH_TrustItemService.UpdateTrustItem(trustItem);
|
||||
}
|
||||
string initTemplatePath = "";
|
||||
string rootPath = Server.MapPath("~/");
|
||||
BLL.Common.FastReportService.ResetData();
|
||||
|
||||
string reportId1 = string.Empty;//报表Id
|
||||
string reportId2 = string.Empty;
|
||||
int rowNum = 0;
|
||||
string varValue = string.Empty;
|
||||
int count = 0;
|
||||
//string reportId1 = string.Empty;//报表Id
|
||||
//string reportId2 = string.Empty;
|
||||
//int rowNum = 0;
|
||||
//string varValue = string.Empty;
|
||||
//int count = 0;
|
||||
var ndtType = BLL.HJGL_TestingService.GetTestingByTestingId(trust.CH_NDTMethod);
|
||||
|
||||
if (ndtType.NDT_Code == "RT")
|
||||
|
@ -258,10 +259,74 @@ namespace FineUIPro.Web.HJGL.CheckManage
|
|||
fileCode.FileId = trust.CH_TrustID;
|
||||
fileCode.FileCode2 = fileCode.FileCode.Replace(isoNo, "");
|
||||
BLL.Base_PrintFileCodeService.AddPrintFileCode(fileCode);
|
||||
reportId1 = BLL.Const.HJGL_RTCheckRecordReportId1;
|
||||
reportId2 = BLL.Const.HJGL_RTCheckRecordReportId2;
|
||||
rowNum = 18;
|
||||
tb = BLL.SQLHelper.GetDataTableRunProc("HJGL_sp_rpt_TrustItemRecordRT", parameter);
|
||||
//reportId1 = BLL.Const.HJGL_RTCheckRecordReportId1;
|
||||
//reportId2 = BLL.Const.HJGL_RTCheckRecordReportId2;
|
||||
//rowNum = 18;
|
||||
var listTitleStr = new List<SqlParameter>();
|
||||
listTitleStr.Add(new SqlParameter("@CH_TrustID", trustId));
|
||||
listTitleStr.Add(new SqlParameter("@ISO_ID", isoId));
|
||||
listTitleStr.Add(new SqlParameter("@IsRepair", "0"));
|
||||
listTitleStr.Add(new SqlParameter("@Desc", desc));
|
||||
listTitleStr.Add(new SqlParameter("@Flag", null));
|
||||
listTitleStr.Add(new SqlParameter("@STE_Code", sTE_Code));
|
||||
SqlParameter[] titleparameter = listTitleStr.ToArray();
|
||||
var tbTitle = SQLHelper.GetDataTableRunProc("HJGL_sp_rpt_TrustRecord", titleparameter);
|
||||
|
||||
//tb = BLL.SQLHelper.GetDataTableRunProc("HJGL_sp_rpt_TrustItemRecordRT", parameter);
|
||||
|
||||
|
||||
DataTable dt = new DataTable();
|
||||
dt.TableName = "MainData";
|
||||
dt.Columns.Add("ProjectName");
|
||||
//dt.Columns.Add("InstallastionName");
|
||||
//dt.Columns.Add("InstallatinCode");
|
||||
//dt.Columns.Add("TrustUnit");
|
||||
//dt.Columns.Add("TrustCode");
|
||||
//dt.Columns.Add("CheckUnit");
|
||||
//dt.Columns.Add("ItemName");
|
||||
//dt.Columns.Add("WME_Code");
|
||||
//dt.Columns.Add("IsHot");
|
||||
//dt.Columns.Add("JST_Name");
|
||||
//dt.Columns.Add("NDTR_Name");
|
||||
//dt.Columns.Add("NDT_Code");
|
||||
//dt.Columns.Add("AcceptGrade");
|
||||
//dt.Columns.Add("CH_NDTCriteria");
|
||||
|
||||
DataRow[] rows = tbTitle.DefaultView.ToTable().Select();
|
||||
foreach (var row in rows)
|
||||
{
|
||||
var newRow = dt.NewRow();
|
||||
newRow["ProjectName"] = row["ProjectName"].ToString();
|
||||
//newRow["InstallastionName"] = row["InstallationName"].ToString();
|
||||
//newRow["InstallatinCode"] = row["InstallationCode"].ToString();
|
||||
//newRow["TrustUnit"] = row["UnitName"].ToString();
|
||||
//newRow["TrustCode"] = row["CH_TrustCode"].ToString();
|
||||
//newRow["CheckUnit"] = row["CheckUnitName"].ToString();
|
||||
//newRow["ItemName"] = row["CH_ItemName"].ToString();
|
||||
//newRow["WME_Code"] = row["WME_Code"].ToString();
|
||||
//newRow["IsHot"] = "合格";
|
||||
//newRow["JST_Name"] = row["JST_Name"];
|
||||
//newRow["NDTR_Name"] = row["NDTR_Name"];
|
||||
//newRow["NDT_Code"] = row["NDT_Code"];
|
||||
|
||||
dt.Rows.Add(newRow);
|
||||
}
|
||||
BLL.Common.FastReportService.AddFastreportTable(dt);
|
||||
|
||||
|
||||
//传参
|
||||
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
|
||||
//keyValuePairs.Add("JointCount", jointCount.ToString());
|
||||
//keyValuePairs.Add("CheckCount", (rows.Count() - 1).ToString());
|
||||
BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
|
||||
|
||||
initTemplatePath = "File\\Fastreport\\射线检测记录.frx";
|
||||
|
||||
if (File.Exists(rootPath + initTemplatePath))
|
||||
{
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("../../common/ReportPrint/Fastreport.aspx?ReportPath={0}", rootPath + initTemplatePath)));
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
@ -310,23 +375,23 @@ namespace FineUIPro.Web.HJGL.CheckManage
|
|||
//}
|
||||
#endregion
|
||||
|
||||
count = tb.Rows.Count;
|
||||
string pageNum = Funs.GetPagesCountByPageSize(rowNum, 20, count).ToString();
|
||||
varValue = pageNum;
|
||||
varValue = HttpUtility.UrlEncodeUnicode(varValue);
|
||||
//count = tb.Rows.Count;
|
||||
//string pageNum = Funs.GetPagesCountByPageSize(rowNum, 20, count).ToString();
|
||||
//varValue = pageNum;
|
||||
//varValue = HttpUtility.UrlEncodeUnicode(varValue);
|
||||
|
||||
if (tb.Rows.Count <= rowNum)
|
||||
{
|
||||
string replaceParameter = HttpUtility.UrlEncodeUnicode(trustId + "|" + isoId + "|" + "0" + "|" + desc + "|" + "1" + "|" + sTE_Code + "|" + sTE_ID + "|" + sTE_ID2 + "|" + wME_Name);
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("../../Common/ReportPrint/ExReportPrint.aspx?ispop=1&reportId={0}&replaceParameter={1}&varValue={2}&projectId=0", reportId1, replaceParameter, varValue)));
|
||||
}
|
||||
else
|
||||
{
|
||||
string replaceParameter1 = HttpUtility.UrlEncodeUnicode(trustId + "|" + isoId + "|" + "0" + "|" + desc + "|" + "1" + "|" + sTE_Code + "|" + sTE_ID + "|" + sTE_ID2 + "|" + wME_Name);
|
||||
string replaceParameter2 = HttpUtility.UrlEncodeUnicode(trustId + "|" + isoId + "|" + "0" + "|" + desc + "|" + "2" + "|" + sTE_Code + "|" + sTE_ID + "|" + sTE_ID2 + "|" + wME_Name);
|
||||
PageContext.RegisterStartupScript(Window2.GetShowReference(String.Format("../../Common/ReportPrint/ExReportPrint.aspx?ispop=1&reportId={0}&replaceParameter={1}&varValue={2}&projectId=0", reportId2, replaceParameter2, varValue)));
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("../../Common/ReportPrint/ExReportPrint.aspx?ispop=1&reportId={0}&replaceParameter={1}&varValue={2}&projectId=0", reportId1, replaceParameter1, varValue)));
|
||||
}
|
||||
//if (tb.Rows.Count <= rowNum)
|
||||
//{
|
||||
// string replaceParameter = HttpUtility.UrlEncodeUnicode(trustId + "|" + isoId + "|" + "0" + "|" + desc + "|" + "1" + "|" + sTE_Code + "|" + sTE_ID + "|" + sTE_ID2 + "|" + wME_Name);
|
||||
// PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("../../Common/ReportPrint/ExReportPrint.aspx?ispop=1&reportId={0}&replaceParameter={1}&varValue={2}&projectId=0", reportId1, replaceParameter, varValue)));
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// string replaceParameter1 = HttpUtility.UrlEncodeUnicode(trustId + "|" + isoId + "|" + "0" + "|" + desc + "|" + "1" + "|" + sTE_Code + "|" + sTE_ID + "|" + sTE_ID2 + "|" + wME_Name);
|
||||
// string replaceParameter2 = HttpUtility.UrlEncodeUnicode(trustId + "|" + isoId + "|" + "0" + "|" + desc + "|" + "2" + "|" + sTE_Code + "|" + sTE_ID + "|" + sTE_ID2 + "|" + wME_Name);
|
||||
// PageContext.RegisterStartupScript(Window2.GetShowReference(String.Format("../../Common/ReportPrint/ExReportPrint.aspx?ispop=1&reportId={0}&replaceParameter={1}&varValue={2}&projectId=0", reportId2, replaceParameter2, varValue)));
|
||||
// PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("../../Common/ReportPrint/ExReportPrint.aspx?ispop=1&reportId={0}&replaceParameter={1}&varValue={2}&projectId=0", reportId1, replaceParameter1, varValue)));
|
||||
//}
|
||||
}
|
||||
}
|
||||
if (e.CommandName == "fileName")//文档名
|
||||
|
|
|
@ -31,12 +31,15 @@
|
|||
<f:DropDownList ID="drpProjectId" runat="server" Label="施工号" LabelAlign="Right" Width="250px"
|
||||
EnableEdit="true" AutoSelectFirstItem="false" AutoPostBack="true" OnSelectedIndexChanged="Text_TextChanged">
|
||||
</f:DropDownList>
|
||||
<f:TextBox ID="txtIsoNo" runat="server" Label="管线号" LabelAlign="Right" ></f:TextBox>
|
||||
<%--<f:TextBox ID="txtIsoNo" runat="server" Label="管线号" LabelAlign="Right" ></f:TextBox>--%>
|
||||
<f:DropDownList ID="drpIsoId" runat="server" Label="管线" LabelAlign="Right" Width="300px"
|
||||
EnableEdit="true" EnableMultiSelect="false" AutoSelectFirstItem="false">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="drpJointType" runat="server" Label="焊缝类型" LabelAlign="Right" Width="250px" >
|
||||
</f:DropDownList>
|
||||
<f:DatePicker ID="txtStartDate" Label="外观检查日期" runat="server" LabelWidth="100px" DateFormatString="yyyy-MM-dd">
|
||||
<f:DatePicker ID="txtStartDate" Label="外观检查日期" runat="server" LabelWidth="100px" DateFormatString="yyyy-MM-dd" Width="200px">
|
||||
</f:DatePicker>
|
||||
<f:DatePicker ID="txtEndDate" Label="-" LabelSeparator=" " runat="server" LabelWidth="10px" DateFormatString="yyyy-MM-dd">
|
||||
<f:DatePicker ID="txtEndDate" Label="-" LabelSeparator=" " runat="server" LabelWidth="10px" DateFormatString="yyyy-MM-dd" Width="120px">
|
||||
</f:DatePicker>
|
||||
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
||||
</f:ToolbarFill>
|
||||
|
|
|
@ -29,6 +29,11 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
|||
this.drpJointType.DataBind();
|
||||
Funs.FineUIPleaseSelect(this.drpJointType);
|
||||
|
||||
this.drpIsoId.DataTextField = "ISO_IsoNo";
|
||||
this.drpIsoId.DataValueField = "ISO_ID";
|
||||
this.drpIsoId.DataSource = (from x in Funs.DB.HJGL_PW_IsoInfo where x.ProjectId == drpProjectId.SelectedValue orderby x.ISO_IsoNo select x).ToList();
|
||||
this.drpIsoId.DataBind();
|
||||
|
||||
ddlPageSize.SelectedValue = Grid1.PageSize.ToString();
|
||||
this.txtEndDate.Text = DateTime.Now.ToShortDateString();
|
||||
|
||||
|
@ -98,10 +103,10 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
|||
strSql += " AND batchDetail.VICheckDate <= @EndDate";
|
||||
listStr.Add(new SqlParameter("@EndDate", Convert.ToDateTime(this.txtEndDate.Text)));
|
||||
}
|
||||
if (!string.IsNullOrEmpty(this.txtIsoNo.Text.Trim()))
|
||||
if (this.drpIsoId.SelectedValue != null && this.drpIsoId.SelectedValue != string.Empty)
|
||||
{
|
||||
strSql += " AND isoinfo.ISO_IsoNo like @isoNo";
|
||||
listStr.Add(new SqlParameter("@isoNo", "%" + this.txtIsoNo.Text.Trim() + "%"));
|
||||
strSql += " AND isoinfo.ISO_IsoNo = @isoNo";
|
||||
listStr.Add(new SqlParameter("@isoNo", this.drpIsoId.SelectedText.Trim()));
|
||||
}
|
||||
|
||||
SqlParameter[] parameter = listStr.ToArray();
|
||||
|
@ -152,7 +157,12 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
|||
/// <param name="e"></param>
|
||||
protected void Text_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
BindGrid();
|
||||
this.drpIsoId.DataTextField = "ISO_IsoNo";
|
||||
this.drpIsoId.DataValueField = "ISO_ID";
|
||||
this.drpIsoId.DataSource = (from x in Funs.DB.HJGL_PW_IsoInfo where x.ProjectId == drpProjectId.SelectedValue orderby x.ISO_IsoNo select x).ToList();
|
||||
this.drpIsoId.DataBind();
|
||||
|
||||
//BindGrid();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
@ -85,13 +85,13 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
|
|||
protected global::FineUIPro.DropDownList drpProjectId;
|
||||
|
||||
/// <summary>
|
||||
/// txtIsoNo 控件。
|
||||
/// drpIsoId 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtIsoNo;
|
||||
protected global::FineUIPro.DropDownList drpIsoId;
|
||||
|
||||
/// <summary>
|
||||
/// drpJointType 控件。
|
||||
|
|
|
@ -208,7 +208,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
|||
//tb = GetFilteredTable(Grid1.FilteredData, tb);
|
||||
var table = this.GetPagedDataTable(Grid1, tb);
|
||||
Grid1.DataSource = table;
|
||||
Grid1.DataBind();
|
||||
Grid1.DataBind();
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
@ -364,7 +364,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
|||
row["index"] = 0;
|
||||
}
|
||||
}
|
||||
tb.Columns.Add("indexS", typeof(System.String));
|
||||
tb.Columns.Add("indexS", typeof(System.String));
|
||||
foreach (DataRow row in tb.Rows)
|
||||
{
|
||||
try
|
||||
|
@ -387,7 +387,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
|||
var newRows = dt.NewRow();
|
||||
//if (i + 1 < rows.Count())
|
||||
//{
|
||||
newRows["Number"] = i + 1;
|
||||
newRows["Number"] = i + 1;
|
||||
//}
|
||||
newRows["WED_Code"] = row["WED_Code"].ToString();
|
||||
newRows["ISO_IsoNo"] = row["ISO_IsoNo"].ToString();
|
||||
|
@ -417,7 +417,6 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
|||
{
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("../../common/ReportPrint/Fastreport.aspx?ReportPath={0}", rootPath + initTemplatePath)));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -482,7 +481,7 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
|||
|
||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
listStr.Add(new SqlParameter("@ProjectId", ProjectId));
|
||||
listStr.Add(new SqlParameter("@ISO_ID",this.ISO_ID));
|
||||
listStr.Add(new SqlParameter("@ISO_ID", this.ISO_ID));
|
||||
listStr.Add(new SqlParameter("@VICheckDate", vICheckDate.Replace("/", "-")));
|
||||
listStr.Add(new SqlParameter("@NDTR_ID", this.NDTR_ID));
|
||||
listStr.Add(new SqlParameter("@JOTY_Group", JOTY_Group));
|
||||
|
@ -567,8 +566,16 @@ namespace FineUIPro.Web.HJGL.WeldingReport
|
|||
//传参
|
||||
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
|
||||
keyValuePairs.Add("ProjectName", projectName);
|
||||
keyValuePairs.Add("InspectionCount", tb.Rows.Count.ToString()+"个");
|
||||
keyValuePairs.Add("InspectionCount", tb.Rows.Count.ToString() + "个");
|
||||
keyValuePairs.Add("NDTRName", ndtrName);
|
||||
if (JOTY_Group == "1")
|
||||
{
|
||||
keyValuePairs.Add("NDTType", "RT");
|
||||
}
|
||||
else
|
||||
{
|
||||
keyValuePairs.Add("NDTType", "PT");
|
||||
}
|
||||
BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
|
||||
|
||||
initTemplatePath = "File\\Fastreport\\管道焊接接头报检检查记录.frx";
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<FineUIPro DebugMode="false" Theme="Cupertino"/>
|
||||
<appSettings>
|
||||
<!--连接字符串-->
|
||||
<add key="ConnectionString" value="Server=.\MSSQLSERVER01;Database=HJGLDB_DS;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Max Pool Size = 1000;Connect Timeout=1200"/>
|
||||
<add key="ConnectionString" value="Server=.\SQL2019;Database=HJGLDB_DS;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Max Pool Size = 1000;Connect Timeout=1200"/>
|
||||
<!--系统名称-->
|
||||
<add key="SystemName" value="诺必达焊接管理系统"/>
|
||||
<add key="ChartImageHandler" value="storage=file;timeout=20;url=~/Images/;"/>
|
||||
|
|
Loading…
Reference in New Issue