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.
- package/dist/ucservice.common.js +101 -21
- package/dist/ucservice.common.js.gz +0 -0
- package/dist/ucservice.common.js.map +1 -1
- package/dist/ucservice.umd.js +101 -21
- 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 +18 -18
package/dist/ucservice.umd.js
CHANGED
|
@@ -13973,21 +13973,21 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
13973
13973
|
$(video).attr('class', 'video-box');
|
|
13974
13974
|
video.style.position = 'absolute';
|
|
13975
13975
|
video.style.transform = 'rotate(270deg)';
|
|
13976
|
-
$(video).css('max-height', '');
|
|
13977
|
-
$(video).css('max-width', '');
|
|
13976
|
+
$(video).css('max-height', 'none');
|
|
13977
|
+
$(video).css('max-width', 'none');
|
|
13978
13978
|
|
|
13979
|
-
if (
|
|
13979
|
+
if (videoHeight * liHeight / videoWidth < liWidth) {
|
|
13980
13980
|
//视频横向留白
|
|
13981
|
-
$(video).css('width', 'auto');
|
|
13982
|
-
$(video).css('height', liWidth);
|
|
13983
|
-
$(video).css('left', 'calc(' + liHeight + 'px / 2' + ' - ' + liWidth + 'px / 2)');
|
|
13984
|
-
$(video).css('top', 'calc(-' + liWidth / 2 + ' / ' + vHeight + ' * ' + vWidth + 'px + ' + liWidth + 'px / 2)');
|
|
13985
|
-
} else {
|
|
13986
|
-
//视频纵向留白
|
|
13987
13981
|
$(video).css('width', liHeight);
|
|
13988
13982
|
$(video).css('height', 'auto');
|
|
13989
13983
|
$(video).css('left', 'calc(' + liWidth + 'px / 2' + ' - ' + liHeight + 'px / 2)');
|
|
13990
|
-
$(video).css('top', 'calc(-' + liHeight /
|
|
13984
|
+
$(video).css('top', 'calc(-' + videoHeight * liHeight / videoWidth / 2 + 'px + ' + liHeight + 'px / 2)');
|
|
13985
|
+
} else {
|
|
13986
|
+
//视频纵向留白
|
|
13987
|
+
$(video).css('width', 'auto');
|
|
13988
|
+
$(video).css('height', liWidth);
|
|
13989
|
+
$(video).css('left', 'calc(-' + videoWidth * liWidth / videoHeight / 2 + 'px + ' + liWidth + 'px / 2)');
|
|
13990
|
+
$(video).css('top', 'calc(' + liHeight + 'px / 2' + ' - ' + liWidth + 'px / 2)');
|
|
13991
13991
|
}
|
|
13992
13992
|
} else if (rotateIndex == 2) {
|
|
13993
13993
|
//2
|
|
@@ -14005,21 +14005,21 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
14005
14005
|
$(video).attr('class', 'video-box');
|
|
14006
14006
|
video.style.position = 'absolute';
|
|
14007
14007
|
video.style.transform = 'rotate(90deg)';
|
|
14008
|
-
$(video).css('max-height', '');
|
|
14009
|
-
$(video).css('max-width', '');
|
|
14008
|
+
$(video).css('max-height', 'none');
|
|
14009
|
+
$(video).css('max-width', 'none');
|
|
14010
14010
|
|
|
14011
|
-
if (
|
|
14011
|
+
if (videoHeight * liHeight / videoWidth < liWidth) {
|
|
14012
14012
|
//视频横向留白
|
|
14013
|
-
$(video).css('width', 'auto');
|
|
14014
|
-
$(video).css('height', liWidth);
|
|
14015
|
-
$(video).css('left', 'calc(' + liHeight + 'px / 2' + ' - ' + liWidth + 'px / 2)');
|
|
14016
|
-
$(video).css('top', 'calc(-' + liWidth / 2 + ' / ' + vHeight + ' * ' + vWidth + 'px + ' + liWidth + 'px / 2)');
|
|
14017
|
-
} else {
|
|
14018
|
-
//视频纵向留白
|
|
14019
14013
|
$(video).css('width', liHeight);
|
|
14020
14014
|
$(video).css('height', 'auto');
|
|
14021
14015
|
$(video).css('left', 'calc(' + liWidth + 'px / 2' + ' - ' + liHeight + 'px / 2)');
|
|
14022
|
-
$(video).css('top', 'calc(-' + liHeight /
|
|
14016
|
+
$(video).css('top', 'calc(-' + videoHeight * liHeight / videoWidth / 2 + 'px + ' + liHeight + 'px / 2)');
|
|
14017
|
+
} else {
|
|
14018
|
+
//视频纵向留白
|
|
14019
|
+
$(video).css('width', 'auto');
|
|
14020
|
+
$(video).css('height', liWidth);
|
|
14021
|
+
$(video).css('left', 'calc(-' + videoWidth * liWidth / videoHeight / 2 + 'px + ' + liWidth + 'px / 2)');
|
|
14022
|
+
$(video).css('top', 'calc(' + liHeight + 'px / 2' + ' - ' + liWidth + 'px / 2)');
|
|
14023
14023
|
}
|
|
14024
14024
|
}
|
|
14025
14025
|
},
|
|
@@ -29785,12 +29785,64 @@ let record = {
|
|
|
29785
29785
|
}
|
|
29786
29786
|
}
|
|
29787
29787
|
},
|
|
29788
|
+
queryCallRecordNet: {
|
|
29789
|
+
//获取通话录音录像
|
|
29790
|
+
url: '/scooper-record/data/call/queryCallRecords',
|
|
29791
|
+
method: 'GET',
|
|
29792
|
+
requestParam: {
|
|
29793
|
+
token: '',
|
|
29794
|
+
timeMin: '',
|
|
29795
|
+
timeMax: '',
|
|
29796
|
+
pageNumber: 1,
|
|
29797
|
+
fileType: 0,
|
|
29798
|
+
//0:录音,1:录像
|
|
29799
|
+
pageSize: 10
|
|
29800
|
+
},
|
|
29801
|
+
responseParam: {
|
|
29802
|
+
code: '',
|
|
29803
|
+
//返回结果状态码
|
|
29804
|
+
message: '',
|
|
29805
|
+
systemTime: '',
|
|
29806
|
+
//yyyy-MM-dd HH:mm:ss
|
|
29807
|
+
data: {
|
|
29808
|
+
pageNumber: 1,
|
|
29809
|
+
pageSize: 10,
|
|
29810
|
+
total: 1884,
|
|
29811
|
+
list: []
|
|
29812
|
+
}
|
|
29813
|
+
}
|
|
29814
|
+
},
|
|
29815
|
+
queryMeetingRecordNet: {
|
|
29816
|
+
//获取会议录音录像
|
|
29817
|
+
url: '/scooper-record/data/meeting/queryMeetingRecords',
|
|
29818
|
+
method: 'GET',
|
|
29819
|
+
requestParam: {
|
|
29820
|
+
token: '',
|
|
29821
|
+
timeMin: '',
|
|
29822
|
+
timeMax: '',
|
|
29823
|
+
pageNumber: 1,
|
|
29824
|
+
pageSize: 10
|
|
29825
|
+
},
|
|
29826
|
+
responseParam: {
|
|
29827
|
+
code: '',
|
|
29828
|
+
//返回结果状态码
|
|
29829
|
+
message: '',
|
|
29830
|
+
systemTime: '',
|
|
29831
|
+
//yyyy-MM-dd HH:mm:ss
|
|
29832
|
+
data: {
|
|
29833
|
+
pageNumber: 1,
|
|
29834
|
+
pageSize: 10,
|
|
29835
|
+
total: 1884,
|
|
29836
|
+
list: []
|
|
29837
|
+
}
|
|
29838
|
+
}
|
|
29839
|
+
},
|
|
29788
29840
|
queryVideoNet: {
|
|
29789
29841
|
//分页查询录像 (通话录像/会议录像)
|
|
29790
29842
|
|
|
29791
29843
|
/***录像查询接口
|
|
29792
29844
|
**/
|
|
29793
|
-
url: '/scooper-record/data/
|
|
29845
|
+
url: '/scooper-record/data/video/queryVideo',
|
|
29794
29846
|
requestParam: {
|
|
29795
29847
|
token: '',
|
|
29796
29848
|
recType: '',
|
|
@@ -31738,6 +31790,34 @@ const recordOp = sip => {
|
|
|
31738
31790
|
}, '', net.method);
|
|
31739
31791
|
});
|
|
31740
31792
|
},
|
|
31793
|
+
callRecordListPage: function (param) {
|
|
31794
|
+
let net = record_url.queryCallRecordNet;
|
|
31795
|
+
return new Promise((resolve, reject) => {
|
|
31796
|
+
loadJson(server_ + net.url, { ...param
|
|
31797
|
+
}, function (ret) {
|
|
31798
|
+
if (ret.code == 0) {
|
|
31799
|
+
resolve(ret);
|
|
31800
|
+
} else {
|
|
31801
|
+
console.log("分页查询通话录音录像表失败", ret.code);
|
|
31802
|
+
reject(ret.code);
|
|
31803
|
+
}
|
|
31804
|
+
}, '', net.method);
|
|
31805
|
+
});
|
|
31806
|
+
},
|
|
31807
|
+
meetRecordListPage: function (param) {
|
|
31808
|
+
let net = record_url.queryMeetingRecordNet;
|
|
31809
|
+
return new Promise((resolve, reject) => {
|
|
31810
|
+
loadJson(server_ + net.url, { ...param
|
|
31811
|
+
}, function (ret) {
|
|
31812
|
+
if (ret.code == 0) {
|
|
31813
|
+
resolve(ret);
|
|
31814
|
+
} else {
|
|
31815
|
+
console.log("分页查询会议录音录像表失败", ret.code);
|
|
31816
|
+
reject(ret.code);
|
|
31817
|
+
}
|
|
31818
|
+
}, '', net.method);
|
|
31819
|
+
});
|
|
31820
|
+
},
|
|
31741
31821
|
notifyPageList: function (param) {
|
|
31742
31822
|
let net = record_url.queryRecordNotifyNet;
|
|
31743
31823
|
return new Promise((resolve, reject) => {
|
package/dist/ucservice.umd.js.gz
CHANGED
|
Binary file
|