2023-07-28 11:14:32 +08:00
|
|
|
|
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SubWorkInspect.aspx.cs" Inherits="FineUIPro.Web.TestRun.BeforeTestRun.SubWorkInspect" %>
|
|
|
|
|
|
|
|
|
|
<!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;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<form id="form1" runat="server">
|
|
|
|
|
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
|
|
|
|
|
<f:Panel ID="Panel1" runat="server" ShowBorder="false" ShowHeader="false" Layout="Region">
|
|
|
|
|
<Items>
|
|
|
|
|
<f:Panel runat="server" ID="panelLeftRegion" RegionPosition="Left" RegionSplit="true"
|
|
|
|
|
EnableCollapse="true" Width="220px" Title="子系统工作包检查" ShowBorder="true" Layout="VBox"
|
|
|
|
|
ShowHeader="false" AutoScroll="true" BodyPadding="5px" IconFont="ArrowCircleLeft">
|
|
|
|
|
<Items>
|
|
|
|
|
<f:Tree ID="tvControlItem" ShowHeader="false" Title="工作包" OnNodeCommand="tvControlItem_NodeCommand"
|
|
|
|
|
runat="server" ShowBorder="false" EnableCollapse="true" EnableSingleClickExpand="true"
|
2023-08-04 11:19:37 +08:00
|
|
|
|
AutoLeafIdentification="true" EnableSingleExpand="false">
|
2023-07-28 11:14:32 +08:00
|
|
|
|
</f:Tree>
|
|
|
|
|
</Items>
|
|
|
|
|
</f:Panel>
|
|
|
|
|
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="true" EnableCollapse="true" runat="server" DataIDField="SubItemId" DataKeyNames="SubItemId" AllowSorting="true" SortField="Sort" SortDirection="ASC" EnableColumnLines="true" AllowCellEditing="true" EnableMultiSelect="false" AllowFilters="true" OnSort="Grid1_Sort" EnableTextSelection="True">
|
|
|
|
|
<Toolbars>
|
|
|
|
|
<f:Toolbar ID="Toolbar1" runat="server">
|
|
|
|
|
<Items>
|
|
|
|
|
<f:ToolbarFill ID="ToolbarFill" runat="server"></f:ToolbarFill>
|
|
|
|
|
<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="300px"></f:RenderField>
|
|
|
|
|
<f:RenderField ExpandUnusedSpace="true" MinWidth="300px" ColumnID="InspectionIllustrate" DataField="InspectionIllustrate" HeaderText="说明">
|
|
|
|
|
<Editor>
|
|
|
|
|
<f:TextBox runat="server" ID="txtInspectionIllustrate"></f:TextBox>
|
|
|
|
|
</Editor>
|
|
|
|
|
</f:RenderField>
|
|
|
|
|
<f:RenderField ExpandUnusedSpace="true" MinWidth="150px" ColumnID="InspectionResults" DataField="InspectionResults"
|
|
|
|
|
HeaderText="检查结果" RendererFunction="renderInspectionResults">
|
|
|
|
|
<Editor>
|
|
|
|
|
<f:DropDownList ID="ddlInspectionResults" Required="true" EnableEdit="true" ForceSelection="false" runat="server">
|
|
|
|
|
<f:ListItem Value="1" Text="通过" />
|
|
|
|
|
<f:ListItem Value="0" Text="未通过" />
|
|
|
|
|
</f:DropDownList>
|
|
|
|
|
</Editor>
|
|
|
|
|
</f:RenderField>
|
|
|
|
|
</Columns>
|
|
|
|
|
</f:Grid>
|
|
|
|
|
</Items>
|
|
|
|
|
</f:Panel>
|
|
|
|
|
</form>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
// 返回false,来阻止浏览器右键菜单
|
|
|
|
|
function onRowContextMenu(event, rowId) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
function reloadGrid() {
|
|
|
|
|
__doPostBack(null, 'reloadGrid');
|
|
|
|
|
}
|
|
|
|
|
//检查人
|
|
|
|
|
var ddlInspectionResults = '<%= ddlInspectionResults.ClientID %>';
|
|
|
|
|
function renderInspectionResults(value) {
|
|
|
|
|
return F(ddlInspectionResults).getTextByValue(value);
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|