147 lines
9.8 KiB
Plaintext
147 lines
9.8 KiB
Plaintext
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="InspectWanderAboutConfirm.aspx.cs" Inherits="FineUIPro.Web.TestRun.BeforeTestRun.InspectWanderAboutConfirm" %>
|
||
|
||
<!DOCTYPE html>
|
||
|
||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||
<head runat="server">
|
||
<title>签字确认</title>
|
||
<style>
|
||
.f-grid-row .f-grid-cell-inner {
|
||
white-space: normal;
|
||
word-break: break-all;
|
||
}
|
||
|
||
.mycheckbox .f-field-checkbox-switch .f-field-checkbox-switch-text {
|
||
min-width: 40px;
|
||
}
|
||
|
||
.f-grid-tpl .ispass input {
|
||
margin: 3px;
|
||
}
|
||
|
||
.f-grid-tpl .ispass label {
|
||
margin-left: 3px;
|
||
margin-right: 10px;
|
||
}
|
||
</style>
|
||
</head>
|
||
<body>
|
||
<form id="form1" runat="server">
|
||
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
|
||
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true"
|
||
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Left">
|
||
<Rows>
|
||
<f:FormRow ID="plApprove2">
|
||
<Items>
|
||
<f:ContentPanel ID="titleName" Title="检查项列表" ShowBorder="true"
|
||
BodyPadding="10px" EnableCollapse="true" ShowHeader="true" AutoScroll="true"
|
||
runat="server">
|
||
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" EnableCollapse="true" runat="server" DataIDField="TermItemId" DataKeyNames="TermItemId,SubItemId,InspectionResults,SubInspectId,IsPass" AllowSorting="true" SortField="Sort" SortDirection="ASC" EnableColumnLines="true" AllowCellEditing="true" EnableMultiSelect="false" AllowFilters="true" OnSort="Grid1_Sort" EnableTextSelection="True" OnRowDataBound="Grid1_RowDataBound" ClicksToEdit="1">
|
||
<Toolbars>
|
||
<f:Toolbar ID="Toolbar1" runat="server">
|
||
<Items>
|
||
<f:FileUpload runat="server" ID="fileData" LabelAlign="Right" EmptyText="请选择Excel文件" Label="附件" Required="true" ButtonIcon="Add" ShowRedStar="true"></f:FileUpload>
|
||
<f:Button ID="btnImport" runat="server" OnClick="btnImport_Click" Text="导入"></f:Button>
|
||
<f:ToolbarFill ID="ToolbarFill" runat="server"></f:ToolbarFill>
|
||
<f:Button ID="btnExport" runat="server" Icon="ApplicationGo" Text="导出" ToolTip="导出" OnClick="btnExport_Click" EnableAjax="false"></f:Button>
|
||
<f:Button ID="btnSave" Text="保存" ToolTip="保存" Icon="FilmSave" runat="server" OnClick="btnSave_Click"></f:Button>
|
||
</Items>
|
||
</f:Toolbar>
|
||
</Toolbars>
|
||
<Columns>
|
||
<f:RowNumberField EnablePagingNumber="true" Width="50px" HeaderTextAlign="Center" TextAlign="Center" />
|
||
<f:RenderField HeaderText="检查事项" ColumnID="WorkInspectName" DataField="WorkInspectName" SortField="WorkInspectName" Width="400px"></f:RenderField>
|
||
|
||
<f:RenderField HeaderText="检查人" ColumnID="InspectedUserName" DataField="InspectedUserName" Width="100px"></f:RenderField>
|
||
<f:TemplateField Width="100px" HeaderText="检查结果">
|
||
<ItemTemplate>
|
||
<asp:Label ID="lblInspectionResults" runat="server" Text='<%# Results(Eval("InspectionResults")) %>'></asp:Label>
|
||
</ItemTemplate>
|
||
</f:TemplateField>
|
||
|
||
<f:RenderField HeaderText="检查说明" ColumnID="InspectionIllustrate" DataField="InspectionIllustrate" Width="200px"></f:RenderField>
|
||
<f:TemplateField Width="200px" HeaderText="会签确认" ColumnID="IsPass">
|
||
<ItemTemplate>
|
||
<asp:RadioButtonList runat="server" RepeatLayout="Flow" CssClass="ispass" RepeatDirection="Horizontal" ID="rblIsPass" AutoPostBack="true" OnSelectedIndexChanged="rblIsPass_SelectedIndexChanged">
|
||
<asp:ListItem Text="通过" Value="1" Selected="True"></asp:ListItem>
|
||
<asp:ListItem Text="未通过" Value="0"></asp:ListItem>
|
||
</asp:RadioButtonList>
|
||
</ItemTemplate>
|
||
</f:TemplateField>
|
||
<f:RenderField HeaderText="备注" ColumnID="Remark" DataField="Remark" SortField="Remark"
|
||
FieldType="String" HeaderTextAlign="Center" TextAlign="Center" Width="200px">
|
||
<Editor>
|
||
<f:TextBox runat="server" ID="txtRemark"></f:TextBox>
|
||
</Editor>
|
||
</f:RenderField>
|
||
</Columns>
|
||
</f:Grid>
|
||
</f:ContentPanel>
|
||
</Items>
|
||
</f:FormRow>
|
||
<f:FormRow>
|
||
<Items>
|
||
<f:ContentPanel ID="ContentPanel1" Title="检查项确认" ShowBorder="true"
|
||
BodyPadding="10px" EnableCollapse="true" ShowHeader="true" AutoScroll="true"
|
||
runat="server">
|
||
<f:Form ID="Form2" ShowBorder="false" ShowHeader="false" AutoScroll="true"
|
||
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
||
<Rows>
|
||
<f:FormRow>
|
||
<Items>
|
||
<f:RadioButtonList ID="rblIsAllPass" Label="是否同意进行预试车活动" LabelWidth="180px" LabelAlign="Right" ColumnNumber="2" runat="server" AutoColumnWidth="true" AutoPostBack="true" OnSelectedIndexChanged="rblIsAllPass_SelectedIndexChanged">
|
||
<f:RadioItem Text="通过" Value="1" Selected="true" />
|
||
<f:RadioItem Text="未通过" Value="0" />
|
||
</f:RadioButtonList>
|
||
<f:Panel ID="Panel3" Width="500px" ShowHeader="false" ShowBorder="false" Layout="Column" CssClass="" runat="server">
|
||
<Items>
|
||
<f:Label ID="lblAttach" runat="server" Label="上传附件" LabelWidth="180px" LabelAlign="Right">
|
||
</f:Label>
|
||
<f:Button ID="btnAttach" Icon="TableCell" EnablePostBack="true" Text="附件" runat="server" OnClick="btnAttach_Click">
|
||
</f:Button>
|
||
</Items>
|
||
</f:Panel>
|
||
</Items>
|
||
</f:FormRow>
|
||
<f:FormRow>
|
||
<Items>
|
||
<f:Label ID="lblIsUnifyWanderAbout" runat="server" Label="是否统一流转通过" LabelWidth="160px" LabelAlign="Right"></f:Label>
|
||
<f:Label ID="lblUnifyWanderAboutData" runat="server" Label="统一流转通过时间" LabelWidth="160px" LabelAlign="Right"></f:Label>
|
||
</Items>
|
||
</f:FormRow>
|
||
<f:FormRow ID="unifyfile">
|
||
<Items>
|
||
<f:Panel ID="Panel2" ShowHeader="false" ShowBorder="false" Layout="Column" runat="server">
|
||
<Items>
|
||
<f:Label runat="server" Text="统一流转通过附件:" CssStyle="padding-left:25px" Width="160px" CssClass="marginr" ShowLabel="false"></f:Label>
|
||
<f:Button ID="btnUnifyUpload" Text="查看" ToolTip="查看" Icon="TableCell" runat="server"
|
||
OnClick="btnUnifyUpload_Click">
|
||
</f:Button>
|
||
</Items>
|
||
</f:Panel>
|
||
</Items>
|
||
</f:FormRow>
|
||
</Rows>
|
||
</f:Form>
|
||
</f:ContentPanel>
|
||
</Items>
|
||
</f:FormRow>
|
||
</Rows>
|
||
</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>
|
||
<script type="text/javascript">
|
||
// 返回false,来阻止浏览器右键菜单
|
||
function onRowContextMenu(event, rowId) {
|
||
return false;
|
||
}
|
||
function reloadGrid() {
|
||
__doPostBack(null, 'reloadGrid');
|
||
}
|
||
</script>
|
||
</body>
|
||
</html>
|