gis-map-admin 1.6.0 → 1.6.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.
package/lib/gismap.umd.js CHANGED
@@ -12105,7 +12105,7 @@ var apiNow = __webpack_require__("dc47");
12105
12105
  };
12106
12106
  this.nearbyCameraListALL = [];
12107
12107
  this.showTextALL = false;
12108
- api["t" /* nearbyCamera */](
12108
+ api["u" /* nearbyCamera */](
12109
12109
  params,
12110
12110
  this.$GlobalConfig.trafficMonitorUrl,
12111
12111
  this.$GlobalConfig.trafficMonitorType
@@ -12149,7 +12149,7 @@ var apiNow = __webpack_require__("dc47");
12149
12149
  this.nearbyVMSList2 = [];
12150
12150
  this.showTextALL = false;
12151
12151
  this.showText2 = false;
12152
- api["u" /* nearbyVMS */](
12152
+ api["v" /* nearbyVMS */](
12153
12153
  params,
12154
12154
  this.$GlobalConfig.trafficMonitorUrl,
12155
12155
  this.$GlobalConfig.trafficMonitorType
@@ -12204,7 +12204,7 @@ var apiNow = __webpack_require__("dc47");
12204
12204
  this.videoInfo = {};
12205
12205
  this.videoInfo2 = {};
12206
12206
  let _this = this;
12207
- api["v" /* openCam */](
12207
+ api["w" /* openCam */](
12208
12208
  camId,
12209
12209
  this.$GlobalConfig.trafficMonitorUrl,
12210
12210
  this.$GlobalConfig.trafficMonitorType,
@@ -18764,34 +18764,35 @@ module.exports = exports;
18764
18764
  "use strict";
18765
18765
 
18766
18766
  // EXPORTS
18767
- __webpack_require__.d(__webpack_exports__, "o", function() { return /* binding */ getVideo; });
18768
- __webpack_require__.d(__webpack_exports__, "w", function() { return /* binding */ positionLocation; });
18769
- __webpack_require__.d(__webpack_exports__, "z", function() { return /* binding */ savePanTiltPosition; });
18770
- __webpack_require__.d(__webpack_exports__, "k", function() { return /* binding */ getPanTiltPosition; });
18771
- __webpack_require__.d(__webpack_exports__, "x", function() { return /* binding */ presetControl; });
18767
+ __webpack_require__.d(__webpack_exports__, "p", function() { return /* binding */ getVideo; });
18768
+ __webpack_require__.d(__webpack_exports__, "x", function() { return /* binding */ positionLocation; });
18769
+ __webpack_require__.d(__webpack_exports__, "A", function() { return /* binding */ savePanTiltPosition; });
18770
+ __webpack_require__.d(__webpack_exports__, "l", function() { return /* binding */ getPanTiltPosition; });
18771
+ __webpack_require__.d(__webpack_exports__, "y", function() { return /* binding */ presetControl; });
18772
18772
  __webpack_require__.d(__webpack_exports__, "b", function() { return /* binding */ closestcameraangleByXy; });
18773
- __webpack_require__.d(__webpack_exports__, "p", function() { return /* binding */ getVideoPic; });
18774
- __webpack_require__.d(__webpack_exports__, "i", function() { return /* binding */ getFgsList; });
18775
- __webpack_require__.d(__webpack_exports__, "e", function() { return /* binding */ getDimmdmroadriList; });
18776
- __webpack_require__.d(__webpack_exports__, "j", function() { return /* binding */ getOpmasubsectionriList; });
18777
- __webpack_require__.d(__webpack_exports__, "g", function() { return /* binding */ getEquipList; });
18778
- __webpack_require__.d(__webpack_exports__, "s", function() { return /* binding */ lonandlatTopile; });
18779
- __webpack_require__.d(__webpack_exports__, "d", function() { return /* binding */ getDevdeviceInfo; });
18780
- __webpack_require__.d(__webpack_exports__, "n", function() { return /* binding */ getStationData; });
18781
- __webpack_require__.d(__webpack_exports__, "m", function() { return /* binding */ getRoadData; });
18782
- __webpack_require__.d(__webpack_exports__, "h", function() { return /* binding */ getEventMainType; });
18783
- __webpack_require__.d(__webpack_exports__, "q", function() { return /* binding */ getWeatherByLonAndLat; });
18784
- __webpack_require__.d(__webpack_exports__, "y", function() { return /* binding */ queryMasterDetail; });
18785
- __webpack_require__.d(__webpack_exports__, "t", function() { return /* binding */ nearbyCamera; });
18786
- __webpack_require__.d(__webpack_exports__, "u", function() { return /* binding */ nearbyVMS; });
18787
- __webpack_require__.d(__webpack_exports__, "v", function() { return /* binding */ openCam; });
18773
+ __webpack_require__.d(__webpack_exports__, "q", function() { return /* binding */ getVideoPic; });
18774
+ __webpack_require__.d(__webpack_exports__, "j", function() { return /* binding */ getFgsList; });
18775
+ __webpack_require__.d(__webpack_exports__, "f", function() { return /* binding */ getDimmdmroadriList; });
18776
+ __webpack_require__.d(__webpack_exports__, "k", function() { return /* binding */ getOpmasubsectionriList; });
18777
+ __webpack_require__.d(__webpack_exports__, "h", function() { return /* binding */ getEquipList; });
18778
+ __webpack_require__.d(__webpack_exports__, "t", function() { return /* binding */ lonandlatTopile; });
18779
+ __webpack_require__.d(__webpack_exports__, "e", function() { return /* binding */ getDevdeviceInfo; });
18780
+ __webpack_require__.d(__webpack_exports__, "o", function() { return /* binding */ getStationData; });
18781
+ __webpack_require__.d(__webpack_exports__, "n", function() { return /* binding */ getRoadData; });
18782
+ __webpack_require__.d(__webpack_exports__, "i", function() { return /* binding */ getEventMainType; });
18783
+ __webpack_require__.d(__webpack_exports__, "r", function() { return /* binding */ getWeatherByLonAndLat; });
18784
+ __webpack_require__.d(__webpack_exports__, "z", function() { return /* binding */ queryMasterDetail; });
18785
+ __webpack_require__.d(__webpack_exports__, "c", function() { return /* binding */ eventConvertType; });
18786
+ __webpack_require__.d(__webpack_exports__, "u", function() { return /* binding */ nearbyCamera; });
18787
+ __webpack_require__.d(__webpack_exports__, "v", function() { return /* binding */ nearbyVMS; });
18788
+ __webpack_require__.d(__webpack_exports__, "w", function() { return /* binding */ openCam; });
18788
18789
  __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ addVideoPointData; });
18789
- __webpack_require__.d(__webpack_exports__, "f", function() { return /* binding */ getEmergencyData; });
18790
- __webpack_require__.d(__webpack_exports__, "r", function() { return /* binding */ gettrafficSafetyData; });
18791
- __webpack_require__.d(__webpack_exports__, "c", function() { return /* binding */ getAuthCode; });
18792
- __webpack_require__.d(__webpack_exports__, "l", function() { return /* binding */ getQuerybasicdata; });
18793
- __webpack_require__.d(__webpack_exports__, "B", function() { return /* binding */ updateEventMaster; });
18794
- __webpack_require__.d(__webpack_exports__, "A", function() { return /* binding */ sendMqttMessage; });
18790
+ __webpack_require__.d(__webpack_exports__, "g", function() { return /* binding */ getEmergencyData; });
18791
+ __webpack_require__.d(__webpack_exports__, "s", function() { return /* binding */ gettrafficSafetyData; });
18792
+ __webpack_require__.d(__webpack_exports__, "d", function() { return /* binding */ getAuthCode; });
18793
+ __webpack_require__.d(__webpack_exports__, "m", function() { return /* binding */ getQuerybasicdata; });
18794
+ __webpack_require__.d(__webpack_exports__, "C", function() { return /* binding */ updateEventMaster; });
18795
+ __webpack_require__.d(__webpack_exports__, "B", function() { return /* binding */ sendMqttMessage; });
18795
18796
 
18796
18797
  // UNUSED EXPORTS: getVideoToken, presetPositionPTZControl, closestcameraangle, getLdList, getCamBylatlon
18797
18798
 
@@ -19117,7 +19118,15 @@ function queryMasterDetail(data,urlPrefix,environmentType) {
19117
19118
  data
19118
19119
  })
19119
19120
  }
19120
-
19121
+ // 事件类型列表
19122
+ function eventConvertType (data,urlPrefix,environmentType) {
19123
+ return Object(request["a" /* default */])({
19124
+ url: urlPrefix+ '/trafficMonitor/event/report/eventConvertType',
19125
+ method: 'get',
19126
+ type: environmentType,
19127
+ data
19128
+ })
19129
+ }
19121
19130
  /**
19122
19131
  * 拥堵路段附近摄像机
19123
19132
  * @param {*} devCategory {string} 设备类型(大类)003摄像机 005情报板
@@ -23916,7 +23925,7 @@ var api_api = __webpack_require__("4260");
23916
23925
  this.$emit('videoUrlChange', this.videoUrl)
23917
23926
  if(this.presetPosition !=null && this.presetPosition !=''){
23918
23927
  //云台控制-预置位
23919
- Object(api_api["x" /* presetControl */])(this.camId, this.presetPosition);
23928
+ Object(api_api["y" /* presetControl */])(this.camId, this.presetPosition);
23920
23929
  }
23921
23930
  }
23922
23931
  }
@@ -137368,7 +137377,7 @@ var roadVms = __webpack_require__("cee8");
137368
137377
  this.nearbyCameraList2 = []
137369
137378
  this.showText = false
137370
137379
  this.showText2 = false
