CNCEC_SUBQHSE_WUHUAN/SGGL/FineUIPro.Web/BaseInfo/WorkPostCleanupMerge.aspx

162 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="WorkPostCleanupMerge.aspx.cs" Inherits="FineUIPro.Web.BaseInfo.WorkPostCleanupMerge" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<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">
.customlabel span {
margin-left: 140px;
color: red;
font-weight: bold;
}
</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" LabelWidth="140px"
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows>
<f:FormRow>
<Items>
<f:DropDownBox runat="server" ID="drpWorkPostBox" AutoPostBack="true" OnTextChanged="MergeTextBox_TextChanged" Label="合并后的岗位" EmptyText="请从下拉表格中选择合并后的岗位" DataControlID="Grid1"
EnableMultiSelect="false" MatchFieldWidth="false" Required="true" ShowRedStar="true">
<PopPanel>
<f:Panel ID="Panel1" runat="server" BodyPadding="10px" Width="820px" Height="420px" Hidden="true"
ShowBorder="true" ShowHeader="false" Layout="VBox" BoxConfigAlign="Stretch">
<Items>
<f:Form ID="Form2" ShowBorder="False" ShowHeader="False" runat="server">
<Rows>
<f:FormRow>
<Items>
<f:TwinTriggerBox Width="200px" runat="server" EmptyText="按岗位代码、名称查找" ShowLabel="false" ID="ttbWorkPostNameCodeSearch"
AutoPostBack="true" OnTextChanged="TextBox_TextChanged" ShowTrigger1="false" OnTrigger1Click="ttbWorkPostNameCodeSearch_Trigger1Click" OnTrigger2Click="ttbWorkPostNameCodeSearch_Trigger2Click" Trigger1Icon="Clear" Trigger2Icon="Search">
</f:TwinTriggerBox>
</Items>
</f:FormRow>
</Rows>
</f:Form>
<f:Grid ID="Grid1" BoxFlex="1" DataKeyNames="WorkPostId"
DataIDField="WorkPostId" DataTextField="WorkPostName" EnableMultiSelect="false"
PageSize="50" ShowBorder="true" ShowHeader="false"
AllowPaging="true" IsDatabasePaging="true" OnPageIndexChange="Grid1_PageIndexChange" runat="server" EnableCheckBoxSelect="true"
AllowSorting="false" SortField="WorkPostName" SortDirection="ASC"
OnSort="Grid1_Sort">
<Columns>
<f:TemplateField ColumnID="tfPageIndex" Width="50px" HeaderText="序号" HeaderTextAlign="Center" TextAlign="Center"
EnableLock="true" Locked="true">
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Grid1.PageIndex * Grid1.PageSize + Container.DataItemIndex + 1 %>'></asp:Label>
</ItemTemplate>
</f:TemplateField>
<f:BoundField ExpandUnusedSpace="true" Width="200px" DataField="WorkPostCode" HeaderText="编号" />
<f:BoundField ExpandUnusedSpace="true" Width="260px" DataField="WorkPostName" HeaderText="岗位名称" />
<f:BoundField ExpandUnusedSpace="true" Width="120px" DataField="PostTypeName" HeaderText="类型" />
<f:BoundField ExpandUnusedSpace="true" Width="80px" DataField="IsHsseStr" HeaderText="安管人员" />
<f:BoundField ExpandUnusedSpace="true" Width="80px" DataField="IsCQMSStr" HeaderText="质量管理" />
<%--<f:BoundField ExpandUnusedSpace="true" Width="80px" DataField="IsCQMSCheckStr" HeaderText="质量报验" />--%>
<%--<f:RenderField ExpandUnusedSpace="true" Width="80px" DataField="IsHsse" FieldType="Boolean" HeaderText="安管人员" />
<f:RenderField ExpandUnusedSpace="true" Width="80px" DataField="IsCQMS" FieldType="Boolean" HeaderText="质量管理" />
<f:RenderField ExpandUnusedSpace="true" Width="80px" DataField="IsCQMSCheck" FieldType="Boolean" HeaderText="质量报验" />--%>
</Columns>
</f:Grid>
</Items>
</f:Panel>
</PopPanel>
</f:DropDownBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownBox runat="server" ID="drpMergeWorkPostBox" Label="需要合并的岗位" EmptyText="请从下拉表格中选择需要合并的岗位" DataControlID="Grid2"
EnableMultiSelect="true" MatchFieldWidth="false" Required="true" ShowRedStar="true">
<PopPanel>
<f:Panel ID="Panel2" runat="server" BodyPadding="10px" Width="820px" Height="420px" Hidden="true"
ShowBorder="true" ShowHeader="false" Layout="VBox" BoxConfigAlign="Stretch">
<Items>
<f:Form ID="Form3" ShowBorder="False" ShowHeader="False" runat="server">
<Rows>
<f:FormRow>
<Items>
<f:TwinTriggerBox Width="200px" runat="server" EmptyText="按编号、名称查找" ShowLabel="false" ID="ttbMergeWorkPostNameCodeSearch"
AutoPostBack="true" OnTextChanged="MergeTextBox_TextChanged" ShowTrigger1="false" OnTrigger1Click="ttbMergeWorkPostNameCodeSearch_Trigger1Click" OnTrigger2Click="ttbMergeWorkPostNameCodeSearch_Trigger2Click" Trigger1Icon="Clear" Trigger2Icon="Search">
</f:TwinTriggerBox>
</Items>
</f:FormRow>
</Rows>
</f:Form>
<f:Grid ID="Grid2" BoxFlex="1" DataKeyNames="WorkPostId"
DataIDField="WorkPostId" DataTextField="WorkPostName" EnableMultiSelect="true"
PageSize="50" ShowBorder="true" ShowHeader="false"
AllowPaging="true" IsDatabasePaging="true" OnPageIndexChange="Grid2_PageIndexChange" runat="server" EnableCheckBoxSelect="true"
AllowSorting="false" SortField="WorkPostName" SortDirection="ASC"
OnSort="Grid2_Sort">
<Columns>
<f:TemplateField ColumnID="tfPageIndex" Width="50px" HeaderText="序号" HeaderTextAlign="Center" TextAlign="Center"
EnableLock="true" Locked="true">
<ItemTemplate>
<asp:Label ID="lblPageIndex" runat="server" Text='<%# Grid2.PageIndex * Grid2.PageSize + Container.DataItemIndex + 1 %>'></asp:Label>
</ItemTemplate>
</f:TemplateField>
<f:BoundField ExpandUnusedSpace="true" Width="200px" DataField="WorkPostCode" HeaderText="编号" />
<f:BoundField ExpandUnusedSpace="true" Width="260px" DataField="WorkPostName" HeaderText="岗位名称" />
<f:BoundField ExpandUnusedSpace="true" Width="120px" DataField="PostTypeName" HeaderText="类型" />
<f:BoundField ExpandUnusedSpace="true" Width="80px" DataField="IsHsseStr" HeaderText="安管人员" />
<f:BoundField ExpandUnusedSpace="true" Width="80px" DataField="IsCQMSStr" HeaderText="质量管理" />
<%--<f:BoundField ExpandUnusedSpace="true" Width="80px" DataField="IsCQMSCheckStr" HeaderText="质量报验" />--%>
<%--<f:RenderField ExpandUnusedSpace="true" Width="80px" DataField="IsHsse" FieldType="Boolean" HeaderText="安管人员" />
<f:RenderField ExpandUnusedSpace="true" Width="80px" DataField="IsCQMS" FieldType="Boolean" HeaderText="质量管理" />
<f:RenderField ExpandUnusedSpace="true" Width="80px" DataField="IsCQMSCheck" FieldType="Boolean" HeaderText="质量报验" />--%>
</Columns>
</f:Grid>
</Items>
</f:Panel>
</PopPanel>
</f:DropDownBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextArea ID="txtRemark" runat="server" Label="备注说明" Height="120px" EmptyText="100字内">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Label ID="Label2" runat="server" Text="注:" CssClass="customlabel"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Label ID="Label3" runat="server" Text="1、请谨慎操作合并后数据无法恢复" CssClass="customlabel"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Label ID="Label4" runat="server" Text="2、建议在系统使用低峰时期合并项目岗位数据" CssClass="customlabel"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Label ID="Label5" runat="server" Text="3、数据合并过程缓慢请勿关闭此界面请耐心等待。" CssClass="customlabel"></f:Label>
</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" Hidden="true"
OnClick="btnSave_Click" ToolTip="开始清理">
</f:Button>
<f:Button ID="btnClose" EnablePostBack="false" ToolTip="关闭" runat="server" Icon="SystemClose">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
</f:Form>
</form>
</body>
</html>