20230921新增安全巡检新增分部分项选择、质量巡检新增分部分项选择

This commit is contained in:
2023-09-21 17:34:59 +08:00
parent 017edfa146
commit 9fb8e5e030
35 changed files with 1076 additions and 466 deletions
@@ -51,12 +51,9 @@ namespace FineUIPro.Web.CQMS.Check
Funs.FineUIPleaseSelect(this.dpHandelStatus);
btnNew.OnClientClick = Window1.GetShowReference("ChecklistEdit.aspx") + "return false;";
ddlPageSize.SelectedValue = Grid1.PageSize.ToString();
// 绑定表格
BindGrid();
}
@@ -99,7 +96,8 @@ namespace FineUIPro.Web.CQMS.Check
}
protected DataTable ChecklistData()
{
string strSql = @"SELECT chec.CheckControlCode,chec.CheckSite,chec.ProjectId,chec.unitId,cNProfessional.ProfessionalName,"
string strSql = @"SELECT chec.CheckControlCode,(case when chec.WorkPackageName is null then chec.CheckSite else chec.WorkPackageName end) as CheckSite
,chec.ProjectId,chec.unitId,cNProfessional.ProfessionalName,"
+ @" QualityQuestionType.QualityQuestionType as QuestionType,"
+ @" chec.checkman,chec.CheckDate,chec.DocCode,chec.submitman,chec.state,chec.CNProfessionalCode,"
+ @" unit.UnitName,unitWork.UnitWorkName+(case unitWork.ProjectType when '1' then '(建筑)' else '(安装)' end) as UnitWorkName,u.PersonName "
@@ -39,9 +39,8 @@
BodyPadding="10px" EnableCollapse="true" ShowHeader="true" AutoScroll="true"
runat="server">
<f:Form ID="Form2" ShowBorder="false" ShowHeader="false" AutoScroll="true"
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" LabelWidth="110px">
<Rows>
<f:FormRow>
<Items>
<f:TextBox ID="txtProjectName" runat="server" Readonly="true" Label="项目名称" LabelAlign="Right"
@@ -69,12 +68,16 @@
<f:TextBox ID="drpQuestionType" runat="server" Readonly="true" Label="问题类别" LabelAlign="Right"
MaxLength="50">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow >
<Items>
<f:Label runat="server" ID="txtWorkPackageId" Label="分部分项工程" ShowRedStar="true"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtCheckSite" Readonly="true" ShowRedStar="true" runat="server" Label="部位" Required="true" LabelAlign="Right"
<f:TextBox ID="txtCheckSite" Readonly="true" runat="server" Label="部位" LabelAlign="Right"
MaxLength="50">
</f:TextBox>
<f:TextBox ID="txtCheckDate" Readonly="true" ShowRedStar="true" runat="server" Label="巡检时间" Required="true" LabelAlign="Right"
@@ -102,6 +102,7 @@ namespace FineUIPro.Web.CQMS.Check
gvApprove.DataSource = dt;
gvApprove.DataBind();
Model.Check_CheckControl checkControl = CheckControlService.GetCheckControl(CheckControlCode);
this.txtWorkPackageId.Text = checkControl.WorkPackageName;
txtDocCode.Text = checkControl.DocCode;
if (!string.IsNullOrEmpty(checkControl.UnitId))
{
+48 -37
View File
@@ -7,11 +7,13 @@
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.CQMS.Check {
public partial class CheckListView {
namespace FineUIPro.Web.CQMS.Check
{
public partial class CheckListView
{
/// <summary>
/// form1 控件。
/// </summary>
@@ -20,7 +22,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// PageManager1 控件。
/// </summary>
@@ -29,7 +31,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.PageManager PageManager1;
/// <summary>
/// SimpleForm1 控件。
/// </summary>
@@ -38,7 +40,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form SimpleForm1;
/// <summary>
/// ContentPanel2 控件。
/// </summary>
@@ -47,7 +49,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ContentPanel ContentPanel2;
/// <summary>
/// Form2 控件。
/// </summary>
@@ -56,7 +58,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form Form2;
/// <summary>
/// txtProjectName 控件。
/// </summary>
@@ -65,7 +67,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtProjectName;
/// <summary>
/// txtDocCode 控件。
/// </summary>
@@ -74,7 +76,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtDocCode;
/// <summary>
/// drpUnit 控件。
/// </summary>
@@ -83,7 +85,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox drpUnit;
/// <summary>
/// drpUnitWork 控件。
/// </summary>
@@ -92,7 +94,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox drpUnitWork;
/// <summary>
/// drpCNProfessional 控件。
/// </summary>
@@ -101,7 +103,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox drpCNProfessional;
/// <summary>
/// drpQuestionType 控件。
/// </summary>
@@ -110,7 +112,16 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox drpQuestionType;
/// <summary>
/// txtWorkPackageId 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtWorkPackageId;
/// <summary>
/// txtCheckSite 控件。
/// </summary>
@@ -119,7 +130,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtCheckSite;
/// <summary>
/// txtCheckDate 控件。
/// </summary>
@@ -128,7 +139,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtCheckDate;
/// <summary>
/// drpProposeUnit 控件。
/// </summary>
@@ -137,7 +148,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox drpProposeUnit;
/// <summary>
/// txtLimitDate 控件。
/// </summary>
@@ -146,7 +157,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtLimitDate;
/// <summary>
/// txtQuestionDef 控件。
/// </summary>
@@ -155,7 +166,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtQuestionDef;
/// <summary>
/// txtRectifyOpinion 控件。
/// </summary>
@@ -164,7 +175,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtRectifyOpinion;
/// <summary>
/// Panel1 控件。
/// </summary>
@@ -173,7 +184,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel Panel1;
/// <summary>
/// imgBtnFile 控件。
/// </summary>
@@ -182,7 +193,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button imgBtnFile;
/// <summary>
/// ContentPanel3 控件。
/// </summary>
@@ -191,7 +202,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ContentPanel ContentPanel3;
/// <summary>
/// For 控件。
/// </summary>
@@ -200,7 +211,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form For;
/// <summary>
/// txtHandleWay 控件。
/// </summary>
@@ -209,7 +220,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtHandleWay;
/// <summary>
/// txtRectifyDate 控件。
/// </summary>
@@ -218,7 +229,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker txtRectifyDate;
/// <summary>
/// Panel2 控件。
/// </summary>
@@ -227,7 +238,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel Panel2;
/// <summary>
/// lblAttach 控件。
/// </summary>
@@ -236,7 +247,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label lblAttach;
/// <summary>
/// btnAttach 控件。
/// </summary>
@@ -245,7 +256,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnAttach;
/// <summary>
/// plApprove 控件。
/// </summary>
@@ -254,7 +265,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.FormRow plApprove;
/// <summary>
/// gvApprove 控件。
/// </summary>
@@ -263,7 +274,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Grid gvApprove;
/// <summary>
/// lbtype 控件。
/// </summary>
@@ -272,7 +283,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Label lbtype;
/// <summary>
/// Window1 控件。
/// </summary>
@@ -281,7 +292,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Window Window1;
/// <summary>
/// WindowAtt 控件。
/// </summary>
@@ -290,7 +301,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Window WindowAtt;
/// <summary>
/// Menu1 控件。
/// </summary>
@@ -299,7 +310,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Menu Menu1;
/// <summary>
/// btnMenuEdit 控件。
/// </summary>
@@ -4,7 +4,7 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>质量巡检</title>
<title>质量巡检</title>
<link href="../../res/css/common.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.labcenter {
@@ -39,13 +39,11 @@
BodyPadding="10px" EnableCollapse="true" ShowHeader="true" AutoScroll="true"
runat="server">
<f:Form ID="Form2" ShowBorder="false" ShowHeader="false" AutoScroll="true"
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" LabelWidth="110px">
<Rows>
<f:FormRow>
<Items>
<f:TextBox ID="txtProjectName" runat="server" Readonly="true" Label="项目名称" LabelAlign="Right"
>
<f:TextBox ID="txtProjectName" runat="server" Readonly="true" Label="项目名称" LabelAlign="Right">
</f:TextBox>
<f:TextBox ID="txtDocCode" runat="server" Required="true" ShowRedStar="true" Label="编号" LabelAlign="Right"
MaxLength="50">
@@ -54,7 +52,7 @@
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="drpUnit" OnSelectedIndexChanged="drpUnit_SelectedIndexChanged" AutoPostBack="true" ShowRedStar="true" runat="server" Required="true" Label="施工单位" LabelAlign="Right" EmptyText="--请选择--" AutoSelectFirstItem="false" EnableEdit="true">
<f:DropDownList ID="drpUnit" OnSelectedIndexChanged="drpUnit_SelectedIndexChanged" AutoPostBack="true" ShowRedStar="true" runat="server" Required="true" Label="施工单位" LabelAlign="Right" EmptyText="--请选择--" AutoSelectFirstItem="false" EnableEdit="true">
</f:DropDownList>
<f:DropDownList ID="drpUnitWork" ShowRedStar="true" runat="server" Required="true" EmptyText="--请选择--" AutoSelectFirstItem="false" Label="单位工程" LabelAlign="Right" EnableEdit="true">
</f:DropDownList>
@@ -68,13 +66,21 @@
</f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="90% 10%">
<Items>
<f:Label runat="server" ID="txtWorkPackageId" Label="分部分项工程" ShowRedStar="true"></f:Label>
<f:TextBox runat="server" ID="hdWorkPackageId" Hidden="true"></f:TextBox>
<f:Button ID="btSearch" ToolTip="选择" Icon="SystemSearch" runat="server" OnClick="btSearch_Click">
</f:Button>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtCheckSite" ShowRedStar="true" runat="server" Label="部位" Required="true" LabelAlign="Right"
<f:TextBox ID="txtCheckSite" runat="server" Label="部位" LabelAlign="Right"
MaxLength="50">
</f:TextBox>
<f:DatePicker ID="txtCheckDate" ShowRedStar="true" runat="server" Label="巡检时间" Required="true" LabelAlign="Right"
EnableEdit="true">
EnableEdit="false">
</f:DatePicker>
</Items>
</f:FormRow>
@@ -82,8 +88,8 @@
<Items>
<f:DropDownList ID="drpProposeUnit" ShowRedStar="true" Required="true" EmptyText="--请选择--" AutoSelectFirstItem="false" runat="server" Label="提出单位" LabelAlign="Right" EnableEdit="true">
</f:DropDownList>
<f:DatePicker ID="txtLimitDate" ShowRedStar="true" Required="true" runat="server" Label="整改时间" LabelAlign="Right"
EnableEdit="true">
<f:DatePicker ID="txtLimitDate" ShowRedStar="true" Required="true" runat="server" Label="整改时间" LabelAlign="Right"
EnableEdit="false">
</f:DatePicker>
</Items>
</f:FormRow>
@@ -91,7 +97,6 @@
<Items>
<f:TextArea ID="txtQuestionDef" ShowRedStar="true" Required="true" runat="server" Label="问题描述" MaxLength="3000">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow>
@@ -100,9 +105,9 @@
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow >
<f:FormRow>
<Items>
<f:Panel ID="Panel1" ShowHeader="false" ShowBorder="false" Layout="Column" runat="server">
<f:Panel ID="Panel1" ShowHeader="false" ShowBorder="false" Layout="Column" runat="server">
<Items>
<f:Label runat="server" Text="问题图片:" CssStyle="padding-left:25px" Width="110px" CssClass="marginr" ShowLabel="false"></f:Label>
<f:Button ID="imgBtnFile" Text="问题图片" ToolTip="上传及查看" Icon="TableCell" runat="server"
@@ -110,7 +115,7 @@
</f:Button>
</Items>
</f:Panel>
</Items>
</f:FormRow>
</Rows>
@@ -120,7 +125,6 @@
</f:FormRow>
<f:FormRow>
<Items>
<f:ContentPanel ID="ContentPanel3" Title="分包填写内容" ShowBorder="true"
BodyPadding="10px" EnableCollapse="true" ShowHeader="true" AutoScroll="true"
runat="server">
@@ -137,9 +141,9 @@
<f:FormRow>
<Items>
<f:DatePicker ID="txtRectifyDate" ShowRedStar="true" Required="true" runat="server" Label="整改时间" LabelAlign="Right"
EnableEdit="true">
EnableEdit="false">
</f:DatePicker>
<f:Label runat="server" Hidden="true"></f:Label>
<f:Label runat="server" Hidden="true"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>
@@ -149,8 +153,8 @@
<f:Label ID="lblAttach" CssStyle="padding-left:23px" Width="100px" runat="server" CssClass="marginr" ShowLabel="false"
Text="整改图片:">
</f:Label>
<f:Button ID="btnAttach" Text="整改图片" ToolTip="上传及查看" Icon="TableCell" runat="server" OnClick="btnAttach_Click">
</f:Button>
<f:Button ID="btnAttach" Text="整改图片" ToolTip="上传及查看" Icon="TableCell" runat="server" OnClick="btnAttach_Click">
</f:Button>
</Items>
</f:Panel>
@@ -186,10 +190,10 @@
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="drpHandleType" OnSelectedIndexChanged="drpHandleType_SelectedIndexChanged"
AutoPostBack="true" runat="server" Label="办理步骤" LabelAlign="Right" EnableEdit="true">
<f:DropDownList ID="drpHandleType" OnSelectedIndexChanged="drpHandleType_SelectedIndexChanged"
AutoPostBack="true" runat="server" Label="办理步骤" LabelAlign="Right" EnableEdit="true">
</f:DropDownList>
<f:DropDownList ID="drpHandleMan" runat="server" Label="办理人员" Required="true" LabelAlign="Right" EnableEdit="true">
<f:DropDownList ID="drpHandleMan" runat="server" Label="办理人员" Required="true" LabelAlign="Right" EnableEdit="true">
</f:DropDownList>
</Items>
</f:FormRow>
@@ -201,12 +205,12 @@
<f:FormRow ID="plApprove1">
<Items>
<f:TextArea ID="txtOpinions" runat="server" Label="我的意见" MaxLength="3000">
</f:TextArea>
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow ID="plApprove2">
<Items>
<f:ContentPanel Title="质量巡检审批列表" ShowBorder="true"
BodyPadding="10px" EnableCollapse="true" ShowHeader="true" AutoScroll="true"
runat="server">
@@ -236,7 +240,7 @@
<f:HiddenField ID="hdCheckControlCode" runat="server"></f:HiddenField>
<f:ToolbarFill ID="ToolbarFill1" runat="server">
</f:ToolbarFill>
<f:Button ID="btnSave" OnClick="btnSave_Click" Icon="SystemSave" runat="server" ToolTip="保存" >
<f:Button ID="btnSave" OnClick="btnSave_Click" Icon="SystemSave" runat="server" ToolTip="保存">
</f:Button>
<f:Button ID="btnSubmit" OnClick="btnSubmit_Click" Icon="SystemSaveNew" runat="server" ToolTip="提交" ValidateForms="SimpleForm1">
</f:Button>
@@ -257,6 +261,10 @@
<f:Window ID="WindowAtt" Title="弹出窗体" Hidden="true" EnableIFrame="true" EnableMaximize="true"
Target="Parent" EnableResize="false" OnClose="WindowAtt_Close" runat="server" IsModal="true" Width="700px"
Height="500px">
</f:Window>
<f:Window ID="Window2" Title="WBS" Hidden="true" EnableIFrame="true" EnableMaximize="true"
Target="Parent" EnableResize="false" runat="server" IsModal="true" OnClose="Window2_Close"
Width="800px" Height="650px">
</f:Window>
<f:Menu ID="Menu1" runat="server">
<f:MenuButton ID="btnMenuEdit" EnablePostBack="true"
@@ -266,6 +274,7 @@
Icon="Delete" ConfirmText="确定删除当前数据?" ConfirmTarget="Parent" runat="server" Text="删除">
</f:MenuButton>
</f:Menu>
</form>
<script>
var menuID = '<%= Menu1.ClientID %>';
@@ -1,6 +1,7 @@
using BLL;
using System;
using System.Collections.Generic;
using System.Linq;
namespace FineUIPro.Web.CQMS.Check
{
@@ -140,6 +141,10 @@ namespace FineUIPro.Web.CQMS.Check
gvApprove.DataSource = dt;
gvApprove.DataBind();
Model.Check_CheckControl checkControl = CheckControlService.GetCheckControl(CheckControlCode);
this.hdWorkPackageId.Text = checkControl.WorkPackageId;
this.txtWorkPackageId.Text = checkControl.WorkPackageName;
txtDocCode.Text = checkControl.DocCode;
if (!string.IsNullOrEmpty(checkControl.UnitId))
{
@@ -372,6 +377,9 @@ namespace FineUIPro.Web.CQMS.Check
Model.Check_CheckControl checkControl = new Model.Check_CheckControl();
checkControl.DocCode = this.txtDocCode.Text.Trim();
checkControl.ProjectId = this.CurrUser.LoginProjectId;
checkControl.WorkPackageId = this.hdWorkPackageId.Text;
checkControl.WorkPackageName = this.txtWorkPackageId.Text;
if (this.drpUnit.SelectedValue != Const._Null)
{
checkControl.UnitId = this.drpUnit.SelectedValue;
@@ -712,5 +720,31 @@ namespace FineUIPro.Web.CQMS.Check
HandleMan();
}
}
/// <summary>
/// 分部分项选择
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btSearch_Click(object sender, EventArgs e)
{
PageContext.RegisterStartupScript(Window2.GetSaveStateReference(hdWorkPackageId.ClientID)
+ Window2.GetShowReference(String.Format("~/DigData/ShowProjectWBS.aspx?levle={0}", 3, "选择WBS - ")));
}
/// <summary>
/// 分部分项返回值
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Window2_Close(object sender, WindowCloseEventArgs e)
{
var getReturnValues = Funs.GetStrListByStr(this.hdWorkPackageId.Text, '&');
if (getReturnValues.Count() > 1)
{
this.hdWorkPackageId.Text = getReturnValues[0].ToString();
this.txtWorkPackageId.Text = getReturnValues[1].ToString();
}
}
}
}
+90 -52
View File
@@ -7,11 +7,13 @@
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.CQMS.Check {
public partial class ChecklistEdit {
namespace FineUIPro.Web.CQMS.Check
{
public partial class ChecklistEdit
{
/// <summary>
/// form1 控件。
/// </summary>
@@ -20,7 +22,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// PageManager1 控件。
/// </summary>
@@ -29,7 +31,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.PageManager PageManager1;
/// <summary>
/// SimpleForm1 控件。
/// </summary>
@@ -38,7 +40,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form SimpleForm1;
/// <summary>
/// ContentPanel2 控件。
/// </summary>
@@ -47,7 +49,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ContentPanel ContentPanel2;
/// <summary>
/// Form2 控件。
/// </summary>
@@ -56,7 +58,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form Form2;
/// <summary>
/// txtProjectName 控件。
/// </summary>
@@ -65,7 +67,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtProjectName;
/// <summary>
/// txtDocCode 控件。
/// </summary>
@@ -74,7 +76,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtDocCode;
/// <summary>
/// drpUnit 控件。
/// </summary>
@@ -83,7 +85,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpUnit;
/// <summary>
/// drpUnitWork 控件。
/// </summary>
@@ -92,7 +94,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpUnitWork;
/// <summary>
/// drpCNProfessional 控件。
/// </summary>
@@ -101,7 +103,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpCNProfessional;
/// <summary>
/// drpQuestionType 控件。
/// </summary>
@@ -110,7 +112,34 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpQuestionType;
/// <summary>
/// txtWorkPackageId 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label txtWorkPackageId;
/// <summary>
/// hdWorkPackageId 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox hdWorkPackageId;
/// <summary>
/// btSearch 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btSearch;
/// <summary>
/// txtCheckSite 控件。
/// </summary>
@@ -119,7 +148,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtCheckSite;
/// <summary>
/// txtCheckDate 控件。
/// </summary>
@@ -128,7 +157,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker txtCheckDate;
/// <summary>
/// drpProposeUnit 控件。
/// </summary>
@@ -137,7 +166,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpProposeUnit;
/// <summary>
/// txtLimitDate 控件。
/// </summary>
@@ -146,7 +175,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker txtLimitDate;
/// <summary>
/// txtQuestionDef 控件。
/// </summary>
@@ -155,7 +184,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtQuestionDef;
/// <summary>
/// txtRectifyOpinion 控件。
/// </summary>
@@ -164,7 +193,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtRectifyOpinion;
/// <summary>
/// Panel1 控件。
/// </summary>
@@ -173,7 +202,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel Panel1;
/// <summary>
/// imgBtnFile 控件。
/// </summary>
@@ -182,7 +211,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button imgBtnFile;
/// <summary>
/// ContentPanel3 控件。
/// </summary>
@@ -191,7 +220,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ContentPanel ContentPanel3;
/// <summary>
/// For 控件。
/// </summary>
@@ -200,7 +229,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form For;
/// <summary>
/// txtHandleWay 控件。
/// </summary>
@@ -209,7 +238,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtHandleWay;
/// <summary>
/// txtRectifyDate 控件。
/// </summary>
@@ -218,7 +247,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker txtRectifyDate;
/// <summary>
/// Panel2 控件。
/// </summary>
@@ -227,7 +256,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel Panel2;
/// <summary>
/// lblAttach 控件。
/// </summary>
@@ -236,7 +265,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label lblAttach;
/// <summary>
/// btnAttach 控件。
/// </summary>
@@ -245,7 +274,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnAttach;
/// <summary>
/// ContentPanel5 控件。
/// </summary>
@@ -254,7 +283,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ContentPanel ContentPanel5;
/// <summary>
/// Form5 控件。
/// </summary>
@@ -263,7 +292,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form Form5;
/// <summary>
/// rblIsAgree 控件。
/// </summary>
@@ -272,7 +301,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.RadioButtonList rblIsAgree;
/// <summary>
/// drpHandleType 控件。
/// </summary>
@@ -281,7 +310,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpHandleType;
/// <summary>
/// drpHandleMan 控件。
/// </summary>
@@ -290,7 +319,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpHandleMan;
/// <summary>
/// plApprove1 控件。
/// </summary>
@@ -299,7 +328,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.FormRow plApprove1;
/// <summary>
/// txtOpinions 控件。
/// </summary>
@@ -308,7 +337,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtOpinions;
/// <summary>
/// plApprove2 控件。
/// </summary>
@@ -317,7 +346,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.FormRow plApprove2;
/// <summary>
/// gvApprove 控件。
/// </summary>
@@ -326,7 +355,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Grid gvApprove;
/// <summary>
/// lbtype 控件。
/// </summary>
@@ -335,7 +364,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Label lbtype;
/// <summary>
/// Toolbar1 控件。
/// </summary>
@@ -344,7 +373,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar1;
/// <summary>
/// hdCheckControlCode 控件。
/// </summary>
@@ -353,7 +382,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HiddenField hdCheckControlCode;
/// <summary>
/// ToolbarFill1 控件。
/// </summary>
@@ -362,7 +391,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ToolbarFill ToolbarFill1;
/// <summary>
/// btnSave 控件。
/// </summary>
@@ -371,7 +400,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnSave;
/// <summary>
/// btnSubmit 控件。
/// </summary>
@@ -380,7 +409,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnSubmit;
/// <summary>
/// hdId 控件。
/// </summary>
@@ -389,7 +418,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HiddenField hdId;
/// <summary>
/// hdAttachUrl 控件。
/// </summary>
@@ -398,7 +427,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HiddenField hdAttachUrl;
/// <summary>
/// Window1 控件。
/// </summary>
@@ -407,7 +436,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Window Window1;
/// <summary>
/// WindowAtt 控件。
/// </summary>
@@ -416,7 +445,16 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Window WindowAtt;
/// <summary>
/// Window2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Window Window2;
/// <summary>
/// Menu1 控件。
/// </summary>
@@ -425,7 +463,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Menu Menu1;
/// <summary>
/// btnMenuEdit 控件。
/// </summary>
@@ -434,7 +472,7 @@ namespace FineUIPro.Web.CQMS.Check {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.MenuButton btnMenuEdit;
/// <summary>
/// btnMenuDelete 控件。
/// </summary>