ucservice 2.7.8 → 2.7.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/dist/ucservice.common.js +69 -0
- package/dist/ucservice.common.js.gz +0 -0
- package/dist/ucservice.common.js.map +1 -1
- package/dist/ucservice.umd.js +69 -0
- 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/package.json +1 -1
package/dist/ucservice.umd.js
CHANGED
|
@@ -31310,6 +31310,51 @@ let video = {
|
|
|
31310
31310
|
}
|
|
31311
31311
|
}
|
|
31312
31312
|
},
|
|
31313
|
+
getVmmpVideoListNet: {
|
|
31314
|
+
//三方接入设备列表
|
|
31315
|
+
url: '/scooper-video/data/facility/queryFacilityList',
|
|
31316
|
+
method: 'GET',
|
|
31317
|
+
requestParam: {
|
|
31318
|
+
search_data: '',
|
|
31319
|
+
current: 1,
|
|
31320
|
+
size: 10,
|
|
31321
|
+
parentid: 0 //0
|
|
31322
|
+
|
|
31323
|
+
},
|
|
31324
|
+
responseParam: {
|
|
31325
|
+
code: '',
|
|
31326
|
+
//返回结果状态码
|
|
31327
|
+
message: '',
|
|
31328
|
+
systemTime: '',
|
|
31329
|
+
//yyyy-MM-dd HH:mm:ss
|
|
31330
|
+
data: {
|
|
31331
|
+
total: 100,
|
|
31332
|
+
//总记录数
|
|
31333
|
+
list: [{
|
|
31334
|
+
devId: '',
|
|
31335
|
+
//设备id
|
|
31336
|
+
id: '',
|
|
31337
|
+
//数据id
|
|
31338
|
+
ipcType: '',
|
|
31339
|
+
//设备类型
|
|
31340
|
+
isActive: '',
|
|
31341
|
+
//是否激活
|
|
31342
|
+
name: '',
|
|
31343
|
+
//设备名称
|
|
31344
|
+
parentId: '',
|
|
31345
|
+
//父节点id
|
|
31346
|
+
orgCode: '',
|
|
31347
|
+
//组织机构编码
|
|
31348
|
+
parental: '',
|
|
31349
|
+
//是否有子节点 0-没有(设备),1-有(目录节点)
|
|
31350
|
+
sort: '',
|
|
31351
|
+
//排序号
|
|
31352
|
+
status: '' //设备状态 2:空闲/离线 1:在线
|
|
31353
|
+
|
|
31354
|
+
}]
|
|
31355
|
+
}
|
|
31356
|
+
}
|
|
31357
|
+
},
|
|
31313
31358
|
videoStatusMQNet: function (accId) {
|
|
31314
31359
|
//视频通话状态通知
|
|
31315
31360
|
return {
|
|
@@ -33393,6 +33438,30 @@ const videoOp = sip => {
|
|
|
33393
33438
|
}, '', net.method);
|
|
33394
33439
|
});
|
|
33395
33440
|
},
|
|
33441
|
+
vmmpVList: function (param) {
|
|
33442
|
+
let net = video_net_url.getVmmpVideoListNet;
|
|
33443
|
+
let urlParamString = '';
|
|
33444
|
+
|
|
33445
|
+
if (net.paramOnUrl) {
|
|
33446
|
+
net.paramOnUrl.forEach(key => {
|
|
33447
|
+
urlParamString && (urlParamString += '&');
|
|
33448
|
+
urlParamString += `${key}=${param[key]}`;
|
|
33449
|
+
delete param[key];
|
|
33450
|
+
});
|
|
33451
|
+
}
|
|
33452
|
+
|
|
33453
|
+
return new Promise((resolve, reject) => {
|
|
33454
|
+
loadJson(server_ + net.url + (urlParamString ? '?' + urlParamString : ''), { ...param
|
|
33455
|
+
}, function (ret) {
|
|
33456
|
+
if (ret.code == 0) {
|
|
33457
|
+
resolve(ret);
|
|
33458
|
+
} else {
|
|
33459
|
+
console.log("获取vmmp设备列表失败", ret.code);
|
|
33460
|
+
reject(ret.code);
|
|
33461
|
+
}
|
|
33462
|
+
}, '', net.method);
|
|
33463
|
+
});
|
|
33464
|
+
},
|
|
33396
33465
|
call: function (param) {
|
|
33397
33466
|
let net = video_net_url.callVideoNet;
|
|
33398
33467
|
return new Promise((resolve, reject) => {
|
package/dist/ucservice.umd.js.gz
CHANGED
|
Binary file
|