2023-07-06
This commit is contained in:
Binary file not shown.
@@ -215,6 +215,7 @@
|
|||||||
<Content Include="res\umeditor\third-party\mathquill\font\Symbola.woff" />
|
<Content Include="res\umeditor\third-party\mathquill\font\Symbola.woff" />
|
||||||
<Content Include="AttachFile\fileupload.ashx" />
|
<Content Include="AttachFile\fileupload.ashx" />
|
||||||
<Content Include="AttachFile\lib\README.md" />
|
<Content Include="AttachFile\lib\README.md" />
|
||||||
|
<Content Include="ZHGL\Plan\ActionPlanListEdit.aspx" />
|
||||||
<None Include="packages.config" />
|
<None Include="packages.config" />
|
||||||
<None Include="Properties\PublishProfiles\FolderProfile.pubxml" />
|
<None Include="Properties\PublishProfiles\FolderProfile.pubxml" />
|
||||||
<None Include="Web.Debug.config">
|
<None Include="Web.Debug.config">
|
||||||
@@ -3389,6 +3390,13 @@
|
|||||||
<DependentUpon>imageUp.ashx</DependentUpon>
|
<DependentUpon>imageUp.ashx</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="res\umeditor\net\Uploader.cs" />
|
<Compile Include="res\umeditor\net\Uploader.cs" />
|
||||||
|
<Compile Include="ZHGL\Plan\ActionPlanListEdit.aspx.cs">
|
||||||
|
<DependentUpon>ActionPlanListEdit.aspx</DependentUpon>
|
||||||
|
<SubType>ASPXCodeBehind</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="ZHGL\Plan\ActionPlanListEdit.aspx.designer.cs">
|
||||||
|
<DependentUpon>ActionPlanListEdit.aspx</DependentUpon>
|
||||||
|
</Compile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\BLL\BLL.csproj">
|
<ProjectReference Include="..\BLL\BLL.csproj">
|
||||||
|
|||||||
@@ -0,0 +1,249 @@
|
|||||||
|
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ActionPlanListEdit.aspx.cs" Inherits="FineUIPro.Mobile.ZHGL.Plan.ActionPlanListEdit" %>
|
||||||
|
|
||||||
|
<!DOCTYPE html>
|
||||||
|
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head runat="server">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
|
<title>编辑实施计划</title>
|
||||||
|
<link href="../../res/css/common.css" rel="stylesheet" type="text/css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<form id="form1" runat="server">
|
||||||
|
<f:PageManager ID="PageManager1" runat="server" AutoSizePanelID="SimpleForm1" />
|
||||||
|
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true" Title="安全实施计划"
|
||||||
|
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
||||||
|
<Rows>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:TextBox ID="txtActionPlanListCode" runat="server" Label="编号" ShowRedStar="true" Required="true"
|
||||||
|
LabelAlign="Right" LabelWidth="140px">
|
||||||
|
</f:TextBox>
|
||||||
|
<f:TextBox ID="txtActionPlanListName" runat="server" Label="名称" Required="true"
|
||||||
|
ShowRedStar="true" LabelAlign="Right" LabelWidth="120px">
|
||||||
|
</f:TextBox>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:DropDownList ID="drpProject" runat="server" EnableEdit="true" LabelWidth="140px"
|
||||||
|
Label="项目" >
|
||||||
|
</f:DropDownList>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:TextBox ID="txtVersionNo" runat="server" Label="版本号" LabelAlign="Right" LabelWidth="140px">
|
||||||
|
</f:TextBox>
|
||||||
|
<f:DropDownList ID="drpProjectType" runat="server" Label="项目类型" LabelAlign="Right"
|
||||||
|
LabelWidth="120px">
|
||||||
|
<f:ListItem Value="1" Text="EPC" Selected="true" />
|
||||||
|
<f:ListItem Value="2" Text="EPCM" />
|
||||||
|
<f:ListItem Value="3" Text="C" />
|
||||||
|
<f:ListItem Value="4" Text="其他" />
|
||||||
|
</f:DropDownList>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:DropDownList ID="drpCompileMan" runat="server" Label="编制人" LabelAlign="Right" EnableEdit="true"
|
||||||
|
LabelWidth="140px">
|
||||||
|
</f:DropDownList>
|
||||||
|
<f:DatePicker ID="txtCompileDate" runat="server" Label="编制日期" LabelAlign="Right"
|
||||||
|
EnableEdit="true" LabelWidth="120px">
|
||||||
|
</f:DatePicker>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:RadioButtonList runat="server" ID="rblIsReview" Label="备案/部门评审" LabelWidth="140px" AutoPostBack="true" OnSelectedIndexChanged="rblIsReview_SelectedIndexChanged">
|
||||||
|
<f:RadioItem Text="备案" Value="False" Selected="true" />
|
||||||
|
<f:RadioItem Text="部门评审" Value="True" />
|
||||||
|
</f:RadioButtonList>
|
||||||
|
<f:DropDownList ID="drpReviewMan" runat="server" Label="评审负责人" LabelAlign="Right" Hidden="true" EnableEdit="true"
|
||||||
|
LabelWidth="120px">
|
||||||
|
</f:DropDownList>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:DropDownList ID="drpPerson" runat="server" LabelWidth="140px" Label="评审人员" LabelAlign="Right" EnableCheckBoxSelect="true" EnableMultiSelect="true" EnableEdit="true">
|
||||||
|
</f:DropDownList>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:RadioButtonList runat="server" ID="rblIsCompanyReview" Label="备案/公司部门评审" Hidden="true" LabelWidth="140px" AutoPostBack="true" OnSelectedIndexChanged="rblIsCompanyReview_SelectedIndexChanged">
|
||||||
|
<f:RadioItem Text="备案" Value="False" Selected="true" />
|
||||||
|
<f:RadioItem Text="公司部门评审" Value="True" />
|
||||||
|
</f:RadioButtonList>
|
||||||
|
<f:Label runat="server" Hidden="true"></f:Label>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:Grid ID="gvDepart" IsFluid="true" CssClass="blockpanel" ShowBorder="true" ShowHeader="false" runat="server" EnableCollapse="false"
|
||||||
|
DataKeyNames="ActionPlanListApproveId" DataIDField="ActionPlanListApproveId" EnableColumnLines="true" Hidden="true" EnableRowDoubleClickEvent="true"
|
||||||
|
OnRowDoubleClick="Grid1_RowDoubleClick" Height="250px">
|
||||||
|
<Toolbars>
|
||||||
|
<f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Left">
|
||||||
|
<Items>
|
||||||
|
<f:Button ID="btnNew" Text="新增" Icon="Add" runat="server" OnClick="btnNew_Click"
|
||||||
|
>
|
||||||
|
</f:Button>
|
||||||
|
</Items>
|
||||||
|
</f:Toolbar>
|
||||||
|
</Toolbars>
|
||||||
|
<Columns>
|
||||||
|
<f:RowNumberField Width="40px" HeaderText="序号" HeaderTextAlign="Center" TextAlign="Center" />
|
||||||
|
<f:TemplateField ColumnID="Depart" Width="200px" HeaderText="部门" HeaderTextAlign="Center" TextAlign="Center"
|
||||||
|
EnableLock="true" Locked="False">
|
||||||
|
<ItemTemplate>
|
||||||
|
<asp:Label ID="Label5" runat="server" Text='<%# depart(Eval("DepartId")) %>'></asp:Label>
|
||||||
|
</ItemTemplate>
|
||||||
|
</f:TemplateField>
|
||||||
|
<f:TemplateField ColumnID="ApproveMan" Width="150px" HeaderText="办理人员" HeaderTextAlign="Center" TextAlign="Center"
|
||||||
|
EnableLock="true" Locked="False">
|
||||||
|
<ItemTemplate>
|
||||||
|
<asp:Label ID="Label4" runat="server" Text='<%# man(Eval("ApproveMan")) %>'></asp:Label>
|
||||||
|
</ItemTemplate>
|
||||||
|
</f:TemplateField>
|
||||||
|
</Columns>
|
||||||
|
<Listeners>
|
||||||
|
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
|
||||||
|
</Listeners>
|
||||||
|
</f:Grid>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow runat="server" ID="trAtt">
|
||||||
|
<Items>
|
||||||
|
<f:ContentPanel ID="ContentPanel2" runat="server" ShowHeader="false" EnableCollapse="true"
|
||||||
|
BodyPadding="0px" Height="100px">
|
||||||
|
<div runat="server" id="divC"></div>
|
||||||
|
</f:ContentPanel>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow ID="agree">
|
||||||
|
<Items>
|
||||||
|
|
||||||
|
<f:RadioButtonList runat="server" ID="rblIsAgree" Label="是否同意" ShowRedStar="true" AutoPostBack="true">
|
||||||
|
<f:RadioItem Text="同意" Value="true" Selected="true" />
|
||||||
|
<f:RadioItem Text="不同意" Value="false" />
|
||||||
|
</f:RadioButtonList>
|
||||||
|
<f:Label runat="server" CssStyle="display:none"></f:Label>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow ID="options">
|
||||||
|
<Items>
|
||||||
|
<f:TextArea ID="txtOptions" ShowRedStar="true" Required="true" runat="server" Label="办理意见" MaxLength="3000">
|
||||||
|
</f:TextArea>
|
||||||
|
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow ID="optio">
|
||||||
|
|
||||||
|
<Items>
|
||||||
|
<f:Panel ShowHeader="false" ShowBorder="false" Layout="Column" runat="server">
|
||||||
|
<Items>
|
||||||
|
<f:Label runat="server" Text="附件:" ShowRedStar="true" CssStyle="padding-left:53px" Width="100px" CssClass="marginr" ShowLabel="false"></f:Label>
|
||||||
|
<f:Button ID="btnapprove" Text="附件" ToolTip="上传及查看" Icon="TableCell" OnClick="btnapprove_Click" runat="server">
|
||||||
|
</f:Button>
|
||||||
|
</Items>
|
||||||
|
</f:Panel>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow ID="plApprove2">
|
||||||
|
<Items>
|
||||||
|
|
||||||
|
<f:ContentPanel Title="审批列表" ShowBorder="true"
|
||||||
|
BodyPadding="10px" EnableCollapse="true" ShowHeader="true" AutoScroll="true"
|
||||||
|
runat="server">
|
||||||
|
<f:Grid ID="gvApprove" IsFluid="true" CssClass="blockpanel" ShowBorder="true" ShowHeader="false" runat="server" EnableCollapse="false"
|
||||||
|
DataKeyNames="ActionPlanListApproveId" EnableColumnLines="true" OnRowCommand="gvApprove_RowCommand" ForceFit="true">
|
||||||
|
<Columns>
|
||||||
|
<f:RowNumberField Width="40px" HeaderText="序号" HeaderTextAlign="Center" TextAlign="Center" />
|
||||||
|
<f:TemplateField ColumnID="ApproveType" Width="150px" HeaderText="办理类型" HeaderTextAlign="Center" TextAlign="Center"
|
||||||
|
EnableLock="true" Locked="False">
|
||||||
|
<ItemTemplate>
|
||||||
|
<asp:Label ID="Label1" runat="server" Text='<%# BLL.ActionPlanListService.ConvertState(Eval("ApproveType")) %>'></asp:Label>
|
||||||
|
</ItemTemplate>
|
||||||
|
</f:TemplateField>
|
||||||
|
<f:TemplateField ColumnID="ApproveMan" Width="150px" HeaderText="办理人员" HeaderTextAlign="Center" TextAlign="Center"
|
||||||
|
EnableLock="true" Locked="False">
|
||||||
|
<ItemTemplate>
|
||||||
|
<asp:Label ID="Label3" runat="server" Text='<%# man(Eval("ApproveMan")) %>'></asp:Label>
|
||||||
|
</ItemTemplate>
|
||||||
|
</f:TemplateField>
|
||||||
|
<f:TemplateField ColumnID="IsAgree" Width="100px" HeaderText="是否同意" HeaderTextAlign="Center" TextAlign="Center"
|
||||||
|
EnableLock="true" Locked="False">
|
||||||
|
<ItemTemplate>
|
||||||
|
<asp:Label ID="Label2" runat="server" Text='<%# BLL.ActionPlanListService.IsAgree(Eval("ApproveType"),Eval("IsAgree")) %>'></asp:Label>
|
||||||
|
</ItemTemplate>
|
||||||
|
</f:TemplateField>
|
||||||
|
<f:BoundField Width="100px" DataField="ApproveDate" HeaderTextAlign="Center" TextAlign="Center" DataFormatString="{0:yyyy-MM-dd}" HeaderText="办理时间" />
|
||||||
|
<f:BoundField Width="180px" DataField="ApproveIdea" HeaderTextAlign="Center" TextAlign="Center" HeaderText="办理意见" />
|
||||||
|
<f:LinkButtonField HeaderText="附件" ColumnID="download" Width="60px" Icon="ArrowDown" CommandName="download" />
|
||||||
|
</Columns>
|
||||||
|
</f:Grid>
|
||||||
|
</f:ContentPanel>
|
||||||
|
|
||||||
|
</Items>
|
||||||
|
|
||||||
|
</f:FormRow>
|
||||||
|
</Rows>
|
||||||
|
<Toolbars>
|
||||||
|
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
|
||||||
|
<Items>
|
||||||
|
<f:Label runat="server" ID="lbTemp">
|
||||||
|
</f:Label>
|
||||||
|
<f:Button ID="btnAttachUrl" Text="附件" ToolTip="附件上传及查看" Icon="TableCell" runat="server"
|
||||||
|
OnClick="btnAttachUrl_Click" ValidateForms="SimpleForm1">
|
||||||
|
</f:Button>
|
||||||
|
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
||||||
|
</f:ToolbarFill>
|
||||||
|
<f:HiddenField ID="txtEdition" runat="server"></f:HiddenField>
|
||||||
|
<f:HiddenField ID="HFActionPlanListId" runat="server"></f:HiddenField>
|
||||||
|
<f:Button ID="btnSave" Icon="SystemSave" runat="server" Text="保存" ValidateForms="SimpleForm1"
|
||||||
|
OnClick="btnSave_Click">
|
||||||
|
</f:Button>
|
||||||
|
<f:Button ID="btnSubmit" Icon="SystemSaveNew" runat="server" Text="提交" ValidateForms="SimpleForm1"
|
||||||
|
OnClick="btnSubmit_Click">
|
||||||
|
</f:Button>
|
||||||
|
<f:Button ID="btnClose" EnablePostBack="false" Text="关闭" runat="server" Icon="SystemClose">
|
||||||
|
</f:Button>
|
||||||
|
</Items>
|
||||||
|
</f:Toolbar>
|
||||||
|
</Toolbars>
|
||||||
|
</f:Form>
|
||||||
|
<f:Window ID="Window1" Title="公司部门审批" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||||
|
Target="Parent" EnableResize="false" runat="server" OnClose="Window1_Close" IsModal="true"
|
||||||
|
Width="800px" Height="500px">
|
||||||
|
</f:Window>
|
||||||
|
<f:Window ID="WindowAtt" Title="弹出窗体" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||||
|
Target="Parent" EnableResize="false" runat="server" IsModal="true" OnClose="WindowAtt_Close"
|
||||||
|
Width="700px" Height="500px">
|
||||||
|
</f:Window>
|
||||||
|
<f:Menu ID="Menu1" runat="server">
|
||||||
|
<f:MenuButton ID="btnMenuEdit" OnClick="btnMenuEdit_Click" Icon="Pencil" EnablePostBack="true"
|
||||||
|
runat="server" Text="编辑">
|
||||||
|
</f:MenuButton>
|
||||||
|
<f:MenuButton ID="btnMenuDelete" OnClick="btnMenuDelete_Click" EnablePostBack="true"
|
||||||
|
Icon="Delete" ConfirmText="删除选中行?" ConfirmTarget="Parent" runat="server" Text="删除">
|
||||||
|
</f:MenuButton>
|
||||||
|
</f:Menu>
|
||||||
|
</form>
|
||||||
|
<script type="text/javascript">
|
||||||
|
var menuID = '<%= Menu1.ClientID %>';
|
||||||
|
// 返回false,来阻止浏览器右键菜单
|
||||||
|
function onRowContextMenu(event, rowId) {
|
||||||
|
F(menuID).show(); //showAt(event.pageX, event.pageY);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
function reloadGrid() {
|
||||||
|
__doPostBack(null, 'reloadGrid');
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
||||||
@@ -0,0 +1,807 @@
|
|||||||
|
using BLL;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Web;
|
||||||
|
using System.Web.UI;
|
||||||
|
using System.Web.UI.WebControls;
|
||||||
|
|
||||||
|
namespace FineUIPro.Mobile.ZHGL.Plan
|
||||||
|
{
|
||||||
|
public partial class ActionPlanListEdit : PageBase
|
||||||
|
{
|
||||||
|
#region 定义项
|
||||||
|
/// <summary>
|
||||||
|
/// 主键
|
||||||
|
/// </summary>
|
||||||
|
public string ActionPlanListId
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return (string)ViewState["ActionPlanListId"];
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
ViewState["ActionPlanListId"] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// 项目主键
|
||||||
|
/// </summary>
|
||||||
|
public string ProjectId
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return (string)ViewState["ProjectId"];
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
ViewState["ProjectId"] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public int ContactImg
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return Convert.ToInt32(ViewState["ContactImg"]);
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
ViewState["ContactImg"] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 定义会签意见集合
|
||||||
|
/// </summary>
|
||||||
|
public static List<Model.ActionPlan_ActionPlanListApprove> approves = new List<Model.ActionPlan_ActionPlanListApprove>();
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 加载
|
||||||
|
/// <summary>
|
||||||
|
/// 加载页面
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void Page_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (!IsPostBack)
|
||||||
|
{
|
||||||
|
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
|
||||||
|
this.ActionPlanListId = Request.Params["ActionPlanListId"];
|
||||||
|
var q = (from x in Funs.DB.Person_Persons where x.UnitId == Const.UnitId_SEDIN && x.DepartId == Const.Depart_constructionId && x.RoleIds != null && x.RoleIds != Const.NoOfficeRole && x.RoleIds != string.Empty && (!x.IsPost.HasValue || x.IsPost == true) orderby x.PersonName select x).ToList();
|
||||||
|
Model.ActionPlan_ActionPlanList actionPlanList = BLL.ActionPlanListService.GetActionPlanListById(this.ActionPlanListId);
|
||||||
|
if (actionPlanList != null)
|
||||||
|
{
|
||||||
|
var compileMan = BLL.Person_PersonsService.GetPerson_PersonsById(actionPlanList.CompileMan);
|
||||||
|
if (compileMan != null)
|
||||||
|
{
|
||||||
|
q.Add(compileMan);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
this.drpCompileMan.DataTextField = "PersonName";
|
||||||
|
this.drpCompileMan.DataValueField = "PersonId";
|
||||||
|
this.drpCompileMan.DataSource = q;
|
||||||
|
this.drpCompileMan.DataBind();
|
||||||
|
Funs.FineUIPleaseSelect(this.drpCompileMan);
|
||||||
|
this.drpReviewMan.DataTextField = "PersonName";
|
||||||
|
this.drpReviewMan.DataValueField = "PersonId";
|
||||||
|
this.drpReviewMan.DataSource = q;
|
||||||
|
this.drpReviewMan.DataBind();
|
||||||
|
Funs.FineUIPleaseSelect(this.drpReviewMan);
|
||||||
|
this.drpPerson.DataTextField = "PersonName";
|
||||||
|
this.drpPerson.DataValueField = "PersonId";
|
||||||
|
this.drpPerson.DataSource = q;
|
||||||
|
this.drpPerson.DataBind();
|
||||||
|
Funs.FineUIPleaseSelect(this.drpPerson);
|
||||||
|
BLL.ProjectService.InitProjectDropDownList(this.drpProject, true);
|
||||||
|
ContactImg = 0;
|
||||||
|
if (!string.IsNullOrEmpty(this.ActionPlanListId))
|
||||||
|
{
|
||||||
|
if (actionPlanList != null)
|
||||||
|
{
|
||||||
|
HFActionPlanListId.Text = this.ActionPlanListId;
|
||||||
|
this.ProjectId = actionPlanList.ProjectId;
|
||||||
|
//if (this.ProjectId != this.CurrUser.LoginProjectId)
|
||||||
|
//{
|
||||||
|
// BLL.Person_PersonsService.InitUserProjectIdUnitIdRoleIdDropDownList(this.drpCompileMan, this.ProjectId, null, null, false);
|
||||||
|
//}
|
||||||
|
if (actionPlanList.Edition != null)
|
||||||
|
{
|
||||||
|
txtEdition.Text = actionPlanList.Edition.ToString();
|
||||||
|
}
|
||||||
|
///读取编号
|
||||||
|
this.txtActionPlanListCode.Text = actionPlanList.ActionPlanListCode;
|
||||||
|
this.txtActionPlanListName.Text = actionPlanList.ActionPlanListName;
|
||||||
|
this.txtVersionNo.Text = actionPlanList.VersionNo;
|
||||||
|
if (!string.IsNullOrEmpty(actionPlanList.ProjectType))
|
||||||
|
{
|
||||||
|
this.drpProjectType.SelectedValue = actionPlanList.ProjectType;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
this.drpProjectType.Hidden = true;
|
||||||
|
}
|
||||||
|
if (!string.IsNullOrEmpty(actionPlanList.ProjectId))
|
||||||
|
{
|
||||||
|
this.drpProject.SelectedValue = actionPlanList.ProjectId;
|
||||||
|
}
|
||||||
|
if (!string.IsNullOrEmpty(actionPlanList.CompileMan))
|
||||||
|
{
|
||||||
|
this.drpCompileMan.SelectedValue = actionPlanList.CompileMan;
|
||||||
|
}
|
||||||
|
if (actionPlanList.CompileDate != null)
|
||||||
|
{
|
||||||
|
this.txtCompileDate.Text = string.Format("{0:yyyy-MM-dd}", actionPlanList.CompileDate);
|
||||||
|
}
|
||||||
|
if (actionPlanList.IsReview == true)
|
||||||
|
{
|
||||||
|
this.rblIsReview.SelectedValue = "True";
|
||||||
|
this.drpReviewMan.Hidden = false;
|
||||||
|
this.drpReviewMan.SelectedValue = actionPlanList.ReviewMan;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
this.rblIsReview.SelectedValue = "False";
|
||||||
|
}
|
||||||
|
List<string> list = BLL.ActionPlanListApproveService.GetReviewingPersonIds(this.ActionPlanListId);
|
||||||
|
if (list.Count > 0)
|
||||||
|
{
|
||||||
|
this.drpPerson.SelectedValueArray = list.ToArray();
|
||||||
|
}
|
||||||
|
bindApprove();
|
||||||
|
if (actionPlanList.States == Const.ActionPlanList_ReCompile || actionPlanList.States == Const.ActionPlanList_Compile)
|
||||||
|
{
|
||||||
|
agree.Hidden = true;
|
||||||
|
options.Hidden = true;
|
||||||
|
optio.Hidden = true;
|
||||||
|
}
|
||||||
|
if (actionPlanList.States == Const.ActionPlanList_Review)
|
||||||
|
{
|
||||||
|
txtActionPlanListCode.Readonly = true;
|
||||||
|
txtActionPlanListName.Readonly = true;
|
||||||
|
txtVersionNo.Readonly = true;
|
||||||
|
drpProjectType.Readonly = true;
|
||||||
|
drpCompileMan.Readonly = true;
|
||||||
|
txtCompileDate.Readonly = true;
|
||||||
|
rblIsReview.Readonly = true;
|
||||||
|
drpReviewMan.Readonly = true;
|
||||||
|
ContactImg = -1;
|
||||||
|
}
|
||||||
|
else if (actionPlanList.States == Const.ActionPlanList_Reviewing)
|
||||||
|
{
|
||||||
|
txtActionPlanListCode.Readonly = true;
|
||||||
|
txtActionPlanListName.Readonly = true;
|
||||||
|
txtVersionNo.Readonly = true;
|
||||||
|
drpProjectType.Readonly = true;
|
||||||
|
drpCompileMan.Readonly = true;
|
||||||
|
txtCompileDate.Readonly = true;
|
||||||
|
rblIsReview.Readonly = true;
|
||||||
|
drpReviewMan.Readonly = true;
|
||||||
|
drpPerson.Readonly = true;
|
||||||
|
ContactImg = -1;
|
||||||
|
}
|
||||||
|
else if (actionPlanList.States == Const.ActionPlanList_Review2)
|
||||||
|
{
|
||||||
|
txtActionPlanListCode.Readonly = true;
|
||||||
|
txtActionPlanListName.Readonly = true;
|
||||||
|
txtVersionNo.Readonly = true;
|
||||||
|
drpProjectType.Readonly = true;
|
||||||
|
drpCompileMan.Readonly = true;
|
||||||
|
txtCompileDate.Readonly = true;
|
||||||
|
rblIsReview.Readonly = true;
|
||||||
|
drpReviewMan.Readonly = true;
|
||||||
|
drpPerson.Readonly = true;
|
||||||
|
rblIsCompanyReview.Hidden = false;
|
||||||
|
if (actionPlanList.IsCompanyReview == true)
|
||||||
|
{
|
||||||
|
rblIsCompanyReview.SelectedValue = "True";
|
||||||
|
gvDepart.Hidden = false;
|
||||||
|
BindDepart();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
rblIsCompanyReview.SelectedValue = "False";
|
||||||
|
}
|
||||||
|
ContactImg = -1;
|
||||||
|
}
|
||||||
|
else if (actionPlanList.States == Const.ActionPlanList_DepartReview)
|
||||||
|
{
|
||||||
|
txtActionPlanListCode.Readonly = true;
|
||||||
|
txtActionPlanListName.Readonly = true;
|
||||||
|
txtVersionNo.Readonly = true;
|
||||||
|
drpProjectType.Readonly = true;
|
||||||
|
drpCompileMan.Readonly = true;
|
||||||
|
txtCompileDate.Readonly = true;
|
||||||
|
rblIsReview.Readonly = true;
|
||||||
|
drpReviewMan.Readonly = true;
|
||||||
|
drpPerson.Readonly = true;
|
||||||
|
rblIsCompanyReview.Hidden = false;
|
||||||
|
if (actionPlanList.IsCompanyReview == true)
|
||||||
|
{
|
||||||
|
rblIsCompanyReview.SelectedValue = "True";
|
||||||
|
gvDepart.Hidden = false;
|
||||||
|
BindDepart();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
rblIsCompanyReview.SelectedValue = "False";
|
||||||
|
}
|
||||||
|
ContactImg = -1;
|
||||||
|
this.btnNew.Hidden = true;
|
||||||
|
this.btnMenuEdit.Hidden = true;
|
||||||
|
this.btnMenuDelete.Hidden = true;
|
||||||
|
this.gvDepart.EnableRowDoubleClickEvent = false;
|
||||||
|
}
|
||||||
|
//提交版本人多次修改
|
||||||
|
//if (actionPlanList.CompileMan.Equals(CurrUser.PersonId))
|
||||||
|
//{
|
||||||
|
// txtActionPlanListCode.Enabled = true;
|
||||||
|
// txtActionPlanListName.Enabled = true;
|
||||||
|
// txtVersionNo.Enabled = true;
|
||||||
|
// drpProjectType.Enabled = true;
|
||||||
|
// drpCompileMan.Enabled = true;
|
||||||
|
// txtCompileDate.Enabled = true;
|
||||||
|
// ContactImg = 0;
|
||||||
|
// Model.ActionPlan_ActionPlanListApprove approve = ActionPlanListApproveService.GetActionPlanListApproveByApproveMan(ActionPlanListId, CurrUser.PersonId);
|
||||||
|
// if (approve == null)
|
||||||
|
// {
|
||||||
|
// rblIsAgree.Hidden = true;
|
||||||
|
// rblIsAgree.Required = false;
|
||||||
|
// options.Hidden = true;
|
||||||
|
// txtOptions.Required = false;
|
||||||
|
// optio.Hidden = true;
|
||||||
|
// }
|
||||||
|
//}
|
||||||
|
}
|
||||||
|
WindowAtt_Close(null, null);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
this.drpCompileMan.SelectedValue = this.CurrUser.PersonId;
|
||||||
|
this.txtCompileDate.Text = string.Format("{0:yyyy-MM-dd}", DateTime.Now);
|
||||||
|
this.trAtt.Hidden = true;
|
||||||
|
agree.Hidden = true;
|
||||||
|
txtEdition.Text = "0";
|
||||||
|
options.Hidden = true;
|
||||||
|
optio.Hidden = true;
|
||||||
|
plApprove2.Hidden = true;
|
||||||
|
////自动生成编码
|
||||||
|
//this.txtActionPlanListCode.Text = BLL.CodeRecordsService.ReturnCodeByMenuIdProjectId(BLL.Const.OfficeActionPlanListMenuId, this.ProjectId, this.CurrUser.UnitId);
|
||||||
|
this.txtActionPlanListName.Text = this.SimpleForm1.Title;
|
||||||
|
this.txtVersionNo.Text = "V1.0";
|
||||||
|
//this.drpProjectType.Hidden = true;
|
||||||
|
this.drpReviewMan.SelectedValue = this.CurrUser.PersonId;
|
||||||
|
this.drpPerson.Hidden = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 审批列表
|
||||||
|
/// </summary>
|
||||||
|
private void bindApprove()
|
||||||
|
{
|
||||||
|
var list = ActionPlanListApproveService.getListData(ActionPlanListId);
|
||||||
|
gvApprove.DataSource = list;
|
||||||
|
gvApprove.DataBind();
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 保存
|
||||||
|
/// <summary>
|
||||||
|
/// 保存按钮
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void btnSave_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (this.drpCompileMan.SelectedValue == BLL.Const._Null)
|
||||||
|
{
|
||||||
|
Alert.ShowInTop("请选择编制人!", MessageBoxIcon.Warning);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
this.SaveData(BLL.Const.BtnSave);
|
||||||
|
PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference());
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 提交按钮
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void btnSubmit_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (this.drpCompileMan.SelectedValue == BLL.Const._Null)
|
||||||
|
{
|
||||||
|
Alert.ShowInTop("请选择编制人!", MessageBoxIcon.Warning);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (string.IsNullOrEmpty(HFActionPlanListId.Text))
|
||||||
|
{
|
||||||
|
Alert.ShowInTop("请上传附件!", MessageBoxIcon.Warning);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (rblIsReview.SelectedValue == "True" && this.drpPerson.SelectedItemArray.Length == 1 && this.drpPerson.SelectedValue == Const._Null && this.rblIsAgree.SelectedValue == "true")
|
||||||
|
{
|
||||||
|
Alert.ShowInTop("请选择评审人员!", MessageBoxIcon.Warning);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
this.SaveData(BLL.Const.BtnSubmit);
|
||||||
|
PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference());
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 保存数据
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="type"></param>
|
||||||
|
private void SaveData(string type)
|
||||||
|
{
|
||||||
|
Model.ActionPlan_ActionPlanList actionPlanList = new Model.ActionPlan_ActionPlanList
|
||||||
|
{
|
||||||
|
ActionPlanListCode = this.txtActionPlanListCode.Text.Trim(),
|
||||||
|
ActionPlanListName = this.txtActionPlanListName.Text.Trim(),
|
||||||
|
VersionNo = this.txtVersionNo.Text.Trim(),
|
||||||
|
ProjectType = this.drpProjectType.SelectedValue,
|
||||||
|
};
|
||||||
|
if (this.drpProject.SelectedValue != BLL.Const._Null)
|
||||||
|
{
|
||||||
|
actionPlanList.ProjectId = this.drpProject.SelectedValue;
|
||||||
|
}
|
||||||
|
if (this.drpCompileMan.SelectedValue != BLL.Const._Null)
|
||||||
|
{
|
||||||
|
actionPlanList.CompileMan = this.drpCompileMan.SelectedValue;
|
||||||
|
}
|
||||||
|
if (!string.IsNullOrEmpty(this.txtCompileDate.Text.Trim()))
|
||||||
|
{
|
||||||
|
actionPlanList.CompileDate = Convert.ToDateTime(this.txtCompileDate.Text.Trim());
|
||||||
|
}
|
||||||
|
actionPlanList.IsReview = Convert.ToBoolean(this.rblIsReview.SelectedValue);
|
||||||
|
if (this.drpReviewMan.SelectedValue != BLL.Const._Null)
|
||||||
|
{
|
||||||
|
actionPlanList.ReviewMan = this.drpReviewMan.SelectedValue;
|
||||||
|
}
|
||||||
|
int edtion = Convert.ToInt32(txtEdition.Text);
|
||||||
|
actionPlanList.Edition = edtion;
|
||||||
|
if (rblIsCompanyReview.Hidden == false)
|
||||||
|
{
|
||||||
|
actionPlanList.IsCompanyReview = Convert.ToBoolean(this.rblIsCompanyReview.SelectedValue);
|
||||||
|
}
|
||||||
|
if (!string.IsNullOrEmpty(this.ActionPlanListId))
|
||||||
|
{
|
||||||
|
actionPlanList.ActionPlanListId = this.ActionPlanListId;
|
||||||
|
Model.ActionPlan_ActionPlanList actionPlanList1 = ActionPlanListService.GetActionPlanListById(ActionPlanListId);
|
||||||
|
if (type == BLL.Const.BtnSubmit)
|
||||||
|
{
|
||||||
|
if (actionPlanList1.States == Const.ActionPlanList_Review || actionPlanList1.States == Const.ActionPlanList_Compile || actionPlanList1.States == Const.ActionPlanList_ReCompile)
|
||||||
|
{
|
||||||
|
Model.ActionPlan_ActionPlanListApprove approve = ActionPlanListApproveService.GetConstructSoluAppByApproveMan(ActionPlanListId, CurrUser.PersonId, Convert.ToInt32(actionPlanList1.Edition));
|
||||||
|
if (type == BLL.Const.BtnSubmit)
|
||||||
|
{
|
||||||
|
approve.ApproveDate = DateTime.Now;
|
||||||
|
}
|
||||||
|
approve.Edition = Convert.ToInt32(edtion);
|
||||||
|
approve.IsAgree = Convert.ToBoolean(rblIsAgree.SelectedValue);
|
||||||
|
approve.ApproveIdea = txtOptions.Text.Trim();
|
||||||
|
ActionPlanListApproveService.UpdateActionPlanListApprove(approve);
|
||||||
|
if (approve.IsAgree == true)
|
||||||
|
{
|
||||||
|
foreach (var item in this.drpPerson.SelectedValueArray)
|
||||||
|
{
|
||||||
|
if (item != Const._Null)
|
||||||
|
{
|
||||||
|
Model.ActionPlan_ActionPlanListApprove approve2 = new Model.ActionPlan_ActionPlanListApprove();
|
||||||
|
approve2.ActionPlanListId = actionPlanList.ActionPlanListId;
|
||||||
|
approve2.ApproveMan = item;
|
||||||
|
approve2.ApproveType = Const.ActionPlanList_Reviewing;
|
||||||
|
approve2.Edition = Convert.ToInt32(edtion);
|
||||||
|
BLL.ActionPlanListApproveService.AddActionPlanListApprove(approve2);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
actionPlanList.States = Const.ActionPlanList_Reviewing;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Model.ActionPlan_ActionPlanListApprove reApprove = new Model.ActionPlan_ActionPlanListApprove();
|
||||||
|
reApprove.ActionPlanListId = actionPlanList.ActionPlanListId;
|
||||||
|
reApprove.ApproveMan = actionPlanList1.CompileMan;
|
||||||
|
reApprove.ApproveType = Const.ActionPlanList_ReCompile;
|
||||||
|
edtion++;
|
||||||
|
reApprove.Edition = edtion;
|
||||||
|
ActionPlanListApproveService.AddActionPlanListApprove(reApprove);
|
||||||
|
actionPlanList.States = Const.ActionPlanList_ReCompile;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (actionPlanList1.States == Const.ActionPlanList_Reviewing)
|
||||||
|
{
|
||||||
|
actionPlanList.States = Const.ActionPlanList_Reviewing;
|
||||||
|
Model.ActionPlan_ActionPlanListApprove approve = ActionPlanListApproveService.GetConstructSoluAppByApproveMan(ActionPlanListId, CurrUser.PersonId, Convert.ToInt32(actionPlanList1.Edition));
|
||||||
|
if (approve != null)
|
||||||
|
{
|
||||||
|
approve.ApproveDate = DateTime.Now;
|
||||||
|
approve.ApproveIdea = this.txtOptions.Text.Trim();
|
||||||
|
approve.IsAgree = Convert.ToBoolean(this.rblIsAgree.SelectedValue);
|
||||||
|
BLL.ActionPlanListApproveService.UpdateActionPlanListApprove(approve);
|
||||||
|
}
|
||||||
|
List<Model.ActionPlan_ActionPlanListApprove> approve3s = BLL.ActionPlanListApproveService.GetReviewings(ActionPlanListId, edtion); //审批集合
|
||||||
|
List<Model.ActionPlan_ActionPlanListApprove> approve3Ends = BLL.ActionPlanListApproveService.GetReviewingEnds(ActionPlanListId, edtion); //审批完成集合
|
||||||
|
int okNum = approve3Ends.Count(x => x.IsAgree == true); //审批同意数量
|
||||||
|
if (approve3s.Count == approve3Ends.Count)
|
||||||
|
{
|
||||||
|
if (approve3s.Count == okNum) //全部同意,返回评审负责人办理
|
||||||
|
{
|
||||||
|
Model.ActionPlan_ActionPlanListApprove approve2 = new Model.ActionPlan_ActionPlanListApprove();
|
||||||
|
approve2.ActionPlanListId = actionPlanList.ActionPlanListId;
|
||||||
|
approve2.ApproveMan = actionPlanList.ReviewMan;
|
||||||
|
approve2.ApproveType = Const.ActionPlanList_Review2;
|
||||||
|
approve2.Edition = Convert.ToInt32(edtion);
|
||||||
|
BLL.ActionPlanListApproveService.AddActionPlanListApprove(approve2);
|
||||||
|
actionPlanList.States = Const.ActionPlanList_Review2;
|
||||||
|
}
|
||||||
|
else //有人不同意,(编制人)修改
|
||||||
|
{
|
||||||
|
Model.ActionPlan_ActionPlanListApprove reApprove = new Model.ActionPlan_ActionPlanListApprove();
|
||||||
|
reApprove.ActionPlanListId = actionPlanList.ActionPlanListId;
|
||||||
|
reApprove.ApproveMan = actionPlanList1.CompileMan;
|
||||||
|
reApprove.ApproveType = Const.ActionPlanList_ReCompile;
|
||||||
|
edtion++;
|
||||||
|
reApprove.Edition = edtion;
|
||||||
|
ActionPlanListApproveService.AddActionPlanListApprove(reApprove);
|
||||||
|
actionPlanList.States = Const.ActionPlanList_ReCompile;
|
||||||
|
actionPlanList.Edition = edtion;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (actionPlanList1.States == Const.ActionPlanList_Review2)
|
||||||
|
{
|
||||||
|
if (rblIsCompanyReview.SelectedValue == "True") //公司部门评审
|
||||||
|
{
|
||||||
|
OAWebSevice.PushoaActionPlan(); //推送OA待办
|
||||||
|
Model.ActionPlan_ActionPlanListApprove approve = ActionPlanListApproveService.GetConstructSoluAppByApproveMan(ActionPlanListId, CurrUser.PersonId, Convert.ToInt32(actionPlanList1.Edition));
|
||||||
|
if (type == BLL.Const.BtnSubmit)
|
||||||
|
{
|
||||||
|
approve.ApproveDate = DateTime.Now;
|
||||||
|
}
|
||||||
|
approve.Edition = Convert.ToInt32(edtion);
|
||||||
|
approve.IsAgree = Convert.ToBoolean(rblIsAgree.SelectedValue);
|
||||||
|
approve.ApproveIdea = txtOptions.Text.Trim();
|
||||||
|
ActionPlanListApproveService.UpdateActionPlanListApprove(approve);
|
||||||
|
actionPlanList.States = Const.ActionPlanList_DepartReview;
|
||||||
|
}
|
||||||
|
else //备案
|
||||||
|
{
|
||||||
|
Model.ActionPlan_ActionPlanListApprove approve = ActionPlanListApproveService.GetConstructSoluAppByApproveMan(ActionPlanListId, CurrUser.PersonId, Convert.ToInt32(actionPlanList1.Edition));
|
||||||
|
if (type == BLL.Const.BtnSubmit)
|
||||||
|
{
|
||||||
|
approve.ApproveDate = DateTime.Now;
|
||||||
|
}
|
||||||
|
approve.Edition = Convert.ToInt32(edtion);
|
||||||
|
approve.IsAgree = Convert.ToBoolean(rblIsAgree.SelectedValue);
|
||||||
|
approve.ApproveIdea = txtOptions.Text.Trim();
|
||||||
|
ActionPlanListApproveService.UpdateActionPlanListApprove(approve);
|
||||||
|
actionPlanList.States = Const.ActionPlanList_Complete;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (actionPlanList1.States == Const.ActionPlanList_DepartReview)
|
||||||
|
{
|
||||||
|
actionPlanList.States = Const.ActionPlanList_DepartReview;
|
||||||
|
Model.ActionPlan_ActionPlanListApprove approve = ActionPlanListApproveService.GetConstructSoluAppByApproveMan(ActionPlanListId, CurrUser.PersonId, Convert.ToInt32(actionPlanList1.Edition));
|
||||||
|
if (approve != null)
|
||||||
|
{
|
||||||
|
approve.ApproveDate = DateTime.Now;
|
||||||
|
approve.ApproveIdea = this.txtOptions.Text.Trim();
|
||||||
|
approve.IsAgree = Convert.ToBoolean(this.rblIsAgree.SelectedValue);
|
||||||
|
BLL.ActionPlanListApproveService.UpdateActionPlanListApprove(approve);
|
||||||
|
OAWebSevice.DoneRequestActionPlan(approve.ActionPlanListApproveId); //处理待办流程
|
||||||
|
}
|
||||||
|
List<Model.ActionPlan_ActionPlanListApprove> approve3s = BLL.ActionPlanListApproveService.GetDepartReviewings(ActionPlanListId, edtion); //审批集合
|
||||||
|
List<Model.ActionPlan_ActionPlanListApprove> approve3Ends = BLL.ActionPlanListApproveService.GetDepartReviewingEnds(ActionPlanListId, edtion); //审批完成集合
|
||||||
|
int okNum = approve3Ends.Count(x => x.IsAgree == true); //审批同意数量
|
||||||
|
if (approve3s.Count == approve3Ends.Count)
|
||||||
|
{
|
||||||
|
if (approve3s.Count == okNum) //全部同意,审批完成
|
||||||
|
{
|
||||||
|
actionPlanList.States = Const.ActionPlanList_Complete;
|
||||||
|
}
|
||||||
|
else //有人不同意,(编制人)修改
|
||||||
|
{
|
||||||
|
Model.ActionPlan_ActionPlanListApprove reApprove = new Model.ActionPlan_ActionPlanListApprove();
|
||||||
|
reApprove.ActionPlanListId = actionPlanList.ActionPlanListId;
|
||||||
|
reApprove.ApproveMan = actionPlanList1.CompileMan;
|
||||||
|
reApprove.ApproveType = Const.ActionPlanList_ReCompile;
|
||||||
|
edtion++;
|
||||||
|
reApprove.Edition = edtion;
|
||||||
|
ActionPlanListApproveService.AddActionPlanListApprove(reApprove);
|
||||||
|
actionPlanList.States = Const.ActionPlanList_ReCompile;
|
||||||
|
actionPlanList.Edition = edtion;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
actionPlanList.States = actionPlanList1.States;
|
||||||
|
}
|
||||||
|
//提交时候,更新提交版本
|
||||||
|
//if (CurrUser.PersonId.Equals(actionPlanList1.CompileMan))
|
||||||
|
//{
|
||||||
|
// if (actionPlanList1.States != Const.ActionPlanList_Audit)
|
||||||
|
// {
|
||||||
|
// edtion++;
|
||||||
|
// }
|
||||||
|
// actionPlanList.Edition = Convert.ToInt32(edtion);
|
||||||
|
// actionPlanList.States = Const.ActionPlanList_Audit;
|
||||||
|
//}
|
||||||
|
BLL.ActionPlanListService.UpdateActionPlanList(actionPlanList);
|
||||||
|
BLL.LogService.AddSys_Log(this.CurrUser, this.txtActionPlanListCode.Text, this.ActionPlanListId, BLL.Const.OfficeActionPlanListMenuId, Const.BtnModify);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (!string.IsNullOrEmpty(HFActionPlanListId.Text))
|
||||||
|
{
|
||||||
|
actionPlanList.ActionPlanListId = HFActionPlanListId.Text;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
actionPlanList.ActionPlanListId = SQLHelper.GetNewID(typeof(Model.ActionPlan_ActionPlanList));
|
||||||
|
}
|
||||||
|
actionPlanList.States = BLL.Const.ActionPlanList_Compile;
|
||||||
|
if (type == BLL.Const.BtnSubmit)
|
||||||
|
{
|
||||||
|
if (rblIsReview.SelectedValue == "True") //施工管理部评审
|
||||||
|
{
|
||||||
|
actionPlanList.States = BLL.Const.ActionPlanList_Reviewing;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
actionPlanList.States = BLL.Const.ActionPlanList_Complete;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
BLL.ActionPlanListService.AddActionPlanList(actionPlanList);
|
||||||
|
if (type == BLL.Const.BtnSubmit)
|
||||||
|
{
|
||||||
|
Model.ActionPlan_ActionPlanListApprove approve1 = new Model.ActionPlan_ActionPlanListApprove();
|
||||||
|
approve1.ActionPlanListId = actionPlanList.ActionPlanListId;
|
||||||
|
approve1.ApproveDate = DateTime.Now;
|
||||||
|
approve1.ApproveMan = this.CurrUser.PersonId;
|
||||||
|
approve1.ApproveType = Const.ActionPlanList_Compile;
|
||||||
|
approve1.Edition = Convert.ToInt32(txtEdition.Text);
|
||||||
|
ActionPlanListApproveService.AddActionPlanListApprove(approve1);
|
||||||
|
if (rblIsReview.SelectedValue == "True") //施工管理部评审
|
||||||
|
{
|
||||||
|
foreach (var item in this.drpPerson.SelectedValueArray)
|
||||||
|
{
|
||||||
|
if (item != Const._Null)
|
||||||
|
{
|
||||||
|
Model.ActionPlan_ActionPlanListApprove approve2 = new Model.ActionPlan_ActionPlanListApprove();
|
||||||
|
approve2.ActionPlanListId = actionPlanList.ActionPlanListId;
|
||||||
|
approve2.ApproveMan = item;
|
||||||
|
approve2.ApproveType = Const.ActionPlanList_Reviewing;
|
||||||
|
approve2.Edition = Convert.ToInt32(edtion);
|
||||||
|
BLL.ActionPlanListApproveService.AddActionPlanListApprove(approve2);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Model.ActionPlan_ActionPlanListApprove approve1 = new Model.ActionPlan_ActionPlanListApprove();
|
||||||
|
approve1.ActionPlanListId = actionPlanList.ActionPlanListId;
|
||||||
|
approve1.ApproveMan = this.CurrUser.PersonId;
|
||||||
|
approve1.ApproveType = Const.ActionPlanList_Compile;
|
||||||
|
approve1.Edition = Convert.ToInt32(txtEdition.Text);
|
||||||
|
ActionPlanListApproveService.AddActionPlanListApprove(approve1);
|
||||||
|
}
|
||||||
|
BLL.LogService.AddSys_Log(this.CurrUser, this.txtActionPlanListCode.Text, this.ActionPlanListId, BLL.Const.OfficeActionPlanListMenuId, Const.BtnAdd);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 附件上传
|
||||||
|
/// <summary>
|
||||||
|
/// 上传附件
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void btnAttachUrl_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (string.IsNullOrEmpty(HFActionPlanListId.Text)) //新增记录
|
||||||
|
{
|
||||||
|
HFActionPlanListId.Text = SQLHelper.GetNewID(typeof(Model.ActionPlan_ActionPlanList));
|
||||||
|
}
|
||||||
|
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/ActionPlanListAttachUrl&menuId={1}&type={2}", HFActionPlanListId.Text, BLL.Const.OfficeActionPlanListMenuId, ContactImg)));
|
||||||
|
}
|
||||||
|
|
||||||
|
protected void btnapprove_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//HFConstructSolutionId.Text
|
||||||
|
var approve = ActionPlanListApproveService.GetActionPlanListApproveByApproveMan(HFActionPlanListId.Text, CurrUser.PersonId);
|
||||||
|
if (approve != null)
|
||||||
|
{
|
||||||
|
var approveId = approve.ActionPlanListApproveId;
|
||||||
|
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(
|
||||||
|
String.Format("../../AttachFile/webuploader.aspx?type={0}&toKeyId={1}&path=FileUpload/ActionPlanListAttachUrl&menuId={2}",
|
||||||
|
0, approveId, Const.OfficeActionPlanListMenuId)));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
protected void WindowAtt_Close(object sender, WindowCloseEventArgs e)
|
||||||
|
{
|
||||||
|
this.divC.InnerHtml = string.Empty;
|
||||||
|
var getAtt = Funs.DB.AttachFile.FirstOrDefault(x => x.ToKeyId == HFActionPlanListId.Text);
|
||||||
|
if (getAtt != null)
|
||||||
|
{
|
||||||
|
this.divC.InnerHtml = UploadAttachmentService.ShowAttachment("../../", getAtt.AttachUrl);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
this.trAtt.Hidden = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public string depart(Object DepartId)
|
||||||
|
{
|
||||||
|
return DepartService.getDepartNameById(DepartId.ToString());
|
||||||
|
}
|
||||||
|
|
||||||
|
public string man(Object man)
|
||||||
|
{
|
||||||
|
string appman = string.Empty;
|
||||||
|
if (Person_PersonsService.GetPerson_PersonsById(man.ToString()) != null)
|
||||||
|
{
|
||||||
|
appman = Person_PersonsService.GetPerson_PersonsById(man.ToString()).PersonName;
|
||||||
|
}
|
||||||
|
return appman;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected void gvApprove_RowCommand(object sender, GridCommandEventArgs e)
|
||||||
|
{
|
||||||
|
object[] keys = gvApprove.DataKeys[e.RowIndex];
|
||||||
|
string fileId = string.Empty;
|
||||||
|
if (keys == null)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
fileId = keys[0].ToString();
|
||||||
|
}
|
||||||
|
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(
|
||||||
|
String.Format("../../AttachFile/webuploader.aspx?type={0}&toKeyId={1}&path=FileUpload/ActionPlanListAttachUrl&menuId={2}",
|
||||||
|
-1, fileId, Const.OfficeActionPlanListMenuId)));
|
||||||
|
}
|
||||||
|
|
||||||
|
protected void rblIsReview_SelectedIndexChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (this.rblIsReview.SelectedValue == "True")
|
||||||
|
{
|
||||||
|
this.drpReviewMan.Hidden = false;
|
||||||
|
this.drpPerson.Hidden = false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
this.drpReviewMan.Hidden = true;
|
||||||
|
this.drpPerson.Hidden = true;
|
||||||
|
this.drpReviewMan.SelectedValue = this.CurrUser.PersonId;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
protected void rblIsCompanyReview_SelectedIndexChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (this.rblIsCompanyReview.SelectedValue == "True")
|
||||||
|
{
|
||||||
|
this.gvDepart.Hidden = false;
|
||||||
|
BindDepart();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
this.gvDepart.Hidden = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void BindDepart()
|
||||||
|
{
|
||||||
|
Model.ActionPlan_ActionPlanList actionPlanList = BLL.ActionPlanListService.GetActionPlanListById(this.ActionPlanListId);
|
||||||
|
var list = ActionPlanListApproveService.getDepartListData(ActionPlanListId, actionPlanList.Edition);
|
||||||
|
gvDepart.DataSource = list;
|
||||||
|
gvDepart.DataBind();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 关闭弹出窗口
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void Window1_Close(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
BindDepart();
|
||||||
|
}
|
||||||
|
|
||||||
|
protected void btnNew_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("DepartEdit.aspx?ActionPlanListId={0}", this.ActionPlanListId, "编辑 - ")));
|
||||||
|
}
|
||||||
|
|
||||||
|
#region 编辑
|
||||||
|
/// <summary>
|
||||||
|
/// 双击事件
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e)
|
||||||
|
{
|
||||||
|
this.EditData();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 右键编辑事件
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void btnMenuEdit_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
this.EditData();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 编辑数据方法
|
||||||
|
/// </summary>
|
||||||
|
private void EditData()
|
||||||
|
{
|
||||||
|
if (gvDepart.SelectedRowIndexArray.Length == 0)
|
||||||
|
{
|
||||||
|
Alert.ShowInTop("请至少选择一条记录!", MessageBoxIcon.Warning);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
string id = gvDepart.SelectedRowID;
|
||||||
|
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("DepartEdit.aspx?ActionPlanListApproveId={0}", id, "编辑 - ")));
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 删除
|
||||||
|
/// <summary>
|
||||||
|
/// 右键删除事件
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void btnMenuDelete_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (gvDepart.SelectedRowIndexArray.Length > 0)
|
||||||
|
{
|
||||||
|
foreach (int rowIndex in gvDepart.SelectedRowIndexArray)
|
||||||
|
{
|
||||||
|
string rowID = gvDepart.DataKeys[rowIndex][0].ToString();
|
||||||
|
BLL.ActionPlanListApproveService.DeleteActionPlanListApprovesByActionPlanListApproveId(rowID);
|
||||||
|
}
|
||||||
|
BindDepart();
|
||||||
|
ShowNotify("删除数据成功!(表格数据已重新绑定)", MessageBoxIcon.Success);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 判断是否可以删除
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
private bool judgementDelete(string id, bool isShow)
|
||||||
|
{
|
||||||
|
string content = string.Empty;
|
||||||
|
|
||||||
|
if (string.IsNullOrEmpty(content))
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (isShow)
|
||||||
|
{
|
||||||
|
Alert.ShowInTop(content);
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,440 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <自动生成>
|
||||||
|
// 此代码由工具生成。
|
||||||
|
//
|
||||||
|
// 对此文件的更改可能导致不正确的行为,如果
|
||||||
|
// 重新生成代码,则所做更改将丢失。
|
||||||
|
// </自动生成>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace FineUIPro.Mobile.ZHGL.Plan
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
public partial class ActionPlanListEdit
|
||||||
|
{
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// form1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// PageManager1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.PageManager PageManager1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// SimpleForm1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Form SimpleForm1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtActionPlanListCode 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextBox txtActionPlanListCode;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtActionPlanListName 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextBox txtActionPlanListName;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// drpProject 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.DropDownList drpProject;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtVersionNo 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextBox txtVersionNo;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// drpProjectType 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.DropDownList drpProjectType;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// drpCompileMan 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.DropDownList drpCompileMan;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtCompileDate 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.DatePicker txtCompileDate;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// rblIsReview 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.RadioButtonList rblIsReview;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// drpReviewMan 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.DropDownList drpReviewMan;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// drpPerson 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.DropDownList drpPerson;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// rblIsCompanyReview 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.RadioButtonList rblIsCompanyReview;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// gvDepart 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Grid gvDepart;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Toolbar2 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Toolbar Toolbar2;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnNew 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnNew;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Label5 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.WebControls.Label Label5;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Label4 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.WebControls.Label Label4;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// trAtt 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.FormRow trAtt;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// ContentPanel2 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.ContentPanel ContentPanel2;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// divC 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divC;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// agree 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.FormRow agree;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// rblIsAgree 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.RadioButtonList rblIsAgree;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// options 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.FormRow options;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtOptions 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextArea txtOptions;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// optio 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.FormRow optio;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnapprove 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnapprove;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// plApprove2 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.FormRow plApprove2;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// gvApprove 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Grid gvApprove;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Label1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.WebControls.Label Label1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Label3 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.WebControls.Label Label3;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Label2 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.WebControls.Label Label2;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Toolbar1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Toolbar Toolbar1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// lbTemp 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Label lbTemp;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnAttachUrl 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnAttachUrl;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// ToolbarFill1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.ToolbarFill ToolbarFill1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtEdition 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.HiddenField txtEdition;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// HFActionPlanListId 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.HiddenField HFActionPlanListId;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnSave 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnSave;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnSubmit 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnSubmit;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnClose 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnClose;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Window1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Window Window1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// WindowAtt 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Window WindowAtt;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Menu1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Menu Menu1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnMenuEdit 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.MenuButton btnMenuEdit;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnMenuDelete 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.MenuButton btnMenuDelete;
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user