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.
248 lines
17 KiB
248 lines
17 KiB
<UserControl x:Class="SchedulingSystemClient.TJTBWindow" |
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:lvc="clr-namespace:LiveCharts.Wpf;assembly=LiveCharts.Wpf" |
|
Loaded="UserControl_Loaded"> |
|
<Grid Background="#D7F1EF"> |
|
<Grid.RowDefinitions> |
|
<RowDefinition Height="1*"></RowDefinition> |
|
<RowDefinition Height="5*"></RowDefinition> |
|
</Grid.RowDefinitions> |
|
<!--<Label Grid.Row="0" Grid.RowSpan="2" FontSize="180" Foreground="Red" VerticalAlignment="Center" HorizontalAlignment="Center" Panel.ZIndex="1" >在浩哥的指导下完成</Label>--> |
|
<Border Grid.Row="0" BorderThickness="0,0,0,0" BorderBrush="White" Margin="50,10"> |
|
<Grid Grid.Row="0"> |
|
<Grid.ColumnDefinitions> |
|
<ColumnDefinition Width="1*"></ColumnDefinition> |
|
<ColumnDefinition Width="1*"></ColumnDefinition> |
|
<ColumnDefinition Width="1*"></ColumnDefinition> |
|
<ColumnDefinition Width="1*"></ColumnDefinition> |
|
</Grid.ColumnDefinitions> |
|
<Border Grid.Column="0" BorderThickness="0,0,0,0" BorderBrush="White" Margin="30,10" CornerRadius="15"> |
|
<Border.Background> |
|
<LinearGradientBrush> |
|
<GradientStop Color="#FFBE8B" Offset="0"/> |
|
<GradientStop Color="#FF7F41" Offset="1"/> |
|
</LinearGradientBrush> |
|
</Border.Background> |
|
<Grid> |
|
<Grid.RowDefinitions> |
|
<RowDefinition Height="0.1*"></RowDefinition> |
|
<RowDefinition Height="0.9*"></RowDefinition> |
|
<RowDefinition Height="1.5*"></RowDefinition> |
|
<RowDefinition Height="0.8*"></RowDefinition> |
|
<RowDefinition Height="0.2*"></RowDefinition> |
|
</Grid.RowDefinitions> |
|
<Label Grid.Row="1" HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="16" Foreground="White" FontWeight="Bold" Margin="12,0,0,0">手术次数</Label> |
|
<Label x:Name="sstslabela" Grid.Row="2" HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="30" Foreground="White" FontWeight="Bold" Margin="30,0,0,0"></Label> |
|
<Label x:Name="sstslabelb" Grid.Row="3" HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="14" Foreground="White" Margin="12,0,0,0"></Label> |
|
</Grid> |
|
</Border> |
|
<Border Grid.Column="1" BorderThickness="0,0,0,0" BorderBrush="White" Margin="30,10" CornerRadius="15"> |
|
<Border.Background> |
|
<LinearGradientBrush> |
|
<GradientStop Color="#FA97FB" Offset="0"/> |
|
<GradientStop Color="#D25DF0" Offset="1"/> |
|
</LinearGradientBrush> |
|
</Border.Background> |
|
<Grid> |
|
<Grid.RowDefinitions> |
|
<RowDefinition Height="0.1*"></RowDefinition> |
|
<RowDefinition Height="0.9*"></RowDefinition> |
|
<RowDefinition Height="1.5*"></RowDefinition> |
|
<RowDefinition Height="0.8*"></RowDefinition> |
|
<RowDefinition Height="0.2*"></RowDefinition> |
|
</Grid.RowDefinitions> |
|
<Label Grid.Row="1" HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="16" Foreground="White" FontWeight="Bold" Margin="12,0,0,0">手术时长</Label> |
|
<Label x:Name="sssclabela" Grid.Row="2" HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="30" Foreground="White" FontWeight="Bold" Margin="30,0,0,0"></Label> |
|
<Label x:Name="sssclabelb" Grid.Row="3" HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="14" Foreground="White" Margin="12,0,0,0"></Label> |
|
</Grid> |
|
</Border> |
|
<Border Grid.Column="2" BorderThickness="0,0,0,0" BorderBrush="White" Margin="30,10" CornerRadius="15"> |
|
<Border.Background> |
|
<LinearGradientBrush> |
|
<GradientStop Color="#8CADFF" Offset="0"/> |
|
<GradientStop Color="#6779FF" Offset="1"/> |
|
</LinearGradientBrush> |
|
</Border.Background> |
|
<Grid> |
|
<Grid.RowDefinitions> |
|
<RowDefinition Height="0.1*"></RowDefinition> |
|
<RowDefinition Height="0.9*"></RowDefinition> |
|
<RowDefinition Height="1.5*"></RowDefinition> |
|
<RowDefinition Height="0.8*"></RowDefinition> |
|
<RowDefinition Height="0.2*"></RowDefinition> |
|
</Grid.RowDefinitions> |
|
<Label Grid.Row="1" HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="16" Foreground="White" FontWeight="Bold" Margin="12,0,0,0">手术平均时长</Label> |
|
<Label x:Name="sspjsclabela" Grid.Row="2" HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="30" Foreground="White" FontWeight="Bold" Margin="30,0,0,0"></Label> |
|
<Label x:Name="sspjsclabelb" Grid.Row="3" HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="14" Foreground="White" Margin="12,0,0,0"></Label> |
|
</Grid> |
|
</Border> |
|
<Border Grid.Column="3" BorderThickness="0,0,0,0" BorderBrush="White" Margin="30,10" CornerRadius="15"> |
|
<Border.Background> |
|
<LinearGradientBrush> |
|
<GradientStop Color="#65D2FF" Offset="0.2"/> |
|
<GradientStop Color="#00AEFF" Offset="0.8"/> |
|
</LinearGradientBrush> |
|
</Border.Background> |
|
<Grid> |
|
<Grid.RowDefinitions> |
|
<RowDefinition Height="0.1*"></RowDefinition> |
|
<RowDefinition Height="0.9*"></RowDefinition> |
|
<RowDefinition Height="1.5*"></RowDefinition> |
|
<RowDefinition Height="0.8*"></RowDefinition> |
|
<RowDefinition Height="0.2*"></RowDefinition> |
|
</Grid.RowDefinitions> |
|
<Label Grid.Row="1" HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="16" Foreground="White" FontWeight="Bold" Margin="12,0,0,0">手术室清洁时长</Label> |
|
<Label x:Name="sssqjscLabela" Grid.Row="2" HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="30" Foreground="White" FontWeight="Bold" Margin="30,0,0,0"></Label> |
|
<Label x:Name="sssqjscLabelb" Grid.Row="3" HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="14" Foreground="White" Margin="12,0,0,0"></Label> |
|
</Grid> |
|
</Border> |
|
</Grid> |
|
</Border> |
|
<Border Grid.Row="1" BorderThickness="0,0,0,0" BorderBrush="White"> |
|
<Grid> |
|
<Grid.RowDefinitions> |
|
<RowDefinition Height="1*"></RowDefinition> |
|
<RowDefinition Height="1*"></RowDefinition> |
|
</Grid.RowDefinitions> |
|
<Grid.ColumnDefinitions> |
|
<ColumnDefinition Width="1*"></ColumnDefinition> |
|
<ColumnDefinition Width="1*"></ColumnDefinition> |
|
</Grid.ColumnDefinitions> |
|
<Border Grid.Row="0" Grid.Column="0" Background="white" CornerRadius="15" Margin="80,20,50,20" > |
|
<Grid> |
|
<Grid.RowDefinitions> |
|
<RowDefinition Height="1*"></RowDefinition> |
|
<RowDefinition Height="7*"></RowDefinition> |
|
</Grid.RowDefinitions> |
|
<Label Grid.Row="0" HorizontalAlignment="Left" VerticalAlignment="Center" FontSize='20' Margin="20,0,0,0" FontWeight="Bold">手术次数</Label> |
|
<Border Grid.Row="1"> |
|
<lvc:CartesianChart Margin="40,10" > |
|
<lvc:CartesianChart.AxisX > |
|
<!--Title="时间"--> |
|
<lvc:Axis FontSize="12" Name="sstsX" LabelsRotation="0" Foreground="Black" ShowLabels="True"> |
|
<lvc:Axis.Separator> |
|
<!--Step柱间隔--> |
|
<lvc:Separator Step="1" StrokeThickness="1" Stroke="#c6c5f9"/> |
|
</lvc:Axis.Separator> |
|
</lvc:Axis> |
|
</lvc:CartesianChart.AxisX> |
|
<lvc:CartesianChart.AxisY > |
|
<!--Title="百分比"--> |
|
<lvc:Axis FontSize="14" Name="sstsY" Foreground="Black" MinValue="0" ShowLabels="True" > |
|
<lvc:Axis.Separator> |
|
<lvc:Separator StrokeThickness="1" Stroke="#c6c5f9" /> |
|
</lvc:Axis.Separator> |
|
</lvc:Axis> |
|
</lvc:CartesianChart.AxisY> |
|
<lvc:CartesianChart.Series> |
|
<lvc:LineSeries Name="sstsLineSeries" DataLabels="True" FontSize="12" PointGeometrySize="10" Stroke="#817FF3" LineSmoothness="0" Title="手术台数" ScalesYAt="0" /> |
|
</lvc:CartesianChart.Series> |
|
<lvc:CartesianChart.ChartLegend> |
|
<!--BulletSize图例中圆点尺寸--> |
|
<lvc:DefaultLegend BulletSize="10" Foreground="Black" /> |
|
</lvc:CartesianChart.ChartLegend> |
|
</lvc:CartesianChart> |
|
</Border> |
|
</Grid> |
|
</Border> |
|
<Border Grid.Row="0" Grid.Column="1" Background="white" CornerRadius="15" Margin="50,20,80,20" > |
|
<Grid> |
|
<Grid.RowDefinitions> |
|
<RowDefinition Height="1*"></RowDefinition> |
|
<RowDefinition Height="7*"></RowDefinition> |
|
</Grid.RowDefinitions> |
|
<Label Grid.Row="0" HorizontalAlignment="Left" VerticalAlignment="Center" FontSize='20' Margin="20,0,0,0" FontWeight="Bold" >手术时长(小时)</Label> |
|
<Border Grid.Row="1"> |
|
<lvc:CartesianChart Margin="40,10" > |
|
<lvc:CartesianChart.AxisX > |
|
<!--Title="时间"--> |
|
<lvc:Axis FontSize="12" Name="ssscX" LabelsRotation="0" Foreground="Black" ShowLabels="True"> |
|
<lvc:Axis.Separator> |
|
<!--Step柱间隔--> |
|
<lvc:Separator Step="1" StrokeThickness="1" Stroke="#c6c5f9"/> |
|
</lvc:Axis.Separator> |
|
</lvc:Axis> |
|
</lvc:CartesianChart.AxisX> |
|
<lvc:CartesianChart.AxisY > |
|
<!--Title="百分比"--> |
|
<lvc:Axis FontSize="14" Name="ssscY" Foreground="Black" MinValue="0" ShowLabels="True" > |
|
<lvc:Axis.Separator> |
|
<lvc:Separator StrokeThickness="1" Stroke="#c6c5f9" /> |
|
</lvc:Axis.Separator> |
|
</lvc:Axis> |
|
</lvc:CartesianChart.AxisY> |
|
<lvc:CartesianChart.Series> |
|
<lvc:LineSeries Name="ssscLineSeries" DataLabels="True" FontSize="12" PointGeometrySize="10" Stroke="#817FF3" LineSmoothness="0" Title="手术时长" ScalesYAt="0" /> |
|
</lvc:CartesianChart.Series> |
|
<lvc:CartesianChart.ChartLegend> |
|
<!--BulletSize图例中圆点尺寸--> |
|
<lvc:DefaultLegend BulletSize="10" Foreground="Black" /> |
|
</lvc:CartesianChart.ChartLegend> |
|
</lvc:CartesianChart> |
|
</Border> |
|
</Grid> |
|
</Border> |
|
<Border Grid.Row="1" Grid.Column="0" Background="white" CornerRadius="15" Margin="80,20,50,40"> |
|
<Grid> |
|
<Grid.RowDefinitions> |
|
<RowDefinition Height="1*"></RowDefinition> |
|
<RowDefinition Height="7*"></RowDefinition> |
|
</Grid.RowDefinitions> |
|
<Label Grid.Row="0" HorizontalAlignment="Left" VerticalAlignment="Center" FontSize='20' Margin="20,0,0,0" FontWeight="Bold">手术清洁时长(小时)</Label> |
|
<Border Grid.Row="1"> |
|
<lvc:CartesianChart Margin="40,10" > |
|
<lvc:CartesianChart.AxisX > |
|
<!--Title="时间"--> |
|
<lvc:Axis FontSize="12" Name="ssqjscX" LabelsRotation="0" Foreground="Black" ShowLabels="True"> |
|
<lvc:Axis.Separator> |
|
<!--Step柱间隔--> |
|
<lvc:Separator Step="1" StrokeThickness="1" Stroke="#c6c5f9"/> |
|
</lvc:Axis.Separator> |
|
</lvc:Axis> |
|
</lvc:CartesianChart.AxisX> |
|
<lvc:CartesianChart.AxisY> |
|
<!--Title="百分比"--> |
|
<lvc:Axis FontSize="14" Name="ssqjscY" Foreground="Black" MinValue="0" ShowLabels="True" > |
|
<lvc:Axis.Separator> |
|
<lvc:Separator StrokeThickness="1" Stroke="#c6c5f9" /> |
|
</lvc:Axis.Separator> |
|
</lvc:Axis> |
|
</lvc:CartesianChart.AxisY> |
|
<lvc:CartesianChart.Series> |
|
<lvc:LineSeries Name="ssqjscLineSeries" DataLabels="True" FontSize="12" PointGeometrySize="10" Stroke="#817FF3" LineSmoothness="0" Title="清洁时间" ScalesYAt="0" /> |
|
</lvc:CartesianChart.Series> |
|
<lvc:CartesianChart.ChartLegend> |
|
<!--BulletSize图例中圆点尺寸--> |
|
<lvc:DefaultLegend BulletSize="10" Foreground="Black" /> |
|
</lvc:CartesianChart.ChartLegend> |
|
</lvc:CartesianChart> |
|
</Border> |
|
</Grid> |
|
</Border> |
|
<Border Grid.Row="1" Grid.Column="1" Background="white" CornerRadius="15" Margin="50,20,80,40" > |
|
<Grid> |
|
<Grid.RowDefinitions> |
|
<RowDefinition Height="1*"></RowDefinition> |
|
<RowDefinition Height="7*"></RowDefinition> |
|
</Grid.RowDefinitions> |
|
<Label Grid.Row="0" HorizontalAlignment="Left" VerticalAlignment="Center" FontSize='20' Margin="20,0,0,0" FontWeight="Bold">手术等级</Label> |
|
<Border Grid.Row="1"> |
|
<lvc:PieChart Hoverable="true" LegendLocation="Top" DataTooltip="{x:Null}" FontSize="26" Foreground="Black" > |
|
<lvc:PieChart.Series> |
|
<lvc:PieSeries Name="PieSeriesA" Title="一级手术" FontSize="16" PushOut="0" DataLabels="True"/> |
|
<lvc:PieSeries Name="PieSeriesB" Title="二级手术" FontSize="16" PushOut="0" DataLabels="True"/> |
|
<lvc:PieSeries Name="PieSeriesC" Title="三级手术" FontSize="16" PushOut="0" DataLabels="True"/> |
|
<lvc:PieSeries Name="PieSeriesD" Title="四级手术" FontSize="16" PushOut="0" DataLabels="True"/> |
|
</lvc:PieChart.Series> |
|
<lvc:PieChart.ChartLegend> |
|
<!--BulletSize图例中圆点尺寸--> |
|
<lvc:DefaultLegend BulletSize="18" FontSize="18" /> |
|
</lvc:PieChart.ChartLegend> |
|
</lvc:PieChart> |
|
</Border> |
|
</Grid> |
|
</Border> |
|
</Grid> |
|
</Border> |
|
</Grid> |
|
</UserControl>
|
|
|