You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
124 lines
10 KiB
124 lines
10 KiB
<windows:BaseWindow |
|
xmlns:windows="clr-namespace:KGIS.Framework.Utils;assembly=KGIS.Framework.Utils" |
|
x:Class="Kingo.Plugin.ProofManager.View.EvidentiaryResults" |
|
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:local="clr-namespace:Kingo.Plugin.ProofManager.View" |
|
xmlns:kui="clr-namespace:KUI;assembly=KUI" |
|
xmlns:btn="clr-namespace:KUI.Button;assembly=KUI" |
|
mc:Ignorable="d" WindowStartupLocation="CenterScreen" ResizeMode="CanResize" |
|
Title="举证成果导出" |
|
Height="540" Width="880"> |
|
<Window.Resources> |
|
<local:BCFSToBoolConverter x:Key="BCFSToBoolConverter"></local:BCFSToBoolConverter> |
|
</Window.Resources> |
|
<Grid> |
|
<Grid.ColumnDefinitions> |
|
<ColumnDefinition Width="260" /> |
|
<ColumnDefinition Width="5" /> |
|
<ColumnDefinition /> |
|
</Grid.ColumnDefinitions> |
|
<Grid> |
|
<Grid.Resources> |
|
<HierarchicalDataTemplate x:Key="ItemNode" ItemsSource="{Binding}"> |
|
<StackPanel Orientation="Horizontal" Height="28" VerticalAlignment="Center" ContextMenu="{Binding cMenu}"> |
|
<CheckBox VerticalAlignment="Center" Margin="5,0" IsChecked="True" Tag="{Binding FileName}" Checked="CheckBox_Checked" Unchecked="CheckBox_Unchecked" /> |
|
<TextBlock Name="txtBox" Text="{Binding FileName}" FontSize="13" VerticalAlignment="Center"> |
|
</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> |
|
<Grid.RowDefinitions> |
|
<RowDefinition Height="34" /> |
|
<RowDefinition /> |
|
</Grid.RowDefinitions> |
|
<StackPanel Grid.Column="0" Grid.Row="0" Grid.ColumnSpan="3" Background="#F6F6F6" Orientation="Horizontal" VerticalAlignment="Center" Margin="0,5,0,0" Height="34"> |
|
<Image Source="/Kingo.Plugin.ProofManager;component/Resources/图斑变更.png" VerticalAlignment="Top" Height="18" Width="18" Margin="5,9,5,0"/> |
|
<TextBlock VerticalAlignment="Center" Text="举证包列表"></TextBlock> |
|
</StackPanel> |
|
<ListBox Grid.Row="1" x:Name="lbDbList" ItemTemplate="{StaticResource ItemNode}" > |
|
</ListBox> |
|
</Grid> |
|
<GridSplitter HorizontalAlignment="Stretch" Grid.Column="1"/> |
|
<Grid Grid.Column="2"> |
|
<Grid.RowDefinitions> |
|
<RowDefinition Height="auto"/> |
|
<RowDefinition /> |
|
<RowDefinition Height="auto"/> |
|
<RowDefinition Height="auto"/> |
|
<RowDefinition Height="20"/> |
|
<RowDefinition Height="50"/> |
|
</Grid.RowDefinitions> |
|
<StackPanel Grid.Column="0" Grid.Row="0" Grid.ColumnSpan="3" Background="#F6F6F6" Orientation="Horizontal" Margin="0,5,0,0" Height="34"> |
|
<Image Source="/Kingo.Plugin.ProofManager;component/Resources/图斑变更.png" VerticalAlignment="Top" Height="18" Width="18" Margin="5,9,5,0"/> |
|
<TextBlock VerticalAlignment="Center" Text="图斑列表"></TextBlock> |
|
</StackPanel> |
|
<dxg:GridControl x:Name="dgFileData" ClipboardCopyMode="ExcludeHeader" Grid.Row="1" AutoGenerateColumns="KeepOld"> |
|
<dxg:GridControl.View> |
|
<dxg:TableView x:Name="tableView" IsColumnMenuEnabled="False" ShowCheckBoxSelectorColumn="True" RowMinHeight="25" ShowTotalSummary="False" AllowGrouping="False" ShowGroupPanel="False" AllowEditing="True" VerticalScrollbarVisibility="Auto" AllowCellMerge="True" IndicatorWidth="0" AllowBestFit="True" ShowGroupedColumns="True" ShowAutoFilterRow="True" ShowSearchPanelMode="Never" ShowSearchPanelCloseButton="False" ShowSearchPanelFindButton="False" SearchPanelFindFilter="Contains" SearchPanelFindMode="FindClick" SearchPanelHorizontalAlignment="Stretch" BestFitMode="Smart" ShowSearchPanelMRUButton="False" ShowFilterPanelMode="Never" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/> |
|
</dxg:GridControl.View> |
|
<dxg:GridControl.Columns> |
|
<!--<dxg:GridColumn FieldName="IsChecked" AllowCellMerge="False" AllowSorting="False" Header="全选" MinWidth="50" Width="50" HorizontalHeaderContentAlignment="Center" AllowColumnFiltering="False"> |
|
<dxg:GridColumn.HeaderTemplate> |
|
<DataTemplate> |
|
<dxe:CheckEdit x:Name="chkSelectedAll" EditValueChanged="chkSelectedAll_EditValueChanged"></dxe:CheckEdit> |
|
</DataTemplate> |
|
</dxg:GridColumn.HeaderTemplate> |
|
</dxg:GridColumn>--> |
|
<dxg:GridColumn Header="举证包" ReadOnly="True" Width="*" FieldName="DBNAME" HorizontalHeaderContentAlignment="Center" AutoFilterCondition="Contains" ImmediateUpdateAutoFilter="False" ImmediateUpdateColumnFilter="False"/> |
|
</dxg:GridControl.Columns> |
|
<dxg:GridControl.DetailDescriptor> |
|
<dxg:DataControlDetailDescriptor x:Name="dgDetailGridControl" ItemsSourceBinding="{Binding Path=ExportInfo_details}" ShowHeader="True"> |
|
<dxg:GridControl Name="detailGrid"> |
|
<dxg:GridControl.Columns> |
|
<dxg:GridColumn Header="监测编号" ReadOnly="True" Width="*" FieldName="TBBH" HorizontalHeaderContentAlignment="Center" AutoFilterCondition="Contains" ImmediateUpdateAutoFilter="False" ImmediateUpdateColumnFilter="False"/> |
|
<dxg:GridColumn Header="备注" ReadOnly="True" Width="200" FieldName="BZ" HorizontalHeaderContentAlignment="Center" AutoFilterCondition="Contains" ImmediateUpdateAutoFilter="False" ImmediateUpdateColumnFilter="False"/> |
|
<dxg:GridColumn Header="状态" ReadOnly="True" Width="50" FieldName="ZT" HorizontalHeaderContentAlignment="Center" AutoFilterCondition="Contains" ImmediateUpdateAutoFilter="False" ImmediateUpdateColumnFilter="False"/> |
|
</dxg:GridControl.Columns> |
|
<dxg:GridControl.View> |
|
<dxg:TableView Name="ViewLog" IsColumnMenuEnabled="False" IndicatorWidth="0" AllowBestFit="True" AllowColumnFiltering="False" ShowGroupedColumns="True" ShowGroupPanel="False" ShowAutoFilterRow="False" AllowEditing="True" ShowSearchPanelMode="Never" ShowSearchPanelCloseButton="False" ShowSearchPanelFindButton="False" SearchPanelFindFilter="Contains" SearchPanelFindMode="FindClick" SearchPanelHorizontalAlignment="Stretch" BestFitMode="Smart" ShowSearchPanelMRUButton="False" ShowFilterPanelMode="Never" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" > |
|
<dxg:TableView.RowIndicatorContentTemplate> |
|
<DataTemplate> |
|
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" /> |
|
</DataTemplate> |
|
</dxg:TableView.RowIndicatorContentTemplate> |
|
</dxg:TableView> |
|
</dxg:GridControl.View> |
|
</dxg:GridControl> |
|
</dxg:DataControlDetailDescriptor> |
|
</dxg:GridControl.DetailDescriptor> |
|
</dxg:GridControl> |
|
<!--</StackPanel>--> |
|
<StackPanel Grid.Column="0" Grid.Row="2" Grid.ColumnSpan="3" Height="35" Orientation="Horizontal" HorizontalAlignment="Left"> |
|
<!--<TextBlock Text="是否导出变更成果:" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="15,0,5,0" ></TextBlock>--> |
|
<CheckBox Name="ISChangeResults" IsChecked="True" Content="是否导出变更成果" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="15,0"></CheckBox> |
|
</StackPanel> |
|
<Grid Grid.Row="3" > |
|
<Grid.ColumnDefinitions> |
|
<ColumnDefinition Width="130"/> |
|
<ColumnDefinition Width="*"/> |
|
<ColumnDefinition Width="130"/> |
|
</Grid.ColumnDefinitions> |
|
<TextBlock Grid.Column="0" Grid.Row="3" Text="举证成果导出路径:" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="15,0,5,0" ></TextBlock> |
|
<TextBox Grid.Column="1" Grid.Row="3" x:Name="txtExcelPath" Text="{Binding ExcelPath,Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" kui:ControlAttachProperty.CornerRadius="2" Height="30" Margin="1,5,0,5" HorizontalAlignment="Stretch" IsReadOnly="True" /> |
|
<btn:KImgButton Grid.Column="2" Grid.Row="3" x:Name="ExportPath" Content="选 择" Margin="5" Width="100" HorizontalAlignment="Left" Click="ExportPath_Click" /> |
|
<ProgressBar x:Name="pressBar" Grid.ColumnSpan="3" Grid.Row="4" Margin="10,20" Height="0" Value="0" BorderThickness="0" /> |
|
</Grid> |
|
<StackPanel Orientation="Horizontal" Grid.ColumnSpan="3" Grid.Row="4"> |
|
<TextBlock Text=" 注:重新导出修改后的外业举证的db成果" TextWrapping="Wrap" Width="580" Foreground="Red" ></TextBlock> |
|
</StackPanel> |
|
<StackPanel Grid.Column="0" Grid.ColumnSpan="3" Grid.Row="9" Height="35" Orientation="Horizontal" HorizontalAlignment="Center"> |
|
<btn:KImgButton Margin="15,0" Content="确 定" x:Name="btnOK" Click="BtnOK_Click" /> |
|
<btn:KImgButton Margin="15,0" Content="取 消" x:Name="btnCancel" Click="BtnCancel_Click" IsEnabled="True" /> |
|
</StackPanel> |
|
</Grid> |
|
</Grid> |
|
</windows:BaseWindow>
|
|
|