ucservice 1.0.9 → 1.1.2

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.
@@ -25525,8 +25525,26 @@ let account = {
25525
25525
  //帐号显示名称
25526
25526
  accType: '',
25527
25527
  //帐号类型,该字段已弃用 0-管理员; 1-一般用户; 2-调度操作员
25528
- memId: '' //通讯录成员ID (帐号关联成员)
25529
-
25528
+ memId: '',
25529
+ //通讯录成员ID (帐号关联成员)
25530
+ relDispUsername: '',
25531
+ useSbc: '',
25532
+ //是否启用边界网关0-否|1-是
25533
+ businessConfigs: '',
25534
+ //业务权限,eg: sip,JK,dispatch,whiteboard,appMsg,video$!$ 分隔符'$!$'后面的全部是账号拥有的权限
25535
+ sipTel: '',
25536
+ dispatchAccount: '',
25537
+ roleIds: 1,
25538
+ isOperAcc: false,
25539
+ centerId: 0,
25540
+ operLevel: 0,
25541
+ operType: 0,
25542
+ operatorId: 0,
25543
+ mainTel: '',
25544
+ viceTel: '',
25545
+ corpId: '',
25546
+ pocTel: '',
25547
+ operMobileTel: ''
25530
25548
  },
25531
25549
  responseParam: {
25532
25550
  code: '',
@@ -26739,8 +26757,23 @@ let dept_ry = {
26739
26757
  // F 传真号码
26740
26758
  memEmail: '',
26741
26759
  // F 电子邮箱
26742
- dutyId: '' // F 职务id
26743
-
26760
+ dutyId: '',
26761
+ // F 职务id
26762
+ deptName: '',
26763
+ isActive: 1,
26764
+ dutyName: '',
26765
+ //职务名称
26766
+ memLevel: 1,
26767
+ accId: '',
26768
+ //帐号id
26769
+ memMsgLevel: '',
26770
+ businessConfigs: '',
26771
+ //业务权限
26772
+ isOperAcc: true,
26773
+ mainTel: '',
26774
+ operMobileTel: '',
26775
+ mobileTel: '',
26776
+ viceTel: ''
26744
26777
  },
26745
26778
  responseParam: {
26746
26779
  code: '',
@@ -28310,6 +28343,69 @@ let location_url_location = {
28310
28343
  }
28311
28344
  }
28312
28345
  },
28346
+ listTypeLocationNet: {
28347
+ //按类型查询设备点位信息
28348
+
28349
+ /***按类型查询,类型:1.移动点位:person, 2.固定点位:fixed, 3.视频监控:camera
28350
+ **/
28351
+ url: '/common-gis-web/data/gisquery/search',
28352
+ method: 'POST',
28353
+ requestParam: {
28354
+ mapId: '',
28355
+ //地图类型
28356
+ layers: '' //设备类型
28357
+
28358
+ },
28359
+ responseParam: {
28360
+ code: '',
28361
+ //返回结果状态码
28362
+ message: '',
28363
+ systemTime: '',
28364
+ //yyyy-MM-dd HH:mm:ss
28365
+ data: {
28366
+ total: '',
28367
+ pageSize: '',
28368
+ pageNumber: '',
28369
+ list: [{
28370
+ altitude: 0,
28371
+ center: {
28372
+ longitude: 120.026576,
28373
+ latitude: 30.823369
28374
+ },
28375
+ childMapId: 0,
28376
+ corpId: 0,
28377
+ evtLevel: 0,
28378
+ extData: "",
28379
+ geoHash: "wtmr770xjumy",
28380
+ hasChild: false,
28381
+ id: 1,
28382
+ layerId: 1,
28383
+ layerLogicName: "person",
28384
+ mapId: 0,
28385
+ name: "单兵01",
28386
+ parentId: 0,
28387
+ permKey: "300000.000002.002",
28388
+ points: [{
28389
+ longitude: 0,
28390
+ latitude: 0
28391
+ }],
28392
+ posStatus: "offline",
28393
+ propKey: "6",
28394
+ rectMax: {
28395
+ longitude: 120.026576,
28396
+ latitude: 30.823369
28397
+ },
28398
+ rectMin: {
28399
+ longitude: 120.026576,
28400
+ latitude: 30.823369
28401
+ },
28402
+ speed: 0,
28403
+ type: "Point",
28404
+ updateTime: "2022-04-22 14:21:30"
28405
+ }]
28406
+ }
28407
+ }
28408
+ },
28313
28409
 
28314
28410
  /**
28315
28411
  * MQTT订阅
@@ -28495,7 +28591,7 @@ let meet = {
28495
28591
 
28496
28592
  /***查询当前所有会场信息
28497
28593
  **/
28498
- url: '/dispatch-web/api/meet/joinVideoMember',
28594
+ url: '/dispatch-web/api/meet/listMeets',
28499
28595
  requestParam: {
28500
28596
  token: ''
28501
28597
  },
@@ -29938,7 +30034,7 @@ const loadJson = function (url, param, backSuccfn, async, method, headers) {
29938
30034
  method = method ? method : 'POST';
29939
30035
  async = async == undefined ? true : async;
29940
30036
 
29941
- for (key in param) {
30037
+ for (let key in param) {
29942
30038
  //检测手机号码, 外地号码头部(非杭州)加00,本地号码加0
29943
30039
  if (/_phone01$/.test(key)) {
29944
30040
  let tel = key.replace(/_phone01$/, "");
@@ -30922,6 +31018,20 @@ const locationOp = sip => {
30922
31018
  }
30923
31019
  }, '', net.method);
30924
31020
  });
31021
+ },
31022
+ locateDeviceByType: function (param) {
31023
+ let net = location_url.listTypeLocationNet;
31024
+ return new Promise((resolve, reject) => {
31025
+ loadJson(server_ + net.url, { ...param
31026
+ }, function (ret) {
31027
+ if (ret.code == 0) {
31028
+ resolve(ret);
31029
+ } else {
31030
+ console.log("获取设备信息失败", ret.code);
31031
+ reject(ret.code);
31032
+ }
31033
+ }, '', net.method);
31034
+ });
30925
31035
  }
30926
31036
  };
30927
31037
  };
Binary file