137371
- api["t" /* nearbyCamera */](params, this.$GlobalConfig.trafficMonitorUrl, this.$GlobalConfig.trafficMonitorType).then(res => {
137380
+ api["u" /* nearbyCamera */](params, this.$GlobalConfig.trafficMonitorUrl, this.$GlobalConfig.trafficMonitorType).then(res => {
137372
137381
  if (res !=null && res.code == 0) {
137373
137382
  // 上行
137374
137383
  this.nearbyCameraList = res.data.UP
@@ -137419,7 +137428,7 @@ var roadVms = __webpack_require__("cee8");
137419
137428
  this.nearbyVMSList2 = []
137420
137429
  this.showText = false
137421
137430
  this.showText2 = false
137422
- api["u" /* nearbyVMS */](params, this.$GlobalConfig.trafficMonitorUrl, this.$GlobalConfig.trafficMonitorType).then(res => {
137431
+ api["v" /* nearbyVMS */](params, this.$GlobalConfig.trafficMonitorUrl, this.$GlobalConfig.trafficMonitorType).then(res => {
137423
137432
  if (res !=null && res.code == 0) {
137424
137433
  // 上行
137425
137434
  this.nearbyVMSList = res.data.UP
@@ -137459,7 +137468,7 @@ var roadVms = __webpack_require__("cee8");
137459
137468
  if (!camId) return
137460
137469
  this.videoInfo = {}
137461
137470
  this.videoInfo2 = {}
137462
- api["v" /* openCam */](camId, this.$GlobalConfig.trafficMonitorUrl, this.$GlobalConfig.trafficMonitorType, this.$GlobalConfig.netWorkType).then(res => {
137471
+ api["w" /* openCam */](camId, this.$GlobalConfig.trafficMonitorUrl, this.$GlobalConfig.trafficMonitorType, this.$GlobalConfig.netWorkType).then(res => {
137463
137472
  if (res !=null && res.data.recCode == '0') {
137464
137473
  name == 'playerUp' ? (this.videoInfo = res.data || {}) : (this.videoInfo2 = res.data || {})
137465
137474
  if (name == 'playerUp') {
@@ -165376,7 +165385,7 @@ var flv_default = /*#__PURE__*/__webpack_require__.n(dist_flv);
165376
165385
  userName: "userGisMap",
165377
165386
  userDiffId: "1"
165378
165387
  }
165379
- Object(api["o" /* getVideo */])(param).then((videoRes) => {
165388
+ Object(api["p" /* getVideo */])(param).then((videoRes) => {
165380
165389
  _this.videoUrl = videoRes.data.liveUrl
165381
165390
  if (flv_default.a.isSupported()) {
165382
165391
  if (_this.flvPlayer === null) {
@@ -165421,13 +165430,13 @@ var flv_default = /*#__PURE__*/__webpack_require__.n(dist_flv);
165421
165430
  "tilt": res.data.tilt
165422
165431
  }
165423
165432
  //16、获取云台位置信息
165424
- Object(api["k" /* getPanTiltPosition */])({"camId": res.data.devBasicRiDTO.devNo}).then((gres) =>{
165433
+ Object(api["l" /* getPanTiltPosition */])({"camId": res.data.devBasicRiDTO.devNo}).then((gres) =>{
165425
165434
  if(gres !=null && gres.code ==0 && gres.data !=null && gres.data.msgType == '9'){
165426
165435
  _this.zoom = gres.data.zoom;
165427
165436
  _this.pan = gres.data.pan;
165428
165437
  _this.tilt = gres.data.tilt;
165429
165438
  //17、根据位置快速定位
165430
- Object(api["w" /* positionLocation */])(positionLocationParam).then((pres) =>{
165439
+ Object(api["x" /* positionLocation */])(positionLocationParam).then((pres) =>{
165431
165440
  if(pres !=null && pres.code ==0 && pres.data !=null){
165432
165441
  _this.savepantiltPositionReq(res.data.zoom,res.data.pan,res.data.tilt,"0");
165433
165442
  _this.savepantiltPositionInterval = setInterval(() => {
@@ -165449,7 +165458,7 @@ var flv_default = /*#__PURE__*/__webpack_require__.n(dist_flv);
165449
165458
  "tilt": tilt,
165450
165459
  "status": status
165451
165460
  }
165452
- Object(api["z" /* savePanTiltPosition */])(savepantiltPositionParam).then((res) =>{
165461
+ Object(api["A" /* savePanTiltPosition */])(savepantiltPositionParam).then((res) =>{
165453
165462
  console.log('savePanTiltPosition.res',res)
165454
165463
  })
165455
165464
  },
@@ -165465,7 +165474,7 @@ var flv_default = /*#__PURE__*/__webpack_require__.n(dist_flv);
165465
165474
  "pan": _this.pan,
165466
165475
  "tilt": _this.tilt
165467
165476
  }
165468
- Object(api["w" /* positionLocation */])(positionLocationParam).then((pres) =>{
165477
+ Object(api["x" /* positionLocation */])(positionLocationParam).then((pres) =>{
165469
165478
  console.log('closestcameraangle.positionLocation.pres',pres)
165470
165479
  if(pres !=null && pres.code ==0 && pres.data !=null){
165471
165480
  _this.savepantiltPositionReq(_this.zoom,_this.pan,_this.tilt,"2");
@@ -165682,7 +165691,7 @@ var component = Object(componentNormalizer["a" /* default */])(
165682
165691
  camId: this.camId,
165683
165692
  timestamp: new Date().getTime()
165684
165693
  }
165685
- Object(api["p" /* getVideoPic */])(paramPic)
165694
+ Object(api["q" /* getVideoPic */])(paramPic)
165686
165695
  .then((res) => {
165687
165696
  this.loading = false;
165688
165697
  if (res && res.size >500) {
@@ -166293,7 +166302,7 @@ var md5_default = /*#__PURE__*/__webpack_require__.n(md5);
166293
166302
  camId: this.camId,
166294
166303
  timestamp: new Date().getTime()
166295
166304
  }
166296
- Object(api["p" /* getVideoPic */])(paramPic)
166305
+ Object(api["q" /* getVideoPic */])(paramPic)
166297
166306
  .then((res) => {
166298
166307
  this.loading = false;
166299
166308
  if (res && res.size >500) {
@@ -166433,7 +166442,7 @@ var md5_default = /*#__PURE__*/__webpack_require__.n(md5);
166433
166442
  userName: "userGisMap",
166434
166443
  userDiffId: "1"
166435
166444
  }
166436
- Object(api["o" /* getVideo */])(param)
166445
+ Object(api["p" /* getVideo */])(param)
166437
166446
  .then((res) => {
166438
166447
  let videoUrl = res.data.liveUrl
166439
166448
  if (flv_default.a.isSupported()) {
@@ -167018,7 +167027,7 @@ var CMLayervue_type_template_id_3e494b25_scoped_true_staticRenderFns = []
167018
167027
  camId: this.camId,
167019
167028
  timestamp: new Date().getTime()
167020
167029
  }
167021
- Object(api["p" /* getVideoPic */])(paramPic)
167030
+ Object(api["q" /* getVideoPic */])(paramPic)
167022
167031
  .then((res) => {
167023
167032
  this.loading = false;
167024
167033
  if (res && res.size >500) {
@@ -168049,7 +168058,7 @@ var visibilityLayervue_type_template_id_58911984_scoped_true_staticRenderFns = [
168049
168058
  camId: this.camId,
168050
168059
  timestamp: new Date().getTime()
168051
168060
  }
168052
- Object(api["p" /* getVideoPic */])(paramPic)
168061
+ Object(api["q" /* getVideoPic */])(paramPic)
168053
168062
  .then((res) => {
168054
168063
  this.loading = false;
168055
168064
  if (res && res.size >500) {
@@ -168781,7 +168790,7 @@ var roadstateLayervue_type_template_id_aa120892_scoped_true_staticRenderFns = []
168781
168790
  camId: this.camId,
168782
168791
  timestamp: new Date().getTime()
168783
168792
  }
168784
- Object(api["p" /* getVideoPic */])(paramPic)
168793
+ Object(api["q" /* getVideoPic */])(paramPic)
168785
168794
  .then((res) => {
168786
168795
  this.loading = false;
168787
168796
  if (res && res.size >500) {
@@ -169567,7 +169576,7 @@ var meteorologicalLayervue_type_template_id_1af1f284_scoped_true_staticRenderFns
169567
169576
  camId: this.camId,
169568
169577
  timestamp: new Date().getTime()
169569
169578
  }
169570
- Object(api["p" /* getVideoPic */])(paramPic)
169579
+ Object(api["q" /* getVideoPic */])(paramPic)
169571
169580
  .then((res) => {
169572
169581
  this.loading = false;
169573
169582
  if (res && res.size > 500) {
@@ -171199,7 +171208,7 @@ var mountLayervue_type_template_id_4ead02fb_scoped_true_staticRenderFns = []
171199
171208
  camId: this.camId,
171200
171209
  timestamp: new Date().getTime()
171201
171210
  }
171202
- Object(api["p" /* getVideoPic */])(paramPic)
171211
+ Object(api["q" /* getVideoPic */])(paramPic)
171203
171212
  .then((res) => {
171204
171213
  this.loading = false;
171205
171214
  if (res && res.size >500) {
@@ -171230,7 +171239,7 @@ var mountLayervue_type_template_id_4ead02fb_scoped_true_staticRenderFns = []
171230
171239
  userName: "userGisMap",
171231
171240
  userDiffId: "1"
171232
171241
  }
171233
- Object(api["o" /* getVideo */])(param)
171242
+ Object(api["p" /* getVideo */])(param)
171234
171243
  .then((res) => {
171235
171244
  this.videoUrl = res.data.liveUrl
171236
171245
  if (flv_default.a.isSupported()) {
@@ -171297,7 +171306,7 @@ var mountLayervue_type_template_id_4ead02fb_scoped_true_staticRenderFns = []
171297
171306
  }
171298
171307
  },
171299
171308
  controlDialogOpen() {
171300
- Object(api["o" /* getVideo */])('29818')
171309
+ Object(api["p" /* getVideo */])('29818')
171301
171310
  .then((res) => {
171302
171311
  this.videoUrl = res.data.liveUrl
171303
171312
  if (flv_default.a.isSupported()) {
@@ -171785,7 +171794,7 @@ var lightSignLayervue_type_template_id_a24a0996_scoped_true_staticRenderFns = [f
171785
171794
  camId: this.camId,
171786
171795
  timestamp: new Date().getTime()
171787
171796
  }
171788
- Object(api["p" /* getVideoPic */])(paramPic)
171797
+ Object(api["q" /* getVideoPic */])(paramPic)
171789
171798
  .then((res) => {
171790
171799
  this.loading = false;
171791
171800
  if (res && res.size >500) {
@@ -172442,7 +172451,7 @@ var rippleLayervue_type_template_id_7dfa846a_scoped_true_staticRenderFns = []
172442
172451
  camId: this.camId,
172443
172452
  timestamp: new Date().getTime()
172444
172453
  }
172445
- Object(api["p" /* getVideoPic */])(paramPic)
172454
+ Object(api["q" /* getVideoPic */])(paramPic)
172446
172455
  .then((res) => {
172447
172456
  this.loading = false;
172448
172457
  if (res && res.size >500) {
@@ -173264,7 +173273,7 @@ var VideoPlayLivevue_type_template_id_649824c4_scoped_true_staticRenderFns = []
173264
173273
  userName: "userGisMap",
173265
173274
  userDiffId: "1"
173266
173275
  }
173267
- Object(api["o" /* getVideo */])(param)
173276
+ Object(api["p" /* getVideo */])(param)
173268
173277
  .then((res) => {
173269
173278
  this.videoUrl = res.data.liveUrl
173270
173279
  if (flv_default.a.isSupported()) {
@@ -173733,7 +173742,7 @@ var VideoPlayLive_component = Object(componentNormalizer["a" /* default */])(
173733
173742
  camId: this.camId,
173734
173743
  timestamp: new Date().getTime()
173735
173744
  }
173736
- Object(api["p" /* getVideoPic */])(paramPic)
173745
+ Object(api["q" /* getVideoPic */])(paramPic)
173737
173746
  .then((res) => {
173738
173747
  this.loading = false;
173739
173748
  if (res && res.size > 500) {
@@ -176160,7 +176169,7 @@ var vue_seamless_scroll_min_default = /*#__PURE__*/__webpack_require__.n(vue_sea
176160
176169
  this.devCode = this.popupAttr.dev_no;
176161
176170
  //console.log(this.devCode+':devCode')
176162
176171
  let req = { devNo: this.devCode, devCategory: "005" };
176163
- Object(api["d" /* getDevdeviceInfo */])(req).then((res) => {
176172
+ Object(api["e" /* getDevdeviceInfo */])(req).then((res) => {
176164
176173
  if (res != null && res.code == 0) {
176165
176174
  this.boardInfo = res.data[0] || {};
176166
176175
  this.camId = this.boardInfo.cameraId;
@@ -176635,7 +176644,7 @@ var vue_seamless_scroll_min_default = /*#__PURE__*/__webpack_require__.n(vue_sea
176635
176644
  camId: this.camId,
176636
176645
  timestamp: new Date().getTime()
176637
176646
  }
176638
- Object(api["p" /* getVideoPic */])(paramPic)
176647
+ Object(api["q" /* getVideoPic */])(paramPic)
176639
176648
  .then((res) => {
176640
176649
  this.loading = false;
176641
176650
  if (res && res.size > 500) {
@@ -177649,7 +177658,7 @@ var fogGuideLayervue_type_template_id_7fea8d7e_scoped_true_staticRenderFns = []
177649
177658
  camId: this.camId,
177650
177659
  timestamp: new Date().getTime()
177651
177660
  }
177652
- Object(api["p" /* getVideoPic */])(paramPic)
177661
+ Object(api["q" /* getVideoPic */])(paramPic)
177653
177662
  .then((res) => {
177654
177663
  this.loading = false;
177655
177664
  if (res && res.size >500) {
@@ -178428,7 +178437,7 @@ var js_pinyin_default = /*#__PURE__*/__webpack_require__.n(js_pinyin);
178428
178437
  camId: this.camId,
178429
178438
  timestamp: new Date().getTime()
178430
178439
  }
178431
- Object(api["p" /* getVideoPic */])(paramPic)
178440
+ Object(api["q" /* getVideoPic */])(paramPic)
178432
178441
  .then((res) => {
178433
178442
  this.loading = false;
178434
178443
  if (res && res.size >500) {
@@ -178735,7 +178744,7 @@ var coneBarrelLayervue_type_template_id_94993e56_scoped_true_staticRenderFns = [
178735
178744
  camId: this.camId,
178736
178745
  timestamp: new Date().getTime()
178737
178746
  }
178738
- Object(api["p" /* getVideoPic */])(paramPic)
178747
+ Object(api["q" /* getVideoPic */])(paramPic)
178739
178748
  .then((res) => {
178740
178749
  this.loading = false;
178741
178750
  if (res && res.size >500) {
@@ -179223,7 +179232,7 @@ var radarAndvideoLayervue_type_template_id_e84e04a2_scoped_true_staticRenderFns
179223
179232
  camId: this.camId,
179224
179233
  timestamp: new Date().getTime()
179225
179234
  }
179226
- Object(api["p" /* getVideoPic */])(paramPic)
179235
+ Object(api["q" /* getVideoPic */])(paramPic)
179227
179236
  .then((res) => {
179228
179237
  this.loading = false;
179229
179238
  if (res && res.size > 500) {
@@ -179608,7 +179617,7 @@ var smartBoxLayervue_type_template_id_a5916382_scoped_true_staticRenderFns = [fu
179608
179617
  camId: this.camId,
179609
179618
  timestamp: new Date().getTime()
179610
179619
  }
179611
- Object(api["p" /* getVideoPic */])(paramPic)
179620
+ Object(api["q" /* getVideoPic */])(paramPic)
179612
179621
  .then((res) => {
179613
179622
  this.loading = false;
179614
179623
  if (res && res.size >500) {
@@ -180031,7 +180040,7 @@ var parkingSignLayervue_type_template_id_7c849bfc_scoped_true_staticRenderFns =
180031
180040
  camId: this.camId,
180032
180041
  timestamp: new Date().getTime()
180033
180042
  }
180034
- Object(api["p" /* getVideoPic */])(paramPic)
180043
+ Object(api["q" /* getVideoPic */])(paramPic)
180035
180044
  .then((res) => {
180036
180045
  this.loading = false;
180037
180046
  if (res && res.size >500) {
@@ -180326,7 +180335,7 @@ var baseStationLayervue_type_template_id_c19e8356_scoped_true_staticRenderFns =
180326
180335
  camId: this.camId,
180327
180336
  timestamp: new Date().getTime()
180328
180337
  }
180329
- Object(api["p" /* getVideoPic */])(paramPic)
180338
+ Object(api["q" /* getVideoPic */])(paramPic)
180330
180339
  .then((res) => {
180331
180340
  this.loading = false;
180332
180341
  if (res && res.size >500) {
@@ -180569,7 +180578,7 @@ var VideoPlayNetLayervue_type_template_id_32f47a90_scoped_true_staticRenderFns =
180569
180578
  userName: "userGisMap",
180570
180579
  userDiffId: "1"
180571
180580
  }
180572
- Object(api["o" /* getVideo */])(param)
180581
+ Object(api["p" /* getVideo */])(param)
180573
180582
  .then((res) => {
180574
180583
  this.videoUrl = res.data.liveUrl
180575
180584
  if (flv_default.a.isSupported()) {
@@ -180596,7 +180605,7 @@ var VideoPlayNetLayervue_type_template_id_32f47a90_scoped_true_staticRenderFns =
180596
180605
  this.$emit('videoUrlChange', this.videoUrl)
180597
180606
  if(this.presetPosition !=null && this.presetPosition !=''){
180598
180607
  //云台控制-预置位
180599
- Object(api["x" /* presetControl */])(this.camId, this.presetPosition);
180608
+ Object(api["y" /* presetControl */])(this.camId, this.presetPosition);
180600
180609
  }
180601
180610
  }
180602
180611
  }
@@ -180939,7 +180948,7 @@ var VideoPlayNetLayer_component = Object(componentNormalizer["a" /* default */])
180939
180948
  //sessionStorage.setItem('sdhsg_its_app-1.6.12-uuid','admin')
180940
180949
  isGoto = false;
180941
180950
  //获取authCode
180942
- Object(api["c" /* getAuthCode */])(sessionStorage.getItem('sdhsg_its_app-1.6.12-uuid')).then((res) => {
180951
+ Object(api["d" /* getAuthCode */])(sessionStorage.getItem('sdhsg_its_app-1.6.12-uuid')).then((res) => {
180943
180952
  if(res.code == 0){
180944
180953
  window.open(item.jumpUrl.replace('{authCode}',res.data));
180945
180954
  }else{
@@ -180981,7 +180990,7 @@ var VideoPlayNetLayer_component = Object(componentNormalizer["a" /* default */])
180981
180990
  camId: this.camId,
180982
180991
  timestamp: new Date().getTime()
180983
180992
  }
180984
- Object(api["p" /* getVideoPic */])(paramPic)
180993
+ Object(api["q" /* getVideoPic */])(paramPic)
180985
180994
  .then((res) => {
180986
180995
  this.loading = false;
180987
180996
  if (res && res.size >500) {
@@ -181519,7 +181528,7 @@ var pivotLayervue_type_template_id_2c87731c_scoped_true_staticRenderFns = []
181519
181528
  camId: this.camId,
181520
181529
  timestamp: new Date().getTime()
181521
181530
  }
181522
- Object(api["p" /* getVideoPic */])(paramPic)
181531
+ Object(api["q" /* getVideoPic */])(paramPic)
181523
181532
  .then((res) => {
181524
181533
  this.loading = false;
181525
181534
  if (res && res.size >500) {
@@ -181788,7 +181797,7 @@ var interchangeLayervue_type_template_id_0decb4d0_scoped_true_staticRenderFns =
181788
181797
  camId: this.camId,
181789
181798
  timestamp: new Date().getTime()
181790
181799
  }
181791
- Object(api["p" /* getVideoPic */])(paramPic)
181800
+ Object(api["q" /* getVideoPic */])(paramPic)
181792
181801
  .then((res) => {
181793
181802
  this.loading = false;
181794
181803
  if (res && res.size >500) {
@@ -183201,7 +183210,7 @@ var stationLayervue_type_template_id_190bfc05_scoped_true_staticRenderFns = [fun
183201
183210
  camId: this.camId,
183202
183211
  timestamp: new Date().getTime()
183203
183212
  }
183204
- Object(api["p" /* getVideoPic */])(paramPic)
183213
+ Object(api["q" /* getVideoPic */])(paramPic)
183205
183214
  .then((res) => {
183206
183215
  this.loading = false;
183207
183216
  if (res && res.size >500) {
@@ -183619,7 +183628,7 @@ var bridgeLayervue_type_template_id_2051ff00_scoped_true_staticRenderFns = [func
183619
183628
  camId: this.camId,
183620
183629
  timestamp: new Date().getTime()
183621
183630
  }
183622
- Object(api["p" /* getVideoPic */])(paramPic)
183631
+ Object(api["q" /* getVideoPic */])(paramPic)
183623
183632
  .then((res) => {
183624
183633
  this.loading = false;
183625
183634
  if (res && res.size >500) {
@@ -183960,7 +183969,7 @@ var tunnelLayervue_type_template_id_0fb53471_scoped_true_staticRenderFns = []
183960
183969
  camId: this.camId,
183961
183970
  timestamp: new Date().getTime()
183962
183971
  }
183963
- Object(api["p" /* getVideoPic */])(paramPic)
183972
+ Object(api["q" /* getVideoPic */])(paramPic)
183964
183973
  .then((res) => {
183965
183974
  this.loading = false;
183966
183975
  if (res && res.size >500) {
@@ -184294,7 +184303,7 @@ var ETCLayervue_type_template_id_23a620d8_scoped_true_staticRenderFns = [functio
184294
184303
  camId: this.camId,
184295
184304
  timestamp: new Date().getTime()
184296
184305
  }
184297
- Object(api["p" /* getVideoPic */])(paramPic)
184306
+ Object(api["q" /* getVideoPic */])(paramPic)
184298
184307
  .then((res) => {
184299
184308
  this.loading = false;
184300
184309
  if (res && res.size >500) {
@@ -185287,7 +185296,7 @@ var organizationLayervue_type_template_id_5bdc7018_scoped_true_staticRenderFns =
185287
185296
  camId: this.camId,
185288
185297
  timestamp: new Date().getTime()
185289
185298
  }
185290
- Object(api["p" /* getVideoPic */])(paramPic)
185299
+ Object(api["q" /* getVideoPic */])(paramPic)
185291
185300
  .then((res) => {
185292
185301
  this.loading = false;
185293
185302
  if (res && res.size >500) {
@@ -185326,7 +185335,7 @@ var organizationLayervue_type_template_id_5bdc7018_scoped_true_staticRenderFns =
185326
185335
  userName: "userGisMap",
185327
185336
  userDiffId: "1"
185328
185337
  }
185329
- Object(api["o" /* getVideo */])(param)
185338
+ Object(api["p" /* getVideo */])(param)
185330
185339
  .then((res) => {
185331
185340
  this.videoUrl = res.data.liveUrl
185332
185341
  if (flv_default.a.isSupported()) {
@@ -185898,7 +185907,7 @@ var roadVms = __webpack_require__("cee8");
185898
185907
  this.nearbyCameraList2 = [];
185899
185908
  this.showText = false;
185900
185909
  this.showText2 = false;
185901
- api["t" /* nearbyCamera */](
185910
+ api["u" /* nearbyCamera */](
185902
185911
  params,
185903
185912
  this.$GlobalConfig.trafficMonitorUrl,
185904
185913
  this.$GlobalConfig.trafficMonitorType
@@ -185955,7 +185964,7 @@ var roadVms = __webpack_require__("cee8");
185955
185964
  this.nearbyVMSList2 = [];
185956
185965
  this.showText = false;
185957
185966
  this.showText2 = false;
185958
- api["u" /* nearbyVMS */](
185967
+ api["v" /* nearbyVMS */](
185959
185968
  params,
185960
185969
  this.$GlobalConfig.trafficMonitorUrl,
185961
185970
  this.$GlobalConfig.trafficMonitorType
@@ -186012,7 +186021,7 @@ var roadVms = __webpack_require__("cee8");
186012
186021
  this.videoInfo = {};
186013
186022
  this.videoInfo2 = {};
186014
186023
  let _this = this;
186015
- api["v" /* openCam */](
186024
+ api["w" /* openCam */](
186016
186025
  camId,
186017
186026
  this.$GlobalConfig.trafficMonitorUrl,
186018
186027
  this.$GlobalConfig.trafficMonitorType,
@@ -186433,12 +186442,12 @@ var trafficEventLayer_component = Object(componentNormalizer["a" /* default */])
186433
186442
  )
186434
186443
 
186435
186444
  /* harmony default export */ var trafficEventLayer = (trafficEventLayer_component.exports);
186436
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7149c62c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/gis-map/src/component/eventLayer/perceptionEventLayer.vue?vue&type=template&id=6f22e751&
186437
- var perceptionEventLayervue_type_template_id_6f22e751_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"perceptionEventLayer"},[_c('div',{staticClass:"discontent"},[_c('div',{staticClass:"content_l"},[_c('div',{staticClass:"topCon"},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.videoActive),expression:"videoActive"}],staticClass:"btnsCarousel"},[_c('el-button',{staticClass:"leftCarousel",attrs:{"disabled":_vm.leftCarouselBtn,"icon":"el-icon-caret-left","circle":"","size":"mini"},on:{"click":function($event){return _vm.switchVideo('left')}}}),_c('el-button',{staticClass:"rightCarousel",attrs:{"disabled":_vm.rightCarouselBtn,"icon":"el-icon-caret-right","circle":"","size":"mini"},on:{"click":function($event){return _vm.switchVideo('right')}}})],1),_c('div',{staticClass:"videoBox"},[_c('i',{directives:[{name:"show",rawName:"v-show",value:(_vm.videoActive),expression:"videoActive"}],staticClass:"el-icon-full-screen",class:_vm.fullScreenZoom,attrs:{"title":_vm.fullscreen ? '退出全屏' : '全屏'},on:{"click":function($event){return _vm.handleFullScreen($event)}}}),_c('video',{directives:[{name:"show",rawName:"v-show",value:(_vm.videoActive),expression:"videoActive"}],staticStyle:{"object-fit":"fill"},attrs:{"autoplay":"","width":"100%","height":"100%","id":"videoElement"}})]),_c('img',{directives:[{name:"show",rawName:"v-show",value:(_vm.imgActive),expression:"imgActive"}],staticClass:"xcImg",staticStyle:{"cursor":"pointer"},attrs:{"src":_vm.imgUrl,"alt":""},on:{"click":function($event){return _vm.imgx2($event)}}}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.imgVideoActive),expression:"imgVideoActive"}],staticClass:"videoBox"},[_c('i',{directives:[{name:"show",rawName:"v-show",value:(_vm.imgVideoActive),expression:"imgVideoActive"}],staticClass:"el-icon-full-screen",class:_vm.fullScreenZoom2,attrs:{"title":_vm.fullscreen ? '退出全屏' : '全屏'},on:{"click":function($event){return _vm.handleFullScreen($event)}}}),_c('video',{directives:[{name:"show",rawName:"v-show",value:(_vm.imgVideoActive),expression:"imgVideoActive"}],staticStyle:{"object-fit":"fill"},attrs:{"autoplay":"","loop":"","width":"100%","height":"100%","src":_vm.imgVideoUrl}})]),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.popupAttr.dataSource == 2),expression:"popupAttr.dataSource == 2"}],staticClass:"btns"},[_c('div',{class:_vm.btnImgActive,on:{"click":function($event){return _vm.showActive('video')}}},[_vm._v("视频")]),_c('div',{class:_vm.btnVideoActive,on:{"click":function($event){return _vm.showActive('img')}}},[_vm._v("图像")])])]),_c('div',{staticClass:"dmcll"},[(_vm.echartsIsShow)?_c('div',{staticClass:"noInfoText"},[_vm._v("断面车流量暂无数据")]):_vm._e(),_c('div',{ref:"etCharts",staticStyle:{"height":"0.885416rem","width":"100%"}})])]),_c('div',{staticClass:"content_r"},[_c('div',{staticClass:"item"},[_c('span',{staticClass:"lable"},[_vm._v("事件地点:")]),_c('span',{staticStyle:{"padding-top":"0.0104166rem"}},[_vm._v(_vm._s(_vm.popupAttr.location))]),_vm._v(" "),(_vm.popupAttr.eventType !== '大雾')?_c('span',{staticStyle:{"padding-top":"0.0104166rem"}},[_vm._v(_vm._s(_vm.popupAttr.stakeNumber))]):_vm._e(),_vm._v(" "),(_vm.popupAttr.eventType === '大雾')?_c('span',{staticStyle:{"padding-top":"0.0104166rem"}},[_vm._v(_vm._s(_vm.popupAttr.beginPile)+" ~")]):_vm._e(),_vm._v(" "),(_vm.popupAttr.eventType === '大雾')?_c('span',{staticStyle:{"padding-top":"0.0104166rem"}},[_vm._v(_vm._s(_vm.popupAttr.endPile))]):_vm._e(),_vm._v(" "),(_vm.popupAttr.eventType !== '大雾')?_c('span',[_vm._v(_vm._s(_vm.eventDirection))]):_vm._e()]),_c('div',{staticClass:"item"},[_c('span',{staticClass:"lable"},[_vm._v("事件类型:")]),_c('span',[_vm._v(_vm._s(_vm.trafficMainName))])]),_c('div',{staticClass:"item"},[_c('span',{staticClass:"lable"},[_vm._v("细分类别:")]),_c('span',[_vm._v(_vm._s(_vm.trafficSubName))])]),_c('div',{staticClass:"item"},[_c('span',{staticClass:"lable"},[_vm._v("事件来源:")]),_c('span',[_vm._v(_vm._s(_vm.popupAttr.eventSource))])]),_c('div',{staticClass:"item"},[_c('span',{staticClass:"lable"},[_vm._v("事件描述:")]),_c('el-input',{attrs:{"type":"textarea","rows":4},on:{"blur":_vm.updataEvent},model:{value:(_vm.eventForm.eventDis),callback:function ($$v) {_vm.$set(_vm.eventForm, "eventDis", $$v)},expression:"eventForm.eventDis"}})],1),_c('div',{staticClass:"item"},[_c('span',{staticClass:"lable"},[_vm._v("报警时间:")]),_c('span',[_vm._v(_vm._s(_vm.popupAttr.occurTime))])]),_c('div',{staticClass:"item"},[_c('span',{staticClass:"lable"},[_vm._v("影响车道:")]),_c('el-checkbox-group',{attrs:{"text-color":"#fff !important"},on:{"input":_vm.updataEvent},model:{value:(_vm.eventForm.enentCd),callback:function ($$v) {_vm.$set(_vm.eventForm, "enentCd", $$v)},expression:"eventForm.enentCd"}},[_c('el-checkbox-button',{key:"1",attrs:{"label":"1"}},[_vm._v("1")]),_c('el-checkbox-button',{key:"2",attrs:{"label":"2"}},[_vm._v("2")]),_c('el-checkbox-button',{key:"4",attrs:{"label":"4"}},[_vm._v("3")]),_c('el-checkbox-button',{key:"5",attrs:{"label":"5"}},[_vm._v("4")]),_c('el-checkbox-button',{key:"3",attrs:{"label":"3"}},[_vm._v("应急")])],1)],1),_c('div',{staticClass:"item"},[_c('span',{staticClass:"lable"},[_vm._v("持续时间:")]),_c('span',[_vm._v(_vm._s(_vm.duration))])]),_c('div',{staticClass:"item"},[_c('span',{staticClass:"lable"},[_vm._v("天气情况:")]),_c('span',[_vm._v(_vm._s(_vm.weatherDescription))])]),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.perceptionEventReleaseShow),expression:"perceptionEventReleaseShow"}],staticClass:"item"},[_c('span',{staticClass:"lable"},[_vm._v("解除原因:")]),_c('el-radio-group',{staticStyle:{"width":"1.3rem"},model:{value:(_vm.popupAttr.releaseReason),callback:function ($$v) {_vm.$set(_vm.popupAttr, "releaseReason", $$v)},expression:"popupAttr.releaseReason"}},[_c('el-row',[_c('el-col',{attrs:{"span":12}},[_c('el-radio',{attrs:{"label":1}},[_vm._v("误报解除")])],1),_c('el-col',{attrs:{"span":12}},[_c('el-radio',{attrs:{"label":2}},[_vm._v("事件已结束")])],1),_c('el-col',{attrs:{"span":12}},[_c('el-radio',{attrs:{"label":3}},[_vm._v("无需处理事件")])],1),_c('el-col',{attrs:{"span":12}},[_c('el-radio',{attrs:{"label":4}},[_vm._v("其他")])],1)],1)],1)],1),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.perceptionEventReleaseShow),expression:"perceptionEventReleaseShow"}],staticClass:"item"},[_c('span',{staticClass:"lable"},[_vm._v("解除描述:")]),_c('el-input',{attrs:{"type":"textarea","rows":2},on:{"blur":_vm.updataEvent},model:{value:(_vm.popupAttr.reasonDesc),callback:function ($$v) {_vm.$set(_vm.popupAttr, "reasonDesc", $$v)},expression:"popupAttr.reasonDesc"}})],1)]),_c('div',{staticStyle:{"clear":"both"}}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.shouldShow),expression:"shouldShow"}],staticClass:"content_b"},[_c('div',{staticClass:"btn",on:{"click":_vm.schedulingSettings}},[_vm._v("调度处置")]),_c('div',{staticClass:"btn btn_c",on:{"click":_vm.terminationOfAlarm}},[_vm._v("事件解除")])])])])}
186438
- var perceptionEventLayervue_type_template_id_6f22e751_staticRenderFns = []
186445
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7149c62c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/gis-map/src/component/eventLayer/perceptionEventLayer.vue?vue&type=template&id=8b626b3c&
186446
+ var perceptionEventLayervue_type_template_id_8b626b3c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading),expression:"loading"}],staticClass:"perceptionEventLayer",attrs:{"element-loading-background":"rgba(4, 27, 51, 0.5)"}},[_c('div',{staticClass:"discontent"},[_c('div',{staticClass:"content_l"},[_c('div',{staticClass:"topCon"},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.videoActive),expression:"videoActive"}],staticClass:"btnsCarousel"},[_c('el-button',{staticClass:"leftCarousel",attrs:{"disabled":_vm.leftCarouselBtn,"icon":"el-icon-caret-left","circle":"","size":"mini"},on:{"click":function($event){return _vm.switchVideo('left')}}}),_c('el-button',{staticClass:"rightCarousel",attrs:{"disabled":_vm.rightCarouselBtn,"icon":"el-icon-caret-right","circle":"","size":"mini"},on:{"click":function($event){return _vm.switchVideo('right')}}})],1),_c('div',{staticClass:"videoBox"},[_c('i',{directives:[{name:"show",rawName:"v-show",value:(_vm.videoActive),expression:"videoActive"}],staticClass:"el-icon-full-screen",class:_vm.fullScreenZoom,attrs:{"title":_vm.fullscreen ? '退出全屏' : '全屏'},on:{"click":function($event){return _vm.handleFullScreen($event)}}}),_c('video',{directives:[{name:"show",rawName:"v-show",value:(_vm.videoActive),expression:"videoActive"}],staticStyle:{"object-fit":"fill"},attrs:{"autoplay":"","width":"100%","height":"100%","id":"videoElement"}})]),_c('img',{directives:[{name:"show",rawName:"v-show",value:(_vm.imgActive),expression:"imgActive"}],staticClass:"xcImg",staticStyle:{"cursor":"pointer"},attrs:{"src":_vm.imgUrl,"alt":""},on:{"click":function($event){return _vm.imgx2($event)}}}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.imgVideoActive),expression:"imgVideoActive"}],staticClass:"videoBox"},[_c('i',{directives:[{name:"show",rawName:"v-show",value:(_vm.imgVideoActive),expression:"imgVideoActive"}],staticClass:"el-icon-full-screen",class:_vm.fullScreenZoom2,attrs:{"title":_vm.fullscreen ? '退出全屏' : '全屏'},on:{"click":function($event){return _vm.handleFullScreen($event)}}}),_c('video',{directives:[{name:"show",rawName:"v-show",value:(_vm.imgVideoActive),expression:"imgVideoActive"}],staticStyle:{"object-fit":"fill"},attrs:{"autoplay":"","loop":"","width":"100%","height":"100%","src":_vm.imgVideoUrl}})]),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.popupAttr.dataSource == 2),expression:"popupAttr.dataSource == 2"}],staticClass:"btns"},[_c('div',{class:_vm.btnImgActive,on:{"click":function($event){return _vm.showActive('video')}}},[_vm._v("视频")]),_c('div',{class:_vm.btnVideoActive,on:{"click":function($event){return _vm.showActive('img')}}},[_vm._v("图像")])])]),_c('div',{staticClass:"dmcll"},[(_vm.echartsIsShow)?_c('div',{staticClass:"noInfoText"},[_vm._v("断面车流量暂无数据")]):_vm._e(),_c('div',{ref:"etCharts",staticStyle:{"height":"0.885416rem","width":"100%"}})])]),_c('div',{staticClass:"content_r"},[_c('div',{staticClass:"item"},[_c('span',{staticClass:"lable"},[_vm._v("事件地点:")]),_c('span',{staticStyle:{"padding-top":"0.0104166rem"}},[_vm._v(_vm._s(_vm.popupAttr.location))]),_vm._v(" "),(_vm.popupAttr.eventType !== '大雾')?_c('span',{staticStyle:{"padding-top":"0.0104166rem"}},[_vm._v(_vm._s(_vm.popupAttr.stakeNumber))]):_vm._e(),_vm._v(" "),(_vm.popupAttr.eventType === '大雾')?_c('span',{staticStyle:{"padding-top":"0.0104166rem"}},[_vm._v(_vm._s(_vm.popupAttr.beginPile)+" ~")]):_vm._e(),_vm._v(" "),(_vm.popupAttr.eventType === '大雾')?_c('span',{staticStyle:{"padding-top":"0.0104166rem"}},[_vm._v(_vm._s(_vm.popupAttr.endPile))]):_vm._e(),_vm._v(" "),(_vm.popupAttr.eventType !== '大雾')?_c('span',[_vm._v(_vm._s(_vm.eventDirection))]):_vm._e()]),_c('div',{staticClass:"item"},[_c('span',{staticClass:"lable"},[_vm._v("事件类型:")]),_c('el-select',{staticStyle:{"width":"70%"},on:{"change":_vm.mainCodeChange},model:{value:(_vm.popupAttr.trafficMainCode),callback:function ($$v) {_vm.$set(_vm.popupAttr, "trafficMainCode", $$v)},expression:"popupAttr.trafficMainCode"}},_vm._l((_vm.eventTypeList),function(item,i){return _c('el-option',{key:i,attrs:{"label":item.trafficMainName,"value":item.trafficMainCode}})}),1)],1),_c('div',{staticClass:"item"},[_c('span',{staticClass:"lable"},[_vm._v("细分类别:")]),_c('el-select',{staticStyle:{"width":"70%"},on:{"change":_vm.subCodeChange},model:{value:(_vm.popupAttr.trafficSubCode),callback:function ($$v) {_vm.$set(_vm.popupAttr, "trafficSubCode", $$v)},expression:"popupAttr.trafficSubCode"}},_vm._l((_vm.subEventTypeList),function(item,i){return _c('el-option',{key:i,attrs:{"label":item.trafficSubName,"value":item.trafficSubCode}})}),1)],1),_c('div',{staticClass:"item"},[_c('span',{staticClass:"lable"},[_vm._v("事件来源:")]),_c('span',[_vm._v(_vm._s(_vm.popupAttr.eventSource))])]),_c('div',{staticClass:"item"},[_c('span',{staticClass:"lable"},[_vm._v("事件描述:")]),_c('el-input',{attrs:{"type":"textarea","rows":4},on:{"blur":_vm.updataEvent},model:{value:(_vm.eventForm.eventDis),callback:function ($$v) {_vm.$set(_vm.eventForm, "eventDis", $$v)},expression:"eventForm.eventDis"}})],1),_c('div',{staticClass:"item"},[_c('span',{staticClass:"lable"},[_vm._v("报警时间:")]),_c('span',[_vm._v(_vm._s(_vm.popupAttr.occurTime))])]),_c('div',{staticClass:"item"},[_c('span',{staticClass:"lable"},[_vm._v("影响车道:")]),_c('el-checkbox-group',{attrs:{"text-color":"#fff !important"},on:{"input":_vm.updataEvent},model:{value:(_vm.eventForm.enentCd),callback:function ($$v) {_vm.$set(_vm.eventForm, "enentCd", $$v)},expression:"eventForm.enentCd"}},[_c('el-checkbox-button',{key:"1",attrs:{"label":"1"}},[_vm._v("1")]),_c('el-checkbox-button',{key:"2",attrs:{"label":"2"}},[_vm._v("2")]),_c('el-checkbox-button',{key:"4",attrs:{"label":"4"}},[_vm._v("3")]),_c('el-checkbox-button',{key:"5",attrs:{"label":"5"}},[_vm._v("4")]),_c('el-checkbox-button',{key:"3",attrs:{"label":"3"}},[_vm._v("应急")])],1)],1),_c('div',{staticClass:"item"},[_c('span',{staticClass:"lable"},[_vm._v("持续时间:")]),_c('span',[_vm._v(_vm._s(_vm.duration))])]),_c('div',{staticClass:"item"},[_c('span',{staticClass:"lable"},[_vm._v("天气情况:")]),_c('span',[_vm._v(_vm._s(_vm.weatherDescription))])]),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.perceptionEventReleaseShow),expression:"perceptionEventReleaseShow"}],staticClass:"item"},[_c('span',{staticClass:"lable"},[_vm._v("解除原因:")]),_c('el-radio-group',{staticStyle:{"width":"1.3rem"},model:{value:(_vm.popupAttr.releaseReason),callback:function ($$v) {_vm.$set(_vm.popupAttr, "releaseReason", $$v)},expression:"popupAttr.releaseReason"}},[_c('el-row',[_c('el-col',{attrs:{"span":12}},[_c('el-radio',{attrs:{"label":1}},[_vm._v("误报解除")])],1),_c('el-col',{attrs:{"span":12}},[_c('el-radio',{attrs:{"label":2}},[_vm._v("事件已结束")])],1),_c('el-col',{attrs:{"span":12}},[_c('el-radio',{attrs:{"label":3}},[_vm._v("无需处理事件")])],1),_c('el-col',{attrs:{"span":12}},[_c('el-radio',{attrs:{"label":4}},[_vm._v("其他")])],1)],1)],1)],1),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.perceptionEventReleaseShow),expression:"perceptionEventReleaseShow"}],staticClass:"item"},[_c('span',{staticClass:"lable"},[_vm._v("解除描述:")]),_c('el-input',{attrs:{"type":"textarea","rows":2},on:{"blur":_vm.updataEvent},model:{value:(_vm.popupAttr.reasonDesc),callback:function ($$v) {_vm.$set(_vm.popupAttr, "reasonDesc", $$v)},expression:"popupAttr.reasonDesc"}})],1)]),_c('div',{staticStyle:{"clear":"both"}}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.shouldShow),expression:"shouldShow"}],staticClass:"content_b"},[_c('div',{staticClass:"btn",on:{"click":_vm.schedulingSettings}},[_vm._v("事件确认")]),_c('div',{staticClass:"btn btn_c",on:{"click":_vm.terminationOfAlarm}},[_vm._v("事件解除")])])])])}
186447
+ var perceptionEventLayervue_type_template_id_8b626b3c_staticRenderFns = []
186439
186448
 
186440
186449
 
186441
- // CONCATENATED MODULE: ./packages/gis-map/src/component/eventLayer/perceptionEventLayer.vue?vue&type=template&id=6f22e751&
186450
+ // CONCATENATED MODULE: ./packages/gis-map/src/component/eventLayer/perceptionEventLayer.vue?vue&type=template&id=8b626b3c&
186442
186451
 
186443
186452
  // EXTERNAL MODULE: ./node_modules/swiper/css/swiper.min.css
186444
186453
  var swiper_min = __webpack_require__("f4bd");
@@ -186657,6 +186666,12 @@ var swiper_min = __webpack_require__("f4bd");
186657
186666
  //
186658
186667
  //
186659
186668
  //
186669
+ //
186670
+ //
186671
+ //
186672
+ //
186673
+ //
186674
+ //
186660
186675
 
186661
186676
  //import flvjs from "flv.js";
186662
186677
 
@@ -186681,6 +186696,8 @@ var swiper_min = __webpack_require__("f4bd");
186681
186696
  eventDis: "",
186682
186697
  enentCd: [],
186683
186698
  },
186699
+ eventTypeList: [],
186700
+ subEventTypeList: [],
186684
186701
  echartsIsShow: false,
186685
186702
  messageEvent: true,
186686
186703
  // dispatchDialog: false,
@@ -186714,6 +186731,7 @@ var swiper_min = __webpack_require__("f4bd");
186714
186731
  fullscreen: null,
186715
186732
  masterDetailInfo: null,
186716
186733
  perceptionEventReleaseShow: false,
186734
+ loading: false,
186717
186735
  };
186718
186736
  },
186719
186737
  mounted() {
@@ -186731,6 +186749,35 @@ var swiper_min = __webpack_require__("f4bd");
186731
186749
  }
186732
186750
  this.fullscreen = !this.fullscreen;
186733
186751
  },
186752
+ getEventTypeList(eventTypeCode) {
186753
+ this.eventTypeList = [];
186754
+ this.subEventTypeList = [];
186755
+ Object(api["c" /* eventConvertType */])(
186756
+ eventTypeCode,
186757
+ this.$GlobalConfig.trafficMonitorUrl,
186758
+ this.$GlobalConfig.trafficMonitorType
186759
+ ).then((data) => {
186760
+ this.eventTypeList = data.data || [];
186761
+ this.subEventTypeList = data.data[0].childList || [];
186762
+ });
186763
+ },
186764
+ // 主类型改变
186765
+ mainCodeChange(val) {
186766
+ let obj = this.eventTypeList.find((e) => e.trafficMainCode == val);
186767
+ this.popupAttr.trafficMainCode = val;
186768
+ this.popupAttr.trafficMainName = obj.trafficMainName;
186769
+ this.subEventTypeList = obj.childList || [];
186770
+ this.popupAttr.trafficSubCode = this.subEventTypeList[0].trafficSubCode;
186771
+ this.popupAttr.trafficSubName = this.subEventTypeList[0].trafficSubName;
186772
+ this.popupAttr.eventCode = this.subEventTypeList[0].eventCode;
186773
+ },
186774
+ // 子类型改变
186775
+ subCodeChange(val) {
186776
+ let obj = this.subEventTypeList.find((e) => e.trafficSubCode == val);
186777
+ this.popupAttr.trafficSubCode = val;
186778
+ this.popupAttr.trafficSubName = obj.trafficSubName;
186779
+ this.popupAttr.eventCode = obj.eventCode;
186780
+ },
186734
186781
  imgx2(e) {
186735
186782
  console.log(e.target.src);
186736
186783
  this.$emit("imgDoubleClick", e.target.src);
@@ -186742,6 +186789,7 @@ var swiper_min = __webpack_require__("f4bd");
186742
186789
  return value;
186743
186790
  },
186744
186791
  _show() {
186792
+ this.loading = true;
186745
186793
  this.perceptionEventReleaseShow = false;
186746
186794
  window.addEventListener("fullscreenchange", () => {
186747
186795
  if (document.fullscreenElement) {
@@ -186913,9 +186961,10 @@ var swiper_min = __webpack_require__("f4bd");
186913
186961
  }
186914
186962
  }
186915
186963
  }
186964
+ this.getEventTypeList(this.popupAttr.eventTypecode);
186916
186965
  },
186917
186966
  initEventMainType() {
186918
- Object(api["h" /* getEventMainType */])().then((res) => {
186967
+ Object(api["i" /* getEventMainType */])().then((res) => {
186919
186968
  if (res != null && res.code == 0) {
186920
186969
  this.eventMainTypeList = res.data;
186921
186970
  }
@@ -186946,11 +186995,12 @@ var swiper_min = __webpack_require__("f4bd");
186946
186995
  this.videoList = [];
186947
186996
  //console.log('popupAttr',this.popupAttr)
186948
186997
  let reqData = { id: this.popupAttr.id };
186949
- Object(api["y" /* queryMasterDetail */])(
186998
+ Object(api["z" /* queryMasterDetail */])(
186950
186999
  reqData,
186951
187000
  this.$GlobalConfig.trafficMonitorUrl,
186952
187001
  this.$GlobalConfig.trafficMonitorType
186953
187002
  ).then((res) => {
187003
+ this.loading = false;
186954
187004
  console.log("queryMasterDetail.res", res);
186955
187005
  if (res.code == 0 && res.data != null) {
186956
187006
  this.masterDetailInfo = res.data;
@@ -186976,6 +187026,8 @@ var swiper_min = __webpack_require__("f4bd");
186976
187026
  this.rightCarouselBtn = true;
186977
187027
  }
186978
187028
  }
187029
+ }).catch(() => {
187030
+ this.loading = false;
186979
187031
  });
186980
187032
  },
186981
187033
  initWeatherByLonAndLat() {
@@ -186983,7 +187035,7 @@ var swiper_min = __webpack_require__("f4bd");
186983
187035
  lon: this.popupAttr.longitude,
186984
187036
  lat: this.popupAttr.latitude,
186985
187037
  };
186986
- Object(api["q" /* getWeatherByLonAndLat */])(reqData).then((res) => {
187038
+ Object(api["r" /* getWeatherByLonAndLat */])(reqData).then((res) => {
186987
187039
  if (res != null && res.code == 0) {
186988
187040
  this.weatherDescription = res.data.data;
186989
187041
  }
@@ -186993,8 +187045,15 @@ var swiper_min = __webpack_require__("f4bd");
186993
187045
  this.popupAttr.type = this.trafficEventType;
186994
187046
  },
186995
187047
  schedulingSettings() {
186996
- this.$emit("schedulingSettings", this.popupAttr, this.masterDetailInfo);
186997
- this.$emit("removeAllVideoPoint", this.popupAttr, this.masterDetailInfo);
187048
+ if(!this.popupAttr.trafficMainCode) return this.$message({message:'请选择事件类型',type:'warning'});
187049
+ if(!this.popupAttr.trafficSubCode) return this.$message({message:'请选择细分类型',type:'warning'});
187050
+ this.$confirm(`是否将本事件确认为 ${this.popupAttr.trafficMainName}(${this.popupAttr.trafficSubName})?`, '提示', {
187051
+ confirmButtonText: '确定',
187052
+ cancelButtonText: '取消',
187053
+ }).then(() => {
187054
+ this.$emit("schedulingSettings", this.popupAttr, this.masterDetailInfo);
187055
+ this.$emit("removeAllVideoPoint", this.popupAttr, this.masterDetailInfo);
187056
+ }).catch(() => {});
186998
187057
  },
186999
187058
  terminationOfAlarm() {
187000
187059
  if (this.perceptionEventReleaseShow) {
@@ -187175,7 +187234,7 @@ var swiper_min = __webpack_require__("f4bd");
187175
187234
  // camId: this.devId,
187176
187235
  // };
187177
187236
  // console.log("发送流请求", param);
187178
- Object(api["v" /* openCam */])(
187237
+ Object(api["w" /* openCam */])(
187179
187238
  devId,
187180
187239
  this.$GlobalConfig.trafficMonitorUrl,
187181
187240
  this.$GlobalConfig.trafficMonitorType,
@@ -187266,7 +187325,7 @@ var swiper_min = __webpack_require__("f4bd");
187266
187325
  eventDesc: this.eventForm.eventDis,
187267
187326
  lane: lanes,
187268
187327
  };
187269
- Object(api["B" /* updateEventMaster */])(reqData).then((res) => {
187328
+ Object(api["C" /* updateEventMaster */])(reqData).then((res) => {
187270
187329
  if (res.code == 0) {
187271
187330
  /* this.$message({
187272
187331
  message: "修改成功",
@@ -187340,10 +187399,21 @@ var swiper_min = __webpack_require__("f4bd");
187340
187399
  return className;
187341
187400
  },
187342
187401
  shouldShow() {
187343
- console.log('1111111111111111111111',this.specialId === this.popupAttr.deptId || this.specialId === this.popupAttr.deptPid ||this.specialId === 'YG1'||this.specialId === '');
187344
-
187345
- return this.specialId === this.popupAttr.deptId || this.specialId === this.popupAttr.deptPid ||this.specialId === 'YG1'||this.specialId === ''
187346
- },
187402
+ console.log(
187403
+ "1111111111111111111111",
187404
+ this.specialId === this.popupAttr.deptId ||
187405
+ this.specialId === this.popupAttr.deptPid ||
187406
+ this.specialId === "YG1" ||
187407
+ this.specialId === ""
187408
+ );
187409
+
187410
+ return (
187411
+ this.specialId === this.popupAttr.deptId ||
187412
+ this.specialId === this.popupAttr.deptPid ||
187413
+ this.specialId === "YG1" ||
187414
+ this.specialId === ""
187415
+ );
187416
+ },
187347
187417
  },
187348
187418
  watch: {},
187349
187419
  });
@@ -187364,8 +187434,8 @@ var perceptionEventLayervue_type_style_index_0_scope_true_lang_css_ = __webpack_
187364
187434
 
187365
187435
  var perceptionEventLayer_component = Object(componentNormalizer["a" /* default */])(
187366
187436
  eventLayer_perceptionEventLayervue_type_script_lang_js_,
187367
- perceptionEventLayervue_type_template_id_6f22e751_render,
187368
- perceptionEventLayervue_type_template_id_6f22e751_staticRenderFns,
187437
+ perceptionEventLayervue_type_template_id_8b626b3c_render,
187438
+ perceptionEventLayervue_type_template_id_8b626b3c_staticRenderFns,
187369
187439
  false,
187370
187440
  null,
187371
187441
  null,
@@ -187516,7 +187586,7 @@ var cameraTreevue_type_template_id_74923d88_scoped_true_staticRenderFns = []
187516
187586
  // this.$emit('select', CheckE.checkedKeys.filter(item => !!item));
187517
187587
  },
187518
187588
  loadRoadList(node, resolve){
187519
- Object(api["e" /* getDimmdmroadriList */])({isAdminister: "1"}).then((res) =>{
187589
+ Object(api["f" /* getDimmdmroadriList */])({isAdminister: "1"}).then((res) =>{
187520
187590
  if(res !=null && res.data !=null){
187521
187591
  res.data.forEach((item) => {
187522
187592
  item.label = item.roadName;
@@ -187557,7 +187627,7 @@ var cameraTreevue_type_template_id_74923d88_scoped_true_staticRenderFns = []
187557
187627
  } else {
187558
187628
  params = { opmaCliqueId: '', opmaManagerCorpId: '' }
187559
187629
  }
187560
- Object(api["i" /* getFgsList */])(params).then((res) => {
187630
+ Object(api["j" /* getFgsList */])(params).then((res) => {
187561
187631
  res.data.forEach((item) => {
187562
187632
  item.label = item.opmaManagerCorpName
187563
187633
  item.disabledTmp = false
@@ -187614,7 +187684,7 @@ var cameraTreevue_type_template_id_74923d88_scoped_true_staticRenderFns = []
187614
187684
  return resolve([])
187615
187685
  }
187616
187686
  this.isBranch = true
187617
- Object(api["j" /* getOpmasubsectionriList */])({ opmaManagerCorpId: node.data.opmaManagerCorpId }).then((res) => {
187687
+ Object(api["k" /* getOpmasubsectionriList */])({ opmaManagerCorpId: node.data.opmaManagerCorpId }).then((res) => {
187618
187688
  if (res.data != null && res.data.length > 0) {
187619
187689
  const map = new Map()
187620
187690
  const datas = res.data.filter((key) => !map.has(key.roadName) && map.set(key.roadName, 1))
@@ -187637,7 +187707,7 @@ var cameraTreevue_type_template_id_74923d88_scoped_true_staticRenderFns = []
187637
187707
  return resolve([])
187638
187708
  }
187639
187709
  if (this.isBranch) {
187640
- Object(api["g" /* getEquipList */])({
187710
+ Object(api["h" /* getEquipList */])({
187641
187711
  devCategory: this.equipType,
187642
187712
  opmaManagerCorpId: node.data.opmaManagerId,
187643
187713
  roadId: node.data.roadId,
@@ -187658,7 +187728,7 @@ var cameraTreevue_type_template_id_74923d88_scoped_true_staticRenderFns = []
187658
187728
  })
187659
187729
  this.isEnd = true
187660
187730
  } else {
187661
- Object(api["j" /* getOpmasubsectionriList */])({ opmaManagerId: node.data.opmaManagerId }).then((res) => {
187731
+ Object(api["k" /* getOpmasubsectionriList */])({ opmaManagerId: node.data.opmaManagerId }).then((res) => {
187662
187732
  const map = new Map()
187663
187733
  const datas = res.data.filter((key) => !map.has(key.roadName) && map.set(key.roadName, 1))
187664
187734
  datas.forEach((item) => {
@@ -187678,7 +187748,7 @@ var cameraTreevue_type_template_id_74923d88_scoped_true_staticRenderFns = []
187678
187748
  if (this.typeNameLocal == 'danao') {
187679
187749
  return resolve([])
187680
187750
  }
187681
- Object(api["g" /* getEquipList */])({
187751
+ Object(api["h" /* getEquipList */])({
187682
187752
  devCategory: this.equipType,
187683
187753
  opmaManagerId: node.data.opmaManagerId,
187684
187754
  roadId: node.data.roadId,
@@ -187709,7 +187779,7 @@ var cameraTreevue_type_template_id_74923d88_scoped_true_staticRenderFns = []
187709
187779
  }
187710
187780
  },
187711
187781
  initRoadList() {
187712
- Object(api["e" /* getDimmdmroadriList */])({isAdminister: "1"}).then((res) =>{
187782
+ Object(api["f" /* getDimmdmroadriList */])({isAdminister: "1"}).then((res) =>{
187713
187783
  if(res !=null && res.data !=null){
187714
187784
  res.data.forEach((item) => {
187715
187785
  item.label = item.roadName;
@@ -188103,6 +188173,8 @@ var searchvue_type_template_id_276a7099_scoped_true_staticRenderFns = []
188103
188173
  "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAyVBMVEUARG4ARW8ARXAAR3EAR3IASHMASXQASnQAS3YATHgATXoATnkAT3kAVIAAVYEAVoIAWIQAWIUAWYUAXosAX4wAYI0AYY4AY5AAZJIAZ5QAbpwAcZ8AdaUAdqUAd6cAeqkAgrEAhLUAiLgAjb8Ak8UAlccAlsgAmMoAms0Am84AntAAo9YApNcApdgAptoAp9sAreEAsOQAs+gAs+kAtOgAtOkAteoAt+wAue8Au/AAv/YAwPYAwfcAwvkAw/oAxfsAxfwAyP////91s5qpAAAAAWJLR0RCENc99AAAALVJREFUOMvl0skSgjAQBNBGEHdBcd9xRcUtKG6o5P9/ypNFYopwtcq+5h0yMw2aEFBI81+g6TGrCSYiIPz22gAAnQEhD4YASsuHDKTHT0plYEepHAQiuC32UvAykdrKwBHAKAJ3AYQVKG4EMsWu//2H1eHz7uVtcpoZPgOu3BAde6pisG4woMfNmSUqgE2ZvWbBilKFBwBOLf7c8z5gEi0e5FzXIRdLVhijrrXOSkKj9B9qdULe+vxb2NAp6xsAAAAASUVORK5CYII=",
188104
188174
  weight_clear_D:
188105
188175
  'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYA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wDNok7X5+N0ir5xWqa30PX5FhffdNXu+acrr8//C+ge4ZPceWfqAAAAAElFTkSuQmCC',
188106
188178
  gradeChangePoint_img: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD0AAAA+CAYAAAHv8SPRAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAPaADAAQAAAABAAAAPgAAAAB2uXF/AAAdDElEQVRoBa1bCXhURbY+ffv2kh0IhGxACIsg++IyiKCgrCoMiOOOPnXAZXyOvnk6qz63Ged7MyoIAy4jIyMqDsjiiKLIIIoCASHKvoSdBEhI0un03vf9f92upglB0Dfny+1b996qOkudOnXOqYpIEyicdrJf6itDP4SiliXzGq0jLT0bJ263rIU7wxa/OfgTiVmW65UGkcaYCF+beF3glkkea6P0fbV+vPy90ZI/1VqE5H1GvVUbjFtGvyLzTxKxZNZVaexMXr46TaqD6CZmSbpLIQCe94Hv+TrVA39+/XnAkpd91p7amKWq7DoZs7osDYrURUXi6MZjSP3dmZJtOhJd4N0HFRGLxMbRQ6U/rjggytOg3fTagae90A+rDkWt3HVoNRfczA9ajRFwkwDz158FAkNXhUWORxTllEz6axEJoFKay+FwqMJsn1j3Z+lG4ni+TiTfLT12pnkMlxPvwXMqFGZgBKKWlPRo/I1UkeJZPmt/PVhIAGWS9oXNidk2w3DMr7asDm9iLMIQggEiWrtkTZe4nBpWy3Icb4wrGYTR0Rtb7ZFMRZss3/J+455vTsSsGgwUGSDLJwJxa0NV1Bq/sGFFsmKikBT1miNR65J8pzjfDoj4QQrJ4bAQyCiGR7JMiUz0yLKKqFzX2R5p1cG+upjVdatDwt/4oVNxKU53yMF7TomNfSjROVE9wyn9B6bLnCJLerdxOozb3m/cUZxlSHgHMAfi8tuL3MnG+bPq2VaypteL9fMccVLcgZhsLA/IBS0NuXp+48PGyWB8WYykUvkhwafWhthGQeXUbHWvud++q+GigoGSMEZhy9HgPx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fBtJib5YUvE1jP+v20Dzwq1yGv4dHubZwPDS4yW7ZHqMete4Z+jNLUbgaEoAYIPVMQPJz+IabDZmjDRmQxmIBBlkiZAzhO5E+4IXsJlko6RVcj1w1e7ZkBJuks6c0yP2xIHczJCfgNGytj1vrDsTIk/m8/8rPs7acReo6H78V0al88ctUhy31fYbZxd688ZwlOwxtc5jIhAB7VZgBPb4sDp+2PrbU2Spa1rUOqwraDYJALgr2zYXuIjMaY5eTOxqaqqA9zdn35seij3/twYwrxP5jplD5Ukf/e0SbTurR9tjm1tVd65WcZBYVZTncR1nzGsgztGOXQFhGpZpoqS0bVyU08qOR9PTZ8ffGTRxrih3CSc0l5lbxVmZ+54/ueZW1Ko37+tzGtO2zuzkyrablynYaV44gZ7pgYUASHM27Ew9hxDllOMxg3pLoqN7P638VYc3Tod/8HzckeW123NDAAAAAASUVORK5CYII=",
188107
188179
  iconTest: [
188108
188180
  //故障停车
@@ -188367,7 +188439,7 @@ var searchvue_type_template_id_276a7099_scoped_true_staticRenderFns = []
188367
188439
  }else if(this.organizationType ==3){
188368
188440
  params.opmaManagerId = this.organizationId;
188369
188441
  } */
188370
- Object(api["l" /* getQuerybasicdata */])(params).then((res) => {
188442
+ Object(api["m" /* getQuerybasicdata */])(params).then((res) => {
188371
188443
  this.restaurants = res.data;
188372
188444
  })
188373
188445
  },
@@ -189130,7 +189202,7 @@ var roadCameraPresetLayervue_type_template_id_1d7afaa3_scoped_true_staticRenderF
189130
189202
  userName: "userGisMap",
189131
189203
  userDiffId: "1"
189132
189204
  }
189133
- Object(api["o" /* getVideo */])(param)
189205
+ Object(api["p" /* getVideo */])(param)
189134
189206
  .then((res) => {
189135
189207
  this.videoUrl = res.data.liveUrl
189136
189208
  if (flv_default.a.isSupported()) {
@@ -189488,7 +189560,7 @@ var barrierCollisionWarningLayervue_type_template_id_262454b3_scoped_true_static
189488
189560
  camId: this.camId,
189489
189561
  timestamp: new Date().getTime()
189490
189562
  }
189491
- Object(api["p" /* getVideoPic */])(paramPic)
189563
+ Object(api["q" /* getVideoPic */])(paramPic)
189492
189564
  .then((res) => {
189493
189565
  this.loading = false;
189494
189566
  if (res && res.size >500) {
@@ -189839,7 +189911,7 @@ var bridgeHealthLayervue_type_template_id_d9da83b8_scoped_true_staticRenderFns =
189839
189911
  camId: this.camId,
189840
189912
  timestamp: new Date().getTime()
189841
189913
  }
189842
- Object(api["p" /* getVideoPic */])(paramPic)
189914
+ Object(api["q" /* getVideoPic */])(paramPic)
189843
189915
  .then((res) => {
189844
189916
  this.loading = false;
189845
189917
  if (res && res.size >500) {
@@ -190134,7 +190206,7 @@ var rsuLayervue_type_template_id_a3039a70_scoped_true_staticRenderFns = []
190134
190206
  camId: this.camId,
190135
190207
  timestamp: new Date().getTime()
190136
190208
  }
190137
- Object(api["p" /* getVideoPic */])(paramPic)
190209
+ Object(api["q" /* getVideoPic */])(paramPic)
190138
190210
  .then((res) => {
190139
190211
  this.loading = false;
190140
190212
  if (res && res.size >500) {
@@ -190429,7 +190501,7 @@ var awakenLayervue_type_template_id_47558512_scoped_true_staticRenderFns = []
190429
190501
  camId: this.camId,
190430
190502
  timestamp: new Date().getTime()
190431
190503
  }
190432
- Object(api["p" /* getVideoPic */])(paramPic)
190504
+ Object(api["q" /* getVideoPic */])(paramPic)
190433
190505
  .then((res) => {
190434
190506
  this.loading = false;
190435
190507
  if (res && res.size >500) {
@@ -190979,7 +191051,7 @@ var confluenceLayervue_type_template_id_70ab3549_scoped_true_staticRenderFns = [
190979
191051
  camId: this.camId,
190980
191052
  timestamp: new Date().getTime()
190981
191053
  }
190982
- Object(api["p" /* getVideoPic */])(paramPic)
191054
+ Object(api["q" /* getVideoPic */])(paramPic)
190983
191055
  .then((res) => {
190984
191056
  this.loading = false;
190985
191057
  if (res && res.size >500) {
@@ -191343,7 +191415,7 @@ var removeSnowLayervue_type_template_id_68d65c6e_scoped_true_staticRenderFns = [
191343
191415
  camId: this.camId,
191344
191416
  timestamp: new Date().getTime()
191345
191417
  }
191346
- Object(api["p" /* getVideoPic */])(paramPic)
191418
+ Object(api["q" /* getVideoPic */])(paramPic)
191347
191419
  .then((res) => {
191348
191420
  this.loading = false;
191349
191421
  if (res && res.size >500) {
@@ -191649,7 +191721,7 @@ var spikeLayervue_type_template_id_5719ddac_scoped_true_staticRenderFns = []
191649
191721
  camId: this.camId,
191650
191722
  timestamp: new Date().getTime()
191651
191723
  }
191652
- Object(api["p" /* getVideoPic */])(paramPic)
191724
+ Object(api["q" /* getVideoPic */])(paramPic)
191653
191725
  .then((res) => {
191654
191726
  this.loading = false;
191655
191727
  if (res && res.size >500) {
@@ -191944,7 +192016,7 @@ var distanceMarkerLayervue_type_template_id_0182b6e4_scoped_true_staticRenderFns
191944
192016
  camId: this.camId,
191945
192017
  timestamp: new Date().getTime()
191946
192018
  }
191947
- Object(api["p" /* getVideoPic */])(paramPic)
192019
+ Object(api["q" /* getVideoPic */])(paramPic)
191948
192020
  .then((res) => {
191949
192021
  this.loading = false;
191950
192022
  if (res && res.size >500) {
@@ -192239,7 +192311,7 @@ var sectionRadioLayervue_type_template_id_16077e28_scoped_true_staticRenderFns =
192239
192311
  camId: this.camId,
192240
192312
  timestamp: new Date().getTime()
192241
192313
  }
192242
- Object(api["p" /* getVideoPic */])(paramPic)
192314
+ Object(api["q" /* getVideoPic */])(paramPic)
192243
192315
  .then((res) => {
192244
192316
  this.loading = false;
192245
192317
  if (res && res.size >500) {
@@ -192534,7 +192606,7 @@ var beidouLayervue_type_template_id_0a262ba4_scoped_true_staticRenderFns = []
192534
192606
  camId: this.camId,
192535
192607
  timestamp: new Date().getTime()
192536
192608
  }
192537
- Object(api["p" /* getVideoPic */])(paramPic)
192609
+ Object(api["q" /* getVideoPic */])(paramPic)
192538
192610
  .then((res) => {
192539
192611
  this.loading = false;
192540
192612
  if (res && res.size >500) {
@@ -194415,7 +194487,7 @@ var emergencyLayervue_type_template_id_77225db4_scoped_true_staticRenderFns = []
194415
194487
  let req = {
194416
194488
  manageUnit: this.popupAttr.manageUnit,
194417
194489
  };
194418
- Object(api["f" /* getEmergencyData */])(req).then((res) => {
194490
+ Object(api["g" /* getEmergencyData */])(req).then((res) => {
194419
194491
  this.tableData = res.data;
194420
194492
  });
194421
194493
  },
@@ -194578,7 +194650,7 @@ var trafficSafetyLayervue_type_template_id_f55b98ec_scoped_true_staticRenderFns
194578
194650
  opmaManagerName: '',
194579
194651
  roadId: this.popupAttr.road_id
194580
194652
  }
194581
- Object(api["r" /* gettrafficSafetyData */])(data).then(res => {
194653
+ Object(api["s" /* gettrafficSafetyData */])(data).then(res => {
194582
194654
  this.equipMeaage = res.data[0]
194583
194655
  })
194584
194656
  },
@@ -194911,7 +194983,7 @@ var congestionSectionvue_type_template_id_4f7f5f2a_scoped_true_staticRenderFns =
194911
194983
  this.nearbyCameraList2 = []
194912
194984
  this.showText = false
194913
194985
  this.showText2 = false
194914
- api["t" /* nearbyCamera */](params, this.$GlobalConfig.trafficMonitorUrl, this.$GlobalConfig.trafficMonitorType).then(res => {
194986
+ api["u" /* nearbyCamera */](params, this.$GlobalConfig.trafficMonitorUrl, this.$GlobalConfig.trafficMonitorType).then(res => {
194915
194987
  if (res !=null && res.code == 0) {
194916
194988
  // 上行
194917
194989
  this.nearbyCameraList = res.data.UP
@@ -194962,7 +195034,7 @@ var congestionSectionvue_type_template_id_4f7f5f2a_scoped_true_staticRenderFns =
194962
195034
  this.nearbyVMSList2 = []
194963
195035
  this.showText = false
194964
195036
  this.showText2 = false
194965
- api["u" /* nearbyVMS */](params, this.$GlobalConfig.trafficMonitorUrl, this.$GlobalConfig.trafficMonitorType).then(res => {
195037
+ api["v" /* nearbyVMS */](params, this.$GlobalConfig.trafficMonitorUrl, this.$GlobalConfig.trafficMonitorType).then(res => {
194966
195038
  if (res !=null && res.code == 0) {
194967
195039
  // 上行
194968
195040
  this.nearbyVMSList = res.data.UP
@@ -195002,7 +195074,7 @@ var congestionSectionvue_type_template_id_4f7f5f2a_scoped_true_staticRenderFns =
195002
195074
  if (!camId) return
195003
195075
  this.videoInfo = {}
195004
195076
  this.videoInfo2 = {}
195005
- api["v" /* openCam */](camId, this.$GlobalConfig.trafficMonitorUrl, this.$GlobalConfig.trafficMonitorType, this.$GlobalConfig.netWorkType).then(res => {
195077
+ api["w" /* openCam */](camId, this.$GlobalConfig.trafficMonitorUrl, this.$GlobalConfig.trafficMonitorType, this.$GlobalConfig.netWorkType).then(res => {
195006
195078
  if (res !=null && res.data.recCode == '0') {
195007
195079
  name == 'playerUp' ? (this.videoInfo = res.data || {}) : (this.videoInfo2 = res.data || {})
195008
195080
  if (name == 'playerUp') {
@@ -196787,22 +196859,24 @@ class echartsLayer_EchartsglLayer {
196787
196859
  getPatrolAccidentLayerInterval: null,
196788
196860
  series: null,
196789
196861
  colorMap: [
196790
- '#FF4040',
196791
- '#FF8C00',
196792
- '#FFD700',
196793
- '#00ff33',
196794
- '#0033ff',
196795
- '#00ffff',
196796
- '#BF3EFF',
196797
- '#33FF9D',
196798
- '#DAA520',
196799
- '#E3E3E3'
196862
+ "#FF4040",
196863
+ "#FF8C00",
196864
+ "#FFD700",
196865
+ "#00ff33",
196866
+ "#0033ff",
196867
+ "#00ffff",
196868
+ "#BF3EFF",
196869
+ "#33FF9D",
196870
+ "#DAA520",
196871
+ "#E3E3E3",
196800
196872
  ],
196801
196873
  pieChartLayer: null,
196802
196874
  scatterChartLayer: null,
196803
196875
  chartElements: [],
196804
196876
  myChart: null,
196805
- scatterContainer: null
196877
+ scatterContainer: null,
196878
+ yzDistance: 1,
196879
+ pointGraphicArrCC: null
196806
196880
  };
196807
196881
  },
196808
196882
  methods: {
@@ -197425,7 +197499,38 @@ class echartsLayer_EchartsglLayer {
197425
197499
  },
197426
197500
  // 气象数据图层 -- 不需要区分状态
197427
197501
  initMeteorologicaldataLayer() {
197428
- Object(esri_loader["loadModules"])(["esri/layers/FeatureLayer"]).then(([FeatureLayer]) => {
197502
+ let that = this;
197503
+ Object(esri_loader["loadModules"])([
197504
+ "esri/layers/FeatureLayer",
197505
+ "esri/renderers/support/jsonUtils",
197506
+ ]).then(([FeatureLayer, rendererJsonUtils]) => {
197507
+ var Symbol1 = {
197508
+ type: "esriPMS",
197509
+ url: this.jiandanyuan_blue,
197510
+ width: 20 * this.styleZoom + "px",
197511
+ height: 20 * this.styleZoom + "px",
197512
+ };
197513
+ var Symbol2 = {
197514
+ type: "esriPMS",
197515
+ url: this.jiandanyuan_red,
197516
+ width: 30 * this.styleZoom + "px",
197517
+ height: 30 * this.styleZoom + "px",
197518
+ };
197519
+ var renderJson = {
197520
+ type: "uniqueValue",
197521
+ field1: "panduan",
197522
+ uniqueValueInfos: [
197523
+ {
197524
+ value: "1",
197525
+ symbol: Symbol1,
197526
+ },
197527
+ {
197528
+ value: "2",
197529
+ symbol: Symbol2,
197530
+ },
197531
+ ],
197532
+ };
197533
+ var renderer = rendererJsonUtils.fromJSON(renderJson);
197429
197534
  this.meteorologicaldataLayer = new FeatureLayer({
197430
197535
  id: "meteorologicaldataLayer",
197431
197536
  outFields: ["*"],
@@ -197473,6 +197578,11 @@ class echartsLayer_EchartsglLayer {
197473
197578
  alias: "opma_man_2",
197474
197579
  type: "string",
197475
197580
  },
197581
+ {
197582
+ name: "panduan",
197583
+ alias: "panduan",
197584
+ type: "string",
197585
+ },
197476
197586
  {
197477
197587
  name: "managerCorpId",
197478
197588
  alias: "managerCorpId",
@@ -197589,50 +197699,127 @@ class echartsLayer_EchartsglLayer {
197589
197699
  type: "double",
197590
197700
  },
197591
197701
  ],
197592
- featureReduction: this.clusterConfigNoFields,
197593
197702
  definitionExpression: this.makeRoadSql("meteorologicaldataLayer"),
197594
- renderer: {
197595
- type: "class-breaks",
197596
- field: "cluster_count",
197597
- defaultLabel: "1",
197598
- defaultSymbol: {
197599
- type: "picture-marker",
197600
- url: this.meteorologicalLayer_img,
197601
- width: 35 * this.styleZoom + "px",
197602
- height: 35 * this.styleZoom + "px",
197603
- // yoffset: "25px"
197604
- },
197605
- classBreakInfos: [
197606
- {
197607
- minValue: 2,
197608
- maxValue: 1000000,
197609
- symbol: {
197610
- type: "picture-marker",
197611
- url: this.meteorologicalLayer_img,
197612
- width: 35 * this.styleZoom + "px",
197613
- height: 35 * this.styleZoom + "px",
197614
- // yoffset: "20px"
197615
- },
197616
- },
197617
- ],
197618
- },
197703
+ renderer: renderer,
197704
+ // featureReduction: this.clusterConfigNoFields,
197619
197705
  });
197620
197706
  if (this.$GlobalConfig.meteorologicaldataLayer === true) {
197621
197707
  this.map.add(this.meteorologicaldataLayer);
197622
197708
  }
197623
197709
  this.meteorologicaldataLayer.visible = false;
197624
- this.getMeteorologicalLayer();
197710
+ this.getMeteorologicalLayer(false, this.yzDistance);
197625
197711
  setInterval(() => {
197626
- this.getMeteorologicalLayer(true);
197627
- }, 60 * 60 * 1000); //60*60*1000
197712
+ this.getMeteorologicalLayer(true, this.yzDistance);
197713
+ }, 60 * 60 * 1000);
197714
+ this.view.watch("zoom", function () {
197715
+ if (that.view.zoom <= 12) {
197716
+ if (that.yzDistance == 0||that.yzDistance == 1) {
197717
+
197718
+ that.yzDistance = 2
197719
+ that.getMeteorologicalLayer(true,that.yzDistance);
197720
+ }
197721
+ }else if(that.view.zoom > 12 && that.view.zoom <= 14){
197722
+ if (that.yzDistance == 0||that.yzDistance == 2) {
197723
+
197724
+ that.yzDistance = 1
197725
+ that.getMeteorologicalLayer(true,that.yzDistance);
197726
+ }
197727
+ }else if(that.view.zoom > 14){
197728
+ if (that.yzDistance == 1||that.yzDistance == 2) {
197729
+
197730
+ that.yzDistance = 0
197731
+ that.getMeteorologicalLayer(true,that.yzDistance);
197732
+ }
197733
+ }
197734
+ });
197628
197735
  });
197629
197736
  },
197630
- getMeteorologicalLayer(update) {
197737
+ getMeteorologicalLayer(update, yzDistance) {
197631
197738
  Object(esri_loader["loadModules"])(["esri/Graphic"]).then(([Graphic]) => {
197739
+ let createPointGraphic = function (
197740
+ item,
197741
+ index,
197742
+ point,
197743
+ symbol,
197744
+ panduanValue
197745
+ ) {
197746
+ return new Graphic({
197747
+ attributes: {
197748
+ objId: index + 1,
197749
+ X: item.lon,
197750
+ Y: item.lat,
197751
+ opma_cliqu: "YG1",
197752
+ opma_manag: item.managerCorpId,
197753
+ opma_man_2: item.managerId,
197754
+ panduan: panduanValue,
197755
+ ...item,
197756
+ },
197757
+ geometry: point,
197758
+ symbol: symbol,
197759
+ });
197760
+ };
197761
+ let thinOutPoints = function(points, roadIds, skipNDeleteM) {
197762
+ const [n, m] = skipNDeleteM; // 解构赋值获取n和m
197763
+
197764
+ // 根据roadId对点位进行分组
197765
+ const groupedByRoad = roadIds.reduce((acc, roadId) => {
197766
+ acc[roadId] = points.filter(point => point.roadId === roadId);
197767
+ return acc;
197768
+ }, {});
197769
+
197770
+ // 对每个道路进行抽稀操作
197771
+ Object.keys(groupedByRoad).forEach(roadId => {
197772
+ let roadPoints = groupedByRoad[roadId];
197773
+
197774
+ if (roadPoints.length > n + m) { // 如果有足够的点应用指定的抽稀策略
197775
+ const thinnedPoints = [];
197776
+
197777
+ for(let i = 0; i < roadPoints.length; i += n + m) {
197778
+ thinnedPoints.push(roadPoints[i]); // 保留第i个点
197779
+
197780
+ // 自动跳过接下来的n个点并删除m个点
197781
+ }
197782
+
197783
+ groupedByRoad[roadId] = thinnedPoints;
197784
+ } else if (roadPoints.length > 1) { // 如果点数不足但大于1,则使用默认策略(隔一个删两个)
197785
+ const thinnedPoints = [];
197786
+
197787
+ for(let i = 0; i < roadPoints.length; i += 3) { // 隔一个删两个
197788
+ thinnedPoints.push(roadPoints[i]);
197789
+ }
197790
+
197791
+ groupedByRoad[roadId] = thinnedPoints;
197792
+ }
197793
+ // 如果只有一点或没有点,则无需进行任何处理
197794
+ });
197795
+
197796
+ // 将抽稀后的点重新组合成一个数组
197797
+ const thinnedPointsArray = Object.values(groupedByRoad).flat();
197798
+
197799
+ return thinnedPointsArray;
197800
+ }
197801
+ let filterAndMergePoints = function(thinnedArray, originalArray) {
197802
+ // 定义判断是否满足条件的函数
197803
+ const isSpecialPoint = (item) =>
197804
+ item.vis <= 500 ||
197805
+ item.pph === 3 ||
197806
+ ((item.pph === 1 || item.pph === 4) &&
197807
+ (item.preLevel === 5 || item.preLevel === 6 || item.preLevel === 7));
197808
+
197809
+ // 从抽稀后的数组中过滤掉满足条件的点
197810
+ const filteredThinnedArray = thinnedArray.filter(point => !isSpecialPoint(point));
197811
+
197812
+ // 从原数组中筛选出所有满足条件的点
197813
+ const specialPointsFromOriginal = originalArray.filter(isSpecialPoint);
197814
+
197815
+ // 将满足条件的点添加回抽稀后的数组
197816
+ const mergedArray = [...filteredThinnedArray, ...specialPointsFromOriginal];
197817
+
197818
+ return mergedArray;
197819
+ }
197632
197820
  axios_default()({
197633
197821
  method: "post",
197634
197822
  url: this.$GlobalConfig.localServerUrl + "get_weather_info",
197635
- // url: '/meteApi/api/weather_service/get_weather_info',
197636
197823
  data: {
197637
197824
  orgCode: "",
197638
197825
  managerId: "",
@@ -197643,8 +197830,22 @@ class echartsLayer_EchartsglLayer {
197643
197830
  forecastHour: "",
197644
197831
  },
197645
197832
  }).then((res) => {
197833
+ let originalArr = res.data.data
197646
197834
  let pointGraphicArr = [];
197647
- res.data.data.forEach((item, index) => {
197835
+ let uniqueRoadIds = [...new Set(originalArr.map(item => item.roadId))];
197836
+ let endArr = null
197837
+
197838
+ if (yzDistance == 0) {
197839
+ endArr = originalArr;
197840
+ }else if (yzDistance == 1) {
197841
+ let thinnedArr = thinOutPoints(originalArr, uniqueRoadIds,[1,1]);
197842
+ endArr = filterAndMergePoints(thinnedArr, originalArr)
197843
+ }
197844
+ else if (yzDistance == 2) {
197845
+ let thinnedArr = thinOutPoints(originalArr, uniqueRoadIds,[1,8]);
197846
+ endArr = filterAndMergePoints(thinnedArr, originalArr)
197847
+ }
197848
+ endArr.forEach((item, index) => {
197648
197849
  let point = {
197649
197850
  //点设置
197650
197851
  type: "point", //类型:点、线、面
@@ -197655,33 +197856,47 @@ class echartsLayer_EchartsglLayer {
197655
197856
  //点符号设置
197656
197857
  type: "simple-marker",
197657
197858
  color: [226, 119, 35], //符号颜色
197658
- size: 8,
197859
+ size: 30,
197659
197860
  outline: {
197660
197861
  //轮廓设置
197661
197862
  color: [0, 0, 0], //轮廓颜色
197662
- width: 1, //轮廓宽度
197863
+ width: 5, //轮廓宽度
197663
197864
  },
197664
197865
  // yoffset: (item.iconHeight || arr.height) / 2 + "px",
197665
197866
  };
197666
- let pointGraphic = new Graphic({
197667
- attributes: {
197668
- objId: index + 1,
197669
- X: item.lon,
197670
- Y: item.lat,
197671
- opma_cliqu: "YG1",
197672
- opma_manag: item.managerCorpId,
197673
- opma_man_2: item.managerId,
197674
- ...item,
197675
- // orgName:update&&(''+item.lng+item.lat) == "120.089870636.03720572"?item.orgName+'123':item.orgName,
197676
- },
197677
- geometry: point,
197678
- symbol: simpleMarkerSymbol,
197679
- });
197867
+ let pointGraphic = null;
197868
+ if (
197869
+ item.vis <= 500 ||
197870
+ item.pph === 3 ||
197871
+ ((item.pph === 1 || item.pph === 4) &&
197872
+ (item.preLevel === 5 ||
197873
+ item.preLevel === 6 ||
197874
+ item.preLevel === 7))
197875
+ ) {
197876
+ pointGraphic = createPointGraphic(
197877
+ item,
197878
+ index,
197879
+ point,
197880
+ simpleMarkerSymbol,
197881
+ "2"
197882
+ );
197883
+ } else {
197884
+ pointGraphic = createPointGraphic(
197885
+ item,
197886
+ index,
197887
+ point,
197888
+ simpleMarkerSymbol,
197889
+ "1"
197890
+ );
197891
+ }
197680
197892
  pointGraphicArr.push(pointGraphic);
197681
197893
  });
197682
197894
  if (update) {
197683
197895
  this.meteorologicaldataLayer.applyEdits({
197684
- updateFeatures: pointGraphicArr,
197896
+ deleteFeatures: this.pointGraphicArrCC,
197897
+ });
197898
+ this.meteorologicaldataLayer.applyEdits({
197899
+ addFeatures: pointGraphicArr,
197685
197900
  });
197686
197901
  if (
197687
197902
  this.$refs.infoWindowRef &&
@@ -197694,12 +197909,9 @@ class echartsLayer_EchartsglLayer {
197694
197909
  addFeatures: pointGraphicArr,
197695
197910
  });
197696
197911
  }
197697
- setTimeout(() => {
197698
- this.meteorologicaldataLayer.queryFeatureCount().then((res) => {
197699
- // console.log(res)
197700
- this.$set(this.tabListNumber, "meteorologicaldataLayer", res);
197701
- });
197702
- }, 3000);
197912
+ // this.meteorologicaldataLayer.refresh()
197913
+ this.pointGraphicArrCC = pointGraphicArr;
197914
+ this.$set(this.tabListNumber, "meteorologicaldataLayer", endArr.length);
197703
197915
  });
197704
197916
  });
197705
197917
  },
@@ -199538,7 +199750,7 @@ class echartsLayer_EchartsglLayer {
199538
199750
  {
199539
199751
  value: "2",
199540
199752
  symbol: Symbol2,
199541
- }
199753
+ },
199542
199754
  ],
199543
199755
  };
199544
199756
  var renderer = rendererJsonUtils.fromJSON(renderJson);
@@ -201271,7 +201483,7 @@ class echartsLayer_EchartsglLayer {
201271
201483
  }
201272
201484
  this.congestionLineLayer = new GraphicsLayer({
201273
201485
  id: "congestionLineLayer",
201274
- zIndex: 20
201486
+ zIndex: 20,
201275
201487
  });
201276
201488
  this.congestionLineLayer.visible = false;
201277
201489
  this.map.add(this.congestionLineLayer);
@@ -201283,7 +201495,7 @@ class echartsLayer_EchartsglLayer {
201283
201495
  }
201284
201496
  this.congestionPointLayer = new GraphicsLayer({
201285
201497
  id: "congestionPointLayer",
201286
- zIndex: 30
201498
+ zIndex: 30,
201287
201499
  });
201288
201500
  this.congestionPointLayer.visible = false;
201289
201501
  this.map.add(this.congestionPointLayer);
@@ -201294,18 +201506,21 @@ class echartsLayer_EchartsglLayer {
201294
201506
  this.congestionPointLayer.visible = false;
201295
201507
  },
201296
201508
  toCongestionPointLayer(data) {
201297
- Object(esri_loader["loadModules"])(["esri/Graphic","esri/geometry/Polyline","esri/symbols/SimpleLineSymbol","esri/Color"]).then(([Graphic, Polyline, SimpleLineSymbol, Color]) => {
201509
+ Object(esri_loader["loadModules"])([
201510
+ "esri/Graphic",
201511
+ "esri/geometry/Polyline",
201512
+ "esri/symbols/SimpleLineSymbol",
201513
+ "esri/Color",
201514
+ ]).then(([Graphic, Polyline, SimpleLineSymbol, Color]) => {
201298
201515
  let res = data;
201299
- let status = 0
201516
+ let status = 0;
201300
201517
  if (res) {
201301
201518
  if (this.congestionPointLayer) {
201302
201519
  this.congestionPointLayer.removeAll();
201303
- }
201304
- else if(this.congestionLineLayer){
201520
+ } else if (this.congestionLineLayer) {
201305
201521
  this.congestionLineLayer.removeAll();
201306
- }
201307
- else{
201308
- this.initCongestionPointLayer()
201522
+ } else {
201523
+ this.initCongestionPointLayer();
201309
201524
  }
201310
201525
  res.forEach((item, index) => {
201311
201526
  let imgUrl1 = this.dudian_sfz_img;
@@ -201315,10 +201530,10 @@ class echartsLayer_EchartsglLayer {
201315
201530
  type: "point",
201316
201531
  longitude: item.lng,
201317
201532
  latitude: item.lat,
201318
- }
201533
+ };
201319
201534
  let lineSymbol = new SimpleLineSymbol({
201320
201535
  color: new Color([255, 0, 0]),
201321
- width: 5
201536
+ width: 5,
201322
201537
  });
201323
201538
  let simpleMarkerSymbol1 = {
201324
201539
  type: "picture-marker",
@@ -201345,7 +201560,7 @@ class echartsLayer_EchartsglLayer {
201345
201560
  Y: Number(item.lat),
201346
201561
  ...item,
201347
201562
  },
201348
- geometry: point
201563
+ geometry: point,
201349
201564
  });
201350
201565
  if (item.holidays[0].positionType == "point") {
201351
201566
  pointGraphic.symbol = simpleMarkerSymbol3;
@@ -201353,18 +201568,18 @@ class echartsLayer_EchartsglLayer {
201353
201568
  status = 1;
201354
201569
 
201355
201570
  this.congestionLineLayer.visible = true;
201356
- let paths = item.polyLine.map(point => {
201571
+ let paths = item.polyLine.map((point) => {
201357
201572
  const [longitude, latitude] = point.split(",").map(Number);
201358
201573
  return [longitude, latitude];
201359
201574
  });
201360
201575
  let polyline = new Polyline({
201361
- paths: [paths]
201362
- })
201576
+ paths: [paths],
201577
+ });
201363
201578
  let polylineGraphic = new Graphic({
201364
201579
  geometry: polyline,
201365
- symbol: lineSymbol
201580
+ symbol: lineSymbol,
201366
201581
  });
201367
- this.congestionLineLayer.add(polylineGraphic)
201582
+ this.congestionLineLayer.add(polylineGraphic);
201368
201583
  }
201369
201584
  if (item.holidays[0].positionType == "station") {
201370
201585
  pointGraphic.symbol = simpleMarkerSymbol1;
@@ -201822,35 +202037,35 @@ class echartsLayer_EchartsglLayer {
201822
202037
  });
201823
202038
  },
201824
202039
  creatPieH() {
201825
- let dataArr = []
202040
+ let dataArr = [];
201826
202041
  for (var i = 0; i < 4; i++) {
201827
- if (i % 2 === 0) {
201828
- dataArr.push({
201829
- name: (i + 1).toString(),
201830
- value: 20,
201831
- itemStyle: {
201832
- normal: {
201833
- color: '#34B1FB',
201834
- borderWidth: 0,
201835
- borderColor: 'rgba(0,0,0,0)'
201836
- }
201837
- }
201838
- })
201839
- } else {
201840
- dataArr.push({
201841
- name: (i + 1).toString(),
201842
- value: 20,
201843
- itemStyle: {
201844
- normal: {
201845
- color: 'rgba(0,0,0,0)',
201846
- borderWidth: 0,
201847
- borderColor: 'rgba(0,0,0,0)'
201848
- }
201849
- }
201850
- })
201851
- }
202042
+ if (i % 2 === 0) {
202043
+ dataArr.push({
202044
+ name: (i + 1).toString(),
202045
+ value: 20,
202046
+ itemStyle: {
202047
+ normal: {
202048
+ color: "#34B1FB",
202049
+ borderWidth: 0,
202050
+ borderColor: "rgba(0,0,0,0)",
202051
+ },
202052
+ },
202053
+ });
202054
+ } else {
202055
+ dataArr.push({
202056
+ name: (i + 1).toString(),
202057
+ value: 20,
202058
+ itemStyle: {
202059
+ normal: {
202060
+ color: "rgba(0,0,0,0)",
202061
+ borderWidth: 0,
202062
+ borderColor: "rgba(0,0,0,0)",
202063
+ },
202064
+ },
202065
+ });
202066
+ }
201852
202067
  }
201853
- return dataArr
202068
+ return dataArr;
201854
202069
  },
201855
202070
  createEffectScatter(divId, newEnergy, size, cityName) {
201856
202071
  const chartDom = document.getElementById(divId);
@@ -201862,52 +202077,59 @@ class echartsLayer_EchartsglLayer {
201862
202077
  top: "center",
201863
202078
  textStyle: {
201864
202079
  fontSize: 14,
201865
- color: '#FFF'
201866
- }
202080
+ color: "#FFF",
202081
+ },
201867
202082
  },
201868
202083
  tooltip: {
201869
- trigger: 'item',
201870
- backgroundColor: 'rgba(0,0,0,0)', // 设置为透明
202084
+ trigger: "item",
202085
+ backgroundColor: "rgba(0,0,0,0)", // 设置为透明
201871
202086
  borderWidth: 0,
201872
202087
  textStyle: {
201873
- color: '#FFF'
201874
- },
201875
- position: 'top',
201876
- extraCssText: 'color:#FFF,border-radius:0;height:0.3rem;width: 0.75rem;background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIYAAAA/CAYAAAAlvLAsAAAAAXNSR0IArs4c6QAABJBJREFUeF7tnTGIXFUUhv9zzp0ZsoHAKqiJEKIiaxQbUcFida3SGEQIaW0CaiEIgpVFrAQLEUQUCxErUdANCLERs2DsLLSIa1IIFhGxEFncdWffvUfvezPLTrK6B3aa2XN2eNw37/33zvv//+PN22roxGvfPMu3Hv8Q8RcJjBLQ9T9XqIJBzfDV4UcvXYhkIoH06DP38CNn5gOMYGEigQAjgNg1gQAjwAgwggF7AnHHsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflSjkBxvjH8kgIxAAJg5jQve9GZgJG4/j4+P328Yk5dQ2M5jNIun3muk+uwt7LbCkKFIVub2j3oQrNCq1jq+mO37Qpuvnb2tH8XdZs57brolv/hs+szbQ/lrfXRR/I86q8dBVvaNGX9/RH9EOTcfryA/TLntoDJPAJxqjApVV9XlXfBpB275S+bAhnL99Haweoc5OVDozzyrj+nZw4tiYbh2+RrcGG5DQnZX0oh9JAimxJn3tSOEmPkxRqJJF040BEwFKIhROLEIsOeky5JGEwESftJ2YlqS8WCDF1GyCcpH5hCREEPWnH9hxxuy+pfg7adVFfYJOx/xMRoaQ+3v/qbvrtyWt6Kjf6CQFHJuYQvXvbAl78lCgvXmnOEcmd+/5gAIR6xy9ZFRkF7ZgzshZkEDdFS0HhRqk7Vs+XOtaNkEvu3vN4v85NaOoa9VhukDMh83gk5GbYnduqx/9G3gSyEPL6GrIcQe5tofkdqF8u3XaW8giM84yjTwl+XZPbx2D8NSeHe0NpdoChA+GUcyqUOjAGI0DSgIVyktRnUZZccpI+MSeSgp5wCwQJaRaWNAlGyxIJVQC0iCSuDHSAVFgqOBWMipRCwFMAA+UYQKeY6emvF+j7x3/UBwH9goDjIMpQvLJykt587Fs91J/HBwq9C6CL0wGjaFbOqiWjGYGhXektEHW/5KIkzU1gVChquQV5KzeZRnBoSg0NUUoFpLkBkJ1gbHZQ8BgMIKcGTQJy7w+U6/NoJsGYhuMZW2NpVc8o8A4Rnru0QMtLP+sd2MTHKHjr0v20vHhFjzJjGcDVOcG5i/fS5oxZ3Nflun7GWLymD3GDzwG8t3KSXh8n+V/H95X0jE12DUbtqr0zkF4A0U/1zrCRcXrnnWTG+pza5boHoyY5fpb49znjYQC98bPH1FKewYUCjB2lPbGqL6Q+Pqv/rcxgl1O95H8A5zh1gRl+DV0AAAAASUVORK5CYII=) no-repeat;background-size: 100% 100%;',
201877
- formatter: '{b}: 100%'
201878
- },
201879
- series: [{
201880
- name: '车辆类型',
201881
- type: 'pie',
201882
- itemStyle: {
201883
- borderRadius: 3,
201884
- borderColor: '#fff',
201885
- borderWidth: 0,
201886
- color: this.colorMap[cityName],
201887
- opacity: 0.8
201888
- },
201889
- label: {
201890
- show: false,
201891
202088
  color: "#FFF",
201892
- fontSize: 11,
201893
- position: 'center',//'inside',
201894
- formatter: '{a}' // 自定义标签格式
201895
202089
  },
201896
- labelLine: {
201897
- show: false
202090
+ position: "top",
202091
+ extraCssText:
202092
+ "color:#FFF,border-radius:0;height:0.3rem;width: 0.75rem;background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIYAAAA/CAYAAAAlvLAsAAAAAXNSR0IArs4c6QAABJBJREFUeF7tnTGIXFUUhv9zzp0ZsoHAKqiJEKIiaxQbUcFida3SGEQIaW0CaiEIgpVFrAQLEUQUCxErUdANCLERs2DsLLSIa1IIFhGxEFncdWffvUfvezPLTrK6B3aa2XN2eNw37/33zvv//+PN22roxGvfPMu3Hv8Q8RcJjBLQ9T9XqIJBzfDV4UcvXYhkIoH06DP38CNn5gOMYGEigQAjgNg1gQAjwAgwggF7AnHHsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflSjkBxvjH8kgIxAAJg5jQve9GZgJG4/j4+P328Yk5dQ2M5jNIun3muk+uwt7LbCkKFIVub2j3oQrNCq1jq+mO37Qpuvnb2tH8XdZs57brolv/hs+szbQ/lrfXRR/I86q8dBVvaNGX9/RH9EOTcfryA/TLntoDJPAJxqjApVV9XlXfBpB275S+bAhnL99Haweoc5OVDozzyrj+nZw4tiYbh2+RrcGG5DQnZX0oh9JAimxJn3tSOEmPkxRqJJF040BEwFKIhROLEIsOeky5JGEwESftJ2YlqS8WCDF1GyCcpH5hCREEPWnH9hxxuy+pfg7adVFfYJOx/xMRoaQ+3v/qbvrtyWt6Kjf6CQFHJuYQvXvbAl78lCgvXmnOEcmd+/5gAIR6xy9ZFRkF7ZgzshZkEDdFS0HhRqk7Vs+XOtaNkEvu3vN4v85NaOoa9VhukDMh83gk5GbYnduqx/9G3gSyEPL6GrIcQe5tofkdqF8u3XaW8giM84yjTwl+XZPbx2D8NSeHe0NpdoChA+GUcyqUOjAGI0DSgIVyktRnUZZccpI+MSeSgp5wCwQJaRaWNAlGyxIJVQC0iCSuDHSAVFgqOBWMipRCwFMAA+UYQKeY6emvF+j7x3/UBwH9goDjIMpQvLJykt587Fs91J/HBwq9C6CL0wGjaFbOqiWjGYGhXektEHW/5KIkzU1gVChquQV5KzeZRnBoSg0NUUoFpLkBkJ1gbHZQ8BgMIKcGTQJy7w+U6/NoJsGYhuMZW2NpVc8o8A4Rnru0QMtLP+sd2MTHKHjr0v20vHhFjzJjGcDVOcG5i/fS5oxZ3Nflun7GWLymD3GDzwG8t3KSXh8n+V/H95X0jE12DUbtqr0zkF4A0U/1zrCRcXrnnWTG+pza5boHoyY5fpb49znjYQC98bPH1FKewYUCjB2lPbGqL6Q+Pqv/rcxgl1O95H8A5zh1gRl+DV0AAAAASUVORK5CYII=) no-repeat;background-size: 100% 100%;",
202093
+ formatter: "{b}: 100%",
202094
+ },
202095
+ series: [
202096
+ {
202097
+ name: "车辆类型",
202098
+ type: "pie",
202099
+ itemStyle: {
202100
+ borderRadius: 3,
202101
+ borderColor: "#fff",
202102
+ borderWidth: 0,
202103
+ color: this.colorMap[cityName],
202104
+ opacity: 0.8,
202105
+ },
202106
+ label: {
202107
+ show: false,
202108
+ color: "#FFF",
202109
+ fontSize: 11,
202110
+ position: "center", //'inside',
202111
+ formatter: "{a}", // 自定义标签格式
202112
+ },
202113
+ labelLine: {
202114
+ show: false,
202115
+ },
202116
+ data: [
202117
+ { value: newEnergy, name: "新能源车辆" }, // 只显示新能源车辆
202118
+ ],
201898
202119
  },
201899
- data: [
201900
- { value: newEnergy, name: '新能源车辆' } // 只显示新能源车辆
201901
- ]
201902
- }]
202120
+ ],
201903
202121
  };
201904
202122
  myChart.setOption(option);
201905
202123
  },
201906
- initScatterChartLayer(){
201907
- Object(esri_loader["loadModules"])(["esri/geometry/Point", "esri/Graphic", "esri/layers/GraphicsLayer"]).then(([Point,Graphic,GraphicsLayer]) => {
202124
+ initScatterChartLayer() {
202125
+ Object(esri_loader["loadModules"])([
202126
+ "esri/geometry/Point",
202127
+ "esri/Graphic",
202128
+ "esri/layers/GraphicsLayer",
202129
+ ]).then(([Point, Graphic, GraphicsLayer]) => {
201908
202130
  this.scatterChartLayer = new GraphicsLayer();
201909
202131
  this.map.add(this.scatterChartLayer);
201910
- this.cities.forEach(city => {
202132
+ this.cities.forEach((city) => {
201911
202133
  const point = new Point({ latitude: city.lat, longitude: city.lng });
201912
202134
  const graphic = new Graphic({
201913
202135
  geometry: point,
@@ -201917,16 +202139,16 @@ class echartsLayer_EchartsglLayer {
201917
202139
  size: 0,
201918
202140
  outline: {
201919
202141
  color: [255, 255, 255],
201920
- width: 1
201921
- }
201922
- }
202142
+ width: 1,
202143
+ },
202144
+ },
201923
202145
  });
201924
202146
  // 创建ECharts容器
201925
202147
  const divId = `chart-${city.name}`;
201926
- const chartDiv = document.createElement('div');
202148
+ const chartDiv = document.createElement("div");
201927
202149
  chartDiv.id = divId;
201928
- chartDiv.className = 'echarts-container';
201929
- document.getElementById('map').appendChild(chartDiv);
202150
+ chartDiv.className = "echarts-container";
202151
+ document.getElementById("map").appendChild(chartDiv);
201930
202152
  // 计算图表大小
201931
202153
  // 计算新能源车流量的最小值和最大值
201932
202154
  // const newEnergyValues = this.cities.map(item => item.newEnergy);
@@ -201935,7 +202157,13 @@ class echartsLayer_EchartsglLayer {
201935
202157
  // 计算图表大小
201936
202158
  const minSize = 80;
201937
202159
  const maxSize = 130;
201938
- const newSize = minSize + (maxSize - minSize) * ((city.newEnergy - Math.min(...this.cities.map(d => d.newEnergy))) / (Math.max(...this.cities.map(d => d.newEnergy)) - Math.min(...this.cities.map(d => d.newEnergy))));
202160
+ const newSize =
202161
+ minSize +
202162
+ (maxSize - minSize) *
202163
+ ((city.newEnergy -
202164
+ Math.min(...this.cities.map((d) => d.newEnergy))) /
202165
+ (Math.max(...this.cities.map((d) => d.newEnergy)) -
202166
+ Math.min(...this.cities.map((d) => d.newEnergy))));
201939
202167
  chartDiv.style.width = `${newSize}px`;
201940
202168
  chartDiv.style.height = `${newSize}px`;
201941
202169
  // 初始化ECharts图表
@@ -201982,103 +202210,113 @@ class echartsLayer_EchartsglLayer {
201982
202210
  this.scatterChartLayer.add(graphic);
201983
202211
  this.chartElements.push(chartDiv);
201984
202212
  });
201985
-
201986
- })
202213
+ });
201987
202214
  },
201988
202215
 
201989
202216
  //所有气象设备分类图层
201990
- initAllWeatherLayer(){
202217
+ initAllWeatherLayer() {
201991
202218
  let data = {
201992
202219
  status: "1",
201993
- devicetype: ""
201994
- }
201995
- Object(esri_loader["loadModules"])(["esri/layers/GraphicsLayer",'esri/Graphic']).then(([GraphicsLayer,Graphic]) => {
201996
- this.allWeatherLayer = new GraphicsLayer({
201997
- id: 'allWeatherLayer',
201998
- });
201999
- this.allWeatherLayer.visible = false
202000
- this.map.add(this.allWeatherLayer)
202001
- const updateLayerData = () => {
202002
- this.allWeatherLayer.removeAll()
202003
- Object(apiNow["a" /* getAllWeatherList */])(data).then((res) => {
202004
- const getURLByValue = (devicetype, status) => {
202005
- let img_Url;
202006
- if (devicetype == '010') { //气象监测器
202007
- if(status == "1"){
202008
- img_Url = this.dev_meteorology_online
202009
- }else if(status == "2"){
202010
- img_Url = this.dev_meteorology_offline
202011
- }else{
202012
- img_Url = this.dev_meteorology_error
202013
- }
202014
- } else if (devicetype == '013') { //道路结冰监测装置
202015
- if(status == "1"){
202016
- img_Url = this.dev_icingDetection_online
202017
- }else if(status == "2"){
202018
- img_Url = this.dev_icingDetection_offline
202019
- }else{
202020
- img_Url = this.dev_icingDetection_error
202021
- }
202022
- } else if (devicetype == '020') { //CO/VI检测器
202023
- if(status == "1"){
202024
- img_Url = this.dev_coDetection_online
202025
- }else if(status == "2"){
202026
- img_Url = this.dev_coDetection_offline
202027
- }else{
202028
- img_Url = this.dev_coDetection_error
202029
- }
202030
- } else if (devicetype == '023') { //能见度检测器
202031
- if(status == "1"){
202032
- img_Url = this.dev_visibility_online
202033
- }else if(status == "2"){
202034
- img_Url = this.dev_visibility_offline
202035
- }else{
202036
- img_Url = this.dev_visibility_error
202037
- }
202038
- } else if (devicetype == '030') { //风速风向监测仪
202039
- if(status == "1"){
202040
- img_Url = this.dev_windDdirection_online
202041
- }else if(status == "2"){
202042
- img_Url = this.dev_windDdirection_offline
202043
- }else{
202044
- img_Url = this.dev_windDdirection_error
202220
+ devicetype: "",
202221
+ };
202222
+ Object(esri_loader["loadModules"])(["esri/layers/GraphicsLayer", "esri/Graphic"]).then(
202223
+ ([GraphicsLayer, Graphic]) => {
202224
+ this.allWeatherLayer = new GraphicsLayer({
202225
+ id: "allWeatherLayer",
202226
+ });
202227
+ this.allWeatherLayer.visible = false;
202228
+ this.map.add(this.allWeatherLayer);
202229
+ const updateLayerData = () => {
202230
+ this.allWeatherLayer.removeAll();
202231
+ Object(apiNow["a" /* getAllWeatherList */])(data).then((res) => {
202232
+ const getURLByValue = (devicetype, status) => {
202233
+ let img_Url;
202234
+ if (devicetype == "010") {
202235
+ //气象监测器
202236
+ if (status == "1") {
202237
+ img_Url = this.dev_meteorology_online;
202238
+ } else if (status == "2") {
202239
+ img_Url = this.dev_meteorology_offline;
202240
+ } else {
202241
+ img_Url = this.dev_meteorology_error;
202242
+ }
202243
+ } else if (devicetype == "013") {
202244
+ //道路结冰监测装置
202245
+ if (status == "1") {
202246
+ img_Url = this.dev_icingDetection_online;
202247
+ } else if (status == "2") {
202248
+ img_Url = this.dev_icingDetection_offline;
202249
+ } else {
202250
+ img_Url = this.dev_icingDetection_error;
202251
+ }
202252
+ } else if (devicetype == "020") {
202253
+ //CO/VI检测器
202254
+ if (status == "1") {
202255
+ img_Url = this.dev_coDetection_online;
202256
+ } else if (status == "2") {
202257
+ img_Url = this.dev_coDetection_offline;
202258
+ } else {
202259
+ img_Url = this.dev_coDetection_error;
202260
+ }
202261
+ } else if (devicetype == "023") {
202262
+ //能见度检测器
202263
+ if (status == "1") {
202264
+ img_Url = this.dev_visibility_online;
202265
+ } else if (status == "2") {
202266
+ img_Url = this.dev_visibility_offline;
202267
+ } else {
202268
+ img_Url = this.dev_visibility_error;
202269
+ }
202270
+ } else if (devicetype == "030") {
202271
+ //风速风向监测仪
202272
+ if (status == "1") {
202273
+ img_Url = this.dev_windDdirection_online;
202274
+ } else if (status == "2") {
202275
+ img_Url = this.dev_windDdirection_offline;
202276
+ } else {
202277
+ img_Url = this.dev_windDdirection_error;
202278
+ }
202045
202279
  }
202280
+ return img_Url;
202281
+ };
202282
+ if (res.data) {
202283
+ res.data.forEach((item, index) => {
202284
+ const img_Url = getURLByValue(item.deviceType, item.status);
202285
+ let point = {
202286
+ type: "point",
202287
+ longitude: Number(item.lng),
202288
+ latitude: Number(item.lat),
202289
+ };
202290
+ let simpleMarkerSymbol = {
202291
+ type: "picture-marker",
202292
+ url: img_Url,
202293
+ width: 35 * this.styleZoom + "px",
202294
+ height: 35 * this.styleZoom + "px",
202295
+ };
202296
+ let pointGraphic = new Graphic({
202297
+ attributes: {
202298
+ objId: index + 1,
202299
+ X: Number(item.lng),
202300
+ Y: Number(item.lat),
202301
+ ...item,
202302
+ },
202303
+ geometry: point,
202304
+ symbol: simpleMarkerSymbol,
202305
+ });
202306
+ this.allWeatherLayer.add(pointGraphic);
202307
+ });
202308
+ this.$set(
202309
+ this.tabListNumber,
202310
+ "allWeatherLayer",
202311
+ res.data.length
202312
+ );
202046
202313
  }
202047
- return img_Url
202048
- }
202049
- if(res.data){
202050
- res.data.forEach((item, index) => {
202051
- const img_Url = getURLByValue(item.deviceType, item.status)
202052
- let point = {
202053
- type: 'point',
202054
- longitude: Number(item.lng),
202055
- latitude: Number(item.lat),
202056
- }
202057
- let simpleMarkerSymbol = {
202058
- type: "picture-marker",
202059
- url: img_Url,
202060
- width: 35 * this.styleZoom + "px",
202061
- height: 35 * this.styleZoom + "px",
202062
- };
202063
- let pointGraphic = new Graphic({
202064
- attributes: {
202065
- objId: index + 1,
202066
- X: Number(item.lng),
202067
- Y: Number(item.lat),
202068
- ...item,
202069
- },
202070
- geometry: point,
202071
- symbol: simpleMarkerSymbol
202072
- })
202073
- this.allWeatherLayer.add(pointGraphic)
202074
- })
202075
- this.$set(this.tabListNumber, "allWeatherLayer", res.data.length);
202076
- }
202077
- })
202314
+ });
202315
+ };
202316
+ updateLayerData();
202317
+ setInterval(updateLayerData, 20 * 60 * 1000);
202078
202318
  }
202079
- updateLayerData();
202080
- setInterval(updateLayerData, 20 * 60 * 1000);
202081
- })
202319
+ );
202082
202320
  },
202083
202321
 
202084
202322
  // 外部图表联动饼图图层
@@ -202088,119 +202326,124 @@ class echartsLayer_EchartsglLayer {
202088
202326
  const option = {
202089
202327
  title: {
202090
202328
  text: CityName,
202091
- bottom: 'bottom',
202329
+ bottom: "bottom",
202092
202330
  textStyle: {
202093
202331
  fontSize: 13,
202094
202332
  color: "rgba(255, 255, 255, 1)",
202095
- fontFamily: "serif"
202333
+ fontFamily: "serif",
202096
202334
  },
202097
- left: 'center'
202335
+ left: "center",
202098
202336
  },
202099
202337
  tooltip: {
202100
- trigger: 'item',
202101
- backgroundColor: 'rgba(0,0,0,0)',
202338
+ trigger: "item",
202339
+ backgroundColor: "rgba(0,0,0,0)",
202102
202340
  borderWidth: 0,
202103
202341
  textStyle: {
202104
- color: '#FFF'
202342
+ color: "#FFF",
202105
202343
  },
202106
- position: 'top',
202107
- extraCssText: 'color:#FFF;padding: 0.05rem 0.05rem 0.08rem 0.05rem;border-radius:0;background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIYAAAA/CAYAAAAlvLAsAAAAAXNSR0IArs4c6QAABJBJREFUeF7tnTGIXFUUhv9zzp0ZsoHAKqiJEKIiaxQbUcFida3SGEQIaW0CaiEIgpVFrAQLEUQUCxErUdANCLERs2DsLLSIa1IIFhGxEFncdWffvUfvezPLTrK6B3aa2XN2eNw37/33zvv//+PN22roxGvfPMu3Hv8Q8RcJjBLQ9T9XqIJBzfDV4UcvXYhkIoH06DP38CNn5gOMYGEigQAjgNg1gQAjwAgwggF7AnHHsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflSjkBxvjH8kgIxAAJg5jQve9GZgJG4/j4+P328Yk5dQ2M5jNIun3muk+uwt7LbCkKFIVub2j3oQrNCq1jq+mO37Qpuvnb2tH8XdZs57brolv/hs+szbQ/lrfXRR/I86q8dBVvaNGX9/RH9EOTcfryA/TLntoDJPAJxqjApVV9XlXfBpB275S+bAhnL99Haweoc5OVDozzyrj+nZw4tiYbh2+RrcGG5DQnZX0oh9JAimxJn3tSOEmPkxRqJJF040BEwFKIhROLEIsOeky5JGEwESftJ2YlqS8WCDF1GyCcpH5hCREEPWnH9hxxuy+pfg7adVFfYJOx/xMRoaQ+3v/qbvrtyWt6Kjf6CQFHJuYQvXvbAl78lCgvXmnOEcmd+/5gAIR6xy9ZFRkF7ZgzshZkEDdFS0HhRqk7Vs+XOtaNkEvu3vN4v85NaOoa9VhukDMh83gk5GbYnduqx/9G3gSyEPL6GrIcQe5tofkdqF8u3XaW8giM84yjTwl+XZPbx2D8NSeHe0NpdoChA+GUcyqUOjAGI0DSgIVyktRnUZZccpI+MSeSgp5wCwQJaRaWNAlGyxIJVQC0iCSuDHSAVFgqOBWMipRCwFMAA+UYQKeY6emvF+j7x3/UBwH9goDjIMpQvLJykt587Fs91J/HBwq9C6CL0wGjaFbOqiWjGYGhXektEHW/5KIkzU1gVChquQV5KzeZRnBoSg0NUUoFpLkBkJ1gbHZQ8BgMIKcGTQJy7w+U6/NoJsGYhuMZW2NpVc8o8A4Rnru0QMtLP+sd2MTHKHjr0v20vHhFjzJjGcDVOcG5i/fS5oxZ3Nflun7GWLymD3GDzwG8t3KSXh8n+V/H95X0jE12DUbtqr0zkF4A0U/1zrCRcXrnnWTG+pza5boHoyY5fpb49znjYQC98bPH1FKewYUCjB2lPbGqL6Q+Pqv/rcxgl1O95H8A5zh1gRl+DV0AAAAASUVORK5CYII=) no-repeat;background-size: 100% 100%;',
202344
+ position: "top",
202345
+ extraCssText:
202346
+ "color:#FFF;padding: 0.05rem 0.05rem 0.08rem 0.05rem;border-radius:0;background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIYAAAA/CAYAAAAlvLAsAAAAAXNSR0IArs4c6QAABJBJREFUeF7tnTGIXFUUhv9zzp0ZsoHAKqiJEKIiaxQbUcFida3SGEQIaW0CaiEIgpVFrAQLEUQUCxErUdANCLERs2DsLLSIa1IIFhGxEFncdWffvUfvezPLTrK6B3aa2XN2eNw37/33zvv//+PN22roxGvfPMu3Hv8Q8RcJjBLQ9T9XqIJBzfDV4UcvXYhkIoH06DP38CNn5gOMYGEigQAjgNg1gQAjwAgwggF7AnHHsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflShlguKrbbjbAsGflSjkBxvjH8kgIxAAJg5jQve9GZgJG4/j4+P328Yk5dQ2M5jNIun3muk+uwt7LbCkKFIVub2j3oQrNCq1jq+mO37Qpuvnb2tH8XdZs57brolv/hs+szbQ/lrfXRR/I86q8dBVvaNGX9/RH9EOTcfryA/TLntoDJPAJxqjApVV9XlXfBpB275S+bAhnL99Haweoc5OVDozzyrj+nZw4tiYbh2+RrcGG5DQnZX0oh9JAimxJn3tSOEmPkxRqJJF040BEwFKIhROLEIsOeky5JGEwESftJ2YlqS8WCDF1GyCcpH5hCREEPWnH9hxxuy+pfg7adVFfYJOx/xMRoaQ+3v/qbvrtyWt6Kjf6CQFHJuYQvXvbAl78lCgvXmnOEcmd+/5gAIR6xy9ZFRkF7ZgzshZkEDdFS0HhRqk7Vs+XOtaNkEvu3vN4v85NaOoa9VhukDMh83gk5GbYnduqx/9G3gSyEPL6GrIcQe5tofkdqF8u3XaW8giM84yjTwl+XZPbx2D8NSeHe0NpdoChA+GUcyqUOjAGI0DSgIVyktRnUZZccpI+MSeSgp5wCwQJaRaWNAlGyxIJVQC0iCSuDHSAVFgqOBWMipRCwFMAA+UYQKeY6emvF+j7x3/UBwH9goDjIMpQvLJykt587Fs91J/HBwq9C6CL0wGjaFbOqiWjGYGhXektEHW/5KIkzU1gVChquQV5KzeZRnBoSg0NUUoFpLkBkJ1gbHZQ8BgMIKcGTQJy7w+U6/NoJsGYhuMZW2NpVc8o8A4Rnru0QMtLP+sd2MTHKHjr0v20vHhFjzJjGcDVOcG5i/fS5oxZ3Nflun7GWLymD3GDzwG8t3KSXh8n+V/H95X0jE12DUbtqr0zkF4A0U/1zrCRcXrnnWTG+pza5boHoyY5fpb49znjYQC98bPH1FKewYUCjB2lPbGqL6Q+Pqv/rcxgl1O95H8A5zh1gRl+DV0AAAAASUVORK5CYII=) no-repeat;background-size: 100% 100%;",
202108
202347
  formatter: function (params) {
202109
202348
  const color = params.color;
202110
- const percent = (params.value / total * 100).toFixed(2);
202349
+ const percent = ((params.value / total) * 100).toFixed(2);
202111
202350
  return `<div style="font-size:13px;display: flex; align-items: center;justify-content: center;margin-top: -0.01rem;">
202112
202351
  <span style="display: inline-block;width: 0.05rem; height: 0.05rem; background-color: ${color};border-radius:1rem"></span>
202113
202352
  <span style="margin-left: 5px;">${params.name} :&nbsp</span><span style="font-weight: bold;color: ${color}"> ${percent}%</span>
202114
202353
  </div>`;
202115
- }
202354
+ },
202116
202355
  },
202117
202356
  series: [
202118
202357
  {
202119
- name: '车辆类型',
202120
- type: 'pie',
202121
- radius: '65%',
202358
+ name: "车辆类型",
202359
+ type: "pie",
202360
+ radius: "65%",
202122
202361
  itemStyle: {
202123
- borderColor: 'RGBA(14, 54, 99, .8)',
202124
- borderWidth: 2
202362
+ borderColor: "RGBA(14, 54, 99, .8)",
202363
+ borderWidth: 2,
202125
202364
  },
202126
202365
  label: {
202127
202366
  show: false,
202128
202367
  color: "#FFF",
202129
202368
  fontSize: 11,
202130
- position: 'inside',//'inside',
202131
- formatter: '{b}\n{d}%'
202369
+ position: "inside", //'inside',
202370
+ formatter: "{b}\n{d}%",
202132
202371
  },
202133
202372
  labelLine: {
202134
- show: false
202373
+ show: false,
202135
202374
  },
202136
- data: [
202137
- {
202138
- value: total - newEnergy,
202139
- name: '其它车辆',
202140
- label: {
202141
- show: false
202375
+ data: [
202376
+ {
202377
+ value: total - newEnergy,
202378
+ name: "其它车辆",
202379
+ label: {
202380
+ show: false,
202381
+ },
202382
+ itemStyle: {
202383
+ color: "#0179FF",
202142
202384
  },
202143
- itemStyle:{
202144
- color: '#0179FF'
202145
- }
202146
202385
  },
202147
- {
202148
- value: newEnergy,
202149
- name: '新能源车辆',
202150
- label: {
202151
- show: false // 新能源车辆不显示标签
202386
+ {
202387
+ value: newEnergy,
202388
+ name: "新能源车辆",
202389
+ label: {
202390
+ show: false, // 新能源车辆不显示标签
202152
202391
  },
202153
- itemStyle:{
202154
- color: '#10D490'
202155
- }
202156
- }
202157
- ]
202392
+ itemStyle: {
202393
+ color: "#10D490",
202394
+ },
202395
+ },
202396
+ ],
202158
202397
  },
202159
202398
  {
202160
- type: 'pie',
202399
+ type: "pie",
202161
202400
  zlevel: 2,
202162
202401
  silent: true,
202163
- center: ['50%', '50%'],
202164
- radius: ['83%', '88%'],
202402
+ center: ["50%", "50%"],
202403
+ radius: ["83%", "88%"],
202165
202404
  startAngle: 45,
202166
202405
  label: {
202167
- normal: {
202168
- show: false
202169
- }
202406
+ normal: {
202407
+ show: false,
202408
+ },
202170
202409
  },
202171
202410
  labelLine: {
202172
- normal: {
202173
- show: false
202174
- }
202411
+ normal: {
202412
+ show: false,
202413
+ },
202175
202414
  },
202176
- data: this.creatPieH()
202415
+ data: this.creatPieH(),
202177
202416
  },
202178
202417
  {
202179
- type: 'pie',
202180
- radius: '83%',
202181
- center: ['50%', '50%'],
202418
+ type: "pie",
202419
+ radius: "83%",
202420
+ center: ["50%", "50%"],
202182
202421
  z: 0,
202183
202422
  silent: true,
202184
202423
  itemStyle: {
202185
- normal: {
202186
- color: 'RGBA(14, 44, 81, 0.6)'
202187
- }
202424
+ normal: {
202425
+ color: "RGBA(14, 44, 81, 0.6)",
202426
+ },
202188
202427
  },
202189
202428
  hoverAnimation: false,
202190
- data: [100]
202191
- }
202192
- ]
202429
+ data: [100],
202430
+ },
202431
+ ],
202193
202432
  };
202194
202433
  myChart.setOption(option);
202195
202434
  },
202196
- initPieChartLayer(chartData, ispPercent){
202197
- Object(esri_loader["loadModules"])(["esri/geometry/Point", "esri/Graphic", "esri/layers/GraphicsLayer"]).then(([Point,Graphic,GraphicsLayer]) => {
202198
- this.pieChartLayer = new GraphicsLayer({id:'pieChartLayer'});
202435
+ initPieChartLayer(chartData, ispPercent) {
202436
+ Object(esri_loader["loadModules"])([
202437
+ "esri/geometry/Point",
202438
+ "esri/Graphic",
202439
+ "esri/layers/GraphicsLayer",
202440
+ ]).then(([Point, Graphic, GraphicsLayer]) => {
202441
+ this.pieChartLayer = new GraphicsLayer({ id: "pieChartLayer" });
202199
202442
  this.map.add(this.pieChartLayer);
202200
- const newEnergyValues = chartData.map(item => item.newEnergy);
202443
+ const newEnergyValues = chartData.map((item) => item.newEnergy);
202201
202444
  const minNewEnergy = Math.min(...newEnergyValues);
202202
202445
  const maxNewEnergy = Math.max(...newEnergyValues);
202203
- chartData.forEach(city => {
202446
+ chartData.forEach((city) => {
202204
202447
  const point = new Point({ latitude: city.lat, longitude: city.lng });
202205
202448
  const graphic = new Graphic({
202206
202449
  geometry: point,
@@ -202210,25 +202453,31 @@ class echartsLayer_EchartsglLayer {
202210
202453
  size: 0,
202211
202454
  outline: {
202212
202455
  color: [255, 255, 255],
202213
- width: 1
202214
- }
202215
- }
202456
+ width: 1,
202457
+ },
202458
+ },
202216
202459
  });
202217
202460
  const divId = `chart-${city.name}`;
202218
- const chartDiv = document.createElement('div');
202461
+ const chartDiv = document.createElement("div");
202219
202462
  chartDiv.id = divId;
202220
- chartDiv.className = 'echarts-container';
202221
- document.getElementById('map').appendChild(chartDiv);
202463
+ chartDiv.className = "echarts-container";
202464
+ document.getElementById("map").appendChild(chartDiv);
202222
202465
  const minSize = 60;
202223
202466
  const maxSize = 110;
202224
202467
  const baseSize = 80;
202225
202468
  let newSize = 80;
202226
- if(ispPercent === 0){
202227
- newSize = minSize + (maxSize - minSize) * (city.newEnergy - minNewEnergy) / (maxNewEnergy - minNewEnergy);
202228
- }else if(ispPercent === 1){
202229
- newSize = baseSize
202230
- }else{
202231
- newSize = minSize + (maxSize - minSize) * (city.newEnergy - minNewEnergy) / (maxNewEnergy - minNewEnergy);
202469
+ if (ispPercent === 0) {
202470
+ newSize =
202471
+ minSize +
202472
+ ((maxSize - minSize) * (city.newEnergy - minNewEnergy)) /
202473
+ (maxNewEnergy - minNewEnergy);
202474
+ } else if (ispPercent === 1) {
202475
+ newSize = baseSize;
202476
+ } else {
202477
+ newSize =
202478
+ minSize +
202479
+ ((maxSize - minSize) * (city.newEnergy - minNewEnergy)) /
202480
+ (maxNewEnergy - minNewEnergy);
202232
202481
  }
202233
202482
  chartDiv.style.width = `${newSize}px`;
202234
202483
  chartDiv.style.height = `${newSize}px`;
@@ -202267,20 +202516,20 @@ class echartsLayer_EchartsglLayer {
202267
202516
  this.pieChartLayer.add(graphic);
202268
202517
  this.chartElements.push(chartDiv);
202269
202518
  });
202270
- })
202519
+ });
202271
202520
  },
202272
202521
  removePieChartLayer() {
202273
- this.chartElements.forEach(chartDiv => {
202274
- document.getElementById('map').removeChild(chartDiv);
202275
- })
202276
- this.chartElements = []
202277
- if(this.pieChartLayer) {
202278
- this.pieChartLayer.removeAll()
202279
- this.map.remove(this.pieChartLayer)
202522
+ this.chartElements.forEach((chartDiv) => {
202523
+ document.getElementById("map").removeChild(chartDiv);
202524
+ });
202525
+ this.chartElements = [];
202526
+ if (this.pieChartLayer) {
202527
+ this.pieChartLayer.removeAll();
202528
+ this.map.remove(this.pieChartLayer);
202280
202529
  }
202281
202530
  },
202282
202531
  //新能源车辆图层
202283
- initNevsstationflowsumLayer(){
202532
+ initNevsstationflowsumLayer() {
202284
202533
  Object(esri_loader["loadModules"])(["esri/layers/GraphicsLayer"]).then(([GraphicsLayer]) => {
202285
202534
  if (this.nevsstationflowLayer) {
202286
202535
  this.nevsstationflowLayer.removeAll();
@@ -202288,62 +202537,66 @@ class echartsLayer_EchartsglLayer {
202288
202537
  this.nevsstationflowLayer = null;
202289
202538
  }
202290
202539
  this.nevsstationflowLayer = new GraphicsLayer({
202291
- id: "nevsstationflowLayer"
202540
+ id: "nevsstationflowLayer",
202292
202541
  });
202293
202542
  this.nevsstationflowLayer.visible = false;
202294
202543
  this.map.add(this.nevsstationflowLayer);
202295
- this.toNevsstationflowsumLayer()
202296
- })
202544
+ this.toNevsstationflowsumLayer();
202545
+ });
202297
202546
  },
202298
- toNevsstationflowsumLayer(){
202547
+ toNevsstationflowsumLayer() {
202299
202548
  Object(esri_loader["loadModules"])(["esri/Graphic"]).then(([Graphic]) => {
202300
202549
  let data = {
202301
- sysid: 'sdgs_it_brain',
202302
- service_code: 'ts_a_d_nevsstationflowsum'
202303
- }
202550
+ sysid: "sdgs_it_brain",
202551
+ service_code: "ts_a_d_nevsstationflowsum",
202552
+ };
202304
202553
  Object(apiNow["j" /* getNevsstationflowsum */])(data).then((res) => {
202305
202554
  const colorMap = [
202306
- '#f01329', '#f08513', '#f0da13', '#1317f0', '#13e5f0','#3FD7FE'
202555
+ "#f01329",
202556
+ "#f08513",
202557
+ "#f0da13",
202558
+ "#1317f0",
202559
+ "#13e5f0",
202560
+ "#3FD7FE",
202307
202561
  ];
202308
202562
  const getColorByValue = (value) => {
202309
202563
  let color;
202310
202564
  let size;
202311
202565
  if (value > 5000) {
202312
- color = colorMap[0];
202313
- size = 22;
202566
+ color = colorMap[0];
202567
+ size = 22;
202314
202568
  } else if (value >= 4000) {
202315
- color = colorMap[1];
202316
- size = 19;
202569
+ color = colorMap[1];
202570
+ size = 19;
202317
202571
  } else if (value >= 3000) {
202318
- color = colorMap[2];
202319
- size = 16;
202572
+ color = colorMap[2];
202573
+ size = 16;
202320
202574
  } else if (value >= 2000) {
202321
- color = colorMap[3];
202322
- size = 13;
202575
+ color = colorMap[3];
202576
+ size = 13;
202323
202577
  } else {
202324
- color = colorMap[4];
202325
- size = 10;
202578
+ color = colorMap[4];
202579
+ size = 10;
202326
202580
  }
202327
-
202328
202581
  return { color, size };
202329
- }
202582
+ };
202330
202583
  res.sort((a, b) => a.total_flow_nevs - b.total_flow_nevs);
202331
202584
  res.forEach((item, index) => {
202332
- const { color, size } = getColorByValue(item.total_flow_nevs)
202585
+ const { color, size } = getColorByValue(item.total_flow_nevs);
202333
202586
  let point = {
202334
- type: 'point',
202335
- longitude: item.lng,
202587
+ type: "point",
202588
+ longitude: item.lng,
202336
202589
  latitude: item.lat,
202337
- }
202590
+ };
202338
202591
  let simpleMarkerSymbol = {
202339
202592
  type: "simple-marker",
202340
202593
  style: "circle",
202341
- color: this.hexToRgba(color,0.8),
202342
- size: size,
202594
+ color: this.hexToRgba(color, 0.8),
202595
+ size: size,
202343
202596
  outline: {
202344
- width: 0
202345
- }
202346
- }
202597
+ width: 0,
202598
+ },
202599
+ };
202347
202600
  let pointGraphic = new Graphic({
202348
202601
  attributes: {
202349
202602
  objId: index + 1,
@@ -202352,26 +202605,26 @@ class echartsLayer_EchartsglLayer {
202352
202605
  ...item,
202353
202606
  },
202354
202607
  geometry: point,
202355
- symbol: simpleMarkerSymbol
202356
- })
202357
- this.nevsstationflowLayer.add(pointGraphic)
202358
- })
202359
- })
202360
- })
202608
+ symbol: simpleMarkerSymbol,
202609
+ });
202610
+ this.nevsstationflowLayer.add(pointGraphic);
202611
+ });
202612
+ });
202613
+ });
202361
202614
  },
202362
- removeNevsstationflowLayer(){
202363
- if(this.nevsstationflowLayer){
202364
- this.nevsstationflowLayer.removeAll()
202615
+ removeNevsstationflowLayer() {
202616
+ if (this.nevsstationflowLayer) {
202617
+ this.nevsstationflowLayer.removeAll();
202365
202618
  }
202366
202619
  },
202367
202620
  hexToRgba(hex, alpha = 1) {
202368
- hex = hex.replace(/^#/, '');
202621
+ hex = hex.replace(/^#/, "");
202369
202622
  let bigint = parseInt(hex, 16);
202370
202623
  let r = (bigint >> 16) & 255;
202371
202624
  let g = (bigint >> 8) & 255;
202372
202625
  let b = bigint & 255;
202373
202626
  return [r, g, b, alpha]; // 返回带有alpha通道的RGBA格式颜色数组
202374
- }
202627
+ },
202375
202628
  },
202376
202629
  });
202377
202630
 
@@ -202387,15 +202640,15 @@ class echartsLayer_EchartsglLayer {
202387
202640
  isCarPause: false,
202388
202641
  carSpeed: 1,
202389
202642
  layerListSql: {}, //图层Sql字典 用来判断重置的时候值重置右侧树或者获取自己添加的sql
202390
- organizationSql: ['opma_cliqu', 'opma_manag', 'opma_man_2'],
202391
- }
202643
+ organizationSql: ["opma_cliqu", "opma_manag", "opma_man_2"],
202644
+ };
202392
202645
  },
202393
202646
  methods: {
202394
202647
  // 车辆轨迹回放
202395
202648
  carPlayback(list) {
202396
- this.carPause()
202397
- this.closePopup()
202398
- this.delLayerArr(['carPlayback'], true)
202649
+ this.carPause();
202650
+ this.closePopup();
202651
+ this.delLayerArr(["carPlayback"], true);
202399
202652
  this.carSpeed = 1;
202400
202653
  this.isCarPlay = false;
202401
202654
  this.isCarPause = false;
@@ -202411,71 +202664,87 @@ class echartsLayer_EchartsglLayer {
202411
202664
  },
202412
202665
  opts
202413
202666
  );
202414
- if (Reflect.has(list[0], 'iscloudH')) {
202415
- this.addTrackPlayback({
202416
- longitude: list[0].gaoDeLng, //初始车辆位置 经度
202417
- latitude: list[0].gaoDeLat, //初始车辆位置 纬度
202418
- icon: this.cloudHelmet_img,
202419
- width: '35',
202420
- height: '35'
202421
- }, {
202422
- width: 2,
202423
- color: [255, 255, 255],
202424
- xyArr: [list.map(item => [item.gaoDeLng, item.gaoDeLat])]
202425
- }, 'carPlayback', 50)
202426
- }else{
202427
- this.addTrackPlayback({
202428
- longitude: list[0].gaoDeLng, //初始车辆位置 经度
202429
- latitude: list[0].gaoDeLat, //初始车辆位置 纬度
202430
- icon: this.patrolAccident_img,
202431
- width: '35',
202432
- height: '35'
202433
- }, {
202434
- width: 2,
202435
- color: [255, 255, 255],
202436
- xyArr: [list.map(item => [item.gaoDeLng, item.gaoDeLat])]
202437
- }, 'carPlayback', 50)
202667
+ if (Reflect.has(list[0], "iscloudH")) {
202668
+ this.addTrackPlayback(
202669
+ {
202670
+ longitude: list[0].gaoDeLng, //初始车辆位置 经度
202671
+ latitude: list[0].gaoDeLat, //初始车辆位置 纬度
202672
+ icon: this.cloudHelmet_img,
202673
+ width: "35",
202674
+ height: "35",
202675
+ },
202676
+ {
202677
+ width: 2,
202678
+ color: [255, 255, 255],
202679
+ xyArr: [list.map((item) => [item.gaoDeLng, item.gaoDeLat])],
202680
+ },
202681
+ "carPlayback",
202682
+ 50
202683
+ );
202684
+ } else {
202685
+ this.addTrackPlayback(
202686
+ {
202687
+ longitude: list[0].gaoDeLng, //初始车辆位置 经度
202688
+ latitude: list[0].gaoDeLat, //初始车辆位置 纬度
202689
+ icon: this.patrolAccident_img,
202690
+ width: "35",
202691
+ height: "35",
202692
+ },
202693
+ {
202694
+ width: 2,
202695
+ color: [255, 255, 255],
202696
+ xyArr: [list.map((item) => [item.gaoDeLng, item.gaoDeLat])],
202697
+ },
202698
+ "carPlayback",
202699
+ 50
202700
+ );
202438
202701
  }
202439
-
202440
202702
  },
202441
202703
  playbackCarBtn(name) {
202442
- if (name == '播放') {
202704
+ if (name == "播放") {
202443
202705
  this.isCarPlay = true;
202444
- this.carStart()
202445
- } else if (name == '暂停') {
202706
+ this.carStart();
202707
+ } else if (name == "暂停") {
202446
202708
  this.isCarPause = true;
202447
- this.carPause()
202448
- } else if (name == '继续') {
202709
+ this.carPause();
202710
+ } else if (name == "继续") {
202449
202711
  this.isCarPause = false;
202450
- this.carContinue()
202712
+ this.carContinue();
202451
202713
  }
202452
202714
  },
202453
- playbackCarStart() { //车辆轨迹回放开始
202715
+ playbackCarStart() {
202716
+ //车辆轨迹回放开始
202454
202717
  this.isCarPlay = true;
202455
202718
  this.isCarPause = false;
202456
- this.sliderindex = 0
202457
- this.carStart()
202719
+ this.sliderindex = 0;
202720
+ this.carStart();
202458
202721
  },
202459
- playbackSetCarSpeed(num) { //车辆轨迹回放设置速度
202460
- this.setCarSpeed(num * 50)
202722
+ playbackSetCarSpeed(num) {
202723
+ //车辆轨迹回放设置速度
202724
+ this.setCarSpeed(num * 50);
202461
202725
  },
202462
- carDel() { //清除车辆
202463
- this.carPause()
202464
- this.delLayerArr(['carPlayback'], true)
202726
+ carDel() {
202727
+ //清除车辆
202728
+ this.carPause();
202729
+ this.delLayerArr(["carPlayback"], true);
202465
202730
  },
202466
202731
  carBack() {
202467
202732
  this.patrolAccidentLayer_btn_show = false;
202468
- this.sliderindex = 0
202469
- this.carPause()
202470
- this.delLayerArr(['carPlayback'], true)
202733
+ this.sliderindex = 0;
202734
+ this.carPause();
202735
+ this.delLayerArr(["carPlayback"], true);
202471
202736
  },
202472
202737
  /*自定义打点提示框相关*/
202473
202738
  showPointPopup(event) {
202474
- let that = this
202475
- let { latitude, longitude, attributes } = event
202476
- that.$emit('PTCoordinates', { latitude, longitude })
202477
- that.closeTooltip()
202478
- that.openPopupByattr('pointLayer', { X: longitude, Y: latitude, ...attributes })
202739
+ let that = this;
202740
+ let { latitude, longitude, attributes } = event;
202741
+ that.$emit("PTCoordinates", { latitude, longitude });
202742
+ that.closeTooltip();
202743
+ that.openPopupByattr("pointLayer", {
202744
+ X: longitude,
202745
+ Y: latitude,
202746
+ ...attributes,
202747
+ });
202479
202748
  },
202480
202749
  /*
202481
202750
  * 地图工具类
@@ -202484,37 +202753,40 @@ class echartsLayer_EchartsglLayer {
202484
202753
  var mercator = {
202485
202754
  x: 0,
202486
202755
  y: 0,
202487
- }
202488
- var x = (lonlat.x * 20037508.34) / 180
202489
- var y = Math.log(Math.tan(((90 + lonlat.y) * Math.PI) / 360)) / (Math.PI / 180)
202490
- y = (y * 20037508.34) / 180
202491
- mercator.x = x
202492
- mercator.y = y
202493
- return mercator
202756
+ };
202757
+ var x = (lonlat.x * 20037508.34) / 180;
202758
+ var y =
202759
+ Math.log(Math.tan(((90 + lonlat.y) * Math.PI) / 360)) / (Math.PI / 180);
202760
+ y = (y * 20037508.34) / 180;
202761
+ mercator.x = x;
202762
+ mercator.y = y;
202763
+ return mercator;
202494
202764
  },
202495
202765
  mercator2lonlat(mercator) {
202496
202766
  var lonlat = {
202497
202767
  x: 0,
202498
202768
  y: 0,
202499
- }
202500
- var x = (mercator.x / 20037508.34) * 180
202501
- var y = (mercator.y / 20037508.34) * 180
202502
- y = (180 / Math.PI) * (2 * Math.atan(Math.exp((y * Math.PI) / 180)) - Math.PI / 2)
202503
- lonlat.x = x
202504
- lonlat.y = y
202505
- return lonlat
202769
+ };
202770
+ var x = (mercator.x / 20037508.34) * 180;
202771
+ var y = (mercator.y / 20037508.34) * 180;
202772
+ y =
202773
+ (180 / Math.PI) *
202774
+ (2 * Math.atan(Math.exp((y * Math.PI) / 180)) - Math.PI / 2);
202775
+ lonlat.x = x;
202776
+ lonlat.y = y;
202777
+ return lonlat;
202506
202778
  },
202507
202779
  // 关闭弹窗
202508
202780
  closePopup() {
202509
202781
  // let test = document.getElementById('popupBox')
202510
202782
  // test.style.display = 'none'
202511
- this.popupBoxShow = false
202512
- this.$emit('closePopupBack')
202783
+ this.popupBoxShow = false;
202784
+ this.$emit("closePopupBack");
202513
202785
  // 关闭高亮线
202514
202786
  if (this.map) {
202515
- let layer = this.map.findLayerById('roadLine-HighLight')
202787
+ let layer = this.map.findLayerById("roadLine-HighLight");
202516
202788
  if (layer) {
202517
- this.map.remove(layer)
202789
+ this.map.remove(layer);
202518
202790
  }
202519
202791
  }
202520
202792
  if (this.$refs.infoWindowRef) {
@@ -202525,24 +202797,25 @@ class echartsLayer_EchartsglLayer {
202525
202797
  this.$refs.infoWindowRef.clearTime()
202526
202798
  } */
202527
202799
  if (this.$refs.infoWindowRef.destroyFlv) {
202528
- this.$refs.infoWindowRef.destroyFlv()
202800
+ this.$refs.infoWindowRef.destroyFlv();
202529
202801
  }
202530
202802
  if (this.$refs.infoWindowRef.showImg) {
202531
- this.$refs.infoWindowRef.showImg()
202803
+ this.$refs.infoWindowRef.showImg();
202532
202804
  }
202533
- this.$refs.infoWindowRef.isPTZCheck = false
202805
+ this.$refs.infoWindowRef.isPTZCheck = false;
202534
202806
  }
202535
- if (this.popupName === 'latlonAndpile' || this.popupName === 'latlonAndpile_danao') {
202807
+ if (
202808
+ this.popupName === "latlonAndpile" ||
202809
+ this.popupName === "latlonAndpile_danao"
202810
+ ) {
202536
202811
  if (this.graphicsLayer_lat) {
202537
202812
  this.graphicsLayer_lat.removeAll();
202538
- let toolbar = this.toolbar.find(
202539
- (item) => item.id == "weight_latlon"
202540
- );
202813
+ let toolbar = this.toolbar.find((item) => item.id == "weight_latlon");
202541
202814
  this.weight_topile_D = toolbar.imgUrl;
202542
202815
  this.latlon_btn_checked = !this.latlon_btn_checked;
202543
202816
  }
202544
202817
  }
202545
- if (this.popupName === 'roadCameraPreset') {
202818
+ if (this.popupName === "roadCameraPreset") {
202546
202819
  if (this.graphicsLayer_video) {
202547
202820
  this.graphicsLayer_video.removeAll();
202548
202821
  /* let toolbar = this.toolbar.find(
@@ -202556,96 +202829,113 @@ class echartsLayer_EchartsglLayer {
202556
202829
  //关闭提示框
202557
202830
  closeTooltip() {
202558
202831
  if (!this.gisTooltipMouseover) {
202559
- let test = document.getElementById('gisTooltipBox')
202560
- test.style.display = 'none'
202832
+ let test = document.getElementById("gisTooltipBox");
202833
+ test.style.display = "none";
202561
202834
  }
202562
202835
  },
202563
202836
  //实时--- 高德路况用
202564
202837
  getLongTime() {
202565
- let nowDate = new Date()
202566
- let year = nowDate.getFullYear()
202567
- let month = nowDate.getMonth() + 1
202568
- let today = nowDate.getDate()
202569
- let hours = nowDate.getHours()
202570
- let minutes = nowDate.getMinutes()
202571
- let seconds = nowDate.getSeconds()
202838
+ let nowDate = new Date();
202839
+ let year = nowDate.getFullYear();
202840
+ let month = nowDate.getMonth() + 1;
202841
+ let today = nowDate.getDate();
202842
+ let hours = nowDate.getHours();
202843
+ let minutes = nowDate.getMinutes();
202844
+ let seconds = nowDate.getSeconds();
202572
202845
  if (month >= 1 && month <= 9) {
202573
- month = '0' + month
202846
+ month = "0" + month;
202574
202847
  }
202575
202848
  if (today >= 1 && today <= 9) {
202576
- today = '0' + today
202849
+ today = "0" + today;
202577
202850
  }
202578
- let currentdate = year + '-' + month + '-' + today + ' ' + hours + ':' + minutes + ':' + seconds
202579
- let longTime = new Date(currentdate.replace(new RegExp('-', 'gm'), '/')).getTime()
202580
- return longTime
202851
+ let currentdate =
202852
+ year +
202853
+ "-" +
202854
+ month +
202855
+ "-" +
202856
+ today +
202857
+ " " +
202858
+ hours +
202859
+ ":" +
202860
+ minutes +
202861
+ ":" +
202862
+ seconds;
202863
+ let longTime = new Date(
202864
+ currentdate.replace(new RegExp("-", "gm"), "/")
202865
+ ).getTime();
202866
+ return longTime;
202581
202867
  },
202582
202868
  /*
202583
202869
  * 获取url请求前缀
202584
202870
  */
202585
202871
  getRequestPrefix() {
202586
202872
  // 获取网络协议
202587
- var protocol = window.location.protocol
202873
+ var protocol = window.location.protocol;
202588
202874
  // 获取主机名+端口号
202589
- var domainPort = window.location.host
202875
+ var domainPort = window.location.host;
202590
202876
  // 获取发布项目的名称
202591
202877
  // 获取路径
202592
- var url = window.location.pathname
202593
- var webApp = url.split('/')[1]
202594
- var urlPrefix = protocol + '//' + domainPort + '/' + webApp
202595
- return urlPrefix
202878
+ var url = window.location.pathname;
202879
+ var webApp = url.split("/")[1];
202880
+ var urlPrefix = protocol + "//" + domainPort + "/" + webApp;
202881
+ return urlPrefix;
202596
202882
  },
202597
202883
  /* 2X */
202598
202884
  // 视频2X
202599
202885
  videoDoubleClick(videoUrl) {
202600
- this.videodoubleXclick = true
202601
- this.imgdoubleXclick = false
202886
+ this.videodoubleXclick = true;
202887
+ this.imgdoubleXclick = false;
202602
202888
  if (flv_default.a.isSupported()) {
202603
202889
  if (this.doubleflvPlayer === null) {
202604
- const doublevideoElement = document.getElementById('doublevideoElement')
202605
- this.doubleflvPlayer = flv_default.a.createPlayer({
202606
- type: 'flv',
202607
- url: videoUrl,
202608
- }, {
202609
- enableWorker: false,//不启用分离线程
202610
- autoCleanupSourceBuffer: true, //对SourceBuffer进行自动清理缓存
202611
- //autoCleanupMaxBackwardDuration: 10, //当向后缓冲区持续时间超过此值(以秒为单位)时,请对SourceBuffer进行自动清理
202612
- //autoCleanupMinBackwardDuration: 30, //指示进行自动清除时为反向缓冲区保留的持续时间(以秒为单位)。
202613
- enableStashBuffer: false, //关闭IO隐藏缓冲区
202614
- stashInitialSize: 128, //减少首帧显示等待时长
202615
- })
202616
- this.doubleflvPlayer.attachMediaElement(doublevideoElement)
202617
- this.doubleflvPlayer.load()
202618
- this.doubleflvPlayer.play()
202619
- console.log('2X流已开启***')
202890
+ const doublevideoElement =
202891
+ document.getElementById("doublevideoElement");
202892
+ this.doubleflvPlayer = flv_default.a.createPlayer(
202893
+ {
202894
+ type: "flv",
202895
+ url: videoUrl,
202896
+ },
202897
+ {
202898
+ enableWorker: false, //不启用分离线程
202899
+ autoCleanupSourceBuffer: true, //对SourceBuffer进行自动清理缓存
202900
+ //autoCleanupMaxBackwardDuration: 10, //当向后缓冲区持续时间超过此值(以秒为单位)时,请对SourceBuffer进行自动清理
202901
+ //autoCleanupMinBackwardDuration: 30, //指示进行自动清除时为反向缓冲区保留的持续时间(以秒为单位)。
202902
+ enableStashBuffer: false, //关闭IO隐藏缓冲区
202903
+ stashInitialSize: 128, //减少首帧显示等待时长
202904
+ }
202905
+ );
202906
+ this.doubleflvPlayer.attachMediaElement(doublevideoElement);
202907
+ this.doubleflvPlayer.load();
202908
+ this.doubleflvPlayer.play();
202909
+ console.log("2X流已开启***");
202620
202910
  }
202621
202911
  }
202622
202912
  },
202623
202913
  //图像2X
202624
202914
  imgDoubleClick(imgUrl) {
202625
- this.imgdoubleXclick = true
202626
- this.closeVideodouble()
202627
- this.doubleImgUrl = imgUrl
202915
+ this.imgdoubleXclick = true;
202916
+ this.closeVideodouble();
202917
+ this.doubleImgUrl = imgUrl;
202628
202918
  },
202629
202919
  // 关闭视频2X
202630
202920
  closeVideodouble() {
202631
- this.videodoubleXclick = false
202921
+ this.videodoubleXclick = false;
202632
202922
  if (this.doubleflvPlayer) {
202633
- this.doubleflvPlayer.pause()
202634
- this.doubleflvPlayer.unload()
202635
- try{
202636
- this.doubleflvPlayer.detachMediaElement()
202637
- }catch(e){
202638
- //TODO handle the exception
202639
- }
202640
- this.doubleflvPlayer.destroy()
202641
- this.doubleflvPlayer = null
202642
- console.log('2X流已关闭***')
202923
+ this.doubleflvPlayer.pause();
202924
+ this.doubleflvPlayer.unload();
202925
+ try {
202926
+ this.doubleflvPlayer.detachMediaElement();
202927
+ } catch (e) {
202928
+ //TODO handle the exception
202929
+ }
202930
+ this.doubleflvPlayer.destroy();
202931
+ this.doubleflvPlayer = null;
202932
+ console.log("2X流已关闭***");
202643
202933
  }
202644
202934
  },
202645
202935
  // 关闭图像2x
202646
202936
  closeImgdouble() {
202647
- this.imgdoubleXclick = false
202648
- this.doubleImgUrl = ''
202937
+ this.imgdoubleXclick = false;
202938
+ this.doubleImgUrl = "";
202649
202939
  },
202650
202940
  closeAllLayer() {
202651
202941
  this.$GlobalConfig.jiqing.eventTopics.forEach((item) => {
@@ -202690,16 +202980,20 @@ class echartsLayer_EchartsglLayer {
202690
202980
  }
202691
202981
  });
202692
202982
 
202693
- this.$GlobalConfig.jiqing.roadTestPerceptionPublishEquipment.forEach((item) => {
202694
- if (this[item.layerName]) {
202695
- this[item.layerName].visible = false;
202983
+ this.$GlobalConfig.jiqing.roadTestPerceptionPublishEquipment.forEach(
202984
+ (item) => {
202985
+ if (this[item.layerName]) {
202986
+ this[item.layerName].visible = false;
202987
+ }
202696
202988
  }
202697
- });
202698
- this.$GlobalConfig.danao.roadTestPerceptionPublishEquipment.forEach((item) => {
202699
- if (this[item.layerName]) {
202700
- this[item.layerName].visible = false;
202989
+ );
202990
+ this.$GlobalConfig.danao.roadTestPerceptionPublishEquipment.forEach(
202991
+ (item) => {
202992
+ if (this[item.layerName]) {
202993
+ this[item.layerName].visible = false;
202994
+ }
202701
202995
  }
202702
- });
202996
+ );
202703
202997
 
202704
202998
  this.$GlobalConfig.jiqing.roadTestOthersEquipment.forEach((item) => {
202705
202999
  if (this[item.layerName]) {
@@ -202732,39 +203026,82 @@ class echartsLayer_EchartsglLayer {
202732
203026
  // 图层选择Tab页点击切换时返回实时高度
202733
203027
  handleClickTab() {
202734
203028
  setTimeout(() => {
202735
- let tabHeight = document.getElementsByClassName('checkBox')[0].clientHeight + 'px'
203029
+ let tabHeight =
203030
+ document.getElementsByClassName("checkBox")[0].clientHeight + "px";
202736
203031
  //this.tabHeight = `calc(5% + ${tabHeight} - 24px)`;
202737
203032
  this.tabHeight = `calc(2% + ${tabHeight})`;
202738
- this.$emit('fromGisCheckBox', tabHeight)
202739
- }, 0)
203033
+ this.$emit("fromGisCheckBox", tabHeight);
203034
+ }, 0);
202740
203035
  },
202741
203036
  // 图层SQL过滤组装方法
202742
203037
  makeRoadSql(name) {
202743
203038
  // if(name == 'roadlineLayer_'){
202744
203039
  // name = 'roadlineLayer'
202745
203040
  // }
202746
- let layerObj = this.$GlobalConfig[this.typeNameLocal].roadTestEquipment.find((item) => item.layerName == name) ||
202747
- this.$GlobalConfig[this.typeNameLocal].roadTestPublishEquipment.find((item) => item.layerName == name) ||
202748
- this.$GlobalConfig[this.typeNameLocal].roadTestPerceptionPublishEquipment.find((item) => item.layerName == name) ||
202749
- this.$GlobalConfig[this.typeNameLocal].roadTestOthersEquipment.find((item) => item.layerName == name) ||
202750
- this.$GlobalConfig[this.typeNameLocal].roadNetworkFacilities.find((item) => item.layerName == name) ||
202751
- this.$GlobalConfig[this.typeNameLocal].maintenance.find((item) => item.layerName == name)||
202752
- this.$GlobalConfig[this.typeNameLocal].roadAndBridgeTunnel.find((item) => item.layerName == name) ||
202753
- this.$GlobalConfig[this.typeNameLocal].equipmentFacilities.find((item) => item.layerName == name) ||
202754
- this.$GlobalConfig[this.typeNameLocal].otherClass.find((item) => item.layerName == name) ;
202755
- let sqlText = ''
203041
+ let layerObj =
203042
+ this.$GlobalConfig[this.typeNameLocal].roadTestEquipment.find(
203043
+ (item) => item.layerName == name
203044
+ ) ||
203045
+ this.$GlobalConfig[this.typeNameLocal].roadTestPublishEquipment.find(
203046
+ (item) => item.layerName == name
203047
+ ) ||
203048
+ this.$GlobalConfig[
203049
+ this.typeNameLocal
203050
+ ].roadTestPerceptionPublishEquipment.find(
203051
+ (item) => item.layerName == name
203052
+ ) ||
203053
+ this.$GlobalConfig[this.typeNameLocal].roadTestOthersEquipment.find(
203054
+ (item) => item.layerName == name
203055
+ ) ||
203056
+ this.$GlobalConfig[this.typeNameLocal].roadNetworkFacilities.find(
203057
+ (item) => item.layerName == name
203058
+ ) ||
203059
+ this.$GlobalConfig[this.typeNameLocal].maintenance.find(
203060
+ (item) => item.layerName == name
203061
+ ) ||
203062
+ this.$GlobalConfig[this.typeNameLocal].roadAndBridgeTunnel.find(
203063
+ (item) => item.layerName == name
203064
+ ) ||
203065
+ this.$GlobalConfig[this.typeNameLocal].equipmentFacilities.find(
203066
+ (item) => item.layerName == name
203067
+ ) ||
203068
+ this.$GlobalConfig[this.typeNameLocal].otherClass.find(
203069
+ (item) => item.layerName == name
203070
+ );
203071
+ let sqlText = "";
202756
203072
  if (layerObj && (layerObj.roadIdKey || layerObj.is_test)) {
202757
- if (layerObj.roadIdKey && this.$GlobalConfig[this.typeNameLocal].roadIDs.length) {
202758
- sqlText = `${layerObj.roadIdKey} in (${this.$GlobalConfig[this.typeNameLocal].roadIDs.map((item) => `'${item}'`).join(',')})`
203073
+ if (
203074
+ layerObj.roadIdKey &&
203075
+ this.$GlobalConfig[this.typeNameLocal].roadIDs.length
203076
+ ) {
203077
+ sqlText = `${layerObj.roadIdKey} in (${this.$GlobalConfig[
203078
+ this.typeNameLocal
203079
+ ].roadIDs
203080
+ .map((item) => `'${item}'`)
203081
+ .join(",")})`;
202759
203082
  }
202760
203083
  if (layerObj.is_test || layerObj.is_test === 0) {
202761
- sqlText = sqlText ? `${sqlText} and is_test = ${layerObj.is_test}` : `is_test = ${layerObj.is_test}`
203084
+ sqlText = sqlText
203085
+ ? `${sqlText} and is_test = ${layerObj.is_test}`
203086
+ : `is_test = ${layerObj.is_test}`;
203087
+ }
203088
+ if (
203089
+ this.typeNameLocal == "danao" &&
203090
+ [
203091
+ "bridgeLayer",
203092
+ "tunnelLayer",
203093
+ "serviceLayer",
203094
+ "stationLayer",
203095
+ "pivotLayer",
203096
+ "interchangeLayer",
203097
+ ].indexOf(name) > -1
203098
+ ) {
203099
+ sqlText = sqlText
203100
+ ? `${sqlText} and use_status in ('1')`
203101
+ : `use_status in ('1')`;
202762
203102
  }
202763
- if (this.typeNameLocal == 'danao' && ['bridgeLayer', 'tunnelLayer', 'serviceLayer', 'stationLayer', 'pivotLayer', 'interchangeLayer'].indexOf(name) > -1) {
202764
- sqlText = sqlText ? `${sqlText} and use_status in ('1')` : `use_status in ('1')`
202765
- }
202766
203103
  }
202767
- let sql = ''
203104
+ let sql = "";
202768
203105
  // if(Object.keys(this.querySql).length && layerObj && !layerObj.organizationSql){
202769
203106
  // let arr = [];
202770
203107
  // for(let i in this.querySql){
@@ -202772,118 +203109,220 @@ class echartsLayer_EchartsglLayer {
202772
203109
  // }
202773
203110
  // sql = `${arr.join(' and ')}`
202774
203111
  // }
202775
- if (this.organizationId && this.organizationType && layerObj && !layerObj.organizationSql) {
203112
+ if (
203113
+ this.organizationId &&
203114
+ this.organizationType &&
203115
+ layerObj &&
203116
+ !layerObj.organizationSql
203117
+ ) {
202776
203118
  // sql = `${this.organizationSql[+this.organizationType-1]} in ('${this.organizationId}')`
202777
203119
  // sql = `${this.organizationSql[+this.organizationType-1]} like '%${this.organizationId}%'`
202778
- if (name == 'pivotLayer') {
202779
- sql = `${this.organizationSql[+this.organizationType - 1]} like '%${this.organizationId}%'`
203120
+ if (name == "pivotLayer") {
203121
+ sql = `${this.organizationSql[+this.organizationType - 1]} like '%${
203122
+ this.organizationId
203123
+ }%'`;
202780
203124
  } else {
202781
- sql = `${this.organizationSql[+this.organizationType - 1]} in ('${this.organizationId}')`
203125
+ sql = `${this.organizationSql[+this.organizationType - 1]} in ('${
203126
+ this.organizationId
203127
+ }')`;
202782
203128
  }
202783
203129
  }
202784
203130
  if (sqlText || sql) {
202785
203131
  // console.log(name)
202786
203132
  // console.log(`(${sqlText}${sqlText && sql?' and ' + sql:sql})`)
202787
- return `(${sqlText}${sqlText && sql ? ' and ' + sql : sql})`
203133
+ return `(${sqlText}${sqlText && sql ? " and " + sql : sql})`;
202788
203134
  } else {
202789
- return ``
202790
- }
202791
- },
202792
- // 图层SQL过滤组装方法
202793
- makeRoadSqlTree(name,roadCodes) {
202794
- let layerObj = this.$GlobalConfig[this.typeNameLocal].roadTestEquipment.find((item) => item.layerName == name) ||
202795
- this.$GlobalConfig[this.typeNameLocal].roadTestPublishEquipment.find((item) => item.layerName == name) ||
202796
- this.$GlobalConfig[this.typeNameLocal].roadTestPerceptionPublishEquipment.find((item) => item.layerName == name) ||
202797
- this.$GlobalConfig[this.typeNameLocal].roadTestOthersEquipment.find((item) => item.layerName == name) ||
202798
- this.$GlobalConfig[this.typeNameLocal].roadNetworkFacilities.find((item) => item.layerName == name) ||
202799
- this.$GlobalConfig[this.typeNameLocal].maintenance.find((item) => item.layerName == name) ||
202800
- this.$GlobalConfig[this.typeNameLocal].roadAndBridgeTunnel.find((item) => item.layerName == name) ||
202801
- this.$GlobalConfig[this.typeNameLocal].equipmentFacilities.find((item) => item.layerName == name) ||
202802
- this.$GlobalConfig[this.typeNameLocal].otherClass.find((item) => item.layerName == name) ;
202803
- let sqlText = ''
202804
- if (layerObj && roadCodes) {
202805
- if (layerObj.roadIdKey && roadCodes.length) {
202806
- sqlText = `${layerObj.roadIdKey} in (${roadCodes.map((item) => `'${item}'`).join(',')})`
202807
- }
202808
- if (layerObj.is_test || layerObj.is_test === 0) {
202809
- sqlText = sqlText ? `${sqlText} and is_test = ${layerObj.is_test}` : `is_test = ${layerObj.is_test}`
202810
- }
202811
- if (this.typeNameLocal == 'danao' && ['bridgeLayer', 'tunnelLayer', 'serviceLayer', 'stationLayer', 'pivotLayer', 'interchangeLayer'].indexOf(name) > -1) {
202812
- sqlText = sqlText ? `${sqlText} and use_status in ('1')` : `use_status in ('1')`
202813
- }
202814
- }
202815
- let sql = ''
202816
- if (this.organizationId && this.organizationType && layerObj && !layerObj.organizationSql) {
202817
- if (name == 'pivotLayer') {
202818
- sql = `${this.organizationSql[+this.organizationType - 1]} like '%${this.organizationId}%'`
202819
- } else {
202820
- sql = `${this.organizationSql[+this.organizationType - 1]} in ('${this.organizationId}')`
202821
- }
202822
- }
202823
- if (sqlText || sql) {
202824
- return `(${sqlText}${sqlText && sql ? ' and ' + sql : sql})`
202825
- } else {
202826
- return ``
202827
- }
202828
- },
203135
+ return ``;
203136
+ }
203137
+ },
203138
+ // 图层SQL过滤组装方法
203139
+ makeRoadSqlTree(name, roadCodes) {
203140
+ let layerObj =
203141
+ this.$GlobalConfig[this.typeNameLocal].roadTestEquipment.find(
203142
+ (item) => item.layerName == name
203143
+ ) ||
203144
+ this.$GlobalConfig[this.typeNameLocal].roadTestPublishEquipment.find(
203145
+ (item) => item.layerName == name
203146
+ ) ||
203147
+ this.$GlobalConfig[
203148
+ this.typeNameLocal
203149
+ ].roadTestPerceptionPublishEquipment.find(
203150
+ (item) => item.layerName == name
203151
+ ) ||
203152
+ this.$GlobalConfig[this.typeNameLocal].roadTestOthersEquipment.find(
203153
+ (item) => item.layerName == name
203154
+ ) ||
203155
+ this.$GlobalConfig[this.typeNameLocal].roadNetworkFacilities.find(
203156
+ (item) => item.layerName == name
203157
+ ) ||
203158
+ this.$GlobalConfig[this.typeNameLocal].maintenance.find(
203159
+ (item) => item.layerName == name
203160
+ ) ||
203161
+ this.$GlobalConfig[this.typeNameLocal].roadAndBridgeTunnel.find(
203162
+ (item) => item.layerName == name
203163
+ ) ||
203164
+ this.$GlobalConfig[this.typeNameLocal].equipmentFacilities.find(
203165
+ (item) => item.layerName == name
203166
+ ) ||
203167
+ this.$GlobalConfig[this.typeNameLocal].otherClass.find(
203168
+ (item) => item.layerName == name
203169
+ );
203170
+ let sqlText = "";
203171
+ if (layerObj && roadCodes) {
203172
+ if (layerObj.roadIdKey && roadCodes.length) {
203173
+ sqlText = `${layerObj.roadIdKey} in (${roadCodes
203174
+ .map((item) => `'${item}'`)
203175
+ .join(",")})`;
203176
+ }
203177
+ if (layerObj.is_test || layerObj.is_test === 0) {
203178
+ sqlText = sqlText
203179
+ ? `${sqlText} and is_test = ${layerObj.is_test}`
203180
+ : `is_test = ${layerObj.is_test}`;
203181
+ }
203182
+ if (
203183
+ this.typeNameLocal == "danao" &&
203184
+ [
203185
+ "bridgeLayer",
203186
+ "tunnelLayer",
203187
+ "serviceLayer",
203188
+ "stationLayer",
203189
+ "pivotLayer",
203190
+ "interchangeLayer",
203191
+ ].indexOf(name) > -1
203192
+ ) {
203193
+ sqlText = sqlText
203194
+ ? `${sqlText} and use_status in ('1')`
203195
+ : `use_status in ('1')`;
203196
+ }
203197
+ }
203198
+ let sql = "";
203199
+ if (
203200
+ this.organizationId &&
203201
+ this.organizationType &&
203202
+ layerObj &&
203203
+ !layerObj.organizationSql
203204
+ ) {
203205
+ if (name == "pivotLayer") {
203206
+ sql = `${this.organizationSql[+this.organizationType - 1]} like '%${
203207
+ this.organizationId
203208
+ }%'`;
203209
+ } else {
203210
+ sql = `${this.organizationSql[+this.organizationType - 1]} in ('${
203211
+ this.organizationId
203212
+ }')`;
203213
+ }
203214
+ }
203215
+ if (sqlText || sql) {
203216
+ return `(${sqlText}${sqlText && sql ? " and " + sql : sql})`;
203217
+ } else {
203218
+ return ``;
203219
+ }
203220
+ },
202829
203221
  addSql(data) {
202830
- console.log('addSql',data)
202831
- if ((data.opmaManagerCorpIds !=null && data.opmaManagerCorpIds.length) || (data.opmaManagerIds!=null && data.opmaManagerIds.length) || (data.roadCodes !=null &&data.roadCodes.length)) {
203222
+ console.log("addSql", data);
203223
+ if (
203224
+ (data.opmaManagerCorpIds != null && data.opmaManagerCorpIds.length) ||
203225
+ (data.opmaManagerIds != null && data.opmaManagerIds.length) ||
203226
+ (data.roadCodes != null && data.roadCodes.length)
203227
+ ) {
202832
203228
  this.checkList.forEach((item) => {
202833
203229
  // console.log(item)
202834
203230
  if (item.opmaManageIdKey) {
202835
- let roadSql;
202836
- if(data.roadCodes && data.roadCodes.length){
202837
- roadSql = this.makeRoadSqlTree(item.layerName,data.roadCodes)
202838
- }else{
202839
- roadSql = this.makeRoadSql(item.layerName)
202840
- }
202841
- let layerName = item.layerName
203231
+ let roadSql;
203232
+ if (data.roadCodes && data.roadCodes.length) {
203233
+ roadSql = this.makeRoadSqlTree(item.layerName, data.roadCodes);
203234
+ } else {
203235
+ roadSql = this.makeRoadSql(item.layerName);
203236
+ }
203237
+ let layerName = item.layerName;
202842
203238
  // if(layerName == 'roadlineLayer'){
202843
203239
  // layerName = 'roadlineLayer_'
202844
203240
  // }
202845
- let opmaManageSql = []
202846
- if((data.opmaManagerCorpIds !=null && data.opmaManagerCorpIds.length) || (data.opmaManagerIds!=null && data.opmaManagerIds.length) ){
202847
- for (let i in item.opmaManageIdKey) {
202848
- // console.log(i)
202849
- if (data[item.opmaManageIdKey[i]].length) {
202850
- data[item.opmaManageIdKey[i]].map((id) => {
202851
- //opmaManageSql.push(`${i} like '%${id}%'`)
202852
- opmaManageSql.push(`${i} = '${id}'`)
202853
- })
202854
- }
202855
- }
202856
- }
203241
+ let opmaManageSql = [];
203242
+ if (
203243
+ (data.opmaManagerCorpIds != null &&
203244
+ data.opmaManagerCorpIds.length) ||
203245
+ (data.opmaManagerIds != null && data.opmaManagerIds.length)
203246
+ ) {
203247
+ for (let i in item.opmaManageIdKey) {
203248
+ // console.log(i)
203249
+ if (data[item.opmaManageIdKey[i]].length) {
203250
+ data[item.opmaManageIdKey[i]].map((id) => {
203251
+ //opmaManageSql.push(`${i} like '%${id}%'`)
203252
+ opmaManageSql.push(`${i} = '${id}'`);
203253
+ });
203254
+ }
203255
+ }
203256
+ }
202857
203257
  if (!this.layerListSql[layerName]) {
202858
- this.layerListSql[layerName] = {}
203258
+ this.layerListSql[layerName] = {};
203259
+ }
203260
+ let opmaManageSqlWhere = "";
203261
+ if (opmaManageSql != null && opmaManageSql.length > 0) {
203262
+ opmaManageSqlWhere = `(${opmaManageSql.join(" or ")})`;
203263
+ this.layerListSql[layerName].treeSql = `(${opmaManageSql.join(
203264
+ " or "
203265
+ )})`;
202859
203266
  }
202860
- let opmaManageSqlWhere = '';
202861
- if(opmaManageSql !=null && opmaManageSql.length >0){
202862
- opmaManageSqlWhere = `(${opmaManageSql.join(' or ')})`
202863
- this.layerListSql[layerName].treeSql = `(${opmaManageSql.join(' or ')})`
202864
- }
202865
203267
  if (roadSql) {
202866
- //根据道路筛选-道路线高亮
202867
- if(data.roadCodes && data.roadCodes.length){
202868
- this.roadlineLayer.opacity=0;
202869
- this.roadlineLayer.visible = true;
202870
- let roadSql_tmp = roadSql.replace("and use_status in ('1')","")
202871
- this.roadlineLayer.definitionExpression = `(${roadSql_tmp}${this.layerListSql['roadlineLayer'].makeSql ? ' and ' + this.layerListSql['roadlineLayer'].makeSql : ''}${(this.layerListSql['roadlineLayer'].makeSql || roadSql) && opmaManageSqlWhere? ' and '+opmaManageSqlWhere : opmaManageSqlWhere})`
202872
- setTimeout(() => {
202873
- this.roadlineLayer.opacity=1;
202874
- }, 1000);
202875
- }else{
202876
- if (this.checkList.filter((item) => item.layerName == "roadlineLayer").length <=0) {
202877
- this.roadlineLayer.visible = false;
202878
- }
202879
- }
202880
- this[layerName].definitionExpression = `(${roadSql}${this.layerListSql[layerName].makeSql ? ' and ' + this.layerListSql[layerName].makeSql : ''}${(this.layerListSql[layerName].makeSql || roadSql) && opmaManageSqlWhere? ' and '+opmaManageSqlWhere : opmaManageSqlWhere})`
203268
+ //根据道路筛选-道路线高亮
203269
+ if (data.roadCodes && data.roadCodes.length) {
203270
+ this.roadlineLayer.opacity = 0;
203271
+ this.roadlineLayer.visible = true;
203272
+ let roadSql_tmp = roadSql.replace(
203273
+ "and use_status in ('1')",
203274
+ ""
203275
+ );
203276
+ this.roadlineLayer.definitionExpression = `(${roadSql_tmp}${
203277
+ this.layerListSql["roadlineLayer"].makeSql
203278
+ ? " and " + this.layerListSql["roadlineLayer"].makeSql
203279
+ : ""
203280
+ }${
203281
+ (this.layerListSql["roadlineLayer"].makeSql || roadSql) &&
203282
+ opmaManageSqlWhere
203283
+ ? " and " + opmaManageSqlWhere
203284
+ : opmaManageSqlWhere
203285
+ })`;
203286
+ setTimeout(() => {
203287
+ this.roadlineLayer.opacity = 1;
203288
+ }, 1000);
203289
+ } else {
203290
+ if (
203291
+ this.checkList.filter(
203292
+ (item) => item.layerName == "roadlineLayer"
203293
+ ).length <= 0
203294
+ ) {
203295
+ this.roadlineLayer.visible = false;
203296
+ }
203297
+ }
203298
+ this[layerName].definitionExpression = `(${roadSql}${
203299
+ this.layerListSql[layerName].makeSql
203300
+ ? " and " + this.layerListSql[layerName].makeSql
203301
+ : ""
203302
+ }${
203303
+ (this.layerListSql[layerName].makeSql || roadSql) &&
203304
+ opmaManageSqlWhere
203305
+ ? " and " + opmaManageSqlWhere
203306
+ : opmaManageSqlWhere
203307
+ })`;
202881
203308
  } else {
202882
- this[layerName].definitionExpression = `(${this.layerListSql[layerName].makeSql ? this.layerListSql[layerName].makeSql : ''}${this.layerListSql[layerName].makeSql && opmaManageSqlWhere ? ' and '+opmaManageSqlWhere : opmaManageSqlWhere})`
202883
- if (this.checkList.filter((item) => item.layerName == "roadlineLayer").length <=0) {
202884
- this.roadlineLayer.visible = false;
202885
- }
202886
- }
203309
+ this[layerName].definitionExpression = `(${
203310
+ this.layerListSql[layerName].makeSql
203311
+ ? this.layerListSql[layerName].makeSql
203312
+ : ""
203313
+ }${
203314
+ this.layerListSql[layerName].makeSql && opmaManageSqlWhere
203315
+ ? " and " + opmaManageSqlWhere
203316
+ : opmaManageSqlWhere
203317
+ })`;
203318
+ if (
203319
+ this.checkList.filter(
203320
+ (item) => item.layerName == "roadlineLayer"
203321
+ ).length <= 0
203322
+ ) {
203323
+ this.roadlineLayer.visible = false;
203324
+ }
203325
+ }
202887
203326
  // if (layerName == 'roadlineLayer_') {
202888
203327
  // setTimeout(() => {
202889
203328
  // this.roadlineLayer_.visible = true
@@ -202892,12 +203331,16 @@ class echartsLayer_EchartsglLayer {
202892
203331
  // console.log(layerName)
202893
203332
  // console.log(this[layerName].definitionExpression)
202894
203333
  }
202895
- this.reloadQueryFeatureCount(item.layerName)
202896
- })
203334
+ this.reloadQueryFeatureCount(item.layerName);
203335
+ });
202897
203336
  } else {
202898
- if (this.checkList.filter((item) => item.layerName == "roadlineLayer").length <=0 || data.isTreeRoad) {
202899
- this.roadlineLayer.visible = false;
202900
- }
203337
+ if (
203338
+ this.checkList.filter((item) => item.layerName == "roadlineLayer")
203339
+ .length <= 0 ||
203340
+ data.isTreeRoad
203341
+ ) {
203342
+ this.roadlineLayer.visible = false;
203343
+ }
202901
203344
  // console.log(this.roadlineLayer_,this.roadlineLayer_.definitionExpression)
202902
203345
  // if (this.roadlineLayer_ && this.roadlineLayer_.definitionExpression) {
202903
203346
  // if(!this.layerListSql.roadlineLayer_){
@@ -202911,186 +203354,379 @@ class echartsLayer_EchartsglLayer {
202911
203354
  // }
202912
203355
  // this.roadlineLayer_.visible = false
202913
203356
  // }
202914
- this.$GlobalConfig[this.typeNameLocal].roadTestEquipment.forEach((item) => {
202915
- if (item[item.layerName] && this[item.layerName] && (this[item.layerName].definitionExpression || this[item.layerName].definitionExpression === '')) {
202916
- if (!this.layerListSql[item.layerName]) {
202917
- this.layerListSql[item.layerName] = {}
202918
- }
202919
- let sql = this.makeRoadSql(item.layerName);
202920
- if (sql) {
202921
- this[item.layerName].definitionExpression = `(${sql.slice(1, sql.length - 1)}${this.layerListSql[item.layerName].makeSql ? ' and ' + this.layerListSql[item.layerName].makeSql : ''})`
202922
- } else {
202923
- this[item.layerName].definitionExpression = this.layerListSql[item.layerName].makeSql ? `(${this.layerListSql[item.layerName].makeSql})` : ''
203357
+ this.$GlobalConfig[this.typeNameLocal].roadTestEquipment.forEach(
203358
+ (item) => {
203359
+ if (
203360
+ item[item.layerName] &&
203361
+ this[item.layerName] &&
203362
+ (this[item.layerName].definitionExpression ||
203363
+ this[item.layerName].definitionExpression === "")
203364
+ ) {
203365
+ if (!this.layerListSql[item.layerName]) {
203366
+ this.layerListSql[item.layerName] = {};
203367
+ }
203368
+ let sql = this.makeRoadSql(item.layerName);
203369
+ if (sql) {
203370
+ this[item.layerName].definitionExpression = `(${sql.slice(
203371
+ 1,
203372
+ sql.length - 1
203373
+ )}${
203374
+ this.layerListSql[item.layerName].makeSql
203375
+ ? " and " + this.layerListSql[item.layerName].makeSql
203376
+ : ""
203377
+ })`;
203378
+ } else {
203379
+ this[item.layerName].definitionExpression = this.layerListSql[
203380
+ item.layerName
203381
+ ].makeSql
203382
+ ? `(${this.layerListSql[item.layerName].makeSql})`
203383
+ : "";
203384
+ }
203385
+ this.reloadQueryFeatureCount(item.layerName);
202924
203386
  }
202925
- this.reloadQueryFeatureCount(item.layerName)
202926
203387
  }
202927
- })
202928
- this.$GlobalConfig[this.typeNameLocal].roadTestPublishEquipment.forEach((item) => {
202929
- if (item[item.layerName] && this[item.layerName] && (this[item.layerName].definitionExpression || this[item.layerName].definitionExpression === '')) {
202930
- if (!this.layerListSql[item.layerName]) {
202931
- this.layerListSql[item.layerName] = {}
202932
- }
202933
- let sql = this.makeRoadSql(item.layerName);
202934
- if (sql) {
202935
- this[item.layerName].definitionExpression = `(${sql.slice(1, sql.length - 1)}${this.layerListSql[item.layerName].makeSql ? ' and ' + this.layerListSql[item.layerName].makeSql : ''})`
202936
- } else {
202937
- this[item.layerName].definitionExpression = this.layerListSql[item.layerName].makeSql ? `(${this.layerListSql[item.layerName].makeSql})` : ''
203388
+ );
203389
+ this.$GlobalConfig[this.typeNameLocal].roadTestPublishEquipment.forEach(
203390
+ (item) => {
203391
+ if (
203392
+ item[item.layerName] &&
203393
+ this[item.layerName] &&
203394
+ (this[item.layerName].definitionExpression ||
203395
+ this[item.layerName].definitionExpression === "")
203396
+ ) {
203397
+ if (!this.layerListSql[item.layerName]) {
203398
+ this.layerListSql[item.layerName] = {};
203399
+ }
203400
+ let sql = this.makeRoadSql(item.layerName);
203401
+ if (sql) {
203402
+ this[item.layerName].definitionExpression = `(${sql.slice(
203403
+ 1,
203404
+ sql.length - 1
203405
+ )}${
203406
+ this.layerListSql[item.layerName].makeSql
203407
+ ? " and " + this.layerListSql[item.layerName].makeSql
203408
+ : ""
203409
+ })`;
203410
+ } else {
203411
+ this[item.layerName].definitionExpression = this.layerListSql[
203412
+ item.layerName
203413
+ ].makeSql
203414
+ ? `(${this.layerListSql[item.layerName].makeSql})`
203415
+ : "";
203416
+ }
203417
+ this.reloadQueryFeatureCount(item.layerName);
202938
203418
  }
202939
- this.reloadQueryFeatureCount(item.layerName)
202940
203419
  }
202941
- })
202942
- this.$GlobalConfig[this.typeNameLocal].roadTestPerceptionPublishEquipment.forEach((item) => {
202943
- if (item[item.layerName] && this[item.layerName] && (this[item.layerName].definitionExpression || this[item.layerName].definitionExpression === '')) {
203420
+ );
203421
+ this.$GlobalConfig[
203422
+ this.typeNameLocal
203423
+ ].roadTestPerceptionPublishEquipment.forEach((item) => {
203424
+ if (
203425
+ item[item.layerName] &&
203426
+ this[item.layerName] &&
203427
+ (this[item.layerName].definitionExpression ||
203428
+ this[item.layerName].definitionExpression === "")
203429
+ ) {
202944
203430
  if (!this.layerListSql[item.layerName]) {
202945
- this.layerListSql[item.layerName] = {}
203431
+ this.layerListSql[item.layerName] = {};
202946
203432
  }
202947
203433
  let sql = this.makeRoadSql(item.layerName);
202948
203434
  if (sql) {
202949
- this[item.layerName].definitionExpression = `(${sql.slice(1, sql.length - 1)}${this.layerListSql[item.layerName].makeSql ? ' and ' + this.layerListSql[item.layerName].makeSql : ''})`
203435
+ this[item.layerName].definitionExpression = `(${sql.slice(
203436
+ 1,
203437
+ sql.length - 1
203438
+ )}${
203439
+ this.layerListSql[item.layerName].makeSql
203440
+ ? " and " + this.layerListSql[item.layerName].makeSql
203441
+ : ""
203442
+ })`;
202950
203443
  } else {
202951
- this[item.layerName].definitionExpression = this.layerListSql[item.layerName].makeSql ? `(${this.layerListSql[item.layerName].makeSql})` : ''
203444
+ this[item.layerName].definitionExpression = this.layerListSql[
203445
+ item.layerName
203446
+ ].makeSql
203447
+ ? `(${this.layerListSql[item.layerName].makeSql})`
203448
+ : "";
202952
203449
  }
202953
- this.reloadQueryFeatureCount(item.layerName)
203450
+ this.reloadQueryFeatureCount(item.layerName);
202954
203451
  }
202955
- })
202956
- this.$GlobalConfig[this.typeNameLocal].roadTestOthersEquipment.forEach((item) => {
202957
- if (item[item.layerName] && this[item.layerName] && (this[item.layerName].definitionExpression || this[item.layerName].definitionExpression === '')) {
202958
- if (!this.layerListSql[item.layerName]) {
202959
- this.layerListSql[item.layerName] = {}
202960
- }
202961
- let sql = this.makeRoadSql(item.layerName);
202962
- if (sql) {
202963
- this[item.layerName].definitionExpression = `(${sql.slice(1, sql.length - 1)}${this.layerListSql[item.layerName].makeSql ? ' and ' + this.layerListSql[item.layerName].makeSql : ''})`
202964
- } else {
202965
- this[item.layerName].definitionExpression = this.layerListSql[item.layerName].makeSql ? `(${this.layerListSql[item.layerName].makeSql})` : ''
203452
+ });
203453
+ this.$GlobalConfig[this.typeNameLocal].roadTestOthersEquipment.forEach(
203454
+ (item) => {
203455
+ if (
203456
+ item[item.layerName] &&
203457
+ this[item.layerName] &&
203458
+ (this[item.layerName].definitionExpression ||
203459
+ this[item.layerName].definitionExpression === "")
203460
+ ) {
203461
+ if (!this.layerListSql[item.layerName]) {
203462
+ this.layerListSql[item.layerName] = {};
203463
+ }
203464
+ let sql = this.makeRoadSql(item.layerName);
203465
+ if (sql) {
203466
+ this[item.layerName].definitionExpression = `(${sql.slice(
203467
+ 1,
203468
+ sql.length - 1
203469
+ )}${
203470
+ this.layerListSql[item.layerName].makeSql
203471
+ ? " and " + this.layerListSql[item.layerName].makeSql
203472
+ : ""
203473
+ })`;
203474
+ } else {
203475
+ this[item.layerName].definitionExpression = this.layerListSql[
203476
+ item.layerName
203477
+ ].makeSql
203478
+ ? `(${this.layerListSql[item.layerName].makeSql})`
203479
+ : "";
203480
+ }
203481
+ this.reloadQueryFeatureCount(item.layerName);
202966
203482
  }
202967
- this.reloadQueryFeatureCount(item.layerName)
202968
203483
  }
202969
- })
202970
- this.$GlobalConfig[this.typeNameLocal].roadNetworkFacilities.forEach((item) => {
202971
- if (item[item.layerName] && this[item.layerName] && (this[item.layerName].definitionExpression || this[item.layerName].definitionExpression === '')) {
202972
- if (!this.layerListSql[item.layerName]) {
202973
- this.layerListSql[item.layerName] = {}
202974
- }
202975
- let sql = this.makeRoadSql(item.layerName);
202976
- if (sql) {
202977
- this[item.layerName].definitionExpression = `(${sql.slice(1, sql.length - 1)}${this.layerListSql[item.layerName].makeSql ? ' and ' + this.layerListSql[item.layerName].makeSql : ''})`
202978
- } else {
202979
- this[item.layerName].definitionExpression = this.layerListSql[item.layerName].makeSql ? `(${this.layerListSql[item.layerName].makeSql})` : ''
203484
+ );
203485
+ this.$GlobalConfig[this.typeNameLocal].roadNetworkFacilities.forEach(
203486
+ (item) => {
203487
+ if (
203488
+ item[item.layerName] &&
203489
+ this[item.layerName] &&
203490
+ (this[item.layerName].definitionExpression ||
203491
+ this[item.layerName].definitionExpression === "")
203492
+ ) {
203493
+ if (!this.layerListSql[item.layerName]) {
203494
+ this.layerListSql[item.layerName] = {};
203495
+ }
203496
+ let sql = this.makeRoadSql(item.layerName);
203497
+ if (sql) {
203498
+ this[item.layerName].definitionExpression = `(${sql.slice(
203499
+ 1,
203500
+ sql.length - 1
203501
+ )}${
203502
+ this.layerListSql[item.layerName].makeSql
203503
+ ? " and " + this.layerListSql[item.layerName].makeSql
203504
+ : ""
203505
+ })`;
203506
+ } else {
203507
+ this[item.layerName].definitionExpression = this.layerListSql[
203508
+ item.layerName
203509
+ ].makeSql
203510
+ ? `(${this.layerListSql[item.layerName].makeSql})`
203511
+ : "";
203512
+ }
203513
+ // console.log(item.layerName)
203514
+ // console.log(this[item.layerName].definitionExpression)
203515
+ this.reloadQueryFeatureCount(item.layerName);
202980
203516
  }
202981
- // console.log(item.layerName)
202982
- // console.log(this[item.layerName].definitionExpression)
202983
- this.reloadQueryFeatureCount(item.layerName)
202984
203517
  }
202985
- })
203518
+ );
202986
203519
  this.$GlobalConfig[this.typeNameLocal].maintenance.forEach((item) => {
202987
- if (item[item.layerName] && this[item.layerName] && (this[item.layerName].definitionExpression || this[item.layerName].definitionExpression === '')) {
203520
+ if (
203521
+ item[item.layerName] &&
203522
+ this[item.layerName] &&
203523
+ (this[item.layerName].definitionExpression ||
203524
+ this[item.layerName].definitionExpression === "")
203525
+ ) {
202988
203526
  if (!this.layerListSql[item.layerName]) {
202989
- this.layerListSql[item.layerName] = {}
203527
+ this.layerListSql[item.layerName] = {};
202990
203528
  }
202991
203529
  let sql = this.makeRoadSql(item.layerName);
202992
203530
  if (sql) {
202993
- this[item.layerName].definitionExpression = `(${sql.slice(1, sql.length - 1)}${this.layerListSql[item.layerName].makeSql ? ' and ' + this.layerListSql[item.layerName].makeSql : ''})`
203531
+ this[item.layerName].definitionExpression = `(${sql.slice(
203532
+ 1,
203533
+ sql.length - 1
203534
+ )}${
203535
+ this.layerListSql[item.layerName].makeSql
203536
+ ? " and " + this.layerListSql[item.layerName].makeSql
203537
+ : ""
203538
+ })`;
202994
203539
  } else {
202995
- this[item.layerName].definitionExpression = this.layerListSql[item.layerName].makeSql ? `(${this.layerListSql[item.layerName].makeSql})` : ''
203540
+ this[item.layerName].definitionExpression = this.layerListSql[
203541
+ item.layerName
203542
+ ].makeSql
203543
+ ? `(${this.layerListSql[item.layerName].makeSql})`
203544
+ : "";
202996
203545
  }
202997
- this.reloadQueryFeatureCount(item.layerName)
203546
+ this.reloadQueryFeatureCount(item.layerName);
202998
203547
  }
202999
- })
203548
+ });
203000
203549
  this.$GlobalConfig[this.typeNameLocal].otherClass.forEach((item) => {
203001
- if (item[item.layerName] && this[item.layerName] && (this[item.layerName].definitionExpression || this[item.layerName].definitionExpression === '')) {
203550
+ if (
203551
+ item[item.layerName] &&
203552
+ this[item.layerName] &&
203553
+ (this[item.layerName].definitionExpression ||
203554
+ this[item.layerName].definitionExpression === "")
203555
+ ) {
203002
203556
  if (!this.layerListSql[item.layerName]) {
203003
- this.layerListSql[item.layerName] = {}
203557
+ this.layerListSql[item.layerName] = {};
203004
203558
  }
203005
203559
  let sql = this.makeRoadSql(item.layerName);
203006
203560
  if (sql) {
203007
- this[item.layerName].definitionExpression = `(${sql.slice(1, sql.length - 1)}${this.layerListSql[item.layerName].makeSql ? ' and ' + this.layerListSql[item.layerName].makeSql : ''})`
203561
+ this[item.layerName].definitionExpression = `(${sql.slice(
203562
+ 1,
203563
+ sql.length - 1
203564
+ )}${
203565
+ this.layerListSql[item.layerName].makeSql
203566
+ ? " and " + this.layerListSql[item.layerName].makeSql
203567
+ : ""
203568
+ })`;
203008
203569
  } else {
203009
- this[item.layerName].definitionExpression = this.layerListSql[item.layerName].makeSql ? `(${this.layerListSql[item.layerName].makeSql})` : ''
203570
+ this[item.layerName].definitionExpression = this.layerListSql[
203571
+ item.layerName
203572
+ ].makeSql
203573
+ ? `(${this.layerListSql[item.layerName].makeSql})`
203574
+ : "";
203010
203575
  }
203011
- this.reloadQueryFeatureCount(item.layerName)
203576
+ this.reloadQueryFeatureCount(item.layerName);
203012
203577
  }
203013
- })
203014
- this.$GlobalConfig[this.typeNameLocal].equipmentFacilities.forEach((item) => {
203015
- if (item[item.layerName] && this[item.layerName] && (this[item.layerName].definitionExpression || this[item.layerName].definitionExpression === '')) {
203016
- if (!this.layerListSql[item.layerName]) {
203017
- this.layerListSql[item.layerName] = {}
203018
- }
203019
- let sql = this.makeRoadSql(item.layerName);
203020
- if (sql) {
203021
- this[item.layerName].definitionExpression = `(${sql.slice(1, sql.length - 1)}${this.layerListSql[item.layerName].makeSql ? ' and ' + this.layerListSql[item.layerName].makeSql : ''})`
203022
- } else {
203023
- this[item.layerName].definitionExpression = this.layerListSql[item.layerName].makeSql ? `(${this.layerListSql[item.layerName].makeSql})` : ''
203024
- }
203025
- this.reloadQueryFeatureCount(item.layerName)
203026
- }
203027
- })
203028
- this.$GlobalConfig[this.typeNameLocal].roadAndBridgeTunnel.forEach((item) => {
203029
- if (item[item.layerName] && this[item.layerName] && (this[item.layerName].definitionExpression || this[item.layerName].definitionExpression === '')) {
203030
- if (!this.layerListSql[item.layerName]) {
203031
- this.layerListSql[item.layerName] = {}
203032
- }
203033
- let sql = this.makeRoadSql(item.layerName);
203034
- if (sql) {
203035
- this[item.layerName].definitionExpression = `(${sql.slice(1, sql.length - 1)}${this.layerListSql[item.layerName].makeSql ? ' and ' + this.layerListSql[item.layerName].makeSql : ''})`
203036
- } else {
203037
- this[item.layerName].definitionExpression = this.layerListSql[item.layerName].makeSql ? `(${this.layerListSql[item.layerName].makeSql})` : ''
203038
- }
203039
- this.reloadQueryFeatureCount(item.layerName)
203040
- }
203041
- })
203578
+ });
203579
+ this.$GlobalConfig[this.typeNameLocal].equipmentFacilities.forEach(
203580
+ (item) => {
203581
+ if (
203582
+ item[item.layerName] &&
203583
+ this[item.layerName] &&
203584
+ (this[item.layerName].definitionExpression ||
203585
+ this[item.layerName].definitionExpression === "")
203586
+ ) {
203587
+ if (!this.layerListSql[item.layerName]) {
203588
+ this.layerListSql[item.layerName] = {};
203589
+ }
203590
+ let sql = this.makeRoadSql(item.layerName);
203591
+ if (sql) {
203592
+ this[item.layerName].definitionExpression = `(${sql.slice(
203593
+ 1,
203594
+ sql.length - 1
203595
+ )}${
203596
+ this.layerListSql[item.layerName].makeSql
203597
+ ? " and " + this.layerListSql[item.layerName].makeSql
203598
+ : ""
203599
+ })`;
203600
+ } else {
203601
+ this[item.layerName].definitionExpression = this.layerListSql[
203602
+ item.layerName
203603
+ ].makeSql
203604
+ ? `(${this.layerListSql[item.layerName].makeSql})`
203605
+ : "";
203606
+ }
203607
+ this.reloadQueryFeatureCount(item.layerName);
203608
+ }
203609
+ }
203610
+ );
203611
+ this.$GlobalConfig[this.typeNameLocal].roadAndBridgeTunnel.forEach(
203612
+ (item) => {
203613
+ if (
203614
+ item[item.layerName] &&
203615
+ this[item.layerName] &&
203616
+ (this[item.layerName].definitionExpression ||
203617
+ this[item.layerName].definitionExpression === "")
203618
+ ) {
203619
+ if (!this.layerListSql[item.layerName]) {
203620
+ this.layerListSql[item.layerName] = {};
203621
+ }
203622
+ let sql = this.makeRoadSql(item.layerName);
203623
+ if (sql) {
203624
+ this[item.layerName].definitionExpression = `(${sql.slice(
203625
+ 1,
203626
+ sql.length - 1
203627
+ )}${
203628
+ this.layerListSql[item.layerName].makeSql
203629
+ ? " and " + this.layerListSql[item.layerName].makeSql
203630
+ : ""
203631
+ })`;
203632
+ } else {
203633
+ this[item.layerName].definitionExpression = this.layerListSql[
203634
+ item.layerName
203635
+ ].makeSql
203636
+ ? `(${this.layerListSql[item.layerName].makeSql})`
203637
+ : "";
203638
+ }
203639
+ this.reloadQueryFeatureCount(item.layerName);
203640
+ }
203641
+ }
203642
+ );
203042
203643
  }
203043
203644
  },
203044
203645
  reloadQueryFeatureCount(layerName) {
203045
203646
  if (this[layerName] && this[layerName].queryFeatureCount) {
203046
203647
  this[layerName].queryFeatureCount().then((res) => {
203047
- let layerNameArr = ['roadlineLayer', 'shareRoadLayer', 'engineeringBuild', 'roadDamageLayer', 'roadConsumeLayer', 'asphaltRoadDamageLayer', 'roadBumpLayer', 'roadSkidLayer', 'roadSmoothLayer', 'roadTrackLayer'];
203048
- this.$set(this.tabListNumber, layerName, layerNameArr.indexOf(layerName) != -1 ? '无' : res)
203049
- })
203648
+ let layerNameArr = [
203649
+ "roadlineLayer",
203650
+ "shareRoadLayer",
203651
+ "engineeringBuild",
203652
+ "roadDamageLayer",
203653
+ "roadConsumeLayer",
203654
+ "asphaltRoadDamageLayer",
203655
+ "roadBumpLayer",
203656
+ "roadSkidLayer",
203657
+ "roadSmoothLayer",
203658
+ "roadTrackLayer",
203659
+ ];
203660
+ this.$set(
203661
+ this.tabListNumber,
203662
+ layerName,
203663
+ layerNameArr.indexOf(layerName) != -1 ? "无" : res
203664
+ );
203665
+ });
203050
203666
  }
203051
203667
  },
203052
203668
  //根据传参进行过滤
203053
203669
  makeSql(layerName, keys) {
203054
203670
  // if(layerName == 'roadlineLayer'){
203055
203671
  // layerName = 'roadlineLayer_'
203056
- // }
203057
- if (this[layerName] && (this[layerName].definitionExpression || this[layerName].definitionExpression === '')) {
203672
+ // }
203673
+ if (
203674
+ this[layerName] &&
203675
+ (this[layerName].definitionExpression ||
203676
+ this[layerName].definitionExpression === "")
203677
+ ) {
203058
203678
  // this.setReduction(layerName, false)
203059
203679
  let sql = [];
203060
- if (layerName == 'pivotLayer') {
203680
+ if (layerName == "pivotLayer") {
203061
203681
  for (let i in keys) {
203062
- let sql_text = []
203063
- keys[i].map(item => {
203064
- sql_text.push(`${i} like '%${item}%'`)
203065
- })
203066
- sql.push(`(${sql_text.map(item => item).join(' or ')})`)
203682
+ let sql_text = [];
203683
+ keys[i].map((item) => {
203684
+ sql_text.push(`${i} like '%${item}%'`);
203685
+ });
203686
+ sql.push(`(${sql_text.map((item) => item).join(" or ")})`);
203067
203687
  }
203068
203688
  } else {
203069
203689
  for (let i in keys) {
203070
- sql.push(i + ' in (' + keys[i].map(item => `'${item}'`).join(', ') + ')');
203690
+ sql.push(
203691
+ i + " in (" + keys[i].map((item) => `'${item}'`).join(", ") + ")"
203692
+ );
203071
203693
  }
203072
203694
  }
203073
203695
  let sqlText = this.makeRoadSql(layerName);
203074
203696
  if (!this.layerListSql[layerName]) {
203075
- this.layerListSql[layerName] = {}
203697
+ this.layerListSql[layerName] = {};
203076
203698
  }
203077
- this.layerListSql[layerName].makeSql = `${sql.join(' and ')}`
203699
+ this.layerListSql[layerName].makeSql = `${sql.join(" and ")}`;
203078
203700
  if (sqlText) {
203079
- this[layerName].definitionExpression = `(${sqlText} and ${sql.join(' and ')}${this.layerListSql[layerName].treeSql ? ' and ' + this.layerListSql[layerName].treeSql : ''})`
203701
+ this[layerName].definitionExpression = `(${sqlText} and ${sql.join(
203702
+ " and "
203703
+ )}${
203704
+ this.layerListSql[layerName].treeSql
203705
+ ? " and " + this.layerListSql[layerName].treeSql
203706
+ : ""
203707
+ })`;
203080
203708
  } else {
203081
- this[layerName].definitionExpression = `(${sql.join(' and ')}${this.layerListSql[layerName].treeSql ? ' and ' + this.layerListSql[layerName].treeSql : ''})`
203082
- }
203083
- console.log('******', this[layerName].definitionExpression);
203084
- this.reloadQueryFeatureCount(layerName)
203085
- // this.setReduction(layerName, true)
203709
+ this[layerName].definitionExpression = `(${sql.join(" and ")}${
203710
+ this.layerListSql[layerName].treeSql
203711
+ ? " and " + this.layerListSql[layerName].treeSql
203712
+ : ""
203713
+ })`;
203714
+ }
203715
+ console.log("******", this[layerName].definitionExpression);
203716
+ this.reloadQueryFeatureCount(layerName);
203717
+ // this.setReduction(layerName, true)
203086
203718
  }
203087
203719
  },
203088
203720
  //重置过滤的方法
203089
203721
  ResetSql(layerName) {
203090
- if (this[layerName] && (this[layerName].definitionExpression || this[layerName].definitionExpression === '')) {
203722
+ if (
203723
+ this[layerName] &&
203724
+ (this[layerName].definitionExpression ||
203725
+ this[layerName].definitionExpression === "")
203726
+ ) {
203091
203727
  // this.setReduction(layerName, false);
203092
- this[layerName].definitionExpression = this.makeRoadSql(layerName)
203093
- this.reloadQueryFeatureCount(layerName)
203728
+ this[layerName].definitionExpression = this.makeRoadSql(layerName);
203729
+ this.reloadQueryFeatureCount(layerName);
203094
203730
  // this.setReduction(layerName, true)
203095
203731
  }
203096
203732
  },
@@ -203113,18 +203749,20 @@ class echartsLayer_EchartsglLayer {
203113
203749
  }
203114
203750
  },
203115
203751
  onoffGaodeLayer() {
203116
- if(this.congestionSectionLayer){
203117
- this.congestionSectionLayer.visible = !this.congestionSectionLayer.visible
203118
- }
203119
- if(this.allGreenLayer){
203120
- this.allGreenLayer.visible = !this.allGreenLayer.visible
203121
- }
203122
- this.closePopup();
203752
+ if (this.congestionSectionLayer) {
203753
+ this.congestionSectionLayer.visible =
203754
+ !this.congestionSectionLayer.visible;
203755
+ }
203756
+ if (this.allGreenLayer) {
203757
+ this.allGreenLayer.visible = !this.allGreenLayer.visible;
203758
+ }
203759
+ this.closePopup();
203123
203760
  },
203124
203761
  //获取两个经纬度之间中心点的经纬度
203125
203762
  getCenterLonLat(oneLon, oneLat, twoLon, twoLat) {
203126
203763
  //oneLon:第一个点的经度;oneLat:第一个点的纬度;twoLon:第二个点的经度;twoLat:第二个点的纬度;
203127
- let aLon = 0, aLat = 0;
203764
+ let aLon = 0,
203765
+ aLat = 0;
203128
203766
  let bLon = Number(oneLon) - Number(twoLon);
203129
203767
  let bLat = Number(oneLat) - Number(twoLat);
203130
203768
  //Math.abs()绝对值
@@ -203138,12 +203776,10 @@ class echartsLayer_EchartsglLayer {
203138
203776
  } else {
203139
203777
  aLat = Number(twoLat) - Math.abs(bLat) / 2;
203140
203778
  }
203141
- Object(esri_loader["loadModules"])([
203142
- "esri/geometry/Point",
203143
- ]).then(([Point]) => {
203779
+ Object(esri_loader["loadModules"])(["esri/geometry/Point"]).then(([Point]) => {
203144
203780
  let pt = new Point({
203145
203781
  latitude: aLat,
203146
- longitude: aLon
203782
+ longitude: aLon,
203147
203783
  });
203148
203784
  let opts = {
203149
203785
  duration: 1000,
@@ -203153,52 +203789,55 @@ class echartsLayer_EchartsglLayer {
203153
203789
  target: pt,
203154
203790
  scale: this.view.scale / 6,
203155
203791
  // zoom: 15
203156
- }, opts);
203157
- })
203792
+ },
203793
+ opts
203794
+ );
203795
+ });
203158
203796
  return [aLon, aLat];
203159
203797
  },
203160
203798
  // 在经纬度附近5公里添加摄像机
203161
- addVideoPoint(longitude, latitude,roadId,stakeNumber,facilitiesType) { //isCustom
203799
+ addVideoPoint(longitude, latitude, roadId, stakeNumber, facilitiesType) {
203800
+ //isCustom
203162
203801
  let timefor = setInterval(() => {
203163
203802
  if (this.view) {
203164
- clearInterval(timefor)
203165
- if(stakeNumber && roadId){
203166
- stakeNumber = stakeNumber.replace('K','').replace('+','.');
203167
- if(roadId ==null){
203168
- roadId = '';
203169
- }
203170
- longitude = '';
203171
- latitude = '';
203172
- }else{
203173
- roadId = '';
203174
- stakeNumber = '';
203175
- }
203176
- const params = {
203177
- devCategory: '003',
203178
- gatewayNetstatus: '1',
203179
- distanceRange: 5000,
203180
- facilitiesType: facilitiesType,
203181
- lat: latitude,
203182
- lng: longitude,
203183
- roadId: roadId,
203184
- stakeNo: stakeNumber
203185
- }
203803
+ clearInterval(timefor);
203804
+ if (stakeNumber && roadId) {
203805
+ stakeNumber = stakeNumber.replace("K", "").replace("+", ".");
203806
+ if (roadId == null) {
203807
+ roadId = "";
203808
+ }
203809
+ longitude = "";
203810
+ latitude = "";
203811
+ } else {
203812
+ roadId = "";
203813
+ stakeNumber = "";
203814
+ }
203815
+ const params = {
203816
+ devCategory: "003",
203817
+ gatewayNetstatus: "1",
203818
+ distanceRange: 5000,
203819
+ facilitiesType: facilitiesType,
203820
+ lat: latitude,
203821
+ lng: longitude,
203822
+ roadId: roadId,
203823
+ stakeNo: stakeNumber,
203824
+ };
203186
203825
  Object(api["a" /* addVideoPointData */])(params).then((res) => {
203187
203826
  Object(esri_loader["loadModules"])(["esri/Graphic", "esri/layers/GraphicsLayer"]).then(
203188
203827
  ([Graphic, GraphicsLayer]) => {
203189
203828
  if (!this.newVideoPoint) {
203190
203829
  if (this.newVideoPointLayer) {
203191
- this.newVideoPointLayer.removeAll()
203192
- this.map.remove(this.newVideoPointLayer)
203193
- this.newVideoPointLayer = null
203830
+ this.newVideoPointLayer.removeAll();
203831
+ this.map.remove(this.newVideoPointLayer);
203832
+ this.newVideoPointLayer = null;
203194
203833
  }
203195
203834
  this.newVideoPointLayer = new GraphicsLayer({
203196
- id: 'newVideoPointLayer',
203835
+ id: "newVideoPointLayer",
203197
203836
  });
203198
203837
  this.map.add(this.newVideoPointLayer, 33);
203199
203838
  }
203200
- res.data.forEach(item => {
203201
- if (item.gatewayNetstatus == '1') {
203839
+ res.data.forEach((item) => {
203840
+ if (item.gatewayNetstatus == "1") {
203202
203841
  item.lng = Number(item.lng);
203203
203842
  item.lat = Number(item.lat);
203204
203843
  item.road_id = item.roadId;
@@ -203220,8 +203859,8 @@ class echartsLayer_EchartsglLayer {
203220
203859
  //点符号设置
203221
203860
  type: "picture-marker",
203222
203861
  url: this.videoLayer_img,
203223
- width: 35 * this.styleZoom + 'px',
203224
- height: 35 * this.styleZoom + 'px',
203862
+ width: 35 * this.styleZoom + "px",
203863
+ height: 35 * this.styleZoom + "px",
203225
203864
  };
203226
203865
  let pointGraphic = new Graphic({
203227
203866
  attributes: {
@@ -203233,34 +203872,35 @@ class echartsLayer_EchartsglLayer {
203233
203872
  geometry: point,
203234
203873
  symbol: simpleMarkerSymbol,
203235
203874
  });
203236
- this.newVideoPointLayer.add(pointGraphic)
203875
+ this.newVideoPointLayer.add(pointGraphic);
203237
203876
  }
203238
- })
203239
- console.log(this.newVideoPointLayer)
203240
- })
203241
- })
203877
+ });
203878
+ console.log(this.newVideoPointLayer);
203879
+ }
203880
+ );
203881
+ });
203242
203882
  }
203243
- }, 50)
203883
+ }, 50);
203244
203884
  },
203245
203885
  removeAllVideoPoint() {
203246
203886
  if (this.newVideoPointLayer) {
203247
- this.newVideoPointLayer.removeAll()
203248
- this.map.remove(this.newVideoPointLayer)
203249
- this.newVideoPointLayer = null
203887
+ this.newVideoPointLayer.removeAll();
203888
+ this.map.remove(this.newVideoPointLayer);
203889
+ this.newVideoPointLayer = null;
203250
203890
  }
203251
203891
  },
203252
203892
  //添加不同图层的点
203253
203893
  addTypePoint(data, layerName, icon) {
203254
203894
  Object(esri_loader["loadModules"])(["esri/Graphic", "esri/layers/GraphicsLayer"]).then(
203255
203895
  ([Graphic, GraphicsLayer]) => {
203256
- let name = layerName + '_newlistpoint'
203896
+ let name = layerName + "_newlistpoint";
203257
203897
  if (!this[name]) {
203258
203898
  this[name] = new GraphicsLayer({
203259
203899
  id: name,
203260
203900
  });
203261
203901
  this.map.add(this[name], 15);
203262
203902
  }
203263
- data.forEach(item => {
203903
+ data.forEach((item) => {
203264
203904
  const point = {
203265
203905
  //点设置
203266
203906
  type: "point", //类型:点、线、面
@@ -203271,8 +203911,8 @@ class echartsLayer_EchartsglLayer {
203271
203911
  //点符号设置
203272
203912
  type: "picture-marker",
203273
203913
  url: icon,
203274
- width: 35 * this.styleZoom + 'px',
203275
- height: 35 * this.styleZoom + 'px',
203914
+ width: 35 * this.styleZoom + "px",
203915
+ height: 35 * this.styleZoom + "px",
203276
203916
  };
203277
203917
  let pointGraphic = new Graphic({
203278
203918
  attributes: {
@@ -203284,41 +203924,41 @@ class echartsLayer_EchartsglLayer {
203284
203924
  geometry: point,
203285
203925
  symbol: simpleMarkerSymbol,
203286
203926
  });
203287
- this[name].add(pointGraphic)
203288
- })
203289
- })
203927
+ this[name].add(pointGraphic);
203928
+ });
203929
+ }
203930
+ );
203290
203931
  },
203291
203932
  removeTypePoint(layerName) {
203292
- let name = layerName + '_newlistpoint'
203933
+ let name = layerName + "_newlistpoint";
203293
203934
  if (this[name]) {
203294
- this[name].removeAll()
203935
+ this[name].removeAll();
203295
203936
  }
203296
203937
  },
203297
203938
  // 设备联动打点
203298
203939
  addDevLinkagePoint(devId) {
203299
203940
  if (this.view) {
203300
- this.removeDevLinkagePoint()
203301
- getDevjointaction(
203302
- {
203303
- triggerDevNo: devId
203304
- }
203305
- ).then((res) => {
203306
- Object(esri_loader["loadModules"])(["esri/Graphic", "esri/layers/GraphicsLayer"]).then( // 005情报板 018、012、220诱导灯 015广播
203941
+ this.removeDevLinkagePoint();
203942
+ getDevjointaction({
203943
+ triggerDevNo: devId,
203944
+ }).then((res) => {
203945
+ Object(esri_loader["loadModules"])(["esri/Graphic", "esri/layers/GraphicsLayer"]).then(
203946
+ // 005情报板 018、012、220诱导灯 015广播
203307
203947
  ([Graphic, GraphicsLayer]) => {
203308
203948
  this.newQBBPointLayer = new GraphicsLayer({
203309
- id: 'newQBBPointLayer',
203949
+ id: "newQBBPointLayer",
203310
203950
  });
203311
203951
  this.newYDDPointLayer = new GraphicsLayer({
203312
- id: 'newYDDPointLayer',
203952
+ id: "newYDDPointLayer",
203313
203953
  });
203314
203954
  this.newGBPointLayer = new GraphicsLayer({
203315
- id: 'newGBPointLayer',
203955
+ id: "newGBPointLayer",
203316
203956
  });
203317
203957
  this.map.add(this.newQBBPointLayer, 15);
203318
203958
  this.map.add(this.newYDDPointLayer, 15);
203319
203959
  this.map.add(this.newGBPointLayer, 15);
203320
203960
  if (res.data) {
203321
- res.data[0].triggerByDev.forEach(item => {
203961
+ res.data[0].triggerByDev.forEach((item) => {
203322
203962
  item.lng = Number(item.lng);
203323
203963
  item.lat = Number(item.lat);
203324
203964
  item.road_id = item.roadId;
@@ -203331,13 +203971,13 @@ class echartsLayer_EchartsglLayer {
203331
203971
  type: "point",
203332
203972
  longitude: item.lng,
203333
203973
  latitude: item.lat,
203334
- }
203335
- if (item.devCategory == '005') {
203974
+ };
203975
+ if (item.devCategory == "005") {
203336
203976
  let simpleMarkerSymbol = {
203337
203977
  type: "picture-marker",
203338
203978
  url: this.newQBBPointLayer_img,
203339
- width: 35 * this.styleZoom + 'px',
203340
- height: 35 * this.styleZoom + 'px',
203979
+ width: 35 * this.styleZoom + "px",
203980
+ height: 35 * this.styleZoom + "px",
203341
203981
  };
203342
203982
  let pointGraphic = new Graphic({
203343
203983
  attributes: {
@@ -203348,13 +203988,17 @@ class echartsLayer_EchartsglLayer {
203348
203988
  geometry: point,
203349
203989
  symbol: simpleMarkerSymbol,
203350
203990
  });
203351
- this.newQBBPointLayer.add(pointGraphic)
203352
- } else if (item.devCategory == '018' || item.devCategory == '012' || item.devCategory == '220') {
203991
+ this.newQBBPointLayer.add(pointGraphic);
203992
+ } else if (
203993
+ item.devCategory == "018" ||
203994
+ item.devCategory == "012" ||
203995
+ item.devCategory == "220"
203996
+ ) {
203353
203997
  let simpleMarkerSymbol = {
203354
203998
  type: "picture-marker",
203355
203999
  url: this.newYDDPointLayer_img,
203356
- width: 35 * this.styleZoom + 'px',
203357
- height: 35 * this.styleZoom + 'px',
204000
+ width: 35 * this.styleZoom + "px",
204001
+ height: 35 * this.styleZoom + "px",
203358
204002
  };
203359
204003
  let pointGraphic = new Graphic({
203360
204004
  attributes: {
@@ -203365,13 +204009,13 @@ class echartsLayer_EchartsglLayer {
203365
204009
  geometry: point,
203366
204010
  symbol: simpleMarkerSymbol,
203367
204011
  });
203368
- this.newYDDPointLayer.add(pointGraphic)
203369
- } else if (item.devCategory == '015') {
204012
+ this.newYDDPointLayer.add(pointGraphic);
204013
+ } else if (item.devCategory == "015") {
203370
204014
  let simpleMarkerSymbol = {
203371
204015
  type: "picture-marker",
203372
204016
  url: this.newGBPointLayer_img,
203373
- width: 35 * this.styleZoom + 'px',
203374
- height: 35 * this.styleZoom + 'px',
204017
+ width: 35 * this.styleZoom + "px",
204018
+ height: 35 * this.styleZoom + "px",
203375
204019
  };
203376
204020
  let pointGraphic = new Graphic({
203377
204021
  attributes: {
@@ -203382,82 +204026,80 @@ class echartsLayer_EchartsglLayer {
203382
204026
  geometry: point,
203383
204027
  symbol: simpleMarkerSymbol,
203384
204028
  });
203385
- this.newGBPointLayer.add(pointGraphic)
204029
+ this.newGBPointLayer.add(pointGraphic);
203386
204030
  }
203387
- })
204031
+ });
203388
204032
  }
203389
204033
  // console.log('this.newQBBPointLayer',this.newQBBPointLayer);
203390
204034
  // console.log('this.newYDDPointLayer',this.newYDDPointLayer);
203391
204035
  // console.log('this.newGBPointLayer',this.newGBPointLayer);
203392
- })
203393
- })
204036
+ }
204037
+ );
204038
+ });
203394
204039
  }
203395
204040
  },
203396
204041
  // 清除设备联动打点
203397
204042
  removeDevLinkagePoint() {
203398
204043
  if (this.newQBBPointLayer) {
203399
- this.newQBBPointLayer.removeAll()
204044
+ this.newQBBPointLayer.removeAll();
203400
204045
  }
203401
204046
  if (this.newYDDPointLayer) {
203402
- this.newYDDPointLayer.removeAll()
204047
+ this.newYDDPointLayer.removeAll();
203403
204048
  }
203404
204049
  if (this.newGBPointLayer) {
203405
- this.newGBPointLayer.removeAll()
204050
+ this.newGBPointLayer.removeAll();
203406
204051
  }
203407
204052
  },
203408
204053
  openTrafficLayer() {
203409
-
203410
204054
  if (this.allGreenLayer) {
203411
- this.allGreenLayer.visible = true
204055
+ this.allGreenLayer.visible = true;
203412
204056
  } else {
203413
- this.initAllGreenLayer('1')
204057
+ this.initAllGreenLayer("1");
204058
+ }
204059
+ if (this.congestionSectionLayer) {
204060
+ this.congestionSectionLayer.visible = true;
204061
+ } else {
204062
+ let this_ = this;
204063
+ setTimeout(function () {
204064
+ this_.initTrafficLayer("1");
204065
+ }, 3000);
203414
204066
  }
203415
- if (this.congestionSectionLayer) {
203416
- this.congestionSectionLayer.visible = true
203417
- } else {
203418
- let this_ = this;
203419
- setTimeout(function () {
203420
- this_.initTrafficLayer('1')
203421
- }, 3000)
203422
- }
203423
204067
  let toolbar_c = this.toolbar_c.find(
203424
204068
  (item) => item.id == "weight_traffic"
203425
204069
  );
203426
204070
  this.weight_traffic_D = toolbar_c.imgUrl;
203427
204071
  if (!this.trafficLayerInterval) {
203428
204072
  this.trafficLayerInterval = setInterval(() => {
203429
- this.initTrafficLayer()
204073
+ this.initTrafficLayer();
203430
204074
  //console.log(this.congestionSectionLayer.visible);
203431
- }, 60000)
204075
+ }, 60000);
203432
204076
  }
203433
204077
  },
203434
204078
  closeTrafficLayer() {
203435
- if (this.congestionSectionLayer) {
203436
- this.congestionSectionLayer.visible = false
203437
- }
203438
- if(this.allGreenLayer.visible){
203439
- this.allGreenLayer.visible = false
203440
- }
203441
- let toolbar = this.toolbar.find(
203442
- (item) => item.id == "weight_traffic"
203443
- );
204079
+ if (this.congestionSectionLayer) {
204080
+ this.congestionSectionLayer.visible = false;
204081
+ }
204082
+ if (this.allGreenLayer.visible) {
204083
+ this.allGreenLayer.visible = false;
204084
+ }
204085
+ let toolbar = this.toolbar.find((item) => item.id == "weight_traffic");
203444
204086
  this.weight_traffic_D = toolbar.imgUrl;
203445
204087
  if (this.trafficLayerInterval) {
203446
- clearInterval(this.trafficLayerInterval)
203447
- this.trafficLayerInterval = null
204088
+ clearInterval(this.trafficLayerInterval);
204089
+ this.trafficLayerInterval = null;
203448
204090
  }
203449
204091
  },
203450
- initClearScreen(){
203451
- this.clearScreen(1);
203452
- },
204092
+ initClearScreen() {
204093
+ this.clearScreen(1);
204094
+ },
203453
204095
  // 一键清屏
203454
204096
  clearScreen(val) {
203455
204097
  this.getEquipList();
203456
204098
  this.closePopup();
203457
- if(val !=1){
203458
- this.closeTrafficLayer();
203459
- this.$emit('clearScreen');
203460
- }
204099
+ if (val != 1) {
204100
+ this.closeTrafficLayer();
204101
+ this.$emit("clearScreen");
204102
+ }
203461
204103
  this.cameraTreeShow = false;
203462
204104
  this.addSql({ opmaManagerCorpIds: [], opmaManagerIds: [] });
203463
204105
  //清空树勾选项
@@ -203469,116 +204111,118 @@ class echartsLayer_EchartsglLayer {
203469
204111
  };
203470
204112
  cTree.getTreeNode();
203471
204113
  }
203472
- this.$GlobalConfig['jiqing'].roadAndBridgeTunnel.forEach((item) => {
204114
+ this.$GlobalConfig["jiqing"].roadAndBridgeTunnel.forEach((item) => {
203473
204115
  if (this[item.layerName]) {
203474
204116
  this[item.layerName].visible = false;
203475
204117
  }
203476
204118
  });
203477
- this.$GlobalConfig['jiqing'].equipmentFacilities.forEach((item) => {
204119
+ this.$GlobalConfig["jiqing"].equipmentFacilities.forEach((item) => {
203478
204120
  if (this[item.layerName]) {
203479
204121
  this[item.layerName].visible = false;
203480
204122
  }
203481
204123
  });
203482
- this.$GlobalConfig['jiqing'].otherClass.forEach((item) => {
204124
+ this.$GlobalConfig["jiqing"].otherClass.forEach((item) => {
203483
204125
  if (this[item.layerName]) {
203484
204126
  this[item.layerName].visible = false;
203485
204127
  }
203486
204128
  });
203487
- this.$GlobalConfig['jiqing'].eventTopics.forEach((item) => {
204129
+ this.$GlobalConfig["jiqing"].eventTopics.forEach((item) => {
203488
204130
  if (this[item.layerName]) {
203489
204131
  this[item.layerName].visible = false;
203490
204132
  }
203491
204133
  });
203492
- this.$GlobalConfig['jiqing'].perceptionEvent.forEach((item) => {
204134
+ this.$GlobalConfig["jiqing"].perceptionEvent.forEach((item) => {
203493
204135
  if (this[item.layerName]) {
203494
204136
  this[item.layerName].visible = false;
203495
204137
  }
203496
204138
  });
203497
- this.$GlobalConfig['jiqing'].roadTestEquipment.forEach((item) => {
204139
+ this.$GlobalConfig["jiqing"].roadTestEquipment.forEach((item) => {
203498
204140
  if (this[item.layerName]) {
203499
204141
  this[item.layerName].visible = false;
203500
204142
  }
203501
204143
  });
203502
- this.$GlobalConfig['jiqing'].roadTestPublishEquipment.forEach((item) => {
204144
+ this.$GlobalConfig["jiqing"].roadTestPublishEquipment.forEach((item) => {
203503
204145
  if (this[item.layerName]) {
203504
204146
  this[item.layerName].visible = false;
203505
204147
  }
203506
204148
  });
203507
- this.$GlobalConfig['jiqing'].roadTestPerceptionPublishEquipment.forEach((item) => {
203508
- if (this[item.layerName]) {
203509
- this[item.layerName].visible = false;
204149
+ this.$GlobalConfig["jiqing"].roadTestPerceptionPublishEquipment.forEach(
204150
+ (item) => {
204151
+ if (this[item.layerName]) {
204152
+ this[item.layerName].visible = false;
204153
+ }
203510
204154
  }
203511
- });
203512
- this.$GlobalConfig['jiqing'].roadTestOthersEquipment.forEach((item) => {
204155
+ );
204156
+ this.$GlobalConfig["jiqing"].roadTestOthersEquipment.forEach((item) => {
203513
204157
  if (this[item.layerName]) {
203514
204158
  this[item.layerName].visible = false;
203515
204159
  }
203516
204160
  });
203517
- this.$GlobalConfig['jiqing'].roadNetworkFacilities.forEach((item) => {
204161
+ this.$GlobalConfig["jiqing"].roadNetworkFacilities.forEach((item) => {
203518
204162
  if (this[item.layerName]) {
203519
204163
  this[item.layerName].visible = false;
203520
204164
  }
203521
204165
  });
203522
- this.$GlobalConfig['jiqing'].maintenance.forEach((item) => {
204166
+ this.$GlobalConfig["jiqing"].maintenance.forEach((item) => {
203523
204167
  if (this[item.layerName]) {
203524
204168
  this[item.layerName].visible = false;
203525
204169
  }
203526
204170
  });
203527
204171
 
203528
-
203529
- this.$GlobalConfig['danao'].roadAndBridgeTunnel.forEach((item) => {
204172
+ this.$GlobalConfig["danao"].roadAndBridgeTunnel.forEach((item) => {
203530
204173
  if (this[item.layerName]) {
203531
204174
  this[item.layerName].visible = false;
203532
204175
  }
203533
204176
  });
203534
- this.$GlobalConfig['danao'].equipmentFacilities.forEach((item) => {
204177
+ this.$GlobalConfig["danao"].equipmentFacilities.forEach((item) => {
203535
204178
  if (this[item.layerName]) {
203536
204179
  this[item.layerName].visible = false;
203537
204180
  }
203538
204181
  });
203539
- this.$GlobalConfig['danao'].roadTestPublishEquipment.forEach((item) => {
204182
+ this.$GlobalConfig["danao"].roadTestPublishEquipment.forEach((item) => {
203540
204183
  if (this[item.layerName]) {
203541
204184
  this[item.layerName].visible = false;
203542
204185
  }
203543
204186
  });
203544
- this.$GlobalConfig['danao'].roadTestPerceptionPublishEquipment.forEach((item) => {
203545
- if (this[item.layerName]) {
203546
- this[item.layerName].visible = false;
204187
+ this.$GlobalConfig["danao"].roadTestPerceptionPublishEquipment.forEach(
204188
+ (item) => {
204189
+ if (this[item.layerName]) {
204190
+ this[item.layerName].visible = false;
204191
+ }
203547
204192
  }
203548
- });
203549
- this.$GlobalConfig['danao'].otherClass.forEach((item) => {
204193
+ );
204194
+ this.$GlobalConfig["danao"].otherClass.forEach((item) => {
203550
204195
  if (this[item.layerName]) {
203551
204196
  this[item.layerName].visible = false;
203552
204197
  }
203553
204198
  });
203554
- this.$GlobalConfig['danao'].eventTopics.forEach((item) => {
204199
+ this.$GlobalConfig["danao"].eventTopics.forEach((item) => {
203555
204200
  if (this[item.layerName]) {
203556
204201
  this[item.layerName].visible = false;
203557
204202
  }
203558
204203
  });
203559
- this.$GlobalConfig['danao'].perceptionEvent.forEach((item) => {
204204
+ this.$GlobalConfig["danao"].perceptionEvent.forEach((item) => {
203560
204205
  if (this[item.layerName]) {
203561
204206
  this[item.layerName].visible = false;
203562
204207
  }
203563
204208
  });
203564
- this.$GlobalConfig['danao'].roadTestEquipment.forEach((item) => {
204209
+ this.$GlobalConfig["danao"].roadTestEquipment.forEach((item) => {
203565
204210
  if (this[item.layerName]) {
203566
204211
  this[item.layerName].visible = false;
203567
204212
  }
203568
204213
  });
203569
- this.$GlobalConfig['danao'].roadNetworkFacilities.forEach((item) => {
204214
+ this.$GlobalConfig["danao"].roadNetworkFacilities.forEach((item) => {
203570
204215
  if (this[item.layerName]) {
203571
204216
  this[item.layerName].visible = false;
203572
204217
  }
203573
204218
  });
203574
- this.$GlobalConfig['danao'].maintenance.forEach((item) => {
204219
+ this.$GlobalConfig["danao"].maintenance.forEach((item) => {
203575
204220
  if (this[item.layerName]) {
203576
204221
  this[item.layerName].visible = false;
203577
204222
  }
203578
204223
  });
203579
204224
 
203580
-
203581
- this.removeAllVideoPoint()
204225
+ this.removeAllVideoPoint();
203582
204226
  //清除搜索单点
203583
204227
  if (this.searchPointTop) {
203584
204228
  this.removeTypePoint(this.searchPointTop);
@@ -203586,9 +204230,9 @@ class echartsLayer_EchartsglLayer {
203586
204230
  this.checkList = [];
203587
204231
  },
203588
204232
  defaultInitCrossLayer() {
203589
- this.showLayerById("CrossSectionLayer")
203590
- this.CrossSectionLayer_show = 1
203591
- }
204233
+ this.showLayerById("CrossSectionLayer");
204234
+ this.CrossSectionLayer_show = 1;
204235
+ },
203592
204236
  },
203593
204237
  });
203594
204238
 
@@ -206447,7 +207091,7 @@ files.keys().forEach((key) => {
206447
207091
  this.closesingleMes = "";
206448
207092
  },
206449
207093
  getRoadList() {
206450
- Object(api["m" /* getRoadData */])().then((res) => {
207094
+ Object(api["n" /* getRoadData */])().then((res) => {
206451
207095
  this.roadList = res.data;
206452
207096
  });
206453
207097
  },
@@ -207644,7 +208288,7 @@ files.keys().forEach((key) => {
207644
208288
  lon: latlon.x,
207645
208289
  lat: latlon.y,
207646
208290
  };
207647
- Object(api["s" /* lonandlatTopile */])(params)
208291
+ Object(api["t" /* lonandlatTopile */])(params)
207648
208292
  .then((res) => {
207649
208293
  if (res.data) {
207650
208294
  let mercator = that.lonlat2mercator({
@@ -207773,7 +208417,7 @@ files.keys().forEach((key) => {
207773
208417
  roadId: this.form.roadId,
207774
208418
  stakeNo: this.form.stakeNo,
207775
208419
  };
207776
- Object(api["n" /* getStationData */])(data).then((res) => {
208420
+ Object(api["o" /* getStationData */])(data).then((res) => {
207777
208421
  if (res.data && res.data.length > 0) {
207778
208422
  this.dialogToPileVisible = false;
207779
208423
  let stationData = res.data[0];
@@ -210082,7 +210726,7 @@ files.keys().forEach((key) => {
210082
210726
  this.$emit("fromGisCheckBox", tabHeight);
210083
210727
  }
210084
210728
  //济青单切换时通知mqtt重新下发消息
210085
- Object(api["A" /* sendMqttMessage */])().then(() => {
210729
+ Object(api["B" /* sendMqttMessage */])().then(() => {
210086
210730
  //console.log('gisMap.sendMqttMessage.res',res)
210087
210731
  //this.mqttData(res);
210088
210732
  });
@@ -222708,7 +223352,7 @@ var VideoPlay = __webpack_require__("5f91");
222708
223352
  goTo(){
222709
223353
  let _this = this;
222710
223354
  //获取authCode
222711
- Object(api["c" /* getAuthCode */])(sessionStorage.getItem('sdhsg_its_app-1.6.12-uuid')).then((res) => {
223355
+ Object(api["d" /* getAuthCode */])(sessionStorage.getItem('sdhsg_its_app-1.6.12-uuid')).then((res) => {
222712
223356
  if(res.code == 0){
222713
223357
  window.open(_this.jumpUrl.replace('{authCode}',res.data));
222714
223358
  }else{