react_hsbc_teller 1.9.0 → 1.9.1

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": "1.9.0",
3
+ "version": "1.9.1",
4
4
  "description": "React",
5
5
  "private": false,
6
6
  "main": "lib/hsbc.js",
@@ -347,7 +347,7 @@ class Video extends Component {
347
347
  saveLog = (val) => {
348
348
  axios({
349
349
  method: 'get',
350
- baseURL: this.props.logUrl + '&message=' + encodeURIComponent(val) + '&react_hsbc_teller=1.9.0&logTime=' + Date.now() + '&mtoken=' + encodeURIComponent(this.state.rtoken) + '&roomId=' + encodeURIComponent(this.state.channelId) + '&sessionId=' + encodeURIComponent(this.state.sessionId) + '&appointmentID=' + this.props.businessNumber,
350
+ baseURL: this.props.logUrl + '&message=' + encodeURIComponent(val) + '&react_hsbc_teller=1.9.1&logTime=' + Date.now() + '&mtoken=' + encodeURIComponent(this.state.rtoken) + '&roomId=' + encodeURIComponent(this.state.channelId) + '&sessionId=' + encodeURIComponent(this.state.sessionId) + '&appointmentID=' + this.props.businessNumber,
351
351
 
352
352
  }).then(res => {
353
353
 
@@ -3837,7 +3837,7 @@ class Video extends Component {
3837
3837
  }
3838
3838
  }
3839
3839
  componentWillMount() {
3840
- console.log('hsbc_teller_sdk', '1.9.0')
3840
+ console.log('hsbc_teller_sdk', '1.9.1')
3841
3841
  if (this.props.sessionId) {
3842
3842
  this.getRoomStatus({
3843
3843
  sessionId: this.props.sessionId
@@ -5502,9 +5502,9 @@ class Video extends Component {
5502
5502
  try {
5503
5503
  let result = await API.saveAuthorize({
5504
5504
  activityId: this.props.businessNumber,
5505
- authorizeType: this.state.documentType == 0 ? 'ID' : 'NID',
5505
+ authorizeType: this.state.documentType == 'ID_CARD' ? 'ID' : 'NID',
5506
5506
  appAccount: appAccount,
5507
- idCardAuthorize: this.state.documentType == 0 ? 'YES' : '',
5507
+ idCardAuthorize: this.state.documentType == 'ID_CARD' ? 'YES' : '',
5508
5508
  pictureAuthorize: 'YES'
5509
5509
  });
5510
5510
  console.log(result)
@@ -6314,7 +6314,7 @@ class Video extends Component {
6314
6314
 
6315
6315
 
6316
6316
  {
6317
- !this.state.isCustomerSelect && <Button className="modelButtonOk" type="primary" danger onClick={this.goBackSelectCustomer}>上一步</Button>
6317
+ !this.state.isCustomerSelect && <Button className="modelButtonCancel" onClick={this.goBackSelectCustomer}>上一步</Button>
6318
6318
  }
6319
6319
  <Button className="modelButtonCancel" onClick={this.handleCancelCustomer}>取消</Button>
6320
6320
  {/* {