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.common.js
CHANGED
|
@@ -25381,6 +25381,7 @@ __webpack_require__.d(__webpack_exports__, "doLogout", function() { return /* re
|
|
|
25381
25381
|
__webpack_require__.d(__webpack_exports__, "keepHeart", function() { return /* reexport */ keepHeart; });
|
|
25382
25382
|
__webpack_require__.d(__webpack_exports__, "initCometd", function() { return /* reexport */ initCometd; });
|
|
25383
25383
|
__webpack_require__.d(__webpack_exports__, "initVideo", function() { return /* reexport */ initVideo; });
|
|
25384
|
+
__webpack_require__.d(__webpack_exports__, "sha256_digest", function() { return /* reexport */ sha256_digest; });
|
|
25384
25385
|
__webpack_require__.d(__webpack_exports__, "accountOp", function() { return /* reexport */ accountOp; });
|
|
25385
25386
|
__webpack_require__.d(__webpack_exports__, "aduioOp", function() { return /* reexport */ aduioOp; });
|
|
25386
25387
|
__webpack_require__.d(__webpack_exports__, "aduioVideoOp", function() { return /* reexport */ aduioVideoOp; });
|
|
@@ -25847,6 +25848,25 @@ let account = {
|
|
|
25847
25848
|
}
|
|
25848
25849
|
}
|
|
25849
25850
|
},
|
|
25851
|
+
updateDeptDataPermission: {
|
|
25852
|
+
//更新账号通讯录权限
|
|
25853
|
+
url: '/scooper-core-rest/data/system/permisions/pmDataRPermManage/updatePmDataRPerm',
|
|
25854
|
+
requestParam: {
|
|
25855
|
+
accId: '',
|
|
25856
|
+
deptOrgCodes: '' //a:*代表完整的通讯录
|
|
25857
|
+
|
|
25858
|
+
},
|
|
25859
|
+
responseParam: {
|
|
25860
|
+
code: '',
|
|
25861
|
+
//返回结果状态码
|
|
25862
|
+
message: '',
|
|
25863
|
+
systemTime: '',
|
|
25864
|
+
//yyyy-MM-dd HH:mm:ss
|
|
25865
|
+
data: {
|
|
25866
|
+
obj: 0
|
|
25867
|
+
}
|
|
25868
|
+
}
|
|
25869
|
+
},
|
|
25850
25870
|
getAccountDetailNet: {
|
|
25851
25871
|
//查询帐号详情
|
|
25852
25872
|
|
|
@@ -28342,6 +28362,73 @@ let location_url_location = {
|
|
|
28342
28362
|
}
|
|
28343
28363
|
}
|
|
28344
28364
|
},
|
|
28365
|
+
listGisTrailNet: {
|
|
28366
|
+
//查询gis轨迹数据
|
|
28367
|
+
|
|
28368
|
+
/***
|
|
28369
|
+
**/
|
|
28370
|
+
url: '/scooper-app-msg/gis/queryGisTrails',
|
|
28371
|
+
method: 'GET',
|
|
28372
|
+
requestParam: {
|
|
28373
|
+
startTime: '',
|
|
28374
|
+
endTime: '',
|
|
28375
|
+
timespan: '',
|
|
28376
|
+
memId: '',
|
|
28377
|
+
accId: '',
|
|
28378
|
+
token: '',
|
|
28379
|
+
pageNumber: 1,
|
|
28380
|
+
pageSize: 50
|
|
28381
|
+
},
|
|
28382
|
+
responseParam: {
|
|
28383
|
+
code: '',
|
|
28384
|
+
//返回结果状态码
|
|
28385
|
+
message: '',
|
|
28386
|
+
systemTime: '',
|
|
28387
|
+
//yyyy-MM-dd HH:mm:ss
|
|
28388
|
+
data: {
|
|
28389
|
+
total: '',
|
|
28390
|
+
pageSize: '',
|
|
28391
|
+
pageNumber: '',
|
|
28392
|
+
list: [{
|
|
28393
|
+
altitude: 0,
|
|
28394
|
+
center: {
|
|
28395
|
+
longitude: 120.026576,
|
|
28396
|
+
latitude: 30.823369
|
|
28397
|
+
},
|
|
28398
|
+
childMapId: 0,
|
|
28399
|
+
corpId: 0,
|
|
28400
|
+
evtLevel: 0,
|
|
28401
|
+
extData: "",
|
|
28402
|
+
geoHash: "wtmr770xjumy",
|
|
28403
|
+
hasChild: false,
|
|
28404
|
+
id: 1,
|
|
28405
|
+
layerId: 1,
|
|
28406
|
+
layerLogicName: "person",
|
|
28407
|
+
mapId: 0,
|
|
28408
|
+
name: "单兵01",
|
|
28409
|
+
parentId: 0,
|
|
28410
|
+
permKey: "300000.000002.002",
|
|
28411
|
+
points: [{
|
|
28412
|
+
longitude: 0,
|
|
28413
|
+
latitude: 0
|
|
28414
|
+
}],
|
|
28415
|
+
posStatus: "offline",
|
|
28416
|
+
propKey: "6",
|
|
28417
|
+
rectMax: {
|
|
28418
|
+
longitude: 120.026576,
|
|
28419
|
+
latitude: 30.823369
|
|
28420
|
+
},
|
|
28421
|
+
rectMin: {
|
|
28422
|
+
longitude: 120.026576,
|
|
28423
|
+
latitude: 30.823369
|
|
28424
|
+
},
|
|
28425
|
+
speed: 0,
|
|
28426
|
+
type: "Point",
|
|
28427
|
+
updateTime: "2022-04-22 14:21:30"
|
|
28428
|
+
}]
|
|
28429
|
+
}
|
|
28430
|
+
}
|
|
28431
|
+
},
|
|
28345
28432
|
listTypeLocationNet: {
|
|
28346
28433
|
//按类型查询设备点位信息
|
|
28347
28434
|
|
|
@@ -30422,6 +30509,21 @@ const accountOp = sip => {
|
|
|
30422
30509
|
}, '', net.method);
|
|
30423
30510
|
});
|
|
30424
30511
|
},
|
|
30512
|
+
updateDeptPerm: function (param) {
|
|
30513
|
+
let net = account_net_url.updateDeptDataPermission;
|
|
30514
|
+
return new Promise((resolve, reject) => {
|
|
30515
|
+
loadJson(server_ + net.url, { ...param
|
|
30516
|
+
}, function (ret) {
|
|
30517
|
+
if (ret.code == 0) {
|
|
30518
|
+
console.log("账号通讯录权限更新完成", ret.code);
|
|
30519
|
+
resolve(ret);
|
|
30520
|
+
} else {
|
|
30521
|
+
console.log("账号通讯录权限更新失败", ret.code);
|
|
30522
|
+
reject(ret.code);
|
|
30523
|
+
}
|
|
30524
|
+
}, '', net.method);
|
|
30525
|
+
});
|
|
30526
|
+
},
|
|
30425
30527
|
resetPwd: function (param) {
|
|
30426
30528
|
let net = account_net_url.resetPwdNet;
|
|
30427
30529
|
return new Promise((resolve, reject) => {
|
|
@@ -31123,6 +31225,20 @@ const locationOp = sip => {
|
|
|
31123
31225
|
}, '', net.method);
|
|
31124
31226
|
});
|
|
31125
31227
|
},
|
|
31228
|
+
gisList: function (param) {
|
|
31229
|
+
let net = location_url.listGisTrailNet;
|
|
31230
|
+
return new Promise((resolve, reject) => {
|
|
31231
|
+
loadJson(server_ + net.url, { ...param
|
|
31232
|
+
}, function (ret) {
|
|
31233
|
+
if (ret.code == 0) {
|
|
31234
|
+
resolve(ret);
|
|
31235
|
+
} else {
|
|
31236
|
+
console.log("获取GIS定位数据失败", ret.code);
|
|
31237
|
+
reject(ret.code);
|
|
31238
|
+
}
|
|
31239
|
+
}, '', net.method);
|
|
31240
|
+
});
|
|
31241
|
+
},
|
|
31126
31242
|
locateDeviceByType: function (param) {
|
|
31127
31243
|
let net = location_url.listTypeLocationNet;
|
|
31128
31244
|
return new Promise((resolve, reject) => {
|
|
Binary file
|