react_hsbc_teller 2.0.69 → 2.0.71
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
|
Binary file
|
|
Binary file
|
package/packages/demo/demo.js
CHANGED
|
@@ -15,7 +15,7 @@ class Demo extends Component {
|
|
|
15
15
|
// sessionId: '',
|
|
16
16
|
pdfRendering: false,
|
|
17
17
|
isVideo: false,
|
|
18
|
-
tellerAccount: '
|
|
18
|
+
tellerAccount: '20250528',
|
|
19
19
|
// callbackUrl: 'http://182.92.184.31:8720/hsbc/callback',
|
|
20
20
|
callbackUrl: 'https://aag.wealth-platform.uat.ali.cloud.cn.hsbc/nosaml/api/appointment/wealth/api/v1/appointment/ali/createMeetingRoom',
|
|
21
21
|
businessNumber: '123',
|
|
@@ -26,7 +26,7 @@ class Demo extends Component {
|
|
|
26
26
|
// resourcePath:'http://121.196.19.70:8027/',
|
|
27
27
|
roomServerUrl: 'wss://uat.mpaas.investments.hsbc.com.hk:31000/mpaas/mrtc/ws',
|
|
28
28
|
// roomServerUrl: 'wss://app.uat.dsp.hsbcfts.com.cn/mpaas/mrtc/ws',
|
|
29
|
-
baseURL:'https://
|
|
29
|
+
baseURL:'https://uat.mpaas.investments.hsbc.com.hk:31000/wealth/zuul/api/leimon-counter-api',
|
|
30
30
|
resourcePath:'https://zuul.uat.dsp.hsbcfts.com.cn/wealth/js/',
|
|
31
31
|
prohibitPrompt: '无客户',
|
|
32
32
|
titleBackground: '#40a9ff',
|
|
@@ -42,9 +42,20 @@ class Demo extends Component {
|
|
|
42
42
|
customerId: "testCustomerId", //客户号
|
|
43
43
|
salesBranchCode: 'salesBranchCode', //网点编号(分行号)
|
|
44
44
|
financialOffice: "defaultOfficeId", // 理财室
|
|
45
|
-
audioinputNameList: ['默认值 - 外部麦克风 (Realtek(R) Audio)']
|
|
45
|
+
audioinputNameList: ['默认值 - 外部麦克风 (Realtek(R) Audio)'],
|
|
46
|
+
needPreSale: false
|
|
46
47
|
}
|
|
47
48
|
componentWillMount() {
|
|
49
|
+
if(window.localStorage.getItem('sessionId') && window.localStorage.getItem('sessionId') != 'null' && window.localStorage.getItem('sessionId') != 'undefined') {
|
|
50
|
+
this.setState({roomId: window.localStorage.getItem('roomId')});
|
|
51
|
+
this.setState({mtoken: window.localStorage.getItem('mtoken')});
|
|
52
|
+
this.setState({sessionId:window.localStorage.getItem('sessionId')});
|
|
53
|
+
this.setState({imRoomId: window.localStorage.getItem('imRoomId')});
|
|
54
|
+
this.setState({
|
|
55
|
+
isVideo: true
|
|
56
|
+
})
|
|
57
|
+
}
|
|
58
|
+
|
|
48
59
|
}
|
|
49
60
|
handleChangeRoomId = (event) => {
|
|
50
61
|
this.setState({roomId: event.target.value});
|
|
@@ -73,6 +84,10 @@ onLeaveRoom = (val) => {
|
|
|
73
84
|
this.setState({
|
|
74
85
|
isVideo: false
|
|
75
86
|
})
|
|
87
|
+
this.setState({roomId: ''});
|
|
88
|
+
this.setState({mtoken: ''});
|
|
89
|
+
this.setState({sessionId: ''});
|
|
90
|
+
this.setState({imRoomId: ''});
|
|
76
91
|
}
|
|
77
92
|
}
|
|
78
93
|
handleChangeTeller = (event) => {
|
|
@@ -199,6 +214,7 @@ userExit =(val)=>{
|
|
|
199
214
|
this.state.isVideo ?
|
|
200
215
|
<div>
|
|
201
216
|
<HSBC
|
|
217
|
+
needPreSale={this.state.needPreSale}
|
|
202
218
|
isOpenSound={true}
|
|
203
219
|
shareMask={this.state.shareMask}
|
|
204
220
|
pdfRendering={this.state.pdfRendering}
|