react_hsbc_teller 1.9.10 → 1.9.11
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 +30 -6
package/package.json
CHANGED
|
@@ -352,7 +352,7 @@ class Video extends Component {
|
|
|
352
352
|
saveLog = (val) => {
|
|
353
353
|
axios({
|
|
354
354
|
method: 'get',
|
|
355
|
-
baseURL: this.props.logUrl + '&message=' + encodeURIComponent(val) + '&react_hsbc_teller=1.9.
|
|
355
|
+
baseURL: this.props.logUrl + '&message=' + encodeURIComponent(val) + '&react_hsbc_teller=1.9.11&logTime=' + Date.now() + '&mtoken=' + encodeURIComponent(this.state.rtoken) + '&roomId=' + encodeURIComponent(this.state.channelId) + '&sessionId=' + encodeURIComponent(this.state.sessionId) + '&appointmentID=' + this.props.businessNumber,
|
|
356
356
|
|
|
357
357
|
}).then(res => {
|
|
358
358
|
|
|
@@ -3871,7 +3871,7 @@ class Video extends Component {
|
|
|
3871
3871
|
}
|
|
3872
3872
|
}
|
|
3873
3873
|
componentWillMount() {
|
|
3874
|
-
console.log('hsbc_teller_sdk', '1.9.
|
|
3874
|
+
console.log('hsbc_teller_sdk', '1.9.11')
|
|
3875
3875
|
if (this.props.sessionId) {
|
|
3876
3876
|
this.getRoomStatus({
|
|
3877
3877
|
sessionId: this.props.sessionId
|
|
@@ -4241,6 +4241,7 @@ class Video extends Component {
|
|
|
4241
4241
|
PasswordSFP: event.target.value
|
|
4242
4242
|
})
|
|
4243
4243
|
}
|
|
4244
|
+
// ocr结果入库
|
|
4244
4245
|
confirmCallback = async (data) => {
|
|
4245
4246
|
try {
|
|
4246
4247
|
let result = await API.confirmCallback({
|
|
@@ -5643,14 +5644,26 @@ class Video extends Component {
|
|
|
5643
5644
|
'sessionId': this.state.sessionId,
|
|
5644
5645
|
'userId': this.state.customerList[this.state.customerSelect - 1].customId,
|
|
5645
5646
|
'title': '为了有效确认客户身份,请您配合进行我行的身份识别和核验。请您阅读以下内容,若您同意,请您之后在摄像头前出示您的身份证件,我行将对您的身份证件拍照并采集证件信息;同时,我行会对您进行脸部拍照,采集您的脸部图像。',
|
|
5647
|
+
'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.',
|
|
5648
|
+
'navBarTitle': '客户授权',
|
|
5649
|
+
'navBarTitle_en': '客户授权(en)',
|
|
5646
5650
|
'list': [
|
|
5647
5651
|
{
|
|
5648
5652
|
'id': 1,
|
|
5649
|
-
'content': '您是否授权汇丰中国对您的证件以及脸部进行拍照,采集并留存您的证件信息以及脸部图像以便我行进行身份识别?'
|
|
5653
|
+
'content': '您是否授权汇丰中国对您的证件以及脸部进行拍照,采集并留存您的证件信息以及脸部图像以便我行进行身份识别?',
|
|
5654
|
+
'content_en': 'Do you agree the bank to photograph your ID and face image, collect and retain ID information and face image for identification?'
|
|
5650
5655
|
},
|
|
5651
5656
|
{
|
|
5652
5657
|
'id': 2,
|
|
5653
|
-
'content': '为了通过人脸对比进行身份识别和核验,我行需要将您的姓名、身份证件号码和脸部图像发送给中国人民银行或全国公民身份证号码查询服务中心授权的第三方,并由第三方进一步发送至中国人民银行或全国公民身份证号码查询服务中心进行人脸对比或信息核对。'
|
|
5658
|
+
'content': '为了通过人脸对比进行身份识别和核验,我行需要将您的姓名、身份证件号码和脸部图像发送给中国人民银行或全国公民身份证号码查询服务中心授权的第三方,并由第三方进一步发送至中国人民银行或全国公民身份证号码查询服务中心进行人脸对比或信息核对。',
|
|
5659
|
+
'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?'
|
|
5660
|
+
},
|
|
5661
|
+
{
|
|
5662
|
+
'id': 3,
|
|
5663
|
+
'content': '本人同意使用电子签名方式签署作为陪同者所需签署的文件,并授权汇丰银行(中国)有限公司(“汇丰中国”)通过电子签名服务供应商向第三方认证机构提供本人的姓名和身份证件号码,用以申请本人专属的数字证书,本人在电子设备上签署文件即表明本人指示汇丰中国使用本人专属电子证书对该等文件进行电子签名。本人知悉并同意,电子签名和手写签名具有同等法律效力。 \n说明:电子签名服务供应商和第三方认证机构的名称和联系方式如下:' +
|
|
5664
|
+
'\n电子签名服务供应商:杭州尚尚签网络科技有限公司(联系电话:4009936665)\n第三方认证机构: \n北京天威诚信电子商务服务有限公司(联系电话:010-50947500)\n中金金融认证中心有限公司(联系电话:010-83526655)',
|
|
5665
|
+
'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.' +
|
|
5666
|
+
'\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)'
|
|
5654
5667
|
}
|
|
5655
5668
|
]
|
|
5656
5669
|
}
|
|
@@ -5663,10 +5676,21 @@ class Video extends Component {
|
|
|
5663
5676
|
'sessionId': this.state.sessionId,
|
|
5664
5677
|
'userId': this.state.customerList[this.state.customerSelect - 1].customId,
|
|
5665
5678
|
'title': '为了有效确认客户身份,请您配合进行我行的身份识别。请您阅读以下内容,若您同意,请您之后在摄像头前出示您的身份证件,我行将对您的身份证件拍照并采集证件信息;',
|
|
5679
|
+
'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. ',
|
|
5680
|
+
'navBarTitle': '客户授权',
|
|
5681
|
+
'navBarTitle_en': '客户授权(en)',
|
|
5666
5682
|
'list': [
|
|
5667
5683
|
{
|
|
5668
5684
|
'id': 1,
|
|
5669
|
-
'content': '您是否授权汇丰中国对您的证件进行拍照,采集并留存您的证件信息以便我行进行身份确认?'
|
|
5685
|
+
'content': '您是否授权汇丰中国对您的证件进行拍照,采集并留存您的证件信息以便我行进行身份确认?',
|
|
5686
|
+
'content_en': 'Do you agree the bank to photograph your ID ,collect and retain ID information and for identification?'
|
|
5687
|
+
},
|
|
5688
|
+
{
|
|
5689
|
+
'id': 2,
|
|
5690
|
+
'content': '本人同意使用电子签名方式签署作为陪同者所需签署的文件,并授权汇丰银行(中国)有限公司(“汇丰中国”)通过电子签名服务供应商向第三方认证机构提供本人的姓名和身份证件号码,用以申请本人专属的数字证书,本人在电子设备上签署文件即表明本人指示汇丰中国使用本人专属电子证书对该等文件进行电子签名。本人知悉并同意,电子签名和手写签名具有同等法律效力。 \n说明:电子签名服务供应商和第三方认证机构的名称和联系方式如下:' +
|
|
5691
|
+
'\n电子签名服务供应商:杭州尚尚签网络科技有限公司(联系电话:4009936665)\n第三方认证机构: \n北京天威诚信电子商务服务有限公司(联系电话:010-50947500)\n中金金融认证中心有限公司(联系电话:010-83526655)',
|
|
5692
|
+
'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.' +
|
|
5693
|
+
'\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)'
|
|
5670
5694
|
}
|
|
5671
5695
|
]
|
|
5672
5696
|
}
|
|
@@ -6404,7 +6428,7 @@ class Video extends Component {
|
|
|
6404
6428
|
<div className='endModal'>是否要结束并退出会议?</div>
|
|
6405
6429
|
</Modal>
|
|
6406
6430
|
{/* ocr及人脸 */}
|
|
6407
|
-
<Modal title={this.state.titleModal} width={650} closable={
|
|
6431
|
+
<Modal title={this.state.titleModal} width={650} closable={true} onCancel={this.handleCancelFacial} centered={true} visible={this.state.isModalVisibleFacial} footer={[
|
|
6408
6432
|
// ocr及人脸在截图界面的按钮
|
|
6409
6433
|
this.state.cardResuly == '' && this.state.faceResuly == '' &&<div key='facial'>
|
|
6410
6434
|
<Button className="modelButtonCancel" onClick={this.handleCancelFacial}>取消</Button>
|