ucservice 1.3.2 → 1.3.5
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 +116 -0
- package/dist/ucservice.common.js.gz +0 -0
- package/dist/ucservice.common.js.map +1 -1
- package/dist/ucservice.umd.js +116 -0
- package/dist/ucservice.umd.js.gz +0 -0
- package/dist/ucservice.umd.js.map +1 -1
- package/dist/ucservice.umd.min.js +2 -2
- package/dist/ucservice.umd.min.js.gz +0 -0
- package/dist/ucservice.umd.min.js.map +1 -1
- package/index.js +28 -1
- package/package.json +1 -1
- package/src/net_url/account_net_url.js +16 -0
- package/src/net_url/location_url.js +52 -0
package/dist/ucservice.umd.js
CHANGED
|
@@ -25390,6 +25390,7 @@ __webpack_require__.d(__webpack_exports__, "doLogout", function() { return /* re
|
|
|
25390
25390
|
__webpack_require__.d(__webpack_exports__, "keepHeart", function() { return /* reexport */ keepHeart; });
|
|
25391
25391
|
__webpack_require__.d(__webpack_exports__, "initCometd", function() { return /* reexport */ initCometd; });
|
|
25392
25392
|
__webpack_require__.d(__webpack_exports__, "initVideo", function() { return /* reexport */ initVideo; });
|
|
25393
|
+
__webpack_require__.d(__webpack_exports__, "sha256_digest", function() { return /* reexport */ sha256_digest; });
|
|
25393
25394
|
__webpack_require__.d(__webpack_exports__, "accountOp", function() { return /* reexport */ accountOp; });
|
|
25394
25395
|
__webpack_require__.d(__webpack_exports__, "aduioOp", function() { return /* reexport */ aduioOp; });
|
|
25395
25396
|
__webpack_require__.d(__webpack_exports__, "aduioVideoOp", function() { return /* reexport */ aduioVideoOp; });
|
|
@@ -25856,6 +25857,25 @@ let account = {
|
|
|
25856
25857
|
}
|
|
25857
25858
|
}
|
|
25858
25859
|
},
|
|
25860
|
+
updateDeptDataPermission: {
|
|
25861
|
+
//更新账号通讯录权限
|
|
25862
|
+
url: '/scooper-core-rest/data/system/permisions/pmDataRPermManage/updatePmDataRPerm',
|
|
25863
|
+
requestParam: {
|
|
25864
|
+
accId: '',
|
|
25865
|
+
deptOrgCodes: '' //a:*代表完整的通讯录
|
|
25866
|
+
|
|
25867
|
+
},
|
|
25868
|
+
responseParam: {
|
|
25869
|
+
code: '',
|
|
25870
|
+
//返回结果状态码
|
|
25871
|
+
message: '',
|
|
25872
|
+
systemTime: '',
|
|
25873
|
+
//yyyy-MM-dd HH:mm:ss
|
|
25874
|
+
data: {
|
|
25875
|
+
obj: 0
|
|
25876
|
+
}
|
|
25877
|
+
}
|
|
25878
|
+
},
|
|
25859
25879
|
getAccountDetailNet: {
|
|
25860
25880
|
//查询帐号详情
|
|
25861
25881
|
|
|
@@ -28351,6 +28371,73 @@ let location_url_location = {
|
|
|
28351
28371
|
}
|
|
28352
28372
|
}
|
|
28353
28373
|
},
|
|
28374
|
+
listGisTrailNet: {
|
|
28375
|
+
//查询gis轨迹数据
|
|
28376
|
+
|
|
28377
|
+
/***
|
|
28378
|
+
**/
|
|
28379
|
+
url: '/scooper-app-msg/gis/queryGisTrails',
|
|
28380
|
+
method: 'GET',
|
|
28381
|
+
requestParam: {
|
|
28382
|
+
startTime: '',
|
|
28383
|
+
endTime: '',
|
|
28384
|
+
timespan: '',
|
|
28385
|
+
memId: '',
|
|
28386
|
+
accId: '',
|
|
28387
|
+
token: '',
|
|
28388
|
+
pageNumber: 1,
|
|
28389
|
+
pageSize: 50
|
|
28390
|
+
},
|
|
28391
|
+
responseParam: {
|
|
28392
|
+
code: '',
|
|
28393
|
+
//返回结果状态码
|
|
28394
|
+
message: '',
|
|
28395
|
+
systemTime: '',
|
|
28396
|
+
//yyyy-MM-dd HH:mm:ss
|
|
28397
|
+
data: {
|
|
28398
|
+
total: '',
|
|
28399
|
+
pageSize: '',
|
|
28400
|
+
pageNumber: '',
|
|
28401
|
+
list: [{
|
|
28402
|
+
altitude: 0,
|
|
28403
|
+
center: {
|
|
28404
|
+
longitude: 120.026576,
|
|
28405
|
+
latitude: 30.823369
|
|
28406
|
+
},
|
|
28407
|
+
childMapId: 0,
|
|
28408
|
+
corpId: 0,
|
|
28409
|
+
evtLevel: 0,
|
|
28410
|
+
extData: "",
|
|
28411
|
+
geoHash: "wtmr770xjumy",
|
|
28412
|
+
hasChild: false,
|
|
28413
|
+
id: 1,
|
|
28414
|
+
layerId: 1,
|
|
28415
|
+
layerLogicName: "person",
|
|
28416
|
+
mapId: 0,
|
|
28417
|
+
name: "单兵01",
|
|
28418
|
+
parentId: 0,
|
|
28419
|
+
permKey: "300000.000002.002",
|
|
28420
|
+
points: [{
|
|
28421
|
+
longitude: 0,
|
|
28422
|
+
latitude: 0
|
|
28423
|
+
}],
|
|
28424
|
+
posStatus: "offline",
|
|
28425
|
+
propKey: "6",
|
|
28426
|
+
rectMax: {
|
|
28427
|
+
longitude: 120.026576,
|
|
28428
|
+
latitude: 30.823369
|
|
28429
|
+
},
|
|
28430
|
+
rectMin: {
|
|
28431
|
+
longitude: 120.026576,
|
|
28432
|
+
latitude: 30.823369
|
|
28433
|
+
},
|
|
28434
|
+
speed: 0,
|
|
28435
|
+
type: "Point",
|
|
28436
|
+
updateTime: "2022-04-22 14:21:30"
|
|
28437
|
+
}]
|
|
28438
|
+
}
|
|
28439
|
+
}
|
|
28440
|
+
},
|
|
28354
28441
|
listTypeLocationNet: {
|
|
28355
28442
|
//按类型查询设备点位信息
|
|
28356
28443
|
|
|
@@ -30431,6 +30518,21 @@ const accountOp = sip => {
|
|
|
30431
30518
|
}, '', net.method);
|
|
30432
30519
|
});
|
|
30433
30520
|
},
|
|
30521
|
+
updateDeptPerm: function (param) {
|
|
30522
|
+
let net = account_net_url.updateDeptDataPermission;
|
|
30523
|
+
return new Promise((resolve, reject) => {
|
|
30524
|
+
loadJson(server_ + net.url, { ...param
|
|
30525
|
+
}, function (ret) {
|
|
30526
|
+
if (ret.code == 0) {
|
|
30527
|
+
console.log("账号通讯录权限更新完成", ret.code);
|
|
30528
|
+
resolve(ret);
|
|
30529
|
+
} else {
|
|
30530
|
+
console.log("账号通讯录权限更新失败", ret.code);
|
|
30531
|
+
reject(ret.code);
|
|
30532
|
+
}
|
|
30533
|
+
}, '', net.method);
|
|
30534
|
+
});
|
|
30535
|
+
},
|
|
30434
30536
|
resetPwd: function (param) {
|
|
30435
30537
|
let net = account_net_url.resetPwdNet;
|
|
30436
30538
|
return new Promise((resolve, reject) => {
|
|
@@ -31132,6 +31234,20 @@ const locationOp = sip => {
|
|
|
31132
31234
|
}, '', net.method);
|
|
31133
31235
|
});
|
|
31134
31236
|
},
|
|
31237
|
+
gisList: function (param) {
|
|
31238
|
+
let net = location_url.listGisTrailNet;
|
|
31239
|
+
return new Promise((resolve, reject) => {
|
|
31240
|
+
loadJson(server_ + net.url, { ...param
|
|
31241
|
+
}, function (ret) {
|
|
31242
|
+
if (ret.code == 0) {
|
|
31243
|
+
resolve(ret);
|
|
31244
|
+
} else {
|
|
31245
|
+
console.log("获取GIS定位数据失败", ret.code);
|
|
31246
|
+
reject(ret.code);
|
|
31247
|
+
}
|
|
31248
|
+
}, '', net.method);
|
|
31249
|
+
});
|
|
31250
|
+
},
|
|
31135
31251
|
locateDeviceByType: function (param) {
|
|
31136
31252
|
let net = location_url.listTypeLocationNet;
|
|
31137
31253
|
return new Promise((resolve, reject) => {
|
package/dist/ucservice.umd.js.gz
CHANGED
|
Binary file
|