ucservice 2.4.2 → 2.4.3
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 +68 -0
- package/dist/ucservice.common.js.gz +0 -0
- package/dist/ucservice.common.js.map +1 -1
- package/dist/ucservice.umd.js +68 -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
|
@@ -31126,6 +31126,50 @@ let video = {
|
|
|
31126
31126
|
data: ''
|
|
31127
31127
|
}
|
|
31128
31128
|
},
|
|
31129
|
+
// 获取设备列表 queryfacilitylist
|
|
31130
|
+
getFacilityListNet: {
|
|
31131
|
+
url: '/scooper-video/data/facility/queryFacilityList',
|
|
31132
|
+
method: 'POST',
|
|
31133
|
+
paramOnUrl: ['token'],
|
|
31134
|
+
requestParam: {
|
|
31135
|
+
token: '',
|
|
31136
|
+
parentId: '' //219
|
|
31137
|
+
|
|
31138
|
+
},
|
|
31139
|
+
responseParam: {
|
|
31140
|
+
code: '',
|
|
31141
|
+
//返回结果状态码
|
|
31142
|
+
message: '',
|
|
31143
|
+
systemTime: '',
|
|
31144
|
+
//yyyy-MM-dd HH:mm:ss
|
|
31145
|
+
data: {
|
|
31146
|
+
total: 100,
|
|
31147
|
+
//总记录数
|
|
31148
|
+
list: [{
|
|
31149
|
+
devId: '',
|
|
31150
|
+
//设备id
|
|
31151
|
+
id: '',
|
|
31152
|
+
//数据id
|
|
31153
|
+
ipcType: '',
|
|
31154
|
+
//设备类型
|
|
31155
|
+
isActive: '',
|
|
31156
|
+
//是否激活
|
|
31157
|
+
name: '',
|
|
31158
|
+
//设备名称
|
|
31159
|
+
parentId: '',
|
|
31160
|
+
//父节点id
|
|
31161
|
+
orgCode: '',
|
|
31162
|
+
//组织机构编码
|
|
31163
|
+
parental: '',
|
|
31164
|
+
//是否有子节点 0-没有(设备),1-有(目录节点)
|
|
31165
|
+
sort: '',
|
|
31166
|
+
//排序号
|
|
31167
|
+
status: '' //设备状态 2:空闲/离线 1:在线
|
|
31168
|
+
|
|
31169
|
+
}]
|
|
31170
|
+
}
|
|
31171
|
+
}
|
|
31172
|
+
},
|
|
31129
31173
|
videoStatusMQNet: function (accId) {
|
|
31130
31174
|
//视频通话状态通知
|
|
31131
31175
|
return {
|
|
@@ -33094,6 +33138,30 @@ const recordOp = sip => {
|
|
|
33094
33138
|
const videoOp = sip => {
|
|
33095
33139
|
let server_ = sip || server;
|
|
33096
33140
|
return {
|
|
33141
|
+
facilityList: function (param) {
|
|
33142
|
+
let net = video_net_url.getFacilityListNet;
|
|
33143
|
+
let urlParamString = '';
|
|
33144
|
+
|
|
33145
|
+
if (net.paramOnUrl) {
|
|
33146
|
+
net.paramOnUrl.forEach(key => {
|
|
33147
|
+
urlParamString && (urlParamString += '&');
|
|
33148
|
+
urlParamString += `${key}=${param[key]}`;
|
|
33149
|
+
delete param[key];
|
|
33150
|
+
});
|
|
33151
|
+
}
|
|
33152
|
+
|
|
33153
|
+
return new Promise((resolve, reject) => {
|
|
33154
|
+
loadJson(server_ + net.url + (urlParamString ? '?' + urlParamString : ''), { ...param
|
|
33155
|
+
}, function (ret) {
|
|
33156
|
+
if (ret.code == 0) {
|
|
33157
|
+
resolve(ret);
|
|
33158
|
+
} else {
|
|
33159
|
+
console.log("获取移动设备列表失败", ret.code);
|
|
33160
|
+
reject(ret.code);
|
|
33161
|
+
}
|
|
33162
|
+
}, '', net.method);
|
|
33163
|
+
});
|
|
33164
|
+
},
|
|
33097
33165
|
call: function (param) {
|
|
33098
33166
|
let net = video_net_url.callVideoNet;
|
|
33099
33167
|
return new Promise((resolve, reject) => {
|
package/dist/ucservice.umd.js.gz
CHANGED
|
Binary file
|