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.
60 lines
4.5 KiB
60 lines
4.5 KiB
<windows:BaseWindow x:Class="Kingo.Plugin.DTBJK_XJ.View.UCUploadTask" |
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors" |
|
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid" |
|
xmlns:dxlc="http://schemas.devexpress.com/winfx/2008/xaml/layoutcontrol" |
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
|
xmlns:windows="clr-namespace:KGIS.Framework.Utils;assembly=KGIS.Framework.Utils" |
|
xmlns:kuiBtn="clr-namespace:KUI.Button;assembly=KUI" |
|
mc:Ignorable="d" |
|
d:DesignHeight="450" d:DesignWidth="800" Title="任务数据上报"> |
|
<Window.Resources > |
|
<Style TargetType = "{x:Type dxg:GridColumn}" > |
|
<!--列头居中--> |
|
<Setter Property = "HorizontalHeaderContentAlignment" Value = "Center" /> |
|
<!--列值居中--> |
|
<Setter Property = "EditSettings" > |
|
<Setter.Value > |
|
<dxe:TextEditSettings HorizontalContentAlignment = "Center" /> |
|
</Setter.Value > |
|
</Setter > |
|
</Style > |
|
</Window.Resources > |
|
<Grid> |
|
<dxlc:LayoutControl Orientation="Vertical"> |
|
<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" SelectionMode="Row" HorizontalAlignment="Center"> |
|
<dxg:GridControl.View> |
|
<dxg:TableView Name="tvAttrDTB" IsColumnMenuEnabled="False" RowMinHeight="30" AllowColumnFiltering="True" ShowTotalSummary="False" AllowSorting="False" AllowGrouping="False" ShowGroupPanel="False" AllowEditing="True" HorizontalContentAlignment="Center" VerticalScrollbarVisibility="Auto" HorizontalAlignment="Center" ShowAutoFilterRow="True" AllowBandMultiRow="False"/> |
|
</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" HorizontalAlignment="Center" HorizontalContentAlignment="Center" IsChecked="False" EditValueChanged="AllCheckEidt_EditValueChanged" /> |
|
</DataTemplate> |
|
</dxg:GridColumn.HeaderTemplate> |
|
<dxg:GridColumn.CellTemplate> |
|
<DataTemplate> |
|
<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch"> |
|
<CheckBox x:Name="checkBox" HorizontalAlignment="Center" VerticalAlignment="Center" IsChecked="{Binding RowData.Row.Ischeck,Mode=TwoWay}" Click="checkBox_Click" /> |
|
</Grid> |
|
</DataTemplate> |
|
</dxg:GridColumn.CellTemplate> |
|
</dxg:GridColumn> |
|
<dxg:GridColumn Header="任务包名" FieldName="PackageName" Width="200" ReadOnly="True" HorizontalHeaderContentAlignment="Center"/> |
|
<dxg:GridColumn Header="上传状态" FieldName="State" Width="80" ReadOnly="True" HorizontalHeaderContentAlignment="Center"/> |
|
<dxg:GridColumn Header="文件位置" FieldName="PackagePath" Width="*" ReadOnly="True" HorizontalHeaderContentAlignment="Center"/> |
|
</dxg:GridControl.Columns> |
|
</dxg:GridControl> |
|
</dxlc:LayoutItem> |
|
</dxlc:LayoutGroup> |
|
<dxlc:LayoutGroup Orientation="Horizontal" HorizontalAlignment="Center"> |
|
<kuiBtn:KImgButton Name="btnSubmitJKTB" Content="数据上报" Width="90" Height="30" CornerRadius="3" Foreground="White" Click="btnSubmitJKTB_Click" /> |
|
</dxlc:LayoutGroup> |
|
</dxlc:LayoutControl> |
|
</Grid> |
|
</windows:BaseWindow>
|
|
|