react_hsbc_teller 0.6.3 → 0.6.7
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.LICENSE.txt
CHANGED
|
@@ -11,27 +11,6 @@
|
|
|
11
11
|
* @license MIT
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
-
/*!
|
|
15
|
-
* html2canvas 1.4.0 <https://html2canvas.hertzen.com>
|
|
16
|
-
* Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
|
|
17
|
-
* Released under MIT License
|
|
18
|
-
*/
|
|
19
|
-
|
|
20
|
-
/*! *****************************************************************************
|
|
21
|
-
Copyright (c) Microsoft Corporation.
|
|
22
|
-
|
|
23
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
24
|
-
purpose with or without fee is hereby granted.
|
|
25
|
-
|
|
26
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
27
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
28
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
29
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
30
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
31
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
32
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
33
|
-
***************************************************************************** */
|
|
34
|
-
|
|
35
14
|
/*! *****************************************************************************
|
|
36
15
|
Copyright (c) Microsoft Corporation.
|
|
37
16
|
|
package/package.json
CHANGED
|
@@ -67,8 +67,8 @@ export default class foot extends Component {
|
|
|
67
67
|
const defaultList = (
|
|
68
68
|
<div className="total totalTwo">
|
|
69
69
|
{
|
|
70
|
-
menus.map((item)=>{
|
|
71
|
-
return <div className='footHover'>
|
|
70
|
+
menus.map((item,index)=>{
|
|
71
|
+
return <div key={index}className='footHover'>
|
|
72
72
|
{
|
|
73
73
|
isTranscribing &&
|
|
74
74
|
<div className="one" onClick={this.transcribingClick.bind(this)}>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.foot{
|
|
2
2
|
background: #fff;
|
|
3
|
-
height:
|
|
3
|
+
height: 4rem;
|
|
4
4
|
display: inline-flex;
|
|
5
5
|
width: 100%;
|
|
6
6
|
// margin: 10px 0;
|
|
@@ -13,9 +13,10 @@ width: 100%;
|
|
|
13
13
|
width: 33%;
|
|
14
14
|
height: 100%;
|
|
15
15
|
align-items: center;
|
|
16
|
-
|
|
16
|
+
// margin: 10px 0;
|
|
17
17
|
.one{
|
|
18
|
-
padding-top: 5px;
|
|
18
|
+
// padding-top: 5px;
|
|
19
|
+
padding: 5px 0;
|
|
19
20
|
display: flex;
|
|
20
21
|
line-height: 32px;
|
|
21
22
|
flex-direction: column;
|
|
@@ -27,7 +28,7 @@ width: 100%;
|
|
|
27
28
|
border-radius: 8px;
|
|
28
29
|
}
|
|
29
30
|
.text{
|
|
30
|
-
margin-top:
|
|
31
|
+
margin-top: 8px;
|
|
31
32
|
padding-bottom: 10px;
|
|
32
33
|
text-align: center;
|
|
33
34
|
width: 80px;
|
|
@@ -43,7 +44,7 @@ line-height: 11px;
|
|
|
43
44
|
justify-content: center;
|
|
44
45
|
}
|
|
45
46
|
.totalThree{
|
|
46
|
-
margin-top: 10px;
|
|
47
|
+
// margin-top: 10px;
|
|
47
48
|
justify-content: flex-end;
|
|
48
49
|
}
|
|
49
50
|
.buttonClass{
|
|
@@ -22,7 +22,6 @@ import 'antd/lib/spin/style'
|
|
|
22
22
|
import { Button } from '../../../node_modules/antd/lib/index';
|
|
23
23
|
import CanvasDraw from "react-canvas-draw";
|
|
24
24
|
import { FormattedMessage, injectIntl } from 'react-intl';
|
|
25
|
-
import html2canvas from 'html2canvas';
|
|
26
25
|
import axios from 'axios';
|
|
27
26
|
const LEAVE_TYPE = {
|
|
28
27
|
TELLER_EXIT: 1, // 坐席退出
|
|
@@ -2821,7 +2820,7 @@ class Video extends Component {
|
|
|
2821
2820
|
<span className='labelClass'>
|
|
2822
2821
|
{
|
|
2823
2822
|
meetingInfo.customers.map((item, index) => {
|
|
2824
|
-
return <label>
|
|
2823
|
+
return <label key={index}>
|
|
2825
2824
|
{item}
|
|
2826
2825
|
{
|
|
2827
2826
|
meetingInfo.customers.length > 0 && index != meetingInfo.customers.length - 1 && <label>,</label>
|
|
@@ -2844,7 +2843,7 @@ class Video extends Component {
|
|
|
2844
2843
|
</div>
|
|
2845
2844
|
)
|
|
2846
2845
|
const camera = (
|
|
2847
|
-
<div
|
|
2846
|
+
<div className="cameraAnMicrophone">
|
|
2848
2847
|
{
|
|
2849
2848
|
this.state.cameraList.map((item,index) => {
|
|
2850
2849
|
return <div key={index}>
|
|
@@ -2863,7 +2862,7 @@ class Video extends Component {
|
|
|
2863
2862
|
<div>
|
|
2864
2863
|
{
|
|
2865
2864
|
this.state.microphoneList.map((item,index) => {
|
|
2866
|
-
return <div key={index}
|
|
2865
|
+
return <div key={index} className="cameraAnMicrophone">
|
|
2867
2866
|
<label className="radio">
|
|
2868
2867
|
<input type="radio" name="microphone" value={item.actionid} style={{float: 'left'}} checked={this.state.microphoneValue == item.actionid} onChange={(e) => this.getMicrophoneValue(e)} /><i></i>
|
|
2869
2868
|
{item.actionname}
|
|
@@ -2878,7 +2877,7 @@ class Video extends Component {
|
|
|
2878
2877
|
<div>
|
|
2879
2878
|
{
|
|
2880
2879
|
this.state.speakerList.map((item,index) => {
|
|
2881
|
-
return <div key={index}
|
|
2880
|
+
return <div key={index} className="cameraAnMicrophone">
|
|
2882
2881
|
{item.actionname}<br />
|
|
2883
2882
|
</div>
|
|
2884
2883
|
})
|
|
@@ -3368,7 +3367,7 @@ class Video extends Component {
|
|
|
3368
3367
|
switchExternal={this.switchExternal}
|
|
3369
3368
|
inspection={this.inspection}
|
|
3370
3369
|
></Foot>
|
|
3371
|
-
<Modal cancelText="取消" okText="确定" visible={this.state.isModalVisible} onOk={this.handleOk}
|
|
3370
|
+
<Modal key={Math.random()} cancelText="取消" okText="确定" visible={this.state.isModalVisible} onOk={this.handleOk}
|
|
3372
3371
|
onCancel={this.handleCancel}>
|
|
3373
3372
|
{
|
|
3374
3373
|
this.state.isSuspend && <span>确定是否恢复会话?</span>
|
|
@@ -3377,13 +3376,13 @@ class Video extends Component {
|
|
|
3377
3376
|
!this.state.isSuspend && <span>确定是否暂停会话?</span>
|
|
3378
3377
|
}
|
|
3379
3378
|
</Modal>
|
|
3380
|
-
<Modal
|
|
3379
|
+
<Modal key={Math.random()} closable={false} centered={true} visible={this.state.isModalVisibleEnd} footer={[
|
|
3381
3380
|
<Button className="modelButtonCancel" onClick={this.handleCancelEnd}>取消</Button>,
|
|
3382
3381
|
<Button className="modelButtonOk" type="primary" danger onClick={this.handleOkEnd}>确定</Button>
|
|
3383
3382
|
]}>
|
|
3384
3383
|
<div className='endModal'>确定是否结束会话?</div>
|
|
3385
3384
|
</Modal>
|
|
3386
|
-
<Modal title={this.state.titleModal} closable={false} centered={true} visible={this.state.isModalVisibleFacial} footer={[
|
|
3385
|
+
<Modal key={Math.random()} title={this.state.titleModal} closable={false} centered={true} visible={this.state.isModalVisibleFacial} footer={[
|
|
3387
3386
|
<Button className="modelButtonCancel" onClick={this.handleCancelFacial}>取消</Button>,
|
|
3388
3387
|
<Button className="modelButtonOk" type="primary" danger onClick={this.handleOkFacial}>确定</Button>
|
|
3389
3388
|
]}>
|
|
@@ -3398,18 +3397,18 @@ class Video extends Component {
|
|
|
3398
3397
|
</div>
|
|
3399
3398
|
|
|
3400
3399
|
</Modal> */}
|
|
3401
|
-
<Modal className="modelClass" title="新增预约" closable={false} centered={true} visible={this.state.isModalVisibleInvitation} footer={[
|
|
3400
|
+
<Modal key={Math.random()} className="modelClass" title="新增预约" closable={false} centered={true} visible={this.state.isModalVisibleInvitation} footer={[
|
|
3402
3401
|
<Button className="modelButtonCancel" onClick={this.handleCancelInvitation}>取消</Button>,
|
|
3403
3402
|
<Button className="modelButtonOk" type="primary" danger onClick={this.handleOkInvitation}>确定</Button>
|
|
3404
3403
|
]}>
|
|
3405
3404
|
<div>
|
|
3406
3405
|
<div className="invitationDiv">
|
|
3407
|
-
<span
|
|
3406
|
+
<span className="modalSpan">员工号:</span><input type="number"className="inputClick" placeholder="请输入员工号" value={this.state.employeeNumber} onChange={e => this.handleChange(e)}></input>
|
|
3408
3407
|
{/* <span className="invitationSpan" onClick={this.queryStaff}>查 询</span> */}
|
|
3409
3408
|
<Button className="invitationSpan" type="primary" danger onClick={this.queryStaff}>查 询</Button>
|
|
3410
3409
|
</div>
|
|
3411
3410
|
<div className="invitationDiv">
|
|
3412
|
-
<span
|
|
3411
|
+
<span className="modalSpan"> 姓名:</span><span>{this.state.employeeName}</span>
|
|
3413
3412
|
</div>
|
|
3414
3413
|
</div>
|
|
3415
3414
|
{
|
|
@@ -3420,7 +3419,7 @@ class Video extends Component {
|
|
|
3420
3419
|
}
|
|
3421
3420
|
|
|
3422
3421
|
</Modal>
|
|
3423
|
-
<Modal title="签字白板" closable={false} centered={true} visible={this.state.isModalVisibleSign} footer={
|
|
3422
|
+
<Modal key={Math.random()} title="签字白板" closable={false} centered={true} visible={this.state.isModalVisibleSign} footer={
|
|
3424
3423
|
[
|
|
3425
3424
|
<Button className="modelButtonOk" type="primary" danger onClick={this.handleOkSign}>确定</Button>
|
|
3426
3425
|
]
|
|
@@ -3437,11 +3436,11 @@ class Video extends Component {
|
|
|
3437
3436
|
></CanvasDraw>
|
|
3438
3437
|
</div>
|
|
3439
3438
|
</Modal>
|
|
3440
|
-
<Modal title="设备检测" closable={false} centered={true} visible={this.state.isModalVisibleInspection} footer={[
|
|
3439
|
+
<Modal key={Math.random()} title="设备检测" closable={false} centered={true} visible={this.state.isModalVisibleInspection} footer={[
|
|
3441
3440
|
<Button className="modelButtonCancel" onClick={this.handleCancelInspection}>取消</Button>,
|
|
3442
3441
|
<Button className="modelButtonOk" type="primary" danger onClick={this.handleOkInspection}>确定</Button>
|
|
3443
3442
|
]}>
|
|
3444
|
-
<div
|
|
3443
|
+
<div className="inspection">
|
|
3445
3444
|
<div>摄像头设备:</div>
|
|
3446
3445
|
{camera}
|
|
3447
3446
|
<div>麦克风设备:</div>
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
font-weight: bold;
|
|
43
43
|
height: 170px;
|
|
44
44
|
position: relative;
|
|
45
|
-
background:
|
|
45
|
+
background: rgba(0, 0, 0, 0.65);
|
|
46
46
|
margin-bottom: 20px;
|
|
47
47
|
border-radius: 6px;
|
|
48
48
|
}
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
.video{
|
|
167
167
|
width: 100%;
|
|
168
168
|
height: 100%;
|
|
169
|
-
background:
|
|
169
|
+
background: rgba(0, 0, 0, 0.65);
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
172
|
}
|