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.common.js
CHANGED
|
@@ -31301,6 +31301,51 @@ let video = {
|
|
|
31301
31301
|
}
|
|
31302
31302
|
}
|
|
31303
31303
|
},
|
|
31304
|
+
getVmmpVideoListNet: {
|
|
31305
|
+
//三方接入设备列表
|
|
31306
|
+
url: '/scooper-video/data/facility/queryFacilityList',
|
|
31307
|
+
method: 'GET',
|
|
31308
|
+
requestParam: {
|
|
31309
|
+
search_data: '',
|
|
31310
|
+
current: 1,
|
|
31311
|
+
size: 10,
|
|
31312
|
+
parentid: 0 //0
|
|
31313
|
+
|
|
31314
|
+
},
|
|
31315
|
+
responseParam: {
|
|
31316
|
+
code: '',
|
|
31317
|
+
//返回结果状态码
|
|
31318
|
+
message: '',
|
|
31319
|
+
systemTime: '',
|
|
31320
|
+
//yyyy-MM-dd HH:mm:ss
|
|
31321
|
+
data: {
|
|
31322
|
+
total: 100,
|
|
31323
|
+
//总记录数
|
|
31324
|
+
list: [{
|
|
31325
|
+
devId: '',
|
|
31326
|
+
//设备id
|
|
31327
|
+
id: '',
|
|
31328
|
+
//数据id
|
|
31329
|
+
ipcType: '',
|
|
31330
|
+
//设备类型
|
|
31331
|
+
isActive: '',
|
|
31332
|
+
//是否激活
|
|
31333
|
+
name: '',
|
|
31334
|
+
//设备名称
|
|
31335
|
+
parentId: '',
|
|
31336
|
+
//父节点id
|
|
31337
|
+
orgCode: '',
|
|
31338
|
+
//组织机构编码
|
|
31339
|
+
parental: '',
|
|
31340
|
+
//是否有子节点 0-没有(设备),1-有(目录节点)
|
|
31341
|
+
sort: '',
|
|
31342
|
+
//排序号
|
|
31343
|
+
status: '' //设备状态 2:空闲/离线 1:在线
|
|
31344
|
+
|
|
31345
|
+
}]
|
|
31346
|
+
}
|
|
31347
|
+
}
|
|
31348
|
+
},
|
|
31304
31349
|
videoStatusMQNet: function (accId) {
|
|
31305
31350
|
//视频通话状态通知
|
|
31306
31351
|
return {
|
|
@@ -33384,6 +33429,30 @@ const videoOp = sip => {
|
|
|
33384
33429
|
}, '', net.method);
|
|
33385
33430
|
});
|
|
33386
33431
|
},
|
|
33432
|
+
vmmpVList: function (param) {
|
|
33433
|
+
let net = video_net_url.getVmmpVideoListNet;
|
|
33434
|
+
let urlParamString = '';
|
|
33435
|
+
|
|
33436
|
+
if (net.paramOnUrl) {
|
|
33437
|
+
net.paramOnUrl.forEach(key => {
|
|
33438
|
+
urlParamString && (urlParamString += '&');
|
|
33439
|
+
urlParamString += `${key}=${param[key]}`;
|
|
33440
|
+
delete param[key];
|
|
33441
|
+
});
|
|
33442
|
+
}
|
|
33443
|
+
|
|
33444
|
+
return new Promise((resolve, reject) => {
|
|
33445
|
+
loadJson(server_ + net.url + (urlParamString ? '?' + urlParamString : ''), { ...param
|
|
33446
|
+
}, function (ret) {
|
|
33447
|
+
if (ret.code == 0) {
|
|
33448
|
+
resolve(ret);
|
|
33449
|
+
} else {
|
|
33450
|
+
console.log("获取vmmp设备列表失败", ret.code);
|
|
33451
|
+
reject(ret.code);
|
|
33452
|
+
}
|
|
33453
|
+
}, '', net.method);
|
|
33454
|
+
});
|
|
33455
|
+
},
|
|
33387
33456
|
call: function (param) {
|
|
33388
33457
|
let net = video_net_url.callVideoNet;
|
|
33389
33458
|
return new Promise((resolve, reject) => {
|
|
Binary file
|