年度变更建库软件5.0版本
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.
 
 

58 lines
4.7 KiB

<windows:BaseWindow
xmlns:windows="clr-namespace:KGIS.Framework.Utils;assembly=KGIS.Framework.Utils"
x:Class="Kingo.Plugin.DTBJK.View.UCExportDTBJKData"
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:dxlc="http://schemas.devexpress.com/winfx/2008/xaml/layoutcontrol"
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
xmlns:kuiBtn="clr-namespace:KUI.Button;assembly=KUI"
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
mc:Ignorable="d" Width="800" Height="490"
d:DesignHeight="310" d:DesignWidth="500">
<Grid>
<dxlc:LayoutControl Orientation="Vertical">
<dxlc:LayoutGroup Orientation="Horizontal">
<kuiBtn:KImgButton Content="导 出 成 果" Width="90" Height="30" CornerRadius="3" Foreground="White" Click="btnSelectedBaseData_Click" />
<kuiBtn:KImgButton Content="刷 新" Margin="10,0" Width="90" Height="30" CornerRadius="3" Foreground="White" Click="btnRefresh_view_Click" />
</dxlc:LayoutGroup>
<dxlc:LayoutGroup Orientation="Horizontal">
<dxlc:LayoutItem IsRequired="True" x:Name="TagFieldName" Label="变更范围:" dxlc:LayoutControl.AllowHorizontalSizing="True" VerticalAlignment="Stretch" LabelPosition="Top">
<dxg:GridControl x:Name="dgTableMapping">
<dxg:GridControl.View>
<dxg:TableView Name="tvAttrDTB" IsColumnMenuEnabled="False" RowMinHeight="30" AllowColumnFiltering="False" ShowTotalSummary="False" AllowSorting="False" AllowGrouping="False" MultiSelectMode="Row" ShowGroupPanel="False" AllowEditing="True" HorizontalContentAlignment="Left" VerticalScrollbarVisibility="Auto" />
</dxg:GridControl.View>
<dxg:GridControl.Columns>
<dxg:GridColumn Header="导入状态" x:Name="chkSelectedAll" Width="50" HorizontalHeaderContentAlignment="Center" >
<dxg:GridColumn.HeaderTemplate>
<DataTemplate>
<dxe:CheckEdit x:Name="AllCheckEidt" ToolTip="全选仅包含已完成状态的数据" EditValue="{Binding Path=AllSelecting,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" EditValueChanged="ChkSelectedAll_EditValueChanged" HorizontalAlignment="Center" HorizontalContentAlignment="Center" IsChecked="False"/>
</DataTemplate>
</dxg:GridColumn.HeaderTemplate>
<dxg:GridColumn.CellTemplate>
<DataTemplate>
<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<CheckBox x:Name="checkBox" IsChecked="{Binding RowData.Row.IsLoad,Mode=TwoWay}" Tag="{Binding RowData.Row.JCZT}" HorizontalAlignment="Center" VerticalAlignment="Center" Click="CheckBox_Click"/>
</Grid>
</DataTemplate>
</dxg:GridColumn.CellTemplate>
</dxg:GridColumn>
<dxg:GridColumn Header="监测图层名称" FieldName="JCLayerName" Width="100" ReadOnly="True"/>
<dxg:GridColumn Header="外业图斑标识码" FieldName="WYBSM" Width="180" ReadOnly="True"/>
<dxg:GridColumn Header="监测编号" FieldName="JCBH" Width="90" ReadOnly="True"/>
<dxg:GridColumn Header="质检状态" FieldName="JCZT" Width="90" ReadOnly="True"/>
<!--<dxg:GridColumn Header="输出状态" FieldName="SCZT" Width="*" ReadOnly="True"/>-->
<dxg:GridColumn Header="源图层路径" FieldName="LayerPath" Width="*" ReadOnly="True"/>
</dxg:GridControl.Columns>
</dxg:GridControl>
</dxlc:LayoutItem>
</dxlc:LayoutGroup>
<dxlc:LayoutItem>
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center">
<TextBlock x:Name="BgDataSum" FontSize="14" Text="图斑总数:0个" TextWrapping="Wrap" ></TextBlock>
</StackPanel>
</dxlc:LayoutItem>
</dxlc:LayoutControl>
</Grid>
</windows:BaseWindow>