react_hsbc_teller 2.0.15 → 2.0.16
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/lib/hsbc.js +1 -1
- package/package.json +1 -1
- package/packages/pages/foot/foot.jsx +0 -12
- package/packages/pages/video/video.jsx +9 -18
package/package.json
CHANGED
|
@@ -27,9 +27,6 @@ export default class foot extends Component {
|
|
|
27
27
|
ocrClick=()=>{
|
|
28
28
|
this.props.ocrClick()
|
|
29
29
|
}
|
|
30
|
-
paperOcrClick=()=>{
|
|
31
|
-
this.props.paperOcrClick()
|
|
32
|
-
}
|
|
33
30
|
pictureInPicture=()=>{
|
|
34
31
|
this.props.pictureInPicture()
|
|
35
32
|
}
|
|
@@ -156,15 +153,6 @@ export default class foot extends Component {
|
|
|
156
153
|
</div>
|
|
157
154
|
// </Popover>
|
|
158
155
|
}
|
|
159
|
-
{
|
|
160
|
-
item == 'PAPER_OCR' &&
|
|
161
|
-
<div className="one" onClick={this.paperOcrClick.bind(this)}>
|
|
162
|
-
<img className="imgClass" src={require("../../assets/img/icon_paper.png").default} alt="" />
|
|
163
|
-
<div className="text">
|
|
164
|
-
纸质识别
|
|
165
|
-
</div>
|
|
166
|
-
</div>
|
|
167
|
-
}
|
|
168
156
|
{
|
|
169
157
|
item == 'INVITE' && <div className="one" onClick={this.invitationClick.bind(this)}>
|
|
170
158
|
<img className="imgClass" src={require("../../assets/img/icon_invitation.png").default} alt="" />
|
|
@@ -53,7 +53,7 @@ import Step from '../components/step/step.jsx'
|
|
|
53
53
|
import axios from 'axios';
|
|
54
54
|
import CryptoJS from "crypto-js";
|
|
55
55
|
|
|
56
|
-
const SDK_VERISON = '2.0.
|
|
56
|
+
const SDK_VERISON = '2.0.16'
|
|
57
57
|
const IDtypeFront = '请客户在其设备后置摄像头下展示证件正面(如:身份证照片页面)'
|
|
58
58
|
const IDtypeBack = '请在后置摄像头下展示证件反面(如:身份证国徽页)'
|
|
59
59
|
const { Option } = Select;
|
|
@@ -69,7 +69,9 @@ const POINT_TYPE = {
|
|
|
69
69
|
pipd: "画中画显示、关闭",
|
|
70
70
|
pwd: "违禁词检测",
|
|
71
71
|
wnd: "弱网",
|
|
72
|
-
mute: "静音"
|
|
72
|
+
mute: "静音",
|
|
73
|
+
expDark: '曝光、背光',
|
|
74
|
+
fcd: '人脸变化检测'
|
|
73
75
|
}
|
|
74
76
|
const RECORD_DEVICE_NAME = 'screen-capture-recorder'
|
|
75
77
|
// const RECORD_DEVICE_NAME = 'Full HD webcam'
|
|
@@ -940,8 +942,8 @@ class Video extends Component {
|
|
|
940
942
|
}
|
|
941
943
|
messageClick = (value, tipType) => {
|
|
942
944
|
console.log('messageClick', value, tipType)
|
|
943
|
-
const intervalSec =
|
|
944
|
-
const durationSec =
|
|
945
|
+
const intervalSec = 5 // 相同提示触发间隔
|
|
946
|
+
const durationSec = 4.5 // 提示持续时间
|
|
945
947
|
if (messageValueMap.get(value) == undefined) {
|
|
946
948
|
// map中没有相同消息
|
|
947
949
|
messageValue = value
|
|
@@ -1086,18 +1088,6 @@ class Video extends Component {
|
|
|
1086
1088
|
this.selectCustomer('ocr')
|
|
1087
1089
|
}
|
|
1088
1090
|
};
|
|
1089
|
-
paperOcrClick = () => {
|
|
1090
|
-
setTimeout(() => {
|
|
1091
|
-
// this.messageClick('系统检测到您已签署2/3个地方,还有1处未签署', 'error')
|
|
1092
|
-
message.error({
|
|
1093
|
-
content: '系统检测到您已签署2/3个地方,还有1处未签署',
|
|
1094
|
-
icon: <img src={require("../../assets/img/tooltips2_fail.png").default} alt="" ></img>,
|
|
1095
|
-
className: 'errorClassName',
|
|
1096
|
-
top: 200,
|
|
1097
|
-
duration: 10
|
|
1098
|
-
})
|
|
1099
|
-
}, 1500);
|
|
1100
|
-
};
|
|
1101
1091
|
endSessionValue = () => {
|
|
1102
1092
|
this.saveLog('RM actively exits the meeting')
|
|
1103
1093
|
if (streamShare) {
|
|
@@ -1796,7 +1786,7 @@ class Video extends Component {
|
|
|
1796
1786
|
if (res==1 || res== -1){
|
|
1797
1787
|
// 背景曝光过度
|
|
1798
1788
|
this.messageClick('检测到当前背光、曝光过度', 'error')
|
|
1799
|
-
this.saveVideoPoint('
|
|
1789
|
+
this.saveVideoPoint('expDark', 'RM端背光、曝光过度');
|
|
1800
1790
|
}
|
|
1801
1791
|
origin.delete()
|
|
1802
1792
|
// let end = new Date().getTime()
|
|
@@ -1850,6 +1840,8 @@ class Video extends Component {
|
|
|
1850
1840
|
roomId: this.state.channelId + '',
|
|
1851
1841
|
appId: this.state.appId,
|
|
1852
1842
|
recordId: this.state.recordId,
|
|
1843
|
+
client: 'rm',
|
|
1844
|
+
customerId: this.props.tellerAccount
|
|
1853
1845
|
});
|
|
1854
1846
|
} catch (err) {
|
|
1855
1847
|
console.error(err);
|
|
@@ -6254,7 +6246,6 @@ class Video extends Component {
|
|
|
6254
6246
|
invitationClick={this.invitationClick}
|
|
6255
6247
|
customerFaceClick={this.customerFaceClick}
|
|
6256
6248
|
ocrClick={this.ocrClick}
|
|
6257
|
-
paperOcrClick={this.paperOcrClick}
|
|
6258
6249
|
switchExternal={this.switchExternal}
|
|
6259
6250
|
inspection={this.inspection}
|
|
6260
6251
|
toggleAsr={this.toggleAsr}
|