SGGL_JT/SUBQHSE/FineUIPro.Web/Customization/CNCCG/HSSE/Check/SafePersonEdit.aspx

213 lines
13 KiB
Plaintext

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SafePersonEdit.aspx.cs" Inherits="FineUIPro.Web.Customization.CNCCG.HSSE.Check.SafePersonEdit" %>
<!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" />
<style type="text/css">
.labcenter {
text-align: center;
}
.f-grid-row .f-grid-cell-inner {
white-space: normal;
word-break: break-all;
}
.f-grid-row.red {
background-color: #FF7575;
background-image: none;
}
.fontred {
color: #FF7575;
background-image: none;
}
.userphoto .f-field-label {
margin-top: 0;
}
.userphoto img {
width: 100%;
}
.uploadbutton .f-btn {
width: 100%;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" AutoSizePanelID="SimpleForm1" runat="server" />
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true"
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows>
<f:FormRow>
<Items>
<f:ContentPanel ID="ContentPanel2" Title="基础信息" ShowBorder="true"
BodyPadding="10px" EnableCollapse="true" ShowHeader="true" AutoScroll="true"
runat="server">
<f:Panel ID="Panel1" runat="server" ShowBorder="false" ShowHeader="false" Layout="HBox"
BoxConfigAlign="StretchMax">
<Items>
<f:Panel ID="Panel3" Title="面板1" BoxFlex="5" MarginRight="5px" runat="server" ShowBorder="false"
ShowHeader="false">
<Items>
<f:TextBox ID="txtProjectName" runat="server" Readonly="true" Label="项目名称" LabelAlign="Right">
</f:TextBox>
<f:TextBox ID="TxtUserName" runat="server" Readonly="true" Label="姓名" LabelAlign="Right">
</f:TextBox>
<f:RadioButtonList ID="rblSex" runat="server" Label="性别" LabelAlign="Right">
<f:RadioItem Value="1" Text="男" Selected="true" />
<f:RadioItem Value="2" Text="女" />
</f:RadioButtonList>
<f:TextBox ID="txtAffTeam" runat="server" Label="所属队伍" LabelAlign="Right"
MaxLength="50">
</f:TextBox>
<f:TextBox ID="txtEduLevel" ShowRedStar="true" runat="server" Label="文化程度" LabelAlign="Right"
MaxLength="50">
</f:TextBox>
<f:TextBox ID="txtJobName" ShowRedStar="true" runat="server" Label="职务" LabelAlign="Right"
MaxLength="50">
</f:TextBox>
<f:Panel ID="Panel2" ShowHeader="false" ShowBorder="false" Layout="Column" runat="server">
<Items>
<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>
</Items>
</f:Panel>
</Items>
</f:Panel>
<f:Panel ID="Panel4" Title="面板1" BoxFlex="5" MarginRight="5px" runat="server" ShowBorder="false"
ShowHeader="false">
<Items>
<f:TextBox ID="txtUnitName" runat="server" Readonly="true" Label="单位名称" LabelAlign="Right"
MaxLength="50">
</f:TextBox>
<f:DatePicker ID="txtBirthDate" runat="server" Label="出生日期" LabelAlign="Right"
EnableEdit="true">
</f:DatePicker>
<f:NumberBox ID="numberAge" ShowRedStar="true" runat="server" Label="年龄" Required="true" LabelAlign="Right"></f:NumberBox>
<f:TextBox ID="txtAffTeamsGroup" runat="server" Label="所属班组" LabelAlign="Right"
MaxLength="50">
</f:TextBox>
<f:TextBox ID="txtPoStates" ShowRedStar="true" runat="server" Label="政治面貌" LabelAlign="Right"
MaxLength="50">
</f:TextBox>
<f:TextArea runat="server" ID="txtJobResume" EmptyText="工作简历" Label="工作简历"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
</Items>
</f:Panel>
<f:Panel ID="Panel6" Title="面板1" BoxFlex="2" runat="server" ShowBorder="false" ShowHeader="false"
Layout="VBox">
<Items>
<f:Image ID="imgPhoto" CssClass="userphoto" ImageUrl="~/res/images/blank_150.png"
runat="server" BoxFlex="1">
</f:Image>
<f:FileUpload ID="filePhoto" CssClass="uploadbutton" runat="server" ButtonText="上传照片"
ButtonOnly="true" AutoPostBack="true" OnFileSelected="filePhoto_FileSelected">
</f:FileUpload>
</Items>
</f:Panel>
</Items>
</f:Panel>
</f:ContentPanel>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:ContentPanel ID="ContentPanel5" Title="群安员任命审批流程设置" runat="server" ShowHeader="true" EnableCollapse="true"
BodyPadding="0px">
<f:Form ID="Form5" ShowBorder="false" ShowHeader="false" AutoScroll="true"
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows>
<f:FormRow>
<Items>
<f:RadioButtonList runat="server" ID="rblIsAgree" Label="是否同意" ShowRedStar="true" AutoPostBack="true" OnSelectedIndexChanged="rblIsAgree_SelectedIndexChanged">
<f:RadioItem Text="同意" Value="true" />
<f:RadioItem Text="不同意" Value="false" />
</f:RadioButtonList>
<f:Label runat="server" CssStyle="display:none"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<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>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</f:ContentPanel>
</Items>
</f:FormRow>
<f:FormRow ID="plApprove1">
<Items>
<f:TextArea ID="txtOpinions" runat="server" Label="我的意见" MaxLength="3000">
</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">
<f:Grid ID="gvApprove" IsFluid="true" CssClass="blockpanel" ShowBorder="true" ShowHeader="false" runat="server" EnableCollapse="false"
DataKeyNames="CheckControlApproveId" EnableColumnLines="true" ForceFit="true">
<Columns>
<f:RowNumberField Width="20px" />
<f:TemplateField ColumnID="State" Width="250px" HeaderText="办理类型" HeaderTextAlign="Center" TextAlign="Center"
EnableLock="true" Locked="False">
<ItemTemplate>
<asp:Label ID="lbtype" runat="server" Text='<%# ConvertState(Eval("ApproveType")) %>'></asp:Label>
</ItemTemplate>
</f:TemplateField>
<f:BoundField Width="180px" DataField="ApproveMan" HeaderTextAlign="Center" HeaderText="办理人员" TextAlign="Center" />
<f:BoundField Width="200px" DataField="ApproveDate" HeaderTextAlign="Center" TextAlign="Center" DataFormatString="{0:yyyy-MM-dd}" HeaderText="办理时间" />
<f:BoundField Width="180px" DataField="ApproveIdea" HeaderTextAlign="Center" TextAlign="Center" HeaderText="办理意见" />
</Columns>
</f:Grid>
</f:ContentPanel>
</Items>
</f:FormRow>
</Rows>
<Toolbars>
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
<Items>
<f:TextBox ID="hdCheckControlCode" runat="server" Hidden="true"></f:TextBox>
<f:ToolbarFill ID="ToolbarFill1" runat="server">
</f:ToolbarFill>
<f:Button ID="btnSave" OnClick="btnSave_Click" Icon="SystemSave" runat="server" ToolTip="保存" Text="保存">
</f:Button>
<f:Button ID="btnSubmit" OnClick="btnSubmit_Click" Icon="SystemSaveNew" runat="server" ToolTip="提交" Text="提交" ValidateForms="SimpleForm1">
</f:Button>
<f:TextBox ID="hdId" runat="server" Hidden="true">
</f:TextBox>
<f:TextBox ID="hdAttachUrl" runat="server" Hidden="true">
</f:TextBox>
</Items>
</f:Toolbar>
</Toolbars>
</f:Form>
<f:Window ID="WindowAtt" Title="弹出窗体" Hidden="true" EnableIFrame="true" EnableMaximize="true"
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="700px"
Height="500px">
</f:Window>
</form>
</body>
</html>