ucservice 1.9.7 → 1.9.9

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.
@@ -15012,8 +15012,11 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
15012
15012
 
15013
15013
 
15014
15014
  let relativeIndex = 0;
15015
+ console.log('===开始循环初始化视频组件===');
15016
+ console.log('me:' + me);
15015
15017
 
15016
15018
  for (let i = me._opts.windowsBeginIndex; i < me._opts.windowsBeginIndex + me._opts.windowsNum; i++) {
15019
+ console.log('====视频组件====' + i);
15017
15020
  me.VIDEO_DATA[i] = new SVideo({
15018
15021
  index: i,
15019
15022
  janus: janus,
@@ -15275,6 +15278,8 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
15275
15278
  let recordAvBusinessId = null;
15276
15279
 
15277
15280
  function SVideo(opts, videoListener) {
15281
+ console.log('====初始化视频组件开始===');
15282
+ console.log('this:' + this);
15278
15283
  this.janus = opts.janus;
15279
15284
  this.userToken = opts.userToken;
15280
15285
  this.sipcall = null;
@@ -27814,6 +27819,31 @@ let dept_ry = {
27814
27819
 
27815
27820
  }
27816
27821
  },
27822
+ createOnGis: {
27823
+ //同步新成员到gis
27824
+ url: '/common-gis-web/data/gispos/addPersion',
27825
+ method: 'POST',
27826
+ requestParam: {
27827
+ token: '',
27828
+ name: '',
27829
+ // 成员名称
27830
+ propKey: '',
27831
+ // 成员id
27832
+ center: {
27833
+ latitude: 30.223853,
27834
+ longitude: 120.01802
27835
+ }
27836
+ },
27837
+ responseParam: {
27838
+ code: '',
27839
+ //返回结果状态码 0为成功
27840
+ message: '',
27841
+ systemTime: '',
27842
+ //yyyy-MM-dd HH:mm:ss
27843
+ data: {} //结果内容
27844
+
27845
+ }
27846
+ },
27817
27847
  createRyAndAccount: {
27818
27848
  //一键创建
27819
27849
  url: '/scooper-app-manager/data/dev/saveApp',
@@ -32212,6 +32242,20 @@ const deptRyOp = sip => {
32212
32242
  }, '', net.method);
32213
32243
  });
32214
32244
  },
32245
+ createOnGis: function (param) {
32246
+ let net = dept_ry_url.createOnGis;
32247
+ return new Promise((resolve, reject) => {
32248
+ loadJson(server_ + net.url, { ...param
32249
+ }, function (ret) {
32250
+ if (ret.code == 0) {
32251
+ resolve(ret);
32252
+ } else {
32253
+ console.log("创建成员定位到GIS失败", ret.code);
32254
+ reject(ret.code);
32255
+ }
32256
+ }, '', net.method);
32257
+ });
32258
+ },
32215
32259
  add: function (param) {
32216
32260
  let net = dept_ry_url.saveOrgMemberNet;
32217
32261
  return new Promise((resolve, reject) => {
Binary file