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.
- package/dist/ucservice.common.js +99 -9
- package/dist/ucservice.common.js.gz +0 -0
- package/dist/ucservice.common.js.map +1 -1
- package/dist/ucservice.umd.js +99 -9
- package/dist/ucservice.umd.js.gz +0 -0
- package/dist/ucservice.umd.js.map +1 -1
- package/dist/ucservice.umd.min.js +1 -1
- package/dist/ucservice.umd.min.js.gz +0 -0
- package/dist/ucservice.umd.min.js.map +1 -1
- package/index.js +26 -0
- package/package.json +1 -1
- package/src/net_url/record_url.js +46 -1
- package/src/scooper.video.js +16 -9
package/dist/ucservice.common.js
CHANGED
|
@@ -12456,6 +12456,16 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
12456
12456
|
});
|
|
12457
12457
|
me._opts.windows = num;
|
|
12458
12458
|
me._opts.extra = extra; //设置旋转了的视频样式
|
|
12459
|
+
|
|
12460
|
+
let videoLi = document.getElementById('videoRef').querySelectorAll('li');
|
|
12461
|
+
me.VIDEO_DATA.forEach((item, index) => {
|
|
12462
|
+
let tel = item.video;
|
|
12463
|
+
|
|
12464
|
+
if (!tel && item.id) {
|
|
12465
|
+
videoLi[index].querySelector('video').style = '';
|
|
12466
|
+
videoLi[index].querySelector('.rotate-btn').setAttribute('rotate-index', 0);
|
|
12467
|
+
}
|
|
12468
|
+
});
|
|
12459
12469
|
},
|
|
12460
12470
|
|
|
12461
12471
|
/**
|
|
@@ -13971,14 +13981,14 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
13971
13981
|
//视频横向留白
|
|
13972
13982
|
$(video).css('width', liHeight);
|
|
13973
13983
|
$(video).css('height', 'auto');
|
|
13974
|
-
$(video).css('left', 'calc(' +
|
|
13975
|
-
$(video).css('top', 'calc(-' +
|
|
13984
|
+
$(video).css('left', 'calc(' + liWidth + 'px / 2' + ' - ' + liHeight + 'px / 2)');
|
|
13985
|
+
$(video).css('top', 'calc(-' + videoHeight * liHeight / videoWidth / 2 + 'px + ' + liHeight + 'px / 2)');
|
|
13976
13986
|
} else {
|
|
13977
13987
|
//视频纵向留白
|
|
13978
13988
|
$(video).css('width', 'auto');
|
|
13979
13989
|
$(video).css('height', liWidth);
|
|
13980
|
-
$(video).css('left', 'calc(' + liWidth
|
|
13981
|
-
$(video).css('top', 'calc(
|
|
13990
|
+
$(video).css('left', 'calc(-' + videoWidth * liWidth / videoHeight / 2 + 'px + ' + liWidth + 'px / 2)');
|
|
13991
|
+
$(video).css('top', 'calc(' + liHeight + 'px / 2' + ' - ' + liWidth + 'px / 2)');
|
|
13982
13992
|
}
|
|
13983
13993
|
} else if (rotateIndex == 2) {
|
|
13984
13994
|
//2
|
|
@@ -14003,14 +14013,14 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
14003
14013
|
//视频横向留白
|
|
14004
14014
|
$(video).css('width', liHeight);
|
|
14005
14015
|
$(video).css('height', 'auto');
|
|
14006
|
-
$(video).css('left', 'calc(' +
|
|
14007
|
-
$(video).css('top', 'calc(-' +
|
|
14016
|
+
$(video).css('left', 'calc(' + liWidth + 'px / 2' + ' - ' + liHeight + 'px / 2)');
|
|
14017
|
+
$(video).css('top', 'calc(-' + videoHeight * liHeight / videoWidth / 2 + 'px + ' + liHeight + 'px / 2)');
|
|
14008
14018
|
} else {
|
|
14009
14019
|
//视频纵向留白
|
|
14010
14020
|
$(video).css('width', 'auto');
|
|
14011
14021
|
$(video).css('height', liWidth);
|
|
14012
|
-
$(video).css('left', 'calc(' + liWidth
|
|
14013
|
-
$(video).css('top', 'calc(
|
|
14022
|
+
$(video).css('left', 'calc(-' + videoWidth * liWidth / videoHeight / 2 + 'px + ' + liWidth + 'px / 2)');
|
|
14023
|
+
$(video).css('top', 'calc(' + liHeight + 'px / 2' + ' - ' + liWidth + 'px / 2)');
|
|
14014
14024
|
}
|
|
14015
14025
|
}
|
|
14016
14026
|
},
|
|
@@ -29776,12 +29786,64 @@ let record = {
|
|
|
29776
29786
|
}
|
|
29777
29787
|
}
|
|
29778
29788
|
},
|
|
29789
|
+
queryCallRecordNet: {
|
|
29790
|
+
//获取通话录音录像
|
|
29791
|
+
url: '/scooper-record/data/call/queryCallRecords',
|
|
29792
|
+
method: 'GET',
|
|
29793
|
+
requestParam: {
|
|
29794
|
+
token: '',
|
|
29795
|
+
timeMin: '',
|
|
29796
|
+
timeMax: '',
|
|
29797
|
+
pageNumber: 1,
|
|
29798
|
+
fileType: 0,
|
|
29799
|
+
//0:录音,1:录像
|
|
29800
|
+
pageSize: 10
|
|
29801
|
+
},
|
|
29802
|
+
responseParam: {
|
|
29803
|
+
code: '',
|
|
29804
|
+
//返回结果状态码
|
|
29805
|
+
message: '',
|
|
29806
|
+
systemTime: '',
|
|
29807
|
+
//yyyy-MM-dd HH:mm:ss
|
|
29808
|
+
data: {
|
|
29809
|
+
pageNumber: 1,
|
|
29810
|
+
pageSize: 10,
|
|
29811
|
+
total: 1884,
|
|
29812
|
+
list: []
|
|
29813
|
+
}
|
|
29814
|
+
}
|
|
29815
|
+
},
|
|
29816
|
+
queryMeetingRecordNet: {
|
|
29817
|
+
//获取会议录音录像
|
|
29818
|
+
url: '/scooper-record/data/meeting/queryMeetingRecords',
|
|
29819
|
+
method: 'GET',
|
|
29820
|
+
requestParam: {
|
|
29821
|
+
token: '',
|
|
29822
|
+
timeMin: '',
|
|
29823
|
+
timeMax: '',
|
|
29824
|
+
pageNumber: 1,
|
|
29825
|
+
pageSize: 10
|
|
29826
|
+
},
|
|
29827
|
+
responseParam: {
|
|
29828
|
+
code: '',
|
|
29829
|
+
//返回结果状态码
|
|
29830
|
+
message: '',
|
|
29831
|
+
systemTime: '',
|
|
29832
|
+
//yyyy-MM-dd HH:mm:ss
|
|
29833
|
+
data: {
|
|
29834
|
+
pageNumber: 1,
|
|
29835
|
+
pageSize: 10,
|
|
29836
|
+
total: 1884,
|
|
29837
|
+
list: []
|
|
29838
|
+
}
|
|
29839
|
+
}
|
|
29840
|
+
},
|
|
29779
29841
|
queryVideoNet: {
|
|
29780
29842
|
//分页查询录像 (通话录像/会议录像)
|
|
29781
29843
|
|
|
29782
29844
|
/***录像查询接口
|
|
29783
29845
|
**/
|
|
29784
|
-
url: '/scooper-record/data/
|
|
29846
|
+
url: '/scooper-record/data/video/queryVideo',
|
|
29785
29847
|
requestParam: {
|
|
29786
29848
|
token: '',
|
|
29787
29849
|
recType: '',
|
|
@@ -31729,6 +31791,34 @@ const recordOp = sip => {
|
|
|
31729
31791
|
}, '', net.method);
|
|
31730
31792
|
});
|
|
31731
31793
|
},
|
|
31794
|
+
callRecordListPage: function (param) {
|
|
31795
|
+
let net = record_url.queryCallRecordNet;
|
|
31796
|
+
return new Promise((resolve, reject) => {
|
|
31797
|
+
loadJson(server_ + net.url, { ...param
|
|
31798
|
+
}, function (ret) {
|
|
31799
|
+
if (ret.code == 0) {
|
|
31800
|
+
resolve(ret);
|
|
31801
|
+
} else {
|
|
31802
|
+
console.log("分页查询通话录音录像表失败", ret.code);
|
|
31803
|
+
reject(ret.code);
|
|
31804
|
+
}
|
|
31805
|
+
}, '', net.method);
|
|
31806
|
+
});
|
|
31807
|
+
},
|
|
31808
|
+
meetRecordListPage: function (param) {
|
|
31809
|
+
let net = record_url.queryMeetingRecordNet;
|
|
31810
|
+
return new Promise((resolve, reject) => {
|
|
31811
|
+
loadJson(server_ + net.url, { ...param
|
|
31812
|
+
}, function (ret) {
|
|
31813
|
+
if (ret.code == 0) {
|
|
31814
|
+
resolve(ret);
|
|
31815
|
+
} else {
|
|
31816
|
+
console.log("分页查询会议录音录像表失败", ret.code);
|
|
31817
|
+
reject(ret.code);
|
|
31818
|
+
}
|
|
31819
|
+
}, '', net.method);
|
|
31820
|
+
});
|
|
31821
|
+
},
|
|
31732
31822
|
notifyPageList: function (param) {
|
|
31733
31823
|
let net = record_url.queryRecordNotifyNet;
|
|
31734
31824
|
return new Promise((resolve, reject) => {
|
|
Binary file
|