From 595f6226f25cf5347e7aedf6599bb8ab8b69cd73 Mon Sep 17 00:00:00 2001 From: fly-l <1420031550@qq.com> Date: Mon, 4 Sep 2023 18:07:10 +0800 Subject: [PATCH] 2023-09-04 --- .vs/SGGL_SeDin/v17/.wsuo | Bin 264192 -> 263168 bytes SGGL/BLL/HJGL/PointTrust/PointBatchService.cs | 4 +- .../HJGL/RepairAndExpand/RepairTrust.aspx.cs | 51 +++++++++--------- 3 files changed, 28 insertions(+), 27 deletions(-) diff --git a/.vs/SGGL_SeDin/v17/.wsuo b/.vs/SGGL_SeDin/v17/.wsuo index d63d4610039736807c50f0bc7016461c15607c66..8326a29aeccd0e42f21860e96045767e42b24d2e 100644 GIT binary patch delta 2332 zcmbW(dsI|K9Ki9N%LP|m5QG&J@Bz3Yx`?_UOFmFnfi%Rlx25>N9%^Q&_+(2nN-Eh2 zx2M^fW@TmEiXK{;R#ui+X4*@8ozv-b%9Bf)C!p^vtZXO$v3t&knfsd=?(fbFb8&Bo zc2`Aj7~Ut!WHM=JZfR+uFbP=E4c!rIh`cSrqs@yv={(g#J8@j}C+e2Vv=yR8HfmGM zJ-KIai#*&nO)Qs-JFFL-rO@MxI<+;ZMs=ldpNwd9K{z6yenCf`t5RqR^lUAI^%hxb zjUW&aTG~4kQqNR*1TXat zI#iCq{5w*QlOiwC*@2oGp@hD{`OJx5RNnEed0X-gSEpT~W})tBuhvB!5au+VsB%+j zOMjOJOIHG+DBX7x^r+#a5!2Py|*ds|m9cqLY0H7enjO^F3^zm_G- zlS%@mKdHo`)+`q1pIx3@?XeY_)%vx^Y*WqZMqRB5+8Qisj?zPVbySNuUTrhk6kA|X z(-Ribti=hrByP1>CL7}>S=7`Aw^3lFD&%5oaipm)akWc>PZEoaM(ZJAQ9C&4u*7H!GfA*_pXfqb!t>h(dH*EQYcxV%0sY=!SSC zpgVdX5lKi!PxL}>^g#+zk%qpop&!!GU$6%QBH$7qbfShz3_YBLm|5JiGLcqx?$n25_zj7ccLWL%CZn2IZK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vw0~r~{P7d$Xr;rCo*3VqIZ=Zn}>pzJYZOd<(t<6!ks&>);3QBlrpY4E_L% z*@$Bm{n}#I@8CGj0RHE{u}z9Brg+g5g>=R~%0Sf~Wo~d;X6}V{L-Xg;8K=zbJ>w!F zC^?;`RoZRnZn7wY4%SfdudH~$13`)-qBtgs5AYYKKA2+WMRhIAgDM^2`yx|`iT;7f z!>M>S*^`R*j!$OejKSH;E??t`2{AIm)jvYw1{u zsdgqB)ay({)dCl;mpb{|o%-i$F~-BHRu>-Wi#DktU5u&=OdL_K>SDi2#`qyJlj@?$ zd+ECoGI!ZWroQ6hQT0lUpLnfTG^(#-yaR)v`o-k!>I@S{Z+&#v-w808smfv}u$Q&- NZN8#-=)Rqg{0W1?IB@^~ diff --git a/SGGL/BLL/HJGL/PointTrust/PointBatchService.cs b/SGGL/BLL/HJGL/PointTrust/PointBatchService.cs index 0f10bd28..b391b9d2 100644 --- a/SGGL/BLL/HJGL/PointTrust/PointBatchService.cs +++ b/SGGL/BLL/HJGL/PointTrust/PointBatchService.cs @@ -291,7 +291,7 @@ namespace BLL BLL.Funs.DB.HJGL_Batch_PointBatchItem.InsertOnSubmit(batchDetail); BLL.Funs.DB.SubmitChanges(); - // 焊工首道口RT必点 + /*// 焊工首道口RT必点 var joints = from x in Funs.DB.HJGL_Batch_PointBatchItem join y in Funs.DB.HJGL_Batch_PointBatch on x.PointBatchId equals y.PointBatchId join z in Funs.DB.Base_DetectionType on y.DetectionTypeId equals z.DetectionTypeId @@ -303,7 +303,7 @@ namespace BLL { BLL.PointBatchDetailService.UpdatePointBatchDetail(pointBatchItemId, "1", System.DateTime.Now); BLL.PointBatchDetailService.UpdateWelderFirst(pointBatchItemId, true); - } + }*/ } catch { diff --git a/SGGL/FineUIPro.Web/HJGL/RepairAndExpand/RepairTrust.aspx.cs b/SGGL/FineUIPro.Web/HJGL/RepairAndExpand/RepairTrust.aspx.cs index 6ba7cdb4..7c963f7e 100644 --- a/SGGL/FineUIPro.Web/HJGL/RepairAndExpand/RepairTrust.aspx.cs +++ b/SGGL/FineUIPro.Web/HJGL/RepairAndExpand/RepairTrust.aspx.cs @@ -447,37 +447,38 @@ namespace FineUIPro.Web.HJGL.RepairAndExpand protected void btnPrint_Click(object sender, EventArgs e) { - if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.PersonId, Const.HJGL_RepairTrustMenuId, Const.BtnPrint)) + if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID)) { - if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID)) + string varValue = string.Empty; + string trustBatchId = this.tvControlItem.SelectedNodeID; + + Model.View_Batch_BatchTrust trust = BLL.Batch_BatchTrustService.GetBatchTrustViewById(trustBatchId); + if (trust != null) { - string varValue = string.Empty; - string trustBatchId = this.tvControlItem.SelectedNodeID; - - Model.View_Batch_BatchTrust trust = BLL.Batch_BatchTrustService.GetBatchTrustViewById(trustBatchId); - if (trust != null) + varValue = trust.TrustBatchCode + "|" + trust.TrustDate.Value.Date + "|"; + var project = BLL.ProjectService.GetProjectByProjectId(this.CurrUser.LoginProjectId); + if (project != null) { - varValue = trust.TrustBatchCode + "|" + trust.TrustDate.Value.Date + "|"; - var project = BLL.ProjectService.GetProjectByProjectId(this.CurrUser.LoginProjectId); - if (project != null) - { - varValue = varValue + project.ProjectName + "|" + project.ProjectCode + "|"; - } - //varValue = varValue + trust.InstallationName + "|" + trust.InstallationCode; - if (!string.IsNullOrEmpty(varValue)) - { - varValue = HttpUtility.UrlEncodeUnicode(varValue); - } - - //PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("../../Common/ReportPrint/ExReportPrint.aspx?ispop=1&reportId={0}&replaceParameter={1}&varValue={2}&projectId=0", BLL.Const.CheckTrustReport, trustBatchId, varValue))); + varValue = varValue + project.ProjectName + "|" + project.ProjectCode + "|"; } + //varValue = varValue + trust.InstallationName + "|" + trust.InstallationCode; + if (!string.IsNullOrEmpty(varValue)) + { + varValue = HttpUtility.UrlEncodeUnicode(varValue); + } + + //PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("../../Common/ReportPrint/ExReportPrint.aspx?ispop=1&reportId={0}&replaceParameter={1}&varValue={2}&projectId=0", BLL.Const.CheckTrustReport, trustBatchId, varValue))); } } - else - { - ShowNotify("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning); - return; - } + //if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.PersonId, Const.HJGL_RepairTrustMenuId, Const.BtnPrint)) + //{ + + //} + //else + //{ + // ShowNotify("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning); + // return; + //} } #region 判断是否可删除