20240606 修改组织机构图

This commit is contained in:
毕文静 2024-06-06 15:48:52 +08:00
parent 0c28c16c1d
commit 35c2b0350e
16 changed files with 465 additions and 525 deletions

View File

@ -0,0 +1 @@
update ProcessControl_InspectionManagement set IsOnceQualified=1

View File

@ -1,5 +1,6 @@
using NPOI.SS.UserModel; using NPOI.SS.UserModel;
using System; using System;
using System.Configuration;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
using System.Web.UI.WebControls; using System.Web.UI.WebControls;
@ -74,13 +75,12 @@ namespace BLL
string[] subUrl = url.Split('/'); string[] subUrl = url.Split('/');
string fileName = subUrl[subUrl.Count() - 1]; string fileName = subUrl[subUrl.Count() - 1];
string newFileName = fileName.Substring(fileName.IndexOf("_") + 1); string newFileName = fileName.Substring(fileName.IndexOf("_") + 1);
htmlStr += "<tr><td style=\"width: 60%\" align=\"left\"><span style='cursor:pointer;cursor:pointer;cursor:pointer;TEXT-DECORATION: underline;color:blue' onclick=\"window.open('" + url + "')\">" + newFileName + "</span></td>"; htmlStr += "<tr><td style=\"width: 60%\" align=\"left\"><span style='cursor:pointer;cursor:pointer;cursor:pointer;TEXT-DECORATION: underline;color:blue' onclick=\"window.open('" + url + "')\">" + newFileName + "</span></td>";
} }
} }
htmlStr += "</table>"; htmlStr += "</table>";
} }
return htmlStr; return htmlStr;
} }
#endregion #endregion

View File

@ -47,7 +47,7 @@ namespace FineUIPro.Web.CQMS.ProcessControl
BP.Class, BP.Class,
P.AcceptanceSite, P.AcceptanceSite,
P.AcceptanceCheckMan, P.AcceptanceCheckMan,
(CASE WHEN IsOnceQualified='True' THEN '是' ELSE '否' END)AS IsOnceQualified, (CASE WHEN IsOnceQualified='False' THEN '否' ELSE '是' END)AS IsOnceQualified,
P.InspectionCode, P.InspectionCode,
P.InspectionDate" P.InspectionDate"
+ @" FROM ProcessControl_InspectionManagement AS P " + @" FROM ProcessControl_InspectionManagement AS P "

View File

@ -29,7 +29,10 @@
<f:FormRow> <f:FormRow>
<Items> <Items>
<f:TextBox runat="server" ID="txtAcceptanceSite" Label="验收部位" LabelAlign="Right" LabelWidth="130px"></f:TextBox> <f:TextBox runat="server" ID="txtAcceptanceSite" Label="验收部位" LabelAlign="Right" LabelWidth="130px"></f:TextBox>
<f:TextBox runat="server" ID="txtAcceptanceCheckMan" Label="检查人" LabelAlign="Right" LabelWidth="130px"></f:TextBox> <%--<f:TextBox runat="server" ID="txtAcceptanceCheckMan" Label="检查人" LabelAlign="Right" LabelWidth="130px"></f:TextBox>--%>
<f:DropDownList ID="drpAcceptanceCheckMan" runat="server" Label="检查人" EnableCheckBoxSelect="true" LabelWidth="130px"
EnableMultiSelect="true">
</f:DropDownList>
</Items> </Items>
</f:FormRow> </f:FormRow>
<f:FormRow> <f:FormRow>
@ -38,7 +41,7 @@
<f:RadioItem Value="True" Text="是" Selected="true" /> <f:RadioItem Value="True" Text="是" Selected="true" />
<f:RadioItem Value="False" Text="否" /> <f:RadioItem Value="False" Text="否" />
</f:RadioButtonList> </f:RadioButtonList>
<f:DatePicker ID="txtInspectionDate" runat="server" DateFormatString="yyyy-MM-dd HH:mm:ss" ShowTime="true" Label="验收日期" LabelAlign="Right" LabelWidth="130px"></f:DatePicker> <f:DatePicker ID="txtInspectionDate" runat="server" DateFormatString="yyyy-MM-dd HH:mm:ss" ShowTime="true" Label="验收日期" LabelAlign="Right" LabelWidth="130px" Required="true" ShowRedStar="true"></f:DatePicker>
</Items> </Items>
</f:FormRow> </f:FormRow>
<f:FormRow> <f:FormRow>

View File

