react_hsbc_teller 0.5.8 → 0.5.9

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": "0.5.8",
3
+ "version": "0.5.9",
4
4
  "description": "React",
5
5
  "private": false,
6
6
  "main": "lib/hsbc.js",
@@ -23,9 +23,10 @@ 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
25
  import html2canvas from 'html2canvas';
26
+ import axios from 'axios';
26
27
  const LEAVE_TYPE = {
27
- TELLER_EXIT: '1', // 坐席退出
28
- ROOM_DESTROYED: '-1', // 房间异常
28
+ TELLER_EXIT: 1, // 坐席退出
29
+ ROOM_DESTROYED: -1, // 房间异常
29
30
  }
30
31
  let pictureInPictureVideo = ''
31
32
  @injectIntl
@@ -2090,6 +2091,15 @@ class Video extends Component {
2090
2091
  this.setState({
2091
2092
  loading: true,
2092
2093
  })
2094
+ axios.get(this.props.resourcePath + "/beauty/beauty.js")
2095
+ .then(response => this.addToScriptClick()).catch(function (error) {
2096
+ console.log(error);
2097
+ this.roomCallBack(2, '创建房间失败')
2098
+
2099
+ })
2100
+
2101
+ }
2102
+ addToScriptClick=()=>{
2093
2103
  const _dependScripts = [
2094
2104
  // https://counter-web.leimondata.cn:7199
2095
2105
  this.props.resourcePath + "/beauty/beauty.js",
@@ -2920,11 +2930,11 @@ class Video extends Component {
2920
2930
  <label className='labelClass'>{meetingInfo.title}</label>
2921
2931
  </li>
2922
2932
  <li>
2923
- <span>主持人:</span>
2933
+ <span>客户:</span>
2924
2934
  <label className='labelClass'>{meetingInfo.host}</label>
2925
2935
  </li>
2926
2936
  <li>
2927
- <span>参会客户:</span>
2937
+ <span>参会人:</span>
2928
2938
  {customerNameList}
2929
2939
  </li>
2930
2940
  </ul>