2022-03-15 17:36:38 +08:00
|
|
|
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RectifyEdit.aspx.cs" Inherits="FineUIPro.Web.OfficeCheck.Check.RectifyEdit" %>
|
|
|
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
<head runat="server">
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
2025-02-24 00:29:01 +08:00
|
|
|
<title><asp:Literal runat="server" Text="<%$ Resources:Lan,OC_RectifyEdit_title%>"/></title>
|
2022-03-15 17:36:38 +08:00
|
|
|
<link href="../../res/css/common.css" rel="stylesheet" type="text/css" />
|
|
|
|
<script type="text/javascript" src="../../Controls/My97DatePicker/WdatePicker.js"></script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<form id="form1" runat="server">
|
|
|
|
<f:PageManager ID="PageManager1" runat="server" AutoSizePanelID="Panel4" />
|
|
|
|
<f:Panel ID="Panel4" runat="server" BodyPadding="10px" ShowBorder="true" ShowHeader="false" AutoScroll="true">
|
|
|
|
<Items>
|
|
|
|
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true" EnableTableStyle="true"
|
|
|
|
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
|
|
|
<Rows>
|
|
|
|
<f:FormRow runat="server">
|
|
|
|
<Items>
|
2025-02-24 00:29:01 +08:00
|
|
|
<f:TextBox ID="txtRectifyNoticesCode" runat="server" Label="<%$ Resources:Lan,OC_RectifyEdit_txtRectifyNoticesCode_Label%>" MaxLength="70" >
|
2022-03-15 17:36:38 +08:00
|
|
|
</f:TextBox>
|
2025-02-24 00:29:01 +08:00
|
|
|
<f:DropDownList ID="drpProjectId" runat="server" Label="<%$ Resources:Lan,OC_RectifyEdit_drpProjectId_Label%>"
|
2022-03-15 17:36:38 +08:00
|
|
|
LabelAlign="Right" EnableEdit="true">
|
|
|
|
</f:DropDownList>
|
|
|
|
</Items>
|
|
|
|
</f:FormRow>
|
|
|
|
<f:FormRow runat="server">
|
|
|
|
<Items>
|
2025-02-24 00:29:01 +08:00
|
|
|
<f:DropDownList ID="drpCheckMan" runat="server" Label="<%$ Resources:Lan,OC_RectifyEdit_txtCheckPerson_Label%>" LabelAlign="Right"
|
2022-03-15 17:36:38 +08:00
|
|
|
EnableEdit="true" EnableMultiSelect="true" AutoPostBack="true" OnSelectedIndexChanged="drpCheckMan_SelectedIndexChanged" >
|
|
|
|
</f:DropDownList>
|
2025-02-24 00:29:01 +08:00
|
|
|
<f:TextBox runat="server" Label="<%$ Resources:Lan,OC_RectifyEdit_txtCheckPerson_Label%>" ID="txtCheckPerson"></f:TextBox>
|
2022-03-15 17:36:38 +08:00
|
|
|
</Items>
|
|
|
|
</f:FormRow>
|
|
|
|
<f:FormRow runat="server">
|
|
|
|
<Items>
|
2025-02-24 00:29:01 +08:00
|
|
|
<f:DatePicker runat="server" DateFormatString="yyyy-MM-dd" Label="<%$ Resources:Lan,OC_RectifyEdit_txtCheckedDate_Label%>" ID="txtCheckedDate"
|
2022-03-15 17:36:38 +08:00
|
|
|
LabelAlign="right" ShowRedStar="true">
|
|
|
|
</f:DatePicker>
|
2025-02-24 00:29:01 +08:00
|
|
|
<f:DropDownList ID="drpHiddenHazardType" runat="server" Label="<%$ Resources:Lan,OC_RectifyEdit_drpHiddenHazardType_Label%>" EnableEdit="true" EmptyText="<%$ Resources:Lan,OC_RectifyEdit_drpHiddenHazardType_EmptyText%>">
|
2022-03-15 17:36:38 +08:00
|
|
|
<f:ListItem Text="一般" Value="1" />
|
|
|
|
<f:ListItem Text="较大" Value="2" />
|
|
|
|
<f:ListItem Text="重大" Value="3" />
|
|
|
|
</f:DropDownList>
|
|
|
|
</Items>
|
|
|
|
</f:FormRow>
|
|
|
|
</Rows>
|
|
|
|
<Toolbars>
|
|
|
|
<f:Toolbar ID="Toolbar1" Position="Top" ToolbarAlign="Right" runat="server">
|
|
|
|
<Items>
|
|
|
|
<f:HiddenField ID="hdRectifyNoticesId" runat="server"></f:HiddenField>
|
2025-02-24 00:29:01 +08:00
|
|
|
<f:Button ID="btnSave" OnClick="btnSave_Click" Icon="<%$ Resources:Lan,NoticeEdit_btnSave_Icon%>" runat="server" ToolTip="<%$ Resources:Lan,OC_ProjectEvaluationEdit_btnSave_ToolTip%>" ValidateForms="SimpleForm1" >
|
2022-03-15 17:36:38 +08:00
|
|
|
</f:Button>
|
2025-02-24 00:29:01 +08:00
|
|
|
<f:Button ID="btnSubmit" OnClick="btnSubmit_Click" Icon="<%$ Resources:Lan,NoticeEdit_btnSubmit_Icon%>" runat="server" ToolTip="<%$ Resources:Lan,OC_RectifyEdit_btnSubmit_ToolTip%>" ValidateForms="SimpleForm1" >
|
2022-03-15 17:36:38 +08:00
|
|
|
</f:Button>
|
|
|
|
</Items>
|
|
|
|
</f:Toolbar>
|
|
|
|
</Toolbars>
|
|
|
|
</f:Form>
|
2025-02-24 00:29:01 +08:00
|
|
|
<f:Form ID="Form2" ShowBorder="true" ShowHeader="false" Title="<%$ Resources:Lan,OC_RectifyEdit_Grid1_Title%>" AutoScroll="true"
|
2022-03-15 17:36:38 +08:00
|
|
|
runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
|
|
|
<Rows>
|
|
|
|
<f:FormRow>
|
|
|
|
<Items>
|
|
|
|
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" AllowCellEditing="true" ClicksToEdit="1"
|
|
|
|
ForceFit="true" EnableCollapse="true" EnableColumnLines="true" EnableColumnMove="true" runat="server" BoxFlex="1"
|
|
|
|
DataKeyNames="RectifyItemId,IsRectify" DataIDField="RectifyItemId" AllowSorting="true" SortField="RectifyItemId"
|
|
|
|
SortDirection="ASC" EnableTextSelection="True" MinHeight="240px" PageSize="500"
|
|
|
|
EnableRowDoubleClickEvent="true" OnRowCommand="Grid1_RowCommand" OnRowDataBound="Grid1_RowDataBound">
|
|
|
|
<Toolbars>
|
|
|
|
<f:Toolbar ID="toolAdd" Position="Top" ToolbarAlign="Right" runat="server">
|
|
|
|
<Items>
|
2025-02-24 00:29:01 +08:00
|
|
|
<f:Button ID="btnAdd" Icon="<%$ Resources:Lan,NoIssuedNotice_btnNew_Icon%>" runat="server" OnClick="btnAdd_Click" ToolTip="<%$ Resources:Lan,OC_ProjectEvaluation_btnNew_ToolTip%>">
|
2022-03-15 17:36:38 +08:00
|
|
|
</f:Button>
|
|
|
|
</Items>
|
|
|
|
</f:Toolbar>
|
|
|
|
</Toolbars>
|
|
|
|
<Columns>
|
|
|
|
<f:RenderField HeaderText="主键" ColumnID="RectifyItemId" DataField="RectifyItemId"
|
|
|
|
SortField="RectifyItemId" FieldType="String" HeaderTextAlign="Center" TextAlign="Center"
|
|
|
|
Hidden="true">
|
|
|
|
</f:RenderField>
|
|
|
|
<f:RenderField Width="300px" ColumnID="WrongContent" DataField="WrongContent" FieldType="string"
|
2025-02-24 00:29:01 +08:00
|
|
|
HeaderText="<%$ Resources:Lan,OC_RectifyEdit_Grid1_Column_WrongContent_HeaderText%>">
|
2022-03-15 17:36:38 +08:00
|
|
|
<Editor>
|
|
|
|
<f:TextBox ID="tWrongContent" runat="server" MaxLength="800" ShowRedStar="true" Required="true">
|
|
|
|
</f:TextBox>
|
|
|
|
</Editor>
|
|
|
|
</f:RenderField>
|
|
|
|
<f:RenderField Width="100px" ColumnID="Requirement" DataField="Requirement" FieldType="string"
|
2025-02-24 00:29:01 +08:00
|
|
|
HeaderText="<%$ Resources:Lan,OC_RectifyEdit_Grid1_Column_Requirement_HeaderText%>">
|
2022-03-15 17:36:38 +08:00
|
|
|
<Editor>
|
|
|
|
<f:TextBox ID="tRequirement" runat="server" MaxLength="800" ShowRedStar="true" Required="true">
|
|
|
|
</f:TextBox>
|
|
|
|
</Editor>
|
|
|
|
</f:RenderField>
|
2025-02-24 00:29:01 +08:00
|
|
|
<f:TemplateField ColumnID="LimitTime" Width="100px" HeaderText="<%$ Resources:Lan,OC_RectifyEdit_Grid1_Column_LimitTime_HeaderText%>" HeaderTextAlign="Center"
|
2022-03-15 17:36:38 +08:00
|
|
|
TextAlign="Left">
|
|
|
|
<ItemTemplate>
|
|
|
|
<asp:TextBox ID="txtLimitTimes" runat="server" Text='<%# Eval("LimitTime")!=null? ConvertDate(Eval("LimitTime")):"" %>'
|
|
|
|
Width="98%" CssClass="Wdate" Style="width: 98%; cursor: hand" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',skin:'whyGreen'})"
|
|
|
|
BorderStyle="None">
|
|
|
|
</asp:TextBox>
|
|
|
|
</ItemTemplate>
|
|
|
|
</f:TemplateField>
|
|
|
|
<f:LinkButtonField HeaderText="整改前" ConfirmTarget="Top" Width="80" CommandName="AttachUrl"
|
2025-02-24 00:29:01 +08:00
|
|
|
TextAlign="Center" ToolTip="<%$ Resources:Lan,OC_RectifyEdit_Grid1_Column_AttachUrl_ToolTip%>" Text="<%$ Resources:Lan,OC_RectifyEdit_Grid1_Column_AttachUrl_Text%>" />
|
2022-03-15 17:36:38 +08:00
|
|
|
<f:RenderField Width="100px" ColumnID="RectifyResults" DataField="RectifyResults" FieldType="string"
|
2025-02-24 00:29:01 +08:00
|
|
|
HeaderText="<%$ Resources:Lan,OC_RectifyEdit_Grid1_Column_RectifyResults_HeaderText%>">
|
2022-03-15 17:36:38 +08:00
|
|
|
<Editor>
|
|
|
|
<f:TextBox ID="txtRectifyResults" runat="server" MaxLength="800" LabelWidth="160px">
|
|
|
|
</f:TextBox>
|
|
|
|
</Editor>
|
|
|
|
</f:RenderField>
|
2025-02-24 00:29:01 +08:00
|
|
|
<f:LinkButtonField ColumnID="ReAttachUrl" HeaderText="<%$ Resources:Lan,OC_RectifyEdit_Grid1_Column_ReAttachUrl_Text%>" ConfirmTarget="Top" Width="80" CommandName="ReAttachUrl"
|
|
|
|
TextAlign="Center" ToolTip="<%$ Resources:Lan,OC_RectifyEdit_Grid1_Column_AttachUrl_ToolTip%>" Text="<%$ Resources:Lan,OC_RectifyEdit_Grid1_Column_ReAttachUrl_Text%>" />
|
|
|
|
<f:TemplateField ColumnID="IsRectify" HeaderText="<%$ Resources:Lan,OC_RectifyEdit_Grid1_Column_IsRectify_HeaderText%>" HeaderTextAlign="Center" TextAlign="Center" Width="60px">
|
2022-03-15 17:36:38 +08:00
|
|
|
<ItemTemplate>
|
|
|
|
<asp:DropDownList ID="drpIsRectify" runat="server">
|
2025-02-24 00:29:01 +08:00
|
|
|
<asp:ListItem Value="false"><asp:Literal runat="server" Text="<%$ Resources:Lan,OC_RectifyEdit_drpIsRectify_Item_False%>"/></asp:ListItem>
|
|
|
|
<asp:ListItem Value="true"><asp:Literal runat="server" Text="<%$ Resources:Lan,OC_RectifyEdit_drpIsRectify_Item_True%>"/></asp:ListItem>
|
2022-03-15 17:36:38 +08:00
|
|
|
</asp:DropDownList>
|
|
|
|
<f:HiddenField ID="hdIsRectify" runat="server" Text='<%# Eval("IsRectify") %>'></f:HiddenField>
|
|
|
|
</ItemTemplate>
|
|
|
|
</f:TemplateField>
|
2025-02-24 00:29:01 +08:00
|
|
|
<f:LinkButtonField ID="del" ColumnID="del" HeaderText="<%$ Resources:Lan,OC_ProjectEvaluation_Menu1_btnMenuDelete_Text%>" Width="60px" CommandName="delete"
|
|
|
|
Icon="<%$ Resources:Lan,NoIssuedNotice_Menu1_btnMenuDelete_Icon%>" />
|
2022-03-15 17:36:38 +08:00
|
|
|
</Columns>
|
|
|
|
</f:Grid>
|
|
|
|
</Items>
|
|
|
|
</f:FormRow>
|
|
|
|
</Rows>
|
|
|
|
</f:Form>
|
|
|
|
<f:Form ID="Form3" ShowBorder="false" ShowHeader="false" AutoScroll="true"
|
|
|
|
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
|
|
|
<Rows>
|
|
|
|
<f:FormRow runat="server" ID="next">
|
|
|
|
<Items>
|
2025-02-24 00:29:01 +08:00
|
|
|
<f:DropDownList ID="drpSignPerson" runat="server" Label="<%$ Resources:Lan,OC_RectifyEdit_drpSignPerson_Label%>" LabelWidth="110px"
|
2022-03-15 17:36:38 +08:00
|
|
|
LabelAlign="Right" EnableEdit="true" ShowRedStar="true">
|
|
|
|
</f:DropDownList>
|
|
|
|
<f:Label runat="server"></f:Label>
|
|
|
|
</Items>
|
|
|
|
</f:FormRow>
|
|
|
|
</Rows>
|
|
|
|
</f:Form>
|
|
|
|
</Items>
|
|
|
|
</f:Panel>
|
2025-02-24 00:29:01 +08:00
|
|
|
<f:Window ID="WindowAtt" Title="<%$ Resources:Lan,OC_RectifyEdit_WindowAtt_Title%>" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
2022-03-15 17:36:38 +08:00
|
|
|
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="700px"
|
|
|
|
Height="500px">
|
|
|
|
</f:Window>
|
|
|
|
</form>
|
|
|
|
</body>
|
|
|
|
</html>
|