SGGL_JT/SUBQHSE/FineUIPro.Web/HSSE/OccupationHealth/PhysicalExaminationEdit.aspx

180 lines
12 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PhysicalExaminationEdit.aspx.cs"
Inherits="FineUIPro.Web.HSSE.OccupationHealth.PhysicalExaminationEdit" ValidateRequest="false" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>编辑人员信息</title>
<link href="~/res/css/common.css" rel="stylesheet" type="text/css"/>
<style type="text/css">
.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" runat="server"/>
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true"
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Toolbars>
<f:Toolbar ID="Toolbar2" Position="Bottom" ToolbarAlign="Right" runat="server">
<Items>
<f:Button ID="btnAttachUrl3" Text="体检证明" ToolTip="查看" Icon="TableCell" runat="server"
OnClick="btnAttachUrl3_Click" ValidateForms="Panel3" MarginLeft="5px">
</f:Button>
<f:ToolbarFill runat="server"></f:ToolbarFill>
<f:Button ID="btnSave" Icon="SystemSave" runat="server" ValidateForms="Panel3" Text="保存"
OnClick="btnSave_Click" Hidden="true">
</f:Button>
<f:Button runat="server" ID="btnQR" OnClick="btnQR_Click" Icon="Shading" Text="二维码查看"
ToolTip="二维码查看">
</f:Button>
<f:Button ID="btnClose" EnablePostBack="false" ToolTip="关闭" runat="server" Icon="SystemClose" Text="关闭">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
<Rows>
<f:FormRow>
<Items>
<f:Panel ID="Panel3" runat="server" ShowHeader="false" ShowBorder="false" ColumnWidth="100%" MarginRight="5px">
<Items>
<f:TabStrip ID="TabStrip1" CssClass="f-tabstrip-theme-simple" Height="500px" ShowBorder="True"
TabPosition="Top" MarginBottom="5px" EnableTabCloseMenu="false" runat="server"
ActiveTabIndex="0">
<Tabs>
<f:Tab ID="Tab1" Title="基本信息" BodyPadding="5px" Layout="VBox" IconFont="Bookmark" runat="server">
<Items>
<f:Panel ID="Panel2" runat="server" ShowBorder="false" ShowHeader="false" Layout="HBox" AutoScroll="True"
BoxConfigAlign="StretchMax">
<Items>
<f:Panel ID="Panel1" Title="面板1" BoxFlex="3" MarginRight="5px" runat="server" ShowBorder="false"
ShowHeader="false">
<Items>
<f:TextBox ID="txtPersonName" runat="server" Label="人员姓名" MaxLength="50" LabelAlign="Right"
Required="True" ShowRedStar="True" FocusOnPageLoad="true" LabelWidth="110px" OnBlur="txtPersonName_TextChanged" EnableBlurEvent="true">
</f:TextBox>
<f:DropDownList ID="drpIdcardType" runat="server" Label="证件类型" LabelWidth="110px" LabelAlign="Right" Required="True" ShowRedStar="True" EnableEdit="true">
</f:DropDownList>
<f:DatePicker ID="txtBirthday" runat="server" Label="出生日期" LabelAlign="Right" LabelWidth="110px">
</f:DatePicker>
<f:TextBox ID="txtRemark" runat="server" Label="人资岗位" LabelAlign="Right" MaxLength="50" Enabled="False">
</f:TextBox>
<f:DropDownList ID="drpUnitId" runat="server" Label="所属单位" LabelWidth="110px" LabelAlign="Right" Required="True" ShowRedStar="True" EnableEdit="true" OnSelectedIndexChanged="drpUnitId_OnSelectedIndexChanged" AutoSelectFirstItem="False" EmptyText="-请选择-">
</f:DropDownList>
<f:DropDownBox runat="server" Label="单位工程" LabelAlign="Right" LabelWidth="110px"
ID="txtWorkArea" EmptyText="-请选择-" EnableMultiSelect="true" MatchFieldWidth="true">
<PopPanel>
<f:Grid ID="gvWorkArea" DataIDField="UnitWorkId"
EnableMultiSelect="true" KeepCurrentSelection="true" Height="300px" Hidden="true" SortField="UnitWorkId" DataTextField="UnitWorkName"
ShowBorder="true" ShowHeader="false" ForceFit="true"
runat="server" EnableCheckBoxSelect="true">
<Columns>
<f:BoundField DataField="UnitWorkId" SortField="UnitWorkId" DataFormatString="{0}" Hidden="true"/>
<f:BoundField DataField="UnitWorkName" SortField="UnitWorkName" DataFormatString="{0}" HeaderText="单位工程名称"/>
</Columns>
</f:Grid>
</PopPanel>
</f:DropDownBox>
<f:DatePicker ID="txtInTime" runat="server" Label="入场时间" LabelAlign="Right" LabelWidth="110px" ShowRedStar="true" Required="true">
</f:DatePicker>
<f:DropDownList ID="drpTitle" runat="server" Label="职称" LabelAlign="Right" EnableEdit="true" AutoSelectFirstItem="False" EmptyText="-请选择-">
</f:DropDownList>
<f:DropDownList ID="drpEduLevel" runat="server" Label="文化程度" EnableEdit="true" LabelAlign="Right" AutoSelectFirstItem="False" EmptyText="-请选择-">
</f:DropDownList>
</Items>
</f:Panel>
<f:Panel ID="Panel4" runat="server" BoxFlex="3" ShowBorder="false" ShowHeader="false"
MarginRight="5px" Layout="VBox">
<Items>
<f:TextBox ID="txtCardNo" runat="server" Label="卡号" MaxLength="50"
LabelAlign="Right" AutoPostBack="true" OnTextChanged="TextBox_TextChanged">
</f:TextBox>
<f:TextBox ID="txtIdentityCard" runat="server" Label="证件号码" MaxLength="50" LabelAlign="Right" LabelWidth="110px"
Required="true" ShowRedStar="true" OnBlur="txtIdentityCard_TextChanged" EnableBlurEvent="true">
</f:TextBox>
<f:RadioButtonList ID="rblSex" runat="server" Label="性别" LabelAlign="Right" Required="True" ShowRedStar="True">
<f:RadioItem Value="1" Text="男" Selected="true"/>
<f:RadioItem Value="2" Text="女"/>
</f:RadioButtonList>
<f:TextBox ID="txtTelephone" runat="server" Label="电话" LabelAlign="Right" MaxLength="50">
</f:TextBox>
<f:DropDownList ID="drpPost" runat="server" Label="所属岗位" LabelAlign="Right" Required="True" ShowRedStar="True" EnableEdit="true" AutoSelectFirstItem="False" EmptyText="-请选择-">
</f:DropDownList>
<f:DropDownList ID="drpTeamGroup" runat="server" Label="所属班组" LabelAlign="Right">
</f:DropDownList>
<f:RadioButtonList ID="rblIsUsed" runat="server" Label="人员在场" LabelAlign="Right" Required="True" ShowRedStar="True">
<f:RadioItem Value="True" Text="是"/>
<f:RadioItem Value="False" Text="否"/>
</f:RadioButtonList>
<f:DatePicker ID="txtOutTime" runat="server" Label="出场时间" LabelAlign="Right">
</f:DatePicker>
<f:TextBox ID="txtMajor" runat="server" Label="所学专业" LabelAlign="Right" MaxLength="20">
</f:TextBox>
</Items>
</f:Panel>
<f:Panel ID="Panel5" Title="面板1" BoxFlex="1" 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" Hidden="true">
</f:FileUpload>
</Items>
</f:Panel>
</Items>
</f:Panel>
</Items>
</f:Tab>
</Tabs>
</f:TabStrip>
</Items>
</f:Panel>
</Items>
</f:FormRow>
</Rows>
</f:Form>
<f:Window ID="Window1" runat="server" Hidden="true" IsModal="false" Target="Parent"
EnableMaximize="true" EnableResize="false" Title="弹出框" CloseAction="HidePostBack"
EnableIFrame="true">
</f:Window>
<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>
<script type="text/javascript">
// 返回false来阻止浏览器右键菜单
function onRowContextMenu(event, rowId) {
//F(menuID).show(); //showAt(event.pageX, event.pageY);
return false;
}
</script>
</body>
</html>