|
|
|
|
<UserControl
|
|
|
|
|
x:Class="Kingo.Plugin.DLTB_IDG.View.UCQualityCheckListPlus"
|
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
|
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
|
|
|
|
|
xmlns:kui="clr-namespace:KUI;assembly=KUI"
|
|
|
|
|
mc:Ignorable="d" d:DesignHeight="550" MaxHeight="550" d:DesignWidth="1200" MaxWidth="1600">
|
|
|
|
|
<Grid Background="White" Height="380" MaxWidth="1600" VerticalAlignment="Top">
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="40"/>
|
|
|
|
|
<RowDefinition Height="450"/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="170"/>
|
|
|
|
|
<ColumnDefinition Width="200"/>
|
|
|
|
|
<ColumnDefinition Width="200"/>
|
|
|
|
|
<ColumnDefinition/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<kui:KFontIconButton Grid.Row="0" Margin="20,0" FIcon="" Background="#FF0093DF" Foreground="White" HorizontalAlignment="Center" VerticalAlignment="Center" Width="90" Height="30" x:Name="btnDataExtract" Content="数据加载" Click="BtnDataExtract_Click" />
|
|
|
|
|
<Label Grid.Row="0" Grid.Column="1" Content="错误报表:" VerticalAlignment="Center" HorizontalAlignment="Left"/>
|
|
|
|
|
<ComboBox Grid.Row="0" Grid.Column="1" Height="35" Width="140" x:Name="ErrBBComboBox" SelectionChanged="ErrBBComboBox_SelectionChanged" HorizontalAlignment="Right">
|
|
|
|
|
<!--<ComboBoxItem Content="错误报表" IsSelected="True"/>
|
|
|
|
|
<ComboBoxItem Content="一览表错误"/>-->
|
|
|
|
|
</ComboBox>
|
|
|
|
|
<Label Grid.Row="0" Grid.Column="2" Content="错误类型:" VerticalAlignment="Center" HorizontalAlignment="Left"/>
|
|
|
|
|
<ComboBox Grid.Row="0" Grid.Column="2" Height="35" Width="140" x:Name="ErrLXComboBox" SelectionChanged="ErrLXComboBox_SelectionChanged" HorizontalAlignment="Right">
|
|
|
|
|
</ComboBox>
|
|
|
|
|
<Grid Background="White" Grid.Row="1" Grid.ColumnSpan="4" MaxHeight="550" MaxWidth="1600">
|
|
|
|
|
<GroupBox Header="错误详细信息" FontSize="14" HorizontalAlignment="Stretch" Margin="8" VerticalAlignment="Stretch">
|
|
|
|
|
<Grid MaxHeight="550" MaxWidth="1600">
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="190"/>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="300" MaxHeight="300" />
|
|
|
|
|
<RowDefinition Height="300" MaxHeight="300" />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<Grid x:Name="gridTBList" >
|
|
|
|
|
<Grid.Resources>
|
|
|
|
|
<HierarchicalDataTemplate x:Key="ItemNode" ItemsSource="{Binding}">
|
|
|
|
|
<StackPanel Orientation="Horizontal" Height="28" ContextMenu="{Binding cMenu}">
|
|
|
|
|
<TextBlock Name="txtBox" Text="{Binding BSM}" FontSize="13" VerticalAlignment="Center" Margin="3,0,0,0">
|
|
|
|
|
</TextBlock>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<HierarchicalDataTemplate.Triggers>
|
|
|
|
|
<DataTrigger Binding="{Binding IsOpenEdit,Mode=TwoWay}" Value="true">
|
|
|
|
|
<Setter TargetName="txtBox" Property="Foreground" Value="Red" />
|
|
|
|
|
</DataTrigger>
|
|
|
|
|
</HierarchicalDataTemplate.Triggers>
|
|
|
|
|
</HierarchicalDataTemplate>
|
|
|
|
|
</Grid.Resources>
|
|
|
|
|
<ListBox x:Name="lbTBList" SelectionChanged="LbTBList_SelectionChanged" ItemTemplate="{StaticResource ItemNode}" ></ListBox>
|
|
|
|
|
</Grid>
|
|
|
|
|
<Grid x:Name="gridLayerAttribute" Grid.Column="1">
|
|
|
|
|
<dxg:GridControl x:Name="dgTableMapping">
|
|
|
|
|
<dxg:GridControl.View>
|
|
|
|
|
<dxg:TableView Name="tvAttr"
|
|
|
|
|
RowDoubleClick="TvAttr_RowDoubleClick"
|
|
|
|
|
IsColumnMenuEnabled="False"
|
|
|
|
|
RowMinHeight="30"
|
|
|
|
|
AllowColumnFiltering="True"
|
|
|
|
|
AllowSorting="True"
|
|
|
|
|
AllowEditing="False"
|
|
|
|
|
HorizontalContentAlignment="Left"
|
|
|
|
|
VerticalScrollbarVisibility="Auto"
|
|
|
|
|
ShowTotalSummary="False"
|
|
|
|
|
ShowFilterPanelMode="Never"
|
|
|
|
|
AllowPerPixelScrolling="False"
|
|
|
|
|
ShowFixRowButton="Never"
|
|
|
|
|
ShowFixedTotalSummary="False"
|
|
|
|
|
ShowSearchPanelMode="Never"
|
|
|
|
|
AllowGrouping="True"
|
|
|
|
|
MultiSelectMode="Row"
|
|
|
|
|
AllowBestFit="False"
|
|
|
|
|
ShowGroupPanel="False"
|
|
|
|
|
ShowAutoFilterRow="True"
|
|
|
|
|
AllowFilterEditor="True"
|
|
|
|
|
/>
|
|
|
|
|
</dxg:GridControl.View>
|
|
|
|
|
<dxg:GridControl.Columns>
|
|
|
|
|
<dxg:GridColumn Header="序号" FieldName="XH" Width="40" ReadOnly="True" />
|
|
|
|
|
<!--<dxg:GridColumn Header="错误代码" FieldName="ErrorCode" Width="*" ReadOnly="True" />-->
|
|
|
|
|
<dxg:GridColumn Header="错误描述" FieldName="ErrorDescription" Width="4*" ReadOnly="True" />
|
|
|
|
|
<!--<dxg:GridColumn Header="例外说明" FieldName="ExceptionDescription" Width="*" ReadOnly="True" />-->
|
|
|
|
|
</dxg:GridControl.Columns>
|
|
|
|
|
</dxg:GridControl>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Grid>
|
|
|
|
|
</GroupBox>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Grid>
|
|
|
|
|
</UserControl>
|