ucservice 1.4.5 → 1.4.8

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.
@@ -12465,6 +12465,16 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
12465
12465
  });
12466
12466
  me._opts.windows = num;
12467
12467
  me._opts.extra = extra; //设置旋转了的视频样式
12468
+
12469
+ let videoLi = document.getElementById('videoRef').querySelectorAll('li');
12470
+ me.VIDEO_DATA.forEach((item, index) => {
12471
+ let tel = item.video;
12472
+
12473
+ if (!tel && item.id) {
12474
+ videoLi[index].querySelector('video').style = '';
12475
+ videoLi[index].querySelector('.rotate-btn').setAttribute('rotate-index', 0);
12476
+ }
12477
+ });
12468
12478
  },
12469
12479
 
12470
12480
  /**
@@ -13980,14 +13990,14 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
13980
13990
  //视频横向留白
13981
13991
  $(video).css('width', liHeight);
13982
13992
  $(video).css('height', 'auto');
13983
- $(video).css('left', 'calc(' + liHeight + 'px / 2' + ' - ' + liWidth + 'px / 2)');
13984
- $(video).css('top', 'calc(-' + liWidth / 2 + ' / ' + vHeight + ' * ' + vWidth + 'px + ' + liWidth + 'px / 2)');
13993
+ $(video).css('left', 'calc(' + liWidth + 'px / 2' + ' - ' + liHeight + 'px / 2)');
13994
+ $(video).css('top', 'calc(-' + videoHeight * liHeight / videoWidth / 2 + 'px + ' + liHeight + 'px / 2)');
13985
13995
  } else {
13986
13996
  //视频纵向留白
13987
13997
  $(video).css('width', 'auto');
13988
13998
  $(video).css('height', liWidth);
13989
- $(video).css('left', 'calc(' + liWidth + 'px / 2' + ' - ' + liHeight + 'px / 2)');
13990
- $(video).css('top', 'calc(-' + liHeight / 2 + ' / ' + vWidth + ' * ' + vHeight + 'px + ' + liHeight + 'px / 2)');
13999
+ $(video).css('left', 'calc(-' + videoWidth * liWidth / videoHeight / 2 + 'px + ' + liWidth + 'px / 2)');
14000
+ $(video).css('top', 'calc(' + liHeight + 'px / 2' + ' - ' + liWidth + 'px / 2)');
13991
14001
  }
13992
14002
  } else if (rotateIndex == 2) {
13993
14003
  //2
@@ -14012,14 +14022,14 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
14012
14022
  //视频横向留白
14013
14023
  $(video).css('width', liHeight);
14014
14024
  $(video).css('height', 'auto');
14015
- $(video).css('left', 'calc(' + liHeight + 'px / 2' + ' - ' + liWidth + 'px / 2)');
14016
- $(video).css('top', 'calc(-' + liWidth / 2 + ' / ' + vHeight + ' * ' + vWidth + 'px + ' + liWidth + 'px / 2)');
14025
+ $(video).css('left', 'calc(' + liWidth + 'px / 2' + ' - ' + liHeight + 'px / 2)');
14026
+ $(video).css('top', 'calc(-' + videoHeight * liHeight / videoWidth / 2 + 'px + ' + liHeight + 'px / 2)');
14017
14027
  } else {
14018
14028
  //视频纵向留白
14019
14029
  $(video).css('width', 'auto');
14020
14030
  $(video).css('height', liWidth);
14021
- $(video).css('left', 'calc(' + liWidth + 'px / 2' + ' - ' + liHeight + 'px / 2)');
14022
- $(video).css('top', 'calc(-' + liHeight / 2 + ' / ' + vWidth + ' * ' + vHeight + 'px + ' + liHeight + 'px / 2)');
14031
+ $(video).css('left', 'calc(-' + videoWidth * liWidth / videoHeight / 2 + 'px + ' + liWidth + 'px / 2)');
14032
+ $(video).css('top', 'calc(' + liHeight + 'px / 2' + ' - ' + liWidth + 'px / 2)');
14023
14033
  }
14024
14034
  }
14025
14035
  },
@@ -29785,12 +29795,64 @@ let record = {
29785
29795
  }
29786
29796
  }
29787
29797
  },
29798
+ queryCallRecordNet: {
29799
+ //获取通话录音录像
29800
+ url: '/scooper-record/data/call/queryCallRecords',
29801
+ method: 'GET',
29802
+ requestParam: {
29803
+ token: '',
29804
+ timeMin: '',
29805
+ timeMax: '',
29806
+ pageNumber: 1,
29807
+ fileType: 0,
29808
+ //0:录音,1:录像
29809
+ pageSize: 10
29810
+ },
29811
+ responseParam: {
29812
+ code: '',
29813
+ //返回结果状态码
29814
+ message: '',
29815
+ systemTime: '',
29816
+ //yyyy-MM-dd HH:mm:ss
29817
+ data: {
29818
+ pageNumber: 1,
29819
+ pageSize: 10,
29820
+ total: 1884,
29821
+ list: []
29822
+ }
29823
+ }
29824
+ },
29825
+ queryMeetingRecordNet: {
29826
+ //获取会议录音录像
29827
+ url: '/scooper-record/data/meeting/queryMeetingRecords',
29828
+ method: 'GET',
29829
+ requestParam: {
29830
+ token: '',
29831
+ timeMin: '',
29832
+ timeMax: '',
29833
+ pageNumber: 1,
29834
+ pageSize: 10
29835
+ },
29836
+ responseParam: {
29837
+ code: '',
29838
+ //返回结果状态码
29839
+ message: '',
29840
+ systemTime: '',
29841
+ //yyyy-MM-dd HH:mm:ss
29842
+ data: {
29843
+ pageNumber: 1,
29844
+ pageSize: 10,
29845
+ total: 1884,
29846
+ list: []
29847
+ }
29848
+ }
29849
+ },
29788
29850
  queryVideoNet: {
29789
29851
  //分页查询录像 (通话录像/会议录像)
29790
29852
 
29791
29853
  /***录像查询接口
29792
29854
  **/
