@kq_npm/client3d_webgl_vue 4.5.27-beta → 4.5.28-beta

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/sceneapp/index.js CHANGED
@@ -25681,6 +25681,12 @@ function resetWebMapInfo(webMapInfo, cb, defaultShowLayerNames, isShowAllLayers)
25681
25681
  if (layers) {
25682
25682
  for (let z = 0; z < layers.length; z++) {
25683
25683
  if (Number(layers[z].parentLayerId) === Number(layerData.id)) {
25684
+ // zl
25685
+ // 处理kq图层原始的guid 后面会生成
25686
+ if (layers[z].guid) {
25687
+ layers[z]._guid = layers[z].guid;
25688
+ delete layers[z].guid;
25689
+ }
25684
25690
  lo.push(layers[z]);
25685
25691
  layers[z].sourceName = layerData.sourceName;
25686
25692
  layers[z].url = layerData.url;
@@ -30497,7 +30503,7 @@ class DrawManager {
30497
30503
  }
30498
30504
 
30499
30505
  //开始绘制
30500
- startDraw(type, style, callback, groupName) {
30506
+ startDraw(type, style, callback, groupName, isMulti = false) {
30501
30507
  // 开始绘制之前停止编辑和关闭样式设置框
30502
30508
  if (this._drawHandler.editHandler.shapeObject) {
30503
30509
  this._drawHandler.startEdit(null);
@@ -30572,6 +30578,9 @@ class DrawManager {
30572
30578
  });
30573
30579
  }
30574
30580
  removeEventListener();
30581
+ if (isMulti) {
30582
+ that.startDraw(type, style, callback, groupName, isMulti);
30583
+ }
30575
30584
  });
30576
30585
  }
30577
30586
  stopDraw() {
@@ -31552,7 +31561,7 @@ class LayerManager {
31552
31561
  }
31553
31562
  source.mapServerInfo = (0,util_.formatKQMapInfo)(mapInfo.result, serverUrl, serverName, token, null, true);
31554
31563
  source.mapServerInfo.layers_old.forEach(layer_old => {
31555
- layer_old.guid = layer_old.guid || source.name + "@@@" + layer_old.id;
31564
+ layer_old.guid = source.name + "@@@" + layer_old.id;
31556
31565
  layer_old.sourceName = source.name;
31557
31566
  this._layerListData_old.push(layer_old);
31558
31567
  }, this);
@@ -31642,7 +31651,7 @@ class LayerManager {
31642
31651
  layerData.sourceType = source.serverType;
31643
31652
  layerData.renderType = source.renderType;
31644
31653
  layerData.url = source.url;
31645
- layerData.guid = layerData.guid || layerData.sourceName + "@@@" + (layerData.id || Math.random() * 10);
31654
+ layerData.guid = layerData.sourceName + "@@@" + (layerData.id || Math.random() * 10);
31646
31655
  var type = layerData.renderType;
31647
31656
  if (layerData.sourceType === "kqserver") {
31648
31657
  if (source.token && layerData.url.indexOf("ua_token") < 0) {
@@ -32784,6 +32793,7 @@ class LayerManager {
32784
32793
  getLayerDataByLayerChecked(serverType) {
32785
32794
  let layerData = [];
32786
32795
  let layers_checked = [];
32796
+ let that = this;
32787
32797
  this._layerListData.forEach(layer => {
32788
32798
  if (layer.visible) {
32789
32799
  layers_checked.push(layer);
@@ -32817,7 +32827,7 @@ class LayerManager {
32817
32827
  if (layers_old[z].groupLayer) {
32818
32828
  getChildren(layers_old[z].id);
32819
32829
  } else {
32820
- if (this._isContainValue(serverType, layer.sourceType) && layers_old[z].vectorLayer === true) {
32830
+ if (that._isContainValue(serverType, layers_old[z].sourceType) && layers_old[z].vectorLayer === true) {
32821
32831
  layerData.push(layers_old[z]);
32822
32832
  }
32823
32833
  }
@@ -33192,19 +33202,26 @@ class LayerManager {
33192
33202
  }
33193
33203
  }
33194
33204
 
33195
- // 设置海图显示物标
33196
- reLoadHaiTu(encparam) {
33205
+ // 设置海图显示物标和缓存参数
33206
+ reLoadHaiTu(encparam, isCache) {
33207
+ this._encParam = encparam;
33197
33208
  for (var i = 0; i < this._layerListData.length; i++) {
33198
33209
  var layerData = this._layerListData[i];
33199
33210
  if (layerData.layerType === 10) {
33200
33211
  var layer = this.getLayerByGuid(layerData.guid);
33201
33212
  if (layer) {
33213
+ layer.imageryProvider._cache = isCache;
33202
33214
  layer.imageryProvider.encparam = encparam;
33203
33215
  }
33204
33216
  }
33205
33217
  }
33206
33218
  }
33207
33219
 
33220
+ // 获取海图设置参数
33221
+ getHaituParams() {
33222
+ return this._encParam;
33223
+ }
33224
+
33208
33225
  //销毁
33209
33226
  destroy() {
33210
33227
  this._viewer = null;
@@ -33798,6 +33815,10 @@ const __default__ = {
33798
33815
  for (let key in props.toolButtonsPosition) {
33799
33816
  styleString += key + ":" + props.toolButtonsPosition[key] + ";";
33800
33817
  }
33818
+ if (styleString) {
33819
+ styleString += "position: absolute;z-index: 9999;";
33820
+ toolButtonsCss.value = "vertical";
33821
+ }
33801
33822
  toolButtonsStyle.value = styleString;
33802
33823
  }
33803
33824
  }
@@ -40022,10 +40043,10 @@ var vue_i18n_cjs_js_ = __webpack_require__(7080);
40022
40043
 
40023
40044
 
40024
40045
  const _hoisted_1 = {
40025
- class: "kq3d-typhoon-box"
40046
+ class: "kq3d-typhoon-trac-box"
40026
40047
  };
40027
40048
  const _hoisted_2 = {
40028
- class: "kq3d-typhoon-span"
40049
+ class: "kq3d-typhoon-trac-span"
40029
40050
  };
40030
40051
 
40031
40052
 
@@ -40099,6 +40120,16 @@ const __default__ = {
40099
40120
  // 生成组件默认header
40100
40121
  let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
40101
40122
  let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
40123
+ // 属性值
40124
+ let tableData = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]);
40125
+ // 表格头样式
40126
+ let headClass = args => {
40127
+ return {
40128
+ "background-color": "var(--kq-fill-color-light)",
40129
+ color: "var(--kq-color-info)",
40130
+ "font-size": "14px"
40131
+ };
40132
+ };
40102
40133
  let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
40103
40134
  typhoonTracPath: props.settingParams && props.settingParams.typhoonTracPath || ""
40104
40135
  });
@@ -40159,6 +40190,14 @@ const __default__ = {
40159
40190
  formItem.typhoonTracPath = url;
40160
40191
  viewModel && viewModel.selectTyphoonTracPath(formItem.typhoonTracPath);
40161
40192
  }
40193
+ // 定位
40194
+ function location(index, row) {}
40195
+ // 查看详情
40196
+ function getDatainfo(index, row) {}
40197
+ // 播放
40198
+ function setTracPlay(index, row) {}
40199
+ // 停止播放
40200
+ function setTracStop(index, row) {}
40162
40201
  // 清除
40163
40202
  function clear() {
40164
40203
  viewModel && viewModel.clear();
@@ -40180,8 +40219,10 @@ const __default__ = {
40180
40219
  const _component_kq_upload = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-upload");
40181
40220
  const _component_kq_input = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input");
40182
40221
  const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
40222
+ const _component_kq_table_column = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-table-column");
40223
+ const _component_kq_table = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-table");
40183
40224
  return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
40184
- class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-typhoon", {
40225
+ class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-typhoon-trac", {
40185
40226
  'kq-box-shadow': __props.showShadow
40186
40227
  }]),
40187
40228
  ref_key: "boxRef",
@@ -40231,10 +40272,91 @@ const __default__ = {
40231
40272
  })]),
40232
40273
  _: 1 /* STABLE */
40233
40274
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
40234
- gutter: 20,
40235
40275
  class: "rowClass"
40276
+ }, {
40277
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, null, {
40278
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_table, {
40279
+ border: "",
40280
+ stripe: "",
40281
+ data: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(tableData),
40282
+ style: {
40283
+ "width": "100%",
40284
+ "height": "100%"
40285
+ },
40286
+ "cell-style": {
40287
+ padding: '8px 0'
40288
+ },
40289
+ "header-cell-style": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(headClass)
40290
+ }, {
40291
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_table_column, {
40292
+ label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).typhoonNumber,
40293
+ prop: "tfid",
40294
+ align: "center"
40295
+ }, null, 8 /* PROPS */, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_table_column, {
40296
+ label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).typhoonNameZh,
40297
+ prop: "name",
40298
+ align: "center"
40299
+ }, null, 8 /* PROPS */, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_table_column, {
40300
+ label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).typhoonNameEn,
40301
+ prop: "enname",
40302
+ align: "center"
40303
+ }, null, 8 /* PROPS */, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_table_column, {
40304
+ label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).operation,
40305
+ align: "center"
40306
+ }, {
40307
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(scope => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
40308
+ onClick: $event => location(scope.$index, scope.row),
40309
+ title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).location
40310
+ }, {
40311
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
40312
+ size: 16
40313
+ }, {
40314
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(client_icons_vue_.IconLocation))]),
40315
+ _: 1 /* STABLE */
40316
+ })]),
40317
+ _: 2 /* DYNAMIC */
40318
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick", "title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
40319
+ onClick: $event => getDatainfo(scope.$index, scope.row),
40320
+ title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).typhoonDetails
40321
+ }, {
40322
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
40323
+ size: 16
40324
+ }, {
40325
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(client_icons_vue_.IconDetails))]),
40326
+ _: 1 /* STABLE */
40327
+ })]),
40328
+ _: 2 /* DYNAMIC */
40329
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick", "title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
40330
+ onClick: $event => setTracPlay(scope.$index, scope.row),
40331
+ title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).play
40332
+ }, {
40333
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
40334
+ size: 16
40335
+ }, {
40336
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(client_icons_vue_.IconVideoPlay))]),
40337
+ _: 1 /* STABLE */
40338
+ })]),
40339
+ _: 2 /* DYNAMIC */
40340
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick", "title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
40341
+ onClick: $event => setTracStop(scope.$index, scope.row),
40342
+ title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).stop
40343
+ }, {
40344
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
40345
+ size: 16
40346
+ }, {
40347
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(client_icons_vue_.IconVideoPlay))]),
40348
+ _: 1 /* STABLE */
40349
+ })]),
40350
+ _: 2 /* DYNAMIC */
40351
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick", "title"])]),
40352
+ _: 1 /* STABLE */
40353
+ }, 8 /* PROPS */, ["label"])]),
40354
+ _: 1 /* STABLE */
40355
+ }, 8 /* PROPS */, ["data", "header-cell-style"])]),
40356
+ _: 1 /* STABLE */
40357
+ })]),
40358
+ _: 1 /* STABLE */
40236
40359
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
40237
- gutter: 20,
40238
40360
  class: "rowClass"
