react_hsbc_teller 2.0.28 → 2.0.29

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.28",
3
+ "version": "2.0.29",
4
4
  "description": "React",
5
5
  "private": false,
6
6
  "main": "lib/hsbc.js",
@@ -58,7 +58,7 @@ import MultiModule from '../multiModule/multiModule'//签字、抄录
58
58
  import axios from 'axios';
59
59
  import CryptoJS from "crypto-js";
60
60
 
61
- const SDK_VERISON = '2.0.28'
61
+ const SDK_VERISON = '2.0.29'
62
62
  const IDtypeFront = '请客户在其设备后置摄像头下展示证件正面(如:身份证照片页面)'
63
63
  const IDtypeBack = '请在后置摄像头下展示证件反面(如:身份证国徽页)'
64
64
  const { Option } = Select;
@@ -1711,6 +1711,9 @@ class Video extends Component {
1711
1711
  }
1712
1712
  this.messageClick(TITLE+'人脸数量发生变化', 'error', Mival.data.userId)
1713
1713
  }
1714
+ else if (Mival.typeId == 5006) { // 内网pib检测到敏感词
1715
+ this.messageClick(Mival.content, 'error', Mival.data.userId)
1716
+ }
1714
1717
  else if (Mival.typeId == 1220) {
1715
1718
  // 一炒多的图片 1214
1716
1719
  if (Mival.sessionId == this.state.sessionId) {
@@ -2593,6 +2596,10 @@ class Video extends Component {
2593
2596
  console.log('过滤订阅的tag:', itemOne.tag)
2594
2597
  return
2595
2598
  }
2599
+ if (itemOne.mediaSource == 'VIDEO_SOURCE_CAMERA' && item.uid.includes(IPAD_SUFFIX)) {
2600
+ this.state.ipadTag = itemOne.tag;
2601
+ console.log('ipadTag:', itemOne.tag)
2602
+ }
2596
2603
  let array = this.state.roomCustomerList;
2597
2604
  let newArray = [...array];
2598
2605
  newArray.push({
@@ -2901,6 +2908,10 @@ class Video extends Component {
2901
2908
  }
2902
2909
  setTimeout(this.ipadLeavePlay, 0);
2903
2910
  return
2911
+ } else if (participant.includes(IPAD_SUFFIX)) {
2912
+ this.setState({
2913
+ ipadTag: '',
2914
+ })
2904
2915
  }
2905
2916
 
2906
2917
 
@@ -6329,7 +6340,8 @@ class Video extends Component {
6329
6340
  this.state.envInfo.batteryResult=='合格' &&
6330
6341
  (this.state.envInfo.cameraResult=='合格' || this.props.recordMode == 2) &&
6331
6342
  this.state.envInfo.microResult=='合格' &&
6332
- (this.state.envInfo.lightResult=='合格' || this.props.recordMode == 2 )
6343
+ (this.state.envInfo.lightResult=='合格' || this.props.recordMode == 2 ) &&
6344
+ (this.state.ipadTag || this.props.recordMode != 2)
6333
6345
 
6334
6346
  const sectionStyle = this.state.tabTitles.length > 0 ? {
6335
6347
  zIndex: '-1',
@@ -7088,6 +7100,22 @@ class Video extends Component {
7088
7100
  {this.state.cameraList.length == 0 ? <p className="envClass">获取不到设备,请检查电脑“设置”中的麦克风权限是否开启,并重启浏览器再试</p> : null}
7089
7101
  </div>
7090
7102
  </Panel>
7103
+ {
7104
+ this.props.recordMode == 2 &&
7105
+ <Panel header={<span>iPad设备 - {this.state.ipadTag? '合格':'不合格'} {this.state.ipadTag? <img src={IconSuccess} />: <img src={IconFail} />}</span>} key="6" className={this.state.ipadTag? '':'panel-error'}>
7106
+ <p className="envClass">{this.state.ipadTag? 'iPad设备已加入':'未检测到iPad设备,请扫码加入会议'}</p>
7107
+ <QRCode
7108
+ value={JSON.stringify({
7109
+ sessionId: this.state.sessionId,
7110
+ staffId: this.props.tellerAccount,
7111
+ staffName: this.props.staffName
7112
+ })}
7113
+ style={{marginTop: '8px', marginLeft: '20px', display: this.state.ipadTag? 'none':'block'}}
7114
+ size={100}
7115
+ fgColor="#000000"
7116
+ />
7117
+ </Panel>
7118
+ }
7091
7119
  {
7092
7120
  this.props.recordMode != 2 &&
7093
7121
  <Panel header={<span>背光、曝光 - {this.state.envInfo.lightResult} {this.state.envInfo.lightResult=='合格'? <img src={IconSuccess} />: <img src={IconFail} />}</span>} key="6" className={this.state.envInfo.lightResult=='合格'? '':'panel-error'}>