SGGL_JT/SUBQHSE/FineUIPro.Web/Customization/CNCEC4/ZHGL/Report/PersonnelAllocationInfoEdit...

163 lines
8.5 KiB
Plaintext
Raw Normal View History

2025-04-07 17:43:30 +08:00
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PersonnelAllocationInfoEdit.aspx.cs" Inherits="FineUIPro.Web.Customization.CNCEC4.ZHGL.Report.PersonnelAllocationInfoEdit" %>
<!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>
</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:DatePicker ID="txtMonths" runat="server" Label="月份" LabelAlign="Right" Required="true" ShowRedStar="true" DateFormatString="yyyy-MM" DisplayType="Month" ShowTodayButton="false"></f:DatePicker>
<f:Label ID="Label1" runat="server"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtUnitName" runat="server" Label="所属单位" LabelAlign="Right" Readonly="true" LabelWidth="150px">
</f:TextBox>
<f:TextBox ID="txtProjectName" runat="server" Label="分支机构" LabelAlign="Right" Readonly="true" LabelWidth="150px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtDuties" runat="server" Label="职务" LabelAlign="Right" LabelWidth="150px">
</f:TextBox>
<f:TextBox ID="txtPersonName" runat="server" Label="姓名" LabelAlign="Right" LabelWidth="150px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtTelephone" runat="server" Label="联系电话" LabelAlign="Right" LabelWidth="150px">
</f:TextBox>
<f:TextBox ID="txtEmergentTel" runat="server" Label="紧急情况下联系电话" LabelAlign="Right" LabelWidth="150px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtIdentityCard" runat="server" Label="身份证号码" LabelAlign="Right" LabelWidth="150px">
</f:TextBox>
<f:CheckBoxList ID="cblSex" runat="server" Label="性别" LabelAlign="Right" LabelWidth="150px">
<Items>
<f:CheckItem Value="男" Text="男" />
<f:CheckItem Value="女" Text="女" />
</Items>
<Listeners>
<f:Listener Event="change" Handler="onCheckBoxListChange" />
</Listeners>
</f:CheckBoxList>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:CheckBoxList ID="cblEducation" runat="server" Label="学历" LabelAlign="Right" LabelWidth="150px">
<Items>
<f:CheckItem Value="本科" Text="本科" />
<f:CheckItem Value="大专" Text="大专" />
<f:CheckItem Value="其他" Text="其他" />
</Items>
<Listeners>
<f:Listener Event="change" Handler="onCheckBoxListChange" />
</Listeners>
</f:CheckBoxList>
<f:CheckBoxList ID="cblMajor" runat="server" Label="所学专业" LabelAlign="Right" LabelWidth="150px">
<Items>
<f:CheckItem Value="安全" Text="安全" />
<f:CheckItem Value="工程类" Text="工程类" />
<f:CheckItem Value="其他" Text="其他" />
</Items>
<Listeners>
<f:Listener Event="change" Handler="onCheckBoxListChange" />
</Listeners>
</f:CheckBoxList>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:CheckBoxList ID="cblYearsOfService" runat="server" Label="安全管理工作年限" LabelAlign="Right" LabelWidth="150px">
<Items>
<f:CheckItem Value="≦5" Text="≦5" />
<f:CheckItem Value="5-10" Text="5-10" />
<f:CheckItem Value="≧10" Text="≧10" />
</Items>
<Listeners>
<f:Listener Event="change" Handler="onCheckBoxListChange" />
</Listeners>
</f:CheckBoxList>
<f:CheckBoxList ID="cblPersonStates" runat="server" Label="在册/外聘/分包" LabelAlign="Right" LabelWidth="150px">
<Items>
<f:CheckItem Value="在册" Text="在册" />
<f:CheckItem Value="外聘" Text="外聘" />
<f:CheckItem Value="分包" Text="分包" />
</Items>
<Listeners>
<f:Listener Event="change" Handler="onCheckBoxListChange" />
</Listeners>
</f:CheckBoxList>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:CheckBoxList ID="cblQualification" runat="server" Label="上岗资格证书" LabelAlign="Right" LabelWidth="150px">
<Items>
<f:CheckItem Value="注册安全工程师" Text="注册安全工程师" />
<f:CheckItem Value="C1" Text="C1" />
<f:CheckItem Value="C2" Text="C2" />
<f:CheckItem Value="C3" Text="C3" />
<f:CheckItem Value="集团证书" Text="集团证书" />
<f:CheckItem Value="其他" Text="其他" />
</Items>
<Listeners>
<f:Listener Event="change" Handler="onCheckBoxListChange" />
</Listeners>
</f:CheckBoxList>
<%--<f:Label ID="Label1" runat="server"></f:Label>--%>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextArea ID="txtRemark" runat="server" Label="备注" LabelWidth="150px">
</f:TextArea>
</Items>
</f:FormRow>
</Rows>
<Toolbars>
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
<Items>
<f:Button ID="btnSave" Icon="SystemSave" runat="server" ValidateForms="SimpleForm1" Text="保存"
OnClick="btnSave_Click">
</f:Button>
<f:Button ID="btnClose" EnablePostBack="false" ToolTip="关闭" runat="server" Icon="SystemClose" Text="关闭">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
</f:Form>
</form>
<script type="text/javascript">
// 同时只能选中一项
function onCheckBoxListChange(event, checkbox, isChecked) {
var me = this;
// 当前操作是:选中
if (isChecked) {
// 仅选中这一项
me.setValue(checkbox.getInputValue());
}
__doPostBack('', 'CheckBoxList1Change');
}
</script>
</body>
</html>