40239
40361
  })])], 2 /* CLASS */);
40240
40362
  };
@@ -44869,6 +44991,7 @@ const __default__ = {
44869
44991
  messages
44870
44992
  } = (0,vue_i18n_cjs_js_.useI18n)();
44871
44993
  let measureTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
44994
+ measureTitle.value = language.value.measure;
44872
44995
  (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
44873
44996
  language.value = Object.assign({}, messages.value[newVal]["webgl"], messages.value[newVal]["leaflet"]);
44874
44997
  measureTitle.value = language.value.measure;
@@ -25680,6 +25680,12 @@ function resetWebMapInfo(webMapInfo, cb, defaultShowLayerNames, isShowAllLayers)
25680
25680
  if (layers) {
25681
25681
  for (let z = 0; z < layers.length; z++) {
25682
25682
  if (Number(layers[z].parentLayerId) === Number(layerData.id)) {
25683
+ // zl
25684
+ // 处理kq图层原始的guid 后面会生成
25685
+ if (layers[z].guid) {
25686
+ layers[z]._guid = layers[z].guid;
25687
+ delete layers[z].guid;
25688
+ }
25683
25689
  lo.push(layers[z]);
25684
25690
  layers[z].sourceName = layerData.sourceName;
25685
25691
  layers[z].url = layerData.url;
@@ -30497,7 +30503,7 @@ class DrawManager {
30497
30503
  }
30498
30504
 
30499
30505
  //开始绘制
30500
- startDraw(type, style, callback, groupName) {
30506
+ startDraw(type, style, callback, groupName, isMulti = false) {
30501
30507
  // 开始绘制之前停止编辑和关闭样式设置框
30502
30508
  if (this._drawHandler.editHandler.shapeObject) {
30503
30509
  this._drawHandler.startEdit(null);
@@ -30572,6 +30578,9 @@ class DrawManager {
30572
30578
  });
30573
30579
  }
30574
30580
  removeEventListener();
30581
+ if (isMulti) {
30582
+ that.startDraw(type, style, callback, groupName, isMulti);
30583
+ }
30575
30584
  });
30576
30585
  }
30577
30586
  stopDraw() {
@@ -31552,7 +31561,7 @@ class LayerManager {
31552
31561
  }
31553
31562
  source.mapServerInfo = (0,util_.formatKQMapInfo)(mapInfo.result, serverUrl, serverName, token, null, true);
31554
31563
  source.mapServerInfo.layers_old.forEach(layer_old => {
31555
- layer_old.guid = layer_old.guid || source.name + "@@@" + layer_old.id;
31564
+ layer_old.guid = source.name + "@@@" + layer_old.id;
31556
31565
  layer_old.sourceName = source.name;
31557
31566
  this._layerListData_old.push(layer_old);
31558
31567
  }, this);
@@ -31642,7 +31651,7 @@ class LayerManager {
31642
31651
  layerData.sourceType = source.serverType;
31643
31652
  layerData.renderType = source.renderType;
31644
31653
  layerData.url = source.url;
31645
- layerData.guid = layerData.guid || layerData.sourceName + "@@@" + (layerData.id || Math.random() * 10);
31654
+ layerData.guid = layerData.sourceName + "@@@" + (layerData.id || Math.random() * 10);
31646
31655
  var type = layerData.renderType;
31647
31656
  if (layerData.sourceType === "kqserver") {
31648
31657
  if (source.token && layerData.url.indexOf("ua_token") < 0) {
@@ -32784,6 +32793,7 @@ class LayerManager {
32784
32793
  getLayerDataByLayerChecked(serverType) {
32785
32794
  let layerData = [];
32786
32795
  let layers_checked = [];
32796
+ let that = this;
32787
32797
  this._layerListData.forEach(layer => {
32788
32798
  if (layer.visible) {
32789
32799
  layers_checked.push(layer);
@@ -32817,7 +32827,7 @@ class LayerManager {
32817
32827
  if (layers_old[z].groupLayer) {
32818
32828
  getChildren(layers_old[z].id);
32819
32829
  } else {
32820
- if (this._isContainValue(serverType, layer.sourceType) && layers_old[z].vectorLayer === true) {
32830
+ if (that._isContainValue(serverType, layers_old[z].sourceType) && layers_old[z].vectorLayer === true) {
32821
32831
  layerData.push(layers_old[z]);
32822
32832
  }
32823
32833
  }
@@ -33192,19 +33202,26 @@ class LayerManager {
33192
33202
  }
33193
33203
  }
33194
33204
 
33195
- // 设置海图显示物标
33196
- reLoadHaiTu(encparam) {
33205
+ // 设置海图显示物标和缓存参数
33206
+ reLoadHaiTu(encparam, isCache) {
33207
+ this._encParam = encparam;
33197
33208
  for (var i = 0; i < this._layerListData.length; i++) {
33198
33209
  var layerData = this._layerListData[i];
33199
33210
  if (layerData.layerType === 10) {
33200
33211
  var layer = this.getLayerByGuid(layerData.guid);
33201
33212
  if (layer) {
33213
+ layer.imageryProvider._cache = isCache;
33202
33214
  layer.imageryProvider.encparam = encparam;
33203
33215
  }
33204
33216
  }
33205
33217
  }
33206
33218
  }
33207
33219
 
33220
+ // 获取海图设置参数
33221
+ getHaituParams() {
33222
+ return this._encParam;
33223
+ }
33224
+
33208
33225
  //销毁
33209
33226
  destroy() {
33210
33227
  this._viewer = null;
@@ -33798,6 +33815,10 @@ const __default__ = {
33798
33815
  for (let key in props.toolButtonsPosition) {
33799
33816
  styleString += key + ":" + props.toolButtonsPosition[key] + ";";
33800
33817
  }
33818
+ if (styleString) {
33819
+ styleString += "position: absolute;z-index: 9999;";
33820
+ toolButtonsCss.value = "vertical";
33821
+ }
33801
33822
  toolButtonsStyle.value = styleString;
33802
33823
  }
33803
33824
  }
@@ -40022,10 +40043,10 @@ var vue_i18n_cjs_js_ = __webpack_require__(7080);
40022
40043
 
40023
40044
 
40024
40045
  const _hoisted_1 = {
40025
- class: "kq3d-typhoon-box"
40046
+ class: "kq3d-typhoon-trac-box"
40026
40047
  };
40027
40048
  const _hoisted_2 = {
40028
- class: "kq3d-typhoon-span"
40049
+ class: "kq3d-typhoon-trac-span"
40029
40050
  };
40030
40051
 
40031
40052
 
@@ -40099,6 +40120,16 @@ const __default__ = {
40099
40120
  // 生成组件默认header
40100
40121
  let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
40101
40122
  let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
40123
+ // 属性值
40124
+ let tableData = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]);
40125
+ // 表格头样式
40126
+ let headClass = args => {
40127
+ return {
40128
+ "background-color": "var(--kq-fill-color-light)",
40129
+ color: "var(--kq-color-info)",
40130
+ "font-size": "14px"
40131
+ };
40132
+ };
40102
40133
  let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
40103
40134
  typhoonTracPath: props.settingParams && props.settingParams.typhoonTracPath || ""
40104
40135
  });
@@ -40159,6 +40190,14 @@ const __default__ = {
40159
40190
  formItem.typhoonTracPath = url;
40160
40191
  viewModel && viewModel.selectTyphoonTracPath(formItem.typhoonTracPath);
40161
40192
  }
40193
+ // 定位
40194
+ function location(index, row) {}
40195
+ // 查看详情
40196
+ function getDatainfo(index, row) {}
40197
+ // 播放
40198
+ function setTracPlay(index, row) {}
40199
+ // 停止播放
40200
+ function setTracStop(index, row) {}
40162
40201
  // 清除
40163
40202
  function clear() {
40164
40203
  viewModel && viewModel.clear();
@@ -40180,8 +40219,10 @@ const __default__ = {
40180
40219
  const _component_kq_upload = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-upload");
40181
40220
  const _component_kq_input = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input");
40182
40221
  const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
40222
+ const _component_kq_table_column = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-table-column");
40223
+ const _component_kq_table = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-table");
40183
40224
  return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
40184
- class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-typhoon", {
40225
+ class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-typhoon-trac", {
40185
40226
  'kq-box-shadow': __props.showShadow
40186
40227
  }]),
40187
40228
  ref_key: "boxRef",
@@ -40231,10 +40272,91 @@ const __default__ = {
40231
40272
  })]),
40232
40273
  _: 1 /* STABLE */
40233
40274
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
40234
- gutter: 20,
40235
40275
  class: "rowClass"
40276
+ }, {
40277
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, null, {
40278
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_table, {
40279
+ border: "",
40280
+ stripe: "",
40281
+ data: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(tableData),
40282
+ style: {
40283
+ "width": "100%",
40284
+ "height": "100%"
40285
+ },
40286
+ "cell-style": {
40287
+ padding: '8px 0'
40288
+ },
40289
+ "header-cell-style": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(headClass)
40290
+ }, {
40291
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_table_column, {
40292
+ label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).typhoonNumber,
40293
+ prop: "tfid",
40294
+ align: "center"
40295
+ }, null, 8 /* PROPS */, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_table_column, {
40296
+ label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).typhoonNameZh,
40297
+ prop: "name",
40298
+ align: "center"
40299
+ }, null, 8 /* PROPS */, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_table_column, {
40300
+ label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).typhoonNameEn,
40301
+ prop: "enname",
40302
+ align: "center"
40303
+ }, null, 8 /* PROPS */, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_table_column, {
40304
+ label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).operation,
40305
+ align: "center"
40306
+ }, {
40307
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(scope => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
40308
+ onClick: $event => location(scope.$index, scope.row),
40309
+ title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).location
40310
+ }, {
40311
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
40312
+ size: 16
40313
+ }, {
40314
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(client_icons_vue_.IconLocation))]),
40315
+ _: 1 /* STABLE */
40316
+ })]),
40317
+ _: 2 /* DYNAMIC */
40318
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick", "title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
40319
+ onClick: $event => getDatainfo(scope.$index, scope.row),
40320
+ title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).typhoonDetails
40321
+ }, {
40322
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
40323
+ size: 16
40324
+ }, {
40325
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(client_icons_vue_.IconDetails))]),
40326
+ _: 1 /* STABLE */
40327
+ })]),
40328
+ _: 2 /* DYNAMIC */
40329
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick", "title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
40330
+ onClick: $event => setTracPlay(scope.$index, scope.row),
40331
+ title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).play
40332
+ }, {
40333
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
40334
+ size: 16
40335
+ }, {
40336
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(client_icons_vue_.IconVideoPlay))]),
40337
+ _: 1 /* STABLE */
40338
+ })]),
40339
+ _: 2 /* DYNAMIC */
40340
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick", "title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
40341
+ onClick: $event => setTracStop(scope.$index, scope.row),
40342
+ title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).stop
40343
+ }, {
40344
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
40345
+ size: 16
40346
+ }, {
40347
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(client_icons_vue_.IconVideoPlay))]),
40348
+ _: 1 /* STABLE */
40349
+ })]),
40350
+ _: 2 /* DYNAMIC */
40351
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick", "title"])]),
40352
+ _: 1 /* STABLE */
40353
+ }, 8 /* PROPS */, ["label"])]),
40354
+ _: 1 /* STABLE */
40355
+ }, 8 /* PROPS */, ["data", "header-cell-style"])]),
40356
+ _: 1 /* STABLE */
40357
+ })]),
40358
+ _: 1 /* STABLE */
40236
40359
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
40237
- gutter: 20,
40238
40360
  class: "rowClass"
40239
40361
  })])], 2 /* CLASS */);
40240
40362
  };
@@ -44869,6 +44991,7 @@ const __default__ = {
44869
44991
  messages
44870
44992
  } = (0,vue_i18n_cjs_js_.useI18n)();
44871
44993
  let measureTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
44994
+ measureTitle.value = language.value.measure;
44872
44995
  (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
44873
44996
  language.value = Object.assign({}, messages.value[newVal]["webgl"], messages.value[newVal]["leaflet"]);
44874
44997
  measureTitle.value = language.value.measure;