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.common.js
CHANGED
|
@@ -31117,6 +31117,50 @@ let video = {
|
|
|
31117
31117
|
data: ''
|
|
31118
31118
|
}
|
|
31119
31119
|
},
|
|
31120
|
+
// 获取设备列表 queryfacilitylist
|
|
31121
|
+
getFacilityListNet: {
|
|
31122
|
+
url: '/scooper-video/data/facility/queryFacilityList',
|
|
31123
|
+
method: 'POST',
|
|
31124
|
+
paramOnUrl: ['token'],
|
|
31125
|
+
requestParam: {
|
|
31126
|
+
token: '',
|
|
31127
|
+
parentId: '' //219
|
|
31128
|
+
|
|
31129
|
+
},
|
|
31130
|
+
responseParam: {
|
|
31131
|
+
code: '',
|
|
31132
|
+
//返回结果状态码
|
|
31133
|
+
message: '',
|
|
31134
|
+
systemTime: '',
|
|
31135
|
+
//yyyy-MM-dd HH:mm:ss
|
|
31136
|
+
data: {
|
|
31137
|
+
total: 100,
|
|
31138
|
+
//总记录数
|
|
31139
|
+
list: [{
|
|
31140
|
+
devId: '',
|
|
31141
|
+
//设备id
|
|
31142
|
+
id: '',
|
|
31143
|
+
//数据id
|
|
31144
|
+
ipcType: '',
|
|
31145
|
+
//设备类型
|
|
31146
|
+
isActive: '',
|
|
31147
|
+
//是否激活
|
|
31148
|
+
name: '',
|
|
31149
|
+
//设备名称
|
|
31150
|
+
parentId: '',
|
|
31151
|
+
//父节点id
|
|
31152
|
+
orgCode: '',
|
|
31153
|
+
//组织机构编码
|
|
31154
|
+
parental: '',
|
|
31155
|
+
//是否有子节点 0-没有(设备),1-有(目录节点)
|
|
31156
|
+
sort: '',
|
|
31157
|
+
//排序号
|
|
31158
|
+
status: '' //设备状态 2:空闲/离线 1:在线
|
|
31159
|
+
|
|
31160
|
+
}]
|
|
31161
|
+
}
|
|
31162
|
+
}
|
|
31163
|
+
},
|
|
31120
31164
|
videoStatusMQNet: function (accId) {
|
|
31121
31165
|
//视频通话状态通知
|
|
31122
31166
|
return {
|
|
@@ -33085,6 +33129,30 @@ const recordOp = sip => {
|
|
|
33085
33129
|
const videoOp = sip => {
|
|
33086
33130
|
let server_ = sip || server;
|
|
33087
33131
|
return {
|
|
33132
|
+
facilityList: function (param) {
|
|
33133
|
+
let net = video_net_url.getFacilityListNet;
|
|
33134
|
+
let urlParamString = '';
|
|
33135
|
+
|
|
33136
|
+
if (net.paramOnUrl) {
|
|
33137
|
+
net.paramOnUrl.forEach(key => {
|
|
33138
|
+
urlParamString && (urlParamString += '&');
|
|
33139
|
+
urlParamString += `${key}=${param[key]}`;
|
|
33140
|
+
delete param[key];
|
|
33141
|
+
});
|
|
33142
|
+
}
|
|
33143
|
+
|
|
33144
|
+
return new Promise((resolve, reject) => {
|
|
33145
|
+
loadJson(server_ + net.url + (urlParamString ? '?' + urlParamString : ''), { ...param
|
|
33146
|
+
}, function (ret) {
|
|
33147
|
+
if (ret.code == 0) {
|
|
33148
|
+
resolve(ret);
|
|
33149
|
+
} else {
|
|
33150
|
+
console.log("获取移动设备列表失败", ret.code);
|
|
33151
|
+
reject(ret.code);
|
|
33152
|
+
}
|
|
33153
|
+
}, '', net.method);
|
|
33154
|
+
});
|
|
33155
|
+
},
|
|
33088
33156
|
call: function (param) {
|
|
33089
33157
|
let net = video_net_url.callVideoNet;
|
|
33090
33158
|
return new Promise((resolve, reject) => {
|
|
Binary file
|