react_hsbc_teller 1.9.12 → 1.9.13
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/package.json
CHANGED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
import Steps from "antd/lib/steps";
|
|
3
|
+
import 'antd/lib/steps/style'
|
|
4
|
+
const { Step } = Steps;
|
|
5
|
+
|
|
6
|
+
export default class step extends Component {
|
|
7
|
+
render() {
|
|
8
|
+
let current = this.props.current;
|
|
9
|
+
return (
|
|
10
|
+
<div style={{...this.props.style}}>
|
|
11
|
+
<div style={{marginBottom: '10px'}}>客户身份验证</div>
|
|
12
|
+
<Steps current={current} direction={this.props.direction} size="small" style={{width:'150px', height: '200px'}}>
|
|
13
|
+
{/* step1 */}
|
|
14
|
+
<Step status={current==0? '':'wait'} title="选择客户" />
|
|
15
|
+
|
|
16
|
+
{/* step2 */}
|
|
17
|
+
<Step status={current==1? '':'wait'} title="确认客户证件类型&客户授权" />
|
|
18
|
+
|
|
19
|
+
{/* step3 */}
|
|
20
|
+
<Step status={current==2? '':'wait'} title="证件信息核查" />
|
|
21
|
+
|
|
22
|
+
{/* step4 */}
|
|
23
|
+
{ current==3 && <Step title="人脸识别" />}
|
|
24
|
+
</Steps>
|
|
25
|
+
</div>
|
|
26
|
+
)
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
step.defaultProps = {
|
|
30
|
+
current: 0,
|
|
31
|
+
direction: 'vertical',
|
|
32
|
+
}
|
|
File without changes
|
|
@@ -41,6 +41,7 @@ import 'antd/lib/space/style'
|
|
|
41
41
|
import styled from 'styled-components';
|
|
42
42
|
import { Button } from '../../../node_modules/antd/lib/index';
|
|
43
43
|
import SignMy from '../sign/signMy.jsx'
|
|
44
|
+
import Step from '../components/step/step.jsx'
|
|
44
45
|
import axios from 'axios';
|
|
45
46
|
import CryptoJS from "crypto-js";
|
|
46
47
|
const IDtypeFront = '请客户在其设备后置摄像头下展示证件正面(如:身份证照片页面)'
|
|
@@ -191,6 +192,7 @@ class Video extends Component {
|
|
|
191
192
|
isModalVisibleInvitation: false,
|
|
192
193
|
linkData: '',
|
|
193
194
|
roomCustomerList: [],
|
|
195
|
+
userIdCardResults: {},
|
|
194
196
|
facialImg: '',
|
|
195
197
|
isFaceImage: false,
|
|
196
198
|
isModalVisibleFacial: false,
|
|
@@ -328,7 +330,7 @@ class Video extends Component {
|
|
|
328
330
|
documentType: '',
|
|
329
331
|
isCustomerSelect: true,
|
|
330
332
|
documentError: '',
|
|
331
|
-
customerTitleName: '
|
|
333
|
+
customerTitleName: '客户身份验证',
|
|
332
334
|
certificateType: 'ID_CARD',
|
|
333
335
|
customerName: '',
|
|
334
336
|
IDtypeFrontOrBack: '',
|
|
@@ -355,7 +357,7 @@ class Video extends Component {
|
|
|
355
357
|
saveLog = (val) => {
|
|
356
358
|
axios({
|
|
357
359
|
method: 'get',
|
|
358
|
-
baseURL: this.props.logUrl + '&message=' + encodeURIComponent(val) + '&react_hsbc_teller=1.9.
|
|
360
|
+
baseURL: this.props.logUrl + '&message=' + encodeURIComponent(val) + '&react_hsbc_teller=1.9.13&logTime=' + Date.now() + '&mtoken=' + encodeURIComponent(this.state.rtoken) + '&roomId=' + encodeURIComponent(this.state.channelId) + '&sessionId=' + encodeURIComponent(this.state.sessionId) + '&appointmentID=' + this.props.businessNumber,
|
|
359
361
|
|
|
360
362
|
}).then(res => {
|
|
361
363
|
|
|
@@ -823,9 +825,15 @@ class Video extends Component {
|
|
|
823
825
|
}
|
|
824
826
|
contrastFaceVerify = async () => {
|
|
825
827
|
try {
|
|
828
|
+
let userInfo = this.state.userIdCardResults[this.state.faceCustomerUid]
|
|
829
|
+
console.log(this.state.faceCustomerUid, userInfo)
|
|
830
|
+
if (!userInfo || !userInfo.idCardNumber) {
|
|
831
|
+
console.log('没有身份证ocr信息')
|
|
832
|
+
return
|
|
833
|
+
}
|
|
826
834
|
let result = await API.contrastFaceVerify({
|
|
827
|
-
|
|
828
|
-
|
|
835
|
+
idCardName: userInfo.idCardName, // idCardName: this.state.idCardNameFace,
|
|
836
|
+
idCardNumber: userInfo.idCardNumber, // idCardNumber: this.state.idCardNumberFace,
|
|
829
837
|
staffId: this.props.tellerAccount,
|
|
830
838
|
activityId: this.props.businessNumber,
|
|
831
839
|
appAccount: this.state.faceCustomerUid,
|
|
@@ -839,7 +847,10 @@ class Video extends Component {
|
|
|
839
847
|
loadingFace: false,
|
|
840
848
|
faceResuly: 'success',
|
|
841
849
|
isFaceImage: '',
|
|
842
|
-
faceFailReason: ''
|
|
850
|
+
faceFailReason: '',
|
|
851
|
+
idCardNameFace: userInfo.idCardName,
|
|
852
|
+
idCardNumberFace: userInfo.idCardNumber,
|
|
853
|
+
certificateValidityFace: userInfo.certificateValidity
|
|
843
854
|
})
|
|
844
855
|
// this.setState({
|
|
845
856
|
// isModalVisibleFacial: false
|
|
@@ -1025,7 +1036,7 @@ class Video extends Component {
|
|
|
1025
1036
|
isCustomerSelect: true,
|
|
1026
1037
|
customerSelect: list.length == 1 ? 1 : '',
|
|
1027
1038
|
|
|
1028
|
-
customerTitleName: '
|
|
1039
|
+
customerTitleName: '客户身份验证'
|
|
1029
1040
|
},()=>{
|
|
1030
1041
|
console.log(this.state.customerSelect)
|
|
1031
1042
|
this.setState({
|
|
@@ -3878,7 +3889,7 @@ class Video extends Component {
|
|
|
3878
3889
|
}
|
|
3879
3890
|
}
|
|
3880
3891
|
componentWillMount() {
|
|
3881
|
-
console.log('hsbc_teller_sdk', '1.9.
|
|
3892
|
+
console.log('hsbc_teller_sdk', '1.9.13')
|
|
3882
3893
|
if (this.props.sessionId) {
|
|
3883
3894
|
this.getRoomStatus({
|
|
3884
3895
|
sessionId: this.props.sessionId
|
|
@@ -4248,6 +4259,56 @@ class Video extends Component {
|
|
|
4248
4259
|
PasswordSFP: event.target.value
|
|
4249
4260
|
})
|
|
4250
4261
|
}
|
|
4262
|
+
handleFinishOcr = async (type) => {
|
|
4263
|
+
// 非身份证直接入库
|
|
4264
|
+
if (type == 'noFace') {
|
|
4265
|
+
await this.confirmCallback()
|
|
4266
|
+
// this.setState({
|
|
4267
|
+
// idCardNameFace: this.state.idCardName,
|
|
4268
|
+
// idCardNumberFace: this.state.idCardNumber,
|
|
4269
|
+
// certificateValidityFace: this.state.certificateValidity
|
|
4270
|
+
// },()=>{
|
|
4271
|
+
this.setState({
|
|
4272
|
+
isModalVisibleFacial: false,
|
|
4273
|
+
cardResuly: '',
|
|
4274
|
+
idCardNumber: '',
|
|
4275
|
+
idCardName: '',
|
|
4276
|
+
certificateValidity: '',
|
|
4277
|
+
})
|
|
4278
|
+
// })
|
|
4279
|
+
} else {
|
|
4280
|
+
console.log('身份证ocr')
|
|
4281
|
+
// 身份证,进行人脸识别后再入库
|
|
4282
|
+
this.state.userIdCardResults[this.state.faceCustomerUid] = {
|
|
4283
|
+
idCardName: this.state.idCardName,
|
|
4284
|
+
idCardNumber: this.state.idCardNumber,
|
|
4285
|
+
customerName: this.state.customerName,
|
|
4286
|
+
certificateValidity: this.state.certificateValidity,
|
|
4287
|
+
}
|
|
4288
|
+
console.log(this.state.userIdCardResults)
|
|
4289
|
+
this.setState({
|
|
4290
|
+
idCardNameFace: this.state.idCardName,
|
|
4291
|
+
idCardNumberFace: this.state.idCardNumber,
|
|
4292
|
+
certificateValidityFace: this.state.certificateValidity,
|
|
4293
|
+
userIdCardResults: this.state.userIdCardResults
|
|
4294
|
+
},()=>{
|
|
4295
|
+
this.state.faceCustomerType = 1
|
|
4296
|
+
this.setState({
|
|
4297
|
+
cardResuly: '',
|
|
4298
|
+
certificateValidity: '',
|
|
4299
|
+
idCardNumber: '',
|
|
4300
|
+
idCardName: '',
|
|
4301
|
+
titleModal: '身份验证',
|
|
4302
|
+
// clickedFacial: true,
|
|
4303
|
+
facialImg: faceImage,
|
|
4304
|
+
isFaceImage: false
|
|
4305
|
+
})
|
|
4306
|
+
})
|
|
4307
|
+
setTimeout(() => {
|
|
4308
|
+
this.publishVideoTwo()
|
|
4309
|
+
}, 0);
|
|
4310
|
+
}
|
|
4311
|
+
}
|
|
4251
4312
|
// ocr结果入库
|
|
4252
4313
|
confirmCallback = async (data) => {
|
|
4253
4314
|
try {
|
|
@@ -4265,44 +4326,7 @@ class Video extends Component {
|
|
|
4265
4326
|
});
|
|
4266
4327
|
console.log('confirmCallback', result)
|
|
4267
4328
|
if (result.code == 200) {
|
|
4268
|
-
console.log(data)
|
|
4269
|
-
|
|
4270
|
-
if (data == 'noFace') {
|
|
4271
|
-
this.setState({
|
|
4272
|
-
idCardNameFace: this.state.idCardName,
|
|
4273
|
-
idCardNumberFace: this.state.idCardNumber,
|
|
4274
|
-
certificateValidityFace: this.state.certificateValidity
|
|
4275
|
-
},()=>{
|
|
4276
|
-
this.setState({
|
|
4277
|
-
isModalVisibleFacial: false,
|
|
4278
|
-
cardResuly: '',
|
|
4279
|
-
idCardNumber: '',
|
|
4280
|
-
idCardName: '',
|
|
4281
|
-
certificateValidity: '',
|
|
4282
|
-
})
|
|
4283
|
-
})
|
|
4284
|
-
} else {
|
|
4285
|
-
console.log('data')
|
|
4286
|
-
this.setState({
|
|
4287
|
-
idCardNameFace: this.state.idCardName,
|
|
4288
|
-
idCardNumberFace: this.state.idCardNumber,
|
|
4289
|
-
certificateValidityFace: this.state.certificateValidity
|
|
4290
|
-
},()=>{
|
|
4291
|
-
this.state.faceCustomerType = 1
|
|
4292
|
-
this.setState({
|
|
4293
|
-
cardResuly: '',
|
|
4294
|
-
certificateValidity: '',
|
|
4295
|
-
idCardNumber: '',
|
|
4296
|
-
idCardName: '',
|
|
4297
|
-
titleModal: '身份验证',
|
|
4298
|
-
// clickedFacial: true,
|
|
4299
|
-
facialImg: faceImage,
|
|
4300
|
-
isFaceImage: false
|
|
4301
|
-
})
|
|
4302
|
-
})
|
|
4303
|
-
this.publishVideoTwo()
|
|
4304
|
-
}
|
|
4305
|
-
|
|
4329
|
+
// console.log(data)
|
|
4306
4330
|
} else {
|
|
4307
4331
|
console.log('1')
|
|
4308
4332
|
this.messageClick('保持信息失败', 'error')
|
|
@@ -4526,6 +4550,39 @@ class Video extends Component {
|
|
|
4526
4550
|
}
|
|
4527
4551
|
|
|
4528
4552
|
};
|
|
4553
|
+
handleFinishFacial = async () => {
|
|
4554
|
+
let userInfo = this.state.userIdCardResults[this.state.faceCustomerUid]
|
|
4555
|
+
console.log(this.state.faceCustomerUid, userInfo)
|
|
4556
|
+
if (!userInfo || !userInfo.idCardNumber) {
|
|
4557
|
+
console.log('没有身份证ocr信息')
|
|
4558
|
+
return
|
|
4559
|
+
}
|
|
4560
|
+
this.handleCancelFacial();
|
|
4561
|
+
try {
|
|
4562
|
+
let result = await API.confirmCallback({
|
|
4563
|
+
idCardName: userInfo.idCardName,
|
|
4564
|
+
staffId: this.props.tellerAccount,
|
|
4565
|
+
activityId: this.props.businessNumber,
|
|
4566
|
+
appAccount: this.state.faceCustomerUid,
|
|
4567
|
+
idCardNumber: userInfo.idCardNumber,
|
|
4568
|
+
sessionId: this.state.sessionId,
|
|
4569
|
+
certificateType: 'ID_CARD',
|
|
4570
|
+
customerName: userInfo.customerName,
|
|
4571
|
+
startDate: userInfo.certificateValidity ? userInfo.certificateValidity.split('-')[0] : '',
|
|
4572
|
+
endDate: userInfo.certificateValidity ? userInfo.certificateValidity.split('-')[1] : '',
|
|
4573
|
+
});
|
|
4574
|
+
console.log('confirmCallback', result)
|
|
4575
|
+
if (result.code == 200) {
|
|
4576
|
+
// console.log(data)
|
|
4577
|
+
} else {
|
|
4578
|
+
console.log('1')
|
|
4579
|
+
this.messageClick('保持信息失败', 'error')
|
|
4580
|
+
}
|
|
4581
|
+
} catch (err) {
|
|
4582
|
+
console.log('2',err)
|
|
4583
|
+
this.messageClick('保持信息失败', 'error')
|
|
4584
|
+
}
|
|
4585
|
+
};
|
|
4529
4586
|
handleCancelFacial = () => {
|
|
4530
4587
|
callNimIM('sendCustomCmdMsg', {
|
|
4531
4588
|
customId: this.state.imRoomId,
|
|
@@ -5621,7 +5678,7 @@ class Video extends Component {
|
|
|
5621
5678
|
documentType: '',
|
|
5622
5679
|
isCustomerSelect: true,
|
|
5623
5680
|
customerSelect: this.state.customerList.length == 1 ? 1 : '',
|
|
5624
|
-
customerTitleName: '
|
|
5681
|
+
customerTitleName: '客户身份验证'
|
|
5625
5682
|
})
|
|
5626
5683
|
}
|
|
5627
5684
|
handleOkCustomer = () => {
|
|
@@ -5650,19 +5707,19 @@ class Video extends Component {
|
|
|
5650
5707
|
"data": {
|
|
5651
5708
|
'sessionId': this.state.sessionId,
|
|
5652
5709
|
'userId': this.state.customerList[this.state.customerSelect - 1].customId,
|
|
5653
|
-
'title': '
|
|
5710
|
+
'title': '为了有效确认客户身份,请您配合汇丰银行(中国)有限公司(”我行”)进行身份识别和核验。请您阅读以下内容。若您同意,请您之后在摄像头前出示您的身份证件,我行将对您的身份证件拍照并采集证件信息;同时,我行会对您进行脸部拍照,采集您的脸部图像。',
|
|
5654
5711
|
'title_en': 'In order to confirm client’s identify, please cooperate with HSBC (China) Co., Ltd. (“the bank”) for identity verification. Please read the following and provide your authorization to the bank to capture your ID image and information, take picture of your face and retain them for identification and verification purpose.',
|
|
5655
5712
|
'navBarTitle': '客户授权',
|
|
5656
5713
|
'navBarTitle_en': '客户授权(en)',
|
|
5657
5714
|
'list': [
|
|
5658
5715
|
{
|
|
5659
5716
|
'id': 1,
|
|
5660
|
-
'content': '
|
|
5717
|
+
'content': '您是否授权我行对您的证件以及脸部进行拍照,采集并留存您的证件信息以及脸部图像以便我行进行身份识别?',
|
|
5661
5718
|
'content_en': 'Do you agree the bank to photograph your ID and face image, collect and retain ID information and face image for identification?'
|
|
5662
5719
|
},
|
|
5663
5720
|
{
|
|
5664
5721
|
'id': 2,
|
|
5665
|
-
'content': '
|
|
5722
|
+
'content': '为了通过人脸对比进行身份识别和核验,我行需要将您的姓名、身份证件号码和脸部图像发送给中国公安系统(包括其所属机构及代理机构)进行人脸对比及信息核对。',
|
|
5666
5723
|
'content_en': 'For further identification and verification purpose, do you agree the bank to send your name, ID number and face image to the public security authority (including its affiliates or agencies) to perform the identification and information verification process?'
|
|
5667
5724
|
},
|
|
5668
5725
|
{
|
|
@@ -5682,19 +5739,19 @@ class Video extends Component {
|
|
|
5682
5739
|
"data": {
|
|
5683
5740
|
'sessionId': this.state.sessionId,
|
|
5684
5741
|
'userId': this.state.customerList[this.state.customerSelect - 1].customId,
|
|
5685
|
-
'title': '
|
|
5742
|
+
'title': '为了有效确认客户身份,请您配合汇丰银行(中国)有限公司(“我行”)进行身份识别。请您阅读以下内容,若您同意,请您之后在摄像头前出示您的身份证件,我行将对您的身份证件拍照并采集证件信息;',
|
|
5686
5743
|
'title_en': 'In order to confirm client’s identify, please cooperate with HSBC (China) Co., Ltd. (“the bank”) for identity verification. Please read the following and provide your authorization to the bank to capture your ID image and information and retain them for identification and verification purpose. ',
|
|
5687
5744
|
'navBarTitle': '客户授权',
|
|
5688
5745
|
'navBarTitle_en': '客户授权(en)',
|
|
5689
5746
|
'list': [
|
|
5690
5747
|
{
|
|
5691
5748
|
'id': 1,
|
|
5692
|
-
'content': '
|
|
5749
|
+
'content': '您是否授权我行对您的证件进行拍照,采集并留存您的证件信息以便我行进行身份确认?',
|
|
5693
5750
|
'content_en': 'Do you agree the bank to photograph your ID ,collect and retain ID information and for identification?'
|
|
5694
5751
|
},
|
|
5695
5752
|
{
|
|
5696
5753
|
'id': 2,
|
|
5697
|
-
'content': '
|
|
5754
|
+
'content': '对于陪同者所需签署的文件,您是否同意使用电子签名方式签署,并授权汇丰银行(中国)有限公司(“汇丰中国”)通过电子签名服务供应商向第三方认证机构提供您本人的姓名和身份证件号码,用以申请您本人专属的数字证书?您本人在电子设备上签署文件即表明您本人指示汇丰中国使用您本人专属电子证书对该等文件进行电子签名。您本人知悉并同意,电子签名和手写签名具有同等法律效力。 \n说明:电子签名服务供应商和第三方认证机构的名称和联系方式如下:' +
|
|
5698
5755
|
'\n电子签名服务供应商:杭州尚尚签网络科技有限公司(联系电话:4009936665)\n第三方认证机构: \n北京天威诚信电子商务服务有限公司(联系电话:010-50947500)\n中金金融认证中心有限公司(联系电话:010-83526655)',
|
|
5699
5756
|
'content_en': 'To sign in the relevant document required as companion, do you agree to adopt electronic signature in it?. And you shall authorize HSBC (China) Co., Ltd to provide your name and identity document number to the certificate authority through the electronic signature service provider to apply for your own digital certificate. By signing the document on the electronic device, you authorize HSBC (China) Co., Ltd to use your digital certificate and apply your electronic signature to the documents. You understand and agree that electronic signature has the same legal effect as handwritten signature.' +
|
|
5700
5757
|
'\nPlease be noted the names and contact information of the electronic signature service provider and the certificate authority are as follows:\nElectronic signature service provider: Hangzhou BestSign Network Technology Co. Ltd. (Contact: 4009936665) \nCertificate Authority: \nChina Financial Certification Authority (Contact: 010-83526655)\niTrusChina Co., Ltd (Contact: 010-50947500)'
|
|
@@ -6435,7 +6492,7 @@ class Video extends Component {
|
|
|
6435
6492
|
<div className='endModal'>是否要结束并退出会议?</div>
|
|
6436
6493
|
</Modal>
|
|
6437
6494
|
{/* ocr及人脸 */}
|
|
6438
|
-
<Modal title={this.state.titleModal} width={
|
|
6495
|
+
<Modal title={this.state.titleModal} width={800} closable={true} maskClosable={false} onCancel={this.handleCancelFacial} centered={true} visible={this.state.isModalVisibleFacial} footer={[
|
|
6439
6496
|
// ocr及人脸在截图界面的按钮
|
|
6440
6497
|
this.state.cardResuly == '' && this.state.faceResuly == '' &&<div key='facial'>
|
|
6441
6498
|
<Button className="modelButtonCancel" onClick={this.handleCancelFacial}>取消</Button>
|
|
@@ -6451,7 +6508,12 @@ class Video extends Component {
|
|
|
6451
6508
|
</div>,
|
|
6452
6509
|
// 人脸识别后的结果界面的按钮
|
|
6453
6510
|
this.state.cardResuly == '' && this.state.faceResuly != '' &&<div key='facial'>
|
|
6454
|
-
|
|
6511
|
+
{
|
|
6512
|
+
this.state.faceResuly == 'success' && <Button className="modelButtonCancel" onClick={this.handleFinishFacial}>完成</Button>
|
|
6513
|
+
}
|
|
6514
|
+
{
|
|
6515
|
+
this.state.faceResuly == 'fail' && <Button className="modelButtonNo" type="primary" danger>完成</Button>
|
|
6516
|
+
}
|
|
6455
6517
|
{
|
|
6456
6518
|
this.state.faceResuly == 'fail' && <Button className="modelButtonOk" type="primary" danger onClick={this.ReIdentification}>重新识别</Button>
|
|
6457
6519
|
}
|
|
@@ -6466,14 +6528,15 @@ class Video extends Component {
|
|
|
6466
6528
|
{
|
|
6467
6529
|
this.state.disabledIdCard && <Button className="modelButtonFaceOk" danger onClick={(e) => this.updateConfirm('noFace')}>修正证件信息</Button>
|
|
6468
6530
|
}
|
|
6531
|
+
<Button className="modelButtonCancel" danger onClick={this.newFaceClick}>返回重拍</Button>
|
|
6469
6532
|
{
|
|
6470
|
-
this.state.documentType == 'ID_CARD' && this.state.certificateValidityType && <Button className="modelButtonFaceOkColor" danger onClick={(e) => this.
|
|
6533
|
+
this.state.documentType == 'ID_CARD' && this.state.certificateValidityType && <Button className="modelButtonFaceOkColor" danger onClick={(e) => this.handleFinishOcr('face')}>确认信息并发起人脸识别</Button>
|
|
6471
6534
|
}
|
|
6472
6535
|
{
|
|
6473
6536
|
this.state.documentType == 'ID_CARD' && !this.state.certificateValidityType && <Button className="modelButtonFaceOkColorFile" danger >确认信息并发起人脸识别</Button>
|
|
6474
6537
|
}
|
|
6475
6538
|
{
|
|
6476
|
-
this.state.documentType != 'ID_CARD' &&this.state.certificateValidityType && <Button className="modelButtonOk" type="primary" danger onClick={(e) => this.
|
|
6539
|
+
this.state.documentType != 'ID_CARD' &&this.state.certificateValidityType && <Button className="modelButtonOk" type="primary" danger onClick={(e) => this.handleFinishOcr('noFace')}>完成</Button>
|
|
6477
6540
|
}
|
|
6478
6541
|
{
|
|
6479
6542
|
this.state.documentType != 'ID_CARD' && !this.state.certificateValidityType && <Button className="modelButtonFaceOkColorFile" danger >完成</Button>
|
|
@@ -6487,6 +6550,8 @@ class Video extends Component {
|
|
|
6487
6550
|
</div>
|
|
6488
6551
|
]}>
|
|
6489
6552
|
<Spin spinning={this.state.loadingFace} tip="识别中...">
|
|
6553
|
+
<div style={{display: 'flex', padding: '10px 20px'}}>
|
|
6554
|
+
<Step style={{marginTop: '10px'}} current={this.state.titleModal == '身份验证'?3:2} ></Step>
|
|
6490
6555
|
<div className="faceBody">
|
|
6491
6556
|
{this.state.cardResuly == '' && <div className='faceCardImg'>
|
|
6492
6557
|
|
|
@@ -6565,6 +6630,7 @@ class Video extends Component {
|
|
|
6565
6630
|
}
|
|
6566
6631
|
|
|
6567
6632
|
</div>
|
|
6633
|
+
</div>
|
|
6568
6634
|
</Spin>
|
|
6569
6635
|
</Modal>
|
|
6570
6636
|
<Modal title="经理人员授权" closable={false} centered={true} visible={this.state.isModalVisibleSFP} maskClosable={false}
|
|
@@ -6600,7 +6666,7 @@ class Video extends Component {
|
|
|
6600
6666
|
</div>
|
|
6601
6667
|
</Spin>
|
|
6602
6668
|
</Modal>
|
|
6603
|
-
<Modal title={this.state.customerTitleName} closable={false} centered={true} visible={this.state.isModalVisibleCustomer} maskClosable={false}
|
|
6669
|
+
<Modal width={650} title={this.state.customerTitleName} closable={false} centered={true} visible={this.state.isModalVisibleCustomer} maskClosable={false}
|
|
6604
6670
|
footer={[
|
|
6605
6671
|
<div key='end'>
|
|
6606
6672
|
|
|
@@ -6632,11 +6698,12 @@ class Video extends Component {
|
|
|
6632
6698
|
|
|
6633
6699
|
</div>
|
|
6634
6700
|
]}>
|
|
6635
|
-
<div>
|
|
6636
|
-
<
|
|
6701
|
+
<div style={{display: 'flex', padding: '10px 20px'}}>
|
|
6702
|
+
<Step current={this.state.isCustomerSelect?0:1}></Step>
|
|
6703
|
+
<div>
|
|
6637
6704
|
{
|
|
6638
6705
|
this.state.isCustomerSelect && <div>
|
|
6639
|
-
<div>
|
|
6706
|
+
<div className='CustomerSelectTitle'>
|
|
6640
6707
|
请选择进行身份识别的客户(陪同者)
|
|
6641
6708
|
</div>
|
|
6642
6709
|
<div>
|
|
@@ -6660,7 +6727,7 @@ class Video extends Component {
|
|
|
6660
6727
|
this.state.documentError != '' && <div className='errorClassFace'>
|
|
6661
6728
|
<img src={require("../../assets/img/tooltips2_fail.png").default} alt="" ></img>{this.state.documentError}</div>
|
|
6662
6729
|
}
|
|
6663
|
-
<div>
|
|
6730
|
+
<div className='CustomerSelectTitle'>
|
|
6664
6731
|
请选择您的身份证件类型
|
|
6665
6732
|
</div>
|
|
6666
6733
|
<div>
|
|
@@ -157,6 +157,7 @@
|
|
|
157
157
|
.faceBody{
|
|
158
158
|
text-align: center;
|
|
159
159
|
height: 100%;
|
|
160
|
+
width: ~"calc(100% - 150px)";
|
|
160
161
|
.faceCardImg{
|
|
161
162
|
// height: 100%;
|
|
162
163
|
}
|
|
@@ -432,6 +433,9 @@
|
|
|
432
433
|
font-size: 16px;
|
|
433
434
|
margin: 20px 50px;
|
|
434
435
|
}
|
|
436
|
+
.CustomerSelectTitle{
|
|
437
|
+
margin-bottom: 10px;
|
|
438
|
+
}
|
|
435
439
|
.errorClassName{
|
|
436
440
|
.ant-message-notice-content{
|
|
437
441
|
min-width: 500px;
|