移交管理
This commit is contained in:
@@ -18,16 +18,16 @@
|
||||
<Rows>
|
||||
<f:FormRow ColumnWidths="25% 30% 35% 10%">
|
||||
<Items>
|
||||
<f:DropDownList ID="ddlSystemNo" runat="server" Label="System No" AutoPostBack="true"
|
||||
OnSelectedIndexChanged="ddlSystemNo_SelectedIndexChanged" Width="300px" LabelWidth="100px">
|
||||
<f:DropDownList ID="ddlSubSysNo" runat="server" Label="Turnover System Code" AutoPostBack="true"
|
||||
OnSelectedIndexChanged="ddlSubSysNo_SelectedIndexChanged" Width="180px" LabelWidth="200px">
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="ddlDateType" runat="server" Label="日期类型" AutoPostBack="true"
|
||||
OnSelectedIndexChanged="ddlDateType_SelectedIndexChanged" Width="200px" LabelWidth="80px">
|
||||
OnSelectedIndexChanged="ddlDateType_SelectedIndexChanged" Width="120px" LabelWidth="100px">
|
||||
<f:ListItem Value="1" Text="一周"></f:ListItem>
|
||||
<f:ListItem Value="2" Text="月份"></f:ListItem>
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="drpChartType" runat="server" Label="图形类型" AutoPostBack="true"
|
||||
OnSelectedIndexChanged="drpChartType_SelectedIndexChanged" Width="300px" LabelWidth="80px">
|
||||
OnSelectedIndexChanged="drpChartType_SelectedIndexChanged" Width="120px" LabelWidth="100px">
|
||||
<f:ListItem Value="Line" Text="折线图"></f:ListItem>
|
||||
<f:ListItem Value="Column" Text="柱形图"></f:ListItem>
|
||||
<%-- <f:ListItem Value="Pie" Text="饼形图"></f:ListItem>
|
||||
@@ -219,13 +219,13 @@
|
||||
TitleToolTip="图形">
|
||||
<Items>
|
||||
<f:Grid ID="Grid3" ShowBorder="true" ShowHeader="false" EnableCollapse="true"
|
||||
runat="server" BoxFlex="1" DataKeyNames="System_No" AllowCellEditing="true" EnableColumnLines="true"
|
||||
ClicksToEdit="2" DataIDField="System_No" AllowSorting="true" OnSort="Grid3_Sort"
|
||||
runat="server" BoxFlex="1" DataKeyNames="Sub_Sys_No" AllowCellEditing="true" EnableColumnLines="true"
|
||||
ClicksToEdit="2" DataIDField="Sub_Sys_No" AllowSorting="true" OnSort="Grid3_Sort"
|
||||
AllowPaging="true" IsDatabasePaging="true" PageSize="10" OnPageIndexChange="Grid3_PageIndexChange"
|
||||
EnableRowDoubleClickEvent="true" EnableTextSelection="true" EnableSummary="true">
|
||||
<Columns>
|
||||
|
||||
<f:BoundField TextAlign="Center" ColumnID="System_No" DataField="System_No" HeaderText="System No" Width="90px" />
|
||||
<f:BoundField TextAlign="Center" ColumnID="Sub_Sys_No" DataField="Sub_Sys_No" HeaderText="Turnover<br/>System<br/>Code" Width="140px" />
|
||||
|
||||
<f:GroupField HeaderText="总体情况" TextAlign="Center" >
|
||||
<Columns>
|
||||
|
||||
@@ -18,17 +18,17 @@ namespace FineUIPro.Web.Transfer.Chart
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
ddlSystemNo.Hidden = true;
|
||||
ddlSubSysNo.Hidden = true;
|
||||
ddlDateType.Hidden = true;
|
||||
drpChartType.Hidden = true;
|
||||
BtnAnalyse.Hidden = true;
|
||||
|
||||
var systemNos = Funs.DB.Transfer_PunchlistFrom.Where(x => x.ProjectId == this.CurrUser.LoginProjectId).GroupBy(p => new { p.System_No }).Select(p => new { System_No = p.Key.System_No }).ToList();
|
||||
var systemNos = Funs.DB.Transfer_PunchlistFrom.Where(x => x.ProjectId == this.CurrUser.LoginProjectId).GroupBy(p => new { p.Sub_Sys_No }).Select(p => new { SubSysNo = p.Key.Sub_Sys_No }).ToList();
|
||||
int indexRow = 1;
|
||||
ddlSystemNo.Items.Insert(0, new FineUIPro.ListItem("ALL", ""));
|
||||
ddlSubSysNo.Items.Insert(0, new FineUIPro.ListItem("ALL", ""));
|
||||
foreach (var t in systemNos)
|
||||
{
|
||||
ddlSystemNo.Items.Insert(indexRow, new FineUIPro.ListItem(t.System_No, t.System_No));
|
||||
ddlSubSysNo.Items.Insert(indexRow, new FineUIPro.ListItem(t.SubSysNo, t.SubSysNo));
|
||||
indexRow++;
|
||||
}
|
||||
AnalyseData();
|
||||
@@ -62,13 +62,13 @@ namespace FineUIPro.Web.Transfer.Chart
|
||||
/// </summary>
|
||||
private void AnalyseData()
|
||||
{
|
||||
string _systemNo = ddlSystemNo.SelectedValue;
|
||||
string _systemNo = ddlSubSysNo.SelectedValue;
|
||||
if (_systemNo == null)
|
||||
_systemNo = "";
|
||||
_systemNo = _systemNo.Trim();
|
||||
//_systemNo为空则查全部
|
||||
var forms = from x in Funs.DB.Transfer_PunchlistFrom
|
||||
where x.ProjectId == this.CurrUser.LoginProjectId && (x.System_No == _systemNo || _systemNo == "")
|
||||
where x.ProjectId == this.CurrUser.LoginProjectId && (x.Sub_Sys_No == _systemNo || _systemNo == "")
|
||||
select x;
|
||||
|
||||
string _dateType = ddlDateType.SelectedValue;
|
||||
@@ -239,7 +239,7 @@ namespace FineUIPro.Web.Transfer.Chart
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void ddlSystemNo_SelectedIndexChanged(object sender, EventArgs e)
|
||||
protected void ddlSubSysNo_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.AnalyseData();
|
||||
BindGrid1();
|
||||
@@ -322,15 +322,15 @@ namespace FineUIPro.Web.Transfer.Chart
|
||||
{
|
||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
string _systemNo = string.Empty;
|
||||
_systemNo = ddlSystemNo.SelectedValue;
|
||||
_systemNo = ddlSubSysNo.SelectedValue;
|
||||
StringBuilder strSql = new StringBuilder("");
|
||||
strSql.AppendLine(" IF OBJECT_ID('tempdb..#AllPunchlistFromSortTemp1') IS NOT NULL drop table #AllPunchlistFromSortTemp1; ");
|
||||
strSql.AppendLine(" IF OBJECT_ID('tempdb..#PunchlistFromSortTemp1') IS NOT NULL drop table #PunchlistFromSortTemp1; ");
|
||||
strSql.AppendLine(" select * INTO #AllPunchlistFromSortTemp1 from Transfer_PunchlistFrom(NOLOCK) where ProjectId=@ProjectId ");
|
||||
if (!string.IsNullOrWhiteSpace(_systemNo))
|
||||
{
|
||||
strSql.AppendLine(" AND System_No=@System_No ");
|
||||
listStr.Add(new SqlParameter("@System_No", _systemNo));
|
||||
strSql.AppendLine(" AND Sub_Sys_No=@SubSysNo ");
|
||||
listStr.Add(new SqlParameter("@SubSysNo", _systemNo));
|
||||
}
|
||||
strSql.AppendLine(@" select Disc,
|
||||
cast(0 as decimal(18, 2)) Cat_A_Count,
|
||||
@@ -465,15 +465,15 @@ namespace FineUIPro.Web.Transfer.Chart
|
||||
{
|
||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
string _systemNo = string.Empty;
|
||||
_systemNo = ddlSystemNo.SelectedValue;
|
||||
_systemNo = ddlSubSysNo.SelectedValue;
|
||||
StringBuilder strSql = new StringBuilder("");
|
||||
strSql.AppendLine(" IF OBJECT_ID('tempdb..#AllPunchlistFromSortTemp2') IS NOT NULL drop table #AllPunchlistFromSortTemp2; ");
|
||||
strSql.AppendLine(" IF OBJECT_ID('tempdb..#PunchlistFromSortTemp2') IS NOT NULL drop table #PunchlistFromSortTemp2; ");
|
||||
strSql.AppendLine(" select * INTO #AllPunchlistFromSortTemp2 from Transfer_PunchlistFrom(NOLOCK) where ProjectId=@ProjectId ");
|
||||
if (!string.IsNullOrWhiteSpace(_systemNo))
|
||||
{
|
||||
strSql.AppendLine(" AND System_No=@System_No ");
|
||||
listStr.Add(new SqlParameter("@System_No", _systemNo));
|
||||
strSql.AppendLine(" AND Sub_Sys_No=@SubSysNo ");
|
||||
listStr.Add(new SqlParameter("@SubSysNo", _systemNo));
|
||||
}
|
||||
strSql.AppendLine(@" select Action_By,
|
||||
cast(0 as decimal(18, 2)) Cat_A_Count,
|
||||
@@ -606,7 +606,7 @@ namespace FineUIPro.Web.Transfer.Chart
|
||||
{
|
||||
if (TabStrip1.ActiveTabIndex == 0)
|
||||
{
|
||||
ddlSystemNo.Hidden = true;
|
||||
ddlSubSysNo.Hidden = true;
|
||||
ddlDateType.Hidden = true;
|
||||
drpChartType.Hidden = true;
|
||||
BtnAnalyse.Hidden = true;
|
||||
@@ -614,7 +614,7 @@ namespace FineUIPro.Web.Transfer.Chart
|
||||
}
|
||||
else if (TabStrip1.ActiveTabIndex == 2)
|
||||
{
|
||||
ddlSystemNo.Hidden = false;
|
||||
ddlSubSysNo.Hidden = false;
|
||||
ddlDateType.Hidden = true;
|
||||
drpChartType.Hidden = true;
|
||||
BtnAnalyse.Hidden = false;
|
||||
@@ -622,7 +622,7 @@ namespace FineUIPro.Web.Transfer.Chart
|
||||
}
|
||||
else if (TabStrip1.ActiveTabIndex == 3)
|
||||
{
|
||||
ddlSystemNo.Hidden = false;
|
||||
ddlSubSysNo.Hidden = false;
|
||||
ddlDateType.Hidden = true;
|
||||
drpChartType.Hidden = true;
|
||||
BtnAnalyse.Hidden = false;
|
||||
@@ -632,14 +632,14 @@ namespace FineUIPro.Web.Transfer.Chart
|
||||
{
|
||||
ddlDateType.Hidden = true;
|
||||
drpChartType.Hidden = true;
|
||||
ddlSystemNo.Hidden = true;
|
||||
ddlSubSysNo.Hidden = true;
|
||||
BtnAnalyse.Hidden = false;
|
||||
BindGrid3();
|
||||
}
|
||||
else
|
||||
{
|
||||
this.AnalyseData();
|
||||
ddlSystemNo.Hidden = false;
|
||||
ddlSubSysNo.Hidden = false;
|
||||
ddlDateType.Hidden = false;
|
||||
drpChartType.Hidden = false;
|
||||
BtnAnalyse.Hidden = false;
|
||||
@@ -658,15 +658,15 @@ namespace FineUIPro.Web.Transfer.Chart
|
||||
strSql.AppendLine("IF OBJECT_ID('tempdb..#PunchlistFromProgressTemp') IS NOT NULL drop table #PunchlistFromProgressTemp; ");
|
||||
|
||||
strSql.AppendLine(" select * INTO #AllPunchlistFromProgressTemp from Transfer_PunchlistFrom(NOLOCK) where ProjectId=@ProjectId ");
|
||||
//strSql.AppendLine(" select System_No,count(System_No) SystemNoCount,cast(0 as decimal(18,2)) ActualDateCount ");
|
||||
//strSql.AppendLine(" select Sub_Sys_No,count(Sub_Sys_No) SystemNoCount,cast(0 as decimal(18,2)) ActualDateCount ");
|
||||
//strSql.AppendLine(" ,cast(0 as decimal(18,2)) ClearedByCount,cast(0 as decimal(18,2)) ConfirmedByCount,cast(0 as decimal(18,2)) VerifiedByCount ");
|
||||
//strSql.AppendLine(" INTO #PunchlistFromProgressTemp from #AllPunchlistFromProgressTemp where ProjectId = @ProjectId group by System_No ");
|
||||
//strSql.AppendLine(" update a set a.ActualDateCount=(select count(1) from #AllPunchlistFromProgressTemp b where a.System_No=b.System_No AND isnull(b.Actual_Date,'')<>'') ");
|
||||
//strSql.AppendLine(" ,a.ClearedByCount=(select count(1) from #AllPunchlistFromProgressTemp b where a.System_No=b.System_No AND isnull(b.Cleared_By,'')<>'') ");
|
||||
//strSql.AppendLine(" ,a.ConfirmedByCount=(select count(1) from #AllPunchlistFromProgressTemp b where a.System_No=b.System_No AND isnull(b.Confirmed_By,'')<>'') ");
|
||||
//strSql.AppendLine(" ,a.VerifiedByCount=(select count(1) from #AllPunchlistFromProgressTemp b where a.System_No=b.System_No AND isnull(b.Verified_By,'')<>'') ");
|
||||
//strSql.AppendLine(" INTO #PunchlistFromProgressTemp from #AllPunchlistFromProgressTemp where ProjectId = @ProjectId group by Sub_Sys_No ");
|
||||
//strSql.AppendLine(" update a set a.ActualDateCount=(select count(1) from #AllPunchlistFromProgressTemp b where a.Sub_Sys_No=b.Sub_Sys_No AND isnull(b.Actual_Date,'')<>'') ");
|
||||
//strSql.AppendLine(" ,a.ClearedByCount=(select count(1) from #AllPunchlistFromProgressTemp b where a.Sub_Sys_No=b.Sub_Sys_No AND isnull(b.Cleared_By,'')<>'') ");
|
||||
//strSql.AppendLine(" ,a.ConfirmedByCount=(select count(1) from #AllPunchlistFromProgressTemp b where a.Sub_Sys_No=b.Sub_Sys_No AND isnull(b.Confirmed_By,'')<>'') ");
|
||||
//strSql.AppendLine(" ,a.VerifiedByCount=(select count(1) from #AllPunchlistFromProgressTemp b where a.Sub_Sys_No=b.Sub_Sys_No AND isnull(b.Verified_By,'')<>'') ");
|
||||
|
||||
strSql.AppendLine(@" select System_No,
|
||||
strSql.AppendLine(@" select Sub_Sys_No,
|
||||
cast(0 as decimal(18, 2)) Cat_A_Count,
|
||||
cast(0 as decimal(18, 2)) Cat_A_Countf,cast(0 as decimal(18, 2)) Cat_A_CountPercent, cast(0 as decimal(18, 2)) Cat_A_CountWUH, cast(0 as decimal(18, 2)) Cat_A_CountBASF,
|
||||
cast(0 as decimal(18, 2)) Cat_B_Count,
|
||||
@@ -677,36 +677,36 @@ namespace FineUIPro.Web.Transfer.Chart
|
||||
cast(0 as decimal(18, 2)) Cat_D_Countf,cast(0 as decimal(18, 2)) Cat_D_CountPercent, cast(0 as decimal(18, 2)) Cat_D_CountWUH, cast(0 as decimal(18, 2)) Cat_D_CountBASF,
|
||||
cast(0 as decimal(18, 2)) allCount,cast(0 as decimal(18, 2)) allfinshedCount,cast(0 as decimal(18, 2)) allCountPercent,cast(0 as decimal(18, 2)) allWUH, cast(0 as decimal(18, 2)) allBASF
|
||||
INTO #PunchlistFromProgressTemp
|
||||
from #AllPunchlistFromProgressTemp Group by System_No; ");
|
||||
from #AllPunchlistFromProgressTemp Group by Sub_Sys_No; ");
|
||||
strSql.AppendLine(@" update a set
|
||||
allCount=(select count(1) from #AllPunchlistFromProgressTemp b where a.System_No=b.System_No),
|
||||
allfinshedCount=(select count(1) from #AllPunchlistFromProgressTemp b where a.System_No=b.System_No and (b.Required_Date is not null or b.Required_Date!='')),
|
||||
allWUH=(select count(1) from #AllPunchlistFromProgressTemp b where a.System_No=b.System_No and (b.Confirmed_Date is not null or b.Confirmed_Date!='')),
|
||||
allBASF=(select count(1) from #AllPunchlistFromProgressTemp b where a.System_No=b.System_No and (b.Verified_Date is not null or b.Verified_Date!='')),
|
||||
allCount=(select count(1) from #AllPunchlistFromProgressTemp b where a.Sub_Sys_No=b.Sub_Sys_No),
|
||||
allfinshedCount=(select count(1) from #AllPunchlistFromProgressTemp b where a.Sub_Sys_No=b.Sub_Sys_No and (b.Required_Date is not null or b.Required_Date!='')),
|
||||
allWUH=(select count(1) from #AllPunchlistFromProgressTemp b where a.Sub_Sys_No=b.Sub_Sys_No and (b.Confirmed_Date is not null or b.Confirmed_Date!='')),
|
||||
allBASF=(select count(1) from #AllPunchlistFromProgressTemp b where a.Sub_Sys_No=b.Sub_Sys_No and (b.Verified_Date is not null or b.Verified_Date!='')),
|
||||
|
||||
a.Cat_A_Count=(select count(1) from #AllPunchlistFromProgressTemp b where a.System_No=b.System_No AND (isnull(b.Cat,'')='A' or isnull(b.Cat,'')='a')),
|
||||
a.Cat_A_Count=(select count(1) from #AllPunchlistFromProgressTemp b where a.Sub_Sys_No=b.Sub_Sys_No AND (isnull(b.Cat,'')='A' or isnull(b.Cat,'')='a')),
|
||||
|
||||
a.Cat_A_Countf=(select count(1) from #AllPunchlistFromProgressTemp b where a.System_No=b.System_No AND (isnull(b.Cat,'')='A' or isnull(b.Cat,'')='a') and (b.Required_Date is not null or b.Required_Date!='')),
|
||||
a.Cat_A_CountWUH=(select count(1) from #AllPunchlistFromProgressTemp b where a.System_No=b.System_No AND (isnull(b.Cat,'')='A' or isnull(b.Cat,'')='a') and (b.Confirmed_Date is not null or b.Confirmed_Date!='')),
|
||||
a.Cat_A_CountBASF=(select count(1) from #AllPunchlistFromProgressTemp b where a.System_No=b.System_No AND (isnull(b.Cat,'')='A' or isnull(b.Cat,'')='a') and (b.Verified_Date is not null or b.Verified_Date!=''))
|
||||
a.Cat_A_Countf=(select count(1) from #AllPunchlistFromProgressTemp b where a.Sub_Sys_No=b.Sub_Sys_No AND (isnull(b.Cat,'')='A' or isnull(b.Cat,'')='a') and (b.Required_Date is not null or b.Required_Date!='')),
|
||||
a.Cat_A_CountWUH=(select count(1) from #AllPunchlistFromProgressTemp b where a.Sub_Sys_No=b.Sub_Sys_No AND (isnull(b.Cat,'')='A' or isnull(b.Cat,'')='a') and (b.Confirmed_Date is not null or b.Confirmed_Date!='')),
|
||||
a.Cat_A_CountBASF=(select count(1) from #AllPunchlistFromProgressTemp b where a.Sub_Sys_No=b.Sub_Sys_No AND (isnull(b.Cat,'')='A' or isnull(b.Cat,'')='a') and (b.Verified_Date is not null or b.Verified_Date!=''))
|
||||
|
||||
,a.Cat_B_Count=(select count(1) from #AllPunchlistFromProgressTemp b where a.System_No=b.System_No AND (isnull(b.Cat,'')='B' or isnull(b.Cat,'')='b')) ,
|
||||
,a.Cat_B_Count=(select count(1) from #AllPunchlistFromProgressTemp b where a.Sub_Sys_No=b.Sub_Sys_No AND (isnull(b.Cat,'')='B' or isnull(b.Cat,'')='b')) ,
|
||||
|
||||
a.Cat_B_Countf=(select count(1) from #AllPunchlistFromProgressTemp b where a.System_No=b.System_No AND (isnull(b.Cat,'')='B' or isnull(b.Cat,'')='b') and (b.Required_Date is not null or b.Required_Date!='')),
|
||||
a.Cat_B_CountWUH=(select count(1) from #AllPunchlistFromProgressTemp b where a.System_No=b.System_No AND (isnull(b.Cat,'')='B' or isnull(b.Cat,'')='b') and (b.Confirmed_Date is not null or b.Confirmed_Date!='')),
|
||||
a.Cat_B_CountBASF=(select count(1) from #AllPunchlistFromProgressTemp b where a.System_No=b.System_No AND (isnull(b.Cat,'')='B' or isnull(b.Cat,'')='b') and (b.Verified_Date is not null or b.Verified_Date!=''))
|
||||
a.Cat_B_Countf=(select count(1) from #AllPunchlistFromProgressTemp b where a.Sub_Sys_No=b.Sub_Sys_No AND (isnull(b.Cat,'')='B' or isnull(b.Cat,'')='b') and (b.Required_Date is not null or b.Required_Date!='')),
|
||||
a.Cat_B_CountWUH=(select count(1) from #AllPunchlistFromProgressTemp b where a.Sub_Sys_No=b.Sub_Sys_No AND (isnull(b.Cat,'')='B' or isnull(b.Cat,'')='b') and (b.Confirmed_Date is not null or b.Confirmed_Date!='')),
|
||||
a.Cat_B_CountBASF=(select count(1) from #AllPunchlistFromProgressTemp b where a.Sub_Sys_No=b.Sub_Sys_No AND (isnull(b.Cat,'')='B' or isnull(b.Cat,'')='b') and (b.Verified_Date is not null or b.Verified_Date!=''))
|
||||
|
||||
|
||||
,a.Cat_C_Count=(select count(1) from #AllPunchlistFromProgressTemp b where a.System_No=b.System_No AND (isnull(b.Cat,'')='C' or isnull(b.Cat,'')='c')) ,
|
||||
,a.Cat_C_Count=(select count(1) from #AllPunchlistFromProgressTemp b where a.Sub_Sys_No=b.Sub_Sys_No AND (isnull(b.Cat,'')='C' or isnull(b.Cat,'')='c')) ,
|
||||
|
||||
a.Cat_C_Countf=(select count(1) from #AllPunchlistFromProgressTemp b where a.System_No=b.System_No AND (isnull(b.Cat,'')='C' or isnull(b.Cat,'')='c') and (b.Required_Date is not null or b.Required_Date!='')),
|
||||
a.Cat_C_CountWUH=(select count(1) from #AllPunchlistFromProgressTemp b where a.System_No=b.System_No AND (isnull(b.Cat,'')='C' or isnull(b.Cat,'')='c') and (b.Confirmed_Date is not null or b.Confirmed_Date!='')),
|
||||
a.Cat_C_CountBASF=(select count(1) from #AllPunchlistFromProgressTemp b where a.System_No=b.System_No AND (isnull(b.Cat,'')='C' or isnull(b.Cat,'')='c') and (b.Verified_Date is not null or b.Verified_Date!=''))
|
||||
a.Cat_C_Countf=(select count(1) from #AllPunchlistFromProgressTemp b where a.Sub_Sys_No=b.Sub_Sys_No AND (isnull(b.Cat,'')='C' or isnull(b.Cat,'')='c') and (b.Required_Date is not null or b.Required_Date!='')),
|
||||
a.Cat_C_CountWUH=(select count(1) from #AllPunchlistFromProgressTemp b where a.Sub_Sys_No=b.Sub_Sys_No AND (isnull(b.Cat,'')='C' or isnull(b.Cat,'')='c') and (b.Confirmed_Date is not null or b.Confirmed_Date!='')),
|
||||
a.Cat_C_CountBASF=(select count(1) from #AllPunchlistFromProgressTemp b where a.Sub_Sys_No=b.Sub_Sys_No AND (isnull(b.Cat,'')='C' or isnull(b.Cat,'')='c') and (b.Verified_Date is not null or b.Verified_Date!=''))
|
||||
|
||||
,a.Cat_D_Count=(select count(1) from #AllPunchlistFromProgressTemp b where a.System_No=b.System_No AND (isnull(b.Cat,'')='D' or isnull(b.Cat,'')='d')) ,
|
||||
a.Cat_D_Countf=(select count(1) from #AllPunchlistFromProgressTemp b where a.System_No=b.System_No AND (isnull(b.Cat,'')='D' or isnull(b.Cat,'')='d') and (b.Required_Date is not null or b.Required_Date!='')),
|
||||
a.Cat_D_CountWUH=(select count(1) from #AllPunchlistFromProgressTemp b where a.System_No=b.System_No AND (isnull(b.Cat,'')='D' or isnull(b.Cat,'')='d') and (b.Confirmed_Date is not null or b.Confirmed_Date!='')),
|
||||
a.Cat_D_CountBASF=(select count(1) from #AllPunchlistFromProgressTemp b where a.System_No=b.System_No AND (isnull(b.Cat,'')='D' or isnull(b.Cat,'')='d') and (b.Verified_Date is not null or b.Verified_Date!=''))
|
||||
,a.Cat_D_Count=(select count(1) from #AllPunchlistFromProgressTemp b where a.Sub_Sys_No=b.Sub_Sys_No AND (isnull(b.Cat,'')='D' or isnull(b.Cat,'')='d')) ,
|
||||
a.Cat_D_Countf=(select count(1) from #AllPunchlistFromProgressTemp b where a.Sub_Sys_No=b.Sub_Sys_No AND (isnull(b.Cat,'')='D' or isnull(b.Cat,'')='d') and (b.Required_Date is not null or b.Required_Date!='')),
|
||||
a.Cat_D_CountWUH=(select count(1) from #AllPunchlistFromProgressTemp b where a.Sub_Sys_No=b.Sub_Sys_No AND (isnull(b.Cat,'')='D' or isnull(b.Cat,'')='d') and (b.Confirmed_Date is not null or b.Confirmed_Date!='')),
|
||||
a.Cat_D_CountBASF=(select count(1) from #AllPunchlistFromProgressTemp b where a.Sub_Sys_No=b.Sub_Sys_No AND (isnull(b.Cat,'')='D' or isnull(b.Cat,'')='d') and (b.Verified_Date is not null or b.Verified_Date!=''))
|
||||
|
||||
from #PunchlistFromProgressTemp a;");
|
||||
|
||||
@@ -723,7 +723,7 @@ namespace FineUIPro.Web.Transfer.Chart
|
||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
listStr.Add(new SqlParameter("@ProjectId", this.CurrUser.LoginProjectId));
|
||||
|
||||
strSql.AppendLine(" order by System_No ");
|
||||
strSql.AppendLine(" order by Sub_Sys_No ");
|
||||
SqlParameter[] parameter = listStr.ToArray();
|
||||
DataTable tb = SQLHelper.GetDataTableRunText(strSql.ToString(), parameter);
|
||||
Grid3.RecordCount = tb.Rows.Count;
|
||||
@@ -772,14 +772,20 @@ namespace FineUIPro.Web.Transfer.Chart
|
||||
allBASF += Convert.ToInt32(row["allBASF"]);
|
||||
}
|
||||
|
||||
var Cat_A_CountPercent = 100 * ((float)Cat_A_Countf / (float)cat_A_Count);
|
||||
var Cat_B_CountPercent = 100 * ((float)Cat_B_Countf / (float)cat_B_Count);
|
||||
var Cat_C_CountPercent = 100 * ((float)Cat_C_Countf / (float)cat_C_Count);
|
||||
var Cat_D_CountPercent = 100 * ((float)Cat_D_Countf / (float)cat_D_Count);
|
||||
var allCountPercent = 100 * ((float)allfinshedCount / (float)allCount);
|
||||
//var Cat_A_CountPercent = 100 * ((float)Cat_A_Countf / (float)cat_A_Count);
|
||||
//var Cat_B_CountPercent = 100 * ((float)Cat_B_Countf / (float)cat_B_Count);
|
||||
//var Cat_C_CountPercent = 100 * ((float)Cat_C_Countf / (float)cat_C_Count);
|
||||
//var Cat_D_CountPercent = 100 * ((float)Cat_D_Countf / (float)cat_D_Count);
|
||||
//var allCountPercent = 100 * ((float)allfinshedCount / (float)allCount);
|
||||
|
||||
var Cat_A_CountPercent = Cat_A_Countf > 0 && cat_A_Count > 0 ? 100 * ((decimal)(Cat_A_Countf / cat_A_Count)) : 0;
|
||||
var Cat_B_CountPercent = Cat_B_Countf > 0 && cat_B_Count > 0 ? 100 * ((decimal)(Cat_B_Countf / cat_B_Count)) : 0;
|
||||
var Cat_C_CountPercent = Cat_C_Countf > 0 && cat_C_Count > 0 ? 100 * ((decimal)(Cat_C_Countf / cat_C_Count)) : 0;
|
||||
var Cat_D_CountPercent = Cat_D_Countf > 0 && cat_D_Count > 0 ? 100 * ((decimal)(Cat_D_Countf / cat_D_Count)) : 0;
|
||||
var allCountPercent = allfinshedCount > 0 && allCount > 0 ? 100 * ((decimal)(allfinshedCount / allCount)) : 0;
|
||||
|
||||
JObject summary = new JObject();
|
||||
summary.Add("System_No", "合计");
|
||||
summary.Add("SubSysNo", "合计");
|
||||
summary.Add("Cat_A_Count", cat_A_Count.ToString());
|
||||
summary.Add("Cat_B_Count", cat_B_Count.ToString());
|
||||
summary.Add("Cat_C_Count", cat_C_Count.ToString());
|
||||
|
||||
@@ -51,13 +51,13 @@ namespace FineUIPro.Web.Transfer.Chart
|
||||
protected global::FineUIPro.Form Form2;
|
||||
|
||||
/// <summary>
|
||||
/// ddlSystemNo 控件。
|
||||
/// ddlSubSysNo 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList ddlSystemNo;
|
||||
protected global::FineUIPro.DropDownList ddlSubSysNo;
|
||||
|
||||
/// <summary>
|
||||
/// ddlDateType 控件。
|
||||
|
||||
@@ -12,43 +12,43 @@
|
||||
<f:PageManager ID="PageManager1" runat="server" AutoSizePanelID="Panel1" />
|
||||
<f:Panel ID="Panel1" runat="server" Margin="5px" BodyPadding="5px" ShowBorder="false"
|
||||
ShowHeader="false" Layout="VBox" BoxConfigAlign="Stretch">
|
||||
<Items>
|
||||
<items>
|
||||
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="设备材料报验" EnableCollapse="true"
|
||||
runat="server" BoxFlex="1" DataKeyNames="SystemNo" AllowCellEditing="true" EnableColumnLines="true"
|
||||
ClicksToEdit="2" DataIDField="SystemNo" AllowSorting="true"
|
||||
runat="server" BoxFlex="1" DataKeyNames="SubSysNo" AllowCellEditing="true" EnableColumnLines="true"
|
||||
ClicksToEdit="2" DataIDField="SubSysNo" AllowSorting="true"
|
||||
AllowPaging="true" IsDatabasePaging="true" PageSize="10" OnPageIndexChange="Grid1_PageIndexChange"
|
||||
EnableTextSelection="true" AllowColumnLocking="true">
|
||||
<Toolbars>
|
||||
<toolbars>
|
||||
<f:Toolbar ID="ToolSearch" Position="Top" runat="server" ToolbarAlign="Left">
|
||||
<Items>
|
||||
<f:DropDownList ID="ddlSystemNo" runat="server" Label="System No" AutoPostBack="true" EnableEdit="true"
|
||||
OnSelectedIndexChanged="ddlSystemNo_SelectedIndexChanged" Width="300px" LabelWidth="100px">
|
||||
<items>
|
||||
<f:DropDownList ID="ddlSubSysNo" runat="server" Label="Turnover System Code" AutoPostBack="true" EnableEdit="true"
|
||||
OnSelectedIndexChanged="ddlSubSysNo_SelectedIndexChanged" Width="400px" LabelWidth="200px">
|
||||
</f:DropDownList>
|
||||
|
||||
<f:Button ID="btnSearch" Icon="SystemSearch" EnablePostBack="true" runat="server" OnClick="btnSearch_Click" ToolTip="查询">
|
||||
</f:Button>
|
||||
|
||||
<f:ToolbarFill runat="server"></f:ToolbarFill>
|
||||
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" ToolTip="导出" Icon="FolderUp"
|
||||
EnableAjax="false" DisableControlBeforePostBack="false">
|
||||
</f:Button>
|
||||
<f:ToolbarFill runat="server"></f:ToolbarFill>
|
||||
</Items>
|
||||
</items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
<Columns>
|
||||
</toolbars>
|
||||
<columns>
|
||||
<f:TemplateField ColumnID="tfPageIndex" Width="50px" HeaderText="序号" HeaderTextAlign="Center" TextAlign="Center"
|
||||
EnableLock="true" Locked="true">
|
||||
<ItemTemplate>
|
||||
<itemtemplate>
|
||||
<asp:Label ID="lblPageIndex" runat="server" Text='<%# Grid1.PageIndex * Grid1.PageSize + Container.DataItemIndex + 1 %>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
</itemtemplate>
|
||||
</f:TemplateField>
|
||||
<%-- <f:RenderField ColumnID="SN" DataField="SN" FieldType="String" HeaderText="SN" TextAlign="Center"
|
||||
HeaderTextAlign="Center" MinWidth="50px">
|
||||
</f:RenderField>--%>
|
||||
|
||||
<f:RenderField ColumnID="SystemNo" DataField="SystemNo"
|
||||
FieldType="String" HeaderText="SystemNo" TextAlign="Center"
|
||||
HeaderTextAlign="Center" Width="90px" EnableLock="true" Locked="true">
|
||||
<f:RenderField ColumnID="SubSysNo" DataField="SubSysNo"
|
||||
FieldType="String" HeaderText="Turnover<br/>System Code" TextAlign="Center"
|
||||
HeaderTextAlign="Center" MinWidth="140px" EnableLock="true" Locked="true">
|
||||
</f:RenderField>
|
||||
|
||||
<f:RenderField MinWidth="100px" ColumnID="PlanPWD" DataField="PlanPWD"
|
||||
@@ -62,99 +62,99 @@
|
||||
<f:RenderField MinWidth="100px" ColumnID="PlanPWD" DataField="PlanPWD"
|
||||
HeaderText="MC Plan<br/>MC 计划" TextAlign="Center"
|
||||
FieldType="Date" Renderer="Date" RendererArgument="yyyy-MM-dd" EnableLock="true" Locked="true" />
|
||||
|
||||
<f:GroupField HeaderText="Welding<br/>管道焊接信息" TextAlign="Center" MinWidth="160px">
|
||||
<Columns>
|
||||
|
||||
<f:GroupField HeaderText="Welding<br/>管道焊接信息" TextAlign="Center">
|
||||
<columns>
|
||||
<f:RenderField MinWidth="30px" ColumnID="TotalFactor" DataField="TotalFactor"
|
||||
HeaderText="总达因数" TextAlign="Center" />
|
||||
|
||||
<f:RenderField MinWidth="50px" ColumnID="CompleteFactor" DataField="CompleteFactor"
|
||||
HeaderText="完成达因数" TextAlign="Center" />
|
||||
|
||||
<f:RenderField MinWidth="80px" ColumnID="CompleteProportion" DataField="CompleteProportion"
|
||||
<f:RenderField MinWidth="30px" ColumnID="CompleteProportion" DataField="CompleteProportion"
|
||||
HeaderText="完成率(%)" TextAlign="Center" />
|
||||
</Columns>
|
||||
</columns>
|
||||
</f:GroupField>
|
||||
|
||||
<f:GroupField HeaderText="Piping<br/>管道试压包" TextAlign="Center" MinWidth="140px">
|
||||
<Columns>
|
||||
<f:GroupField HeaderText="Piping<br/>管道试压包" TextAlign="Center">
|
||||
<columns>
|
||||
<f:RenderField MinWidth="30px" ColumnID="PipingCount" DataField="PipingCount"
|
||||
HeaderText="总数" TextAlign="Center" />
|
||||
|
||||
<f:RenderField MinWidth="30px" ColumnID="PipingScount" DataField="PipingScount"
|
||||
HeaderText="完成数" TextAlign="Center" />
|
||||
|
||||
<f:RenderField MinWidth="80px" ColumnID="PipingPercent" DataField="PipingPercent"
|
||||
<f:RenderField MinWidth="30px" ColumnID="PipingPercent" DataField="PipingPercent"
|
||||
HeaderText="完成率(%)" TextAlign="Center" />
|
||||
</Columns>
|
||||
</columns>
|
||||
</f:GroupField>
|
||||
|
||||
<f:GroupField HeaderText="Reinstate<br/>管道冲洗吹扫&复位信息" TextAlign="Center" MinWidth="140px">
|
||||
<Columns>
|
||||
|
||||
<f:GroupField HeaderText="Reinstate<br/>管道冲洗吹扫&复位信息" TextAlign="Center">
|
||||
<columns>
|
||||
<f:RenderField MinWidth="30px" ColumnID="ReinstateCount" DataField="ReinstateCount"
|
||||
HeaderText="总数" TextAlign="Center" />
|
||||
|
||||
<f:RenderField MinWidth="30px" ColumnID="ReinstateScount" DataField="ReinstateScount"
|
||||
HeaderText="完成数" TextAlign="Center" />
|
||||
|
||||
<f:RenderField MinWidth="80px" ColumnID="ReinstatePercent" DataField="ReinstatePercent"
|
||||
<f:RenderField MinWidth="30px" ColumnID="ReinstatePercent" DataField="ReinstatePercent"
|
||||
HeaderText="完成率(%)" TextAlign="Center" />
|
||||
</Columns>
|
||||
</columns>
|
||||
</f:GroupField>
|
||||
|
||||
<f:GroupField HeaderText="Equipment<br/>设备测试包" TextAlign="Center" MinWidth="140px">
|
||||
<Columns>
|
||||
<f:GroupField HeaderText="Equipment<br/>设备测试包" TextAlign="Center">
|
||||
<columns>
|
||||
<f:RenderField MinWidth="30px" ColumnID="EqCount" DataField="EqCount"
|
||||
HeaderText="总数" TextAlign="Center" />
|
||||
|
||||
<f:RenderField MinWidth="30px" ColumnID="EqSCount" DataField="EqSCount"
|
||||
HeaderText="完成数" TextAlign="Center" />
|
||||
|
||||
<f:RenderField MinWidth="80px" ColumnID="EqPercent" DataField="EqPercent"
|
||||
<f:RenderField MinWidth="30px" ColumnID="EqPercent" DataField="EqPercent"
|
||||
HeaderText="完成率(%)" TextAlign="Center" />
|
||||
</Columns>
|
||||
</columns>
|
||||
</f:GroupField>
|
||||
|
||||
<f:GroupField HeaderText="Electric<br/>电气测试包" TextAlign="Center" MinWidth="140px">
|
||||
<Columns>
|
||||
<f:GroupField HeaderText="Electric<br/>电气测试包" TextAlign="Center">
|
||||
<columns>
|
||||
<f:RenderField MinWidth="30px" ColumnID="TeCount" DataField="TeCount"
|
||||
HeaderText="总数" TextAlign="Center" />
|
||||
|
||||
<f:RenderField MinWidth="30px" ColumnID="TeScount" DataField="TeScount"
|
||||
HeaderText="完成数" TextAlign="Center" />
|
||||
|
||||
<f:RenderField MinWidth="80px" ColumnID="TePercent" DataField="TePercent"
|
||||
<f:RenderField MinWidth="30px" ColumnID="TePercent" DataField="TePercent"
|
||||
HeaderText="完成率(%)" TextAlign="Center" />
|
||||
</Columns>
|
||||
</columns>
|
||||
</f:GroupField>
|
||||
|
||||
<f:GroupField HeaderText="instrument<br/>仪表测试包" TextAlign="Center" MinWidth="140px">
|
||||
<Columns>
|
||||
<f:GroupField HeaderText="instrument<br/>仪表测试包" TextAlign="Center">
|
||||
<columns>
|
||||
<f:RenderField MinWidth="30px" ColumnID="TiCount" DataField="TiCount"
|
||||
HeaderText="总数" TextAlign="Center" />
|
||||
|
||||
<f:RenderField MinWidth="30px" ColumnID="TiScount" DataField="TiScount"
|
||||
HeaderText="完成数" TextAlign="Center" />
|
||||
|
||||
<f:RenderField MinWidth="80px" ColumnID="TiPercent" DataField="TiPercent"
|
||||
<f:RenderField MinWidth="30px" ColumnID="TiPercent" DataField="TiPercent"
|
||||
HeaderText="完成率(%)" TextAlign="Center" />
|
||||
</Columns>
|
||||
</columns>
|
||||
</f:GroupField>
|
||||
|
||||
<f:GroupField HeaderText="Civil/Structure<br/>土建/建筑/结构测试包" TextAlign="Center" MinWidth="140px">
|
||||
<Columns>
|
||||
<f:GroupField HeaderText="Civil/Structure<br/>土建/建筑/结构测试包" TextAlign="Center">
|
||||
<columns>
|
||||
<f:RenderField MinWidth="30px" ColumnID="TcsCount" DataField="TcsCount"
|
||||
HeaderText="总数" TextAlign="Center" />
|
||||
|
||||
<f:RenderField MinWidth="30px" ColumnID="TcsScount" DataField="TcsScount"
|
||||
HeaderText="完成数" TextAlign="Center" />
|
||||
|
||||
<f:RenderField MinWidth="80px" ColumnID="TcsPercent" DataField="TcsPercent"
|
||||
<f:RenderField MinWidth="30px" ColumnID="TcsPercent" DataField="TcsPercent"
|
||||
HeaderText="完成率(%)" TextAlign="Center" />
|
||||
</Columns>
|
||||
</columns>
|
||||
</f:GroupField>
|
||||
|
||||
<f:GroupField HeaderText="Firefighting<br/>消防测试包" TextAlign="Center" MinWidth="140px">
|
||||
<%-- <f:GroupField HeaderText="Firefighting<br/>消防测试包" TextAlign="Center">
|
||||
<Columns>
|
||||
<f:RenderField MinWidth="30px" ColumnID="TfCount" DataField="TfCount"
|
||||
HeaderText="总数" TextAlign="Center" />
|
||||
@@ -162,25 +162,25 @@
|
||||
<f:RenderField MinWidth="30px" ColumnID="TfScount" DataField="TfScount"
|
||||
HeaderText="完成数" TextAlign="Center" />
|
||||
|
||||
<f:RenderField MinWidth="80px" ColumnID="TfPercent" DataField="TfPercent"
|
||||
<f:RenderField MinWidth="30px" ColumnID="TfPercent" DataField="TfPercent"
|
||||
HeaderText="完成率(%)" TextAlign="Center" />
|
||||
</Columns>
|
||||
</f:GroupField>
|
||||
</f:GroupField>--%>
|
||||
|
||||
<f:GroupField HeaderText="Telecom<br/>电信测试包" TextAlign="Center" MinWidth="140px">
|
||||
<Columns>
|
||||
<f:GroupField HeaderText="Telecom<br/>电信测试包" TextAlign="Center">
|
||||
<columns>
|
||||
<f:RenderField MinWidth="30px" ColumnID="TtCount" DataField="TtCount"
|
||||
HeaderText="总数" TextAlign="Center" />
|
||||
|
||||
<f:RenderField MinWidth="30px" ColumnID="TtScount" DataField="TtScount"
|
||||
HeaderText="完成数" TextAlign="Center" />
|
||||
|
||||
<f:RenderField MinWidth="80px" ColumnID="TtPercent" DataField="TtPercent"
|
||||
<f:RenderField MinWidth="30px" ColumnID="TtPercent" DataField="TtPercent"
|
||||
HeaderText="完成率(%)" TextAlign="Center" />
|
||||
</Columns>
|
||||
</columns>
|
||||
</f:GroupField>
|
||||
|
||||
<%--<f:GroupField HeaderText="Plumbing<br/>地管测试包" TextAlign="Center" MinWidth="200px">
|
||||
<%--<f:GroupField HeaderText="Plumbing<br/>地管测试包" TextAlign="Center" >
|
||||
<Columns>
|
||||
<f:RenderField MinWidth="50px" ColumnID="TpCount" DataField="TpCount"
|
||||
HeaderText="总数" TextAlign="Center" />
|
||||
@@ -188,17 +188,17 @@
|
||||
<f:RenderField MinWidth="50px" ColumnID="TpScount" DataField="TpScount"
|
||||
HeaderText="完成数" TextAlign="Center" />
|
||||
|
||||
<f:RenderField MinWidth="80px" ColumnID="TpPercent" DataField="TpPercent"
|
||||
<f:RenderField MinWidth="30px" ColumnID="TpPercent" DataField="TpPercent"
|
||||
HeaderText="完成率(%)" TextAlign="Center" />
|
||||
</Columns>
|
||||
</f:GroupField>--%>
|
||||
|
||||
<f:TemplateField ColumnID="Count4" MinWidth="120px" HeaderText="Total<br/>completion<br/>percentage<br/>总完成率(%)" HeaderTextAlign="Center" TextAlign="Right">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label5" runat="server" Text='<%# totalper(Eval("SystemNo")) %>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
<f:TemplateField ColumnID="Count4" MinWidth="120px" HeaderText="Total<br/>completion<br/>总完成率(%)" HeaderTextAlign="Center" TextAlign="Right">
|
||||
<itemtemplate>
|
||||
<asp:Label ID="Label5" runat="server" Text='<%# totalper(Eval("SubSysNo")) %>'></asp:Label>
|
||||
</itemtemplate>
|
||||
</f:TemplateField>
|
||||
|
||||
|
||||
<f:RenderField MinWidth="120px" ColumnID="ElectricHeatTracing" DataField="ElectricHeatTracing"
|
||||
HeaderText="electric heat<br/> tracing<br/>电伴热 " TextAlign="Center"
|
||||
FieldType="String" />
|
||||
@@ -269,19 +269,19 @@
|
||||
HeaderText="System Status<br/>系统状态 " TextAlign="Center"
|
||||
FieldType="String" />
|
||||
|
||||
<f:RenderField MinWidth="160px" ColumnID="TurnoverDescription" DataField="TurnoverDescription"
|
||||
HeaderText="Turnover Description" TextAlign="Center"
|
||||
<f:RenderField MinWidth="120px" ColumnID="TurnoverDescription" DataField="TurnoverDescription"
|
||||
HeaderText="Turnover<br/>Description" TextAlign="Center"
|
||||
FieldType="String" />
|
||||
|
||||
<f:RenderField MinWidth="120px" ColumnID="Remark" DataField="Remark"
|
||||
HeaderText="Remark<br/>备注" TextAlign="Center"
|
||||
FieldType="String" />
|
||||
|
||||
</Columns>
|
||||
<Listeners>
|
||||
</columns>
|
||||
<listeners>
|
||||
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
|
||||
</Listeners>
|
||||
<PageItems>
|
||||
</listeners>
|
||||
<pageitems>
|
||||
<f:ToolbarText ID="ToolbarText1" runat="server" Text="每页记录数:">
|
||||
</f:ToolbarText>
|
||||
<f:DropDownList runat="server" ID="ddlPageSize" Width="80px" AutoPostBack="true" OnSelectedIndexChanged="ddlPageSize_SelectedIndexChanged">
|
||||
@@ -291,19 +291,19 @@
|
||||
<f:ListItem Text="25" Value="25" />
|
||||
<f:ListItem Text="所有行" Value="100000" />
|
||||
</f:DropDownList>
|
||||
</PageItems>
|
||||
</pageitems>
|
||||
</f:Grid>
|
||||
</Items>
|
||||
</items>
|
||||
</f:Panel>
|
||||
<f:Window ID="Window1" Title="修改" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="1200px" OnClose="Window1_Close"
|
||||
Height="600px">
|
||||
</f:Window>
|
||||
<f:Menu ID="Menu1" runat="server">
|
||||
<Items>
|
||||
<items>
|
||||
<f:MenuButton ID="btnMenuModify" EnablePostBack="true" runat="server" Text="修改" Icon="Pencil" OnClick="btnMenuModify_Click">
|
||||
</f:MenuButton>
|
||||
</Items>
|
||||
</items>
|
||||
</f:Menu>
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
|
||||
@@ -28,13 +28,13 @@ namespace FineUIPro.Web.Transfer.Chart
|
||||
{
|
||||
var systemCode = Funs.DB.Transfer_LHCSystemList
|
||||
.Where(x => x.ProjectId == CurrUser.LoginProjectId)
|
||||
.GroupBy(p => new { p.SystemNo })
|
||||
.Select(p => new { SystemNo = p.Key.SystemNo }).ToList();
|
||||
.GroupBy(p => new { p.Commissioningsystemcode })
|
||||
.Select(p => new { Commissioningsystemcode = p.Key.Commissioningsystemcode }).ToList();
|
||||
int indexRow = 1;
|
||||
ddlSystemNo.Items.Insert(0, new FineUIPro.ListItem("ALL", ""));
|
||||
ddlSubSysNo.Items.Insert(0, new FineUIPro.ListItem("ALL", ""));
|
||||
foreach (var t in systemCode)
|
||||
{
|
||||
ddlSystemNo.Items.Insert(indexRow, new FineUIPro.ListItem(t.SystemNo, t.SystemNo));
|
||||
ddlSubSysNo.Items.Insert(indexRow, new FineUIPro.ListItem(t.Commissioningsystemcode, t.Commissioningsystemcode));
|
||||
indexRow++;
|
||||
}
|
||||
|
||||
@@ -45,305 +45,128 @@ namespace FineUIPro.Web.Transfer.Chart
|
||||
|
||||
public DataTable DataSql()
|
||||
{
|
||||
string strSql = @"
|
||||
select f.SystemNo,f.ProjectId,
|
||||
pp.TotalFactor,pp.CompleteFactor,pp.CompleteProportion,pp.ElectricHeatTracing,pp.Insulation,
|
||||
ISNULL(tpi.PipingCount,0) PipingCount,ISNULL(tpi1.PipingScount,0) PipingScount,
|
||||
case ISNULL(tpi.PipingCount,0)
|
||||
when 0 then 0
|
||||
else CONVERT(DECIMAL(10,2),100*(ISNULL(tpi1.PipingScount,0)*1.0/ISNULL(tpi.PipingCount,0))) end PipingPercent,
|
||||
ISNULL(tpi.PipingCount,0) ReinstateCount,ISNULL(tpi2.ReinstateScount,0) ReinstateScount,
|
||||
case ISNULL(tpi.PipingCount,0)
|
||||
when 0 then 0
|
||||
else CONVERT(DECIMAL(10,2),100*(ISNULL(tpi2.ReinstateScount,0)*1.0/ISNULL(tpi.PipingCount,0))) end ReinstatePercent,
|
||||
string strSql = @"select f.SubSysNo,f.ProjectId,f.TotalFactor,f.CompleteFactor,ts.ElectricHeatTracing,ts.Insulation,
|
||||
case ISNULL(f.TotalFactor,0) when 0 then 0
|
||||
else CONVERT(DECIMAL(10,2),100*(ISNULL(f.CompleteFactor,0)*1.0/ISNULL(f.TotalFactor,0))) end CompleteProportion,
|
||||
|
||||
ISNULL((TseCount+TreCount),0) as EqCount,ISNULL((TseSCount+TreSCount),0) as EqScount,
|
||||
case ISNULL((TseCount+TreCount),0)
|
||||
when 0 then 0
|
||||
else CONVERT(DECIMAL(10,2),100 *(ISNULL((TseSCount+TreSCount),0)*1.0/ISNULL((TseCount+TreCount),0))) end EqPercent,
|
||||
ISNULL(tpi.PipingCount,0) PipingCount,ISNULL(tpi1.PipingScount,0) PipingScount,
|
||||
case ISNULL(tpi.PipingCount,0)
|
||||
when 0 then 0
|
||||
else CONVERT(DECIMAL(10,2),100*(ISNULL(tpi1.PipingScount,0)*1.0/ISNULL(tpi.PipingCount,0))) end PipingPercent,
|
||||
ISNULL(tpi.PipingCount,0) ReinstateCount,ISNULL(tpi2.ReinstateScount,0) ReinstateScount,
|
||||
case ISNULL(tpi.PipingCount,0)
|
||||
when 0 then 0
|
||||
else CONVERT(DECIMAL(10,2),100*(ISNULL(tpi2.ReinstateScount,0)*1.0/ISNULL(tpi.PipingCount,0))) end ReinstatePercent,
|
||||
|
||||
ISNULL(TeCount,0) TeCount,ISNULL(TeScount,0) TeScount,
|
||||
case ISNULL(TeCount,0)
|
||||
when 0 then 0
|
||||
else CONVERT(DECIMAL(10,2),100*(ISNULL(TeScount,0)*1.0/ISNULL(TeCount,0))) end TePercent,
|
||||
(ISNULL(TseCount,0)+ISNULL(TreCount,0)) as EqCount,ISNULL((ISNULL(TseSCount,0)+ISNULL(TreSCount,0)),0) as EqScount,
|
||||
case (ISNULL(TseCount,0)+ISNULL(TreCount,0))
|
||||
when 0 then 0
|
||||
else CONVERT(DECIMAL(10,2),100 *((ISNULL(TseSCount,0)+ISNULL(TreSCount,0)*1.0/ISNULL((ISNULL(TseCount,0)+ISNULL(TreCount,0)),0)))) end EqPercent,
|
||||
|
||||
ISNULL(TiCount,0) TiCount,ISNULL(TiScount,0) TiScount,
|
||||
case ISNULL(TiCount,0)
|
||||
when 0 then 0
|
||||
else CONVERT(DECIMAL(10,2),100*(ISNULL(TiScount,0)*1.0/ISNULL(TiCount,0))) end TiPercent,
|
||||
ISNULL(TeCount,0) TeCount,ISNULL(TeScount,0) TeScount,
|
||||
case ISNULL(TeCount,0)
|
||||
when 0 then 0
|
||||
else CONVERT(DECIMAL(10,2),100*(ISNULL(TeScount,0)*1.0/ISNULL(TeCount,0))) end TePercent,
|
||||
|
||||
ISNULL(TcsCount,0) TcsCount,ISNULL(TcsScount,0) TcsScount,
|
||||
case ISNULL(TcsCount,0)
|
||||
when 0 then 0
|
||||
else CONVERT(DECIMAL(10,2),100*(ISNULL(TcsScount,0)*1.0/ISNULL(TcsCount,0))) end TcsPercent,
|
||||
ISNULL(TiCount,0) TiCount,ISNULL(TiScount,0) TiScount,
|
||||
case ISNULL(TiCount,0)
|
||||
when 0 then 0
|
||||
else CONVERT(DECIMAL(10,2),100*(ISNULL(TiScount,0)*1.0/ISNULL(TiCount,0))) end TiPercent,
|
||||
|
||||
ISNULL(TfCount,0) TfCount,ISNULL(TfScount,0) TfScount,
|
||||
case ISNULL(TfCount,0)
|
||||
when 0 then 0
|
||||
else CONVERT(DECIMAL(10,2),100*(ISNULL(TfScount,0)*1.0/ISNULL(TfCount,0))) end TfPercent,
|
||||
ISNULL(TcsCount,0) TcsCount,ISNULL(TcsScount,0) TcsScount,
|
||||
case ISNULL(TcsCount,0)
|
||||
when 0 then 0
|
||||
else CONVERT(DECIMAL(10,2),100*(ISNULL(TcsScount,0)*1.0/ISNULL(TcsCount,0))) end TcsPercent,
|
||||
|
||||
ISNULL(TtCount,0) TtCount,ISNULL(TtScount,0) TtScount,
|
||||
case ISNULL(TtCount,0)
|
||||
when 0 then 0
|
||||
else CONVERT(DECIMAL(10,2),100*(ISNULL(TtScount,0)*1.0/ISNULL(TtCount,0))) end TtPercent,
|
||||
ISNULL(TtCount,0) TtCount,ISNULL(TtScount,0) TtScount,
|
||||
case ISNULL(TtCount,0)
|
||||
when 0 then 0
|
||||
else CONVERT(DECIMAL(10,2),100*(ISNULL(TtScount,0)*1.0/ISNULL(TtCount,0))) end TtPercent,
|
||||
|
||||
ts.PlanPWD,PlanJWD,McPlan,
|
||||
SubmitPackage,ActualPWD,ActualJWD,ActualMC,Commissioning,
|
||||
IaQian,TcccQ,SystemStatus,TurnoverDescription,ts.Remark
|
||||
ts.PlanPWD,PlanJWD,McPlan,SubmitPackage,ActualPWD,ActualJWD,ActualMC,Commissioning,IaQian,TcccQ,SystemStatus,TurnoverDescription,ts.Remark
|
||||
|
||||
from(
|
||||
SELECT SystemNo,ProjectId FROM Transfer_LHCSystemList group by SystemNo,ProjectId
|
||||
) f
|
||||
left join Transfer_SystemControl ts on f.ProjectId=ts.ProjectId and f.SystemNo=ts.SystemNo
|
||||
--piping
|
||||
left join Transfer_Piping pp on f.ProjectId=pp.ProjectId and f.SystemNo=pp.SYSTEM
|
||||
from(
|
||||
SELECT TestPackage as SubSysNo,ProjectId,sum(TotalFactor)as TotalFactor,sum(CompleteFactor)as CompleteFactor FROM Transfer_Piping group by TestPackage,ProjectId
|
||||
) f
|
||||
left join Transfer_SystemControl ts on f.ProjectId=ts.ProjectId and f.SubSysNo=ts.SubmitPackage
|
||||
--piping
|
||||
|
||||
left join (select count(*)as PipingCount,ProjectId,SYSTEM from Transfer_Piping
|
||||
group by ProjectId,SYSTEM)
|
||||
tpi on f.ProjectId=tpi.ProjectId and f.SystemNo=tpi.SYSTEM
|
||||
left join (select count(*)as PipingCount,ProjectId,TestPackage from Transfer_Piping
|
||||
group by ProjectId,TestPackage)
|
||||
tpi on f.ProjectId=tpi.ProjectId and f.SubSysNo=tpi.TestPackage
|
||||
|
||||
left join (select count(*)as PipingScount,ProjectId,SYSTEM from Transfer_Piping where FINALStatus='Completed'
|
||||
group by ProjectId,SYSTEM)
|
||||
tpi1 on f.ProjectId=tpi1.ProjectId and f.SystemNo=tpi1.SYSTEM
|
||||
left join (select count(*)as PipingScount,ProjectId,TestPackage from Transfer_Piping where FINALStatus='Completed'
|
||||
group by ProjectId,TestPackage)
|
||||
tpi1 on f.ProjectId=tpi1.ProjectId and f.SubSysNo=tpi1.TestPackage
|
||||
|
||||
left join (select count(*)as ReinstateScount,ProjectId,SYSTEM from Transfer_Piping where RinseAndBlowClean='Completed' and Reduction='Completed'
|
||||
group by ProjectId,SYSTEM)
|
||||
tpi2 on f.ProjectId=tpi2.ProjectId and f.SystemNo=tpi2.SYSTEM
|
||||
left join (select count(*)as ReinstateScount,ProjectId,TestPackage from Transfer_Piping where Reduction='Completed'
|
||||
group by ProjectId,TestPackage)
|
||||
tpi2 on f.ProjectId=tpi2.ProjectId and f.SubSysNo=tpi2.TestPackage
|
||||
|
||||
--设备测试包
|
||||
left join (select count(*)as TseCount,ProjectId,SYSTEM from Transfer_StaticEquipment
|
||||
group by ProjectId,SYSTEM)
|
||||
tse on f.ProjectId=tse.ProjectId and f.SystemNo=tse.SYSTEM
|
||||
--设备测试包
|
||||
left join (select count(*)as TseCount,ProjectId,TestPackage from Transfer_StaticEquipment
|
||||
group by ProjectId,TestPackage)
|
||||
tse on f.ProjectId=tse.ProjectId and f.SubSysNo=tse.TestPackage
|
||||
|
||||
left join (select count(*)as TseSCount,ProjectId,SYSTEM from Transfer_StaticEquipment where MechanicalFINALStatus='Completed'
|
||||
group by ProjectId,SYSTEM)
|
||||
tse1 on f.ProjectId=tse1.ProjectId and f.SystemNo=tse1.SYSTEM
|
||||
--
|
||||
left join (select count(*)as TreCount,ProjectId,SYSTEM from Transfer_RotatingEquipment
|
||||
group by ProjectId,SYSTEM)
|
||||
tre on f.ProjectId=tre.ProjectId and f.SystemNo=tre.SYSTEM
|
||||
left join (select count(*)as TseSCount,ProjectId,TestPackage from Transfer_StaticEquipment where MechanicalFINALStatus='Completed'
|
||||
group by ProjectId,TestPackage)
|
||||
tse1 on f.ProjectId=tse1.ProjectId and f.SubSysNo=tse1.TestPackage
|
||||
--
|
||||
left join (select count(*)as TreCount,ProjectId,TestPackage from Transfer_RotatingEquipment
|
||||
group by ProjectId,TestPackage)
|
||||
tre on f.ProjectId=tre.ProjectId and f.SubSysNo=tre.TestPackage
|
||||
|
||||
left join (select count(*)as TreSCount,ProjectId,SYSTEM from Transfer_RotatingEquipment where MechanicalFINALStatus='Completed'
|
||||
group by ProjectId,SYSTEM)
|
||||
tre1 on f.ProjectId=tre1.ProjectId and f.SystemNo=tre1.SYSTEM
|
||||
left join (select count(*)as TreSCount,ProjectId,TestPackage from Transfer_RotatingEquipment where MechanicalFINALStatus='Completed'
|
||||
group by ProjectId,TestPackage)
|
||||
tre1 on f.ProjectId=tre1.ProjectId and f.SubSysNo=tre1.TestPackage
|
||||
|
||||
--Transfer_Electrical
|
||||
left join (select count(*)as TeCount,ProjectId,SystemName from Transfer_Electrical
|
||||
group by ProjectId,SystemName)
|
||||
te on f.ProjectId=te.ProjectId and f.SystemNo=te.SystemName
|
||||
--Transfer_Electrical
|
||||
left join (select count(*)as TeCount,ProjectId,Test_Package from Transfer_Electrical
|
||||
group by ProjectId,Test_Package)
|
||||
te on f.ProjectId=te.ProjectId and f.SubSysNo=te.Test_Package
|
||||
|
||||
left join (select count(*)as TeScount,ProjectId,SystemName from Transfer_Electrical where FINAL_Status='Completed'
|
||||
group by ProjectId,SystemName)
|
||||
te1 on f.ProjectId=te1.ProjectId and f.SystemNo=te1.SystemName
|
||||
left join (select count(*)as TeScount,ProjectId,Test_Package from Transfer_Electrical where FINAL_Status='Completed'
|
||||
group by ProjectId,Test_Package)
|
||||
te1 on f.ProjectId=te1.ProjectId and f.SubSysNo=te1.Test_Package
|
||||
|
||||
--Transfer_Instrumentation
|
||||
left join (select count(*)as TiCount,ProjectId,SystemName from Transfer_Instrumentation
|
||||
group by ProjectId,SystemName)
|
||||
ti on f.ProjectId=ti.ProjectId and f.SystemNo=ti.SystemName
|
||||
--Transfer_Instrumentation
|
||||
left join (select count(*)as TiCount,ProjectId,Test_Package from Transfer_Instrumentation
|
||||
group by ProjectId,Test_Package)
|
||||
ti on f.ProjectId=ti.ProjectId and f.SubSysNo=ti.Test_Package
|
||||
|
||||
left join (select count(*)as TiScount,ProjectId,SystemName from Transfer_Instrumentation where FINAL_Status='Completed'
|
||||
group by ProjectId,SystemName)
|
||||
ti1 on f.ProjectId=ti1.ProjectId and f.SystemNo=ti1.SystemName
|
||||
left join (select count(*)as TiScount,ProjectId,Test_Package from Transfer_Instrumentation where FINAL_Status='Completed'
|
||||
group by ProjectId,Test_Package)
|
||||
ti1 on f.ProjectId=ti1.ProjectId and f.SubSysNo=ti1.Test_Package
|
||||
|
||||
--Transfer_Civil_Structure
|
||||
left join (select count(*)as TcsCount,ProjectId,SystemName from Transfer_Civil_Structure
|
||||
group by ProjectId,SystemName)
|
||||
tcs on f.ProjectId=tcs.ProjectId and f.SystemNo=tcs.SystemName
|
||||
--Transfer_Civil_Structure
|
||||
left join (select count(*)as TcsCount,ProjectId,Test_Package from Transfer_Civil_Structure
|
||||
group by ProjectId,Test_Package)
|
||||
tcs on f.ProjectId=tcs.ProjectId and f.SubSysNo=tcs.Test_Package
|
||||
|
||||
left join (select count(*)as TcsScount,ProjectId,SystemName from Transfer_Civil_Structure where FINAL_Status='Completed'
|
||||
group by ProjectId,SystemName)
|
||||
tcs1 on f.ProjectId=tcs1.ProjectId and f.SystemNo=tcs1.SystemName
|
||||
left join (select count(*)as TcsScount,ProjectId,Test_Package from Transfer_Civil_Structure where FINAL_Status='Completed'
|
||||
group by ProjectId,Test_Package)
|
||||
tcs1 on f.ProjectId=tcs1.ProjectId and f.SubSysNo=tcs1.Test_Package
|
||||
|
||||
--Transfer_Firefighting
|
||||
left join (select count(*)as TfCount,ProjectId,SystemName from Transfer_Firefighting
|
||||
group by ProjectId,SystemName)
|
||||
tf on f.ProjectId=tf.ProjectId and f.SystemNo=tf.SystemName
|
||||
--Transfer_Telecom
|
||||
left join (select count(*)as TtCount,ProjectId,Test_Package from Transfer_Telecom
|
||||
group by ProjectId,Test_Package)
|
||||
Tt on f.ProjectId=Tt.ProjectId and f.SubSysNo=Tt.Test_Package
|
||||
|
||||
left join (select count(*)as TfScount,ProjectId,SystemName from Transfer_Firefighting where FINAL_Status='Completed'
|
||||
group by ProjectId,SystemName)
|
||||
tf1 on f.ProjectId=tf1.ProjectId and f.SystemNo=tf1.SystemName
|
||||
left join (select count(*)as TtScount,ProjectId,Test_Package from Transfer_Telecom where FINAL_Status='Completed'
|
||||
group by ProjectId,Test_Package)
|
||||
Tt1 on f.ProjectId=Tt1.ProjectId and f.SubSysNo=Tt1.Test_Package
|
||||
|
||||
--Transfer_Telecom
|
||||
left join (select count(*)as TtCount,ProjectId,SystemName from Transfer_Telecom
|
||||
group by ProjectId,SystemName)
|
||||
Tt on f.ProjectId=Tt.ProjectId and f.SystemNo=Tt.SystemName
|
||||
|
||||
left join (select count(*)as TtScount,ProjectId,SystemName from Transfer_Telecom where FINAL_Status='Completed'
|
||||
group by ProjectId,SystemName)
|
||||
Tt1 on f.ProjectId=Tt1.ProjectId and f.SystemNo=Tt1.SystemName
|
||||
|
||||
where f.ProjectId = @ProjectId";
|
||||
|
||||
#region 调整前sql
|
||||
|
||||
//string strSql = @"
|
||||
// select f.SystemNo,f.ProjectId,
|
||||
// ISNULL(tpi.PipingCount,0) PipingCount,ISNULL(tpi1.PipingScount,0) PipingScount,
|
||||
// case ISNULL(tpi.PipingCount,0)
|
||||
// when 0 then 0
|
||||
// else CONVERT(DECIMAL(10,2),100*(ISNULL(tpi1.PipingScount,0)*1.0/ISNULL(tpi.PipingCount,0))) end PipingPercent,
|
||||
|
||||
// ISNULL((TseCount+TreCount),0) as EqCount,ISNULL((TseSCount+TreSCount),0) as EqScount,
|
||||
// case ISNULL((TseCount+TreCount),0)
|
||||
// when 0 then 0
|
||||
// else CONVERT(DECIMAL(10,2),100 *(ISNULL((TseSCount+TreSCount),0)*1.0/ISNULL((TseCount+TreCount),0))) end EqPercent,
|
||||
|
||||
// ISNULL(TeCount,0) TeCount,ISNULL(TeScount,0) TeScount,
|
||||
// case ISNULL(TeCount,0)
|
||||
// when 0 then 0
|
||||
// else CONVERT(DECIMAL(10,2),100*(ISNULL(TeScount,0)*1.0/ISNULL(TeCount,0))) end TePercent,
|
||||
|
||||
// ISNULL(TiCount,0) TiCount,ISNULL(TiScount,0) TiScount,
|
||||
// case ISNULL(TiCount,0)
|
||||
// when 0 then 0
|
||||
// else CONVERT(DECIMAL(10,2),100*(ISNULL(TiScount,0)*1.0/ISNULL(TiCount,0))) end TiPercent,
|
||||
|
||||
// ISNULL(TcsCount,0) TcsCount,ISNULL(TcsScount,0) TcsScount,
|
||||
// case ISNULL(TcsCount,0)
|
||||
// when 0 then 0
|
||||
// else CONVERT(DECIMAL(10,2),100*(ISNULL(TcsScount,0)*1.0/ISNULL(TcsCount,0))) end TcsPercent,
|
||||
|
||||
// ISNULL(TfCount,0) TfCount,ISNULL(TfScount,0) TfScount,
|
||||
// case ISNULL(TfCount,0)
|
||||
// when 0 then 0
|
||||
// else CONVERT(DECIMAL(10,2),100*(ISNULL(TfScount,0)*1.0/ISNULL(TfCount,0))) end TfPercent,
|
||||
|
||||
// ISNULL(TtCount,0) TtCount,ISNULL(TtScount,0) TtScount,
|
||||
// case ISNULL(TtCount,0)
|
||||
// when 0 then 0
|
||||
// else CONVERT(DECIMAL(10,2),100*(ISNULL(TtScount,0)*1.0/ISNULL(TtCount,0))) end TtPercent,
|
||||
|
||||
// ISNULL(TpCount,0) TpCount,ISNULL(TpScount,0) TpScount,
|
||||
|
||||
// case ISNULL(TpCount,0)
|
||||
// when 0 then 0
|
||||
// else CONVERT(DECIMAL(10,2),100*(ISNULL(TpScount,0)*1.0/ISNULL(TpCount,0))) end TpPercent,
|
||||
|
||||
// ts.PlanPWD,PlanJWD,McPlan,
|
||||
// SubmitPackage,ActualPWD,ActualJWD,ActualMC,Commissioning,
|
||||
// IaQian,TcccQ,SystemStatus,TurnoverDescription,ts.Remark,
|
||||
// ISNULL(pwdACount,0) pwdACount,ISNULL(pwdBCount,0) pwdBCount,ISNULL(pwdCCount,0) pwdCCount,
|
||||
// ISNULL(fwdACount,0) fwdACount,ISNULL(fwdBCount,0) fwdBCount,ISNULL(fwdCCount,0) fwdCCount
|
||||
// from(
|
||||
// SELECT SystemNo,ProjectId FROM Transfer_LHCSystemList group by SystemNo,ProjectId
|
||||
// ) f
|
||||
// left join Transfer_SystemControl ts on f.ProjectId=ts.ProjectId and f.SystemNo=ts.SystemNo
|
||||
// --piping
|
||||
// left join (select count(*)as PipingCount,ProjectId,SYSTEM from Transfer_Piping
|
||||
// group by ProjectId,SYSTEM)
|
||||
// tpi on f.ProjectId=tpi.ProjectId and f.SystemNo=tpi.SYSTEM
|
||||
|
||||
// left join (select count(*)as PipingScount,ProjectId,SYSTEM from Transfer_Piping where FINALStatus='Completed'
|
||||
// group by ProjectId,SYSTEM)
|
||||
// tpi1 on f.ProjectId=tpi1.ProjectId and f.SystemNo=tpi1.SYSTEM
|
||||
// --设备测试包
|
||||
// left join (select count(*)as TseCount,ProjectId,SYSTEM from Transfer_StaticEquipment
|
||||
// group by ProjectId,SYSTEM)
|
||||
// tse on f.ProjectId=tse.ProjectId and f.SystemNo=tse.SYSTEM
|
||||
|
||||
// left join (select count(*)as TseSCount,ProjectId,SYSTEM from Transfer_StaticEquipment where MechanicalFINALStatus='Completed'
|
||||
// group by ProjectId,SYSTEM)
|
||||
// tse1 on f.ProjectId=tse1.ProjectId and f.SystemNo=tse1.SYSTEM
|
||||
// --
|
||||
// left join (select count(*)as TreCount,ProjectId,SYSTEM from Transfer_RotatingEquipment
|
||||
// group by ProjectId,SYSTEM)
|
||||
// tre on f.ProjectId=tre.ProjectId and f.SystemNo=tre.SYSTEM
|
||||
|
||||
// left join (select count(*)as TreSCount,ProjectId,SYSTEM from Transfer_RotatingEquipment where MechanicalFINALStatus='Completed'
|
||||
// group by ProjectId,SYSTEM)
|
||||
// tre1 on f.ProjectId=tre1.ProjectId and f.SystemNo=tre1.SYSTEM
|
||||
|
||||
// --Transfer_Electrical
|
||||
// left join (select count(*)as TeCount,ProjectId,SystemName from Transfer_Electrical
|
||||
// group by ProjectId,SystemName)
|
||||
// te on f.ProjectId=te.ProjectId and f.SystemNo=te.SystemName
|
||||
|
||||
// left join (select count(*)as TeScount,ProjectId,SystemName from Transfer_Electrical where FINAL_Status='Completed'
|
||||
// group by ProjectId,SystemName)
|
||||
// te1 on f.ProjectId=te1.ProjectId and f.SystemNo=te1.SystemName
|
||||
|
||||
// --Transfer_Instrumentation
|
||||
// left join (select count(*)as TiCount,ProjectId,SystemName from Transfer_Instrumentation
|
||||
// group by ProjectId,SystemName)
|
||||
// ti on f.ProjectId=ti.ProjectId and f.SystemNo=ti.SystemName
|
||||
|
||||
// left join (select count(*)as TiScount,ProjectId,SystemName from Transfer_Instrumentation where FINAL_Status='Completed'
|
||||
// group by ProjectId,SystemName)
|
||||
// ti1 on f.ProjectId=ti1.ProjectId and f.SystemNo=ti1.SystemName
|
||||
|
||||
// --Transfer_Civil_Structure
|
||||
// left join (select count(*)as TcsCount,ProjectId,SystemName from Transfer_Civil_Structure
|
||||
// group by ProjectId,SystemName)
|
||||
// tcs on f.ProjectId=tcs.ProjectId and f.SystemNo=tcs.SystemName
|
||||
|
||||
// left join (select count(*)as TcsScount,ProjectId,SystemName from Transfer_Civil_Structure where FINAL_Status='Completed'
|
||||
// group by ProjectId,SystemName)
|
||||
// tcs1 on f.ProjectId=tcs1.ProjectId and f.SystemNo=tcs1.SystemName
|
||||
|
||||
// --Transfer_Firefighting
|
||||
// left join (select count(*)as TfCount,ProjectId,SystemName from Transfer_Firefighting
|
||||
// group by ProjectId,SystemName)
|
||||
// tf on f.ProjectId=tf.ProjectId and f.SystemNo=tf.SystemName
|
||||
|
||||
// left join (select count(*)as TfScount,ProjectId,SystemName from Transfer_Firefighting where FINAL_Status='Completed'
|
||||
// group by ProjectId,SystemName)
|
||||
// tf1 on f.ProjectId=tf1.ProjectId and f.SystemNo=tf1.SystemName
|
||||
|
||||
// --Transfer_Telecom
|
||||
// left join (select count(*)as TtCount,ProjectId,SystemName from Transfer_Telecom
|
||||
// group by ProjectId,SystemName)
|
||||
// Tt on f.ProjectId=Tt.ProjectId and f.SystemNo=Tt.SystemName
|
||||
|
||||
// left join (select count(*)as TtScount,ProjectId,SystemName from Transfer_Telecom where FINAL_Status='Completed'
|
||||
// group by ProjectId,SystemName)
|
||||
// Tt1 on f.ProjectId=Tt1.ProjectId and f.SystemNo=Tt1.SystemName
|
||||
|
||||
// --Transfer_Plumbing
|
||||
// left join (select count(*)as TpCount,ProjectId,SystemName from Transfer_Plumbing
|
||||
// group by ProjectId,SystemName)
|
||||
// tp on f.ProjectId=tp.ProjectId and f.SystemNo=tp.SystemName
|
||||
|
||||
// left join (select count(*)as TpScount,ProjectId,SystemName from Transfer_Plumbing where FINAL_Status='Completed'
|
||||
// group by ProjectId,SystemName)
|
||||
// tp1 on f.ProjectId=tp1.ProjectId and f.SystemNo=tp1.SystemName
|
||||
|
||||
// left join (select count(*) as pwdACount,ProjectId,System_No from Transfer_PunchlistFrom where Status!='Completed'
|
||||
// and Punch_Type='PWD' and Cat='A' group by ProjectId,System_No)
|
||||
// tpA on f.ProjectId=tpA.ProjectId and f.SystemNo=tpA.System_No
|
||||
|
||||
// left join (select count(*) as pwdBCount,ProjectId,System_No from Transfer_PunchlistFrom where Status!='Completed'
|
||||
// and Punch_Type='PWD' and Cat='B' group by ProjectId,System_No)
|
||||
// tpB on f.ProjectId=tpB.ProjectId and f.SystemNo=tpB.System_No
|
||||
|
||||
// left join (select count(*) as pwdCCount,ProjectId,System_No from Transfer_PunchlistFrom where Status!='Completed'
|
||||
// and Punch_Type='PWD' and Cat='C' group by ProjectId,System_No)
|
||||
// tpC on f.ProjectId=tpC.ProjectId and f.SystemNo=tpC.System_No
|
||||
|
||||
// left join (select count(*) as fwdACount,ProjectId,System_No from Transfer_PunchlistFrom where Status!='Completed'
|
||||
// and Punch_Type='FWD' and Cat='A' group by ProjectId,System_No)
|
||||
// tpfA on f.ProjectId=tpfA.ProjectId and f.SystemNo=tpfA.System_No
|
||||
|
||||
// left join (select count(*) as fwdBCount,ProjectId,System_No from Transfer_PunchlistFrom where Status!='Completed'
|
||||
// and Punch_Type='FWD' and Cat='B' group by ProjectId,System_No)
|
||||
// tpfB on f.ProjectId=tpfB.ProjectId and f.SystemNo=tpfB.System_No
|
||||
|
||||
// left join (select count(*) as fwdCCount,ProjectId,System_No from Transfer_PunchlistFrom where Status!='Completed'
|
||||
// and Punch_Type='FWD' and Cat='C' group by ProjectId,System_No)
|
||||
// tpfC on f.ProjectId=tpfC.ProjectId and f.SystemNo=tpfC.System_No
|
||||
|
||||
// where f.ProjectId = @ProjectId";
|
||||
|
||||
#endregion
|
||||
where f.ProjectId = @ProjectId";
|
||||
|
||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
listStr.Add(new SqlParameter("@ProjectId", this.CurrUser.LoginProjectId));
|
||||
|
||||
if (!string.IsNullOrEmpty(ddlSystemNo.SelectedValue))
|
||||
if (!string.IsNullOrEmpty(ddlSubSysNo.SelectedValue))
|
||||
{
|
||||
strSql += " AND SystemNo='" + ddlSystemNo.SelectedValue + "' ";
|
||||
strSql += " AND f.SubSysNo='" + ddlSubSysNo.SelectedValue + "' ";
|
||||
}
|
||||
|
||||
strSql += " order by SystemNo ";
|
||||
strSql += " order by f.SubSysNo ";
|
||||
SqlParameter[] parameter = listStr.ToArray();
|
||||
return SQLHelper.GetDataTableRunText(strSql, parameter);
|
||||
}
|
||||
@@ -439,7 +262,7 @@ namespace FineUIPro.Web.Transfer.Chart
|
||||
}
|
||||
#endregion
|
||||
|
||||
protected void ddlSystemNo_SelectedIndexChanged(object sender, EventArgs e)
|
||||
protected void ddlSubSysNo_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
BindGrid();
|
||||
}
|
||||
@@ -463,17 +286,18 @@ namespace FineUIPro.Web.Transfer.Chart
|
||||
var list4 = Funs.DB.Transfer_Instrumentation.Where(x => x.ProjectId == pid && x.SystemName == scode).ToList();
|
||||
var list5 = Funs.DB.Transfer_Electrical.Where(x => x.ProjectId == pid && x.SystemName == scode).ToList();
|
||||
var list6 = Funs.DB.Transfer_Civil_Structure.Where(x => x.ProjectId == pid && x.SystemName == scode).ToList();
|
||||
var list7 = Funs.DB.Transfer_Firefighting.Where(x => x.ProjectId == pid && x.SystemName == scode).ToList();
|
||||
//var list7 = Funs.DB.Transfer_Firefighting.Where(x => x.ProjectId == pid && x.SystemName == scode).ToList();
|
||||
var list8 = Funs.DB.Transfer_Telecom.Where(x => x.ProjectId == pid && x.SystemName == scode).ToList();
|
||||
#endregion
|
||||
|
||||
float allcount = (list1.Count + list2.Count + list3.Count + list4.Count +
|
||||
list5.Count + list6.Count + list7.Count + list8.Count);
|
||||
list5.Count + list6.Count + list8.Count);//list7.Count +
|
||||
|
||||
float allScount = (list1.Where(x => x.FINALStatus == "Completed").ToList().Count + list2.Where(x => x.MechanicalFINALStatus == "Completed").ToList().Count
|
||||
+ list3.Where(x => x.MechanicalFINALStatus == "Completed").ToList().Count + list4.Where(x => x.FINAL_Status == "Completed").ToList().Count +
|
||||
list5.Where(x => x.FINAL_Status == "Completed").ToList().Count + list6.Where(x => x.FINAL_Status == "Completed").ToList().Count
|
||||
+ list7.Where(x => x.FINAL_Status == "Completed").ToList().Count + list8.Where(x => x.FINAL_Status == "Completed").ToList().Count
|
||||
//+ list7.Where(x => x.FINAL_Status == "Completed").ToList().Count
|
||||
+ list8.Where(x => x.FINAL_Status == "Completed").ToList().Count
|
||||
);
|
||||
|
||||
if (Convert.ToInt32(allcount)==0)
|
||||
@@ -500,82 +324,83 @@ namespace FineUIPro.Web.Transfer.Chart
|
||||
Response.ContentEncoding = System.Text.Encoding.UTF8;
|
||||
this.Grid1.PageSize = 100000;
|
||||
this.BindGrid();
|
||||
Response.Write(GetGridTableHtml(Grid1));
|
||||
Response.Write(GetGridMultiHeaderTableHtml(Grid1));
|
||||
//Response.Write(GetGridTableHtml(Grid1));
|
||||
Response.End();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 导出方法
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("<meta http-equiv=\"content-type\" content=\"application/excel; charset=UTF-8\"/>");
|
||||
sb.Append("<table cellspacing=\"0\" rules=\"all\" border=\"1\" style=\"border-collapse:collapse;\">");
|
||||
//sb.Append("<tr>");
|
||||
//foreach (GridColumn column in grid.Columns)
|
||||
//{
|
||||
// if (column.ColumnID != "ckbIsSelected" && column.ColumnID != "Punish" && column.ColumnID != "Del")
|
||||
// {
|
||||
// sb.AppendFormat("<td>{0}</td>", column.HeaderText);
|
||||
// }
|
||||
//}
|
||||
//sb.Append("</tr>");
|
||||
MultiHeaderTable mht = new MultiHeaderTable();
|
||||
mht.ResolveMultiHeaderTable(Grid1.Columns);
|
||||
///// <summary>
|
||||
///// 导出方法
|
||||
///// </summary>
|
||||
///// <param name="grid"></param>
|
||||
///// <returns></returns>
|
||||
//private string GetGridTableHtml(Grid grid)
|
||||
//{
|
||||
// StringBuilder sb = new StringBuilder();
|
||||
// sb.Append("<meta http-equiv=\"content-type\" content=\"application/excel; charset=UTF-8\"/>");
|
||||
// sb.Append("<table cellspacing=\"0\" rules=\"all\" border=\"1\" style=\"border-collapse:collapse;\">");
|
||||
// //sb.Append("<tr>");
|
||||
// //foreach (GridColumn column in grid.Columns)
|
||||
// //{
|
||||
// // if (column.ColumnID != "ckbIsSelected" && column.ColumnID != "Punish" && column.ColumnID != "Del")
|
||||
// // {
|
||||
// // sb.AppendFormat("<td>{0}</td>", column.HeaderText);
|
||||
// // }
|
||||
// //}
|
||||
// //sb.Append("</tr>");
|
||||
// MultiHeaderTable mht = new MultiHeaderTable();
|
||||
// mht.ResolveMultiHeaderTable(Grid1.Columns);
|
||||
|
||||
foreach (List<object[]> rows in mht.MultiTable)
|
||||
{
|
||||
sb.Append("<tr>");
|
||||
foreach (object[] cell in rows)
|
||||
{
|
||||
int rowspan = Convert.ToInt32(cell[0]);
|
||||
int colspan = Convert.ToInt32(cell[1]);
|
||||
GridColumn column = cell[2] as GridColumn;
|
||||
if (column.Hidden == false)
|
||||
{
|
||||
sb.AppendFormat("<th{0}{1}{2}>{3}</th>",
|
||||
rowspan != 1 ? " rowspan=\"" + rowspan + "\"" : "",
|
||||
colspan != 1 ? " colspan=\"" + colspan + "\"" : "",
|
||||
colspan != 1 ? " style=\"text-align:center;\"" : "",
|
||||
column.HeaderText);
|
||||
}
|
||||
}
|
||||
sb.Append("</tr>");
|
||||
}
|
||||
foreach (GridRow row in grid.Rows)
|
||||
{
|
||||
sb.Append("<tr>");
|
||||
//if (row.Grid.gr.Hidden == false) {
|
||||
foreach (GridColumn column in mht.Columns)
|
||||
{
|
||||
if (column.ColumnID != "ckbIsSelected" && column.ColumnID != "Punish" && column.ColumnID != "Del")
|
||||
{
|
||||
string html = row.Values[column.ColumnIndex].ToString();
|
||||
// foreach (List<object[]> rows in mht.MultiTable)
|
||||
// {
|
||||
// sb.Append("<tr>");
|
||||
// foreach (object[] cell in rows)
|
||||
// {
|
||||
// int rowspan = Convert.ToInt32(cell[0]);
|
||||
// int colspan = Convert.ToInt32(cell[1]);
|
||||
// GridColumn column = cell[2] as GridColumn;
|
||||
// if (column.Hidden == false)
|
||||
// {
|
||||
// sb.AppendFormat("<th{0}{1}{2}>{3}</th>",
|
||||
// rowspan != 1 ? " rowspan=\"" + rowspan + "\"" : "",
|
||||
// colspan != 1 ? " colspan=\"" + colspan + "\"" : "",
|
||||
// colspan != 1 ? " style=\"text-align:center;\"" : "",
|
||||
// column.HeaderText);
|
||||
// }
|
||||
// }
|
||||
// sb.Append("</tr>");
|
||||
// }
|
||||
// foreach (GridRow row in grid.Rows)
|
||||
// {
|
||||
// sb.Append("<tr>");
|
||||
// //if (row.Grid.gr.Hidden == false) {
|
||||
// foreach (GridColumn column in mht.Columns)
|
||||
// {
|
||||
// if (column.ColumnID != "ckbIsSelected" && column.ColumnID != "Punish" && column.ColumnID != "Del")
|
||||
// {
|
||||
// string html = row.Values[column.ColumnIndex].ToString();
|
||||
|
||||
if (column.ColumnID == "tfPageIndex")
|
||||
{
|
||||
html = (row.FindControl("lblPageIndex") as AspNet.Label).Text;
|
||||
}
|
||||
// if (column.ColumnID == "tfPageIndex")
|
||||
// {
|
||||
// html = (row.FindControl("lblPageIndex") as AspNet.Label).Text;
|
||||
// }
|
||||
|
||||
else if (column.ColumnID == "Count4")
|
||||
{
|
||||
html = (row.FindControl("Label5") as AspNet.Label).Text;
|
||||
}
|
||||
// else if (column.ColumnID == "Count4")
|
||||
// {
|
||||
// html = (row.FindControl("Label5") as AspNet.Label).Text;
|
||||
// }
|
||||
|
||||
sb.AppendFormat("<td>{0}</td>", html);
|
||||
}
|
||||
}
|
||||
//}
|
||||
sb.Append("</tr>");
|
||||
}
|
||||
// sb.AppendFormat("<td>{0}</td>", html);
|
||||
// }
|
||||
// }
|
||||
// //}
|
||||
// sb.Append("</tr>");
|
||||
// }
|
||||
|
||||
sb.Append("</table>");
|
||||
// sb.Append("</table>");
|
||||
|
||||
return sb.ToString();
|
||||
}
|
||||
// return sb.ToString();
|
||||
//}
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
@@ -60,13 +60,13 @@ namespace FineUIPro.Web.Transfer.Chart
|
||||
protected global::FineUIPro.Toolbar ToolSearch;
|
||||
|
||||
/// <summary>
|
||||
/// ddlSystemNo 控件。
|
||||
/// ddlSubSysNo 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList ddlSystemNo;
|
||||
protected global::FineUIPro.DropDownList ddlSubSysNo;
|
||||
|
||||
/// <summary>
|
||||
/// btnSearch 控件。
|
||||
|
||||
@@ -16,16 +16,16 @@
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DatePicker runat="server" Label="Plan PWD/计划PWD" ID="txtPlanPWD" DateFormatString="yyyy-MM-dd"
|
||||
LabelAlign="Right" LabelWidth="200px" Required="true" ShowRedStar="true">
|
||||
<f:DatePicker runat="server" Label="Plan PWD/计划PWD" ID="txtPlanPWD" DateFormatString="yyyy-MM-dd"
|
||||
LabelAlign="Right" LabelWidth="200px" Required="true" ShowRedStar="true">
|
||||
</f:DatePicker>
|
||||
|
||||
<f:DatePicker runat="server" Label="Plan JWD/计划联合检查" ID="txtPlanJWD" DateFormatString="yyyy-MM-dd"
|
||||
LabelAlign="Right" Required="true" ShowRedStar="true">
|
||||
<f:DatePicker runat="server" Label="Plan JWD/计划联合检查" ID="txtPlanJWD" DateFormatString="yyyy-MM-dd"
|
||||
LabelAlign="Right" Required="true" ShowRedStar="true">
|
||||
</f:DatePicker>
|
||||
|
||||
<f:DatePicker runat="server" Label="MC Plan/MC 计划" ID="txtMcPlan" DateFormatString="yyyy-MM-dd"
|
||||
LabelAlign="Right" Required="true" ShowRedStar="true">
|
||||
<f:DatePicker runat="server" Label="MC Plan/MC 计划" ID="txtMcPlan" DateFormatString="yyyy-MM-dd"
|
||||
LabelAlign="Right" Required="true" ShowRedStar="true">
|
||||
</f:DatePicker>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
@@ -39,23 +39,23 @@
|
||||
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DatePicker runat="server" Label="Actual PWD/实际预联合检查" ID="txtActualPWD" DateFormatString="yyyy-MM-dd"
|
||||
LabelAlign="Right" LabelWidth="200px">
|
||||
<f:DatePicker runat="server" Label="Actual PWD/实际预联合检查" ID="txtActualPWD" DateFormatString="yyyy-MM-dd"
|
||||
LabelAlign="Right" LabelWidth="200px">
|
||||
</f:DatePicker>
|
||||
|
||||
<f:DatePicker runat="server" Label="Actual JWD/实际联合检查" ID="txtActualJWD" DateFormatString="yyyy-MM-dd"
|
||||
LabelAlign="Right">
|
||||
<f:DatePicker runat="server" Label="Actual JWD/实际联合检查" ID="txtActualJWD" DateFormatString="yyyy-MM-dd"
|
||||
LabelAlign="Right">
|
||||
</f:DatePicker>
|
||||
|
||||
<f:DatePicker runat="server" Label="Actual MC/实际机械完工" ID="txtActualMC" DateFormatString="yyyy-MM-dd"
|
||||
LabelAlign="Right">
|
||||
<f:DatePicker runat="server" Label="Actual MC/实际机械完工" ID="txtActualMC" DateFormatString="yyyy-MM-dd"
|
||||
LabelAlign="Right">
|
||||
</f:DatePicker>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtCommissioning" runat="server" Label="Commissioning/试运行" LabelAlign="Right" LabelWidth="200px">
|
||||
<f:TextBox ID="txtCommissioning" runat="server" Label="Commissioning/试运行" LabelAlign="Right" LabelWidth="200px">
|
||||
</f:TextBox>
|
||||
|
||||
<f:TextBox ID="txtIaQian" runat="server" Label="IA签署" LabelAlign="Right">
|
||||
@@ -68,7 +68,7 @@
|
||||
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList ID="ddlSystemStatus" runat="server" Label="System Status/系统状态" LabelWidth="200px" Required="true" ShowRedStar="true">
|
||||
<f:DropDownList ID="ddlSystemStatus" runat="server" Label="System Status/系统状态" LabelWidth="200px" Required="true" ShowRedStar="true">
|
||||
<f:ListItem Value="" Text=""></f:ListItem>
|
||||
<f:ListItem Value="Completed" Text="Completed"></f:ListItem>
|
||||
<f:ListItem Value="In progress" Text="In progress"></f:ListItem>
|
||||
@@ -79,8 +79,23 @@
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList ID="ddlElectricHeatTracing" runat="server" Label="电伴热" LabelWidth="180px">
|
||||
<f:ListItem Value="NA" Text="NA"></f:ListItem>
|
||||
<f:ListItem Value="Y" Text="Y"></f:ListItem>
|
||||
<f:ListItem Value="N" Text="N"></f:ListItem>
|
||||
</f:DropDownList>
|
||||
<f:DropDownList ID="ddlInsulation" runat="server" Label="保温/冷" LabelWidth="180px">
|
||||
<f:ListItem Value="NA" Text="NA"></f:ListItem>
|
||||
<f:ListItem Value="Y" Text="Y"></f:ListItem>
|
||||
<f:ListItem Value="N" Text="N"></f:ListItem>
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
|
||||
<f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtRemark" runat="server" Label="Remark/备注 " LabelAlign="Right" LabelWidth="200px">
|
||||
</f:TextArea>
|
||||
|
||||
@@ -74,6 +74,8 @@ namespace FineUIPro.Web.Transfer.Chart
|
||||
ddlSystemStatus.SelectedValue = model.SystemStatus;
|
||||
txtTurnoverDescription.Text = model.TurnoverDescription;
|
||||
txtRemark.Text = model.Remark;
|
||||
ddlElectricHeatTracing.SelectedValue = model.ElectricHeatTracing;
|
||||
ddlInsulation.SelectedValue = model.Insulation;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -96,8 +98,10 @@ namespace FineUIPro.Web.Transfer.Chart
|
||||
IaQian= txtIaQian.Text,
|
||||
TcccQ= txtTcccQ.Text,
|
||||
SystemStatus= ddlSystemStatus.SelectedValue,
|
||||
TurnoverDescription= txtTurnoverDescription.Text,
|
||||
Remark= txtRemark.Text
|
||||
TurnoverDescription = txtTurnoverDescription.Text,
|
||||
Remark = txtRemark.Text,
|
||||
ElectricHeatTracing = ddlElectricHeatTracing.SelectedValue,
|
||||
Insulation = ddlInsulation.SelectedValue,
|
||||
};
|
||||
if (!string.IsNullOrEmpty(txtActualPWD.Text))
|
||||
{
|
||||
|
||||
@@ -149,6 +149,24 @@ namespace FineUIPro.Web.Transfer.Chart
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtTurnoverDescription;
|
||||
|
||||
/// <summary>
|
||||
/// ddlElectricHeatTracing 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList ddlElectricHeatTracing;
|
||||
|
||||
/// <summary>
|
||||
/// ddlInsulation 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList ddlInsulation;
|
||||
|
||||
/// <summary>
|
||||
/// txtRemark 控件。
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user