@ -19,6 +19,7 @@ namespace FineUIPro.Web.CQMS.ProcessControl
GetButtonPower(); GetButtonPower();
BLL.UnitService.InitUnitByProjectIdUnitTypeDropDownList(drpUnit, this.CurrUser.LoginProjectId, BLL.Const.ProjectUnitType_2, true);//施工分包商 BLL.UnitService.InitUnitByProjectIdUnitTypeDropDownList(drpUnit, this.CurrUser.LoginProjectId, BLL.Const.ProjectUnitType_2, true);//施工分包商
BLL.CNProfessionalService.InitCNProfessionalDownList(this.drpCNProfessionalId, true);//专业 BLL.CNProfessionalService.InitCNProfessionalDownList(this.drpCNProfessionalId, true);//专业
UserService.InitUserProjectIdUnitTypeDropDownList(this.drpAcceptanceCheckMan, this.CurrUser.LoginProjectId, string.Empty, false);
this.hdInspectionNoticeId.Text = Request.Params["inspectionId"]; this.hdInspectionNoticeId.Text = Request.Params["inspectionId"];
if (!string.IsNullOrEmpty(this.hdInspectionNoticeId.Text)) if (!string.IsNullOrEmpty(this.hdInspectionNoticeId.Text))
@ -35,7 +36,11 @@ namespace FineUIPro.Web.CQMS.ProcessControl
this.drpCNProfessionalId.SelectedValue = inspectionManagement.CNProfessionalId; this.drpCNProfessionalId.SelectedValue = inspectionManagement.CNProfessionalId;
} }
this.txtAcceptanceSite.Text = inspectionManagement.AcceptanceSite; this.txtAcceptanceSite.Text = inspectionManagement.AcceptanceSite;
this.txtAcceptanceCheckMan.Text = inspectionManagement.AcceptanceCheckMan; //this.txtAcceptanceCheckMan.Text = ConvertCheckMan(inspectionManagement.AcceptanceCheckMan);
if (!string.IsNullOrEmpty(inspectionManagement.AcceptanceCheckMan))
{
this.drpAcceptanceCheckMan.SelectedValueArray = inspectionManagement.AcceptanceCheckMan.Split(',');
}
this.txtNoticeCode.Text = inspectionManagement.NoticeCode; this.txtNoticeCode.Text = inspectionManagement.NoticeCode;
this.hdParentDivisionProjectId.Text = inspectionManagement.ParentDivisionProjectId; this.hdParentDivisionProjectId.Text = inspectionManagement.ParentDivisionProjectId;
if (inspectionManagement.IsOnceQualified.HasValue) if (inspectionManagement.IsOnceQualified.HasValue)
@ -100,18 +105,29 @@ namespace FineUIPro.Web.CQMS.ProcessControl
} }
inspectionManagement.AcceptanceSite = this.txtAcceptanceSite.Text.Trim(); inspectionManagement.AcceptanceSite = this.txtAcceptanceSite.Text.Trim();
inspectionManagement.AcceptanceCheckMan = this.txtAcceptanceCheckMan.Text.Trim(); //检查人
string CheckManIds = string.Empty;
foreach (var item in this.drpAcceptanceCheckMan.SelectedValueArray)
{
CheckManIds += item + ",";
}
if (!string.IsNullOrEmpty(CheckManIds))
{
CheckManIds = CheckManIds.Substring(0, CheckManIds.LastIndexOf(","));
}
inspectionManagement.AcceptanceCheckMan = CheckManIds;
//inspectionManagement.AcceptanceCheckMan = this.txtAcceptanceCheckMan.Text.Trim();
if (!string.IsNullOrEmpty(this.rblIsOnceQualified.SelectedValue)) if (!string.IsNullOrEmpty(this.rblIsOnceQualified.SelectedValue))
{ {
if (this.rblIsOnceQualified.SelectedValue == "True") if (this.rblIsOnceQualified.SelectedValue == "False")
{
inspectionManagement.IsOnceQualified = true;
}
else
{ {
inspectionManagement.IsOnceQualified = false; inspectionManagement.IsOnceQualified = false;
inspectionManagement.UnqualifiedReason = this.txtUnqualifiedReason.Text.Trim(); inspectionManagement.UnqualifiedReason = this.txtUnqualifiedReason.Text.Trim();
} }
else
{
inspectionManagement.IsOnceQualified = true;
}
} }
inspectionManagement.InspectionCode = this.txtInspectionCode.Text.Trim(); inspectionManagement.InspectionCode = this.txtInspectionCode.Text.Trim();
inspectionManagement.InspectionDate = Funs.GetNewDateTime(this.txtInspectionDate.Text.Trim()); inspectionManagement.InspectionDate = Funs.GetNewDateTime(this.txtInspectionDate.Text.Trim());

View File

