react_hsbc_teller 2.0.4-6.1 → 2.0.4-6.2

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.46.1",
3
+ "version": "2.0.46.2",
4
4
  "description": "React",
5
5
  "private": false,
6
6
  "main": "lib/hsbc.js",
@@ -60,7 +60,7 @@ import MultiModule from '../multiModule/multiModule'//签字、抄录
60
60
  import axios from 'axios';
61
61
  import CryptoJS from "crypto-js";
62
62
 
63
- const SDK_VERISON = '2.0.46.1'
63
+ const SDK_VERISON = '2.0.46.2'
64
64
  const IDtypeFront = '请客户在其设备后置摄像头下展示证件正面(如:身份证照片页面)'
65
65
  const IDtypeBack = '请在后置摄像头下展示证件反面(如:身份证国徽页)'
66
66
  const { Option } = Select;
@@ -743,7 +743,7 @@ class Video extends Component {
743
743
  enable: true,
744
744
  xPosition: 16 * SCALE, // x 轴位置
745
745
  yPosition: 8 * SCALE, // y 轴位置
746
- text: `${this.props.recordMode ==1 ?'远程录制' :'网点录制'} ${this.state.salesBranchCode || ''} ${this.state.branchName || ''} ${this.state.financialOffice || ''}`,
746
+ text: `${this.props.recordMode ==1 ?'远程录制' :'网点录制'} ${this.props.salesBranchCode || ''} ${this.state.branchName || ''} ${this.props.financialOffice || ''}`,
747
747
  fontSize: 16 * SCALE, // 字体⼤⼩
748
748
  url: '' // ⽔印图⽚ HTTP 地址
749
749
  },
@@ -786,7 +786,7 @@ class Video extends Component {
786
786
  enable: true,
787
787
  xPosition: 16, // x 轴位置
788
788
  yPosition: 8, // y 轴位置
789
- text: `${this.props.recordMode ==1 ?'远程录制' :'网点录制'} ${this.state.salesBranchCode || ''} ${this.state.branchName || ''} ${this.state.financialOffice || ''}`,
789
+ text: `${this.props.recordMode ==1 ?'远程录制' :'网点录制'} ${this.props.salesBranchCode || ''} ${this.state.branchName || ''} ${this.props.financialOffice || ''}`,
790
790
  fontSize: 16, // 字体⼤⼩
791
791
  url: '' // ⽔印图⽚ HTTP 地址
792
792
  },
@@ -1816,12 +1816,12 @@ class Video extends Component {
1816
1816
  }
1817
1817
 
1818
1818
  } else if (Mival.typeId == 1219) {
1819
- // 传入分行信息
1820
- if (Mival.sessionId == this.state.sessionId && this.props.recordMode == 2) {
1821
- this.state.salesBranchCode = Mival.salesBranchCode;
1822
- this.state.financialOffice = Mival.financialOffice;
1823
- this.state.branchName = Mival.salesBranchName;
1824
- }
1819
+ // 旧逻辑废弃。现在无论什么模式均为sdk外部传入
1820
+ // if (Mival.sessionId == this.state.sessionId && this.props.recordMode == 2) {
1821
+ // this.state.salesBranchCode = Mival.salesBranchCode;
1822
+ // this.state.financialOffice = Mival.financialOffice;
1823
+ // this.state.branchName = Mival.salesBranchName;
1824
+ // }
1825
1825
  } else if (Mival.typeId == 3100) {
1826
1826
  if(Mival.data.sessionId == this.state.sessionId) {
1827
1827
  muteJson.set(Mival.data.userId, JSON.stringify(Mival))