工单 增加 接收服务端推送的新工单,支持 推送增加消息
This commit is contained in:
1 parent
f0f1f1ed9e
commit
6ed2cede16
11 files changed
+429
-205
No files matched your search
@@ -1,4 +1,4 @@
|
||||
using OrderSupportTicket.Models;
|
||||
using OrderSupportTicket.Models;
|
||||
using OrderSupportTicket.Services;
|
||||
using OrderSupportTicket.ViewModels;
|
||||
using System;
|
||||
@@ -39,6 +39,7 @@ public partial class OrderSupportTicketView : UserControl
|
||||
return new TicketClientOptions
|
||||
{
|
||||
UserName = userName,
|
||||
ConversationMode = configured.ConversationMode,
|
||||
AppIds = appIds,
|
||||
Orders =
|
||||
[
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<UserControl
|
||||
<UserControl
|
||||
x:Class="OrderSupportTicket.Views.TicketConversationView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
@@ -31,6 +31,7 @@
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
@@ -76,6 +77,22 @@
|
||||
</Style>
|
||||
</Button.Style>
|
||||
</Button>
|
||||
<Button
|
||||
Grid.Column="2"
|
||||
Width="32"
|
||||
Height="32"
|
||||
Margin="8,0,0,0"
|
||||
Padding="5"
|
||||
VerticalAlignment="Top"
|
||||
AutomationProperties.Name="刷新当前工单消息"
|
||||
Command="{Binding RefreshMessagesCommand}"
|
||||
Style="{StaticResource IconButtonStyle}"
|
||||
ToolTip="刷新当前工单消息">
|
||||
<TextBlock
|
||||
FontSize="18"
|
||||
Style="{StaticResource TextBlockIcon}"
|
||||
Text="{StaticResource txt-arrow_clockwise}" />
|
||||
</Button>
|
||||
</Grid>
|
||||
</Border>
|
||||
<Grid Grid.Row="1">
|
||||
|
||||
Reference in new issue
Block a user