react_hsbc_teller 2.0.32 → 2.0.33

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.32",
3
+ "version": "2.0.33",
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.32'
61
+ const SDK_VERISON = '2.0.33'
62
62
  const IDtypeFront = '请客户在其设备后置摄像头下展示证件正面(如:身份证照片页面)'
63
63
  const IDtypeBack = '请在后置摄像头下展示证件反面(如:身份证国徽页)'
64
64
  const { Option } = Select;
@@ -401,7 +401,7 @@ class Video extends Component {
401
401
 
402
402
  // this.publishAllScreen();
403
403
  // 单独发布录制屏幕设备的流
404
- this.publishRecorderDevice()
404
+ // this.publishRecorderDevice()
405
405
 
406
406
  this.props.createRoomCallback({
407
407
  type: 1,
@@ -688,13 +688,13 @@ class Video extends Component {
688
688
  width: 213 * SCALE,
689
689
  height: 175 * SCALE
690
690
  },
691
- {
692
- tag: 'sharedScreen', // 一期暂时不需要录制
693
- xPosition: 960 * SCALE,
694
- yPosition: 180 * SCALE,
695
- width: 320 * SCALE,
696
- height: 180 * SCALE
697
- }
691
+ // {
692
+ // tag: 'sharedScreen', // 一期暂时不需要录制
693
+ // xPosition: 960 * SCALE,
694
+ // yPosition: 180 * SCALE,
695
+ // width: 320 * SCALE,
696
+ // height: 180 * SCALE
697
+ // }
698
698
  ]
699
699
  Array.isArray(res) ?
700
700
  res.map((item) => {
@@ -1708,7 +1708,11 @@ class Video extends Component {
1708
1708
  else if (Mival.typeId == 5005) { // 客户端人脸数量变化
1709
1709
  let TITLE = '客户'
1710
1710
  if (Mival.data && Mival.data.userId) {
1711
- TITLE = this.getUserTitle(Mival.data.userId)
1711
+ if (Mival.data.userId.includes(IPAD_SUFFIX)) {
1712
+ TITLE = ''
1713
+ } else {
1714
+ TITLE = this.getUserTitle(Mival.data.userId)
1715
+ }
1712
1716
  }
1713
1717
  this.messageClick(TITLE+'人脸数量发生变化', 'error', Mival.data.userId)
1714
1718
  }
@@ -2324,7 +2328,7 @@ class Video extends Component {
2324
2328
 
2325
2329
  // this.publishAllScreen();
2326
2330
  // 单独发布录制屏幕设备的流
2327
- this.publishRecorderDevice()
2331
+ // this.publishRecorderDevice()
2328
2332
 
2329
2333
  this.roomCallBack(1, '', 0)
2330
2334
  this.saveLog('mrtc join room success')
@@ -6733,12 +6737,13 @@ class Video extends Component {
6733
6737
  <div className='endModal'>iPad电量过低,请检查</div>
6734
6738
  </Modal>
6735
6739
  {/* 双录中ipad退出确认 */}
6736
- <Modal closable={false} centered={true} visible={this.state.IpadLeaveErrorModalVisible} maskClosable={false} width={320} footer={[
6740
+ <Modal closable={false} centered={true} visible={this.state.IpadLeaveErrorModalVisible} maskClosable={false} width={350} footer={[
6737
6741
  <div key='end'>
6738
6742
  <Button className="modelButtonOk" type="primary" danger onClick={this.handleOkIpadLeaveConfirm}>确定</Button>
6739
6743
  </div>
6740
6744
  ]}>
6741
- <div className='ipadModal'>iPad 摄像头异常退出,请扫码重新加入会议</div>
6745
+ <div className='ipadModal'>iPad 摄像头异常退出,请扫码或输入会议号入会</div>
6746
+ <div className='QRCode center'>
6742
6747
  <QRCode
6743
6748
  value={JSON.stringify({
6744
6749
  sessionId:this.state.sessionId,
@@ -6749,6 +6754,8 @@ class Video extends Component {
6749
6754
  size={120} //二维码的宽高尺寸
6750
6755
  fgColor="#000000" //二维码的颜色
6751
6756
  />
6757
+ <div className='sessionDiv'>{this.state.sessionId.slice(0, 4)}-{this.state.sessionId.slice(4-this.state.sessionId.length)}</div>
6758
+ </div>
6752
6759
  </Modal>
6753
6760
  {/* 是否退出会议*/}
6754
6761
  <Modal closable={false} centered={true} visible={this.state.isModalVisibleEnd} maskClosable={false} footer={[
@@ -7146,17 +7153,20 @@ class Video extends Component {
7146
7153
  {
7147
7154
  this.props.recordMode == 2 &&
7148
7155
  <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'}>
7149
- <p className="envClass">{this.state.ipadTag? 'iPad设备已加入':'未检测到iPad设备,请扫码加入会议'}</p>
7156
+ <p className="envClass">{this.state.ipadTag? 'iPad设备已加入':'未检测到iPad设备,请扫码或输入会议号入会'}</p>
7157
+ <div className='QRCode flex' style={{display: this.state.ipadTag? 'none':''}}>
7150
7158
  <QRCode
7151
7159
  value={JSON.stringify({
7152
7160
  sessionId: this.state.sessionId,
7153
7161
  staffId: this.props.tellerAccount,
7154
7162
  staffName: this.props.staffName
7155
7163
  })}
7156
- style={{marginTop: '8px', marginLeft: '20px', display: this.state.ipadTag? 'none':'block'}}
7164
+ style={{marginTop: '8px', marginLeft: '20px'}}
7157
7165
  size={100}
7158
7166
  fgColor="#000000"
7159
7167
  />
7168
+ <div className='sessionDiv'>{this.state.sessionId.slice(0, 4)}-{this.state.sessionId.slice(4-this.state.sessionId.length)}</div>
7169
+ </div>
7160
7170
  </Panel>
7161
7171
  }
7162
7172
  {
@@ -467,8 +467,7 @@
467
467
  .ipadCode{
468
468
  margin-top: 16px;
469
469
  margin-bottom: 20px;
470
- transform: translateX(-50%);
471
- left: 50%;
470
+ margin-left: 30px;
472
471
  position: relative;
473
472
  }
474
473
  .inspection{
@@ -679,4 +678,26 @@ display: inline-flex;
679
678
  color: white;
680
679
  margin-top: 20px;
681
680
  }
681
+ &.flex{
682
+ position: initial;
683
+ flex-direction: row;
684
+ .sessionDiv{
685
+ margin-left: 20px;
686
+ margin-top: 0;
687
+ font-weight: 500;
688
+ font-size: 1rem;
689
+ }
690
+ }
691
+ &.center{
692
+ position: initial;
693
+ .ipadCode{
694
+ margin-left: 0px;
695
+ }
696
+ .sessionDiv{
697
+ margin-top: 0;
698
+ font-weight: 500;
699
+ font-size: 1rem;
700
+ margin-bottom: 0.5rem;
701
+ }
702
+ }
682
703
  }