29793
- url: '/scooper-record/data/record/queryRecord',
29855
+ url: '/scooper-record/data/video/queryVideo',
29794
29856
  requestParam: {
29795
29857
  token: '',
29796
29858
  recType: '',
@@ -31738,6 +31800,34 @@ const recordOp = sip => {
31738
31800
  }, '', net.method);
31739
31801
  });
31740
31802
  },
31803
+ callRecordListPage: function (param) {
31804
+ let net = record_url.queryCallRecordNet;
31805
+ return new Promise((resolve, reject) => {
31806
+ loadJson(server_ + net.url, { ...param
31807
+ }, function (ret) {
31808
+ if (ret.code == 0) {
31809
+ resolve(ret);
31810
+ } else {
31811
+ console.log("分页查询通话录音录像表失败", ret.code);
31812
+ reject(ret.code);
31813
+ }
31814
+ }, '', net.method);
31815
+ });
31816
+ },
31817
+ meetRecordListPage: function (param) {
31818
+ let net = record_url.queryMeetingRecordNet;
31819
+ return new Promise((resolve, reject) => {
31820
+ loadJson(server_ + net.url, { ...param
31821
+ }, function (ret) {
31822
+ if (ret.code == 0) {
31823
+ resolve(ret);
31824
+ } else {
31825
+ console.log("分页查询会议录音录像表失败", ret.code);
31826
+ reject(ret.code);
31827
+ }
31828
+ }, '', net.method);
31829
+ });
31830
+ },
31741
31831
  notifyPageList: function (param) {
31742
31832
  let net = record_url.queryRecordNotifyNet;
31743
31833
  return new Promise((resolve, reject) => {
Binary file