react_hsbc_teller 2.0.77 → 2.0.79

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react_hsbc_teller",
3
- "version": "2.0.77",
3
+ "version": "2.0.79",
4
4
  "description": "React",
5
5
  "private": false,
6
6
  "main": "lib/hsbc.js",
@@ -64,7 +64,7 @@ import MultiModule from '../multiModule/multiModule'//签字、抄录
64
64
  import axios from 'axios';
65
65
  import CryptoJS from "crypto-js";
66
66
 
67
- const SDK_VERISON = '2.0.77'
67
+ const SDK_VERISON = '2.0.79'
68
68
  const IDtypeFront = '请客户在其设备后置摄像头下展示证件正面(如:身份证照片页面)'
69
69
  const IDtypeBack = '请在后置摄像头下展示证件反面(如:身份证国徽页)'
70
70
  const { Option } = Select;
@@ -724,7 +724,7 @@ class Video extends Component {
724
724
  height: (420 * SCALE)
725
725
  })
726
726
  // 开启业务录制的时候type传值,在后面加标识,全局的不加
727
- const filePath = 'recordId_' + new Date().valueOf() + type;
727
+ const filePath = 'recordId_' + this.props.tellerAccount + new Date().valueOf() + type;
728
728
  const recordParam = {};
729
729
  recordParam.width = 1280 * SCALE;
730
730
  recordParam.height = 720 * SCALE;
@@ -872,7 +872,7 @@ class Video extends Component {
872
872
  height: (420 * SCALE)
873
873
  })
874
874
  // 开启业务录制的时候type传值,在后面加标识,全局的不加
875
- const filePath = type ? ('recordId_' + new Date().valueOf() + '_business') : ('recordId_' + new Date().valueOf());
875
+ const filePath = type ? ('recordId_' + this.props.tellerAccount + new Date().valueOf() + '_business') : ('recordId_' + this.props.tellerAccount + new Date().valueOf());
876
876
  const recordParam = {};
877
877
  recordParam.width = 1280 * SCALE;
878
878
  recordParam.height = 720 * SCALE;
@@ -915,7 +915,7 @@ class Video extends Component {
915
915
  // 开启ipad录制
916
916
  enableIpadRecording = (record_business_id) => {
917
917
  const that = this
918
- const filePath = 'recordId_' + new Date().valueOf() + '_ipad';
918
+ const filePath = 'recordId_' + this.props.tellerAccount + new Date().valueOf() + '_ipad';
919
919
  const recordParam = {};
920
920
  recordParam.width = 1280;
921
921
  recordParam.height = 720;
@@ -5270,6 +5270,8 @@ class Video extends Component {
5270
5270
  try {
5271
5271
  // 原始证件参数
5272
5272
  let data = {
5273
+ // 1-保险客户-INS 2-ECN陪同者-ECN
5274
+ ocrCustomerType: this.state.customerSelectType == 1 ? 'INS' : this.state.customerSelectType == 2 ? 'ECN' : '',
5273
5275
  idCardName: this.state.resultIdCardName,
5274
5276
  staffId: this.props.tellerAccount,
5275
5277
  activityId: this.props.businessNumber,