react_hsbc_teller 1.8.8 → 1.8.9
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/demo/demo.js +4 -4
- package/packages/pages/video/video.jsx +109 -28
- package/packages/pages/video/video.less +17 -3
package/package.json
CHANGED
package/packages/demo/demo.js
CHANGED
|
@@ -5,10 +5,10 @@ import Pdf from './pdf.js'
|
|
|
5
5
|
class Demo extends Component {
|
|
6
6
|
state = {
|
|
7
7
|
shareMask: false,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
imRoomId: "7gXpNZYEg@conference.ls-im-xmpp.chinawp.dev.ali.cloud.cn.hsbc",
|
|
9
|
+
sessionId: "7gXpNZYEg",
|
|
10
|
+
mtoken: "edc44751a3bf",
|
|
11
|
+
roomId: "662356472529707",
|
|
12
12
|
// roomId: '',
|
|
13
13
|
// mtoken: '',
|
|
14
14
|
// imRoomId: '',
|
|
@@ -333,7 +333,9 @@ class Video extends Component {
|
|
|
333
333
|
loadingFace: false,
|
|
334
334
|
faceResuly: '',
|
|
335
335
|
isStaffState: '',
|
|
336
|
-
loadingStaff: false
|
|
336
|
+
loadingStaff: false,
|
|
337
|
+
isVideoList: false,
|
|
338
|
+
faceFailReason: '',
|
|
337
339
|
};
|
|
338
340
|
// eslint-disable-next-line no-undef
|
|
339
341
|
test_controller = '';
|
|
@@ -341,7 +343,7 @@ class Video extends Component {
|
|
|
341
343
|
saveLog = (val) => {
|
|
342
344
|
axios({
|
|
343
345
|
method: 'get',
|
|
344
|
-
baseURL: this.props.logUrl + '&message=' + encodeURIComponent(val) + '&react_hsbc_teller=1.8.
|
|
346
|
+
baseURL: this.props.logUrl + '&message=' + encodeURIComponent(val) + '&react_hsbc_teller=1.8.9&logTime=' + Date.now() + '&mtoken=' + encodeURIComponent(this.state.rtoken) + '&roomId=' + encodeURIComponent(this.state.channelId) + '&sessionId=' + encodeURIComponent(this.state.sessionId) + '&appointmentID=' + this.props.businessNumber,
|
|
345
347
|
|
|
346
348
|
}).then(res => {
|
|
347
349
|
|
|
@@ -801,7 +803,8 @@ class Video extends Component {
|
|
|
801
803
|
this.setState({
|
|
802
804
|
loadingFace: false,
|
|
803
805
|
faceResuly: 'success',
|
|
804
|
-
isFaceImage: ''
|
|
806
|
+
isFaceImage: '',
|
|
807
|
+
faceFailReason: ''
|
|
805
808
|
})
|
|
806
809
|
// this.setState({
|
|
807
810
|
// isModalVisibleFacial: false
|
|
@@ -811,7 +814,8 @@ class Video extends Component {
|
|
|
811
814
|
this.setState({
|
|
812
815
|
loadingFace: false,
|
|
813
816
|
faceResuly: 'fail',
|
|
814
|
-
isFaceImage: ''
|
|
817
|
+
isFaceImage: '',
|
|
818
|
+
faceFailReason: result.message
|
|
815
819
|
})
|
|
816
820
|
}
|
|
817
821
|
|
|
@@ -820,10 +824,12 @@ class Video extends Component {
|
|
|
820
824
|
if (err.status == 502 || err.status == 404) {
|
|
821
825
|
this.roomCallBack(2, '连接服务器失败', 'SYS-02')
|
|
822
826
|
}
|
|
827
|
+
console.log(err)
|
|
823
828
|
this.setState({
|
|
824
829
|
loadingFace: false,
|
|
825
830
|
faceResuly: 'fail',
|
|
826
|
-
isFaceImage: ''
|
|
831
|
+
isFaceImage: '',
|
|
832
|
+
faceFailReason: err.message
|
|
827
833
|
})
|
|
828
834
|
console.error('err', err);
|
|
829
835
|
}
|
|
@@ -976,11 +982,12 @@ class Video extends Component {
|
|
|
976
982
|
})
|
|
977
983
|
if (list.length > 0) {
|
|
978
984
|
if (val == 'ocr') {
|
|
985
|
+
console.log('this.state.customerList.length',list.length)
|
|
979
986
|
this.setState({
|
|
980
987
|
documentType: '',
|
|
981
988
|
isModalVisibleCustomer: true,
|
|
982
989
|
isCustomerSelect: true,
|
|
983
|
-
customerSelect: '',
|
|
990
|
+
customerSelect: list.length == 1 ? 0 : '',
|
|
984
991
|
customerTitleName: '客户身份识别'
|
|
985
992
|
})
|
|
986
993
|
} else if (val == 'facial') {
|
|
@@ -2397,6 +2404,7 @@ class Video extends Component {
|
|
|
2397
2404
|
// 订阅媒体流成功
|
|
2398
2405
|
this.test_controller.OnSubscribeSucc = (feed, sid) => {
|
|
2399
2406
|
console.log('订阅媒体流成功', feed, sid);
|
|
2407
|
+
|
|
2400
2408
|
this.appGetUsername(sid)
|
|
2401
2409
|
console.log(muteJson, muteJson.size)
|
|
2402
2410
|
if (muteJson.size > 0) {
|
|
@@ -3016,6 +3024,8 @@ class Video extends Component {
|
|
|
3016
3024
|
videoOneName: '',
|
|
3017
3025
|
voiceVideoOne: false,
|
|
3018
3026
|
noVideoOne: false
|
|
3027
|
+
},()=>{
|
|
3028
|
+
this.videoListClick()
|
|
3019
3029
|
})
|
|
3020
3030
|
}
|
|
3021
3031
|
if (!document.getElementById("video2").name) {
|
|
@@ -3024,6 +3034,8 @@ class Video extends Component {
|
|
|
3024
3034
|
videoTwoName: '',
|
|
3025
3035
|
voiceVideoTwo: false,
|
|
3026
3036
|
noVideoTwo: false
|
|
3037
|
+
},()=>{
|
|
3038
|
+
this.videoListClick()
|
|
3027
3039
|
})
|
|
3028
3040
|
}
|
|
3029
3041
|
if (!document.getElementById("video3").name) {
|
|
@@ -3032,6 +3044,8 @@ class Video extends Component {
|
|
|
3032
3044
|
videoThreeName: '',
|
|
3033
3045
|
voiceVideoThree: false,
|
|
3034
3046
|
noVideoThree: false
|
|
3047
|
+
},()=>{
|
|
3048
|
+
this.videoListClick()
|
|
3035
3049
|
})
|
|
3036
3050
|
}
|
|
3037
3051
|
if (!document.getElementById("video4").name) {
|
|
@@ -3040,6 +3054,8 @@ class Video extends Component {
|
|
|
3040
3054
|
videoFourName: '',
|
|
3041
3055
|
voiceVideoFour: false,
|
|
3042
3056
|
noVideoFour: false
|
|
3057
|
+
},()=>{
|
|
3058
|
+
this.videoListClick()
|
|
3043
3059
|
})
|
|
3044
3060
|
}
|
|
3045
3061
|
if (!document.getElementById("video5").name) {
|
|
@@ -3048,6 +3064,8 @@ class Video extends Component {
|
|
|
3048
3064
|
videoFiveName: '',
|
|
3049
3065
|
voiceVideoFive: false,
|
|
3050
3066
|
noVideoFive: false
|
|
3067
|
+
},()=>{
|
|
3068
|
+
this.videoListClick()
|
|
3051
3069
|
})
|
|
3052
3070
|
}
|
|
3053
3071
|
if (!document.getElementById("video6").name) {
|
|
@@ -3056,6 +3074,8 @@ class Video extends Component {
|
|
|
3056
3074
|
videoSixName: '',
|
|
3057
3075
|
voiceVideoSix: false,
|
|
3058
3076
|
noVideoSix: false
|
|
3077
|
+
},()=>{
|
|
3078
|
+
this.videoListClick()
|
|
3059
3079
|
})
|
|
3060
3080
|
}
|
|
3061
3081
|
|
|
@@ -3065,6 +3085,8 @@ class Video extends Component {
|
|
|
3065
3085
|
videoSevenName: '',
|
|
3066
3086
|
voiceVideoSeven: false,
|
|
3067
3087
|
noVideoSeven: false
|
|
3088
|
+
},()=>{
|
|
3089
|
+
this.videoListClick()
|
|
3068
3090
|
})
|
|
3069
3091
|
}
|
|
3070
3092
|
if (!document.getElementById("video8").name) {
|
|
@@ -3073,6 +3095,8 @@ class Video extends Component {
|
|
|
3073
3095
|
videoEightName: '',
|
|
3074
3096
|
voiceVideoEight: false,
|
|
3075
3097
|
noVideoEight: false
|
|
3098
|
+
},()=>{
|
|
3099
|
+
this.videoListClick()
|
|
3076
3100
|
})
|
|
3077
3101
|
}
|
|
3078
3102
|
if (!document.getElementById("video9").name) {
|
|
@@ -3081,6 +3105,8 @@ class Video extends Component {
|
|
|
3081
3105
|
videoNineName: '',
|
|
3082
3106
|
voiceVideoNine: false,
|
|
3083
3107
|
noVideoNine: false
|
|
3108
|
+
},()=>{
|
|
3109
|
+
this.videoListClick()
|
|
3084
3110
|
})
|
|
3085
3111
|
}
|
|
3086
3112
|
if (!document.getElementById("video10").name) {
|
|
@@ -3089,6 +3115,8 @@ class Video extends Component {
|
|
|
3089
3115
|
videoTenName: '',
|
|
3090
3116
|
voiceVideoTen: false,
|
|
3091
3117
|
noVideoTen: false
|
|
3118
|
+
},()=>{
|
|
3119
|
+
this.videoListClick()
|
|
3092
3120
|
})
|
|
3093
3121
|
}
|
|
3094
3122
|
if (!document.getElementById("video11").name) {
|
|
@@ -3097,6 +3125,8 @@ class Video extends Component {
|
|
|
3097
3125
|
videoElevenName: '',
|
|
3098
3126
|
voiceVideoEleven: false,
|
|
3099
3127
|
noVideoEleven: false
|
|
3128
|
+
},()=>{
|
|
3129
|
+
this.videoListClick()
|
|
3100
3130
|
})
|
|
3101
3131
|
}
|
|
3102
3132
|
if (!document.getElementById("video12").name) {
|
|
@@ -3105,6 +3135,8 @@ class Video extends Component {
|
|
|
3105
3135
|
videoTwelveName: '',
|
|
3106
3136
|
voiceVideoTwelve: false,
|
|
3107
3137
|
noVideoTwelve: false
|
|
3138
|
+
},()=>{
|
|
3139
|
+
this.videoListClick()
|
|
3108
3140
|
})
|
|
3109
3141
|
}
|
|
3110
3142
|
this.state.analyserData.delete(sid)
|
|
@@ -3794,7 +3826,7 @@ class Video extends Component {
|
|
|
3794
3826
|
}
|
|
3795
3827
|
}
|
|
3796
3828
|
componentWillMount() {
|
|
3797
|
-
console.log('hsbc_teller_sdk', '1.8.
|
|
3829
|
+
console.log('hsbc_teller_sdk', '1.8.9')
|
|
3798
3830
|
if (this.props.sessionId) {
|
|
3799
3831
|
this.getRoomStatus({
|
|
3800
3832
|
sessionId: this.props.sessionId
|
|
@@ -4317,6 +4349,17 @@ class Video extends Component {
|
|
|
4317
4349
|
isModalVisibleFacial: false
|
|
4318
4350
|
})
|
|
4319
4351
|
};
|
|
4352
|
+
ReIdentification = () =>{
|
|
4353
|
+
this.setState({
|
|
4354
|
+
faceResuly: '',
|
|
4355
|
+
facialImg: ocrImage,
|
|
4356
|
+
isFaceImage: false
|
|
4357
|
+
},()=>{
|
|
4358
|
+
const videoMedia = document.getElementById('publish_video_2');
|
|
4359
|
+
videoMedia.srcObject = document.getElementById(videoName).srcObject
|
|
4360
|
+
})
|
|
4361
|
+
|
|
4362
|
+
}
|
|
4320
4363
|
// 坐席签字
|
|
4321
4364
|
transcribingClick = () => {
|
|
4322
4365
|
};
|
|
@@ -4588,6 +4631,8 @@ class Video extends Component {
|
|
|
4588
4631
|
}
|
|
4589
4632
|
this.setState({
|
|
4590
4633
|
videoOneName: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId1").innerText).tag == 'VIDEO_SOURCE_SCREEN' ? '共享屏幕' : data ? data : '客户1'
|
|
4634
|
+
},()=>{
|
|
4635
|
+
this.videoListClick()
|
|
4591
4636
|
})
|
|
4592
4637
|
}
|
|
4593
4638
|
if (document.getElementById('video2').name == sid) {
|
|
@@ -4596,6 +4641,8 @@ class Video extends Component {
|
|
|
4596
4641
|
}
|
|
4597
4642
|
this.setState({
|
|
4598
4643
|
videoTwoName: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId2").innerText).tag == 'VIDEO_SOURCE_SCREEN' ? '共享屏幕' : data ? data : '客户2'
|
|
4644
|
+
},()=>{
|
|
4645
|
+
this.videoListClick()
|
|
4599
4646
|
})
|
|
4600
4647
|
} if (document.getElementById('video3').name == sid) {
|
|
4601
4648
|
if (typeIntranet && typeIntranet == 2) {
|
|
@@ -4603,6 +4650,8 @@ class Video extends Component {
|
|
|
4603
4650
|
}
|
|
4604
4651
|
this.setState({
|
|
4605
4652
|
videoThreeName: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId3").innerText).tag == 'VIDEO_SOURCE_SCREEN' ? '共享屏幕' : data ? data : '客户3'
|
|
4653
|
+
},()=>{
|
|
4654
|
+
this.videoListClick()
|
|
4606
4655
|
})
|
|
4607
4656
|
} if (document.getElementById('video4').name == sid) {
|
|
4608
4657
|
if (typeIntranet && typeIntranet == 2) {
|
|
@@ -4610,6 +4659,8 @@ class Video extends Component {
|
|
|
4610
4659
|
}
|
|
4611
4660
|
this.setState({
|
|
4612
4661
|
videoFourName: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId4").innerText).tag == 'VIDEO_SOURCE_SCREEN' ? '共享屏幕' : data ? data : '客户4'
|
|
4662
|
+
},()=>{
|
|
4663
|
+
this.videoListClick()
|
|
4613
4664
|
})
|
|
4614
4665
|
} if (document.getElementById('video5').name == sid) {
|
|
4615
4666
|
if (typeIntranet && typeIntranet == 2) {
|
|
@@ -4617,6 +4668,8 @@ class Video extends Component {
|
|
|
4617
4668
|
}
|
|
4618
4669
|
this.setState({
|
|
4619
4670
|
videoFiveName: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId5").innerText).tag == 'VIDEO_SOURCE_SCREEN' ? '共享屏幕' : data ? data : '客户5'
|
|
4671
|
+
},()=>{
|
|
4672
|
+
this.videoListClick()
|
|
4620
4673
|
})
|
|
4621
4674
|
} if (document.getElementById('video6').name == sid) {
|
|
4622
4675
|
if (typeIntranet && typeIntranet == 2) {
|
|
@@ -4624,6 +4677,8 @@ class Video extends Component {
|
|
|
4624
4677
|
}
|
|
4625
4678
|
this.setState({
|
|
4626
4679
|
videoSixName: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId6").innerText).tag == 'VIDEO_SOURCE_SCREEN' ? '共享屏幕' : data ? data : '客户6'
|
|
4680
|
+
},()=>{
|
|
4681
|
+
this.videoListClick()
|
|
4627
4682
|
})
|
|
4628
4683
|
}
|
|
4629
4684
|
if (document.getElementById('video7').name == sid) {
|
|
@@ -4632,6 +4687,8 @@ class Video extends Component {
|
|
|
4632
4687
|
}
|
|
4633
4688
|
this.setState({
|
|
4634
4689
|
videoSevenName: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId7").innerText).tag == 'VIDEO_SOURCE_SCREEN' ? '共享屏幕' : data ? data : '客户7'
|
|
4690
|
+
},()=>{
|
|
4691
|
+
this.videoListClick()
|
|
4635
4692
|
})
|
|
4636
4693
|
} if (document.getElementById('video8').name == sid) {
|
|
4637
4694
|
if (typeIntranet && typeIntranet == 2) {
|
|
@@ -4639,6 +4696,8 @@ class Video extends Component {
|
|
|
4639
4696
|
}
|
|
4640
4697
|
this.setState({
|
|
4641
4698
|
videoEightName: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId8").innerText).tag == 'VIDEO_SOURCE_SCREEN' ? '共享屏幕' : data ? data : '客户8'
|
|
4699
|
+
},()=>{
|
|
4700
|
+
this.videoListClick()
|
|
4642
4701
|
})
|
|
4643
4702
|
} if (document.getElementById('video9').name == sid) {
|
|
4644
4703
|
if (typeIntranet && typeIntranet == 2) {
|
|
@@ -4646,6 +4705,8 @@ class Video extends Component {
|
|
|
4646
4705
|
}
|
|
4647
4706
|
this.setState({
|
|
4648
4707
|
videoNineName: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId9").innerText).tag == 'VIDEO_SOURCE_SCREEN' ? '共享屏幕' : data ? data : '客户9'
|
|
4708
|
+
},()=>{
|
|
4709
|
+
this.videoListClick()
|
|
4649
4710
|
})
|
|
4650
4711
|
} if (document.getElementById('video10').name == sid) {
|
|
4651
4712
|
if (typeIntranet && typeIntranet == 2) {
|
|
@@ -4653,6 +4714,8 @@ class Video extends Component {
|
|
|
4653
4714
|
}
|
|
4654
4715
|
this.setState({
|
|
4655
4716
|
videoTenName: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId10").innerText).tag == 'VIDEO_SOURCE_SCREEN' ? '共享屏幕' : data ? data : '客户10'
|
|
4717
|
+
},()=>{
|
|
4718
|
+
this.videoListClick()
|
|
4656
4719
|
})
|
|
4657
4720
|
} if (document.getElementById('video11').name == sid) {
|
|
4658
4721
|
if (typeIntranet && typeIntranet == 2) {
|
|
@@ -4660,6 +4723,8 @@ class Video extends Component {
|
|
|
4660
4723
|
}
|
|
4661
4724
|
this.setState({
|
|
4662
4725
|
videoElevenName: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId11").innerText).tag == 'VIDEO_SOURCE_SCREEN' ? '共享屏幕' : data ? data : '客户11'
|
|
4726
|
+
},()=>{
|
|
4727
|
+
this.videoListClick()
|
|
4663
4728
|
})
|
|
4664
4729
|
} if (document.getElementById('video12').name == sid) {
|
|
4665
4730
|
if (typeIntranet && typeIntranet == 2) {
|
|
@@ -4667,6 +4732,8 @@ class Video extends Component {
|
|
|
4667
4732
|
}
|
|
4668
4733
|
this.setState({
|
|
4669
4734
|
videoTwelveName: this.seeList(this.state.roomCustomerList, 'feedId', document.getElementById("feedId12").innerText).tag == 'VIDEO_SOURCE_SCREEN' ? '共享屏幕' : data ? data : '客户12'
|
|
4735
|
+
},()=>{
|
|
4736
|
+
this.videoListClick()
|
|
4670
4737
|
})
|
|
4671
4738
|
}
|
|
4672
4739
|
if (this.state.isPictureInPicture) {
|
|
@@ -5364,6 +5431,19 @@ class Video extends Component {
|
|
|
5364
5431
|
console.log(err)
|
|
5365
5432
|
}
|
|
5366
5433
|
}
|
|
5434
|
+
videoListClick=()=>{
|
|
5435
|
+
// console.log(Math.trunc(document.getElementById("videoList").getBoundingClientRect().height),document.getElementById("videoList").scrollHeight)
|
|
5436
|
+
// if(Math.trunc(document.getElementById("videoList").getBoundingClientRect().height) >= document.getElementById("videoList").scrollHeight && this.state.isVideoList) {
|
|
5437
|
+
// this.setState({
|
|
5438
|
+
// isVideoList: false
|
|
5439
|
+
// })
|
|
5440
|
+
|
|
5441
|
+
// } else if (Math.trunc(document.getElementById("videoList").getBoundingClientRect().height) < document.getElementById("videoList").scrollHeight && !this.state.isVideoList) {
|
|
5442
|
+
// this.setState({
|
|
5443
|
+
// isVideoList: true
|
|
5444
|
+
// })
|
|
5445
|
+
// }
|
|
5446
|
+
}
|
|
5367
5447
|
render() {
|
|
5368
5448
|
const { meetingInfo, isTranscribing } = this.props
|
|
5369
5449
|
var pdfChildren
|
|
@@ -5568,9 +5648,9 @@ class Video extends Component {
|
|
|
5568
5648
|
|
|
5569
5649
|
</div>
|
|
5570
5650
|
</div>
|
|
5571
|
-
<div
|
|
5651
|
+
<div id="videoList" className={`wrapper ${this.state.isVideoList? 'videoListClass': ''}`} style={{ width: '20%' }}>
|
|
5572
5652
|
<div
|
|
5573
|
-
className={`itemed`}
|
|
5653
|
+
className={`itemed ${this.state.isVideoList? 'videoMinutuListClass': 'videoMinutuClass'}`}
|
|
5574
5654
|
>
|
|
5575
5655
|
<div className="publishVideoDiv">
|
|
5576
5656
|
|
|
@@ -5600,7 +5680,7 @@ class Video extends Component {
|
|
|
5600
5680
|
|
|
5601
5681
|
</div>
|
|
5602
5682
|
<div
|
|
5603
|
-
className={`itemed`}
|
|
5683
|
+
className={`itemed ${this.state.isVideoList? 'videoMinutuListClass': 'videoMinutuClass'}`}
|
|
5604
5684
|
style={{ position: "relative", display: (this.state.videoOneName) ? '' : 'none' }}
|
|
5605
5685
|
>
|
|
5606
5686
|
{
|
|
@@ -5640,7 +5720,7 @@ class Video extends Component {
|
|
|
5640
5720
|
</div>
|
|
5641
5721
|
</div>
|
|
5642
5722
|
</div>
|
|
5643
|
-
<div className={`itemed`} style={{ display: (this.state.videoTwoName) ? '' : 'none', }}>
|
|
5723
|
+
<div className={`itemed ${this.state.isVideoList? 'videoMinutuListClass': 'videoMinutuClass'}`} style={{ display: (this.state.videoTwoName) ? '' : 'none', }}>
|
|
5644
5724
|
<video
|
|
5645
5725
|
id="video2"
|
|
5646
5726
|
autoPlay
|
|
@@ -5667,7 +5747,7 @@ class Video extends Component {
|
|
|
5667
5747
|
</div>
|
|
5668
5748
|
</div>
|
|
5669
5749
|
</div>
|
|
5670
|
-
<div className={`itemed`}
|
|
5750
|
+
<div className={`itemed ${this.state.isVideoList? 'videoMinutuListClass': 'videoMinutuClass'}`}
|
|
5671
5751
|
style={{ display: (this.state.videoThreeName) ? '' : 'none' }}>
|
|
5672
5752
|
<video
|
|
5673
5753
|
id="video3"
|
|
@@ -5695,7 +5775,7 @@ class Video extends Component {
|
|
|
5695
5775
|
</div>
|
|
5696
5776
|
</div>
|
|
5697
5777
|
</div>
|
|
5698
|
-
<div className={`itemed`} style={{ display: (this.state.videoFourName) ? '' : 'none', }}>
|
|
5778
|
+
<div className={`itemed ${this.state.isVideoList? 'videoMinutuListClass': 'videoMinutuClass'}`} style={{ display: (this.state.videoFourName) ? '' : 'none', }}>
|
|
5699
5779
|
<video
|
|
5700
5780
|
id="video4"
|
|
5701
5781
|
autoPlay
|
|
@@ -5722,7 +5802,7 @@ class Video extends Component {
|
|
|
5722
5802
|
</div>
|
|
5723
5803
|
</div>
|
|
5724
5804
|
</div>
|
|
5725
|
-
<div className={`itemed`}
|
|
5805
|
+
<div className={`itemed ${this.state.isVideoList? 'videoMinutuListClass': 'videoMinutuClass'}`}
|
|
5726
5806
|
style={{ display: (this.state.videoFiveName) ? '' : 'none' }}>
|
|
5727
5807
|
<video
|
|
5728
5808
|
id="video5"
|
|
@@ -5750,7 +5830,7 @@ class Video extends Component {
|
|
|
5750
5830
|
</div>
|
|
5751
5831
|
</div>
|
|
5752
5832
|
</div>
|
|
5753
|
-
<div className={`itemed`} style={{ display: (this.state.videoSixName) ? '' : 'none', }}>
|
|
5833
|
+
<div className={`itemed ${this.state.isVideoList? 'videoMinutuListClass': 'videoMinutuClass'}`} style={{ display: (this.state.videoSixName) ? '' : 'none', }}>
|
|
5754
5834
|
<video
|
|
5755
5835
|
id="video6"
|
|
5756
5836
|
autoPlay
|
|
@@ -5779,7 +5859,7 @@ class Video extends Component {
|
|
|
5779
5859
|
|
|
5780
5860
|
</div>
|
|
5781
5861
|
<div
|
|
5782
|
-
className={`itemed`}
|
|
5862
|
+
className={`itemed ${this.state.isVideoList? 'videoMinutuListClass': 'videoMinutuClass'}`}
|
|
5783
5863
|
style={{ position: "relative", display: (this.state.videoSevenName) ? '' : 'none' }}
|
|
5784
5864
|
>
|
|
5785
5865
|
{
|
|
@@ -5819,7 +5899,7 @@ class Video extends Component {
|
|
|
5819
5899
|
</div>
|
|
5820
5900
|
</div>
|
|
5821
5901
|
</div>
|
|
5822
|
-
<div className={`itemed`} style={{ display: (this.state.videoEightName) ? '' : 'none', }}>
|
|
5902
|
+
<div className={`itemed ${this.state.isVideoList? 'videoMinutuListClass': 'videoMinutuClass'}`} style={{ display: (this.state.videoEightName) ? '' : 'none', }}>
|
|
5823
5903
|
<video
|
|
5824
5904
|
id="video8"
|
|
5825
5905
|
autoPlay
|
|
@@ -5846,7 +5926,7 @@ class Video extends Component {
|
|
|
5846
5926
|
</div>
|
|
5847
5927
|
</div>
|
|
5848
5928
|
</div>
|
|
5849
|
-
<div className={`itemed`} style={{ display: (this.state.videoNineName) ? '' : 'none', }}>
|
|
5929
|
+
<div className={`itemed ${this.state.isVideoList? 'videoMinutuListClass': 'videoMinutuClass'}`} style={{ display: (this.state.videoNineName) ? '' : 'none', }}>
|
|
5850
5930
|
<video
|
|
5851
5931
|
id="video9"
|
|
5852
5932
|
autoPlay
|
|
@@ -5874,7 +5954,7 @@ class Video extends Component {
|
|
|
5874
5954
|
</div>
|
|
5875
5955
|
|
|
5876
5956
|
</div>
|
|
5877
|
-
<div className={`itemed`}
|
|
5957
|
+
<div className={`itemed ${this.state.isVideoList? 'videoMinutuListClass': 'videoMinutuClass'}`}
|
|
5878
5958
|
style={{ display: (this.state.videoTenName) ? '' : 'none' }}>
|
|
5879
5959
|
<video
|
|
5880
5960
|
id="video10"
|
|
@@ -5902,7 +5982,7 @@ class Video extends Component {
|
|
|
5902
5982
|
</div>
|
|
5903
5983
|
</div>
|
|
5904
5984
|
</div>
|
|
5905
|
-
<div className={`itemed`} style={{ display: (this.state.videoElevenName) ? '' : 'none', }}>
|
|
5985
|
+
<div className={`itemed ${this.state.isVideoList? 'videoMinutuListClass': 'videoMinutuClass'}`} style={{ display: (this.state.videoElevenName) ? '' : 'none', }}>
|
|
5906
5986
|
<video
|
|
5907
5987
|
id="video11"
|
|
5908
5988
|
autoPlay
|
|
@@ -5929,7 +6009,7 @@ class Video extends Component {
|
|
|
5929
6009
|
</div>
|
|
5930
6010
|
</div>
|
|
5931
6011
|
</div>
|
|
5932
|
-
<div className={`itemed`}
|
|
6012
|
+
<div className={`itemed ${this.state.isVideoList? 'videoMinutuListClass': 'videoMinutuClass'}`}
|
|
5933
6013
|
style={{ display: (this.state.videoTwelveName) ? '' : 'none' }}>
|
|
5934
6014
|
<video
|
|
5935
6015
|
id="video12"
|
|
@@ -6012,7 +6092,6 @@ class Video extends Component {
|
|
|
6012
6092
|
]}>
|
|
6013
6093
|
<div className='endModal'>是否要结束并退出会议?</div>
|
|
6014
6094
|
</Modal>
|
|
6015
|
-
|
|
6016
6095
|
<Modal title={this.state.titleModal} closable={false} centered={true} visible={this.state.isModalVisibleFacial} footer={[
|
|
6017
6096
|
!this.state.idCardName && this.state.faceResuly == '' &&<div key='facial'>
|
|
6018
6097
|
<Button className="modelButtonCancel" onClick={this.handleCancelFacial}>取消</Button>
|
|
@@ -6026,6 +6105,12 @@ class Video extends Component {
|
|
|
6026
6105
|
|
|
6027
6106
|
</div>,
|
|
6028
6107
|
!this.state.idCardName && this.state.faceResuly != '' &&<div key='facial'>
|
|
6108
|
+
{
|
|
6109
|
+
this.state.faceResuly == 'fail' && <Button className="modelButtonOk" type="primary" danger onClick={this.ReIdentification}>重新识别</Button>
|
|
6110
|
+
}
|
|
6111
|
+
{
|
|
6112
|
+
this.state.faceResuly == 'success' && <Button className="modelButtonNo" type="primary" danger>重新识别</Button>
|
|
6113
|
+
}
|
|
6029
6114
|
<Button className="modelButtonCancel" onClick={this.handleCancelFacial}>完成</Button>
|
|
6030
6115
|
|
|
6031
6116
|
</div>,
|
|
@@ -6065,7 +6150,7 @@ class Video extends Component {
|
|
|
6065
6150
|
}
|
|
6066
6151
|
{
|
|
6067
6152
|
this.state.idCardName && <div className='resuleCard'>
|
|
6068
|
-
<div>
|
|
6153
|
+
<div className='imgDIV'>
|
|
6069
6154
|
<img className="faceImgCard" src={this.state.facialImgFront} alt=""></img>
|
|
6070
6155
|
<img className="faceImgCard" src={this.state.facialImgBack} alt=""></img>
|
|
6071
6156
|
</div>
|
|
@@ -6085,7 +6170,7 @@ class Video extends Component {
|
|
|
6085
6170
|
}
|
|
6086
6171
|
{
|
|
6087
6172
|
this.state.faceResuly == 'fail' && <div className='errorClassFace'>
|
|
6088
|
-
<img src={require("../../assets/img/tooltips2_fail.png").default} alt="" ></img
|
|
6173
|
+
<img src={require("../../assets/img/tooltips2_fail.png").default} alt="" ></img>人脸识别失败--{this.state.faceFailReason}</div>
|
|
6089
6174
|
}
|
|
6090
6175
|
<div><span>客户姓名</span> <input disabled type="text" value={this.state.idCardNameFace}/></div>
|
|
6091
6176
|
<div><span>身份证号</span> <input disabled type="text" value={this.state.idCardNumberFace}/></div>
|
|
@@ -6096,7 +6181,6 @@ class Video extends Component {
|
|
|
6096
6181
|
</div>
|
|
6097
6182
|
</Spin>
|
|
6098
6183
|
</Modal>
|
|
6099
|
-
|
|
6100
6184
|
<Modal title="经理人员授权" closable={false} centered={true} visible={this.state.isModalVisibleSFP}
|
|
6101
6185
|
footer={[
|
|
6102
6186
|
<div key='end'>
|
|
@@ -6124,9 +6208,6 @@ class Video extends Component {
|
|
|
6124
6208
|
</div>
|
|
6125
6209
|
</Spin>
|
|
6126
6210
|
</Modal>
|
|
6127
|
-
|
|
6128
|
-
|
|
6129
|
-
|
|
6130
6211
|
<Modal title={this.state.customerTitleName} closable={false} centered={true} visible={this.state.isModalVisibleCustomer}
|
|
6131
6212
|
footer={[
|
|
6132
6213
|
<div key='end'>
|
|
@@ -563,9 +563,23 @@
|
|
|
563
563
|
margin-left: 40px;
|
|
564
564
|
}
|
|
565
565
|
.faceImgCard{
|
|
566
|
-
width:
|
|
567
|
-
margin:
|
|
566
|
+
width: 15rem;
|
|
567
|
+
margin-right: 3px;
|
|
568
568
|
}
|
|
569
569
|
.titleDiv{
|
|
570
|
-
font-size:
|
|
570
|
+
font-size: 1.4rem;
|
|
571
|
+
}
|
|
572
|
+
.videoListClass{
|
|
573
|
+
align-content: flex-start;
|
|
574
|
+
flex-wrap: wrap;
|
|
575
|
+
display: inline-flex;
|
|
576
|
+
}
|
|
577
|
+
.videoMinutuListClass{
|
|
578
|
+
width: 50%;
|
|
579
|
+
}
|
|
580
|
+
.videoMinutuClass{
|
|
581
|
+
width: 100%;
|
|
582
|
+
}
|
|
583
|
+
.imgDIV{
|
|
584
|
+
margin: 0 !important;
|
|
571
585
|
}
|