|
|
|
|
<UserControl x:Class="Kingo.Plugin.NYYP.View.UCAllTBYPDetails"
|
|
|
|
|
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:local="clr-namespace:Kingo.Plugin.NYYP.View"
|
|
|
|
|
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
|
|
|
|
|
xmlns:dxlc="http://schemas.devexpress.com/winfx/2008/xaml/layoutcontrol"
|
|
|
|
|
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
|
|
|
|
|
xmlns:kui="clr-namespace:KUI;assembly=KUI"
|
|
|
|
|
xmlns:localtree="clr-namespace:Kingo.Plugin.NYYP"
|
|
|
|
|
mc:Ignorable="d"
|
|
|
|
|
d:DesignHeight="700" d:DesignWidth="500">
|
|
|
|
|
<UserControl.Resources>
|
|
|
|
|
<ControlTemplate x:Key="ScrollViewerControlTemplate" TargetType="{x:Type ScrollViewer}">
|
|
|
|
|
<Grid x:Name="Grid" Background="{TemplateBinding Background}">
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
<ColumnDefinition Width="Auto"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<ScrollContentPresenter x:Name="PART_ScrollContentPresenter" CanContentScroll="{TemplateBinding CanContentScroll}" CanHorizontallyScroll="False" CanVerticallyScroll="False" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" Grid.Column="0" Margin="{TemplateBinding Padding}" />
|
|
|
|
|
<ScrollBar x:Name="PART_VerticalScrollBar" AutomationProperties.AutomationId="VerticalScrollBar" Cursor="Arrow" Grid.Column="1" Maximum="{TemplateBinding ScrollableHeight}" Minimum="0" Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" Value="{Binding VerticalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" ViewportSize="{TemplateBinding ViewportHeight}" Style="{DynamicResource ScrollBarStyle1}" Width="5" MinWidth="5"/>
|
|
|
|
|
</Grid>
|
|
|
|
|
</ControlTemplate>
|
|
|
|
|
</UserControl.Resources>
|
|
|
|
|
|
|
|
|
|
<Grid Margin="5">
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
<!--<RowDefinition Height="auto"/>
|
|
|
|
|
<RowDefinition Height="auto"/>
|
|
|
|
|
<RowDefinition Height="auto"/>-->
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<ScrollViewer Grid.Row="0" Grid.Column="0" x:Name="scrollContent" HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto" Template="{DynamicResource ScrollViewerControlTemplate}">
|
|
|
|
|
<Grid x:Name="JCDLTBInfo" Background="White" >
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<!--<RowDefinition Height="Auto" />-->
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="5" />
|
|
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
|
<ColumnDefinition Width="5" />
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Grid Grid.Row="0" Grid.Column="1">
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="50" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="110"/>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Column="0" Grid.Row="0" Grid.ColumnSpan="4" Background="#F6F6F6" Orientation="Horizontal" Height="34">
|
|
|
|
|
<Image Source="/Kingo.Plugin.NYYP;component/Images/test.png" VerticalAlignment="Top" Height="18" Width="18" Margin="5,9,5,0"/>
|
|
|
|
|
<TextBlock VerticalAlignment="Center" Text="基本信息"></TextBlock>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
<TextBlock Grid.Column="0" Grid.Row="1" Text="标识码" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="10,0,0,0" ></TextBlock>
|
|
|
|
|
<TextBox Grid.Column="1" Grid.Row="1" x:Name="txtBSM" Height="34" Margin="1,5,10,5" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" IsReadOnly="True" Background="#F6F6F6" Text="{Binding [BSM],Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
|
|
|
|
|
<TextBlock Grid.Column="0" Grid.Row="2" Text="地类编码" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="10,0,0,0"></TextBlock>
|
|
|
|
|
<TextBox Grid.Column="1" Grid.Row="2" Name="txtDLBM" Height="34" Margin="1,5,10,5" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" IsReadOnly="True" Background="#F6F6F6" Text="{Binding [DLBM],Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
|
|
|
|
|
<TextBlock Grid.Column="0" Grid.Row="3" Text="地类名称" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="10,0,0,0"></TextBlock>
|
|
|
|
|
<TextBox Grid.Column="1" Grid.Row="3" Name="txtDLMC" Height="34" Margin="1,5,10,5" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" IsReadOnly="True" Background="#F6F6F6" Text="{Binding [DLMC],Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
|
|
|
|
|
<TextBlock Grid.Column="0" Grid.Row="4" Text="权属性质" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="10,0,0,0"></TextBlock>
|
|
|
|
|
<TextBox Grid.Column="1" Grid.Row="4" Name="txtQSXZ" Height="34" Margin="1,5,10,5" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" IsReadOnly="True" Background="#F6F6F6" Text="{Binding [QSXZ],Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
|
|
|
|
|
<TextBlock Grid.Column="0" Grid.Row="5" Text="权属单位代码" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="10,0,0,0" ></TextBlock>
|
|
|
|
|
<TextBox Grid.Column="1" Grid.Row="5" x:Name="txtQSDWDM" Height="34" Margin="1,5,10,5" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" IsReadOnly="True" Background="#F6F6F6" Text="{Binding [QSDWDM],Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
|
|
|
|
|
<TextBlock Grid.Column="0" Grid.Row="6" Text="权属单位名称" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="10,0,0,0"></TextBlock>
|
|
|
|
|
<TextBox Grid.Column="1" Grid.Row="6" Name="txtQSDWMC" Height="34" Margin="1,5,10,5" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" IsReadOnly="True" Background="#F6F6F6" Text="{Binding [QSDWMC],Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
|
|
|
|
|
<TextBlock Grid.Column="0" Grid.Row="7" Text="坐落单位代码" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="10,0,0,0"></TextBlock>
|
|
|
|
|
<TextBox Grid.Column="1" Grid.Row="7" Name="txtZLDWDM" Height="34" Margin="1,5,10,5" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" IsReadOnly="True" Background="#F6F6F6" Text="{Binding [ZLDWDM],Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
|
|
|
|
|
<TextBlock Grid.Column="0" Grid.Row="8" Text="坐落单位名称" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="10,0,0,0"></TextBlock>
|
|
|
|
|
<TextBox Grid.Column="1" Grid.Row="8" Name="txtZLDWMC" Height="34" Margin="1,5,10,5" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" IsReadOnly="True" Background="#F6F6F6" Text="{Binding [ZLDWMC],Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
<Grid Grid.Row="2" Grid.Column="1" x:Name="gridInterpretaion" Background="White">
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="50" />
|
|
|
|
|
<RowDefinition Height="35" />
|
|
|
|
|
<RowDefinition Height="35" />
|
|
|
|
|
<RowDefinition Height="0" />
|
|
|
|
|
<RowDefinition Height="80" />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="110"/>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Column="0" Grid.Row="0" Grid.ColumnSpan="4" Background="#F6F6F6" Orientation="Horizontal" Height="34">
|
|
|
|
|
<Image Source="/Kingo.Plugin.NYYP;component/Images/test.png" VerticalAlignment="Top" Height="18" Width="18" Margin="5,9,5,0"/>
|
|
|
|
|
<TextBlock VerticalAlignment="Center" Text="内业预判"></TextBlock>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
<Label Content="是否举证" Grid.Row="1" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" Margin="10,0,0,0"/>
|
|
|
|
|
<RadioButton Content="是" Foreground="DarkBlue" Name="rbtnWYTrue" Grid.Column="1" Grid.Row="1" VerticalAlignment="Center" Margin="10,0,0,0"/>
|
|
|
|
|
<RadioButton Content="否" Foreground="DarkBlue" Name="rbtnWYFalse" Grid.Column="1" Grid.Row="1" VerticalAlignment="Center" Margin="80,0,0,0"/>
|
|
|
|
|
|
|
|
|
|
<Label Content="内业预判地类" Grid.Row="2" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" Margin="10,0,0,0"/>
|
|
|
|
|
|
|
|
|
|
<!--<dxe:ComboBoxEdit Grid.Column="1" Grid.Row="2" Name="cmbx_DL" IsReadOnly="False" Width="200" Margin="10,10,10,0" Visibility="Collapsed"
|
|
|
|
|
HorizontalAlignment="Left" VerticalAlignment="Center" EditValue="{Binding [NYYPDL],Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" DisplayMember="NAME" ValueMember="CODE"/>-->
|
|
|
|
|
|
|
|
|
|
<!--<ComboBox x:Name="CobNYYPDL" Grid.Column="1" Grid.Row="2" Margin="1,0,10,0" ScrollViewer.VerticalScrollBarVisibility="Hidden" ScrollViewer.HorizontalScrollBarVisibility="Disabled" SelectionChanged="nyypdlCob_SelectionChanged" Visibility="Visible">
|
|
|
|
|
<ComboBoxItem Content="{Binding Name,UpdateSourceTrigger=PropertyChanged}" Visibility="Collapsed" Name="cbxItem"/>
|
|
|
|
|
<ComboBoxItem x:Name="comTree" FocusVisualStyle="{x:Null}" HorizontalAlignment="Stretch" Height="200">
|
|
|
|
|
<ComboBoxItem.Template>
|
|
|
|
|
<ControlTemplate>
|
|
|
|
|
<ScrollViewer VerticalScrollBarVisibility="Hidden" Width="{Binding ActualWidth,ElementName=cbxCtr}" HorizontalScrollBarVisibility="Hidden">
|
|
|
|
|
<TreeView MaxHeight="200" Name="treeView" ItemsSource="{Binding Items}" SelectedValuePath="DataName" DisplayMemberPath="DataName" Margin="0" BorderThickness="0" SelectedItemChanged="treeView_SelectedItemChanged" PreviewMouseLeftButtonDown="TreeView_PreviewMouseLeftButtonDown">
|
|
|
|
|
<TreeView.ItemTemplate>
|
|
|
|
|
<HierarchicalDataTemplate ItemsSource="{Binding Items}">
|
|
|
|
|
<StackPanel Orientation="Horizontal" Margin="0,1">
|
|
|
|
|
<Grid Height="13" Width="13" VerticalAlignment="Center" Margin="2,0,0,0">
|
|
|
|
|
<Border BorderBrush="Black" BorderThickness="1"/>
|
|
|
|
|
<Path Stroke="Black" StrokeThickness="1" Data="M 2,7 5,11 11,2" Visibility="{Binding Visibility}"/>
|
|
|
|
|
</Grid>
|
|
|
|
|
<TextBlock Text="{Binding Name}" Margin="2,0,0,0"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</HierarchicalDataTemplate>
|
|
|
|
|
</TreeView.ItemTemplate>
|
|
|
|
|
</TreeView>
|
|
|
|
|
</ScrollViewer>
|
|
|
|
|
</ControlTemplate>
|
|
|
|
|
</ComboBoxItem.Template>
|
|
|
|
|
</ComboBoxItem>
|
|
|
|
|
</ComboBox>-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<localtree:AutoCompleteComboBox Grid.Column="1" Grid.Row="2" IsEditable="True" Height="30" Margin="1,2,10,3" FontSize="16"
|
|
|
|
|
TextSearch.TextPath="NodeName"
|
|
|
|
|
DisplayMemberPath="NodeName" SelectedValuePath="NodeID"
|
|
|
|
|
IsTextSearchEnabled="True"
|
|
|
|
|
x:Name="cmbCtr" VerticalAlignment="Center">
|
|
|
|
|
|
|
|
|
|
</localtree:AutoCompleteComboBox>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Label Content="内业建议" Grid.Row="4" VerticalContentAlignment="Top" HorizontalContentAlignment="Left" Margin="10,20,0,0"/>
|
|
|
|
|
<TextBox Grid.Column="1" Grid.Row="4" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Margin="1,10,10,0" TextWrapping="Wrap" Text="{Binding [NYJY], UpdateSourceTrigger=PropertyChanged}"></TextBox>
|
|
|
|
|
</Grid>
|
|
|
|
|
<Grid Background="White" Grid.Row="3" Grid.Column="1" Margin="15,30,15,0">
|
|
|
|
|
|
|
|
|
|
<kui:KFontIconButton Grid.Row="1" Grid.Column="1" FIcon="" HorizontalAlignment="Center" Visibility="Visible" VerticalAlignment="Center" Width="80" Height="25" x:Name="btnSave" Content="保存" Click="BtnSave_Click" />
|
|
|
|
|
<kui:KFontIconButton Grid.Row="0" Grid.Column="0" FIcon="" HorizontalAlignment="Left" VerticalAlignment="Center" Width="80" Height="25" Name="btnPrev" Content="上一个" Click="BtnPrev_Click"/>
|
|
|
|
|
<kui:KFontIconButton Grid.Row="0" Grid.Column="2" FIcon="" HorizontalAlignment="Right" VerticalAlignment="Center" Width="80" Height="25" Name="btnNext" Content="下一个" Click="BtnNext_Click"/>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Grid>
|
|
|
|
|
</ScrollViewer>
|
|
|
|
|
</Grid>
|
|
|
|
|
</UserControl>
|