合并最新

This commit is contained in:
2022-12-20 09:32:32 +08:00
parent 844e9f1488
commit 1abdaa9476
654 changed files with 73563 additions and 9746 deletions
@@ -32,6 +32,10 @@
<f:Toolbar ID="Toolbar2" runat="server">
<Items>
<f:DropDownList ID="drpCheckUnit" runat="server" Label="检测单位" LabelWidth="80px" LabelAlign="Right" AutoPostBack="true" OnSelectedIndexChanged="Tree_TextChanged"></f:DropDownList>
<f:TextBox ID="txtTrust" runat="server" Label="委托单号" LabelWidth="80px" LabelAlign="Right" EmptyText="输入查询条件" AutoPostBack="true"
OnTextChanged="Tree_TextChanged" >
</f:TextBox>
</Items>
</f:Toolbar>
</Toolbars>
@@ -59,7 +63,11 @@
</f:Button>
<f:Button ID="btnSave" Text="保存" ToolTip="保存检测单" Icon="SystemSave" runat="server" OnClick="btnSave_Click">
</f:Button>
<f:Button ID="btnPrint" runat="server" Icon="Printer" EnablePostBack="true" EnableAjax="false" Text="打印" ToolTip="打印" OnClick="btnPrint_Click"></f:Button>
<f:DropDownList ID="drpPrintType" runat="server" Label="打印报表" LabelAlign="Right" Width="350px">
</f:DropDownList>
<f:Button ID="Button2" runat="server" Icon="Printer" EnableAjax="false" Text="打印" ToolTip="打印" OnClick="btnPrint_Click"></f:Button>
</Items>
</f:Toolbar>
</Toolbars>
@@ -107,7 +115,7 @@
<Items>
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="RT检测单录入" EnableCollapse="true"
runat="server" BoxFlex="1" DataKeyNames="JOT_ID" AllowCellEditing="true"
EnableColumnLines="true" ClicksToEdit="1" DataIDField="JOT_ID"
EnableColumnLines="true" ClicksToEdit="1" DataIDField="JOT_ID" AllowSorting="true" OnSort="Grid1_Sort"
SortField="JOT_JointNo" EnableTextSelection="True">
<Toolbars>
<f:Toolbar ID="Toolbar4" runat="server" Position="Top">
@@ -167,6 +175,23 @@
</f:RenderField>
<f:RenderField HeaderText="探伤结果" ColumnID="CHT_CheckResult" DataField="CHT_CheckResult" SortField="CHT_CheckResult"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="100px">
<Editor>
<f:DropDownList ID="drpCHT_CheckResult" runat="server">
<f:ListItem Value="合格" Text="合格" />
<f:ListItem Value="不合格" Text="不合格" />
</f:DropDownList>
</Editor>
</f:RenderField>
<f:RenderField HeaderText="缺陷定义" ColumnID="Defects_Definition" DataField="Defects_Definition" SortField="Defects_Definition"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="100px">
<Editor>
<f:DropDownList ID="DropDownList1" runat="server">
<f:ListItem Value="气孔" Text="气孔" />
<f:ListItem Value="未熔合" Text="未熔合" />
<f:ListItem Value="条形缺陷" Text="条形缺陷" />
<f:ListItem Value="其他" Text="其他" />
</f:DropDownList>
</Editor>
</f:RenderField>
<f:RenderField HeaderText="胶片规格" ColumnID="FilmSpecifications" DataField="FilmSpecifications" SortField="FilmSpecifications"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="100px">
@@ -206,7 +231,7 @@
</Listeners>
</f:Grid>
<f:Grid ID="Grid2" ShowBorder="true" ShowHeader="false" Title="非RT检测单录入" EnableCollapse="true"
runat="server" BoxFlex="1" DataKeyNames="JOT_ID" AllowCellEditing="true"
runat="server" BoxFlex="1" DataKeyNames="JOT_ID" AllowCellEditing="true" AllowSorting="true" OnSort="Grid1_Sort"
EnableColumnLines="true" ClicksToEdit="1" DataIDField="JOT_ID"
SortField="JOT_JointNo" EnableTextSelection="True" Hidden="true">
<Toolbars>
@@ -249,18 +274,50 @@
<f:RenderField HeaderText="焊口数" ColumnID="JointCount" DataField="JointCount" SortField="JointCount"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="110px">
</f:RenderField>
<f:RenderField HeaderText="缺陷位置" ColumnID="CHT_RepairLocation" DataField="CHT_RepairLocation" SortField="CHT_RepairLocation"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="110px">
<Editor>
<f:TextBox ID="TextBox1" runat="server"></f:TextBox>
</Editor>
</f:RenderField>
<f:RenderField HeaderText="缺陷长度" ColumnID="DefectLength" DataField="DefectLength" SortField="DefectLength"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="100px">
<Editor>
<f:NumberBox ID="txtDefectLength" runat="server" NoDecimal="true" NoNegative="true"></f:NumberBox>
</Editor>
</f:RenderField>
<f:RenderField HeaderText="探伤结果*" ColumnID="CHT_CheckResult" DataField="CHT_CheckResult" SortField="CHT_CheckResult"
<f:RenderField HeaderText="缺陷深度" ColumnID="DefectDepth" DataField="DefectDepth" SortField="DefectDepth"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="100px">
<Editor>
<f:TextBox ID="txtCheckResult2" runat="server"></f:TextBox>
<f:NumberBox ID="txtDefectDepth" runat="server" NoDecimal="true" NoNegative="true"></f:NumberBox>
</Editor>
</f:RenderField>
<f:RenderField HeaderText="缺陷高度" ColumnID="DefectHeight" DataField="DefectHeight" SortField="DefectHeight"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="100px">
<Editor>
<f:NumberBox ID="txtDefectHeight" runat="server" NoDecimal="true" NoNegative="true"></f:NumberBox>
</Editor>
</f:RenderField>
<f:RenderField HeaderText="探伤结果*" ColumnID="CHT_CheckResult" DataField="CHT_CheckResult" SortField="CHT_CheckResult"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="100px">
<Editor>
<f:DropDownList ID="drpCHT_CheckResult1" runat="server">
<f:ListItem Value="合格" Text="合格" />
<f:ListItem Value="不合格" Text="不合格" />
</f:DropDownList>
</Editor>
</f:RenderField>
<f:RenderField HeaderText="缺陷定义" ColumnID="Defects_Definition" DataField="Defects_Definition" SortField="Defects_Definition"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="100px">
<Editor>
<f:DropDownList ID="drpDefects_Definition" runat="server">
<f:ListItem Value="气孔" Text="气孔" />
<f:ListItem Value="未熔合" Text="未熔合" />
<f:ListItem Value="条形缺陷" Text="条形缺陷" />
<f:ListItem Value="其他" Text="其他" />
</f:DropDownList>
</Editor>
</f:RenderField>
<f:RenderField HeaderText="延长米cm" ColumnID="ExtendingRice" DataField="ExtendingRice" SortField="ExtendingRice"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="100px">
</f:RenderField>
@@ -293,7 +350,7 @@
</f:Window>
<f:Window ID="Window3" Title="打印" Hidden="true" EnableIFrame="true"
EnableMaximize="true" Target="Top" EnableResize="false" runat="server"
IsModal="true" Width="1200px" Height="650px">
IsModal="true" Width="1010px" Height="660px">
</f:Window>
<f:Menu ID="Menu1" runat="server">
<f:MenuButton ID="btnMenuDelete" OnClick="btnMenuDelete_Click" EnablePostBack="true"
File diff suppressed because it is too large Load Diff
@@ -104,6 +104,15 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// </remarks>
protected global::FineUIPro.DropDownList drpCheckUnit;
/// <summary>
/// txtTrust 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtTrust;
/// <summary>
/// tvControlItem 控件。
/// </summary>
@@ -186,13 +195,22 @@ namespace FineUIPro.Web.HJGL.CheckManage
protected global::FineUIPro.Button btnSave;
/// <summary>
/// btnPrint 控件。
/// drpPrintType 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnPrint;
protected global::FineUIPro.DropDownList drpPrintType;
/// <summary>
/// Button2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button Button2;
/// <summary>
/// SimpleForm1 控件。
@@ -401,6 +419,24 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// </remarks>
protected global::FineUIPro.NumberBox txtPassFilm;
/// <summary>
/// drpCHT_CheckResult 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpCHT_CheckResult;
/// <summary>
/// DropDownList1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList DropDownList1;
/// <summary>
/// drpFilmSpecifications 控件。
/// </summary>
@@ -482,6 +518,15 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// </remarks>
protected global::FineUIPro.DatePicker txtReportDate2;
/// <summary>
/// TextBox1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox TextBox1;
/// <summary>
/// txtDefectLength 控件。
/// </summary>
@@ -492,13 +537,40 @@ namespace FineUIPro.Web.HJGL.CheckManage
protected global::FineUIPro.NumberBox txtDefectLength;
/// <summary>
/// txtCheckResult2 控件。
/// txtDefectDepth 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtCheckResult2;
protected global::FineUIPro.NumberBox txtDefectDepth;
/// <summary>
/// txtDefectHeight 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.NumberBox txtDefectHeight;
/// <summary>
/// drpCHT_CheckResult1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpCHT_CheckResult1;
/// <summary>
/// drpDefects_Definition 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpDefects_Definition;
/// <summary>
/// CheckNo2 控件。
@@ -50,13 +50,12 @@
<Items>
<f:HiddenField runat="server" ID="hdJOTID"></f:HiddenField>
<f:ToolbarFill ID="ToolbarFill1" runat="server"></f:ToolbarFill>
<f:DropDownList ID="drpPrintType" runat="server" Label="打印报表" LabelAlign="Right" Width="350px"></f:DropDownList>
<f:Button ID="Button1" runat="server" Icon="Printer" EnableAjax="false" Text="打印" ToolTip="打印" OnClick="btnPrint_Click"></f:Button>
<f:Button ID="btnAudit" Text="审核" ToolTip="审核" Icon="PageEdit" runat="server" OnClick="btnAudit_Click">
</f:Button>
<f:Button ID="btnCancelAudit" Text="取消审核" ToolTip="取消审核" Icon="NoteEdit" runat="server" OnClick="btnCancelAudit_Click" Hidden="true">
</f:Button>
<f:DropDownList ID="drpPrintType" runat="server" Label="打印报表" LabelAlign="Right" Width="350px"></f:DropDownList>
<f:Button ID="Button1" runat="server" Icon="Printer" EnableAjax="false" Text="打印" ToolTip="打印" OnClick="btnPrint_Click"></f:Button>
</Items>
</f:Toolbar>
</Toolbars>
@@ -189,6 +188,9 @@
</f:RenderField>
<f:RenderField HeaderText="探伤结果" ColumnID="CHT_CheckResult" DataField="CHT_CheckResult" SortField="CHT_CheckResult"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="100px">
</f:RenderField>
<f:RenderField HeaderText="缺陷定义" ColumnID="Defects_Definition" DataField="Defects_Definition" SortField="Defects_Definition"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="100px">
</f:RenderField>
<f:RenderField HeaderText="延长米cm" ColumnID="ExtendingRice" DataField="ExtendingRice" SortField="ExtendingRice"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="100px">
@@ -211,7 +213,7 @@
</f:Window>
<f:Window ID="Window3" Title="打印" Hidden="true" EnableIFrame="true"
EnableMaximize="true" Target="Top" EnableResize="false" runat="server"
IsModal="true" Width="1200px" Height="650px">
IsModal="true" Width="1010" Height="660px">
</f:Window>
</form>
<script type="text/javascript">
@@ -1,17 +1,12 @@
using BLL;
using System;
using NPOI.SS.UserModel;
using NPOI.XSSF.UserModel;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using Newtonsoft.Json.Linq;
using System.IO;
using NPOI.XSSF.UserModel;
using NPOI.SS.UserModel;
using System.Runtime.Serialization;
using NPOI.SS.Util;
using NPOI.HSSF.UserModel;
using System.Linq;
namespace FineUIPro.Web.HJGL.CheckManage
{
public partial class CheckManageAudit : PageBase
@@ -589,151 +584,199 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// <param name="e"></param>
protected void btnPrint_Click(object sender, EventArgs e)
{
string reportId = this.tvControlItem.SelectedNode.NodeID;
if (!string.IsNullOrEmpty(reportId))
string reportId = string.Empty;
if (this.tvControlItem.SelectedNode != null)
{
if (drpPrintType.SelectedValue == "107")
reportId = this.tvControlItem.SelectedNode.NodeID;
if (drpPrintType.SelectedValue == BLL.Const.CheckReport1Id || drpPrintType.SelectedValue == BLL.Const.CheckReport2Id)
{
var q = BLL.CheckManageService.GetCheckByCHT_CheckID(this.CHT_CheckID);
string varValue = string.Empty;
var projectName = BLL.ProjectService.GetProjectNameByProjectId(this.CurrUser.LoginProjectId);
var installationName = BLL.Project_InstallationService.GetInstallationByInstallationId(q.InstallationId).InstallationName;
var unitName = BLL.UnitService.GetUnitNameByUnitId(q.UnitId);
//varValue = installationName + "|" + unitName + "|" + projectName + "|" + q.PW_PointDate.Value.ToString("yyyy-MM-dd") + "|" + q.PW_PointNo;
//if (!string.IsNullOrEmpty(varValue))
//{
// varValue = Microsoft.JScript.GlobalObject.escape(varValue.Replace("/", ","));
//}
//PageContext.RegisterStartupScript(Window3.GetShowReference(String.Format("../../ReportPrint/ExReportPrint.aspx?ispop=1&reportId={0}&replaceParameter={1}&varValue={2}&projectId={3}", BLL.Const.CheckReportId, reportId, varValue, this.CurrUser.LoginProjectId)));
string rootPath = Server.MapPath("~/") + Const.ExcelUrl;
//模板文件
string TempletFileName = Server.MapPath("~/") + "File/Excel/HJGL_DataOut/管道焊口无损检测结果通知单.xlsx";
//导出文件
string filePath = rootPath + DateTime.Now.ToString("yyyyMMddhhmmss") + "\\";
if (!Directory.Exists(filePath))
if (!string.IsNullOrEmpty(reportId))
{
Directory.CreateDirectory(filePath);
}
string ReportFileName = filePath + "out.xlsx";
var q = BLL.CheckManageService.GetCheckByCHT_CheckID(this.CHT_CheckID);
string varValue = string.Empty;
var projectName = BLL.ProjectService.GetProjectNameByProjectId(this.CurrUser.LoginProjectId);
var installationName = BLL.Project_InstallationService.GetInstallationByInstallationId(q.InstallationId).InstallationName;
var unitName = BLL.UnitService.GetUnitNameByUnitId(q.UnitId);
FileStream file = new FileStream(TempletFileName, FileMode.Open, FileAccess.Read);
XSSFWorkbook hssfworkbook = new XSSFWorkbook(file);
BLL.Common.FastReport.ResetData();
ICellStyle styleCenter = hssfworkbook.CreateCellStyle();
styleCenter.VerticalAlignment = VerticalAlignment.Center;
styleCenter.Alignment = HorizontalAlignment.Center;
styleCenter.BorderLeft = BorderStyle.Thin;
styleCenter.BorderTop = BorderStyle.Thin;
styleCenter.BorderRight = BorderStyle.Thin;
styleCenter.BorderBottom = BorderStyle.Thin;
styleCenter.WrapText = true;
XSSFSheet recordSheet = (XSSFSheet)hssfworkbook.GetSheet("管道焊口无损检测结果通知单");
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
keyValuePairs.Add("projectName", projectName);
keyValuePairs.Add("installationName", installationName);
keyValuePairs.Add("unitName", unitName);
keyValuePairs.Add("NDTTypeCode", this.NDTTypeCode);
keyValuePairs.Add("CHT_CheckCode", q.CHT_CheckCode);
BLL.Common.FastReport.AddFastreportParameter(keyValuePairs);
// recordSheet.AddMergedRegion(new CellRangeAddress(0, 0, 8, 9));
recordSheet.GetRow(0).CreateCell(7).SetCellValue(projectName.ToString());
recordSheet.GetRow(0).GetCell(7).CellStyle = styleCenter;
recordSheet.GetRow(1).CreateCell(7).SetCellValue(installationName);
recordSheet.GetRow(1).GetCell(7).CellStyle = styleCenter;
recordSheet.GetRow(2).CreateCell(1).SetCellValue(unitName);
recordSheet.GetRow(2).GetCell(1).CellStyle = styleCenter;
recordSheet.GetRow(2).CreateCell(4).SetCellValue(this.NDTTypeCode);
recordSheet.GetRow(2).GetCell(4).CellStyle = styleCenter;
recordSheet.GetRow(2).CreateCell(7).SetCellValue(q.CHT_CheckCode);
recordSheet.GetRow(2).GetCell(7).CellStyle = styleCenter;
int i = 0;
List<Model.CH_CheckItem> items = BLL.CheckItemManageService.GetTrustItemByCheck(CHT_CheckID);
if (items.Count > 12)
{
recordSheet.ShiftRows(8, 27, items.Count - 12);
for (int j = 0; j < items.Count - 12; j++)
string strSql = @"select CH_TrustCode,CHT_CheckCode,checkItem.ISO_IsoNumber,checkItem.JOT_JointNo,checkItem.WelderCode,checkItem.CHT_CheckResult,checkItem.CHT_RepairLocation,DefectLength
from View_CH_CheckItem checkItem left join CH_Check chcheck on checkItem.CHT_CheckID=chcheck.CHT_CheckID
where checkItem.CHT_CheckID =@CHT_CheckID order by dbo.Fun_GetParseInt(JOT_JointNo)";
List<SqlParameter> listpar = new List<SqlParameter>
{
recordSheet.CopyRow(4 + j, 5 + j);
new SqlParameter("@CHT_CheckID", this.CHT_CheckID)
};
SqlParameter[] parameter = listpar.ToArray();
DataTable dt = SQLHelper.GetDataTableRunText(strSql, parameter);
if (dt != null)
{
dt.TableName = "Table1";
}
}
BLL.Common.FastReport.AddFastreportTable(dt);
foreach (var t in items)
{
var checkItem = BLL.CheckItemManageService.GetTrustItemByCheckItem(t.CHT_CheckItemID);
if (checkItem != null)
string initTemplatePath = "";
string rootPath = Server.MapPath("~/");
if (drpPrintType.SelectedValue == BLL.Const.CheckReport1Id)
{
#region
if (!string.IsNullOrEmpty(t.CH_TrustItemID))
{
var trustId = (from x in Funs.DB.CH_TrustItem where x.CH_TrustItemID == t.CH_TrustItemID select x.CH_TrustID).FirstOrDefault();
if (!string.IsNullOrEmpty(trustId))
{
var trust = BLL.TrustManageEditService.GetCH_TrustByID(trustId);
if (trust != null)
{
if (!string.IsNullOrEmpty(trust.CH_NDTMethod))
{
var ndtt = BLL.Base_DetectionTypeService.GetDetectionTypeByDetectionTypeId(trust.CH_NDTMethod);
initTemplatePath = "File\\Fastreport\\管道焊口无损检测结果通知单.frx";
}
if (drpPrintType.SelectedValue == BLL.Const.CheckReport2Id)
{
initTemplatePath = "File\\Fastreport\\设备焊口无损检测结果通知单.frx";
}
if (File.Exists(rootPath + initTemplatePath))
{
PageContext.RegisterStartupScript(Window3.GetShowReference(String.Format("../TrustManage/Fastreport.aspx?ReportPath={0}", rootPath + initTemplatePath)));
}
recordSheet.GetRow(i + 4).CreateCell(0).SetCellValue(trust.CH_TrustCode);
recordSheet.GetRow(i + 4).GetCell(0).CellStyle = styleCenter;
}
}
}
#endregion
// checkItems.Add(checkItem);
recordSheet.GetRow(i + 4).CreateCell(1).SetCellValue(q.CHT_CheckCode);
recordSheet.GetRow(i + 4).GetCell(1).CellStyle = styleCenter;
recordSheet.GetRow(i + 4).CreateCell(2).SetCellValue(checkItem.ISO_IsoNumber);
recordSheet.GetRow(i + 4).GetCell(2).CellStyle = styleCenter;
recordSheet.GetRow(i + 4).CreateCell(4).SetCellValue(checkItem.JOT_JointNo);
recordSheet.GetRow(i + 4).GetCell(4).CellStyle = styleCenter;
recordSheet.GetRow(i + 4).CreateCell(5).SetCellValue(checkItem.WelderCode);
recordSheet.GetRow(i + 4).GetCell(5).CellStyle = styleCenter;
recordSheet.GetRow(i + 4).CreateCell(6).SetCellValue(checkItem.CHT_CheckResult);
recordSheet.GetRow(i + 4).GetCell(6).CellStyle = styleCenter;
recordSheet.GetRow(i + 4).CreateCell(7).SetCellValue(checkItem.CHT_RepairLocation);
recordSheet.GetRow(i + 4).GetCell(7).CellStyle = styleCenter;
i++;
}
}
using (FileStream filess = File.OpenWrite(ReportFileName))
{
hssfworkbook.Write(filess);
}
//PageContext.RegisterStartupScript(Window5.GetShowReference(String.Format("../../ReportPrint/ExReportPrint.aspx?ispop=1&reportId={0}&replaceParameter={1}&varValue={2}&projectId={3}", BLL.Const.HJGL_JointInfoReportId, isoId, varValue, this.CurrUser.LoginProjectId)));
////varValue = installationName + "|" + unitName + "|" + projectName + "|" + q.PW_PointDate.Value.ToString("yyyy-MM-dd") + "|" + q.PW_PointNo;
FileInfo filet = new FileInfo(ReportFileName);
Response.Clear();
Response.Charset = "GB2312";
Response.ContentEncoding = System.Text.Encoding.UTF8;
// 添加头信息,为"文件下载/另存为"对话框指定默认文件名
Response.AddHeader("Content-Disposition", "attachment; filename=管道焊口无损检测结果通知单_" + Server.UrlEncode(DateTime.Now.ToString("yyyyMMddhhmmss") + ".xlsx"));
// 添加头信息,指定文件大小,让浏览器能够显示下载进度
Response.AddHeader("Content-Length", filet.Length.ToString());
// 指定返回的是一个不能被客户端读取的流,必须被下载
Response.ContentType = "application/ms-excel";
// 把文件流发送到客户端
Response.WriteFile(filet.FullName);
// 停止页面的执行
Response.End();
////if (!string.IsNullOrEmpty(varValue))
////{
//// varValue = Microsoft.JScript.GlobalObject.escape(varValue.Replace("/", ","));
////}
////PageContext.RegisterStartupScript(Window3.GetShowReference(String.Format("../../ReportPrint/ExReportPrint.aspx?ispop=1&reportId={0}&replaceParameter={1}&varValue={2}&projectId={3}", BLL.Const.CheckReportId, reportId, varValue, this.CurrUser.LoginProjectId)));
//string rootPath = Server.MapPath("~/") + Const.ExcelUrl;
////模板文件
//string TempletFileName = Server.MapPath("~/") + "File/Excel/HJGL_DataOut/管道焊口无损检测结果通知单.xlsx";
////导出文件
//string filePath = rootPath + DateTime.Now.ToString("yyyyMMddhhmmss") + "\\";
//if (!Directory.Exists(filePath))
//{
// Directory.CreateDirectory(filePath);
//}
//string ReportFileName = filePath + "out.xlsx";
//FileStream file = new FileStream(TempletFileName, FileMode.Open, FileAccess.Read);
//XSSFWorkbook hssfworkbook = new XSSFWorkbook(file);
//ICellStyle styleCenter = hssfworkbook.CreateCellStyle();
//styleCenter.VerticalAlignment = VerticalAlignment.Center;
//styleCenter.Alignment = HorizontalAlignment.Center;
//styleCenter.BorderLeft = BorderStyle.Thin;
//styleCenter.BorderTop = BorderStyle.Thin;
//styleCenter.BorderRight = BorderStyle.Thin;
//styleCenter.BorderBottom = BorderStyle.Thin;
//styleCenter.WrapText = true;
//XSSFSheet recordSheet = (XSSFSheet)hssfworkbook.GetSheet("管道焊口无损检测结果通知单");
//// recordSheet.AddMergedRegion(new CellRangeAddress(0, 0, 8, 9));
//recordSheet.GetRow(0).CreateCell(7).SetCellValue(projectName.ToString());
//recordSheet.GetRow(0).GetCell(7).CellStyle = styleCenter;
//recordSheet.GetRow(1).CreateCell(7).SetCellValue(installationName);
//recordSheet.GetRow(1).GetCell(7).CellStyle = styleCenter;
//recordSheet.GetRow(2).CreateCell(1).SetCellValue(unitName);
//recordSheet.GetRow(2).GetCell(1).CellStyle = styleCenter;
//recordSheet.GetRow(2).CreateCell(4).SetCellValue(this.NDTTypeCode);
//recordSheet.GetRow(2).GetCell(4).CellStyle = styleCenter;
//recordSheet.GetRow(2).CreateCell(7).SetCellValue(q.CHT_CheckCode);
//recordSheet.GetRow(2).GetCell(7).CellStyle = styleCenter;
//int i = 0;
//List<Model.CH_CheckItem> items = BLL.CheckItemManageService.GetTrustItemByCheck(CHT_CheckID);
//if (items.Count > 12)
//{
// recordSheet.ShiftRows(8, 27, items.Count - 12);
// for (int j = 0; j < items.Count - 12; j++)
// {
// recordSheet.CopyRow(4 + j, 5 + j);
// }
//}
//foreach (var t in items)
//{
// var checkItem = BLL.CheckItemManageService.GetTrustItemByCheckItem(t.CHT_CheckItemID);
// if (checkItem != null)
// {
// #region 查找委托中的检测类型并赋给检测类型变量
// if (!string.IsNullOrEmpty(t.CH_TrustItemID))
// {
// var trustId = (from x in Funs.DB.CH_TrustItem where x.CH_TrustItemID == t.CH_TrustItemID select x.CH_TrustID).FirstOrDefault();
// if (!string.IsNullOrEmpty(trustId))
// {
// var trust = BLL.TrustManageEditService.GetCH_TrustByID(trustId);
// if (trust != null)
// {
// if (!string.IsNullOrEmpty(trust.CH_NDTMethod))
// {
// var ndtt = BLL.Base_DetectionTypeService.GetDetectionTypeByDetectionTypeId(trust.CH_NDTMethod);
// }
// recordSheet.GetRow(i + 4).CreateCell(0).SetCellValue(trust.CH_TrustCode);
// recordSheet.GetRow(i + 4).GetCell(0).CellStyle = styleCenter;
// }
// }
// }
// #endregion
// // checkItems.Add(checkItem);
// recordSheet.GetRow(i + 4).CreateCell(1).SetCellValue(q.CHT_CheckCode);
// recordSheet.GetRow(i + 4).GetCell(1).CellStyle = styleCenter;
// recordSheet.GetRow(i + 4).CreateCell(2).SetCellValue(checkItem.ISO_IsoNumber);
// recordSheet.GetRow(i + 4).GetCell(2).CellStyle = styleCenter;
// recordSheet.GetRow(i + 4).CreateCell(4).SetCellValue(checkItem.JOT_JointNo);
// recordSheet.GetRow(i + 4).GetCell(4).CellStyle = styleCenter;
// recordSheet.GetRow(i + 4).CreateCell(5).SetCellValue(checkItem.WelderCode);
// recordSheet.GetRow(i + 4).GetCell(5).CellStyle = styleCenter;
// recordSheet.GetRow(i + 4).CreateCell(6).SetCellValue(checkItem.CHT_CheckResult);
// recordSheet.GetRow(i + 4).GetCell(6).CellStyle = styleCenter;
// recordSheet.GetRow(i + 4).CreateCell(7).SetCellValue(checkItem.CHT_RepairLocation);
// recordSheet.GetRow(i + 4).GetCell(7).CellStyle = styleCenter;
// i++;
// }
//}
//using (FileStream filess = File.OpenWrite(ReportFileName))
//{
// hssfworkbook.Write(filess);
//}
////PageContext.RegisterStartupScript(Window5.GetShowReference(String.Format("../../ReportPrint/ExReportPrint.aspx?ispop=1&reportId={0}&replaceParameter={1}&varValue={2}&projectId={3}", BLL.Const.HJGL_JointInfoReportId, isoId, varValue, this.CurrUser.LoginProjectId)));
//FileInfo filet = new FileInfo(ReportFileName);
//Response.Clear();
//Response.Charset = "GB2312";
//Response.ContentEncoding = System.Text.Encoding.UTF8;
//// 添加头信息,为"文件下载/另存为"对话框指定默认文件名
//Response.AddHeader("Content-Disposition", "attachment; filename=管道焊口无损检测结果通知单_" + Server.UrlEncode(DateTime.Now.ToString("yyyyMMddhhmmss") + ".xlsx"));
//// 添加头信息,指定文件大小,让浏览器能够显示下载进度
//Response.AddHeader("Content-Length", filet.Length.ToString());
//// 指定返回的是一个不能被客户端读取的流,必须被下载
//Response.ContentType = "application/ms-excel";
//// 把文件流发送到客户端
//Response.WriteFile(filet.FullName);
//// 停止页面的执行
//Response.End();
}
}
else
else if (drpPrintType.SelectedValue == BLL.Const.WeldJointCheckReportId)
{
var q = BLL.CheckManageService.GetCheckByCHT_CheckID(this.CHT_CheckID);
string varValue = string.Empty;
@@ -772,8 +815,8 @@ namespace FineUIPro.Web.HJGL.CheckManage
styleCenter.BorderRight = BorderStyle.Thin;
styleCenter.BorderBottom = BorderStyle.Thin;
styleCenter.WrapText = true;
IFont font= styleCenter.GetFont(hssfworkbook);
// font.Color = 10;//颜色
IFont font = styleCenter.GetFont(hssfworkbook);
// font.Color = 10;//颜色
font.FontHeightInPoints = 10;//字体高度(与excel中的字号一致)
styleCenter.SetFont(font);
XSSFSheet recordSheet = (XSSFSheet)hssfworkbook.GetSheet("管道焊接接头报检检查记录");
@@ -795,7 +838,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
int i = 0;
List<Model.CH_CheckItem> items = BLL.CheckItemManageService.GetTrustItemByCheck(CHT_CheckID);
recordSheet.GetRow(3).CreateCell(14).SetCellValue(items.Count+"个");
recordSheet.GetRow(3).CreateCell(14).SetCellValue(items.Count + "个");
recordSheet.GetRow(3).GetCell(14).CellStyle = styleCenter;
if (items.Count > 12)
{
@@ -819,7 +862,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
var dDetectionRate = Funs.DB.Base_DetectionRate.FirstOrDefault(x => x.DetectionRateId == iso.DetectionRateId);
if (dDetectionRate != null)
{
recordSheet.GetRow(3).CreateCell(18).SetCellValue(dDetectionRate.DetectionRateValue+"%");
recordSheet.GetRow(3).CreateCell(18).SetCellValue(dDetectionRate.DetectionRateValue + "%");
recordSheet.GetRow(3).GetCell(18).CellStyle = styleCenter;
}
}
@@ -883,14 +926,129 @@ namespace FineUIPro.Web.HJGL.CheckManage
Response.End();
}
else if (drpPrintType.SelectedValue == BLL.Const.CheckReport3Id)
{
var q = BLL.CheckManageService.GetCheckByCHT_CheckID(this.CHT_CheckID);
string varValue = string.Empty;
var projectName = BLL.ProjectService.GetProjectNameByProjectId(this.CurrUser.LoginProjectId);
var installationName = BLL.Project_InstallationService.GetInstallationByInstallationId(q.InstallationId).InstallationName;
var unitName = BLL.UnitService.GetUnitNameByUnitId(q.UnitId);
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
keyValuePairs.Add("projectName", projectName);
keyValuePairs.Add("installationName", installationName);
keyValuePairs.Add("conUnit", unitName);
var supUnitList = UnitService.GetUnitByProjectIdUnitTypeList(q.ProjectId, Const.ProjectUnitType_3);
string supUnitName = "";
foreach (var unit in supUnitList)
{
supUnitName += unit.UnitName + ",";
}
keyValuePairs.Add("supUnit", supUnitName);
var trust = TrustManageEditService.GetCH_TrustByID(q.CH_TrustID);
keyValuePairs.Add("checkStandard", trust.CH_NDTCriteria);
BLL.Common.FastReport.ResetData();
BLL.Common.FastReport.AddFastreportParameter(keyValuePairs);
string strSql = @"select ISO_ID ,CH_TrustCode,CHT_CheckCode,checkItem.ISO_IsoNumber,checkItem.JOT_JointNo,checkItem.WelderCode,checkItem.CHT_CheckResult,checkItem.CHT_RepairLocation
from View_CH_CheckItem checkItem left join CH_Check chcheck on checkItem.CHT_CheckID=chcheck.CHT_CheckID
where checkItem.CHT_CheckID =@CHT_CheckID order by dbo.Fun_GetParseInt(JOT_JointNo)";
List<SqlParameter> listpar = new List<SqlParameter>
{
new SqlParameter("@CHT_CheckID", this.CHT_CheckID)
};
SqlParameter[] parameter = listpar.ToArray();
DataTable dt = SQLHelper.GetDataTableRunText(strSql, parameter);
if (dt != null)
{
dt.TableName = "Table1";
}
BLL.Common.FastReport.AddFastreportTable(dt);
string initTemplatePath = "";
string rootPath = Server.MapPath("~/");
initTemplatePath = "File\\Fastreport\\管道无损检测结果汇总表.frx";
if (File.Exists(rootPath + initTemplatePath))
{
PageContext.RegisterStartupScript(Window3.GetShowReference(String.Format("../TrustManage/Fastreport.aspx?ReportPath={0}", rootPath + initTemplatePath)));
}
}
else if (drpPrintType.SelectedValue == BLL.Const.CheckReport4Id)
{
var q = BLL.CheckManageService.GetCheckByCHT_CheckID(this.CHT_CheckID);
string varValue = string.Empty;
var projectName = BLL.ProjectService.GetProjectNameByProjectId(this.CurrUser.LoginProjectId);
var installation = BLL.Project_InstallationService.GetInstallationByInstallationId(q.InstallationId);
var unitName = BLL.UnitService.GetUnitNameByUnitId(q.UnitId);
var workarea = WorkAreaService.GetWorkAreaByProjectIdAndInstalltionIdAndUnitId(this.CurrUser.LoginProjectId, q.InstallationId, q.UnitId);
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
keyValuePairs.Add("projectName", projectName);
keyValuePairs.Add("install", installation != null ? installation.InstallationName : "");
keyValuePairs.Add("conUnit", unitName);
keyValuePairs.Add("workarea", workarea != null ? workarea.WorkAreaName : "");
var trust = TrustManageEditService.GetCH_TrustByID(q.CH_TrustID);
if (trust != null)
{
keyValuePairs.Add("CH_NDTCriteria", trust.CH_NDTCriteria);//检测标志着
}
var supUnitList = UnitService.GetUnitByProjectIdUnitTypeList(q.ProjectId, Const.ProjectUnitType_3);
string supUnitName = "";
foreach (var unit in supUnitList)
{
supUnitName += unit.UnitName + ",";
}
keyValuePairs.Add("supUnit", supUnitName);
BLL.Common.FastReport.ResetData();
BLL.Common.FastReport.AddFastreportParameter(keyValuePairs);
string strSql = @"select distinct ISO_IsoNo
from View_CH_CheckItem checkItem left join CH_Check chcheck on checkItem.CHT_CheckID=chcheck.CHT_CheckID
where checkItem.CHT_CheckID =@CHT_CheckID ";
List<SqlParameter> listpar = new List<SqlParameter>
{
new SqlParameter("@CHT_CheckID", this.CHT_CheckID)
};
SqlParameter[] parameter = listpar.ToArray();
DataTable dt = SQLHelper.GetDataTableRunText(strSql, parameter);
if (dt != null)
{
dt.TableName = "Table1";
}
BLL.Common.FastReport.AddFastreportTable(dt);
string initTemplatePath = "";
string rootPath = Server.MapPath("~/");
initTemplatePath = "File\\Fastreport\\管道无损检测数量统计表.frx";
if (File.Exists(rootPath + initTemplatePath))
{
PageContext.RegisterStartupScript(Window3.GetShowReference(String.Format("../TrustManage/Fastreport.aspx?ReportPath={0}", rootPath + initTemplatePath)));
}
}
}
else
{
Alert.ShowInTop("请选择要打印的无损检测单!", MessageBoxIcon.Warning);
return;
}
}
#endregion
}
}
@@ -7,13 +7,11 @@
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.HJGL.CheckManage
{
public partial class CheckManageAudit
{
namespace FineUIPro.Web.HJGL.CheckManage {
public partial class CheckManageAudit {
/// <summary>
/// form1 控件。
/// </summary>
@@ -22,7 +20,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// PageManager1 控件。
/// </summary>
@@ -31,7 +29,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.PageManager PageManager1;
/// <summary>
/// Panel1 控件。
/// </summary>
@@ -40,7 +38,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel Panel1;
/// <summary>
/// panelLeftRegion 控件。
/// </summary>
@@ -49,7 +47,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel panelLeftRegion;
/// <summary>
/// Toolbar1 控件。
/// </summary>
@@ -58,7 +56,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar1;
/// <summary>
/// ckFind 控件。
/// </summary>
@@ -67,7 +65,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList ckFind;
/// <summary>
/// txtCheckTime 控件。
/// </summary>
@@ -76,7 +74,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker txtCheckTime;
/// <summary>
/// txtSearchCode 控件。
/// </summary>
@@ -85,7 +83,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtSearchCode;
/// <summary>
/// Toolbar2 控件。
/// </summary>
@@ -94,7 +92,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar2;
/// <summary>
/// drpCheckUnit 控件。
/// </summary>
@@ -103,7 +101,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpCheckUnit;
/// <summary>
/// tvControlItem 控件。
/// </summary>
@@ -112,7 +110,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Tree tvControlItem;
/// <summary>
/// panelCenterRegion 控件。
/// </summary>
@@ -121,7 +119,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel panelCenterRegion;
/// <summary>
/// Toolbar3 控件。
/// </summary>
@@ -130,7 +128,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar3;
/// <summary>
/// hdJOTID 控件。
/// </summary>
@@ -139,7 +137,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HiddenField hdJOTID;
/// <summary>
/// ToolbarFill1 控件。
/// </summary>
@@ -148,25 +146,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ToolbarFill ToolbarFill1;
/// <summary>
/// drpPrintType 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpPrintType;
/// <summary>
/// Button1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button Button1;
/// <summary>
/// btnAudit 控件。
/// </summary>
@@ -175,7 +155,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnAudit;
/// <summary>
/// btnCancelAudit 控件。
/// </summary>
@@ -184,7 +164,25 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnCancelAudit;
/// <summary>
/// drpPrintType 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpPrintType;
/// <summary>
/// Button1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button Button1;
/// <summary>
/// SimpleForm1 控件。
/// </summary>
@@ -193,7 +191,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form SimpleForm1;
/// <summary>
/// txtCheckCode 控件。
/// </summary>
@@ -202,7 +200,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtCheckCode;
/// <summary>
/// txtUnitName 控件。
/// </summary>
@@ -211,7 +209,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtUnitName;
/// <summary>
/// txtInstallationName 控件。
/// </summary>
@@ -220,7 +218,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtInstallationName;
/// <summary>
/// txtCheckType 控件。
/// </summary>
@@ -229,7 +227,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtCheckType;
/// <summary>
/// txtTabler 控件。
/// </summary>
@@ -238,7 +236,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtTabler;
/// <summary>
/// txtTableDate 控件。
/// </summary>
@@ -247,7 +245,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker txtTableDate;
/// <summary>
/// txtCheckDate 控件。
/// </summary>
@@ -256,7 +254,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker txtCheckDate;
/// <summary>
/// ddlAuditMan 控件。
/// </summary>
@@ -265,7 +263,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList ddlAuditMan;
/// <summary>
/// txtAuditDate 控件。
/// </summary>
@@ -274,7 +272,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker txtAuditDate;
/// <summary>
/// txtCheckMan 控件。
/// </summary>
@@ -283,7 +281,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtCheckMan;
/// <summary>
/// txtContractualUnits 控件。
/// </summary>
@@ -292,7 +290,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtContractualUnits;
/// <summary>
/// lbtnToTrust 控件。
/// </summary>
@@ -301,7 +299,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.LinkButton lbtnToTrust;
/// <summary>
/// txtRemark 控件。
/// </summary>
@@ -310,7 +308,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtRemark;
/// <summary>
/// Grid1 控件。
/// </summary>
@@ -319,7 +317,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Grid Grid1;
/// <summary>
/// Grid2 控件。
/// </summary>
@@ -328,7 +326,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Grid Grid2;
/// <summary>
/// Window2 控件。
/// </summary>
@@ -337,7 +335,7 @@ namespace FineUIPro.Web.HJGL.CheckManage
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Window Window2;
/// <summary>
/// Window3 控件。
/// </summary>