ucservice 1.4.4 → 1.4.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.
@@ -13964,21 +13964,21 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
13964
13964
  $(video).attr('class', 'video-box');
13965
13965
  video.style.position = 'absolute';
13966
13966
  video.style.transform = 'rotate(270deg)';
13967
- $(video).css('max-height', '');
13968
- $(video).css('max-width', '');
13967
+ $(video).css('max-height', 'none');
13968
+ $(video).css('max-width', 'none');
13969
13969
 
13970
- if (videoWidth / videoHeight > liWidth / liHeight) {
13970
+ if (videoHeight * liHeight / videoWidth < liWidth) {
13971
13971
  //视频横向留白
13972
- $(video).css('width', 'auto');
13973
- $(video).css('height', liWidth);
13974
- $(video).css('left', 'calc(' + liHeight + 'px / 2' + ' - ' + liWidth + 'px / 2)');
13975
- $(video).css('top', 'calc(-' + liWidth / 2 + ' / ' + vHeight + ' * ' + vWidth + 'px + ' + liWidth + 'px / 2)');
13976
- } else {
13977
- //视频纵向留白
13978
13972
  $(video).css('width', liHeight);
13979
13973
  $(video).css('height', 'auto');
13980
13974
  $(video).css('left', 'calc(' + liWidth + 'px / 2' + ' - ' + liHeight + 'px / 2)');
13981
- $(video).css('top', 'calc(-' + liHeight / 2 + ' / ' + vWidth + ' * ' + vHeight + 'px + ' + liHeight + 'px / 2)');
13975
+ $(video).css('top', 'calc(-' + videoHeight * liHeight / videoWidth / 2 + 'px + ' + liHeight + 'px / 2)');
13976
+ } else {
13977
+ //视频纵向留白
13978
+ $(video).css('width', 'auto');
13979
+ $(video).css('height', liWidth);
13980
+ $(video).css('left', 'calc(-' + videoWidth * liWidth / videoHeight / 2 + 'px + ' + liWidth + 'px / 2)');
13981
+ $(video).css('top', 'calc(' + liHeight + 'px / 2' + ' - ' + liWidth + 'px / 2)');
13982
13982
  }
13983
13983
  } else if (rotateIndex == 2) {
13984
13984
  //2
@@ -13996,21 +13996,21 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
13996
13996
  $(video).attr('class', 'video-box');
13997
13997
  video.style.position = 'absolute';
13998
13998
  video.style.transform = 'rotate(90deg)';
13999
- $(video).css('max-height', '');
14000
- $(video).css('max-width', '');
13999
+ $(video).css('max-height', 'none');
14000
+ $(video).css('max-width', 'none');
14001
14001
 
14002
- if (videoWidth / videoHeight > liWidth / liHeight) {
14002
+ if (videoHeight * liHeight / videoWidth < liWidth) {
14003
14003
  //视频横向留白
14004
- $(video).css('width', 'auto');
14005
- $(video).css('height', liWidth);
14006
- $(video).css('left', 'calc(' + liHeight + 'px / 2' + ' - ' + liWidth + 'px / 2)');
14007
- $(video).css('top', 'calc(-' + liWidth / 2 + ' / ' + vHeight + ' * ' + vWidth + 'px + ' + liWidth + 'px / 2)');
14008
- } else {
14009
- //视频纵向留白
14010
14004
  $(video).css('width', liHeight);
14011
14005
  $(video).css('height', 'auto');
14012
14006
  $(video).css('left', 'calc(' + liWidth + 'px / 2' + ' - ' + liHeight + 'px / 2)');
14013
- $(video).css('top', 'calc(-' + liHeight / 2 + ' / ' + vWidth + ' * ' + vHeight + 'px + ' + liHeight + 'px / 2)');
14007
+ $(video).css('top', 'calc(-' + videoHeight * liHeight / videoWidth / 2 + 'px + ' + liHeight + 'px / 2)');
14008
+ } else {
14009
+ //视频纵向留白
14010
+ $(video).css('width', 'auto');
14011
+ $(video).css('height', liWidth);
14012
+ $(video).css('left', 'calc(-' + videoWidth * liWidth / videoHeight / 2 + 'px + ' + liWidth + 'px / 2)');
14013
+ $(video).css('top', 'calc(' + liHeight + 'px / 2' + ' - ' + liWidth + 'px / 2)');
14014
14014
  }
14015
14015
  }
14016
14016
  },