@ -85,13 +85,13 @@ namespace FineUIPro.Web.CQMS.ProcessControl {
protected global::FineUIPro.TextBox txtAcceptanceSite; protected global::FineUIPro.TextBox txtAcceptanceSite;
/// <summary> /// <summary>
/// txtAcceptanceCheckMan 控件。 /// drpAcceptanceCheckMan 控件。
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtAcceptanceCheckMan; protected global::FineUIPro.DropDownList drpAcceptanceCheckMan;
/// <summary> /// <summary>
/// rblIsOnceQualified 控件。 /// rblIsOnceQualified 控件。

View File

@ -8,473 +8,380 @@
<title>质量管理组织机构</title> <title>质量管理组织机构</title>
<style type="text/css"> <style type="text/css">
.auto-style91 { .auto-style91 {
width: 1304px; width: 1300px;
height: 675px; height: 666px;
margin-bottom: 0px; margin-bottom: 0px;
} }
.auto-style92{ .auto-style92 {
width:1276px; width: 1330px;
height:672px; height: 650px;
margin-bottom:0px; margin-bottom: 0px;
} }
</style> </style>
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">
<f:PageManager ID="PageManager1" runat="server" /> <f:PageManager ID="PageManager1" runat="server" />
<f:ContentPanel ID="ContentPanel1" IsFluid="true" runat="server" BodyPadding="0px" <f:ContentPanel ID="ContentPanel1" runat="server" BodyPadding="0px"
ShowBorder="true" ShowHeader="true" Title="内容面板"> ShowBorder="true" ShowHeader="true" Title="内容面板" AutoScroll="true">
<div style="text-align:right"> <div style="text-align: right">
<f:Button ID="btnOut" EnablePostBack="true" runat="server" Text="导出" Icon="Printer" OnClick="btnOut_Click" EnableAjax="false" DisableControlBeforePostBack="false"></f:Button> <f:Button ID="btnOut" EnablePostBack="true" runat="server" Text="导出" Icon="Printer" OnClick="btnOut_Click" EnableAjax="false" DisableControlBeforePostBack="false"></f:Button>
</div> </div>
<div id="divOrganizational" runat="server" style="background-image: url('../../res/images/Organizational.png');" class="auto-style91"> <div id="divOrganizational" runat="server" style="background-image: url('../../res/images/Organizational.png');" class="auto-style91">
<table class="auto-style91"> <table class="auto-style91">
<tr style="height: 90px; vertical-align: central"> <tr style="height: 15px;">
<td style="width: 15px"></td>
<td style="width: 25px"></td> <td style="width: 25px"></td>
<td style="width: 25px"></td> <td style="width: 160px"></td>
<td style="width: 170px"></td> <td style="width: 50px"></td>
<td style="width: 20px"></td> <td style="width: 10px"></td>
<td style="width: 17px"></td>
<td style="width: 150px"></td> <td style="width: 150px"></td>
<td style="width: 20px"></td> <td style="width: 20px"></td>
<td style="width: 30px"></td>
<td style="width: 140px"></td>
<td style="width: 30px"></td>
<td style="width: 30px"></td>
<td style="width: 170px"></td>
<td style="width: 45px"></td>
<td style="width: 150px"></td>
<td style="width: 20px"></td>
<td style="width: 30px"></td>
<td style="width: 170px"></td>
<td></td>
</tr>
<tr style="height: 45px;">
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td colspan="3"> <td colspan="3">
&nbsp;&nbsp;
<asp:Label ID="Label1" runat="server" Text="项目经理:"></asp:Label> <asp:Label ID="Label1" runat="server" Text="项目经理:"></asp:Label>
</td> </td>
<td style="width: 20px"></td> <td></td>
<td style="width: 170px"></td> <td></td>
<td style="width: 35px"></td> <td></td>
<td style="width: 150px"></td> <td></td>
<td style="width: 20px"></td> <td></td>
<td style="width: 28px"></td> <td></td>
<td style="width: 170px"></td> <td></td>
<td></td> <td></td>
</tr> </tr>
<tr style="height: 75px"> <tr style="height: 95px;">
<td style="width: 25px"></td> <td></td>
<td style="width: 25px"></td> <td></td>
<td style="width: 170px"></td> <td></td>
<td style="width: 20px"></td> <td></td>
<td style="width: 17px"></td> <td></td>
<td style="width: 150px"></td> <td></td>
<td style="width: 20px"></td> <td></td>
<td style="width: 20px"></td> <td></td>
<td style="width: 160px"></td> <td></td>
<td style="width: 20px"></td> <td></td>
<td style="width: 20px"></td> <td></td>
<td style="width: 170px"></td> <td></td>
<td style="width: 35px"></td> <td></td>
<td style="width: 150px"></td> <td></td>
<td style="width: 20px"></td> <td></td>
<td style="width: 28px"></td> <td></td>
<td style="width: 170px"></td> <td></td>
<td></td> <td></td>
</tr> </tr>
<tr style="height: 70px"> <tr style="height: 55px;">
<td style="width: 25px"></td> <td></td>
<td style="width: 25px"></td> <td></td>
<td style="width: 170px"> <td>
<asp:Label ID="Label2" runat="server" Text="设计经理:"></asp:Label></td> <asp:Label ID="Label2" runat="server" Text="设计经理:"></asp:Label></td>
<td style="width: 20px"></td> <td></td>
<td style="width: 17px"></td> <td></td>
<td style="width: 150px"> <td>
<asp:Label ID="Label3" runat="server" Text="采购经理:"></asp:Label></td> <asp:Label ID="Label3" runat="server" Text="采购经理:"></asp:Label></td>
<td style="width: 20px"></td> <td></td>
<td style="width: 20px"></td> <td></td>
<td style="width: 160px;"> <td>
&nbsp;&nbsp;
<asp:Label ID="Label4" runat="server" Text="施工经理:"></asp:Label></td> <asp:Label ID="Label4" runat="server" Text="施工经理:"></asp:Label></td>
<td style="width: 20px"></td> <td></td>
<td style="width: 20px"></td> <td></td>
<td style="width: 170px"> <td>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<asp:Label ID="Label5" runat="server" Text="质量经理:"></asp:Label></td> <asp:Label ID="Label5" runat="server" Text="质量经理:"></asp:Label></td>
<td style="width: 35px"></td> <td></td>
<td colspan="2" style="text-align:center"> <td>
<asp:Label ID="Label6" runat="server" Text="HSE经理"></asp:Label></td> <asp:Label ID="Label6" runat="server" Text="HSE经理"></asp:Label></td>
<td style="width: 28px"></td> <td></td>
<td style="width: 170px;text-align:center"> <td></td>
<asp:Label ID="Label7" runat="server" Text="开车经理:"></asp:Label> <td>
</td> <asp:Label ID="Label7" runat="server" Text="开车经理:"></asp:Label></td>
<td></td> <td></td>
</tr> </tr>
<tr style="height: 82px"> <tr style="height: 95px;">
<td style="width: 25px"></td> <td></td>
<td style="width: 25px"></td> <td></td>
<td style="width: 170px"></td> <td></td>
<td style="width: 20px"></td> <td></td>
<td style="width: 17px"></td> <td></td>
<td style="width: 150px"></td> <td></td>
<td style="width: 20px"></td> <td></td>
<td style="width: 20px"></td> <td></td>
<td style="width: 160px"></td> <td></td>
<td style="width: 20px"></td> <td></td>
<td style="width: 20px"></td> <td></td>
<td style="width: 170px"></td> <td></td>
<td style="width: 35px"></td> <td></td>
<td style="width: 150px"></td> <td></td>
<td style="width: 20px"></td> <td></td>
<td style="width: 28px"></td> <td></td>
<td style="width: 170px"></td> <td></td>
<td></td> <td></td>
</tr> </tr>
<tr style="height: 85px"> <tr style="height: 85px; vertical-align: top;">
<td style="width: 25px"></td> <td></td>
<td style="width: 25px"></td> <td></td>
<td style="width: 170px"></td> <td></td>
<td style="width: 20px"></td> <td></td>
<td style="width: 17px"></td> <td></td>
<td style="width: 150px; vertical-align: top"> <td>
&nbsp;&nbsp;
<asp:Label ID="Label8" runat="server" Text="仓库管理员:"></asp:Label></td> <asp:Label ID="Label8" runat="server" Text="仓库管理员:"></asp:Label></td>
<td style="width: 20px"></td> <td></td>
<td style="width: 20px"></td> <td></td>
<td style="width: 160px"></td> <td></td>
<td style="width: 20px"></td> <td></td>
<td style="width: 20px"></td> <td></td>
<td style="width: 170px; vertical-align: top"> <td>
&nbsp;&nbsp;&nbsp;
<asp:Label ID="Label9" runat="server" Text="文控工程师:"></asp:Label></td> <asp:Label ID="Label9" runat="server" Text="文控工程师:"></asp:Label></td>
<td style="width: 35px"></td> <td></td>
<td style="width: 150px; vertical-align: top"> <td>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<asp:Label ID="Label10" runat="server" Text="HSE工程师"></asp:Label></td> <asp:Label ID="Label10" runat="server" Text="HSE工程师"></asp:Label></td>
<td style="width: 20px"></td> <td></td>
<td style="width: 28px"></td> <td></td>
<td style="width: 170px;vertical-align: top"> <td>
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
<asp:Label ID="Label11" runat="server" Text="开车工程师:"></asp:Label></td> <asp:Label ID="Label11" runat="server" Text="开车工程师:"></asp:Label></td>
<td></td> <td></td>
</tr> </tr>
<tr style="height: 65px"> <tr style="height: 70px;">
<td style="width: 25px"></td> <td></td>
<td style="width: 25px"></td> <td></td>
<td style="width: 170px"></td> <td></td>
<td style="width: 20px"></td> <td></td>
<td style="width: 17px"></td> <td></td>
<td style="width: 150px"></td> <td></td>
<td style="width: 20px"></td> <td></td>
<td style="width: 20px"></td> <td></td>
<td style="width: 160px"></td> <td></td>
<td style="width: 20px"></td> <td></td>
<td style="width: 20px"></td> <td></td>
<td style="width: 170px"></td> <td></td>
<td style="width: 35px"></td> <td></td>
<td style="width: 150px"></td> <td></td>
<td style="width: 20px"></td> <td></td>
<td style="width: 28px"></td> <td></td>
<td style="width: 170px"></td> <td></td>
<td></td> <td></td>
</tr> </tr>
<tr style="height: 100px"> <tr style="height: 100px; vertical-align: top;">
<td style="width: 25px"></td> <td></td>
<td colspan="2" style="vertical-align: top"> <td colspan="2">
<asp:Label ID="Label12" runat="server" Text="土建工程师:"></asp:Label></td> <asp:Label ID="Label12" runat="server" Text="土建工程师:"></asp:Label></td>
<td style="width: 20px"></td> <td></td>
<td colspan="3" style="vertical-align: top"> <td colspan="3">
&nbsp;
<asp:Label ID="Label13" runat="server" Text="设备工程师:"></asp:Label></td> <asp:Label ID="Label13" runat="server" Text="设备工程师:"></asp:Label></td>
<td style="width: 20px"></td> <td></td>
<td colspan="2" style="vertical-align: top"> <td colspan="2">
&nbsp;&nbsp;&nbsp;
<asp:Label ID="Label14" runat="server" Text="管道工程师:"></asp:Label></td> <asp:Label ID="Label14" runat="server" Text="管道工程师:"></asp:Label></td>
<td style="width: 20px"></td> <td></td>
<td style="width: 170px; vertical-align: top"> <td>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<asp:Label ID="Label15" runat="server" Text="电气工程师:"></asp:Label></td> <asp:Label ID="Label15" runat="server" Text="电气工程师:"></asp:Label></td>
<td style="width: 35px"></td> <td></td>
<td colspan="3" style="vertical-align: top"> <td colspan="3">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<asp:Label ID="Label16" runat="server" Text="仪表工程师:"></asp:Label></td> <asp:Label ID="Label16" runat="server" Text="仪表工程师:"></asp:Label></td>
<td style="width: 170px"></td> <td></td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td style="width: 25px"></td> <td></td>
<td style="width: 25px"></td> <td></td>
<td style="width: 170px"></td> <td></td>
<td style="width: 20px"></td> <td></td>
<td style="width: 17px"></td> <td></td>
<td style="width: 150px"></td> <td></td>
<td style="width: 20px"></td> <td></td>
<td style="width: 20px"></td> <td></td>
<td style="width: 160px"></td> <td></td>
<td style="width: 20px"></td> <td></td>
<td style="width: 20px"></td> <td></td>
<td style="width: 170px"></td> <td></td>
<td style="width: 35px"></td> <td></td>
<td style="width: 150px"></td> <td></td>
<td style="width: 20px"></td> <td></td>
<td style="width: 28px"></td> <td></td>
<td style="width: 170px"></td> <td></td>
<td></td> <td></td>
</tr> </tr>
</table> </table>
</div> </div>
<div id="divSubOrganizational" runat="server" style="background-image: url('../../res/images/SubOrganizational.png');" class="auto-style92" > <div id="divSubOrganizational" runat="server" style="background-image: url('../../res/images/SubOrganizational.png'); padding: 0px" class="auto-style92">
<table class="auto-style92"> <table class="auto-style92">
<tr style="height:35px"> <tr style="height: 15px;">
<td style="width:30px;"> <td style="width: 10px;"></td>
</td> <td style="width: 150px;"></td>
<td style="width:150px;"> <td style="width: 40px;"></td>
</td> <td style="width: 160px;"></td>
<td style="width:30px;"> <td style="width: 30px;"></td>
</td> <td style="width: 2px;"></td>
<td style="width:60px;"> <td style="width: 130px;"></td>
</td> <td style="width: 25px;"></td>
<td style="width:60px;"> <td style="width: 30px;"></td>
</td> <td style="width: 153px;"></td>
<td style="width:120px;"> <td style="width: 20px;"></td>
</td> <td style="width: 120px;"></td>
<td style="width:50px;"> <td style="width: 30px;"></td>
</td> <td style="width: 30px;"></td>
<td style="width:190px;"> <td style="width: 130px;"></td>
</td> <td style="width: 20px;"></td>
<td style="width:40px;"> <td style="width: 40px;"></td>
</td> <td style="width: 150px;"></td>
<td style="width:100px;"> <td></td>
</td> </tr>
<td style="width:85px;"> <tr style="height: 50px;">
</td> <td></td>
<td style="width:50px;"> <td></td>
</td> <td></td>
<td style="width:30px;"> <td></td>
</td> <td></td>
<td style="width:155px;"> <td></td>
</td> <td></td>
<td> <td></td>
</td> <td colspan="2">
</tr><tr style="height:45px">
<td style="width:30px;">
</td>
<td style="width:150px;">
</td>
<td style="width:30px;">
</td>
<td style="width:60px;">
</td>
<td style="width:60px;">
</td>
<td style="width:120px;">
</td>
<td style="width:50px;">
</td>
<td style="width:190px;">
&nbsp;&nbsp;&nbsp;
<asp:Label ID="Label17" runat="server" Text="项目经理:"></asp:Label> <asp:Label ID="Label17" runat="server" Text="项目经理:"></asp:Label>
</td> </td>
<td style="width:40px;"> <td></td>
</td> <td></td>
<td style="width:100px;"> <td></td>
</td> <td></td>
<td style="width:85px;"> <td></td>
</td> <td></td>
<td style="width:50px;"> <td></td>
</td> <td></td>
<td style="width:30px;"> <td></td>
</td> </tr>
<td style="width:155px;"> <tr style="height: 100px;">
</td> <td></td>
<td> <td></td>
</td> <td></td>
</tr><tr style="height:110px"> <td></td>
<td style="width:30px;"> <td></td>
</td> <td></td>
<td style="width:150px;"> <td></td>
</td> <td></td>
<td style="width:30px;"> <td></td>
</td> <td></td>
<td style="width:60px;"> <td></td>
</td> <td></td>
<td style="width:60px;"> <td></td>
</td> <td></td>
<td style="width:120px;"> <td></td>
</td> <td></td>
<td style="width:50px;"> <td></td>
</td> <td></td>
<td style="width:190px;"> <td></td>
</td> </tr>
<td style="width:40px;"> <tr style="height: 65px;">
</td> <td></td>
<td style="width:100px;"> <td></td>
</td> <td></td>
<td style="width:85px;"> <td colspan="2">
</td> <asp:Label ID="Label18" runat="server" Text="施工经理:"></asp:Label>
<td style="width:50px;"> </td>
</td> <td></td>
<td style="width:30px;"> <td></td>
</td> <td></td>
<td style="width:155px;"> <td colspan="3">
</td> <asp:Label ID="Label19" runat="server" Text="质量经理:"></asp:Label>
<td> </td>
</td> <td></td>
</tr><tr style="height:55px"> <td colspan="3">
<td style="width:30px;"> <asp:Label ID="Label20" runat="server" Text="HSE经理"></asp:Label>
</td> </td>
<td style="width:150px;"> <td></td>
</td> <td></td>
<td colspan="3"><asp:Label ID="Label18" runat="server" Text="施工经理:"></asp:Label> <td></td>
</td> <td></td>
<td style="width:120px;"> </tr>
</td> <tr style="height: 240px;">
<td style="width:50px;"> <td></td>
</td> <td></td>
<td style="width:190px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:Label ID="Label19" runat="server" Text="质量经理:"></asp:Label> <td></td>
</td> <td></td>
<td style="width:40px;"> <td></td>
</td> <td></td>
<td style="width:100px;"> <td></td>
</td> <td></td>
<td colspan="3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:Label ID="Label20" runat="server" Text="HSE经理"></asp:Label> <td></td>
</td> <td></td>
<td style="width:155px;"> <td></td>
</td> <td></td>
<td> <td></td>
</td> <td></td>
</tr><tr style="height:60px"> <td></td>
<td style="width:30px;"> <td></td>
</td> <td></td>
<td style="width:150px;"> <td></td>
</td> <td></td>
<td style="width:30px;"> </tr>
</td> <tr style="height: 100px;">
<td style="width:60px;"> <td></td>
</td> <td style="vertical-align: top;">
<td style="width:60px;"> <asp:Label ID="Label23" runat="server" Text="土建工程师:"></asp:Label>
</td> </td>
<td style="width:120px;"> <td></td>
</td> <td style="vertical-align: top;">
<td style="width:50px;"> <asp:Label ID="Label24" runat="server" Text="设备工程师:"></asp:Label>
</td> </td>
<td style="width:190px;"> <td></td>
</td> <td style="vertical-align: top;" colspan="2">
<td style="width:40px;"> <asp:Label ID="Label25" runat="server" Text="管道工程师:"></asp:Label>
</td> </td>
<td style="width:100px;"> <td></td>
</td> <td style="vertical-align: top;">&nbsp;</td>
<td style="width:85px;"> <td style="vertical-align: top;">
</td> <asp:Label ID="Label26" runat="server" Text="电气工程师:"></asp:Label>
<td style="width:50px;"> </td>
</td> <td></td>
<td style="width:30px;"> <td style="vertical-align: top;" colspan="2">
</td> <asp:Label ID="Label27" runat="server" Text="仪表工程师:"></asp:Label>
<td style="width:155px;"> </td>
</td> <td></td>
<td> <td style="vertical-align: top" colspan="2">
</td> <asp:Label ID="Label21" runat="server" Text="文控工程师:"></asp:Label>
</tr><tr style="height:90px"> </td>
<td style="width:30px;"> <td></td>
</td> <td style="vertical-align: top">
<td style="width:150px;"> <asp:Label ID="Label22" runat="server" Text="HSE工程师"></asp:Label>
</td> </td>
<td style="width:30px;"> <td></td>
</td> </tr>
<td style="width:60px;"> <tr style="height: 90px">
</td> <td></td>
<td style="width:60px;"> <td></td>
</td> <td></td>
<td style="width:120px;"> <td></td>
</td> <td></td>
<td style="width:50px;"> <td></td>
</td> <td></td>
<td style="width:190px;vertical-align: top">&nbsp;&nbsp;&nbsp;&nbsp; <asp:Label ID="Label21" runat="server" Text="文控工程师:"></asp:Label> <td></td>
</td> <td></td>
<td style="width:40px;"> <td></td>
</td> <td></td>
<td style="width:100px;"> <td></td>
</td> <td></td>
<td colspan="3" style="vertical-align: top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:Label ID="Label22" runat="server" Text="HSE工程师"></asp:Label> <td></td>
</td> <td></td>
<td style="width:155px;"> <td></td>
</td> <td></td>
<td> <td></td>
</td> <td></td>
</tr><tr style="height:90px">
<td style="width:30px;">
</td>
<td style="width:150px;">
</td>
<td style="width:30px;">
</td>
<td style="width:60px;">
</td>
<td style="width:60px;">
</td>
<td style="width:120px;">
</td>
<td style="width:50px;">
</td>
<td style="width:190px;">
</td>
<td style="width:40px;">
</td>
<td style="width:100px;">
</td>
<td style="width:85px;">
</td>
<td style="width:50px;">
</td>
<td style="width:30px;">
</td>
<td style="width:155px;">
</td>
<td>
</td>
</tr><tr style="height:90px">
<td style="width:30px;">
</td>
<td colspan="2" style="vertical-align: top"><asp:Label ID="Label23" runat="server" Text="土建工程师:"></asp:Label>
</td>
<td style="width:60px;">
</td>
<td colspan="2" style="vertical-align: top">&nbsp; <asp:Label ID="Label24" runat="server" Text="设备工程师:"></asp:Label>
</td>
<td style="width:50px;">
</td>
<td style="width:190px;vertical-align: top">&nbsp;&nbsp;&nbsp;&nbsp; <asp:Label ID="Label25" runat="server" Text="管道工程师:"></asp:Label>
</td>
<td style="width:40px;">
</td>
<td colspan="2" style="vertical-align: top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:Label ID="Label26" runat="server" Text="电气工程师:"></asp:Label>
</td>
<td style="width:50px;">
</td>
<td colspan="2" style="vertical-align: top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:Label ID="Label27" runat="server" Text="仪表工程师:"></asp:Label>
</td>
<td>
</td>
</tr><tr>
<td style="width:30px;">
</td>
<td style="width:150px;">
</td>
<td style="width:30px;">
</td>
<td style="width:60px;">
</td>
<td style="width:60px;">
</td>
<td style="width:120px;">
</td>
<td style="width:50px;">
</td>
<td style="width:190px;">
</td>
<td style="width:40px;">
</td>
<td style="width:100px;">
</td>
<td style="width:85px;">
</td>
<td style="width:50px;">
</td>
<td style="width:30px;">
</td>
<td style="width:155px;">
</td>
<td>
</td>
</tr> </tr>
</table> </table>
</div> </div>

View File

@ -24,6 +24,14 @@ namespace FineUIPro.Web.CQMS.QualityPlanning
string projectId = this.CurrUser.LoginProjectId; string projectId = this.CurrUser.LoginProjectId;
string unitId = this.CurrUser.UnitId; string unitId = this.CurrUser.UnitId;
if (this.CurrUser.UserId == BLL.Const.hfnbdId)
{
unitId = BLL.Const.UnitId_CWCEC;
}
this.divSubOrganizational.Visible = false;
this.divOrganizational.Visible = true;
this.ContentPanel1.Title = "项目名称:" + BLL.ProjectService.GetProjectNameByProjectId(projectId); this.ContentPanel1.Title = "项目名称:" + BLL.ProjectService.GetProjectNameByProjectId(projectId);
var unit = (from x in Funs.DB.Project_ProjectUnit var unit = (from x in Funs.DB.Project_ProjectUnit
@ -305,7 +313,7 @@ namespace FineUIPro.Web.CQMS.QualityPlanning
name4 = name4.Substring(0, name4.LastIndexOf(',')); name4 = name4.Substring(0, name4.LastIndexOf(','));
} }
} }
this.Label8.Text = "施工经理:" + name4; this.Label18.Text = "施工经理:" + name4;
string name5 = string.Empty; string name5 = string.Empty;
var qa = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "质量经理"); var qa = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "质量经理");
@ -320,7 +328,7 @@ namespace FineUIPro.Web.CQMS.QualityPlanning
name5 = name5.Substring(0, name5.LastIndexOf(',')); name5 = name5.Substring(0, name5.LastIndexOf(','));
} }
} }
this.Label9.Text = "质量经理:" + name5; this.Label19.Text = "质量经理:" + name5;
string name6 = string.Empty; string name6 = string.Empty;
var hseManager = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "HSE经理"); var hseManager = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "HSE经理");
@ -465,6 +473,11 @@ namespace FineUIPro.Web.CQMS.QualityPlanning
var pModel = Funs.DB.Base_Project.FirstOrDefault(x => x.ProjectId == projectId); var pModel = Funs.DB.Base_Project.FirstOrDefault(x => x.ProjectId == projectId);
if(this.CurrUser.UserId==BLL.Const.hfnbdId)
{
unitId = BLL.Const.UnitId_CWCEC;
}
var unit = (from x in Funs.DB.Project_ProjectUnit var unit = (from x in Funs.DB.Project_ProjectUnit
join y in Funs.DB.Base_Unit on x.UnitId equals y.UnitId join y in Funs.DB.Base_Unit on x.UnitId equals y.UnitId
where x.ProjectId == projectId where x.ProjectId == projectId

View File

@ -246,24 +246,6 @@ namespace FineUIPro.Web.CQMS.QualityPlanning {
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Label Label20; protected global::System.Web.UI.WebControls.Label Label20;
/// <summary>
/// Label21 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Label Label21;
/// <summary>
/// Label22 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Label Label22;
/// <summary> /// <summary>
/// Label23 控件。 /// Label23 控件。
/// </summary> /// </summary>
@ -308,5 +290,23 @@ namespace FineUIPro.Web.CQMS.QualityPlanning {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::System.Web.UI.WebControls.Label Label27; protected global::System.Web.UI.WebControls.Label Label27;
/// <summary>
/// Label21 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Label Label21;
/// <summary>
/// Label22 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Label Label22;
} }
} }

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup> <PropertyGroup>
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig> <LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
<UseIISExpress>true</UseIISExpress> <UseIISExpress>true</UseIISExpress>
<Use64BitIISExpress>false</Use64BitIISExpress> <Use64BitIISExpress>false</Use64BitIISExpress>
<IISExpressSSLPort /> <IISExpressSSLPort />

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0"?>
<!-- <!--
有关如何配置 ASP.NET 应用程序的详细消息,请访问 有关如何配置 ASP.NET 应用程序的详细消息,请访问
@ -6,50 +6,50 @@
--> -->
<configuration> <configuration>
<configSections> <configSections>
<section name="FineUIPro" type="FineUIPro.ConfigSection, FineUIPro" requirePermission="false" /> <section name="FineUIPro" type="FineUIPro.ConfigSection, FineUIPro" requirePermission="false"/>
</configSections> </configSections>
<FineUIPro DebugMode="true" Theme="Cupertino" /> <FineUIPro DebugMode="true" Theme="Cupertino"/>
<appSettings> <appSettings>
<!--连接字符串--> <!--连接字符串-->
<!--<add key="ConnectionString" value="Server=.;Database=SGGLDB_WH;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Connect Timeout=1200"/>--> <!--<add key="ConnectionString" value="Server=.;Database=SGGLDB_WH;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Connect Timeout=1200"/>-->
<add key="ConnectionString" value="Server=.\SQL2012;Database=SGGLDB_WH;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Connect Timeout=1200" /> <add key="ConnectionString" value="Server=.\SQL2012;Database=SGGLDB_WH;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Connect Timeout=1200"/>
<!--系统名称--> <!--系统名称-->
<add key="SystemName" value="智慧施工管理信息系统V1.0" /> <add key="SystemName" value="智慧施工管理信息系统V1.0"/>
<add key="ChartImageHandler" value="storage=file;timeout=20;url=~/Images/;" /> <add key="ChartImageHandler" value="storage=file;timeout=20;url=~/Images/;"/>
<add key="aspnet:MaxHttpCollectionKeys" value="50000" /> <add key="aspnet:MaxHttpCollectionKeys" value="50000"/>
<add key="SGGLUrl" value="http://localhost:8579/" /> <add key="SGGLUrl" value="http://localhost:8579/"/>
<add key="SystemVersion" value="SGGLPackFile_V2021-02-01-001" /> <add key="SystemVersion" value="SGGLPackFile_V2021-02-01-001"/>
<!--启用与集团实名制 True启用 False 不启用--> <!--启用与集团实名制 True启用 False 不启用-->
<add key="EnableRealName" value="False" /> <add key="EnableRealName" value="False"/>
<add key="RealNameApiUrl" value="https://lwsm.cncecoa.com/share-labour1" /> <add key="RealNameApiUrl" value="https://lwsm.cncecoa.com/share-labour1"/>
<add key="ControlApiUrl" value="http://webwh02.cwcec.com:9123/api/services/app" /> <add key="ControlApiUrl" value="http://webwh02.cwcec.com:9123/api/services/app"/>
<add key="Intervaltime" value="20" /> <add key="Intervaltime" value="20"/>
<!--<add key="RealNameClientId" value="1338326379741057025"/> <!--<add key="RealNameClientId" value="1338326379741057025"/>
<add key="RealNameUserName" value="zgwhgcyxgs@CNCEC"/> <add key="RealNameUserName" value="zgwhgcyxgs@CNCEC"/>
<add key="RealNamePassWord" value="0nkbqy9n0"/>--> <add key="RealNamePassWord" value="0nkbqy9n0"/>-->
<!--附件上传物理路径--> <!--附件上传物理路径-->
<add key="localRoot" value="D:\CWCEC\SGGL_CWCEC\SGGL\FineUIPro.Web\" /> <add key="localRoot" value="D:\CWCEC\SGGL_CWCEC\SGGL\FineUIPro.Web\"/>
<!--视频服务器--> <!--视频服务器-->
<add key="Video_URL" value="http://camera.cwcec.com:10000/" /> <add key="Video_URL" value="http://camera.cwcec.com:10000/"/>
<!--BAIDU AI配置--> <!--BAIDU AI配置-->
<add key="APP_ID" value="23518716" /> <add key="APP_ID" value="23518716"/>
<add key="API_KEY" value="9UGmBxS0TOIDGM5adGrOcBnr" /> <add key="API_KEY" value="9UGmBxS0TOIDGM5adGrOcBnr"/>
<add key="SECRET_KEY" value="6yq7q5PTTGfocWDmSN7hjxuiixsfURe1" /> <add key="SECRET_KEY" value="6yq7q5PTTGfocWDmSN7hjxuiixsfURe1"/>
<!--人脸检测参数--> <!--人脸检测参数-->
<!--人脸活体检测参数1最好0最差 建议0.995 --> <!--人脸活体检测参数1最好0最差 建议0.995 -->
<add key="BD_face_liveness" value="0.3" /> <add key="BD_face_liveness" value="0.3"/>
<!--人脸高宽建议100-200--> <!--人脸高宽建议100-200-->
<!--<add key="BD_width" value="200" />--> <!--<add key="BD_width" value="200" />-->
<!--<add key="BD_height" value="200" />--> <!--<add key="BD_height" value="200" />-->
<!--人脸角度--> <!--人脸角度-->
<add key="BD_roll" value="40" /> <add key="BD_roll" value="40"/>
<!--人脸遮档度0最好1最不好--> <!--人脸遮档度0最好1最不好-->
<add key="BD_occlusion" value="1" /> <add key="BD_occlusion" value="1"/>
<!--人脸模糊度0最好1最不好--> <!--人脸模糊度0最好1最不好-->
<add key="BD_blur" value="0.1" /> <add key="BD_blur" value="0.1"/>
<add key="CEMS_IMG_URL" value="http://localhost/SGGL/" /> <add key="CEMS_IMG_URL" value="http://localhost/SGGL/"/>
<!--跳转小程序类型developer为开发版trial为体验版formal为正式版默认为正式版--> <!--跳转小程序类型developer为开发版trial为体验版formal为正式版默认为正式版-->
<add key="miniprogram_state" value="developer" /> <add key="miniprogram_state" value="developer"/>
</appSettings> </appSettings>
<!-- <!--
有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。 有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。
@ -61,116 +61,116 @@
--> -->
<system.web> <system.web>
<!-- 会话状态设置 默认情况下ASP.NET 使用 Cookie 来标识哪些请求属于特定的会话。如果 Cookie 不可用,则可以通过将会话标识符添加到 URL 来跟踪会话。若要禁用 Cookie请设置 sessionState cookieless="true" --> <!-- 会话状态设置 默认情况下ASP.NET 使用 Cookie 来标识哪些请求属于特定的会话。如果 Cookie 不可用,则可以通过将会话标识符添加到 URL 来跟踪会话。若要禁用 Cookie请设置 sessionState cookieless="true" -->
<sessionState mode="InProc" cookieless="UseCookies" timeout="1200" /> <sessionState mode="InProc" cookieless="UseCookies" timeout="1200"/>
<pages controlRenderingCompatibilityVersion="4.0" clientIDMode="AutoID"> <pages controlRenderingCompatibilityVersion="4.0" clientIDMode="AutoID">
<controls> <controls>
<add assembly="FineUIPro" namespace="FineUIPro" tagPrefix="f" /> <add assembly="FineUIPro" namespace="FineUIPro" tagPrefix="f"/>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</controls> </controls>
</pages> </pages>
<httpModules> <httpModules>
<add name="FineUIProScriptModule" type="FineUIPro.ScriptModule, FineUIPro" /> <add name="FineUIProScriptModule" type="FineUIPro.ScriptModule, FineUIPro"/>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</httpModules> </httpModules>
<httpHandlers> <httpHandlers>
<add verb="GET" path="res.axd" type="FineUIPro.ResourceHandler, FineUIPro" validate="false" /> <add verb="GET" path="res.axd" type="FineUIPro.ResourceHandler, FineUIPro" validate="false"/>
<add path="ChartImg.axd" verb="GET,POST,HEAD" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" /> <add path="ChartImg.axd" verb="GET,POST,HEAD" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
</httpHandlers> </httpHandlers>
<compilation debug="false" targetFramework="4.6.1"/> <compilation debug="true" targetFramework="4.6.1"/>
<httpRuntime requestValidationMode="2.0" maxRequestLength="2147483647" executionTimeout="36000"/> <httpRuntime requestValidationMode="2.0" maxRequestLength="2147483647" executionTimeout="36000"/>
<authentication mode="Forms"> <authentication mode="Forms">
<forms loginUrl="Login.aspx" name="PUBLISHERCOOKIE" protection="All" timeout="1440" path="/" /> <forms loginUrl="Login.aspx" name="PUBLISHERCOOKIE" protection="All" timeout="1440" path="/"/>
</authentication> </authentication>
<membership> <membership>
<providers> <providers>
<clear /> <clear/>
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" /> <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/"/>
</providers> </providers>
</membership> </membership>
<profile> <profile>
<providers> <providers>
<clear /> <clear/>
<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/" /> <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/>
</providers> </providers>
</profile> </profile>
<roleManager enabled="false"> <roleManager enabled="false">
<providers> <providers>
<clear /> <clear/>
<add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/" /> <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/"/>
<add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" /> <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/"/>
</providers> </providers>
</roleManager> </roleManager>
<customErrors mode="RemoteOnly" defaultRedirect="LogOff.aspx" /> <customErrors mode="RemoteOnly" defaultRedirect="LogOff.aspx"/>
</system.web> </system.web>
<location path="res.axd" /> <location path="res.axd"/>
<system.webServer> <system.webServer>
<staticContent> <staticContent>
<mimeMap fileExtension=".dat" mimeType="application/ChinaExcel Report File" /> <mimeMap fileExtension=".dat" mimeType="application/ChinaExcel Report File"/>
<mimeMap fileExtension=".tab" mimeType="application/ChinaExcel Report File" /> <mimeMap fileExtension=".tab" mimeType="application/ChinaExcel Report File"/>
</staticContent> </staticContent>
<validation validateIntegratedModeConfiguration="false" /> <validation validateIntegratedModeConfiguration="false"/>
<modules runAllManagedModulesForAllRequests="true"> <modules runAllManagedModulesForAllRequests="true">
<add name="FineUIProScriptModule" type="FineUIPro.ScriptModule, FineUIPro" /> <add name="FineUIProScriptModule" type="FineUIPro.ScriptModule, FineUIPro"/>
<remove name="ScriptModule" /> <remove name="ScriptModule"/>
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</modules> </modules>
<handlers> <handlers>
<remove name="ChartImageHandler" /> <remove name="ChartImageHandler"/>
<add name="FineUIProResourceHandler" verb="GET" path="res.axd" type="FineUIPro.ResourceHandler, FineUIPro" /> <add name="FineUIProResourceHandler" verb="GET" path="res.axd" type="FineUIPro.ResourceHandler, FineUIPro"/>
<add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> <add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</handlers> </handlers>
<defaultDocument> <defaultDocument>
<files> <files>
<add value="Login.aspx" /> <add value="Login.aspx"/>
</files> </files>
</defaultDocument> </defaultDocument>
<security> <security>
<requestFiltering> <requestFiltering>
<requestLimits maxAllowedContentLength="500000000" /> <requestLimits maxAllowedContentLength="500000000"/>
</requestFiltering> </requestFiltering>
</security> </security>
</system.webServer> </system.webServer>
<!-- SERVER --> <!-- SERVER -->
<system.serviceModel> <system.serviceModel>
<client> <client>
<endpoint address="http://localhost/CNCECHSSE/HSSEService.svc" binding="wsHttpBinding" bindingConfiguration="HSSEServiceEndpoint" contract="CNCECHSSEService.HSSEService" name="HSSEServiceEndpoint" /> <endpoint address="http://localhost/CNCECHSSE/HSSEService.svc" binding="wsHttpBinding" bindingConfiguration="HSSEServiceEndpoint" contract="CNCECHSSEService.HSSEService" name="HSSEServiceEndpoint"/>
<endpoint address="https://mat.cwcec.com/LocWebServices/WebService1.asmx" binding="basicHttpBinding" bindingConfiguration="WebService1Soap" contract="MCSService.WebService1Soap" name="WebService1Soap" /> <endpoint address="https://mat.cwcec.com/LocWebServices/WebService1.asmx" binding="basicHttpBinding" bindingConfiguration="WebService1Soap" contract="MCSService.WebService1Soap" name="WebService1Soap"/>
</client> </client>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" /> <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true"/>
<services> <services>
<service name="BLL.OpenService.HSSEService" behaviorConfiguration="BLL.HSSEServiceBehavior"> <service name="BLL.OpenService.HSSEService" behaviorConfiguration="BLL.HSSEServiceBehavior">
<endpoint address="" binding="wsHttpBinding" bindingConfiguration="BLL.HSSEServiceBinding" name="BLL.HSSEServiceEndpoint" contract="BLL.OpenService.IHSSEService" /> <endpoint address="" binding="wsHttpBinding" bindingConfiguration="BLL.HSSEServiceBinding" name="BLL.HSSEServiceEndpoint" contract="BLL.OpenService.IHSSEService"/>
</service> </service>
</services> </services>
<behaviors> <behaviors>
<serviceBehaviors> <serviceBehaviors>
<behavior name="BLL.HSSEServiceBehavior"> <behavior name="BLL.HSSEServiceBehavior">
<serviceMetadata httpGetEnabled="true" /> <serviceMetadata httpGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="false" /> <serviceDebug includeExceptionDetailInFaults="false"/>
<dataContractSerializer maxItemsInObjectGraph="2147483647" /> <dataContractSerializer maxItemsInObjectGraph="2147483647"/>
<serviceThrottling maxConcurrentCalls="2147483647" maxConcurrentInstances="2147483647" maxConcurrentSessions="2147483647" /> <serviceThrottling maxConcurrentCalls="2147483647" maxConcurrentInstances="2147483647" maxConcurrentSessions="2147483647"/>
</behavior> </behavior>
</serviceBehaviors> </serviceBehaviors>
</behaviors> </behaviors>
<bindings> <bindings>
<basicHttpBinding> <basicHttpBinding>
<binding name="WebService1Soap" maxBufferPoolSize="5242880000" maxReceivedMessageSize="2147483647"> <binding name="WebService1Soap" maxBufferPoolSize="5242880000" maxReceivedMessageSize="2147483647">
<security mode="Transport" /> <security mode="Transport"/>
</binding> </binding>
</basicHttpBinding> </basicHttpBinding>
<wsHttpBinding> <wsHttpBinding>
<binding name="BLL.HSSEServiceBinding" closeTimeout="00:05:00" openTimeout="00:05:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="5242880000" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false"> <binding name="BLL.HSSEServiceBinding" closeTimeout="00:05:00" openTimeout="00:05:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="5242880000" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
<readerQuotas maxDepth="32" maxStringContentLength="8192000" maxArrayLength="16384000" maxBytesPerRead="4096000" maxNameTableCharCount="16384000" /> <readerQuotas maxDepth="32" maxStringContentLength="8192000" maxArrayLength="16384000" maxBytesPerRead="4096000" maxNameTableCharCount="16384000"/>
<security mode="Transport"> <security mode="Transport">
<transport clientCredentialType="Windows" proxyCredentialType="None" /> <transport clientCredentialType="Windows" proxyCredentialType="None"/>
<message clientCredentialType="None" establishSecurityContext="false" negotiateServiceCredential="false" /> <message clientCredentialType="None" establishSecurityContext="false" negotiateServiceCredential="false"/>
</security> </security>
</binding> </binding>
<binding name="HSSEServiceEndpoint" maxBufferPoolSize="5242880000" maxReceivedMessageSize="2147483647"> <binding name="HSSEServiceEndpoint" maxBufferPoolSize="5242880000" maxReceivedMessageSize="2147483647">
<security mode="Transport"> <security mode="Transport">
<transport clientCredentialType="Windows" proxyCredentialType="None" /> <transport clientCredentialType="Windows" proxyCredentialType="None"/>
<message clientCredentialType="None" establishSecurityContext="false" negotiateServiceCredential="false" /> <message clientCredentialType="None" establishSecurityContext="false" negotiateServiceCredential="false"/>
</security> </security>
</binding> </binding>
</wsHttpBinding> </wsHttpBinding>
@ -179,20 +179,20 @@
<runtime> <runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly> <dependentAssembly>
<assemblyIdentity name="Apache.NMS" publicKeyToken="82756feee3957618" culture="neutral" /> <assemblyIdentity name="Apache.NMS" publicKeyToken="82756feee3957618" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-1.8.0.0" newVersion="1.8.0.0" /> <bindingRedirect oldVersion="0.0.0.0-1.8.0.0" newVersion="1.8.0.0"/>
</dependentAssembly> </dependentAssembly>
<dependentAssembly> <dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" /> <bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0"/>
</dependentAssembly> </dependentAssembly>
<dependentAssembly> <dependentAssembly>
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> <assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.0.1.1" newVersion="4.0.1.1" /> <bindingRedirect oldVersion="0.0.0.0-4.0.1.1" newVersion="4.0.1.1"/>
</dependentAssembly> </dependentAssembly>
<dependentAssembly> <dependentAssembly>
<assemblyIdentity name="System.Configuration.ConfigurationManager" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> <assemblyIdentity name="System.Configuration.ConfigurationManager" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-6.0.0.1" newVersion="6.0.0.1" /> <bindingRedirect oldVersion="0.0.0.0-6.0.0.1" newVersion="6.0.0.1"/>
</dependentAssembly> </dependentAssembly>
</assemblyBinding> </assemblyBinding>
</runtime> </runtime>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.5 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup> <PropertyGroup>
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig> <LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
<UseIISExpress>true</UseIISExpress> <UseIISExpress>true</UseIISExpress>
<Use64BitIISExpress /> <Use64BitIISExpress />
<IISExpressSSLPort /> <IISExpressSSLPort />