react_hsbc_teller 2.0.86 → 2.0.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/lib/hsbc.js +1 -1
- package/package.json +1 -1
- package/packages/demo/1.vue +0 -0
- package/packages/demo/demo.js +13 -4
- package/packages/pages/video/video.jsx +10 -1
package/package.json
CHANGED
|
File without changes
|
package/packages/demo/demo.js
CHANGED
|
@@ -5,10 +5,15 @@ import Pdf from './pdf.js'
|
|
|
5
5
|
class Demo extends Component {
|
|
6
6
|
state = {
|
|
7
7
|
shareMask: false,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
mtoken
|
|
9
|
+
:
|
|
10
|
+
"62e146acaaf8",
|
|
11
|
+
roomId
|
|
12
|
+
:
|
|
13
|
+
"7601660126711209",
|
|
14
|
+
sessionId
|
|
15
|
+
:
|
|
16
|
+
"67657131",
|
|
12
17
|
// roomId: '',
|
|
13
18
|
// mtoken: '',
|
|
14
19
|
// imRoomId: '',
|
|
@@ -188,6 +193,8 @@ handleChangeUserSide = (event) => {
|
|
|
188
193
|
userSide: event.target.value
|
|
189
194
|
})
|
|
190
195
|
}
|
|
196
|
+
onRoomAttendanceList=()=>{}
|
|
197
|
+
onNewJoinerIn=()=>{}
|
|
191
198
|
userExit =(val)=>{
|
|
192
199
|
console.log(val)
|
|
193
200
|
}
|
|
@@ -260,6 +267,8 @@ userExit =(val)=>{
|
|
|
260
267
|
OnNetworkWeak={(a, b, c)=>{console.log('OnNetworkWeak', a,b,c)}}
|
|
261
268
|
userExit={this.userExit}
|
|
262
269
|
staffPermission={this.staffPermission}
|
|
270
|
+
onRoomAttendanceList={this.onRoomAttendanceList}
|
|
271
|
+
onNewJoinerIn={this.onNewJoinerIn}
|
|
263
272
|
>
|
|
264
273
|
|
|
265
274
|
<Pdf></Pdf>
|
|
@@ -66,7 +66,7 @@ import axios from 'axios';
|
|
|
66
66
|
import CryptoJS from "crypto-js";
|
|
67
67
|
|
|
68
68
|
|
|
69
|
-
const SDK_VERISON = '2.0.
|
|
69
|
+
const SDK_VERISON = '2.0.88'
|
|
70
70
|
const IDtypeFront = '请客户在其设备后置摄像头下展示证件正面(如:身份证照片页面)'
|
|
71
71
|
const IDtypeBack = '请在后置摄像头下展示证件反面(如:身份证国徽页)'
|
|
72
72
|
const { Option } = Select;
|
|
@@ -2229,6 +2229,11 @@ class Video extends Component {
|
|
|
2229
2229
|
this.props.closePdfCallback({
|
|
2230
2230
|
step: Mival.data.step
|
|
2231
2231
|
})
|
|
2232
|
+
} else if (Mival.typeId == 4200) {
|
|
2233
|
+
this.saveLog('IM TYPE ' + Mival.typeId + this.state.sessionId + Mival.data.sessionId )
|
|
2234
|
+
if(this.state.sessionId == Mival.data.sessionId ) {
|
|
2235
|
+
this.messageClick('客户端音量过低', 'error')
|
|
2236
|
+
}
|
|
2232
2237
|
}
|
|
2233
2238
|
}
|
|
2234
2239
|
getUserTitle = (userId) => {
|
|
@@ -3055,6 +3060,8 @@ class Video extends Component {
|
|
|
3055
3060
|
// 推送“房间与会者列表”给新加⼊者
|
|
3056
3061
|
this.test_controller.OnRoomAttendanceList = (participants) => {
|
|
3057
3062
|
console.log('房间与会者列表', participants)
|
|
3063
|
+
// 新增房间与会者列表回调事件给汇丰
|
|
3064
|
+
this.props.onRoomAttendanceList(participants)
|
|
3058
3065
|
setTimeout(() => {
|
|
3059
3066
|
participants.map((item, index) => {
|
|
3060
3067
|
if (item.uid != this.state.tellerAccount) {
|
|
@@ -3145,6 +3152,8 @@ class Video extends Component {
|
|
|
3145
3152
|
this.props.h5JoinCallback()
|
|
3146
3153
|
}
|
|
3147
3154
|
}
|
|
3155
|
+
// 新增新加⼊房间者回调事件给汇丰
|
|
3156
|
+
this.props.onNewJoinerIn(participant)
|
|
3148
3157
|
};
|
|
3149
3158
|
// 推送“有新发布”给与会者
|
|
3150
3159
|
this.test_controller.OnNewPublish = (feed) => {
|