react_hsbc_teller 1.6.6 → 1.6.7
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 +61 -36
- package/packages/pages/video/video.less +9 -0
package/package.json
CHANGED
|
@@ -430,9 +430,9 @@ class Video extends Component {
|
|
|
430
430
|
{
|
|
431
431
|
tag: 'projectionWhiteboard',
|
|
432
432
|
xPosition: 0,
|
|
433
|
-
yPosition:
|
|
434
|
-
width:
|
|
435
|
-
height:
|
|
433
|
+
yPosition: 175,
|
|
434
|
+
width: 960,
|
|
435
|
+
height: 540
|
|
436
436
|
},
|
|
437
437
|
// {
|
|
438
438
|
// tag: 'VIDEO_SOURCE_SCREEN_ONE',
|
|
@@ -452,43 +452,43 @@ class Video extends Component {
|
|
|
452
452
|
tag: 'tag1',
|
|
453
453
|
xPosition: 0,
|
|
454
454
|
yPosition: 0,
|
|
455
|
-
width:
|
|
456
|
-
height:
|
|
455
|
+
width: 213,
|
|
456
|
+
height: 175
|
|
457
457
|
},
|
|
458
458
|
{
|
|
459
459
|
tag: 'customer1',
|
|
460
|
-
xPosition:
|
|
460
|
+
xPosition: 213,
|
|
461
461
|
yPosition: 0,
|
|
462
|
-
width:
|
|
463
|
-
height:
|
|
462
|
+
width: 213,
|
|
463
|
+
height: 175
|
|
464
464
|
},
|
|
465
465
|
{
|
|
466
466
|
tag: 'customer2',
|
|
467
|
-
xPosition:
|
|
467
|
+
xPosition: 426,
|
|
468
468
|
yPosition: 0,
|
|
469
|
-
width:
|
|
470
|
-
height:
|
|
469
|
+
width: 213,
|
|
470
|
+
height: 175
|
|
471
471
|
},
|
|
472
472
|
{
|
|
473
473
|
tag: 'customer3',
|
|
474
|
-
xPosition:
|
|
474
|
+
xPosition: 639,
|
|
475
475
|
yPosition: 0,
|
|
476
|
-
width:
|
|
477
|
-
height:
|
|
476
|
+
width: 213,
|
|
477
|
+
height: 175
|
|
478
478
|
},
|
|
479
479
|
{
|
|
480
480
|
tag: 'customer4',
|
|
481
|
-
xPosition:
|
|
481
|
+
xPosition: 852,
|
|
482
482
|
yPosition: 0,
|
|
483
|
-
width:
|
|
484
|
-
height:
|
|
483
|
+
width: 213,
|
|
484
|
+
height: 175
|
|
485
485
|
},
|
|
486
486
|
{
|
|
487
487
|
tag: 'customer5',
|
|
488
|
-
xPosition:
|
|
488
|
+
xPosition: 1065,
|
|
489
489
|
yPosition: 0,
|
|
490
|
-
width:
|
|
491
|
-
height:
|
|
490
|
+
width: 213,
|
|
491
|
+
height: 175
|
|
492
492
|
},
|
|
493
493
|
// {
|
|
494
494
|
// tag: 'customer6',
|
|
@@ -542,17 +542,25 @@ class Video extends Component {
|
|
|
542
542
|
width: item.width,
|
|
543
543
|
height: item.height
|
|
544
544
|
})
|
|
545
|
-
}) :
|
|
545
|
+
}) :
|
|
546
|
+
list.push({
|
|
546
547
|
tag: 'VIDEO_SOURCE_SCREEN',
|
|
547
|
-
xPosition:
|
|
548
|
-
yPosition:
|
|
549
|
-
width:
|
|
550
|
-
height:
|
|
548
|
+
xPosition: 960,
|
|
549
|
+
yPosition: 535,
|
|
550
|
+
width: 320,
|
|
551
|
+
height: 180
|
|
551
552
|
})
|
|
553
|
+
// list.push({
|
|
554
|
+
// tag: 'VIDEO_SOURCE_SCREEN_19_9',
|
|
555
|
+
// xPosition: 960,
|
|
556
|
+
// yPosition: 573,
|
|
557
|
+
// width: 304,
|
|
558
|
+
// height: 144
|
|
559
|
+
// })
|
|
552
560
|
const filePath = 'recordId_' + new Date().valueOf();
|
|
553
561
|
const recordParam = {};
|
|
554
|
-
recordParam.width =
|
|
555
|
-
recordParam.height =
|
|
562
|
+
recordParam.width = 1280;
|
|
563
|
+
recordParam.height = 720;
|
|
556
564
|
recordParam.recordTotalStream = 0;
|
|
557
565
|
recordParam.startTimeout = 10;
|
|
558
566
|
recordParam.splitType = 0;
|
|
@@ -564,7 +572,7 @@ class Video extends Component {
|
|
|
564
572
|
type: 1, // 1 为时间戳⽔印;2 为⽂字⽔印;3 为图⽚⽔印
|
|
565
573
|
id: 1, // ⽔印 ID
|
|
566
574
|
enable: true,
|
|
567
|
-
xPosition:
|
|
575
|
+
xPosition: 1000, // x 轴位置
|
|
568
576
|
yPosition: 10, // y 轴位置
|
|
569
577
|
text: '', // ⽔印⽂字
|
|
570
578
|
fontSize: 16, // 字体⼤⼩
|
|
@@ -3207,7 +3215,6 @@ userType:'1'
|
|
|
3207
3215
|
this.state.analyserHeight = this.state.analyserHeight
|
|
3208
3216
|
}
|
|
3209
3217
|
}
|
|
3210
|
-
|
|
3211
3218
|
this.state.OnVolumeAnalyserMap.set(sid,setInterval(
|
|
3212
3219
|
this.test_controller.OnVolumeAnalyser.bind(this, sid, analyser),
|
|
3213
3220
|
300
|
|
@@ -3804,7 +3811,7 @@ userType:'1'
|
|
|
3804
3811
|
isModalVisibleEnd: false
|
|
3805
3812
|
})
|
|
3806
3813
|
};
|
|
3807
|
-
confirmCallback=async()=>{
|
|
3814
|
+
confirmCallback=async(data)=>{
|
|
3808
3815
|
try {
|
|
3809
3816
|
let result = await API.confirmCallback({
|
|
3810
3817
|
idCardName: this.state.idCardName,
|
|
@@ -3814,16 +3821,33 @@ userType:'1'
|
|
|
3814
3821
|
idCardNumber: this.state.idCardNumber,
|
|
3815
3822
|
sessionId: this.state.sessionId,
|
|
3816
3823
|
});
|
|
3824
|
+
console.log('confirmCallback',result)
|
|
3817
3825
|
if (result.code == 200) {
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3826
|
+
console.log(data)
|
|
3827
|
+
if(data == 'noFace') {
|
|
3828
|
+
this.setState({
|
|
3829
|
+
isModalVisibleFacial: false,
|
|
3830
|
+
idCardNumber: '',
|
|
3831
|
+
idCardName: ''
|
|
3832
|
+
})
|
|
3833
|
+
} else {
|
|
3834
|
+
console.log('data')
|
|
3835
|
+
this.state.faceCustomerType = 1
|
|
3836
|
+
this.setState({
|
|
3837
|
+
idCardNumber: '',
|
|
3838
|
+
idCardName: '',
|
|
3839
|
+
titleModal: '人脸识别',
|
|
3840
|
+
// clickedFacial: true,
|
|
3841
|
+
facialImg: this.test_controller.TakePicture(1, undefined, undefined, this.state.customOcrSid, 'png')
|
|
3842
|
+
})
|
|
3843
|
+
}
|
|
3844
|
+
|
|
3823
3845
|
} else {
|
|
3846
|
+
console.log('1')
|
|
3824
3847
|
this.messageClick('保持信息失败','error')
|
|
3825
3848
|
}
|
|
3826
3849
|
} catch (err) {
|
|
3850
|
+
console.log('2')
|
|
3827
3851
|
this.messageClick('保持信息失败','error')
|
|
3828
3852
|
}
|
|
3829
3853
|
}
|
|
@@ -5276,7 +5300,8 @@ userType:'1'
|
|
|
5276
5300
|
<Button className="modelButtonOk" type="primary" danger onClick={this.handleOkFacial}>确定</Button>
|
|
5277
5301
|
</div>,
|
|
5278
5302
|
this.state.idCardName && <div key='facial'>
|
|
5279
|
-
|
|
5303
|
+
<Button className="modelButtonFaceOk" danger onClick={(e)=>this.confirmCallback('face')}>完成并发起人脸识别</Button>
|
|
5304
|
+
<Button className="modelButtonOk" type="primary" danger onClick={(e)=>this.confirmCallback('noFace')}>完成</Button>
|
|
5280
5305
|
</div>
|
|
5281
5306
|
]}>
|
|
5282
5307
|
<div className="faceBody">
|
|
@@ -378,6 +378,15 @@
|
|
|
378
378
|
background: #DB0011!important;
|
|
379
379
|
border-spacing: 20px!important;
|
|
380
380
|
}
|
|
381
|
+
.modelButtonFaceOk{
|
|
382
|
+
width: 170px!important;
|
|
383
|
+
height: 40px!important;
|
|
384
|
+
font-size: 16px!important;
|
|
385
|
+
color: #333!important;
|
|
386
|
+
border: 1px #333 solid!important;
|
|
387
|
+
background: #fff!important;
|
|
388
|
+
border-spacing: 20px!important;
|
|
389
|
+
}
|
|
381
390
|
.endModal{
|
|
382
391
|
font-size: 16px;
|
|
383
392
|
padding: 56px 30px 0px 30px;
|