@@ -29776,12 +29776,64 @@ let record = {
29776
29776
  }
29777
29777
  }
29778
29778
  },
29779
+ queryCallRecordNet: {
29780
+ //获取通话录音录像
29781
+ url: '/scooper-record/data/call/queryCallRecords',
29782
+ method: 'GET',
29783
+ requestParam: {
29784
+ token: '',
29785
+ timeMin: '',
29786
+ timeMax: '',
29787
+ pageNumber: 1,
29788
+ fileType: 0,
29789
+ //0:录音,1:录像
29790
+ pageSize: 10
29791
+ },
29792
+ responseParam: {
29793
+ code: '',
29794
+ //返回结果状态码
29795
+ message: '',
29796
+ systemTime: '',
29797
+ //yyyy-MM-dd HH:mm:ss
29798
+ data: {
29799
+ pageNumber: 1,
29800
+ pageSize: 10,
29801
+ total: 1884,
29802
+ list: []
29803
+ }
29804
+ }
29805
+ },
29806
+ queryMeetingRecordNet: {
29807
+ //获取会议录音录像
29808
+ url: '/scooper-record/data/meeting/queryMeetingRecords',
29809
+ method: 'GET',
29810
+ requestParam: {
29811
+ token: '',
29812
+ timeMin: '',
29813
+ timeMax: '',
29814
+ pageNumber: 1,
29815
+ pageSize: 10
29816
+ },
29817
+ responseParam: {
29818
+ code: '',
29819
+ //返回结果状态码
29820
+ message: '',
29821
+ systemTime: '',
29822
+ //yyyy-MM-dd HH:mm:ss
29823
+ data: {
29824
+ pageNumber: 1,
29825
+ pageSize: 10,
29826
+ total: 1884,
29827
+ list: []
29828
+ }
29829
+ }
29830
+ },
29779
29831
  queryVideoNet: {
29780
29832
  //分页查询录像 (通话录像/会议录像)
29781
29833
 
29782
29834
  /***录像查询接口
29783
29835
  **/
29784
- url: '/scooper-record/data/record/queryRecord',
29836
+ url: '/scooper-record/data/video/queryVideo',
29785
29837
  requestParam: {
29786
29838
  token: '',
29787
29839
  recType: '',
@@ -31729,6 +31781,34 @@ const recordOp = sip => {
31729
31781
  }, '', net.method);
31730
31782
  });
31731
31783
  },
31784
+ callRecordListPage: function (param) {
31785
+ let net = record_url.queryCallRecordNet;
31786
+ return new Promise((resolve, reject) => {
31787
+ loadJson(server_ + net.url, { ...param
31788
+ }, function (ret) {
31789
+ if (ret.code == 0) {
31790
+ resolve(ret);
31791
+ } else {
31792
+ console.log("分页查询通话录音录像表失败", ret.code);
31793
+ reject(ret.code);
31794
+ }
31795
+ }, '', net.method);
31796
+ });
31797
+ },
31798
+ meetRecordListPage: function (param) {
31799
+ let net = record_url.queryMeetingRecordNet;
31800
+ return new Promise((resolve, reject) => {
31801
+ loadJson(server_ + net.url, { ...param
31802
+ }, function (ret) {
31803
+ if (ret.code == 0) {
31804
+ resolve(ret);
31805
+ } else {
31806
+ console.log("分页查询会议录音录像表失败", ret.code);
31807
+ reject(ret.code);
31808
+ }
31809
+ }, '', net.method);
31810
+ });
31811
+ },
31732
31812
  notifyPageList: function (param) {
31733
31813
  let net = record_url.queryRecordNotifyNet;
31734
31814
  return new Promise((resolve, reject) => {
Binary file