react_hsbc_teller 2.0.36 → 2.0.38
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
|
@@ -119,7 +119,7 @@ export default class foot extends Component {
|
|
|
119
119
|
<div className="one">
|
|
120
120
|
<img className="imgClass" src={require("../../assets/img/switchExternal.png").default} alt="" />
|
|
121
121
|
<div className="text">
|
|
122
|
-
|
|
122
|
+
{this.props.recordMode == 1?'远程':''}签署
|
|
123
123
|
</div>
|
|
124
124
|
</div>
|
|
125
125
|
</div>
|
|
@@ -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.
|
|
63
|
+
const SDK_VERISON = '2.0.38'
|
|
64
64
|
const IDtypeFront = '请客户在其设备后置摄像头下展示证件正面(如:身份证照片页面)'
|
|
65
65
|
const IDtypeBack = '请在后置摄像头下展示证件反面(如:身份证国徽页)'
|
|
66
66
|
const { Option } = Select;
|
|
@@ -1734,6 +1734,12 @@ class Video extends Component {
|
|
|
1734
1734
|
else if (Mival.typeId == 5006) { // 内网pib检测到敏感词
|
|
1735
1735
|
this.messageClick(Mival.content, 'error', Mival.data.userId)
|
|
1736
1736
|
}
|
|
1737
|
+
else if (Mival.typeId == 5007) { // ipad充电状态
|
|
1738
|
+
if (Mival.type == '1') { // 1充电 2不在充电
|
|
1739
|
+
this.setState({ ipadLowPowerErrorModalVisible: false})
|
|
1740
|
+
clearTimeout(this.ipadLowPowerPlay)
|
|
1741
|
+
}
|
|
1742
|
+
}
|
|
1737
1743
|
else if (Mival.typeId == 1220) {
|
|
1738
1744
|
// 一炒多的图片 1214
|
|
1739
1745
|
if (Mival.sessionId == this.state.sessionId) {
|
|
@@ -2072,7 +2078,7 @@ class Video extends Component {
|
|
|
2072
2078
|
console.error(err)
|
|
2073
2079
|
}
|
|
2074
2080
|
}
|
|
2075
|
-
saveVideoPoint = async (code, content) => {
|
|
2081
|
+
saveVideoPoint = async (code, content, prohibitedWords) => {
|
|
2076
2082
|
try {
|
|
2077
2083
|
let result = await API.saveVideoPoint({
|
|
2078
2084
|
title: POINT_TYPE[code],
|
|
@@ -2084,6 +2090,7 @@ class Video extends Component {
|
|
|
2084
2090
|
appId: this.state.appId,
|
|
2085
2091
|
recordId: this.state.recordId,
|
|
2086
2092
|
client: 'rm',
|
|
2093
|
+
prohibitedWords,
|
|
2087
2094
|
customerId: this.props.tellerAccount
|
|
2088
2095
|
});
|
|
2089
2096
|
} catch (err) {
|
|
@@ -3984,9 +3991,9 @@ class Video extends Component {
|
|
|
3984
3991
|
appCode: `HSBCCode`
|
|
3985
3992
|
}).then((re) => {
|
|
3986
3993
|
if (re.data.match) {
|
|
3987
|
-
this.saveVideoPoint('pwd', `${resultValue}`)
|
|
3988
3994
|
console.log('匹配到敏感词', re.data.matchRawTextItems)
|
|
3989
3995
|
let matchArr = re.data.matchRawTextItems.map(el => el.matchedText);
|
|
3996
|
+
this.saveVideoPoint('pwd', `${resultValue}`, matchArr.toString())
|
|
3990
3997
|
if (matchArr.length>0) {
|
|
3991
3998
|
matchArr.forEach(el => {
|
|
3992
3999
|
this.messageClick('检测到敏感词:' + matchArr, 'error')
|
|
@@ -4374,8 +4381,12 @@ class Video extends Component {
|
|
|
4374
4381
|
this.enableServerRecording(this.state.businessId)
|
|
4375
4382
|
}
|
|
4376
4383
|
handleOkLowPowerConfirm = () => {
|
|
4377
|
-
|
|
4378
|
-
|
|
4384
|
+
// 通知ipad,获取是否在充电的状态
|
|
4385
|
+
this.sendMessage({
|
|
4386
|
+
'typeId': 1224,
|
|
4387
|
+
'sessionId': this.state.sessionId,
|
|
4388
|
+
'userId': this.props.tellerAccount
|
|
4389
|
+
})
|
|
4379
4390
|
}
|
|
4380
4391
|
handleOkIpadLeaveConfirm = () => {
|
|
4381
4392
|
// 检测ipad是否入会
|
|
@@ -6559,9 +6570,12 @@ class Video extends Component {
|
|
|
6559
6570
|
{otherAttendeesList}
|
|
6560
6571
|
</li>
|
|
6561
6572
|
}
|
|
6573
|
+
{
|
|
6574
|
+
this.props.recordMode != 2 &&
|
|
6562
6575
|
<li>
|
|
6563
6576
|
请注意,若会议中需要客户出示证件,请客户使用手机的后置摄像头展示证件,由客户经理拍摄证件照片以完成客户身份核实。客户可点击会议主页面上的”切换摄像头“按钮切换手机摄像头
|
|
6564
6577
|
</li>
|
|
6578
|
+
}
|
|
6565
6579
|
|
|
6566
6580
|
</ul>
|
|
6567
6581
|
</div>
|
|
@@ -6576,7 +6590,7 @@ class Video extends Component {
|
|
|
6576
6590
|
size={110} //二维码的宽高尺寸
|
|
6577
6591
|
fgColor="#000000" //二维码的颜色
|
|
6578
6592
|
/>
|
|
6579
|
-
<div className='sessionDiv'
|
|
6593
|
+
<div className='sessionDiv' style={{marginTop: '20px'}}><span>会议号码</span><div className='num'>{this.state.sessionId}</div></div>
|
|
6580
6594
|
</div> : null}
|
|
6581
6595
|
</div>
|
|
6582
6596
|
}
|
|
@@ -6807,7 +6821,7 @@ class Video extends Component {
|
|
|
6807
6821
|
size={120} //二维码的宽高尺寸
|
|
6808
6822
|
fgColor="#000000" //二维码的颜色
|
|
6809
6823
|
/>
|
|
6810
|
-
<div className='sessionDiv'>{this.state.sessionId
|
|
6824
|
+
<div className='sessionDiv'><span>会议号码</span><div className='num'>{this.state.sessionId}</div></div>
|
|
6811
6825
|
</div>
|
|
6812
6826
|
</Modal>
|
|
6813
6827
|
{/* 是否退出会议*/}
|
|
@@ -7205,8 +7219,8 @@ class Video extends Component {
|
|
|
7205
7219
|
</Panel>
|
|
7206
7220
|
{
|
|
7207
7221
|
this.props.recordMode == 2 &&
|
|
7208
|
-
<Panel header={<span
|
|
7209
|
-
<p className="envClass">{this.state.ipadTag? 'iPad设备已加入':'
|
|
7222
|
+
<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'}>
|
|
7223
|
+
<p className="envClass">{this.state.ipadTag? 'iPad设备已加入':'请使用双录iPAD扫描以下会议二维码或输入会议号,开启双录'}</p>
|
|
7210
7224
|
<div className='QRCode flex' style={{display: this.state.ipadTag? 'none':''}}>
|
|
7211
7225
|
<QRCode
|
|
7212
7226
|
value={JSON.stringify({
|
|
@@ -7218,7 +7232,7 @@ class Video extends Component {
|
|
|
7218
7232
|
size={100}
|
|
7219
7233
|
fgColor="#000000"
|
|
7220
7234
|
/>
|
|
7221
|
-
<div className='sessionDiv'>{this.state.sessionId
|
|
7235
|
+
<div className='sessionDiv'><span>会议号码</span><div className='num'>{this.state.sessionId}</div></div>
|
|
7222
7236
|
</div>
|
|
7223
7237
|
</Panel>
|
|
7224
7238
|
}
|
|
@@ -466,7 +466,7 @@
|
|
|
466
466
|
}
|
|
467
467
|
.ipadCode{
|
|
468
468
|
margin-top: 16px;
|
|
469
|
-
margin-bottom:
|
|
469
|
+
margin-bottom: 16px;
|
|
470
470
|
margin-left: 30px;
|
|
471
471
|
position: relative;
|
|
472
472
|
}
|
|
@@ -668,7 +668,7 @@ display: inline-flex;
|
|
|
668
668
|
display: flex;
|
|
669
669
|
flex-direction: column;
|
|
670
670
|
align-items: center;
|
|
671
|
-
.
|
|
671
|
+
.num{
|
|
672
672
|
background: #DB0011;
|
|
673
673
|
border-radius: 20px;
|
|
674
674
|
padding: 0 15px;
|
|
@@ -676,14 +676,26 @@ display: inline-flex;
|
|
|
676
676
|
line-height: 40px;
|
|
677
677
|
height: 40px;
|
|
678
678
|
color: white;
|
|
679
|
-
margin-top:
|
|
679
|
+
margin-top: 5px;
|
|
680
|
+
}
|
|
681
|
+
.sessionDiv{
|
|
682
|
+
display: flex;
|
|
683
|
+
flex-direction: column;
|
|
684
|
+
span{
|
|
685
|
+
margin-bottom: 3px;
|
|
686
|
+
font-size: 16px;
|
|
687
|
+
font-weight: bold;
|
|
688
|
+
text-align: center;
|
|
689
|
+
}
|
|
680
690
|
}
|
|
681
691
|
&.flex{
|
|
682
692
|
position: initial;
|
|
683
693
|
flex-direction: row;
|
|
684
694
|
.sessionDiv{
|
|
685
695
|
margin-left: 20px;
|
|
686
|
-
|
|
696
|
+
}
|
|
697
|
+
.num{
|
|
698
|
+
margin-top: 0px;
|
|
687
699
|
font-weight: 500;
|
|
688
700
|
font-size: 1rem;
|
|
689
701
|
}
|
|
@@ -693,8 +705,8 @@ display: inline-flex;
|
|
|
693
705
|
.ipadCode{
|
|
694
706
|
margin-left: 0px;
|
|
695
707
|
}
|
|
696
|
-
.
|
|
697
|
-
margin-top:
|
|
708
|
+
.num{
|
|
709
|
+
margin-top: 0px;
|
|
698
710
|
font-weight: 500;
|
|
699
711
|
font-size: 1rem;
|
|
700
712
|
margin-bottom: 0.5rem;
|