|
@@ -38,44 +38,32 @@ export default {
|
|
|
});
|
|
|
// 服务端推送消息
|
|
|
connection.on('CircularRecord', (message: any) => {
|
|
|
- mittBus.emit('CircularRecord', message); // 小红点消息
|
|
|
+ console.log(`小红点消息:${message}`);
|
|
|
});
|
|
|
// 服务端推送消息
|
|
|
connection.on('SeatState', (message: any) => {
|
|
|
- mittBus.emit('SeatState', message); // 坐席状态
|
|
|
+ console.log(`座席状态:${message}`);
|
|
|
});
|
|
|
// 服务端推送消息
|
|
|
connection.on('RestApplyPass', (message: any) => {
|
|
|
- mittBus.emit('RestApplyPass', message); // 小休审批消息
|
|
|
+ console.log(`休息申请通过:${message}`);
|
|
|
});
|
|
|
// 服务端推送消息
|
|
|
connection.on('ToDayWaitNum', (message: any) => {
|
|
|
- mittBus.emit('ToDayWaitNum', message); // 今日等待
|
|
|
+ // console.log(`今日等待:${message}`);
|
|
|
});
|
|
|
// 服务端推送消息
|
|
|
connection.on('CurrentWaitNum', (message: any) => {
|
|
|
- mittBus.emit('CurrentWaitNum', message); // 当前等待
|
|
|
+ // console.log(`当前等待:${message}`);
|
|
|
});
|
|
|
// 服务端推送消息
|
|
|
- connection.on('RestApplyPass', (message: any) => {
|
|
|
- mittBus.emit('RestApplyPass', message); // 小休审批消息
|
|
|
- });
|
|
|
+ connection.on('BsSeatStateDataShowArea1', (message: any) => {});
|
|
|
// 服务端推送消息
|
|
|
- connection.on('BsSeatStateDataShowArea1', (message: any) => {
|
|
|
-
|
|
|
- });
|
|
|
+ connection.on('BsSeatStateDataShowArea2', (message: any) => {});
|
|
|
// 服务端推送消息
|
|
|
- connection.on('BsSeatStateDataShowArea2', (message: any) => {
|
|
|
-
|
|
|
- });
|
|
|
+ connection.on('BsSeatStateDataShowArea3', (message: any) => {});
|
|
|
// 服务端推送消息
|
|
|
- connection.on('BsSeatStateDataShowArea3', (message: any) => {
|
|
|
-
|
|
|
- });
|
|
|
- // 服务端推送消息
|
|
|
- connection.on('BsSeatStateDataShowArea4', (message: any) => {
|
|
|
-
|
|
|
- });
|
|
|
+ connection.on('BsSeatStateDataShowArea4', (message: any) => {});
|
|
|
},
|
|
|
/**
|
|
|
* @description 调用 this.signalR.start().then(async () => { await this.SR.invoke("method")})
|
|
@@ -195,4 +183,4 @@ export default {
|
|
|
console.log('signalR', error);
|
|
|
}
|
|
|
},
|
|
|
-};
|
|
|
+};
|