react_hsbc_teller 1.9.21 → 1.9.22
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/lib/hsbc.js +1 -1
- package/package.json +1 -1
- package/packages/pages/video/video.jsx +26 -9
package/package.json
CHANGED
|
@@ -296,7 +296,7 @@ class Video extends Component {
|
|
|
296
296
|
saveLog = (val) => {
|
|
297
297
|
axios({
|
|
298
298
|
method: 'get',
|
|
299
|
-
baseURL: this.props.logUrl + '&message=' + encodeURIComponent(val) + '&react_hsbc_teller=1.9.
|
|
299
|
+
baseURL: this.props.logUrl + '&message=' + encodeURIComponent(val) + '&react_hsbc_teller=1.9.22&logTime=' + Date.now() + '&mtoken=' + encodeURIComponent(this.state.rtoken) + '&roomId=' + encodeURIComponent(this.state.channelId) + '&sessionId=' + encodeURIComponent(this.state.sessionId) + '&appointmentID=' + this.props.businessNumber,
|
|
300
300
|
|
|
301
301
|
}).then(res => {
|
|
302
302
|
|
|
@@ -1012,14 +1012,14 @@ class Video extends Component {
|
|
|
1012
1012
|
return a.order - b.order;
|
|
1013
1013
|
})
|
|
1014
1014
|
for (let i =1;i<=12;i++){
|
|
1015
|
-
if(
|
|
1015
|
+
if(sortedlist[i-1].videoName){
|
|
1016
1016
|
list.push({
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1017
|
+
name: 'video' + sortedlist[i-1].idIndex,
|
|
1018
|
+
title: sortedlist[i-1].videoName,
|
|
1019
|
+
mute: sortedlist[i-1].mute,
|
|
1020
|
+
noVideo: sortedlist[i-1].noVideo
|
|
1021
|
+
})
|
|
1022
|
+
}
|
|
1023
1023
|
}
|
|
1024
1024
|
console.log(list)
|
|
1025
1025
|
this.state.listVideoPicture = list
|
|
@@ -1410,6 +1410,9 @@ class Video extends Component {
|
|
|
1410
1410
|
|
|
1411
1411
|
}
|
|
1412
1412
|
}
|
|
1413
|
+
if (this.state.isPictureInPicture) {
|
|
1414
|
+
this.pictureInPicture('Refresh')
|
|
1415
|
+
}
|
|
1413
1416
|
}
|
|
1414
1417
|
} else if (Mival.typeId == 121305) {
|
|
1415
1418
|
if (Mival.sessionId == this.state.sessionId) {
|
|
@@ -1444,6 +1447,9 @@ class Video extends Component {
|
|
|
1444
1447
|
this.setState({
|
|
1445
1448
|
videoList: this.state.videoList
|
|
1446
1449
|
})
|
|
1450
|
+
if (this.state.isPictureInPicture) {
|
|
1451
|
+
this.pictureInPicture('Refresh')
|
|
1452
|
+
}
|
|
1447
1453
|
}
|
|
1448
1454
|
}
|
|
1449
1455
|
};
|
|
@@ -2941,7 +2947,7 @@ class Video extends Component {
|
|
|
2941
2947
|
}
|
|
2942
2948
|
}
|
|
2943
2949
|
componentWillMount() {
|
|
2944
|
-
console.log('hsbc_teller_sdk', '1.9.
|
|
2950
|
+
console.log('hsbc_teller_sdk', '1.9.22')
|
|
2945
2951
|
let arr = []
|
|
2946
2952
|
for(let i=1;i<=12;i++){
|
|
2947
2953
|
arr.push({
|
|
@@ -3021,6 +3027,11 @@ class Video extends Component {
|
|
|
3021
3027
|
console.log(data)
|
|
3022
3028
|
})
|
|
3023
3029
|
}
|
|
3030
|
+
if (this.state.isPictureInPicture) {
|
|
3031
|
+
setTimeout(() => {
|
|
3032
|
+
this.pictureInPicture('Refresh')
|
|
3033
|
+
}, 0);
|
|
3034
|
+
}
|
|
3024
3035
|
}
|
|
3025
3036
|
};
|
|
3026
3037
|
isFileSuccuse = () => {
|
|
@@ -3432,6 +3443,9 @@ class Video extends Component {
|
|
|
3432
3443
|
// videoList: this.state.videoList
|
|
3433
3444
|
// })
|
|
3434
3445
|
this.videoListSort();
|
|
3446
|
+
if (this.state.isPictureInPicture) {
|
|
3447
|
+
this.pictureInPicture('Refresh')
|
|
3448
|
+
}
|
|
3435
3449
|
} else {
|
|
3436
3450
|
console.log('1')
|
|
3437
3451
|
this.messageClick('保持信息失败', 'error')
|
|
@@ -3723,6 +3737,9 @@ class Video extends Component {
|
|
|
3723
3737
|
// videoList: this.state.videoList
|
|
3724
3738
|
// })
|
|
3725
3739
|
this.videoListSort();
|
|
3740
|
+
if (this.state.isPictureInPicture) {
|
|
3741
|
+
this.pictureInPicture('Refresh')
|
|
3742
|
+
}
|
|
3726
3743
|
} else {
|
|
3727
3744
|
console.log('1')
|
|
3728
3745
|
this.messageClick('保持信息失败', 'error')
|