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.
@@ -12096,7 +12096,7 @@ var apiNow = __webpack_require__("dc47");
12096
12096
  };
12097
12097
  this.nearbyCameraListALL = [];
12098
12098
  this.showTextALL = false;
12099
- api["t" /* nearbyCamera */](
12099
+ api["u" /* nearbyCamera */](
12100
12100
  params,
12101
12101
  this.$GlobalConfig.trafficMonitorUrl,
12102
12102
  this.$GlobalConfig.trafficMonitorType
@@ -12140,7 +12140,7 @@ var apiNow = __webpack_require__("dc47");
12140
12140
  this.nearbyVMSList2 = [];
12141
12141
  this.showTextALL = false;
12142
12142
  this.showText2 = false;
12143
- api["u" /* nearbyVMS */](
12143
+ api["v" /* nearbyVMS */](
12144
12144
  params,
12145
12145
  this.$GlobalConfig.trafficMonitorUrl,
12146
12146
  this.$GlobalConfig.trafficMonitorType
@@ -12195,7 +12195,7 @@ var apiNow = __webpack_require__("dc47");
12195
12195
  this.videoInfo = {};
12196
12196
  this.videoInfo2 = {};
12197
12197
  let _this = this;
12198
- api["v" /* openCam */](
12198
+ api["w" /* openCam */](
12199
12199
  camId,
12200
12200
  this.$GlobalConfig.trafficMonitorUrl,
12201
12201
  this.$GlobalConfig.trafficMonitorType,
@@ -18755,34 +18755,35 @@ module.exports = exports;
18755
18755
  "use strict";
18756
18756
 
18757
18757
  // EXPORTS
18758
- __webpack_require__.d(__webpack_exports__, "o", function() { return /* binding */ getVideo; });
18759
- __webpack_require__.d(__webpack_exports__, "w", function() { return /* binding */ positionLocation; });
18760
- __webpack_require__.d(__webpack_exports__, "z", function() { return /* binding */ savePanTiltPosition; });
18761
- __webpack_require__.d(__webpack_exports__, "k", function() { return /* binding */ getPanTiltPosition; });
18762
- __webpack_require__.d(__webpack_exports__, "x", function() { return /* binding */ presetControl; });
18758
+ __webpack_require__.d(__webpack_exports__, "p", function() { return /* binding */ getVideo; });
18759
+ __webpack_require__.d(__webpack_exports__, "x", function() { return /* binding */ positionLocation; });
18760
+ __webpack_require__.d(__webpack_exports__, "A", function() { return /* binding */ savePanTiltPosition; });
18761
+ __webpack_require__.d(__webpack_exports__, "l", function() { return /* binding */ getPanTiltPosition; });
18762
+ __webpack_require__.d(__webpack_exports__, "y", function() { return /* binding */ presetControl; });
18763
18763
  __webpack_require__.d(__webpack_exports__, "b", function() { return /* binding */ closestcameraangleByXy; });
18764
- __webpack_require__.d(__webpack_exports__, "p", function() { return /* binding */ getVideoPic; });
18765
- __webpack_require__.d(__webpack_exports__, "i", function() { return /* binding */ getFgsList; });
18766
- __webpack_require__.d(__webpack_exports__, "e", function() { return /* binding */ getDimmdmroadriList; });
18767
- __webpack_require__.d(__webpack_exports__, "j", function() { return /* binding */ getOpmasubsectionriList; });
18768
- __webpack_require__.d(__webpack_exports__, "g", function() { return /* binding */ getEquipList; });
18769
- __webpack_require__.d(__webpack_exports__, "s", function() { return /* binding */ lonandlatTopile; });
18770
- __webpack_require__.d(__webpack_exports__, "d", function() { return /* binding */ getDevdeviceInfo; });
18771
- __webpack_require__.d(__webpack_exports__, "n", function() { return /* binding */ getStationData; });
18772
- __webpack_require__.d(__webpack_exports__, "m", function() { return /* binding */ getRoadData; });
18773
- __webpack_require__.d(__webpack_exports__, "h", function() { return /* binding */ getEventMainType; });
18774
- __webpack_require__.d(__webpack_exports__, "q", function() { return /* binding */ getWeatherByLonAndLat; });
18775
- __webpack_require__.d(__webpack_exports__, "y", function() { return /* binding */ queryMasterDetail; });
18776
- __webpack_require__.d(__webpack_exports__, "t", function() { return /* binding */ nearbyCamera; });
18777
- __webpack_require__.d(__webpack_exports__, "u", function() { return /* binding */ nearbyVMS; });
18778
- __webpack_require__.d(__webpack_exports__, "v", function() { return /* binding */ openCam; });
18764
+ __webpack_require__.d(__webpack_exports__, "q", function() { return /* binding */ getVideoPic; });
18765
+ __webpack_require__.d(__webpack_exports__, "j", function() { return /* binding */ getFgsList; });
18766
+ __webpack_require__.d(__webpack_exports__, "f", function() { return /* binding */ getDimmdmroadriList; });
18767
+ __webpack_require__.d(__webpack_exports__, "k", function() { return /* binding */ getOpmasubsectionriList; });
18768
+ __webpack_require__.d(__webpack_exports__, "h", function() { return /* binding */ getEquipList; });
18769
+ __webpack_require__.d(__webpack_exports__, "t", function() { return /* binding */ lonandlatTopile; });
18770
+ __webpack_require__.d(__webpack_exports__, "e", function() { return /* binding */ getDevdeviceInfo; });
18771
+ __webpack_require__.d(__webpack_exports__, "o", function() { return /* binding */ getStationData; });
18772
+ __webpack_require__.d(__webpack_exports__, "n", function() { return /* binding */ getRoadData; });
18773
+ __webpack_require__.d(__webpack_exports__, "i", function() { return /* binding */ getEventMainType; });
18774
+ __webpack_require__.d(__webpack_exports__, "r", function() { return /* binding */ getWeatherByLonAndLat; });
18775
+ __webpack_require__.d(__webpack_exports__, "z", function() { return /* binding */ queryMasterDetail; });
18776
+ __webpack_require__.d(__webpack_exports__, "c", function() { return /* binding */ eventConvertType; });
18777
+ __webpack_require__.d(__webpack_exports__, "u", function() { return /* binding */ nearbyCamera; });
18778
+ __webpack_require__.d(__webpack_exports__, "v", function() { return /* binding */ nearbyVMS; });
18779
+ __webpack_require__.d(__webpack_exports__, "w", function() { return /* binding */ openCam; });
18779
18780
  __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ addVideoPointData; });
18780
- __webpack_require__.d(__webpack_exports__, "f", function() { return /* binding */ getEmergencyData; });
18781
- __webpack_require__.d(__webpack_exports__, "r", function() { return /* binding */ gettrafficSafetyData; });
18782
- __webpack_require__.d(__webpack_exports__, "c", function() { return /* binding */ getAuthCode; });
18783
- __webpack_require__.d(__webpack_exports__, "l", function() { return /* binding */ getQuerybasicdata; });
18784
- __webpack_require__.d(__webpack_exports__, "B", function() { return /* binding */ updateEventMaster; });
18785
- __webpack_require__.d(__webpack_exports__, "A", function() { return /* binding */ sendMqttMessage; });
18781
+ __webpack_require__.d(__webpack_exports__, "g", function() { return /* binding */ getEmergencyData; });
18782
+ __webpack_require__.d(__webpack_exports__, "s", function() { return /* binding */ gettrafficSafetyData; });
18783
+ __webpack_require__.d(__webpack_exports__, "d", function() { return /* binding */ getAuthCode; });
18784
+ __webpack_require__.d(__webpack_exports__, "m", function() { return /* binding */ getQuerybasicdata; });
18785
+ __webpack_require__.d(__webpack_exports__, "C", function() { return /* binding */ updateEventMaster; });
18786
+ __webpack_require__.d(__webpack_exports__, "B", function() { return /* binding */ sendMqttMessage; });
18786
18787
 
18787
18788
  // UNUSED EXPORTS: getVideoToken, presetPositionPTZControl, closestcameraangle, getLdList, getCamBylatlon
18788
18789
 
@@ -19108,7 +19109,15 @@ function queryMasterDetail(data,urlPrefix,environmentType) {
19108
19109
  data
19109
19110
  })
19110
19111
  }
19111
-
19112
+ // 事件类型列表
19113
+ function eventConvertType (data,urlPrefix,environmentType) {
19114
+ return Object(request["a" /* default */])({
19115
+ url: urlPrefix+ '/trafficMonitor/event/report/eventConvertType',
19116
+ method: 'get',
19117
+ type: environmentType,
19118
+ data
19119
+ })
19120
+ }
19112
19121
  /**
19113
19122
  * 拥堵路段附近摄像机
19114
19123
  * @param {*} devCategory {string} 设备类型(大类)003摄像机 005情报板
@@ -23907,7 +23916,7 @@ var api_api = __webpack_require__("4260");
23907
23916
  this.$emit('videoUrlChange', this.videoUrl)
23908
23917
  if(this.presetPosition !=null && this.presetPosition !=''){
23909
23918
  //云台控制-预置位
23910
- Object(api_api["x" /* presetControl */])(this.camId, this.presetPosition);
23919
+ Object(api_api["y" /* presetControl */])(this.camId, this.presetPosition);
23911
23920
  }
23912
23921
  }
23913
23922
  }
@@ -137359,7 +137368,7 @@ var roadVms = __webpack_require__("cee8");
137359
137368
  this.nearbyCameraList2 = []
137360
137369
  this.showText = false
137361
137370
  this.showText2 = false
137362
- api["t" /* nearbyCamera */](params, this.$GlobalConfig.trafficMonitorUrl, this.$GlobalConfig.trafficMonitorType).then(res => {
137371
+ api["u" /* nearbyCamera */](params, this.$GlobalConfig.trafficMonitorUrl, this.$GlobalConfig.trafficMonitorType).then(res => {
137363
137372
  if (res !=null && res.code == 0) {
137364
137373
  // 上行
137365
137374
  this.nearbyCameraList = res.data.UP
@@ -137410,7 +137419,7 @@ var roadVms = __webpack_require__("cee8");
137410
137419
  this.nearbyVMSList2 = []
137411
137420
  this.showText = false
137412
137421
  this.showText2 = false
137413
- api["u" /* nearbyVMS */](params, this.$GlobalConfig.trafficMonitorUrl, this.$GlobalConfig.trafficMonitorType).then(res => {
137422
+ api["v" /* nearbyVMS */](params, this.$GlobalConfig.trafficMonitorUrl, this.$GlobalConfig.trafficMonitorType).then(res => {
137414
137423
  if (res !=null && res.code == 0) {
137415
137424
  // 上行
137416
137425
  this.nearbyVMSList = res.data.UP
@@ -137450,7 +137459,7 @@ var roadVms = __webpack_require__("cee8");
137450
137459
  if (!camId) return
137451
137460
  this.videoInfo = {}
137452
137461
  this.videoInfo2 = {}
137453
- api["v" /* openCam */](camId, this.$GlobalConfig.trafficMonitorUrl, this.$GlobalConfig.trafficMonitorType, this.$GlobalConfig.netWorkType).then(res => {
137462
+ api["w" /* openCam */](camId, this.$GlobalConfig.trafficMonitorUrl, this.$GlobalConfig.trafficMonitorType, this.$GlobalConfig.netWorkType).then(res => {
137454
137463
  if (res !=null && res.data.recCode == '0') {
137455
137464
  name == 'playerUp' ? (this.videoInfo = res.data || {}) : (this.videoInfo2 = res.data || {})
137456
137465
  if (name == 'playerUp') {
@@ -165367,7 +165376,7 @@ var flv_default = /*#__PURE__*/__webpack_require__.n(dist_flv);
165367
165376
  userName: "userGisMap",
165368
165377
  userDiffId: "1"
165369
165378
  }
165370
- Object(api["o" /* getVideo */])(param).then((videoRes) => {
165379
+ Object(api["p" /* getVideo */])(param).then((videoRes) => {
165371
165380
  _this.videoUrl = videoRes.data.liveUrl
165372
165381
  if (flv_default.a.isSupported()) {
165373
165382
  if (_this.flvPlayer === null) {
@@ -165412,13 +165421,13 @@ var flv_default = /*#__PURE__*/__webpack_require__.n(dist_flv);
165412
165421
  "tilt": res.data.tilt
165413
165422
  }
165414
165423
  //16、获取云台位置信息
165415
- Object(api["k" /* getPanTiltPosition */])({"camId": res.data.devBasicRiDTO.devNo}).then((gres) =>{
165424
+ Object(api["l" /* getPanTiltPosition */])({"camId": res.data.devBasicRiDTO.devNo}).then((gres) =>{
165416
165425
  if(gres !=null && gres.code ==0 && gres.data !=null && gres.data.msgType == '9'){
165417
165426
  _this.zoom = gres.data.zoom;
165418
165427
  _this.pan = gres.data.pan;
165419
165428
  _this.tilt = gres.data.tilt;
165420
165429
  //17、根据位置快速定位
165421
- Object(api["w" /* positionLocation */])(positionLocationParam).then((pres) =>{
165430
+ Object(api["x" /* positionLocation */])(positionLocationParam).then((pres) =>{
165422
165431
  if(pres !=null && pres.code ==0 && pres.data !=null){
165423
165432
  _this.savepantiltPositionReq(res.data.zoom,res.data.pan,res.data.tilt,"0");
165424
165433
  _this.savepantiltPositionInterval = setInterval(() => {
@@ -165440,7 +165449,7 @@ var flv_default = /*#__PURE__*/__webpack_require__.n(dist_flv);
165440
165449
  "tilt": tilt,
165441
165450
  "status": status
165442
165451
  }
165443
- Object(api["z" /* savePanTiltPosition */])(savepantiltPositionParam).then((res) =>{
165452
+ Object(api["A" /* savePanTiltPosition */])(savepantiltPositionParam).then((res) =>{
165444
165453
  console.log('savePanTiltPosition.res',res)
165445
165454
  })
165446
165455
  },
@@ -165456,7 +165465,7 @@ var flv_default = /*#__PURE__*/__webpack_require__.n(dist_flv);
165456
165465
  "pan": _this.pan,
165457
165466
  "tilt": _this.tilt
165458
165467
  }
165459
- Object(api["w" /* positionLocation */])(positionLocationParam).then((pres) =>{
165468
+ Object(api["x" /* positionLocation */])(positionLocationParam).then((pres) =>{
165460
165469
  console.log('closestcameraangle.positionLocation.pres',pres)
165461
165470
  if(pres !=null && pres.code ==0 && pres.data !=null){
165462
165471
  _this.savepantiltPositionReq(_this.zoom,_this.pan,_this.tilt,"2");
@@ -165673,7 +165682,7 @@ var component = Object(componentNormalizer["a" /* default */])(
165673
165682
  camId: this.camId,
165674
165683
  timestamp: new Date().getTime()
165675
165684
  }
165676
- Object(api["p" /* getVideoPic */])(paramPic)
165685
+ Object(api["q" /* getVideoPic */])(paramPic)
165677
165686
  .then((res) => {
165678
165687
  this.loading = false;
165679
165688
  if (res && res.size >500) {
@@ -166284,7 +166293,7 @@ var md5_default = /*#__PURE__*/__webpack_require__.n(md5);
166284
166293
  camId: this.camId,
166285
166294
  timestamp: new Date().getTime()
166286
166295
  }
166287
- Object(api["p" /* getVideoPic */])(paramPic)
166296
+ Object(api["q" /* getVideoPic */])(paramPic)
166288
166297
  .then((res) => {
166289
166298
  this.loading = false;
166290
166299
  if (res && res.size >500) {
@@ -166424,7 +166433,7 @@ var md5_default = /*#__PURE__*/__webpack_require__.n(md5);
166424
166433
  userName: "userGisMap",
166425
166434
  userDiffId: "1"
166426
166435
  }
166427
- Object(api["o" /* getVideo */])(param)
166436
+ Object(api["p" /* getVideo */])(param)
166428
166437
  .then((res) => {
166429
166438
  let videoUrl = res.data.liveUrl
166430
166439
  if (flv_default.a.isSupported()) {
@@ -167009,7 +167018,7 @@ var CMLayervue_type_template_id_3e494b25_scoped_true_staticRenderFns = []
167009
167018
  camId: this.camId,
167010
167019
  timestamp: new Date().getTime()
167011
167020
  }
167012
- Object(api["p" /* getVideoPic */])(paramPic)
167021
+ Object(api["q" /* getVideoPic */])(paramPic)
167013
167022
  .then((res) => {
167014
167023
  this.loading = false;
167015
167024
  if (res && res.size >500) {
@@ -168040,7 +168049,7 @@ var visibilityLayervue_type_template_id_58911984_scoped_true_staticRenderFns = [
168040
168049
  camId: this.camId,
168041
168050
  timestamp: new Date().getTime()
168042
168051
  }
168043
- Object(api["p" /* getVideoPic */])(paramPic)
168052
+ Object(api["q" /* getVideoPic */])(paramPic)
168044
168053
  .then((res) => {
168045
168054
  this.loading = false;
168046
168055
  if (res && res.size >500) {
@@ -168772,7 +168781,7 @@ var roadstateLayervue_type_template_id_aa120892_scoped_true_staticRenderFns = []
168772
168781
  camId: this.camId,
168773
168782
  timestamp: new Date().getTime()
168774
168783
  }
168775
- Object(api["p" /* getVideoPic */])(paramPic)
168784
+ Object(api["q" /* getVideoPic */])(paramPic)
168776
168785
  .then((res) => {
168777
168786
  this.loading = false;
168778
168787
  if (res && res.size >500) {
@@ -169558,7 +169567,7 @@ var meteorologicalLayervue_type_template_id_1af1f284_scoped_true_staticRenderFns
169558
169567
  camId: this.camId,
169559
169568
  timestamp: new Date().getTime()
169560
169569
  }
169561
- Object(api["p" /* getVideoPic */])(paramPic)
169570
+ Object(api["q" /* getVideoPic */])(paramPic)
169562
169571
  .then((res) => {
169563
169572
  this.loading = false;
169564
169573
  if (res && res.size > 500) {
@@ -171190,7 +171199,7 @@ var mountLayervue_type_template_id_4ead02fb_scoped_true_staticRenderFns = []
171190
171199
  camId: this.camId,
171191
171200
  timestamp: new Date().getTime()
171192
171201
  }
171193
- Object(api["p" /* getVideoPic */])(paramPic)
171202
+ Object(api["q" /* getVideoPic */])(paramPic)
171194
171203
  .then((res) => {
171195
171204
  this.loading = false;
171196
171205
  if (res && res.size >500) {
@@ -171221,7 +171230,7 @@ var mountLayervue_type_template_id_4ead02fb_scoped_true_staticRenderFns = []
171221
171230
  userName: "userGisMap",
171222
171231
  userDiffId: "1"
171223
171232
  }
171224
- Object(api["o" /* getVideo */])(param)
171233
+ Object(api["p" /* getVideo */])(param)
171225
171234
  .then((res) => {
171226
171235
  this.videoUrl = res.data.liveUrl
171227
171236
  if (flv_default.a.isSupported()) {
@@ -171288,7 +171297,7 @@ var mountLayervue_type_template_id_4ead02fb_scoped_true_staticRenderFns = []
171288
171297
  }
171289
171298
  },
171290
171299
  controlDialogOpen() {
171291
- Object(api["o" /* getVideo */])('29818')
171300
+ Object(api["p" /* getVideo */])('29818')
171292
171301
  .then((res) => {
171293
171302
  this.videoUrl = res.data.liveUrl
171294
171303
  if (flv_default.a.isSupported()) {
@@ -171776,7 +171785,7 @@ var lightSignLayervue_type_template_id_a24a0996_scoped_true_staticRenderFns = [f
171776
171785
  camId: this.camId,
171777
171786
  timestamp: new Date().getTime()
171778
171787
  }
171779
- Object(api["p" /* getVideoPic */])(paramPic)
171788
+ Object(api["q" /* getVideoPic */])(paramPic)
171780
171789
  .then((res) => {
171781
171790
  this.loading = false;
171782
171791
  if (res && res.size >500) {
@@ -172433,7 +172442,7 @@ var rippleLayervue_type_template_id_7dfa846a_scoped_true_staticRenderFns = []
172433
172442
  camId: this.camId,
172434
172443
  timestamp: new Date().getTime()
172435
172444
  }
172436
- Object(api["p" /* getVideoPic */])(paramPic)
172445
+ Object(api["q" /* getVideoPic */])(paramPic)
172437
172446
  .then((res) => {
172438
172447
  this.loading = false;
172439
172448
  if (res && res.size >500) {
@@ -173255,7 +173264,7 @@ var VideoPlayLivevue_type_template_id_649824c4_scoped_true_staticRenderFns = []
173255
173264
  userName: "userGisMap",
173256
173265
  userDiffId: "1"
173257
173266
  }
173258
- Object(api["o" /* getVideo */])(param)
173267
+ Object(api["p" /* getVideo */])(param)
173259
173268
  .then((res) => {
173260
173269
  this.videoUrl = res.data.liveUrl
173261
173270
  if (flv_default.a.isSupported()) {
@@ -173724,7 +173733,7 @@ var VideoPlayLive_component = Object(componentNormalizer["a" /* default */])(
173724
173733
  camId: this.camId,
173725
173734
  timestamp: new Date().getTime()
173726
173735
  }
173727
- Object(api["p" /* getVideoPic */])(paramPic)
173736
+ Object(api["q" /* getVideoPic */])(paramPic)
173728
173737
  .then((res) => {
173729
173738
  this.loading = false;
173730
173739
  if (res && res.size > 500) {
@@ -176151,7 +176160,7 @@ var vue_seamless_scroll_min_default = /*#__PURE__*/__webpack_require__.n(vue_sea
176151
176160
  this.devCode = this.popupAttr.dev_no;
176152
176161
  //console.log(this.devCode+':devCode')
176153
176162
  let req = { devNo: this.devCode, devCategory: "005" };
176154
- Object(api["d" /* getDevdeviceInfo */])(req).then((res) => {
176163
+ Object(api["e" /* getDevdeviceInfo */])(req).then((res) => {
176155
176164
  if (res != null && res.code == 0) {
176156
176165
  this.boardInfo = res.data[0] || {};
176157
176166
  this.camId = this.boardInfo.cameraId;
@@ -176626,7 +176635,7 @@ var vue_seamless_scroll_min_default = /*#__PURE__*/__webpack_require__.n(vue_sea
176626
176635
  camId: this.camId,
176627
176636
  timestamp: new Date().getTime()
176628
176637
  }
176629
- Object(api["p" /* getVideoPic */])(paramPic)
176638
+ Object(api["q" /* getVideoPic */])(paramPic)
176630
176639
  .then((res) => {
176631
176640
  this.loading = false;
176632
176641
  if (res && res.size > 500) {
@@ -177640,7 +177649,7 @@ var fogGuideLayervue_type_template_id_7fea8d7e_scoped_true_staticRenderFns = []
177640
177649
  camId: this.camId,
177641
177650
  timestamp: new Date().getTime()
177642
177651
  }
177643
- Object(api["p" /* getVideoPic */])(paramPic)
177652
+ Object(api["q" /* getVideoPic */])(paramPic)
177644
177653
  .then((res) => {
177645
177654
  this.loading = false;
177646
177655
  if (res && res.size >500) {
@@ -178419,7 +178428,7 @@ var js_pinyin_default = /*#__PURE__*/__webpack_require__.n(js_pinyin);
178419
178428
  camId: this.camId,
178420
178429
  timestamp: new Date().getTime()
178421
178430
  }
178422
- Object(api["p" /* getVideoPic */])(paramPic)
178431
+ Object(api["q" /* getVideoPic */])(paramPic)
178423
178432
  .then((res) => {
178424
178433
  this.loading = false;
178425
178434
  if (res && res.size >500) {
@@ -178726,7 +178735,7 @@ var coneBarrelLayervue_type_template_id_94993e56_scoped_true_staticRenderFns = [
178726
178735
  camId: this.camId,
178727
178736
  timestamp: new Date().getTime()
178728
178737
  }
178729
- Object(api["p" /* getVideoPic */])(paramPic)
178738
+ Object(api["q" /* getVideoPic */])(paramPic)
178730
178739
  .then((res) => {
178731
178740
  this.loading = false;
178732
178741
  if (res && res.size >500) {
@@ -179214,7 +179223,7 @@ var radarAndvideoLayervue_type_template_id_e84e04a2_scoped_true_staticRenderFns
179214
179223
  camId: this.camId,
179215
179224
  timestamp: new Date().getTime()
179216
179225
  }
179217
- Object(api["p" /* getVideoPic */])(paramPic)
179226
+ Object(api["q" /* getVideoPic */])(paramPic)
179218
179227
  .then((res) => {
179219
179228
  this.loading = false;
179220
179229
  if (res && res.size > 500) {
@@ -179599,7 +179608,7 @@ var smartBoxLayervue_type_template_id_a5916382_scoped_true_staticRenderFns = [fu
179599
179608
  camId: this.camId,
179600
179609
  timestamp: new Date().getTime()
179601
179610
  }
179602
- Object(api["p" /* getVideoPic */])(paramPic)
179611
+ Object(api["q" /* getVideoPic */])(paramPic)
179603
179612
  .then((res) => {
179604
179613
  this.loading = false;
179605
179614
  if (res && res.size >500) {
@@ -180022,7 +180031,7 @@ var parkingSignLayervue_type_template_id_7c849bfc_scoped_true_staticRenderFns =
180022
180031
  camId: this.camId,
180023
180032
  timestamp: new Date().getTime()
180024
180033
  }
180025
- Object(api["p" /* getVideoPic */])(paramPic)
180034
+ Object(api["q" /* getVideoPic */])(paramPic)
180026
180035
  .then((res) => {
180027
180036
  this.loading = false;
180028
180037
  if (res && res.size >500) {
@@ -180317,7 +180326,7 @@ var baseStationLayervue_type_template_id_c19e8356_scoped_true_staticRenderFns =
180317
180326
  camId: this.camId,
180318
180327
  timestamp: new Date().getTime()
180319
180328
  }
180320
- Object(api["p" /* getVideoPic */])(paramPic)
180329
+ Object(api["q" /* getVideoPic */])(paramPic)
180321
180330
  .then((res) => {
180322
180331
  this.loading = false;
180323
180332
  if (res && res.size >500) {
@@ -180560,7 +180569,7 @@ var VideoPlayNetLayervue_type_template_id_32f47a90_scoped_true_staticRenderFns =
180560
180569
  userName: "userGisMap",
180561
180570
  userDiffId: "1"
180562
180571
  }
180563
- Object(api["o" /* getVideo */])(param)
180572
+ Object(api["p" /* getVideo */])(param)
180564
180573
  .then((res) => {
180565
180574
  this.videoUrl = res.data.liveUrl
180566
180575
  if (flv_default.a.isSupported()) {
@@ -180587,7 +180596,7 @@ var VideoPlayNetLayervue_type_template_id_32f47a90_scoped_true_staticRenderFns =
180587
180596
  this.$emit('videoUrlChange', this.videoUrl)
180588
180597
  if(this.presetPosition !=null && this.presetPosition !=''){
180589
180598
  //云台控制-预置位
180590
- Object(api["x" /* presetControl */])(this.camId, this.presetPosition);
180599
+ Object(api["y" /* presetControl */])(this.camId, this.presetPosition);
180591
180600
  }
180592
180601
  }
180593
180602
  }
@@ -180930,7 +180939,7 @@ var VideoPlayNetLayer_component = Object(componentNormalizer["a" /* default */])
180930
180939
  //sessionStorage.setItem('sdhsg_its_app-1.6.12-uuid','admin')
180931
180940
  isGoto = false;
180932
180941
  //获取authCode
180933
- Object(api["c" /* getAuthCode */])(sessionStorage.getItem('sdhsg_its_app-1.6.12-uuid')).then((res) => {
180942
+ Object(api["d" /* getAuthCode */])(sessionStorage.getItem('sdhsg_its_app-1.6.12-uuid')).then((res) => {
180934
180943
  if(res.code == 0){
180935
180944
  window.open(item.jumpUrl.replace('{authCode}',res.data));
180936
180945
  }else{
@@ -180972,7 +180981,7 @@ var VideoPlayNetLayer_component = Object(componentNormalizer["a" /* default */])
180972
180981
  camId: this.camId,
180973
180982
  timestamp: new Date().getTime()
180974
180983
  }
180975
- Object(api["p" /* getVideoPic */])(paramPic)
180984
+ Object(api["q" /* getVideoPic */])(paramPic)
180976
180985
  .then((res) => {
180977
180986
  this.loading = false;
180978
180987
  if (res && res.size >500) {
@@ -181510,7 +181519,7 @@ var pivotLayervue_type_template_id_2c87731c_scoped_true_staticRenderFns = []
181510
181519
  camId: this.camId,
181511
181520
  timestamp: new Date().getTime()
181512
181521
  }
181513
- Object(api["p" /* getVideoPic */])(paramPic)
181522
+ Object(api["q" /* getVideoPic */])(paramPic)
181514
181523
  .then((res) => {
181515
181524
  this.loading = false;
181516
181525
  if (res && res.size >500) {
@@ -181779,7 +181788,7 @@ var interchangeLayervue_type_template_id_0decb4d0_scoped_true_staticRenderFns =
181779
181788
  camId: this.camId,
181780
181789
  timestamp: new Date().getTime()
181781
181790
  }
181782
- Object(api["p" /* getVideoPic */])(paramPic)
181791
+ Object(api["q" /* getVideoPic */])(paramPic)
181783
181792
  .then((res) => {
181784
181793
  this.loading = false;
181785
181794
  if (res && res.size >500) {
@@ -183192,7 +183201,7 @@ var stationLayervue_type_template_id_190bfc05_scoped_true_staticRenderFns = [fun
183192
183201
  camId: this.camId,
183193
183202
  timestamp: new Date().getTime()
183194
183203
  }
183195
- Object(api["p" /* getVideoPic */])(paramPic)
183204
+ Object(api["q" /* getVideoPic */])(paramPic)
183196
183205
  .then((res) => {
183197
183206
  this.loading = false;
183198
183207
  if (res && res.size >500) {
@@ -183610,7 +183619,7 @@ var bridgeLayervue_type_template_id_2051ff00_scoped_true_staticRenderFns = [func
183610
183619
  camId: this.camId,
183611
183620
  timestamp: new Date().getTime()
183612
183621
  }
183613
- Object(api["p" /* getVideoPic */])(paramPic)
183622
+ Object(api["q" /* getVideoPic */])(paramPic)
183614
183623
  .then((res) => {
183615
183624
  this.loading = false;
183616
183625
  if (res && res.size >500) {
@@ -183951,7 +183960,7 @@ var tunnelLayervue_type_template_id_0fb53471_scoped_true_staticRenderFns = []
183951
183960
  camId: this.camId,
183952
183961
  timestamp: new Date().getTime()
183953
183962
  }
183954
- Object(api["p" /* getVideoPic */])(paramPic)
183963
+ Object(api["q" /* getVideoPic */])(paramPic)
183955
183964
  .then((res) => {
183956
183965
  this.loading = false;
183957
183966
  if (res && res.size >500) {
@@ -184285,7 +184294,7 @@ var ETCLayervue_type_template_id_23a620d8_scoped_true_staticRenderFns = [functio
184285
184294
  camId: this.camId,
184286
184295
  timestamp: new Date().getTime()
184287
184296
  }
184288
- Object(api["p" /* getVideoPic */])(paramPic)
184297
+ Object(api["q" /* getVideoPic */])(paramPic)
184289
184298
  .then((res) => {
184290
184299
  this.loading = false;
184291
184300
  if (res && res.size >500) {
@@ -185278,7 +185287,7 @@ var organizationLayervue_type_template_id_5bdc7018_scoped_true_staticRenderFns =
185278
185287
  camId: this.camId,
185279
185288
  timestamp: new Date().getTime()
185280
185289
  }
185281
- Object(api["p" /* getVideoPic */])(paramPic)
185290
+ Object(api["q" /* getVideoPic */])(paramPic)
185282
185291
  .then((res) => {
185283
185292
  this.loading = false;
185284
185293
  if (res && res.size >500) {
@@ -185317,7 +185326,7 @@ var organizationLayervue_type_template_id_5bdc7018_scoped_true_staticRenderFns =
185317
185326
  userName: "userGisMap",
185318
185327
  userDiffId: "1"
185319
185328
  }
185320
- Object(api["o" /* getVideo */])(param)
185329
+ Object(api["p" /* getVideo */])(param)
185321
185330
  .then((res) => {
185322
185331
  this.videoUrl = res.data.liveUrl
185323
185332
  if (flv_default.a.isSupported()) {
@@ -185889,7 +185898,7 @@ var roadVms = __webpack_require__("cee8");
185889
185898
  this.nearbyCameraList2 = [];
185890
185899
  this.showText = false;
185891
185900
  this.showText2 = false;
185892
- api["t" /* nearbyCamera */](
185901
+ api["u" /* nearbyCamera */](
185893
185902
  params,
185894
185903
  this.$GlobalConfig.trafficMonitorUrl,
185895
185904
  this.$GlobalConfig.trafficMonitorType
@@ -185946,7 +185955,7 @@ var roadVms = __webpack_require__("cee8");
185946
185955
  this.nearbyVMSList2 = [];
185947
185956
  this.showText = false;
185948
185957
  this.showText2 = false;
185949
- api["u" /* nearbyVMS */](
185958
+ api["v" /* nearbyVMS */](
185950
185959
  params,
185951
185960
  this.$GlobalConfig.trafficMonitorUrl,
185952
185961
  this.$GlobalConfig.trafficMonitorType
@@ -186003,7 +186012,7 @@ var roadVms = __webpack_require__("cee8");
186003
186012
  this.videoInfo = {};
186004
186013
  this.videoInfo2 = {};
186005
186014
  let _this = this;
186006
- api["v" /* openCam */](
186015
+ api["w" /* openCam */](
186007
186016
  camId,
186008
186017
  this.$GlobalConfig.trafficMonitorUrl,
186009
186018
  this.$GlobalConfig.trafficMonitorType,
@@ -186424,12 +186433,12 @@ var trafficEventLayer_component = Object(componentNormalizer["a" /* default */])
186424
186433
  )
186425
186434
 
186426
186435
  /* harmony default export */ var trafficEventLayer = (trafficEventLayer_component.exports);
186427
- // 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&
186428
- 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("事件解除")])])])])}
186429
- var perceptionEventLayervue_type_template_id_6f22e751_staticRenderFns = []
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=8b626b3c&
186437
+ 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("事件解除")])])])])}
186438
+ var perceptionEventLayervue_type_template_id_8b626b3c_staticRenderFns = []
186430
186439
 
186431
186440
 
186432
- // CONCATENATED MODULE: ./packages/gis-map/src/component/eventLayer/perceptionEventLayer.vue?vue&type=template&id=6f22e751&
186441
+ // CONCATENATED MODULE: ./packages/gis-map/src/component/eventLayer/perceptionEventLayer.vue?vue&type=template&id=8b626b3c&
186433
186442
 
186434
186443
  // EXTERNAL MODULE: ./node_modules/swiper/css/swiper.min.css
186435
186444
  var swiper_min = __webpack_require__("f4bd");
@@ -186648,6 +186657,12 @@ var swiper_min = __webpack_require__("f4bd");
186648
186657
  //
186649
186658
  //
186650
186659
  //
186660
+ //
186661
+ //
186662
+ //
186663
+ //
186664
+ //
186665
+ //
186651
186666
 
186652
186667
  //import flvjs from "flv.js";
186653
186668
 
@@ -186672,6 +186687,8 @@ var swiper_min = __webpack_require__("f4bd");
186672
186687
  eventDis: "",
186673
186688
  enentCd: [],
186674
186689
  },
186690
+ eventTypeList: [],
186691
+ subEventTypeList: [],
186675
186692
  echartsIsShow: false,
186676
186693
  messageEvent: true,
186677
186694
  // dispatchDialog: false,
@@ -186705,6 +186722,7 @@ var swiper_min = __webpack_require__("f4bd");
186705
186722
  fullscreen: null,
186706
186723
  masterDetailInfo: null,
186707
186724
  perceptionEventReleaseShow: false,
186725
+ loading: false,
186708
186726
  };
186709
186727
  },
186710
186728
  mounted() {
@@ -186722,6 +186740,35 @@ var swiper_min = __webpack_require__("f4bd");
186722
186740
  }
186723
186741
  this.fullscreen = !this.fullscreen;
186724
186742
  },
186743
+ getEventTypeList(eventTypeCode) {
186744
+ this.eventTypeList = [];
186745
+ this.subEventTypeList = [];
186746
+ Object(api["c" /* eventConvertType */])(
186747
+ eventTypeCode,
186748
+ this.$GlobalConfig.trafficMonitorUrl,
186749
+ this.$GlobalConfig.trafficMonitorType
186750
+ ).then((data) => {
186751
+ this.eventTypeList = data.data || [];
186752
+ this.subEventTypeList = data.data[0].childList || [];
186753
+ });
186754
+ },
186755
+ // 主类型改变
186756
+ mainCodeChange(val) {
186757
+ let obj = this.eventTypeList.find((e) => e.trafficMainCode == val);
186758
+ this.popupAttr.trafficMainCode = val;
186759
+ this.popupAttr.trafficMainName = obj.trafficMainName;
186760
+ this.subEventTypeList = obj.childList || [];
186761
+ this.popupAttr.trafficSubCode = this.subEventTypeList[0].trafficSubCode;
186762
+ this.popupAttr.trafficSubName = this.subEventTypeList[0].trafficSubName;
186763
+ this.popupAttr.eventCode = this.subEventTypeList[0].eventCode;
186764
+ },
186765
+ // 子类型改变
186766
+ subCodeChange(val) {
186767
+ let obj = this.subEventTypeList.find((e) => e.trafficSubCode == val);
186768
+ this.popupAttr.trafficSubCode = val;
186769
+ this.popupAttr.trafficSubName = obj.trafficSubName;
186770
+ this.popupAttr.eventCode = obj.eventCode;
186771
+ },
186725
186772
  imgx2(e) {
186726
186773
  console.log(e.target.src);
186727
186774
  this.$emit("imgDoubleClick", e.target.src);
@@ -186733,6 +186780,7 @@ var swiper_min = __webpack_require__("f4bd");
186733
186780
  return value;
186734
186781
  },
186735
186782
  _show() {
186783
+ this.loading = true;
186736
186784
  this.perceptionEventReleaseShow = false;
186737
186785
  window.addEventListener("fullscreenchange", () => {
186738
186786
  if (document.fullscreenElement) {
@@ -186904,9 +186952,10 @@ var swiper_min = __webpack_require__("f4bd");
186904
186952
  }
186905
186953
  }
186906
186954
  }
186955
+ this.getEventTypeList(this.popupAttr.eventTypecode);
186907
186956
  },
186908
186957
  initEventMainType() {
186909
- Object(api["h" /* getEventMainType */])().then((res) => {
186958
+ Object(api["i" /* getEventMainType */])().then((res) => {
186910
186959
  if (res != null && res.code == 0) {
186911
186960
  this.eventMainTypeList = res.data;
186912
186961
  }
@@ -186937,11 +186986,12 @@ var swiper_min = __webpack_require__("f4bd");
186937
186986
  this.videoList = [];
186938
186987
  //console.log('popupAttr',this.popupAttr)
186939
186988
  let reqData = { id: this.popupAttr.id };
186940
- Object(api["y" /* queryMasterDetail */])(
186989
+ Object(api["z" /* queryMasterDetail */])(
186941
186990
  reqData,
186942
186991
  this.$GlobalConfig.trafficMonitorUrl,
186943
186992
  this.$GlobalConfig.trafficMonitorType
186944
186993
  ).then((res) => {
186994
+ this.loading = false;
186945
186995
  console.log("queryMasterDetail.res", res);
186946
186996
  if (res.code == 0 && res.data != null) {
186947
186997
  this.masterDetailInfo = res.data;
@@ -186967,6 +187017,8 @@ var swiper_min = __webpack_require__("f4bd");
186967
187017
  this.rightCarouselBtn = true;
186968
187018
  }
186969
187019
  }
187020
+ }).catch(() => {
187021
+ this.loading = false;
186970
187022
  });
186971
187023
  },
186972
187024
  initWeatherByLonAndLat() {
@@ -186974,7 +187026,7 @@ var swiper_min = __webpack_require__("f4bd");
186974
187026
  lon: this.popupAttr.longitude,
186975
187027
  lat: this.popupAttr.latitude,
186976
187028
  };
186977
- Object(api["q" /* getWeatherByLonAndLat */])(reqData).then((res) => {
187029
+ Object(api["r" /* getWeatherByLonAndLat */])(reqData).then((res) => {
186978
187030
  if (res != null && res.code == 0) {
186979
187031
  this.weatherDescription = res.data.data;
186980
187032
  }
@@ -186984,8 +187036,15 @@ var swiper_min = __webpack_require__("f4bd");
186984
187036
  this.popupAttr.type = this.trafficEventType;
186985
187037
  },
186986
187038
  schedulingSettings() {
186987
- this.$emit("schedulingSettings", this.popupAttr, this.masterDetailInfo);
186988
- this.$emit("removeAllVideoPoint", this.popupAttr, this.masterDetailInfo);
187039
+ if(!this.popupAttr.trafficMainCode) return this.$message({message:'请选择事件类型',type:'warning'});
187040
+ if(!this.popupAttr.trafficSubCode) return this.$message({message:'请选择细分类型',type:'warning'});
187041
+ this.$confirm(`是否将本事件确认为 ${this.popupAttr.trafficMainName}(${this.popupAttr.trafficSubName})?`, '提示', {
187042
+ confirmButtonText: '确定',
187043
+ cancelButtonText: '取消',
187044
+ }).then(() => {
187045
+ this.$emit("schedulingSettings", this.popupAttr, this.masterDetailInfo);
187046
+ this.$emit("removeAllVideoPoint", this.popupAttr, this.masterDetailInfo);
187047
+ }).catch(() => {});
186989
187048
  },
186990
187049
  terminationOfAlarm() {
186991
187050
  if (this.perceptionEventReleaseShow) {
@@ -187166,7 +187225,7 @@ var swiper_min = __webpack_require__("f4bd");
187166
187225
  // camId: this.devId,
187167
187226
  // };
187168
187227
  // console.log("发送流请求", param);
187169
- Object(api["v" /* openCam */])(
187228
+ Object(api["w" /* openCam */])(
187170
187229
  devId,
187171
187230
  this.$GlobalConfig.trafficMonitorUrl,
187172
187231
  this.$GlobalConfig.trafficMonitorType,
@@ -187257,7 +187316,7 @@ var swiper_min = __webpack_require__("f4bd");
187257
187316
  eventDesc: this.eventForm.eventDis,
187258
187317
  lane: lanes,
187259
187318
  };
187260
- Object(api["B" /* updateEventMaster */])(reqData).then((res) => {
187319
+ Object(api["C" /* updateEventMaster */])(reqData).then((res) => {
187261
187320
  if (res.code == 0) {
187262
187321
  /* this.$message({
187263
187322
  message: "修改成功",
@@ -187331,10 +187390,21 @@ var swiper_min = __webpack_require__("f4bd");
187331
187390
  return className;
187332
187391
  },
187333
187392
  shouldShow() {
187334
- console.log('1111111111111111111111',this.specialId === this.popupAttr.deptId || this.specialId === this.popupAttr.deptPid ||this.specialId === 'YG1'||this.specialId === '');
187335
-
187336
- return this.specialId === this.popupAttr.deptId || this.specialId === this.popupAttr.deptPid ||this.specialId === 'YG1'||this.specialId === ''
187337
- },
187393
+ console.log(
187394
+ "1111111111111111111111",
187395
+ this.specialId === this.popupAttr.deptId ||
187396
+ this.specialId === this.popupAttr.deptPid ||
187397
+ this.specialId === "YG1" ||
187398
+ this.specialId === ""
187399
+ );
187400
+
187401
+ return (
187402
+ this.specialId === this.popupAttr.deptId ||
187403
+ this.specialId === this.popupAttr.deptPid ||
187404
+ this.specialId === "YG1" ||
187405
+ this.specialId === ""
187406
+ );
187407
+ },
187338
187408
  },
187339
187409
  watch: {},
187340
187410
  });
@@ -187355,8 +187425,8 @@ var perceptionEventLayervue_type_style_index_0_scope_true_lang_css_ = __webpack_
187355
187425
 
187356
187426
  var perceptionEventLayer_component = Object(componentNormalizer["a" /* default */])(
187357
187427
  eventLayer_perceptionEventLayervue_type_script_lang_js_,
187358
- perceptionEventLayervue_type_template_id_6f22e751_render,
187359
- perceptionEventLayervue_type_template_id_6f22e751_staticRenderFns,
187428
+ perceptionEventLayervue_type_template_id_8b626b3c_render,
187429
+ perceptionEventLayervue_type_template_id_8b626b3c_staticRenderFns,
187360
187430
  false,
187361
187431
  null,
187362
187432
  null,
@@ -187507,7 +187577,7 @@ var cameraTreevue_type_template_id_74923d88_scoped_true_staticRenderFns = []
187507
187577
  // this.$emit('select', CheckE.checkedKeys.filter(item => !!item));
187508
187578
  },
187509
187579
  loadRoadList(node, resolve){
187510
- Object(api["e" /* getDimmdmroadriList */])({isAdminister: "1"}).then((res) =>{
187580
+ Object(api["f" /* getDimmdmroadriList */])({isAdminister: "1"}).then((res) =>{
187511
187581
  if(res !=null && res.data !=null){
187512
187582
  res.data.forEach((item) => {
187513
187583
  item.label = item.roadName;
@@ -187548,7 +187618,7 @@ var cameraTreevue_type_template_id_74923d88_scoped_true_staticRenderFns = []
187548
187618
  } else {
187549
187619
  params = { opmaCliqueId: '', opmaManagerCorpId: '' }
187550
187620
  }
187551
- Object(api["i" /* getFgsList */])(params).then((res) => {
187621
+ Object(api["j" /* getFgsList */])(params).then((res) => {
187552
187622
  res.data.forEach((item) => {
187553
187623
  item.label = item.opmaManagerCorpName
187554
187624
  item.disabledTmp = false
@@ -187605,7 +187675,7 @@ var cameraTreevue_type_template_id_74923d88_scoped_true_staticRenderFns = []
187605
187675
  return resolve([])
187606
187676
  }
187607
187677
  this.isBranch = true
187608
- Object(api["j" /* getOpmasubsectionriList */])({ opmaManagerCorpId: node.data.opmaManagerCorpId }).then((res) => {
187678
+ Object(api["k" /* getOpmasubsectionriList */])({ opmaManagerCorpId: node.data.opmaManagerCorpId }).then((res) => {
187609
187679
  if (res.data != null && res.data.length > 0) {
187610
187680
  const map = new Map()
187611
187681
  const datas = res.data.filter((key) => !map.has(key.roadName) && map.set(key.roadName, 1))
@@ -187628,7 +187698,7 @@ var cameraTreevue_type_template_id_74923d88_scoped_true_staticRenderFns = []
187628
187698
  return resolve([])
187629
187699
  }
187630
187700
  if (this.isBranch) {
187631
- Object(api["g" /* getEquipList */])({
187701
+ Object(api["h" /* getEquipList */])({
187632
187702
  devCategory: this.equipType,
187633
187703
  opmaManagerCorpId: node.data.opmaManagerId,
187634
187704
  roadId: node.data.roadId,
@@ -187649,7 +187719,7 @@ var cameraTreevue_type_template_id_74923d88_scoped_true_staticRenderFns = []
187649
187719
  })
187650
187720
  this.isEnd = true
187651
187721
  } else {
187652
- Object(api["j" /* getOpmasubsectionriList */])({ opmaManagerId: node.data.opmaManagerId }).then((res) => {
187722
+ Object(api["k" /* getOpmasubsectionriList */])({ opmaManagerId: node.data.opmaManagerId }).then((res) => {
187653
187723
  const map = new Map()
187654
187724
  const datas = res.data.filter((key) => !map.has(key.roadName) && map.set(key.roadName, 1))
187655
187725
  datas.forEach((item) => {
@@ -187669,7 +187739,7 @@ var cameraTreevue_type_template_id_74923d88_scoped_true_staticRenderFns = []
187669
187739
  if (this.typeNameLocal == 'danao') {
187670
187740
  return resolve([])
187671
187741
  }
187672
- Object(api["g" /* getEquipList */])({
187742
+ Object(api["h" /* getEquipList */])({
187673
187743
  devCategory: this.equipType,
187674
187744
  opmaManagerId: node.data.opmaManagerId,
187675
187745
  roadId: node.data.roadId,
@@ -187700,7 +187770,7 @@ var cameraTreevue_type_template_id_74923d88_scoped_true_staticRenderFns = []
187700
187770
  }
187701
187771
  },
187702
187772
  initRoadList() {
187703
- Object(api["e" /* getDimmdmroadriList */])({isAdminister: "1"}).then((res) =>{
187773
+ Object(api["f" /* getDimmdmroadriList */])({isAdminister: "1"}).then((res) =>{
187704
187774
  if(res !=null && res.data !=null){
187705
187775
  res.data.forEach((item) => {
187706
187776
  item.label = item.roadName;
@@ -188094,6 +188164,8 @@ var searchvue_type_template_id_276a7099_scoped_true_staticRenderFns = []
188094
188164
  "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAyVBMVEUARG4ARW8ARXAAR3EAR3IASHMASXQASnQAS3YATHgATXoATnkAT3kAVIAAVYEAVoIAWIQAWIUAWYUAXosAX4wAYI0AYY4AY5AAZJIAZ5QAbpwAcZ8AdaUAdqUAd6cAeqkAgrEAhLUAiLgAjb8Ak8UAlccAlsgAmMoAms0Am84AntAAo9YApNcApdgAptoAp9sAreEAsOQAs+gAs+kAtOgAtOkAteoAt+wAue8Au/AAv/YAwPYAwfcAwvkAw/oAxfsAxfwAyP////91s5qpAAAAAWJLR0RCENc99AAAALVJREFUOMvl0skSgjAQBNBGEHdBcd9xRcUtKG6o5P9/ypNFYopwtcq+5h0yMw2aEFBI81+g6TGrCSYiIPz22gAAnQEhD4YASsuHDKTHT0plYEepHAQiuC32UvAykdrKwBHAKAJ3AYQVKG4EMsWu//2H1eHz7uVtcpoZPgOu3BAde6pisG4woMfNmSUqgE2ZvWbBilKFBwBOLf7c8z5gEi0e5FzXIRdLVhijrrXOSkKj9B9qdULe+vxb2NAp6xsAAAAASUVORK5CYII=",
188095
188165
  weight_clear_D:
188096
188166
  'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAEFCu8CAAAAAXNSR0I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X5FhffdNXu+acrr8//C+ge4ZPceWfqAAAAAElFTkSuQmCC',
188097
188169
  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+GigoGSMEZhy9HgPxQLC3aFrfGdXOL8e6OID9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wq1yGv4dHubZwPDS4yW7ZHqMete4Z+jNLUbgaEoAYIPVMQPJz+IabDZmjDRmQxmIBBlkiZAzhO5E+4IXsJlko6RVcj1w1e7ZkBJuks6c0yP2xIHczJCfgNGytj1vrDsTIk/m8/8rPs7acReo6H78V0al88ctUhy31fYbZxd688ZwlOwxtc5jIhAB7VZgBPb4sDp+2PrbU2Spa1rUOqwraDYJALgr2zYXuIjMaY5eTOxqaqqA9zdn35seij3/twYwrxP5jplD5Ukf/e0SbTurR9tjm1tVd65WcZBYVZTncR1nzGsgztGOXQFhGpZpoqS0bVyU08qOR9PTZ8ffGTRxrih3CSc0l5lbxVmZ+54/ueZW1Ko37+tzGtO2zuzkyrablynYaV44gZ7pgYUASHM27Ew9hxDllOMxg3pLoqN7P638VYc3Tod/8HzckeW123NDAAAAAASUVORK5CYII=",
188098
188170
  iconTest: [
188099
188171
  //故障停车
@@ -188358,7 +188430,7 @@ var searchvue_type_template_id_276a7099_scoped_true_staticRenderFns = []
188358
188430
  }else if(this.organizationType ==3){
188359
188431
  params.opmaManagerId = this.organizationId;
188360
188432
  } */
188361
- Object(api["l" /* getQuerybasicdata */])(params).then((res) => {
188433
+ Object(api["m" /* getQuerybasicdata */])(params).then((res) => {
188362
188434
  this.restaurants = res.data;
188363
188435
  })
188364
188436
  },
@@ -189121,7 +189193,7 @@ var roadCameraPresetLayervue_type_template_id_1d7afaa3_scoped_true_staticRenderF
189121
189193
  userName: "userGisMap",
189122
189194
  userDiffId: "1"
189123
189195
  }
189124
- Object(api["o" /* getVideo */])(param)
189196
+ Object(api["p" /* getVideo */])(param)
189125
189197
  .then((res) => {
189126
189198
  this.videoUrl = res.data.liveUrl
189127
189199
  if (flv_default.a.isSupported()) {
@@ -189479,7 +189551,7 @@ var barrierCollisionWarningLayervue_type_template_id_262454b3_scoped_true_static
189479
189551
  camId: this.camId,
189480
189552
  timestamp: new Date().getTime()
189481
189553
  }
189482
- Object(api["p" /* getVideoPic */])(paramPic)
189554
+ Object(api["q" /* getVideoPic */])(paramPic)
189483
189555
  .then((res) => {
189484
189556
  this.loading = false;
189485
189557
  if (res && res.size >500) {
@@ -189830,7 +189902,7 @@ var bridgeHealthLayervue_type_template_id_d9da83b8_scoped_true_staticRenderFns =
189830
189902
  camId: this.camId,
189831
189903
  timestamp: new Date().getTime()
189832
189904
  }
189833
- Object(api["p" /* getVideoPic */])(paramPic)
189905
+ Object(api["q" /* getVideoPic */])(paramPic)
189834
189906
  .then((res) => {
189835
189907
  this.loading = false;
189836
189908
  if (res && res.size >500) {
@@ -190125,7 +190197,7 @@ var rsuLayervue_type_template_id_a3039a70_scoped_true_staticRenderFns = []
190125
190197
  camId: this.camId,
190126
190198
  timestamp: new Date().getTime()
190127
190199
  }
190128
- Object(api["p" /* getVideoPic */])(paramPic)
190200
+ Object(api["q" /* getVideoPic */])(paramPic)
190129
190201
  .then((res) => {
190130
190202
  this.loading = false;
190131
190203
  if (res && res.size >500) {
@@ -190420,7 +190492,7 @@ var awakenLayervue_type_template_id_47558512_scoped_true_staticRenderFns = []
190420
190492
  camId: this.camId,
190421
190493
  timestamp: new Date().getTime()
190422
190494
  }
190423
- Object(api["p" /* getVideoPic */])(paramPic)
190495
+ Object(api["q" /* getVideoPic */])(paramPic)
190424
190496
  .then((res) => {
190425
190497
  this.loading = false;
190426
190498
  if (res && res.size >500) {
@@ -190970,7 +191042,7 @@ var confluenceLayervue_type_template_id_70ab3549_scoped_true_staticRenderFns = [
190970
191042
  camId: this.camId,
190971
191043
  timestamp: new Date().getTime()
190972
191044
  }
190973
- Object(api["p" /* getVideoPic */])(paramPic)
191045
+ Object(api["q" /* getVideoPic */])(paramPic)
190974
191046
  .then((res) => {
190975
191047
  this.loading = false;
190976
191048
  if (res && res.size >500) {
@@ -191334,7 +191406,7 @@ var removeSnowLayervue_type_template_id_68d65c6e_scoped_true_staticRenderFns = [
191334
191406
  camId: this.camId,
191335
191407
  timestamp: new Date().getTime()
191336
191408
  }
191337
- Object(api["p" /* getVideoPic */])(paramPic)
191409
+ Object(api["q" /* getVideoPic */])(paramPic)
191338
191410
  .then((res) => {
191339
191411
  this.loading = false;
191340
191412
  if (res && res.size >500) {
@@ -191640,7 +191712,7 @@ var spikeLayervue_type_template_id_5719ddac_scoped_true_staticRenderFns = []
191640
191712
  camId: this.camId,
191641
191713
  timestamp: new Date().getTime()
191642
191714
  }
191643
- Object(api["p" /* getVideoPic */])(paramPic)
191715
+ Object(api["q" /* getVideoPic */])(paramPic)
191644
191716
  .then((res) => {
191645
191717
  this.loading = false;
191646
191718
  if (res && res.size >500) {
@@ -191935,7 +192007,7 @@ var distanceMarkerLayervue_type_template_id_0182b6e4_scoped_true_staticRenderFns
191935
192007
  camId: this.camId,
191936
192008
  timestamp: new Date().getTime()
191937
192009
  }
191938
- Object(api["p" /* getVideoPic */])(paramPic)
192010
+ Object(api["q" /* getVideoPic */])(paramPic)
191939
192011
  .then((res) => {
191940
192012
  this.loading = false;
191941
192013
  if (res && res.size >500) {
@@ -192230,7 +192302,7 @@ var sectionRadioLayervue_type_template_id_16077e28_scoped_true_staticRenderFns =
192230
192302
  camId: this.camId,
192231
192303
  timestamp: new Date().getTime()
192232
192304
  }
192233
- Object(api["p" /* getVideoPic */])(paramPic)
192305
+ Object(api["q" /* getVideoPic */])(paramPic)
192234
192306
  .then((res) => {
192235
192307
  this.loading = false;
192236
192308
  if (res && res.size >500) {
@@ -192525,7 +192597,7 @@ var beidouLayervue_type_template_id_0a262ba4_scoped_true_staticRenderFns = []
192525
192597
  camId: this.camId,
192526
192598
  timestamp: new Date().getTime()
192527
192599
  }
192528
- Object(api["p" /* getVideoPic */])(paramPic)
192600
+ Object(api["q" /* getVideoPic */])(paramPic)
192529
192601
  .then((res) => {
192530
192602
  this.loading = false;
192531
192603
  if (res && res.size >500) {
@@ -194406,7 +194478,7 @@ var emergencyLayervue_type_template_id_77225db4_scoped_true_staticRenderFns = []
194406
194478
  let req = {
194407
194479
  manageUnit: this.popupAttr.manageUnit,
194408
194480
  };
194409
- Object(api["f" /* getEmergencyData */])(req).then((res) => {
194481
+ Object(api["g" /* getEmergencyData */])(req).then((res) => {
194410
194482
  this.tableData = res.data;
194411
194483
  });
194412
194484
  },
@@ -194569,7 +194641,7 @@ var trafficSafetyLayervue_type_template_id_f55b98ec_scoped_true_staticRenderFns
194569
194641
  opmaManagerName: '',
194570
194642
  roadId: this.popupAttr.road_id
194571
194643
  }
194572
- Object(api["r" /* gettrafficSafetyData */])(data).then(res => {
194644
+ Object(api["s" /* gettrafficSafetyData */])(data).then(res => {
194573
194645
  this.equipMeaage = res.data[0]
194574
194646
  })
194575
194647
  },
@@ -194902,7 +194974,7 @@ var congestionSectionvue_type_template_id_4f7f5f2a_scoped_true_staticRenderFns =
194902
194974
  this.nearbyCameraList2 = []
194903
194975
  this.showText = false
194904
194976
  this.showText2 = false
194905
- api["t" /* nearbyCamera */](params, this.$GlobalConfig.trafficMonitorUrl, this.$GlobalConfig.trafficMonitorType).then(res => {
194977
+ api["u" /* nearbyCamera */](params, this.$GlobalConfig.trafficMonitorUrl, this.$GlobalConfig.trafficMonitorType).then(res => {
194906
194978
  if (res !=null && res.code == 0) {
194907
194979
  // 上行
194908
194980
  this.nearbyCameraList = res.data.UP
@@ -194953,7 +195025,7 @@ var congestionSectionvue_type_template_id_4f7f5f2a_scoped_true_staticRenderFns =
194953
195025
  this.nearbyVMSList2 = []
194954
195026
  this.showText = false
194955
195027
  this.showText2 = false
194956
- api["u" /* nearbyVMS */](params, this.$GlobalConfig.trafficMonitorUrl, this.$GlobalConfig.trafficMonitorType).then(res => {
195028
+ api["v" /* nearbyVMS */](params, this.$GlobalConfig.trafficMonitorUrl, this.$GlobalConfig.trafficMonitorType).then(res => {
194957
195029
  if (res !=null && res.code == 0) {
194958
195030
  // 上行
194959
195031
  this.nearbyVMSList = res.data.UP
@@ -194993,7 +195065,7 @@ var congestionSectionvue_type_template_id_4f7f5f2a_scoped_true_staticRenderFns =
194993
195065
  if (!camId) return
194994
195066
  this.videoInfo = {}
194995
195067
  this.videoInfo2 = {}
194996
- api["v" /* openCam */](camId, this.$GlobalConfig.trafficMonitorUrl, this.$GlobalConfig.trafficMonitorType, this.$GlobalConfig.netWorkType).then(res => {
195068
+ api["w" /* openCam */](camId, this.$GlobalConfig.trafficMonitorUrl, this.$GlobalConfig.trafficMonitorType, this.$GlobalConfig.netWorkType).then(res => {
194997
195069
  if (res !=null && res.data.recCode == '0') {
194998
195070
  name == 'playerUp' ? (this.videoInfo = res.data || {}) : (this.videoInfo2 = res.data || {})
194999
195071
  if (name == 'playerUp') {
@@ -196778,22 +196850,24 @@ class echartsLayer_EchartsglLayer {
196778
196850
  getPatrolAccidentLayerInterval: null,
196779
196851
  series: null,
196780
196852
  colorMap: [
196781
- '#FF4040',
196782
- '#FF8C00',
196783
- '#FFD700',
196784
- '#00ff33',
196785
- '#0033ff',
196786
- '#00ffff',
196787
- '#BF3EFF',
196788
- '#33FF9D',
196789
- '#DAA520',
196790
- '#E3E3E3'
196853
+ "#FF4040",
196854
+ "#FF8C00",
196855
+ "#FFD700",
196856
+ "#00ff33",
196857
+ "#0033ff",
196858
+ "#00ffff",
196859
+ "#BF3EFF",
196860
+ "#33FF9D",
196861
+ "#DAA520",
196862
+ "#E3E3E3",
196791
196863
  ],
196792
196864
  pieChartLayer: null,
196793
196865
  scatterChartLayer: null,
196794
196866
  chartElements: [],
196795
196867
  myChart: null,
196796
- scatterContainer: null
196868
+ scatterContainer: null,
196869
+ yzDistance: 1,
196870
+ pointGraphicArrCC: null
196797
196871
  };
196798
196872
  },
196799
196873
  methods: {
@@ -197416,7 +197490,38 @@ class echartsLayer_EchartsglLayer {
197416
197490
  },
197417
197491
  // 气象数据图层 -- 不需要区分状态
197418
197492
  initMeteorologicaldataLayer() {
197419
- Object(esri_loader["loadModules"])(["esri/layers/FeatureLayer"]).then(([FeatureLayer]) => {
197493
+ let that = this;
197494
+ Object(esri_loader["loadModules"])([
197495
+ "esri/layers/FeatureLayer",
197496
+ "esri/renderers/support/jsonUtils",
197497
+ ]).then(([FeatureLayer, rendererJsonUtils]) => {
197498
+ var Symbol1 = {
197499
+ type: "esriPMS",
197500
+ url: this.jiandanyuan_blue,
197501
+ width: 20 * this.styleZoom + "px",
197502
+ height: 20 * this.styleZoom + "px",
197503
+ };
197504
+ var Symbol2 = {
197505
+ type: "esriPMS",
197506
+ url: this.jiandanyuan_red,
197507
+ width: 30 * this.styleZoom + "px",
197508
+ height: 30 * this.styleZoom + "px",
197509
+ };
197510
+ var renderJson = {
197511
+ type: "uniqueValue",
197512
+ field1: "panduan",
197513
+ uniqueValueInfos: [
197514
+ {
197515
+ value: "1",
197516
+ symbol: Symbol1,
197517
+ },
197518
+ {
197519
+ value: "2",
197520
+ symbol: Symbol2,
197521
+ },
197522
+ ],
197523
+ };
197524
+ var renderer = rendererJsonUtils.fromJSON(renderJson);
197420
197525
  this.meteorologicaldataLayer = new FeatureLayer({
197421
197526
  id: "meteorologicaldataLayer",
197422
197527
  outFields: ["*"],
@@ -197464,6 +197569,11 @@ class echartsLayer_EchartsglLayer {
197464
197569
  alias: "opma_man_2",
197465
197570
  type: "string",
197466
197571
  },
197572
+ {
197573
+ name: "panduan",
197574
+ alias: "panduan",
197575
+ type: "string",
197576
+ },
197467
197577
  {
197468
197578
  name: "managerCorpId",
197469
197579
  alias: "managerCorpId",
@@ -197580,50 +197690,127 @@ class echartsLayer_EchartsglLayer {
197580
197690
  type: "double",
197581
197691
  },
197582
197692
  ],
197583
- featureReduction: this.clusterConfigNoFields,
197584
197693
  definitionExpression: this.makeRoadSql("meteorologicaldataLayer"),
197585
- renderer: {
197586
- type: "class-breaks",
197587
- field: "cluster_count",
197588
- defaultLabel: "1",
197589
- defaultSymbol: {
197590
- type: "picture-marker",
197591
- url: this.meteorologicalLayer_img,
197592
- width: 35 * this.styleZoom + "px",
197593
- height: 35 * this.styleZoom + "px",
197594
- // yoffset: "25px"
197595
- },
197596
- classBreakInfos: [
197597
- {
197598
- minValue: 2,
197599
- maxValue: 1000000,
197600
- symbol: {
197601
- type: "picture-marker",
197602
- url: this.meteorologicalLayer_img,
197603
- width: 35 * this.styleZoom + "px",
197604
- height: 35 * this.styleZoom + "px",
197605
- // yoffset: "20px"
197606
- },
197607
- },
197608
- ],
197609
- },
197694
+ renderer: renderer,
197695
+ // featureReduction: this.clusterConfigNoFields,
197610
197696
  });
197611
197697
  if (this.$GlobalConfig.meteorologicaldataLayer === true) {
197612
197698
  this.map.add(this.meteorologicaldataLayer);
197613
197699
  }
197614
197700
  this.meteorologicaldataLayer.visible = false;
197615
- this.getMeteorologicalLayer();
197701
+ this.getMeteorologicalLayer(false, this.yzDistance);
197616
197702
  setInterval(() => {
197617
- this.getMeteorologicalLayer(true);
197618
- }, 60 * 60 * 1000); //60*60*1000
197703
+ this.getMeteorologicalLayer(true, this.yzDistance);
197704
+ }, 60 * 60 * 1000);
197705
+ this.view.watch("zoom", function () {
197706
+ if (that.view.zoom <= 12) {
197707
+ if (that.yzDistance == 0||that.yzDistance == 1) {
197708
+
197709
+ that.yzDistance = 2
197710
+ that.getMeteorologicalLayer(true,that.yzDistance);
197711
+ }
197712
+ }else if(that.view.zoom > 12 && that.view.zoom <= 14){
197713
+ if (that.yzDistance == 0||that.yzDistance == 2) {
197714
+
197715
+ that.yzDistance = 1
197716
+ that.getMeteorologicalLayer(true,that.yzDistance);
197717
+ }
197718
+ }else if(that.view.zoom > 14){
197719
+ if (that.yzDistance == 1||that.yzDistance == 2) {
197720
+
197721
+ that.yzDistance = 0
197722
+ that.getMeteorologicalLayer(true,that.yzDistance);
197723
+ }
197724
+ }
197725
+ });
197619
197726
  });
197620
197727
  },
197621
- getMeteorologicalLayer(update) {
197728
+ getMeteorologicalLayer(update, yzDistance) {
197622
197729
  Object(esri_loader["loadModules"])(["esri/Graphic"]).then(([Graphic]) => {
197730
+ let createPointGraphic = function (
197731
+ item,
197732
+ index,
197733
+ point,
197734
+ symbol,
197735
+ panduanValue
197736
+ ) {
197737
+ return new Graphic({
197738
+ attributes: {
197739
+ objId: index + 1,
197740
+ X: item.lon,
197741
+ Y: item.lat,
197742
+ opma_cliqu: "YG1",
197743
+ opma_manag: item.managerCorpId,
197744
+ opma_man_2: item.managerId,
197745
+ panduan: panduanValue,
197746
+ ...item,
197747
+ },
197748
+ geometry: point,
197749
+ symbol: symbol,
197750
+ });
197751
+ };
197752
+ let thinOutPoints = function(points, roadIds, skipNDeleteM) {
197753
+ const [n, m] = skipNDeleteM; // 解构赋值获取n和m
197754
+
197755
+ // 根据roadId对点位进行分组
197756
+ const groupedByRoad = roadIds.reduce((acc, roadId) => {
197757
+ acc[roadId] = points.filter(point => point.roadId === roadId);
197758
+ return acc;
197759
+ }, {});
197760
+
197761
+ // 对每个道路进行抽稀操作
197762
+ Object.keys(groupedByRoad).forEach(roadId => {
197763
+ let roadPoints = groupedByRoad[roadId];
197764
+
197765
+ if (roadPoints.length > n + m) { // 如果有足够的点应用指定的抽稀策略
197766
+ const thinnedPoints = [];
197767
+
197768
+ for(let i = 0; i < roadPoints.length; i += n + m) {
197769
+ thinnedPoints.push(roadPoints[i]); // 保留第i个点
197770
+
197771
+ // 自动跳过接下来的n个点并删除m个点
197772
+ }
197773
+
197774
+ groupedByRoad[roadId] = thinnedPoints;
197775
+ } else if (roadPoints.length > 1) { // 如果点数不足但大于1,则使用默认策略(隔一个删两个)
197776
+ const thinnedPoints = [];
197777
+
197778
+ for(let i = 0; i < roadPoints.length; i += 3) { // 隔一个删两个
197779
+ thinnedPoints.push(roadPoints[i]);
197780
+ }
197781
+
197782
+ groupedByRoad[roadId] = thinnedPoints;
197783
+ }
197784
+ // 如果只有一点或没有点,则无需进行任何处理
197785
+ });
197786
+
197787
+ // 将抽稀后的点重新组合成一个数组
197788
+ const thinnedPointsArray = Object.values(groupedByRoad).flat();
197789
+
197790
+ return thinnedPointsArray;
197791
+ }
197792
+ let filterAndMergePoints = function(thinnedArray, originalArray) {
197793
+ // 定义判断是否满足条件的函数
197794
+ const isSpecialPoint = (item) =>
197795
+ item.vis <= 500 ||
197796
+ item.pph === 3 ||
197797
+ ((item.pph === 1 || item.pph === 4) &&
197798
+ (item.preLevel === 5 || item.preLevel === 6 || item.preLevel === 7));
197799
+
197800
+ // 从抽稀后的数组中过滤掉满足条件的点
197801
+ const filteredThinnedArray = thinnedArray.filter(point => !isSpecialPoint(point));
197802
+
197803
+ // 从原数组中筛选出所有满足条件的点
197804
+ const specialPointsFromOriginal = originalArray.filter(isSpecialPoint);
197805
+
197806
+ // 将满足条件的点添加回抽稀后的数组
197807
+ const mergedArray = [...filteredThinnedArray, ...specialPointsFromOriginal];
197808
+
197809
+ return mergedArray;
197810
+ }
197623
197811
  axios_default()({
197624
197812
  method: "post",
197625
197813
  url: this.$GlobalConfig.localServerUrl + "get_weather_info",
197626
- // url: '/meteApi/api/weather_service/get_weather_info',
197627
197814
  data: {
197628
197815
  orgCode: "",
197629
197816
  managerId: "",
@@ -197634,8 +197821,22 @@ class echartsLayer_EchartsglLayer {
197634
197821
  forecastHour: "",
197635
197822
  },
197636
197823
  }).then((res) => {
197824
+ let originalArr = res.data.data
197637
197825
  let pointGraphicArr = [];
197638
- res.data.data.forEach((item, index) => {
197826
+ let uniqueRoadIds = [...new Set(originalArr.map(item => item.roadId))];
197827
+ let endArr = null
197828
+
197829
+ if (yzDistance == 0) {
197830
+ endArr = originalArr;
197831
+ }else if (yzDistance == 1) {
197832
+ let thinnedArr = thinOutPoints(originalArr, uniqueRoadIds,[1,1]);
197833
+ endArr = filterAndMergePoints(thinnedArr, originalArr)
197834
+ }
197835
+ else if (yzDistance == 2) {
197836
+ let thinnedArr = thinOutPoints(originalArr, uniqueRoadIds,[1,8]);
197837
+ endArr = filterAndMergePoints(thinnedArr, originalArr)
197838
+ }
197839
+ endArr.forEach((item, index) => {
197639
197840
  let point = {
197640
197841
  //点设置
197641
197842
  type: "point", //类型:点、线、面
@@ -197646,33 +197847,47 @@ class echartsLayer_EchartsglLayer {
197646
197847
  //点符号设置
197647
197848
  type: "simple-marker",
197648
197849
  color: [226, 119, 35], //符号颜色
197649
- size: 8,
197850
+ size: 30,
197650
197851
  outline: {
197651
197852
  //轮廓设置
197652
197853
  color: [0, 0, 0], //轮廓颜色
197653
- width: 1, //轮廓宽度
197854
+ width: 5, //轮廓宽度
197654
197855
  },
197655
197856
  // yoffset: (item.iconHeight || arr.height) / 2 + "px",
197656
197857
  };
197657
- let pointGraphic = new Graphic({
197658
- attributes: {
197659
- objId: index + 1,
197660
- X: item.lon,
197661
- Y: item.lat,
197662
- opma_cliqu: "YG1",
197663
- opma_manag: item.managerCorpId,
197664
- opma_man_2: item.managerId,
197665
- ...item,
197666
- // orgName:update&&(''+item.lng+item.lat) == "120.089870636.03720572"?item.orgName+'123':item.orgName,
197667
- },
197668
- geometry: point,
197669
- symbol: simpleMarkerSymbol,
197670
- });
197858
+ let pointGraphic = null;
197859
+ if (
197860
+ item.vis <= 500 ||
197861
+ item.pph === 3 ||
197862
+ ((item.pph === 1 || item.pph === 4) &&
197863
+ (item.preLevel === 5 ||
197864
+ item.preLevel === 6 ||
197865
+ item.preLevel === 7))
197866
+ ) {
197867
+ pointGraphic = createPointGraphic(
197868
+ item,
197869
+ index,
197870
+ point,
197871
+ simpleMarkerSymbol,
197872
+ "2"
197873
+ );
197874
+ } else {
197875
+ pointGraphic = createPointGraphic(
197876
+ item,
197877
+ index,
197878
+ point,
197879
+ simpleMarkerSymbol,
197880
+ "1"
197881
+ );
197882
+ }
197671
197883
  pointGraphicArr.push(pointGraphic);
197672
197884
  });
197673
197885
  if (update) {
197674
197886
  this.meteorologicaldataLayer.applyEdits({
197675
- updateFeatures: pointGraphicArr,
197887
+ deleteFeatures: this.pointGraphicArrCC,
197888
+ });
197889
+ this.meteorologicaldataLayer.applyEdits({
197890
+ addFeatures: pointGraphicArr,
197676
197891
  });
197677
197892
  if (
197678
197893
  this.$refs.infoWindowRef &&
@@ -197685,12 +197900,9 @@ class echartsLayer_EchartsglLayer {
197685
197900
  addFeatures: pointGraphicArr,
197686
197901
  });
197687
197902
  }
197688
- setTimeout(() => {
197689
- this.meteorologicaldataLayer.queryFeatureCount().then((res) => {
197690
- // console.log(res)
197691
- this.$set(this.tabListNumber, "meteorologicaldataLayer", res);
197692
- });
197693
- }, 3000);
197903
+ // this.meteorologicaldataLayer.refresh()
197904
+ this.pointGraphicArrCC = pointGraphicArr;
197905
+ this.$set(this.tabListNumber, "meteorologicaldataLayer", endArr.length);
197694
197906
  });
197695
197907
  });
197696
197908
  },
@@ -199529,7 +199741,7 @@ class echartsLayer_EchartsglLayer {
199529
199741
  {
199530
199742
  value: "2",
199531
199743
  symbol: Symbol2,
199532
- }
199744
+ },
199533
199745
  ],
199534
199746
  };
199535
199747
  var renderer = rendererJsonUtils.fromJSON(renderJson);
@@ -201262,7 +201474,7 @@ class echartsLayer_EchartsglLayer {
201262
201474
  }
201263
201475
  this.congestionLineLayer = new GraphicsLayer({
201264
201476
  id: "congestionLineLayer",
201265
- zIndex: 20
201477
+ zIndex: 20,
201266
201478
  });
201267
201479
  this.congestionLineLayer.visible = false;
201268
201480
  this.map.add(this.congestionLineLayer);
@@ -201274,7 +201486,7 @@ class echartsLayer_EchartsglLayer {
201274
201486
  }
201275
201487
  this.congestionPointLayer = new GraphicsLayer({
201276
201488
  id: "congestionPointLayer",
201277
- zIndex: 30
201489
+ zIndex: 30,
201278
201490
  });
201279
201491
  this.congestionPointLayer.visible = false;
201280
201492
  this.map.add(this.congestionPointLayer);
@@ -201285,18 +201497,21 @@ class echartsLayer_EchartsglLayer {
201285
201497
  this.congestionPointLayer.visible = false;
201286
201498
  },
201287
201499
  toCongestionPointLayer(data) {
201288
- Object(esri_loader["loadModules"])(["esri/Graphic","esri/geometry/Polyline","esri/symbols/SimpleLineSymbol","esri/Color"]).then(([Graphic, Polyline, SimpleLineSymbol, Color]) => {
201500
+ Object(esri_loader["loadModules"])([
201501
+ "esri/Graphic",
201502
+ "esri/geometry/Polyline",
201503
+ "esri/symbols/SimpleLineSymbol",
201504
+ "esri/Color",
201505
+ ]).then(([Graphic, Polyline, SimpleLineSymbol, Color]) => {
201289
201506
  let res = data;
201290
- let status = 0
201507
+ let status = 0;
201291
201508
  if (res) {
201292
201509
  if (this.congestionPointLayer) {
201293
201510
  this.congestionPointLayer.removeAll();
201294
- }
201295
- else if(this.congestionLineLayer){
201511
+ } else if (this.congestionLineLayer) {
201296
201512
  this.congestionLineLayer.removeAll();
201297
- }
201298
- else{
201299
- this.initCongestionPointLayer()
201513
+ } else {
201514
+ this.initCongestionPointLayer();
201300
201515
  }
201301
201516
  res.forEach((item, index) => {
201302
201517
  let imgUrl1 = this.dudian_sfz_img;
@@ -201306,10 +201521,10 @@ class echartsLayer_EchartsglLayer {
201306
201521
  type: "point",
201307
201522
  longitude: item.lng,
201308
201523
  latitude: item.lat,
201309
- }
201524
+ };
201310
201525
  let lineSymbol = new SimpleLineSymbol({
201311
201526
  color: new Color([255, 0, 0]),
201312
- width: 5
201527
+ width: 5,
201313
201528
  });
201314
201529
  let simpleMarkerSymbol1 = {
201315
201530
  type: "picture-marker",
@@ -201336,7 +201551,7 @@ class echartsLayer_EchartsglLayer {
201336
201551
  Y: Number(item.lat),
201337
201552
  ...item,
201338
201553
  },
201339
- geometry: point
201554
+ geometry: point,
201340
201555
  });
201341
201556
  if (item.holidays[0].positionType == "point") {
201342
201557
  pointGraphic.symbol = simpleMarkerSymbol3;
@@ -201344,18 +201559,18 @@ class echartsLayer_EchartsglLayer {
201344
201559
  status = 1;
201345
201560
 
201346
201561
  this.congestionLineLayer.visible = true;
201347
- let paths = item.polyLine.map(point => {
201562
+ let paths = item.polyLine.map((point) => {
201348
201563
  const [longitude, latitude] = point.split(",").map(Number);
201349
201564
  return [longitude, latitude];
201350
201565
  });
201351
201566
  let polyline = new Polyline({
201352
- paths: [paths]
201353
- })
201567
+ paths: [paths],
201568
+ });
201354
201569
  let polylineGraphic = new Graphic({
201355
201570
  geometry: polyline,
201356
- symbol: lineSymbol
201571
+ symbol: lineSymbol,
201357
201572
  });
201358
- this.congestionLineLayer.add(polylineGraphic)
201573
+ this.congestionLineLayer.add(polylineGraphic);
201359
201574
  }
201360
201575
  if (item.holidays[0].positionType == "station") {
201361
201576
  pointGraphic.symbol = simpleMarkerSymbol1;
@@ -201813,35 +202028,35 @@ class echartsLayer_EchartsglLayer {
201813
202028
  });
201814
202029
  },
201815
202030
  creatPieH() {
201816
- let dataArr = []
202031
+ let dataArr = [];
201817
202032
  for (var i = 0; i < 4; i++) {
201818
- if (i % 2 === 0) {
201819
- dataArr.push({
201820
- name: (i + 1).toString(),
201821
- value: 20,
201822
- itemStyle: {
201823
- normal: {
201824
- color: '#34B1FB',
201825
- borderWidth: 0,
201826
- borderColor: 'rgba(0,0,0,0)'
201827
- }
201828
- }
201829
- })
201830
- } else {
201831
- dataArr.push({
201832
- name: (i + 1).toString(),
201833
- value: 20,
201834
- itemStyle: {
201835
- normal: {
201836
- color: 'rgba(0,0,0,0)',
201837
- borderWidth: 0,
201838
- borderColor: 'rgba(0,0,0,0)'
201839
- }
201840
- }
201841
- })
201842
- }
202033
+ if (i % 2 === 0) {
202034
+ dataArr.push({
202035
+ name: (i + 1).toString(),
202036
+ value: 20,
202037
+ itemStyle: {
202038
+ normal: {
202039
+ color: "#34B1FB",
202040
+ borderWidth: 0,
202041
+ borderColor: "rgba(0,0,0,0)",
202042
+ },
202043
+ },
202044
+ });
202045
+ } else {
202046
+ dataArr.push({
202047
+ name: (i + 1).toString(),
202048
+ value: 20,
202049
+ itemStyle: {
202050
+ normal: {
202051
+ color: "rgba(0,0,0,0)",
202052
+ borderWidth: 0,
202053
+ borderColor: "rgba(0,0,0,0)",
202054
+ },
202055
+ },
202056
+ });
202057
+ }
201843
202058
  }
201844
- return dataArr
202059
+ return dataArr;
201845
202060
  },
201846
202061
  createEffectScatter(divId, newEnergy, size, cityName) {
201847
202062
  const chartDom = document.getElementById(divId);
@@ -201853,52 +202068,59 @@ class echartsLayer_EchartsglLayer {
201853
202068
  top: "center",
201854
202069
  textStyle: {
201855
202070
  fontSize: 14,
201856
- color: '#FFF'
201857
- }
202071
+ color: "#FFF",
202072
+ },
201858
202073
  },
201859
202074
  tooltip: {
201860
- trigger: 'item',
201861
- backgroundColor: 'rgba(0,0,0,0)', // 设置为透明
202075
+ trigger: "item",
202076
+ backgroundColor: "rgba(0,0,0,0)", // 设置为透明
201862
202077
  borderWidth: 0,
201863
202078
  textStyle: {
201864
- color: '#FFF'
201865
- },
201866
- position: 'top',
201867
- 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%;',
201868
- formatter: '{b}: 100%'
201869
- },
201870
- series: [{
201871
- name: '车辆类型',
201872
- type: 'pie',
201873
- itemStyle: {
201874
- borderRadius: 3,
201875
- borderColor: '#fff',
201876
- borderWidth: 0,
201877
- color: this.colorMap[cityName],
201878
- opacity: 0.8
201879
- },
201880
- label: {
201881
- show: false,
201882
202079
  color: "#FFF",
201883
- fontSize: 11,
201884
- position: 'center',//'inside',
201885
- formatter: '{a}' // 自定义标签格式
201886
202080
  },
201887
- labelLine: {
201888
- show: false
202081
+ position: "top",
202082
+ extraCssText:
202083
+ "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%;",
202084
+ formatter: "{b}: 100%",
202085
+ },
202086
+ series: [
202087
+ {
202088
+ name: "车辆类型",
202089
+ type: "pie",
202090
+ itemStyle: {
202091
+ borderRadius: 3,
202092
+ borderColor: "#fff",
202093
+ borderWidth: 0,
202094
+ color: this.colorMap[cityName],
202095
+ opacity: 0.8,
202096
+ },
202097
+ label: {
202098
+ show: false,
202099
+ color: "#FFF",
202100
+ fontSize: 11,
202101
+ position: "center", //'inside',
202102
+ formatter: "{a}", // 自定义标签格式
202103
+ },
202104
+ labelLine: {
202105
+ show: false,
202106
+ },
202107
+ data: [
202108
+ { value: newEnergy, name: "新能源车辆" }, // 只显示新能源车辆
202109
+ ],
201889
202110
  },
201890
- data: [
201891
- { value: newEnergy, name: '新能源车辆' } // 只显示新能源车辆
201892
- ]
201893
- }]
202111
+ ],
201894
202112
  };
201895
202113
  myChart.setOption(option);
201896
202114
  },
201897
- initScatterChartLayer(){
201898
- Object(esri_loader["loadModules"])(["esri/geometry/Point", "esri/Graphic", "esri/layers/GraphicsLayer"]).then(([Point,Graphic,GraphicsLayer]) => {
202115
+ initScatterChartLayer() {
202116
+ Object(esri_loader["loadModules"])([
202117
+ "esri/geometry/Point",
202118
+ "esri/Graphic",
202119
+ "esri/layers/GraphicsLayer",
202120
+ ]).then(([Point, Graphic, GraphicsLayer]) => {
201899
202121
  this.scatterChartLayer = new GraphicsLayer();
201900
202122
  this.map.add(this.scatterChartLayer);
201901
- this.cities.forEach(city => {
202123
+ this.cities.forEach((city) => {
201902
202124
  const point = new Point({ latitude: city.lat, longitude: city.lng });
201903
202125
  const graphic = new Graphic({
201904
202126
  geometry: point,
@@ -201908,16 +202130,16 @@ class echartsLayer_EchartsglLayer {
201908
202130
  size: 0,
201909
202131
  outline: {
201910
202132
  color: [255, 255, 255],
201911
- width: 1
201912
- }
201913
- }
202133
+ width: 1,
202134
+ },
202135
+ },
201914
202136
  });
201915
202137
  // 创建ECharts容器
201916
202138
  const divId = `chart-${city.name}`;
201917
- const chartDiv = document.createElement('div');
202139
+ const chartDiv = document.createElement("div");
201918
202140
  chartDiv.id = divId;
201919
- chartDiv.className = 'echarts-container';
201920
- document.getElementById('map').appendChild(chartDiv);
202141
+ chartDiv.className = "echarts-container";
202142
+ document.getElementById("map").appendChild(chartDiv);
201921
202143
  // 计算图表大小
201922
202144
  // 计算新能源车流量的最小值和最大值
201923
202145
  // const newEnergyValues = this.cities.map(item => item.newEnergy);
@@ -201926,7 +202148,13 @@ class echartsLayer_EchartsglLayer {
201926
202148
  // 计算图表大小
201927
202149
  const minSize = 80;
201928
202150
  const maxSize = 130;
201929
- 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))));
202151
+ const newSize =
202152
+ minSize +
202153
+ (maxSize - minSize) *
202154
+ ((city.newEnergy -
202155
+ Math.min(...this.cities.map((d) => d.newEnergy))) /
202156
+ (Math.max(...this.cities.map((d) => d.newEnergy)) -
202157
+ Math.min(...this.cities.map((d) => d.newEnergy))));
201930
202158
  chartDiv.style.width = `${newSize}px`;
201931
202159
  chartDiv.style.height = `${newSize}px`;
201932
202160
  // 初始化ECharts图表
@@ -201973,103 +202201,113 @@ class echartsLayer_EchartsglLayer {
201973
202201
  this.scatterChartLayer.add(graphic);
201974
202202
  this.chartElements.push(chartDiv);
201975
202203
  });
201976
-
201977
- })
202204
+ });
201978
202205
  },
201979
202206
 
201980
202207
  //所有气象设备分类图层
201981
- initAllWeatherLayer(){
202208
+ initAllWeatherLayer() {
201982
202209
  let data = {
201983
202210
  status: "1",
201984
- devicetype: ""
201985
- }
201986
- Object(esri_loader["loadModules"])(["esri/layers/GraphicsLayer",'esri/Graphic']).then(([GraphicsLayer,Graphic]) => {
201987
- this.allWeatherLayer = new GraphicsLayer({
201988
- id: 'allWeatherLayer',
201989
- });
201990
- this.allWeatherLayer.visible = false
201991
- this.map.add(this.allWeatherLayer)
201992
- const updateLayerData = () => {
201993
- this.allWeatherLayer.removeAll()
201994
- Object(apiNow["a" /* getAllWeatherList */])(data).then((res) => {
201995
- const getURLByValue = (devicetype, status) => {
201996
- let img_Url;
201997
- if (devicetype == '010') { //气象监测器
201998
- if(status == "1"){
201999
- img_Url = this.dev_meteorology_online
202000
- }else if(status == "2"){
202001
- img_Url = this.dev_meteorology_offline
202002
- }else{
202003
- img_Url = this.dev_meteorology_error
202004
- }
202005
- } else if (devicetype == '013') { //道路结冰监测装置
202006
- if(status == "1"){
202007
- img_Url = this.dev_icingDetection_online
202008
- }else if(status == "2"){
202009
- img_Url = this.dev_icingDetection_offline
202010
- }else{
202011
- img_Url = this.dev_icingDetection_error
202012
- }
202013
- } else if (devicetype == '020') { //CO/VI检测器
202014
- if(status == "1"){
202015
- img_Url = this.dev_coDetection_online
202016
- }else if(status == "2"){
202017
- img_Url = this.dev_coDetection_offline
202018
- }else{
202019
- img_Url = this.dev_coDetection_error
202020
- }
202021
- } else if (devicetype == '023') { //能见度检测器
202022
- if(status == "1"){
202023
- img_Url = this.dev_visibility_online
202024
- }else if(status == "2"){
202025
- img_Url = this.dev_visibility_offline
202026
- }else{
202027
- img_Url = this.dev_visibility_error
202028
- }
202029
- } else if (devicetype == '030') { //风速风向监测仪
202030
- if(status == "1"){
202031
- img_Url = this.dev_windDdirection_online
202032
- }else if(status == "2"){
202033
- img_Url = this.dev_windDdirection_offline
202034
- }else{
202035
- img_Url = this.dev_windDdirection_error
202211
+ devicetype: "",
202212
+ };
202213
+ Object(esri_loader["loadModules"])(["esri/layers/GraphicsLayer", "esri/Graphic"]).then(
202214
+ ([GraphicsLayer, Graphic]) => {
202215
+ this.allWeatherLayer = new GraphicsLayer({
202216
+ id: "allWeatherLayer",
202217
+ });
202218
+ this.allWeatherLayer.visible = false;
202219
+ this.map.add(this.allWeatherLayer);
202220
+ const updateLayerData = () => {
202221
+ this.allWeatherLayer.removeAll();
202222
+ Object(apiNow["a" /* getAllWeatherList */])(data).then((res) => {
202223
+ const getURLByValue = (devicetype, status) => {
202224
+ let img_Url;
202225
+ if (devicetype == "010") {
202226
+ //气象监测器
202227
+ if (status == "1") {
202228
+ img_Url = this.dev_meteorology_online;
202229
+ } else if (status == "2") {
202230
+ img_Url = this.dev_meteorology_offline;
202231
+ } else {
202232
+ img_Url = this.dev_meteorology_error;
202233
+ }
202234
+ } else if (devicetype == "013") {
202235
+ //道路结冰监测装置
202236
+ if (status == "1") {
202237
+ img_Url = this.dev_icingDetection_online;
202238
+ } else if (status == "2") {
202239
+ img_Url = this.dev_icingDetection_offline;
202240
+ } else {
202241
+ img_Url = this.dev_icingDetection_error;
202242
+ }
202243
+ } else if (devicetype == "020") {
202244
+ //CO/VI检测器
202245
+ if (status == "1") {
202246
+ img_Url = this.dev_coDetection_online;
202247
+ } else if (status == "2") {
202248
+ img_Url = this.dev_coDetection_offline;
202249
+ } else {
202250
+ img_Url = this.dev_coDetection_error;
202251
+ }
202252
+ } else if (devicetype == "023") {
202253
+ //能见度检测器
202254
+ if (status == "1") {
202255
+ img_Url = this.dev_visibility_online;
202256
+ } else if (status == "2") {
202257
+ img_Url = this.dev_visibility_offline;
202258
+ } else {
202259
+ img_Url = this.dev_visibility_error;
202260
+ }
202261
+ } else if (devicetype == "030") {
202262
+ //风速风向监测仪
202263
+ if (status == "1") {
202264
+ img_Url = this.dev_windDdirection_online;
202265
+ } else if (status == "2") {
202266
+ img_Url = this.dev_windDdirection_offline;
202267
+ } else {
202268
+ img_Url = this.dev_windDdirection_error;
202269
+ }
202036
202270
  }
202271
+ return img_Url;
202272
+ };
202273
+ if (res.data) {
202274
+ res.data.forEach((item, index) => {
202275
+ const img_Url = getURLByValue(item.deviceType, item.status);
202276
+ let point = {
202277
+ type: "point",
202278
+ longitude: Number(item.lng),
202279
+ latitude: Number(item.lat),
202280
+ };
202281
+ let simpleMarkerSymbol = {
202282
+ type: "picture-marker",
202283
+ url: img_Url,
202284
+ width: 35 * this.styleZoom + "px",
202285
+ height: 35 * this.styleZoom + "px",
202286
+ };
202287
+ let pointGraphic = new Graphic({
202288
+ attributes: {
202289
+ objId: index + 1,
202290
+ X: Number(item.lng),
202291
+ Y: Number(item.lat),
202292
+ ...item,
202293
+ },
202294
+ geometry: point,
202295
+ symbol: simpleMarkerSymbol,
202296
+ });
202297
+ this.allWeatherLayer.add(pointGraphic);
202298
+ });
202299
+ this.$set(
202300
+ this.tabListNumber,
202301
+ "allWeatherLayer",
202302
+ res.data.length
202303
+ );
202037
202304
  }
202038
- return img_Url
202039
- }
202040
- if(res.data){
202041
- res.data.forEach((item, index) => {
202042
- const img_Url = getURLByValue(item.deviceType, item.status)
202043
- let point = {
202044
- type: 'point',
202045
- longitude: Number(item.lng),
202046
- latitude: Number(item.lat),
202047
- }
202048
- let simpleMarkerSymbol = {
202049
- type: "picture-marker",
202050
- url: img_Url,
202051
- width: 35 * this.styleZoom + "px",
202052
- height: 35 * this.styleZoom + "px",
202053
- };
202054
- let pointGraphic = new Graphic({
202055
- attributes: {
202056
- objId: index + 1,
202057
- X: Number(item.lng),
202058
- Y: Number(item.lat),
202059
- ...item,
202060
- },
202061
- geometry: point,
202062
- symbol: simpleMarkerSymbol
202063
- })
202064
- this.allWeatherLayer.add(pointGraphic)
202065
- })
202066
- this.$set(this.tabListNumber, "allWeatherLayer", res.data.length);
202067
- }
202068
- })
202305
+ });
202306
+ };
202307
+ updateLayerData();
202308
+ setInterval(updateLayerData, 20 * 60 * 1000);
202069
202309
  }
202070
- updateLayerData();
202071
- setInterval(updateLayerData, 20 * 60 * 1000);
202072
- })
202310
+ );
202073
202311
  },
202074
202312
 
202075
202313
  // 外部图表联动饼图图层
@@ -202079,119 +202317,124 @@ class echartsLayer_EchartsglLayer {
202079
202317
  const option = {
202080
202318
  title: {
202081
202319
  text: CityName,
202082
- bottom: 'bottom',
202320
+ bottom: "bottom",
202083
202321
  textStyle: {
202084
202322
  fontSize: 13,
202085
202323
  color: "rgba(255, 255, 255, 1)",
202086
- fontFamily: "serif"
202324
+ fontFamily: "serif",
202087
202325
  },
202088
- left: 'center'
202326
+ left: "center",
202089
202327
  },
202090
202328
  tooltip: {
202091
- trigger: 'item',
202092
- backgroundColor: 'rgba(0,0,0,0)',
202329
+ trigger: "item",
202330
+ backgroundColor: "rgba(0,0,0,0)",
202093
202331
  borderWidth: 0,
202094
202332
  textStyle: {
202095
- color: '#FFF'
202333
+ color: "#FFF",
202096
202334
  },
202097
- position: 'top',
202098
- 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%;',
202335
+ position: "top",
202336
+ extraCssText:
202337
+ "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%;",
202099
202338
  formatter: function (params) {
202100
202339
  const color = params.color;
202101
- const percent = (params.value / total * 100).toFixed(2);
202340
+ const percent = ((params.value / total) * 100).toFixed(2);
202102
202341
  return `<div style="font-size:13px;display: flex; align-items: center;justify-content: center;margin-top: -0.01rem;">
202103
202342
  <span style="display: inline-block;width: 0.05rem; height: 0.05rem; background-color: ${color};border-radius:1rem"></span>
202104
202343
  <span style="margin-left: 5px;">${params.name} :&nbsp</span><span style="font-weight: bold;color: ${color}"> ${percent}%</span>
202105
202344
  </div>`;
202106
- }
202345
+ },
202107
202346
  },
202108
202347
  series: [
202109
202348
  {
202110
- name: '车辆类型',
202111
- type: 'pie',
202112
- radius: '65%',
202349
+ name: "车辆类型",
202350
+ type: "pie",
202351
+ radius: "65%",
202113
202352
  itemStyle: {
202114
- borderColor: 'RGBA(14, 54, 99, .8)',
202115
- borderWidth: 2
202353
+ borderColor: "RGBA(14, 54, 99, .8)",
202354
+ borderWidth: 2,
202116
202355
  },
202117
202356
  label: {
202118
202357
  show: false,
202119
202358
  color: "#FFF",
202120
202359
  fontSize: 11,
202121
- position: 'inside',//'inside',
202122
- formatter: '{b}\n{d}%'
202360
+ position: "inside", //'inside',
202361
+ formatter: "{b}\n{d}%",
202123
202362
  },
202124
202363
  labelLine: {
202125
- show: false
202364
+ show: false,
202126
202365
  },
202127
- data: [
202128
- {
202129
- value: total - newEnergy,
202130
- name: '其它车辆',
202131
- label: {
202132
- show: false
202366
+ data: [
202367
+ {
202368
+ value: total - newEnergy,
202369
+ name: "其它车辆",
202370
+ label: {
202371
+ show: false,
202372
+ },
202373
+ itemStyle: {
202374
+ color: "#0179FF",
202133
202375
  },
202134
- itemStyle:{
202135
- color: '#0179FF'
202136
- }
202137
202376
  },
202138
- {
202139
- value: newEnergy,
202140
- name: '新能源车辆',
202141
- label: {
202142
- show: false // 新能源车辆不显示标签
202377
+ {
202378
+ value: newEnergy,
202379
+ name: "新能源车辆",
202380
+ label: {
202381
+ show: false, // 新能源车辆不显示标签
202143
202382
  },
202144
- itemStyle:{
202145
- color: '#10D490'
202146
- }
202147
- }
202148
- ]
202383
+ itemStyle: {
202384
+ color: "#10D490",
202385
+ },
202386
+ },
202387
+ ],
202149
202388
  },
202150
202389
  {
202151
- type: 'pie',
202390
+ type: "pie",
202152
202391
  zlevel: 2,
202153
202392
  silent: true,
202154
- center: ['50%', '50%'],
202155
- radius: ['83%', '88%'],
202393
+ center: ["50%", "50%"],
202394
+ radius: ["83%", "88%"],
202156
202395
  startAngle: 45,
202157
202396
  label: {
202158
- normal: {
202159
- show: false
202160
- }
202397
+ normal: {
202398
+ show: false,
202399
+ },
202161
202400
  },
202162
202401
  labelLine: {
202163
- normal: {
202164
- show: false
202165
- }
202402
+ normal: {
202403
+ show: false,
202404
+ },
202166
202405
  },
202167
- data: this.creatPieH()
202406
+ data: this.creatPieH(),
202168
202407
  },
202169
202408
  {
202170
- type: 'pie',
202171
- radius: '83%',
202172
- center: ['50%', '50%'],
202409
+ type: "pie",
202410
+ radius: "83%",
202411
+ center: ["50%", "50%"],
202173
202412
  z: 0,
202174
202413
  silent: true,
202175
202414
  itemStyle: {
202176
- normal: {
202177
- color: 'RGBA(14, 44, 81, 0.6)'
202178
- }
202415
+ normal: {
202416
+ color: "RGBA(14, 44, 81, 0.6)",
202417
+ },
202179
202418
  },
202180
202419
  hoverAnimation: false,
202181
- data: [100]
202182
- }
202183
- ]
202420
+ data: [100],
202421
+ },
202422
+ ],
202184
202423
  };
202185
202424
  myChart.setOption(option);
202186
202425
  },
202187
- initPieChartLayer(chartData, ispPercent){
202188
- Object(esri_loader["loadModules"])(["esri/geometry/Point", "esri/Graphic", "esri/layers/GraphicsLayer"]).then(([Point,Graphic,GraphicsLayer]) => {
202189
- this.pieChartLayer = new GraphicsLayer({id:'pieChartLayer'});
202426
+ initPieChartLayer(chartData, ispPercent) {
202427
+ Object(esri_loader["loadModules"])([
202428
+ "esri/geometry/Point",
202429
+ "esri/Graphic",
202430
+ "esri/layers/GraphicsLayer",
202431
+ ]).then(([Point, Graphic, GraphicsLayer]) => {
202432
+ this.pieChartLayer = new GraphicsLayer({ id: "pieChartLayer" });
202190
202433
  this.map.add(this.pieChartLayer);
202191
- const newEnergyValues = chartData.map(item => item.newEnergy);
202434
+ const newEnergyValues = chartData.map((item) => item.newEnergy);
202192
202435
  const minNewEnergy = Math.min(...newEnergyValues);
202193
202436
  const maxNewEnergy = Math.max(...newEnergyValues);
202194
- chartData.forEach(city => {
202437
+ chartData.forEach((city) => {
202195
202438
  const point = new Point({ latitude: city.lat, longitude: city.lng });
202196
202439
  const graphic = new Graphic({
202197
202440
  geometry: point,
@@ -202201,25 +202444,31 @@ class echartsLayer_EchartsglLayer {
202201
202444
  size: 0,
202202
202445
  outline: {
202203
202446
  color: [255, 255, 255],
202204
- width: 1
202205
- }
202206
- }
202447
+ width: 1,
202448
+ },
202449
+ },
202207
202450
  });
202208
202451
  const divId = `chart-${city.name}`;
202209
- const chartDiv = document.createElement('div');
202452
+ const chartDiv = document.createElement("div");
202210
202453
  chartDiv.id = divId;
202211
- chartDiv.className = 'echarts-container';
202212
- document.getElementById('map').appendChild(chartDiv);
202454
+ chartDiv.className = "echarts-container";
202455
+ document.getElementById("map").appendChild(chartDiv);
202213
202456
  const minSize = 60;
202214
202457
  const maxSize = 110;
202215
202458
  const baseSize = 80;
202216
202459
  let newSize = 80;
202217
- if(ispPercent === 0){
202218
- newSize = minSize + (maxSize - minSize) * (city.newEnergy - minNewEnergy) / (maxNewEnergy - minNewEnergy);
202219
- }else if(ispPercent === 1){
202220
- newSize = baseSize
202221
- }else{
202222
- newSize = minSize + (maxSize - minSize) * (city.newEnergy - minNewEnergy) / (maxNewEnergy - minNewEnergy);
202460
+ if (ispPercent === 0) {
202461
+ newSize =
202462
+ minSize +
202463
+ ((maxSize - minSize) * (city.newEnergy - minNewEnergy)) /
202464
+ (maxNewEnergy - minNewEnergy);
202465
+ } else if (ispPercent === 1) {
202466
+ newSize = baseSize;
202467
+ } else {
202468
+ newSize =
202469
+ minSize +
202470
+ ((maxSize - minSize) * (city.newEnergy - minNewEnergy)) /
202471
+ (maxNewEnergy - minNewEnergy);
202223
202472
  }
202224
202473
  chartDiv.style.width = `${newSize}px`;
202225
202474
  chartDiv.style.height = `${newSize}px`;
@@ -202258,20 +202507,20 @@ class echartsLayer_EchartsglLayer {
202258
202507
  this.pieChartLayer.add(graphic);
202259
202508
  this.chartElements.push(chartDiv);
202260
202509
  });
202261
- })
202510
+ });
202262
202511
  },
202263
202512
  removePieChartLayer() {
202264
- this.chartElements.forEach(chartDiv => {
202265
- document.getElementById('map').removeChild(chartDiv);
202266
- })
202267
- this.chartElements = []
202268
- if(this.pieChartLayer) {
202269
- this.pieChartLayer.removeAll()
202270
- this.map.remove(this.pieChartLayer)
202513
+ this.chartElements.forEach((chartDiv) => {
202514
+ document.getElementById("map").removeChild(chartDiv);
202515
+ });
202516
+ this.chartElements = [];
202517
+ if (this.pieChartLayer) {
202518
+ this.pieChartLayer.removeAll();
202519
+ this.map.remove(this.pieChartLayer);
202271
202520
  }
202272
202521
  },
202273
202522
  //新能源车辆图层
202274
- initNevsstationflowsumLayer(){
202523
+ initNevsstationflowsumLayer() {
202275
202524
  Object(esri_loader["loadModules"])(["esri/layers/GraphicsLayer"]).then(([GraphicsLayer]) => {
202276
202525
  if (this.nevsstationflowLayer) {
202277
202526
  this.nevsstationflowLayer.removeAll();
@@ -202279,62 +202528,66 @@ class echartsLayer_EchartsglLayer {
202279
202528
  this.nevsstationflowLayer = null;
202280
202529
  }
202281
202530
  this.nevsstationflowLayer = new GraphicsLayer({
202282
- id: "nevsstationflowLayer"
202531
+ id: "nevsstationflowLayer",
202283
202532
  });
202284
202533
  this.nevsstationflowLayer.visible = false;
202285
202534
  this.map.add(this.nevsstationflowLayer);
202286
- this.toNevsstationflowsumLayer()
202287
- })
202535
+ this.toNevsstationflowsumLayer();
202536
+ });
202288
202537
  },
202289
- toNevsstationflowsumLayer(){
202538
+ toNevsstationflowsumLayer() {
202290
202539
  Object(esri_loader["loadModules"])(["esri/Graphic"]).then(([Graphic]) => {
202291
202540
  let data = {
202292
- sysid: 'sdgs_it_brain',
202293
- service_code: 'ts_a_d_nevsstationflowsum'
202294
- }
202541
+ sysid: "sdgs_it_brain",
202542
+ service_code: "ts_a_d_nevsstationflowsum",
202543
+ };
202295
202544
  Object(apiNow["j" /* getNevsstationflowsum */])(data).then((res) => {
202296
202545
  const colorMap = [
202297
- '#f01329', '#f08513', '#f0da13', '#1317f0', '#13e5f0','#3FD7FE'
202546
+ "#f01329",
202547
+ "#f08513",
202548
+ "#f0da13",
202549
+ "#1317f0",
202550
+ "#13e5f0",
202551
+ "#3FD7FE",
202298
202552
  ];
202299
202553
  const getColorByValue = (value) => {
202300
202554
  let color;
202301
202555
  let size;
202302
202556
  if (value > 5000) {
202303
- color = colorMap[0];
202304
- size = 22;
202557
+ color = colorMap[0];
202558
+ size = 22;
202305
202559
  } else if (value >= 4000) {
202306
- color = colorMap[1];
202307
- size = 19;
202560
+ color = colorMap[1];
202561
+ size = 19;
202308
202562
  } else if (value >= 3000) {
202309
- color = colorMap[2];
202310
- size = 16;
202563
+ color = colorMap[2];
202564
+ size = 16;
202311
202565
  } else if (value >= 2000) {
202312
- color = colorMap[3];
202313
- size = 13;
202566
+ color = colorMap[3];
202567
+ size = 13;
202314
202568
  } else {
202315
- color = colorMap[4];
202316
- size = 10;
202569
+ color = colorMap[4];
202570
+ size = 10;
202317
202571
  }
202318
-
202319
202572
  return { color, size };
202320
- }
202573
+ };
202321
202574
  res.sort((a, b) => a.total_flow_nevs - b.total_flow_nevs);
202322
202575
  res.forEach((item, index) => {
202323
- const { color, size } = getColorByValue(item.total_flow_nevs)
202576
+ const { color, size } = getColorByValue(item.total_flow_nevs);
202324
202577
  let point = {
202325
- type: 'point',
202326
- longitude: item.lng,
202578
+ type: "point",
202579
+ longitude: item.lng,
202327
202580
  latitude: item.lat,
202328
- }
202581
+ };
202329
202582
  let simpleMarkerSymbol = {
202330
202583
  type: "simple-marker",
202331
202584
  style: "circle",
202332
- color: this.hexToRgba(color,0.8),
202333
- size: size,
202585
+ color: this.hexToRgba(color, 0.8),
202586
+ size: size,
202334
202587
  outline: {
202335
- width: 0
202336
- }
202337
- }
202588
+ width: 0,
202589
+ },
202590
+ };
202338
202591
  let pointGraphic = new Graphic({
202339
202592
  attributes: {
202340
202593
  objId: index + 1,
@@ -202343,26 +202596,26 @@ class echartsLayer_EchartsglLayer {
202343
202596
  ...item,
202344
202597
  },
202345
202598
  geometry: point,
202346
- symbol: simpleMarkerSymbol
202347
- })
202348
- this.nevsstationflowLayer.add(pointGraphic)
202349
- })
202350
- })
202351
- })
202599
+ symbol: simpleMarkerSymbol,
202600
+ });
202601
+ this.nevsstationflowLayer.add(pointGraphic);
202602
+ });
202603
+ });
202604
+ });
202352
202605
  },
202353
- removeNevsstationflowLayer(){
202354
- if(this.nevsstationflowLayer){
202355
- this.nevsstationflowLayer.removeAll()
202606
+ removeNevsstationflowLayer() {
202607
+ if (this.nevsstationflowLayer) {
202608
+ this.nevsstationflowLayer.removeAll();
202356
202609
  }
202357
202610
  },
202358
202611
  hexToRgba(hex, alpha = 1) {
202359
- hex = hex.replace(/^#/, '');
202612
+ hex = hex.replace(/^#/, "");
202360
202613
  let bigint = parseInt(hex, 16);
202361
202614
  let r = (bigint >> 16) & 255;
202362
202615
  let g = (bigint >> 8) & 255;
202363
202616
  let b = bigint & 255;
202364
202617
  return [r, g, b, alpha]; // 返回带有alpha通道的RGBA格式颜色数组
202365
- }
202618
+ },
202366
202619
  },
202367
202620
  });
202368
202621
 
@@ -202378,15 +202631,15 @@ class echartsLayer_EchartsglLayer {
202378
202631
  isCarPause: false,
202379
202632
  carSpeed: 1,
202380
202633
  layerListSql: {}, //图层Sql字典 用来判断重置的时候值重置右侧树或者获取自己添加的sql
202381
- organizationSql: ['opma_cliqu', 'opma_manag', 'opma_man_2'],
202382
- }
202634
+ organizationSql: ["opma_cliqu", "opma_manag", "opma_man_2"],
202635
+ };
202383
202636
  },
202384
202637
  methods: {
202385
202638
  // 车辆轨迹回放
202386
202639
  carPlayback(list) {
202387
- this.carPause()
202388
- this.closePopup()
202389
- this.delLayerArr(['carPlayback'], true)
202640
+ this.carPause();
202641
+ this.closePopup();
202642
+ this.delLayerArr(["carPlayback"], true);
202390
202643
  this.carSpeed = 1;
202391
202644
  this.isCarPlay = false;
202392
202645
  this.isCarPause = false;
@@ -202402,71 +202655,87 @@ class echartsLayer_EchartsglLayer {
202402
202655
  },
202403
202656
  opts
202404
202657
  );
202405
- if (Reflect.has(list[0], 'iscloudH')) {
202406
- this.addTrackPlayback({
202407
- longitude: list[0].gaoDeLng, //初始车辆位置 经度
202408
- latitude: list[0].gaoDeLat, //初始车辆位置 纬度
202409
- icon: this.cloudHelmet_img,
202410
- width: '35',
202411
- height: '35'
202412
- }, {
202413
- width: 2,
202414
- color: [255, 255, 255],
202415
- xyArr: [list.map(item => [item.gaoDeLng, item.gaoDeLat])]
202416
- }, 'carPlayback', 50)
202417
- }else{
202418
- this.addTrackPlayback({
202419
- longitude: list[0].gaoDeLng, //初始车辆位置 经度
202420
- latitude: list[0].gaoDeLat, //初始车辆位置 纬度
202421
- icon: this.patrolAccident_img,
202422
- width: '35',
202423
- height: '35'
202424
- }, {
202425
- width: 2,
202426
- color: [255, 255, 255],
202427
- xyArr: [list.map(item => [item.gaoDeLng, item.gaoDeLat])]
202428
- }, 'carPlayback', 50)
202658
+ if (Reflect.has(list[0], "iscloudH")) {
202659
+ this.addTrackPlayback(
202660
+ {
202661
+ longitude: list[0].gaoDeLng, //初始车辆位置 经度
202662
+ latitude: list[0].gaoDeLat, //初始车辆位置 纬度
202663
+ icon: this.cloudHelmet_img,
202664
+ width: "35",
202665
+ height: "35",
202666
+ },
202667
+ {
202668
+ width: 2,
202669
+ color: [255, 255, 255],
202670
+ xyArr: [list.map((item) => [item.gaoDeLng, item.gaoDeLat])],
202671
+ },
202672
+ "carPlayback",
202673
+ 50
202674
+ );
202675
+ } else {
202676
+ this.addTrackPlayback(
202677
+ {
202678
+ longitude: list[0].gaoDeLng, //初始车辆位置 经度
202679
+ latitude: list[0].gaoDeLat, //初始车辆位置 纬度
202680
+ icon: this.patrolAccident_img,
202681
+ width: "35",
202682
+ height: "35",
202683
+ },
202684
+ {
202685
+ width: 2,
202686
+ color: [255, 255, 255],
202687
+ xyArr: [list.map((item) => [item.gaoDeLng, item.gaoDeLat])],
202688
+ },
202689
+ "carPlayback",
202690
+ 50
202691
+ );
202429
202692
  }
202430
-
202431
202693
  },
202432
202694
  playbackCarBtn(name) {
202433
- if (name == '播放') {
202695
+ if (name == "播放") {
202434
202696
  this.isCarPlay = true;
202435
- this.carStart()
202436
- } else if (name == '暂停') {
202697
+ this.carStart();
202698
+ } else if (name == "暂停") {
202437
202699
  this.isCarPause = true;
202438
- this.carPause()
202439
- } else if (name == '继续') {
202700
+ this.carPause();
202701
+ } else if (name == "继续") {
202440
202702
  this.isCarPause = false;
202441
- this.carContinue()
202703
+ this.carContinue();
202442
202704
  }
202443
202705
  },
202444
- playbackCarStart() { //车辆轨迹回放开始
202706
+ playbackCarStart() {
202707
+ //车辆轨迹回放开始
202445
202708
  this.isCarPlay = true;
202446
202709
  this.isCarPause = false;
202447
- this.sliderindex = 0
202448
- this.carStart()
202710
+ this.sliderindex = 0;
202711
+ this.carStart();
202449
202712
  },
202450
- playbackSetCarSpeed(num) { //车辆轨迹回放设置速度
202451
- this.setCarSpeed(num * 50)
202713
+ playbackSetCarSpeed(num) {
202714
+ //车辆轨迹回放设置速度
202715
+ this.setCarSpeed(num * 50);
202452
202716
  },
202453
- carDel() { //清除车辆
202454
- this.carPause()
202455
- this.delLayerArr(['carPlayback'], true)
202717
+ carDel() {
202718
+ //清除车辆
202719
+ this.carPause();
202720
+ this.delLayerArr(["carPlayback"], true);
202456
202721
  },
202457
202722
  carBack() {
202458
202723
  this.patrolAccidentLayer_btn_show = false;
202459
- this.sliderindex = 0
202460
- this.carPause()
202461
- this.delLayerArr(['carPlayback'], true)
202724
+ this.sliderindex = 0;
202725
+ this.carPause();
202726
+ this.delLayerArr(["carPlayback"], true);
202462
202727
  },
202463
202728
  /*自定义打点提示框相关*/
202464
202729
  showPointPopup(event) {
202465
- let that = this
202466
- let { latitude, longitude, attributes } = event
202467
- that.$emit('PTCoordinates', { latitude, longitude })
202468
- that.closeTooltip()
202469
- that.openPopupByattr('pointLayer', { X: longitude, Y: latitude, ...attributes })
202730
+ let that = this;
202731
+ let { latitude, longitude, attributes } = event;
202732
+ that.$emit("PTCoordinates", { latitude, longitude });
202733
+ that.closeTooltip();
202734
+ that.openPopupByattr("pointLayer", {
202735
+ X: longitude,
202736
+ Y: latitude,
202737
+ ...attributes,
202738
+ });
202470
202739
  },
202471
202740
  /*
202472
202741
  * 地图工具类
@@ -202475,37 +202744,40 @@ class echartsLayer_EchartsglLayer {
202475
202744
  var mercator = {
202476
202745
  x: 0,
202477
202746
  y: 0,
202478
- }
202479
- var x = (lonlat.x * 20037508.34) / 180
202480
- var y = Math.log(Math.tan(((90 + lonlat.y) * Math.PI) / 360)) / (Math.PI / 180)
202481
- y = (y * 20037508.34) / 180
202482
- mercator.x = x
202483
- mercator.y = y
202484
- return mercator
202747
+ };
202748
+ var x = (lonlat.x * 20037508.34) / 180;
202749
+ var y =
202750
+ Math.log(Math.tan(((90 + lonlat.y) * Math.PI) / 360)) / (Math.PI / 180);
202751
+ y = (y * 20037508.34) / 180;
202752
+ mercator.x = x;
202753
+ mercator.y = y;
202754
+ return mercator;
202485
202755
  },
202486
202756
  mercator2lonlat(mercator) {
202487
202757
  var lonlat = {
202488
202758
  x: 0,
202489
202759
  y: 0,
202490
- }
202491
- var x = (mercator.x / 20037508.34) * 180
202492
- var y = (mercator.y / 20037508.34) * 180
202493
- y = (180 / Math.PI) * (2 * Math.atan(Math.exp((y * Math.PI) / 180)) - Math.PI / 2)
202494
- lonlat.x = x
202495
- lonlat.y = y
202496
- return lonlat
202760
+ };
202761
+ var x = (mercator.x / 20037508.34) * 180;
202762
+ var y = (mercator.y / 20037508.34) * 180;
202763
+ y =
202764
+ (180 / Math.PI) *
202765
+ (2 * Math.atan(Math.exp((y * Math.PI) / 180)) - Math.PI / 2);
202766
+ lonlat.x = x;
202767
+ lonlat.y = y;
202768
+ return lonlat;
202497
202769
  },
202498
202770
  // 关闭弹窗
202499
202771
  closePopup() {
202500
202772
  // let test = document.getElementById('popupBox')
202501
202773
  // test.style.display = 'none'
202502
- this.popupBoxShow = false
202503
- this.$emit('closePopupBack')
202774
+ this.popupBoxShow = false;
202775
+ this.$emit("closePopupBack");
202504
202776
  // 关闭高亮线
202505
202777
  if (this.map) {
202506
- let layer = this.map.findLayerById('roadLine-HighLight')
202778
+ let layer = this.map.findLayerById("roadLine-HighLight");
202507
202779
  if (layer) {
202508
- this.map.remove(layer)
202780
+ this.map.remove(layer);
202509
202781
  }
202510
202782
  }
202511
202783
  if (this.$refs.infoWindowRef) {
@@ -202516,24 +202788,25 @@ class echartsLayer_EchartsglLayer {
202516
202788
  this.$refs.infoWindowRef.clearTime()
202517
202789
  } */
202518
202790
  if (this.$refs.infoWindowRef.destroyFlv) {
202519
- this.$refs.infoWindowRef.destroyFlv()
202791
+ this.$refs.infoWindowRef.destroyFlv();
202520
202792
  }
202521
202793
  if (this.$refs.infoWindowRef.showImg) {
202522
- this.$refs.infoWindowRef.showImg()
202794
+ this.$refs.infoWindowRef.showImg();
202523
202795
  }
202524
- this.$refs.infoWindowRef.isPTZCheck = false
202796
+ this.$refs.infoWindowRef.isPTZCheck = false;
202525
202797
  }
202526
- if (this.popupName === 'latlonAndpile' || this.popupName === 'latlonAndpile_danao') {
202798
+ if (
202799
+ this.popupName === "latlonAndpile" ||
202800
+ this.popupName === "latlonAndpile_danao"
202801
+ ) {
202527
202802
  if (this.graphicsLayer_lat) {
202528
202803
  this.graphicsLayer_lat.removeAll();
202529
- let toolbar = this.toolbar.find(
202530
- (item) => item.id == "weight_latlon"
202531
- );
202804
+ let toolbar = this.toolbar.find((item) => item.id == "weight_latlon");
202532
202805
  this.weight_topile_D = toolbar.imgUrl;
202533
202806
  this.latlon_btn_checked = !this.latlon_btn_checked;
202534
202807
  }
202535
202808
  }
202536
- if (this.popupName === 'roadCameraPreset') {
202809
+ if (this.popupName === "roadCameraPreset") {
202537
202810
  if (this.graphicsLayer_video) {
202538
202811
  this.graphicsLayer_video.removeAll();
202539
202812
  /* let toolbar = this.toolbar.find(
@@ -202547,96 +202820,113 @@ class echartsLayer_EchartsglLayer {
202547
202820
  //关闭提示框
202548
202821
  closeTooltip() {
202549
202822
  if (!this.gisTooltipMouseover) {
202550
- let test = document.getElementById('gisTooltipBox')
202551
- test.style.display = 'none'
202823
+ let test = document.getElementById("gisTooltipBox");
202824
+ test.style.display = "none";
202552
202825
  }
202553
202826
  },
202554
202827
  //实时--- 高德路况用
202555
202828
  getLongTime() {
202556
- let nowDate = new Date()
202557
- let year = nowDate.getFullYear()
202558
- let month = nowDate.getMonth() + 1
202559
- let today = nowDate.getDate()
202560
- let hours = nowDate.getHours()
202561
- let minutes = nowDate.getMinutes()
202562
- let seconds = nowDate.getSeconds()
202829
+ let nowDate = new Date();
202830
+ let year = nowDate.getFullYear();
202831
+ let month = nowDate.getMonth() + 1;
202832
+ let today = nowDate.getDate();
202833
+ let hours = nowDate.getHours();
202834
+ let minutes = nowDate.getMinutes();
202835
+ let seconds = nowDate.getSeconds();
202563
202836
  if (month >= 1 && month <= 9) {
202564
- month = '0' + month
202837
+ month = "0" + month;
202565
202838
  }
202566
202839
  if (today >= 1 && today <= 9) {
202567
- today = '0' + today
202840
+ today = "0" + today;
202568
202841
  }
202569
- let currentdate = year + '-' + month + '-' + today + ' ' + hours + ':' + minutes + ':' + seconds
202570
- let longTime = new Date(currentdate.replace(new RegExp('-', 'gm'), '/')).getTime()
202571
- return longTime
202842
+ let currentdate =
202843
+ year +
202844
+ "-" +
202845
+ month +
202846
+ "-" +
202847
+ today +
202848
+ " " +
202849
+ hours +
202850
+ ":" +
202851
+ minutes +
202852
+ ":" +
202853
+ seconds;
202854
+ let longTime = new Date(
202855
+ currentdate.replace(new RegExp("-", "gm"), "/")
202856
+ ).getTime();
202857
+ return longTime;
202572
202858
  },
202573
202859
  /*
202574
202860
  * 获取url请求前缀
202575
202861
  */
202576
202862
  getRequestPrefix() {
202577
202863
  // 获取网络协议
202578
- var protocol = window.location.protocol
202864
+ var protocol = window.location.protocol;
202579
202865
  // 获取主机名+端口号
202580
- var domainPort = window.location.host
202866
+ var domainPort = window.location.host;
202581
202867
  // 获取发布项目的名称
202582
202868
  // 获取路径
202583
- var url = window.location.pathname
202584
- var webApp = url.split('/')[1]
202585
- var urlPrefix = protocol + '//' + domainPort + '/' + webApp
202586
- return urlPrefix
202869
+ var url = window.location.pathname;
202870
+ var webApp = url.split("/")[1];
202871
+ var urlPrefix = protocol + "//" + domainPort + "/" + webApp;
202872
+ return urlPrefix;
202587
202873
  },
202588
202874
  /* 2X */
202589
202875
  // 视频2X
202590
202876
  videoDoubleClick(videoUrl) {
202591
- this.videodoubleXclick = true
202592
- this.imgdoubleXclick = false
202877
+ this.videodoubleXclick = true;
202878
+ this.imgdoubleXclick = false;
202593
202879
  if (flv_default.a.isSupported()) {
202594
202880
  if (this.doubleflvPlayer === null) {
202595
- const doublevideoElement = document.getElementById('doublevideoElement')
202596
- this.doubleflvPlayer = flv_default.a.createPlayer({
202597
- type: 'flv',
202598
- url: videoUrl,
202599
- }, {
202600
- enableWorker: false,//不启用分离线程
202601
- autoCleanupSourceBuffer: true, //对SourceBuffer进行自动清理缓存
202602
- //autoCleanupMaxBackwardDuration: 10, //当向后缓冲区持续时间超过此值(以秒为单位)时,请对SourceBuffer进行自动清理
202603
- //autoCleanupMinBackwardDuration: 30, //指示进行自动清除时为反向缓冲区保留的持续时间(以秒为单位)。
202604
- enableStashBuffer: false, //关闭IO隐藏缓冲区
202605
- stashInitialSize: 128, //减少首帧显示等待时长
202606
- })
202607
- this.doubleflvPlayer.attachMediaElement(doublevideoElement)
202608
- this.doubleflvPlayer.load()
202609
- this.doubleflvPlayer.play()
202610
- console.log('2X流已开启***')
202881
+ const doublevideoElement =
202882
+ document.getElementById("doublevideoElement");
202883
+ this.doubleflvPlayer = flv_default.a.createPlayer(
202884
+ {
202885
+ type: "flv",
202886
+ url: videoUrl,
202887
+ },
202888
+ {
202889
+ enableWorker: false, //不启用分离线程
202890
+ autoCleanupSourceBuffer: true, //对SourceBuffer进行自动清理缓存
202891
+ //autoCleanupMaxBackwardDuration: 10, //当向后缓冲区持续时间超过此值(以秒为单位)时,请对SourceBuffer进行自动清理
202892
+ //autoCleanupMinBackwardDuration: 30, //指示进行自动清除时为反向缓冲区保留的持续时间(以秒为单位)。
202893
+ enableStashBuffer: false, //关闭IO隐藏缓冲区
202894
+ stashInitialSize: 128, //减少首帧显示等待时长
202895
+ }
202896
+ );
202897
+ this.doubleflvPlayer.attachMediaElement(doublevideoElement);
202898
+ this.doubleflvPlayer.load();
202899
+ this.doubleflvPlayer.play();
202900
+ console.log("2X流已开启***");
202611
202901
  }
202612
202902
  }
202613
202903
  },
202614
202904
  //图像2X
202615
202905
  imgDoubleClick(imgUrl) {
202616
- this.imgdoubleXclick = true
202617
- this.closeVideodouble()
202618
- this.doubleImgUrl = imgUrl
202906
+ this.imgdoubleXclick = true;
202907
+ this.closeVideodouble();
202908
+ this.doubleImgUrl = imgUrl;
202619
202909
  },
202620
202910
  // 关闭视频2X
202621
202911
  closeVideodouble() {
202622
- this.videodoubleXclick = false
202912
+ this.videodoubleXclick = false;
202623
202913
  if (this.doubleflvPlayer) {
202624
- this.doubleflvPlayer.pause()
202625
- this.doubleflvPlayer.unload()
202626
- try{
202627
- this.doubleflvPlayer.detachMediaElement()
202628
- }catch(e){
202629
- //TODO handle the exception
202630
- }
202631
- this.doubleflvPlayer.destroy()
202632
- this.doubleflvPlayer = null
202633
- console.log('2X流已关闭***')
202914
+ this.doubleflvPlayer.pause();
202915
+ this.doubleflvPlayer.unload();
202916
+ try {
202917
+ this.doubleflvPlayer.detachMediaElement();
202918
+ } catch (e) {
202919
+ //TODO handle the exception
202920
+ }
202921
+ this.doubleflvPlayer.destroy();
202922
+ this.doubleflvPlayer = null;
202923
+ console.log("2X流已关闭***");
202634
202924
  }
202635
202925
  },
202636
202926
  // 关闭图像2x
202637
202927
  closeImgdouble() {
202638
- this.imgdoubleXclick = false
202639
- this.doubleImgUrl = ''
202928
+ this.imgdoubleXclick = false;
202929
+ this.doubleImgUrl = "";
202640
202930
  },
202641
202931
  closeAllLayer() {
202642
202932
  this.$GlobalConfig.jiqing.eventTopics.forEach((item) => {
@@ -202681,16 +202971,20 @@ class echartsLayer_EchartsglLayer {
202681
202971
  }
202682
202972
  });
202683
202973
 
202684
- this.$GlobalConfig.jiqing.roadTestPerceptionPublishEquipment.forEach((item) => {
202685
- if (this[item.layerName]) {
202686
- this[item.layerName].visible = false;
202974
+ this.$GlobalConfig.jiqing.roadTestPerceptionPublishEquipment.forEach(
202975
+ (item) => {
202976
+ if (this[item.layerName]) {
202977
+ this[item.layerName].visible = false;
202978
+ }
202687
202979
  }
202688
- });
202689
- this.$GlobalConfig.danao.roadTestPerceptionPublishEquipment.forEach((item) => {
202690
- if (this[item.layerName]) {
202691
- this[item.layerName].visible = false;
202980
+ );
202981
+ this.$GlobalConfig.danao.roadTestPerceptionPublishEquipment.forEach(
202982
+ (item) => {
202983
+ if (this[item.layerName]) {
202984
+ this[item.layerName].visible = false;
202985
+ }
202692
202986
  }
202693
- });
202987
+ );
202694
202988
 
202695
202989
  this.$GlobalConfig.jiqing.roadTestOthersEquipment.forEach((item) => {
202696
202990
  if (this[item.layerName]) {
@@ -202723,39 +203017,82 @@ class echartsLayer_EchartsglLayer {
202723
203017
  // 图层选择Tab页点击切换时返回实时高度
202724
203018
  handleClickTab() {
202725
203019
  setTimeout(() => {
202726
- let tabHeight = document.getElementsByClassName('checkBox')[0].clientHeight + 'px'
203020
+ let tabHeight =
203021
+ document.getElementsByClassName("checkBox")[0].clientHeight + "px";
202727
203022
  //this.tabHeight = `calc(5% + ${tabHeight} - 24px)`;
202728
203023
  this.tabHeight = `calc(2% + ${tabHeight})`;
202729
- this.$emit('fromGisCheckBox', tabHeight)
202730
- }, 0)
203024
+ this.$emit("fromGisCheckBox", tabHeight);
203025
+ }, 0);
202731
203026
  },
202732
203027
  // 图层SQL过滤组装方法
202733
203028
  makeRoadSql(name) {
202734
203029
  // if(name == 'roadlineLayer_'){
202735
203030
  // name = 'roadlineLayer'
202736
203031
  // }
202737
- let layerObj = this.$GlobalConfig[this.typeNameLocal].roadTestEquipment.find((item) => item.layerName == name) ||
202738
- this.$GlobalConfig[this.typeNameLocal].roadTestPublishEquipment.find((item) => item.layerName == name) ||
202739
- this.$GlobalConfig[this.typeNameLocal].roadTestPerceptionPublishEquipment.find((item) => item.layerName == name) ||
202740
- this.$GlobalConfig[this.typeNameLocal].roadTestOthersEquipment.find((item) => item.layerName == name) ||
202741
- this.$GlobalConfig[this.typeNameLocal].roadNetworkFacilities.find((item) => item.layerName == name) ||
202742
- this.$GlobalConfig[this.typeNameLocal].maintenance.find((item) => item.layerName == name)||
202743
- this.$GlobalConfig[this.typeNameLocal].roadAndBridgeTunnel.find((item) => item.layerName == name) ||
202744
- this.$GlobalConfig[this.typeNameLocal].equipmentFacilities.find((item) => item.layerName == name) ||
202745
- this.$GlobalConfig[this.typeNameLocal].otherClass.find((item) => item.layerName == name) ;
202746
- let sqlText = ''
203032
+ let layerObj =
203033
+ this.$GlobalConfig[this.typeNameLocal].roadTestEquipment.find(
203034
+ (item) => item.layerName == name
203035
+ ) ||
203036
+ this.$GlobalConfig[this.typeNameLocal].roadTestPublishEquipment.find(
203037
+ (item) => item.layerName == name
203038
+ ) ||
203039
+ this.$GlobalConfig[
203040
+ this.typeNameLocal
203041
+ ].roadTestPerceptionPublishEquipment.find(
203042
+ (item) => item.layerName == name
203043
+ ) ||
203044
+ this.$GlobalConfig[this.typeNameLocal].roadTestOthersEquipment.find(
203045
+ (item) => item.layerName == name
203046
+ ) ||
203047
+ this.$GlobalConfig[this.typeNameLocal].roadNetworkFacilities.find(
203048
+ (item) => item.layerName == name
203049
+ ) ||
203050
+ this.$GlobalConfig[this.typeNameLocal].maintenance.find(
203051
+ (item) => item.layerName == name
203052
+ ) ||
203053
+ this.$GlobalConfig[this.typeNameLocal].roadAndBridgeTunnel.find(
203054
+ (item) => item.layerName == name
203055
+ ) ||
203056
+ this.$GlobalConfig[this.typeNameLocal].equipmentFacilities.find(
203057
+ (item) => item.layerName == name
203058
+ ) ||
203059
+ this.$GlobalConfig[this.typeNameLocal].otherClass.find(
203060
+ (item) => item.layerName == name
203061
+ );
203062
+ let sqlText = "";
202747
203063
  if (layerObj && (layerObj.roadIdKey || layerObj.is_test)) {
202748
- if (layerObj.roadIdKey && this.$GlobalConfig[this.typeNameLocal].roadIDs.length) {
202749
- sqlText = `${layerObj.roadIdKey} in (${this.$GlobalConfig[this.typeNameLocal].roadIDs.map((item) => `'${item}'`).join(',')})`
203064
+ if (
203065
+ layerObj.roadIdKey &&
203066
+ this.$GlobalConfig[this.typeNameLocal].roadIDs.length
203067
+ ) {
203068
+ sqlText = `${layerObj.roadIdKey} in (${this.$GlobalConfig[
203069
+ this.typeNameLocal
203070
+ ].roadIDs
203071
+ .map((item) => `'${item}'`)
203072
+ .join(",")})`;
202750
203073
  }
202751
203074
  if (layerObj.is_test || layerObj.is_test === 0) {
202752
- sqlText = sqlText ? `${sqlText} and is_test = ${layerObj.is_test}` : `is_test = ${layerObj.is_test}`
203075
+ sqlText = sqlText
203076
+ ? `${sqlText} and is_test = ${layerObj.is_test}`
203077
+ : `is_test = ${layerObj.is_test}`;
203078
+ }
203079
+ if (
203080
+ this.typeNameLocal == "danao" &&
203081
+ [
203082
+ "bridgeLayer",
203083
+ "tunnelLayer",
203084
+ "serviceLayer",
203085
+ "stationLayer",
203086
+ "pivotLayer",
203087
+ "interchangeLayer",
203088
+ ].indexOf(name) > -1
203089
+ ) {
203090
+ sqlText = sqlText
203091
+ ? `${sqlText} and use_status in ('1')`
203092
+ : `use_status in ('1')`;
202753
203093
  }
202754
- if (this.typeNameLocal == 'danao' && ['bridgeLayer', 'tunnelLayer', 'serviceLayer', 'stationLayer', 'pivotLayer', 'interchangeLayer'].indexOf(name) > -1) {
202755
- sqlText = sqlText ? `${sqlText} and use_status in ('1')` : `use_status in ('1')`
202756
- }
202757
203094
  }
202758
- let sql = ''
203095
+ let sql = "";
202759
203096
  // if(Object.keys(this.querySql).length && layerObj && !layerObj.organizationSql){
202760
203097
  // let arr = [];
202761
203098
  // for(let i in this.querySql){
@@ -202763,118 +203100,220 @@ class echartsLayer_EchartsglLayer {
202763
203100
  // }
202764
203101
  // sql = `${arr.join(' and ')}`
202765
203102
  // }
202766
- if (this.organizationId && this.organizationType && layerObj && !layerObj.organizationSql) {
203103
+ if (
203104
+ this.organizationId &&
203105
+ this.organizationType &&
203106
+ layerObj &&
203107
+ !layerObj.organizationSql
203108
+ ) {
202767
203109
  // sql = `${this.organizationSql[+this.organizationType-1]} in ('${this.organizationId}')`
202768
203110
  // sql = `${this.organizationSql[+this.organizationType-1]} like '%${this.organizationId}%'`
202769
- if (name == 'pivotLayer') {
202770
- sql = `${this.organizationSql[+this.organizationType - 1]} like '%${this.organizationId}%'`
203111
+ if (name == "pivotLayer") {
203112
+ sql = `${this.organizationSql[+this.organizationType - 1]} like '%${
203113
+ this.organizationId
203114
+ }%'`;
202771
203115
  } else {
202772
- sql = `${this.organizationSql[+this.organizationType - 1]} in ('${this.organizationId}')`
203116
+ sql = `${this.organizationSql[+this.organizationType - 1]} in ('${
203117
+ this.organizationId
203118
+ }')`;
202773
203119
  }
202774
203120
  }
202775
203121
  if (sqlText || sql) {
202776
203122
  // console.log(name)
202777
203123
  // console.log(`(${sqlText}${sqlText && sql?' and ' + sql:sql})`)
202778
- return `(${sqlText}${sqlText && sql ? ' and ' + sql : sql})`
203124
+ return `(${sqlText}${sqlText && sql ? " and " + sql : sql})`;
202779
203125
  } else {
202780
- return ``
202781
- }
202782
- },
202783
- // 图层SQL过滤组装方法
202784
- makeRoadSqlTree(name,roadCodes) {
202785
- let layerObj = this.$GlobalConfig[this.typeNameLocal].roadTestEquipment.find((item) => item.layerName == name) ||
202786
- this.$GlobalConfig[this.typeNameLocal].roadTestPublishEquipment.find((item) => item.layerName == name) ||
202787
- this.$GlobalConfig[this.typeNameLocal].roadTestPerceptionPublishEquipment.find((item) => item.layerName == name) ||
202788
- this.$GlobalConfig[this.typeNameLocal].roadTestOthersEquipment.find((item) => item.layerName == name) ||
202789
- this.$GlobalConfig[this.typeNameLocal].roadNetworkFacilities.find((item) => item.layerName == name) ||
202790
- this.$GlobalConfig[this.typeNameLocal].maintenance.find((item) => item.layerName == name) ||
202791
- this.$GlobalConfig[this.typeNameLocal].roadAndBridgeTunnel.find((item) => item.layerName == name) ||
202792
- this.$GlobalConfig[this.typeNameLocal].equipmentFacilities.find((item) => item.layerName == name) ||
202793
- this.$GlobalConfig[this.typeNameLocal].otherClass.find((item) => item.layerName == name) ;
202794
- let sqlText = ''
202795
- if (layerObj && roadCodes) {
202796
- if (layerObj.roadIdKey && roadCodes.length) {
202797
- sqlText = `${layerObj.roadIdKey} in (${roadCodes.map((item) => `'${item}'`).join(',')})`
202798
- }
202799
- if (layerObj.is_test || layerObj.is_test === 0) {
202800
- sqlText = sqlText ? `${sqlText} and is_test = ${layerObj.is_test}` : `is_test = ${layerObj.is_test}`
202801
- }
202802
- if (this.typeNameLocal == 'danao' && ['bridgeLayer', 'tunnelLayer', 'serviceLayer', 'stationLayer', 'pivotLayer', 'interchangeLayer'].indexOf(name) > -1) {
202803
- sqlText = sqlText ? `${sqlText} and use_status in ('1')` : `use_status in ('1')`
202804
- }
202805
- }
202806
- let sql = ''
202807
- if (this.organizationId && this.organizationType && layerObj && !layerObj.organizationSql) {
202808
- if (name == 'pivotLayer') {
202809
- sql = `${this.organizationSql[+this.organizationType - 1]} like '%${this.organizationId}%'`
202810
- } else {
202811
- sql = `${this.organizationSql[+this.organizationType - 1]} in ('${this.organizationId}')`
202812
- }
202813
- }
202814
- if (sqlText || sql) {
202815
- return `(${sqlText}${sqlText && sql ? ' and ' + sql : sql})`
202816
- } else {
202817
- return ``
202818
- }
202819
- },
203126
+ return ``;
203127
+ }
203128
+ },
203129
+ // 图层SQL过滤组装方法
203130
+ makeRoadSqlTree(name, roadCodes) {
203131
+ let layerObj =
203132
+ this.$GlobalConfig[this.typeNameLocal].roadTestEquipment.find(
203133
+ (item) => item.layerName == name
203134
+ ) ||
203135
+ this.$GlobalConfig[this.typeNameLocal].roadTestPublishEquipment.find(
203136
+ (item) => item.layerName == name
203137
+ ) ||
203138
+ this.$GlobalConfig[
203139
+ this.typeNameLocal
203140
+ ].roadTestPerceptionPublishEquipment.find(
203141
+ (item) => item.layerName == name
203142
+ ) ||
203143
+ this.$GlobalConfig[this.typeNameLocal].roadTestOthersEquipment.find(
203144
+ (item) => item.layerName == name
203145
+ ) ||
203146
+ this.$GlobalConfig[this.typeNameLocal].roadNetworkFacilities.find(
203147
+ (item) => item.layerName == name
203148
+ ) ||
203149
+ this.$GlobalConfig[this.typeNameLocal].maintenance.find(
203150
+ (item) => item.layerName == name
203151
+ ) ||
203152
+ this.$GlobalConfig[this.typeNameLocal].roadAndBridgeTunnel.find(
203153
+ (item) => item.layerName == name
203154
+ ) ||
203155
+ this.$GlobalConfig[this.typeNameLocal].equipmentFacilities.find(
203156
+ (item) => item.layerName == name
203157
+ ) ||
203158
+ this.$GlobalConfig[this.typeNameLocal].otherClass.find(
203159
+ (item) => item.layerName == name
203160
+ );
203161
+ let sqlText = "";
203162
+ if (layerObj && roadCodes) {
203163
+ if (layerObj.roadIdKey && roadCodes.length) {
203164
+ sqlText = `${layerObj.roadIdKey} in (${roadCodes
203165
+ .map((item) => `'${item}'`)
203166
+ .join(",")})`;
203167
+ }
203168
+ if (layerObj.is_test || layerObj.is_test === 0) {
203169
+ sqlText = sqlText
203170
+ ? `${sqlText} and is_test = ${layerObj.is_test}`
203171
+ : `is_test = ${layerObj.is_test}`;
203172
+ }
203173
+ if (
203174
+ this.typeNameLocal == "danao" &&
203175
+ [
203176
+ "bridgeLayer",
203177
+ "tunnelLayer",
203178
+ "serviceLayer",
203179
+ "stationLayer",
203180
+ "pivotLayer",
203181
+ "interchangeLayer",
203182
+ ].indexOf(name) > -1
203183
+ ) {
203184
+ sqlText = sqlText
203185
+ ? `${sqlText} and use_status in ('1')`
203186
+ : `use_status in ('1')`;
203187
+ }
203188
+ }
203189
+ let sql = "";
203190
+ if (
203191
+ this.organizationId &&
203192
+ this.organizationType &&
203193
+ layerObj &&
203194
+ !layerObj.organizationSql
203195
+ ) {
203196
+ if (name == "pivotLayer") {
203197
+ sql = `${this.organizationSql[+this.organizationType - 1]} like '%${
203198
+ this.organizationId
203199
+ }%'`;
203200
+ } else {
203201
+ sql = `${this.organizationSql[+this.organizationType - 1]} in ('${
203202
+ this.organizationId
203203
+ }')`;
203204
+ }
203205
+ }
203206
+ if (sqlText || sql) {
203207
+ return `(${sqlText}${sqlText && sql ? " and " + sql : sql})`;
203208
+ } else {
203209
+ return ``;
203210
+ }
203211
+ },
202820
203212
  addSql(data) {
202821
- console.log('addSql',data)
202822
- if ((data.opmaManagerCorpIds !=null && data.opmaManagerCorpIds.length) || (data.opmaManagerIds!=null && data.opmaManagerIds.length) || (data.roadCodes !=null &&data.roadCodes.length)) {
203213
+ console.log("addSql", data);
203214
+ if (
203215
+ (data.opmaManagerCorpIds != null && data.opmaManagerCorpIds.length) ||
203216
+ (data.opmaManagerIds != null && data.opmaManagerIds.length) ||
203217
+ (data.roadCodes != null && data.roadCodes.length)
203218
+ ) {
202823
203219
  this.checkList.forEach((item) => {
202824
203220
  // console.log(item)
202825
203221
  if (item.opmaManageIdKey) {
202826
- let roadSql;
202827
- if(data.roadCodes && data.roadCodes.length){
202828
- roadSql = this.makeRoadSqlTree(item.layerName,data.roadCodes)
202829
- }else{
202830
- roadSql = this.makeRoadSql(item.layerName)
202831
- }
202832
- let layerName = item.layerName
203222
+ let roadSql;
203223
+ if (data.roadCodes && data.roadCodes.length) {
203224
+ roadSql = this.makeRoadSqlTree(item.layerName, data.roadCodes);
203225
+ } else {
203226
+ roadSql = this.makeRoadSql(item.layerName);
203227
+ }
203228
+ let layerName = item.layerName;
202833
203229
  // if(layerName == 'roadlineLayer'){
202834
203230
  // layerName = 'roadlineLayer_'
202835
203231
  // }
202836
- let opmaManageSql = []
202837
- if((data.opmaManagerCorpIds !=null && data.opmaManagerCorpIds.length) || (data.opmaManagerIds!=null && data.opmaManagerIds.length) ){
202838
- for (let i in item.opmaManageIdKey) {
202839
- // console.log(i)
202840
- if (data[item.opmaManageIdKey[i]].length) {
202841
- data[item.opmaManageIdKey[i]].map((id) => {
202842
- //opmaManageSql.push(`${i} like '%${id}%'`)
202843
- opmaManageSql.push(`${i} = '${id}'`)
202844
- })
202845
- }
202846
- }
202847
- }
203232
+ let opmaManageSql = [];
203233
+ if (
203234
+ (data.opmaManagerCorpIds != null &&
203235
+ data.opmaManagerCorpIds.length) ||
203236
+ (data.opmaManagerIds != null && data.opmaManagerIds.length)
203237
+ ) {
203238
+ for (let i in item.opmaManageIdKey) {
203239
+ // console.log(i)
203240
+ if (data[item.opmaManageIdKey[i]].length) {
203241
+ data[item.opmaManageIdKey[i]].map((id) => {
203242
+ //opmaManageSql.push(`${i} like '%${id}%'`)
203243
+ opmaManageSql.push(`${i} = '${id}'`);
203244
+ });
203245
+ }
203246
+ }
203247
+ }
202848
203248
  if (!this.layerListSql[layerName]) {
202849
- this.layerListSql[layerName] = {}
203249
+ this.layerListSql[layerName] = {};
203250
+ }
203251
+ let opmaManageSqlWhere = "";
203252
+ if (opmaManageSql != null && opmaManageSql.length > 0) {
203253
+ opmaManageSqlWhere = `(${opmaManageSql.join(" or ")})`;
203254
+ this.layerListSql[layerName].treeSql = `(${opmaManageSql.join(
203255
+ " or "
203256
+ )})`;
202850
203257
  }
202851
- let opmaManageSqlWhere = '';
202852
- if(opmaManageSql !=null && opmaManageSql.length >0){
202853
- opmaManageSqlWhere = `(${opmaManageSql.join(' or ')})`
202854
- this.layerListSql[layerName].treeSql = `(${opmaManageSql.join(' or ')})`
202855
- }
202856
203258
  if (roadSql) {
202857
- //根据道路筛选-道路线高亮
202858
- if(data.roadCodes && data.roadCodes.length){
202859
- this.roadlineLayer.opacity=0;
202860
- this.roadlineLayer.visible = true;
202861
- let roadSql_tmp = roadSql.replace("and use_status in ('1')","")
202862
- this.roadlineLayer.definitionExpression = `(${roadSql_tmp}${this.layerListSql['roadlineLayer'].makeSql ? ' and ' + this.layerListSql['roadlineLayer'].makeSql : ''}${(this.layerListSql['roadlineLayer'].makeSql || roadSql) && opmaManageSqlWhere? ' and '+opmaManageSqlWhere : opmaManageSqlWhere})`
202863
- setTimeout(() => {
202864
- this.roadlineLayer.opacity=1;
202865
- }, 1000);
202866
- }else{
202867
- if (this.checkList.filter((item) => item.layerName == "roadlineLayer").length <=0) {
202868
- this.roadlineLayer.visible = false;
202869
- }
202870
- }
202871
- this[layerName].definitionExpression = `(${roadSql}${this.layerListSql[layerName].makeSql ? ' and ' + this.layerListSql[layerName].makeSql : ''}${(this.layerListSql[layerName].makeSql || roadSql) && opmaManageSqlWhere? ' and '+opmaManageSqlWhere : opmaManageSqlWhere})`
203259
+ //根据道路筛选-道路线高亮
203260
+ if (data.roadCodes && data.roadCodes.length) {
203261
+ this.roadlineLayer.opacity = 0;
203262
+ this.roadlineLayer.visible = true;
203263
+ let roadSql_tmp = roadSql.replace(
203264
+ "and use_status in ('1')",
203265
+ ""
203266
+ );
203267
+ this.roadlineLayer.definitionExpression = `(${roadSql_tmp}${
203268
+ this.layerListSql["roadlineLayer"].makeSql
203269
+ ? " and " + this.layerListSql["roadlineLayer"].makeSql
203270
+ : ""
203271
+ }${
203272
+ (this.layerListSql["roadlineLayer"].makeSql || roadSql) &&
203273
+ opmaManageSqlWhere
203274
+ ? " and " + opmaManageSqlWhere
203275
+ : opmaManageSqlWhere
203276
+ })`;
203277
+ setTimeout(() => {
203278
+ this.roadlineLayer.opacity = 1;
203279
+ }, 1000);
203280
+ } else {
203281
+ if (
203282
+ this.checkList.filter(
203283
+ (item) => item.layerName == "roadlineLayer"
203284
+ ).length <= 0
203285
+ ) {
203286
+ this.roadlineLayer.visible = false;
203287
+ }
203288
+ }
203289
+ this[layerName].definitionExpression = `(${roadSql}${
203290
+ this.layerListSql[layerName].makeSql
203291
+ ? " and " + this.layerListSql[layerName].makeSql
203292
+ : ""
203293
+ }${
203294
+ (this.layerListSql[layerName].makeSql || roadSql) &&
203295
+ opmaManageSqlWhere
203296
+ ? " and " + opmaManageSqlWhere
203297
+ : opmaManageSqlWhere
203298
+ })`;
202872
203299
  } else {
202873
- this[layerName].definitionExpression = `(${this.layerListSql[layerName].makeSql ? this.layerListSql[layerName].makeSql : ''}${this.layerListSql[layerName].makeSql && opmaManageSqlWhere ? ' and '+opmaManageSqlWhere : opmaManageSqlWhere})`
202874
- if (this.checkList.filter((item) => item.layerName == "roadlineLayer").length <=0) {
202875
- this.roadlineLayer.visible = false;
202876
- }
202877
- }
203300
+ this[layerName].definitionExpression = `(${
203301
+ this.layerListSql[layerName].makeSql
203302
+ ? this.layerListSql[layerName].makeSql
203303
+ : ""
203304
+ }${
203305
+ this.layerListSql[layerName].makeSql && opmaManageSqlWhere
203306
+ ? " and " + opmaManageSqlWhere
203307
+ : opmaManageSqlWhere
203308
+ })`;
203309
+ if (
203310
+ this.checkList.filter(
203311
+ (item) => item.layerName == "roadlineLayer"
203312
+ ).length <= 0
203313
+ ) {
203314
+ this.roadlineLayer.visible = false;
203315
+ }
203316
+ }
202878
203317
  // if (layerName == 'roadlineLayer_') {
202879
203318
  // setTimeout(() => {
202880
203319
  // this.roadlineLayer_.visible = true
@@ -202883,12 +203322,16 @@ class echartsLayer_EchartsglLayer {
202883
203322
  // console.log(layerName)
202884
203323
  // console.log(this[layerName].definitionExpression)
202885
203324
  }
202886
- this.reloadQueryFeatureCount(item.layerName)
202887
- })
203325
+ this.reloadQueryFeatureCount(item.layerName);
203326
+ });
202888
203327
  } else {
202889
- if (this.checkList.filter((item) => item.layerName == "roadlineLayer").length <=0 || data.isTreeRoad) {
202890
- this.roadlineLayer.visible = false;
202891
- }
203328
+ if (
203329
+ this.checkList.filter((item) => item.layerName == "roadlineLayer")
203330
+ .length <= 0 ||
203331
+ data.isTreeRoad
203332
+ ) {
203333
+ this.roadlineLayer.visible = false;
203334
+ }
202892
203335
  // console.log(this.roadlineLayer_,this.roadlineLayer_.definitionExpression)
202893
203336
  // if (this.roadlineLayer_ && this.roadlineLayer_.definitionExpression) {
202894
203337
  // if(!this.layerListSql.roadlineLayer_){
@@ -202902,186 +203345,379 @@ class echartsLayer_EchartsglLayer {
202902
203345
  // }
202903
203346
  // this.roadlineLayer_.visible = false
202904
203347
  // }
202905
- this.$GlobalConfig[this.typeNameLocal].roadTestEquipment.forEach((item) => {
202906
- if (item[item.layerName] && this[item.layerName] && (this[item.layerName].definitionExpression || this[item.layerName].definitionExpression === '')) {
202907
- if (!this.layerListSql[item.layerName]) {
202908
- this.layerListSql[item.layerName] = {}
202909
- }
202910
- let sql = this.makeRoadSql(item.layerName);
202911
- if (sql) {
202912
- this[item.layerName].definitionExpression = `(${sql.slice(1, sql.length - 1)}${this.layerListSql[item.layerName].makeSql ? ' and ' + this.layerListSql[item.layerName].makeSql : ''})`
202913
- } else {
202914
- this[item.layerName].definitionExpression = this.layerListSql[item.layerName].makeSql ? `(${this.layerListSql[item.layerName].makeSql})` : ''
203348
+ this.$GlobalConfig[this.typeNameLocal].roadTestEquipment.forEach(
203349
+ (item) => {
203350
+ if (
203351
+ item[item.layerName] &&
203352
+ this[item.layerName] &&
203353
+ (this[item.layerName].definitionExpression ||
203354
+ this[item.layerName].definitionExpression === "")
203355
+ ) {
203356
+ if (!this.layerListSql[item.layerName]) {
203357
+ this.layerListSql[item.layerName] = {};
203358
+ }
203359
+ let sql = this.makeRoadSql(item.layerName);
203360
+ if (sql) {
203361
+ this[item.layerName].definitionExpression = `(${sql.slice(
203362
+ 1,
203363
+ sql.length - 1
203364
+ )}${
203365
+ this.layerListSql[item.layerName].makeSql
203366
+ ? " and " + this.layerListSql[item.layerName].makeSql
203367
+ : ""
203368
+ })`;
203369
+ } else {
203370
+ this[item.layerName].definitionExpression = this.layerListSql[
203371
+ item.layerName
203372
+ ].makeSql
203373
+ ? `(${this.layerListSql[item.layerName].makeSql})`
203374
+ : "";
203375
+ }
203376
+ this.reloadQueryFeatureCount(item.layerName);
202915
203377
  }
202916
- this.reloadQueryFeatureCount(item.layerName)
202917
203378
  }
202918
- })
202919
- this.$GlobalConfig[this.typeNameLocal].roadTestPublishEquipment.forEach((item) => {
202920
- if (item[item.layerName] && this[item.layerName] && (this[item.layerName].definitionExpression || this[item.layerName].definitionExpression === '')) {
202921
- if (!this.layerListSql[item.layerName]) {
202922
- this.layerListSql[item.layerName] = {}
202923
- }
202924
- let sql = this.makeRoadSql(item.layerName);
202925
- if (sql) {
202926
- this[item.layerName].definitionExpression = `(${sql.slice(1, sql.length - 1)}${this.layerListSql[item.layerName].makeSql ? ' and ' + this.layerListSql[item.layerName].makeSql : ''})`
202927
- } else {
202928
- this[item.layerName].definitionExpression = this.layerListSql[item.layerName].makeSql ? `(${this.layerListSql[item.layerName].makeSql})` : ''
203379
+ );
203380
+ this.$GlobalConfig[this.typeNameLocal].roadTestPublishEquipment.forEach(
203381
+ (item) => {
203382
+ if (
203383
+ item[item.layerName] &&
203384
+ this[item.layerName] &&
203385
+ (this[item.layerName].definitionExpression ||
203386
+ this[item.layerName].definitionExpression === "")
203387
+ ) {
203388
+ if (!this.layerListSql[item.layerName]) {
203389
+ this.layerListSql[item.layerName] = {};
203390
+ }
203391
+ let sql = this.makeRoadSql(item.layerName);
203392
+ if (sql) {
203393
+ this[item.layerName].definitionExpression = `(${sql.slice(
203394
+ 1,
203395
+ sql.length - 1
203396
+ )}${
203397
+ this.layerListSql[item.layerName].makeSql
203398
+ ? " and " + this.layerListSql[item.layerName].makeSql
203399
+ : ""
203400
+ })`;
203401
+ } else {
203402
+ this[item.layerName].definitionExpression = this.layerListSql[
203403
+ item.layerName
203404
+ ].makeSql
203405
+ ? `(${this.layerListSql[item.layerName].makeSql})`
203406
+ : "";
203407
+ }
203408
+ this.reloadQueryFeatureCount(item.layerName);
202929
203409
  }
202930
- this.reloadQueryFeatureCount(item.layerName)
202931
203410
  }
202932
- })
202933
- this.$GlobalConfig[this.typeNameLocal].roadTestPerceptionPublishEquipment.forEach((item) => {
202934
- if (item[item.layerName] && this[item.layerName] && (this[item.layerName].definitionExpression || this[item.layerName].definitionExpression === '')) {
203411
+ );
203412
+ this.$GlobalConfig[
203413
+ this.typeNameLocal
203414
+ ].roadTestPerceptionPublishEquipment.forEach((item) => {
203415
+ if (
203416
+ item[item.layerName] &&
203417
+ this[item.layerName] &&
203418
+ (this[item.layerName].definitionExpression ||
203419
+ this[item.layerName].definitionExpression === "")
203420
+ ) {
202935
203421
  if (!this.layerListSql[item.layerName]) {
202936
- this.layerListSql[item.layerName] = {}
203422
+ this.layerListSql[item.layerName] = {};
202937
203423
  }
202938
203424
  let sql = this.makeRoadSql(item.layerName);
202939
203425
  if (sql) {
202940
- this[item.layerName].definitionExpression = `(${sql.slice(1, sql.length - 1)}${this.layerListSql[item.layerName].makeSql ? ' and ' + this.layerListSql[item.layerName].makeSql : ''})`
203426
+ this[item.layerName].definitionExpression = `(${sql.slice(
203427
+ 1,
203428
+ sql.length - 1
203429
+ )}${
203430
+ this.layerListSql[item.layerName].makeSql
203431
+ ? " and " + this.layerListSql[item.layerName].makeSql
203432
+ : ""
203433
+ })`;
202941
203434
  } else {
202942
- this[item.layerName].definitionExpression = this.layerListSql[item.layerName].makeSql ? `(${this.layerListSql[item.layerName].makeSql})` : ''
203435
+ this[item.layerName].definitionExpression = this.layerListSql[
203436
+ item.layerName
203437
+ ].makeSql
203438
+ ? `(${this.layerListSql[item.layerName].makeSql})`
203439
+ : "";
202943
203440
  }
202944
- this.reloadQueryFeatureCount(item.layerName)
203441
+ this.reloadQueryFeatureCount(item.layerName);
202945
203442
  }
202946
- })
202947
- this.$GlobalConfig[this.typeNameLocal].roadTestOthersEquipment.forEach((item) => {
202948
- if (item[item.layerName] && this[item.layerName] && (this[item.layerName].definitionExpression || this[item.layerName].definitionExpression === '')) {
202949
- if (!this.layerListSql[item.layerName]) {
202950
- this.layerListSql[item.layerName] = {}
202951
- }
202952
- let sql = this.makeRoadSql(item.layerName);
202953
- if (sql) {
202954
- this[item.layerName].definitionExpression = `(${sql.slice(1, sql.length - 1)}${this.layerListSql[item.layerName].makeSql ? ' and ' + this.layerListSql[item.layerName].makeSql : ''})`
202955
- } else {
202956
- this[item.layerName].definitionExpression = this.layerListSql[item.layerName].makeSql ? `(${this.layerListSql[item.layerName].makeSql})` : ''
203443
+ });
203444
+ this.$GlobalConfig[this.typeNameLocal].roadTestOthersEquipment.forEach(
203445
+ (item) => {
203446
+ if (
203447
+ item[item.layerName] &&
203448
+ this[item.layerName] &&
203449
+ (this[item.layerName].definitionExpression ||
203450
+ this[item.layerName].definitionExpression === "")
203451
+ ) {
203452
+ if (!this.layerListSql[item.layerName]) {
203453
+ this.layerListSql[item.layerName] = {};
203454
+ }
203455
+ let sql = this.makeRoadSql(item.layerName);
203456
+ if (sql) {
203457
+ this[item.layerName].definitionExpression = `(${sql.slice(
203458
+ 1,
203459
+ sql.length - 1
203460
+ )}${
203461
+ this.layerListSql[item.layerName].makeSql
203462
+ ? " and " + this.layerListSql[item.layerName].makeSql
203463
+ : ""
203464
+ })`;
203465
+ } else {
203466
+ this[item.layerName].definitionExpression = this.layerListSql[
203467
+ item.layerName
203468
+ ].makeSql
203469
+ ? `(${this.layerListSql[item.layerName].makeSql})`
203470
+ : "";
203471
+ }
203472
+ this.reloadQueryFeatureCount(item.layerName);
202957
203473
  }
202958
- this.reloadQueryFeatureCount(item.layerName)
202959
203474
  }
202960
- })
202961
- this.$GlobalConfig[this.typeNameLocal].roadNetworkFacilities.forEach((item) => {
202962
- if (item[item.layerName] && this[item.layerName] && (this[item.layerName].definitionExpression || this[item.layerName].definitionExpression === '')) {
202963
- if (!this.layerListSql[item.layerName]) {
202964
- this.layerListSql[item.layerName] = {}
202965
- }
202966
- let sql = this.makeRoadSql(item.layerName);
202967
- if (sql) {
202968
- this[item.layerName].definitionExpression = `(${sql.slice(1, sql.length - 1)}${this.layerListSql[item.layerName].makeSql ? ' and ' + this.layerListSql[item.layerName].makeSql : ''})`
202969
- } else {
202970
- this[item.layerName].definitionExpression = this.layerListSql[item.layerName].makeSql ? `(${this.layerListSql[item.layerName].makeSql})` : ''
203475
+ );
203476
+ this.$GlobalConfig[this.typeNameLocal].roadNetworkFacilities.forEach(
203477
+ (item) => {
203478
+ if (
203479
+ item[item.layerName] &&
203480
+ this[item.layerName] &&
203481
+ (this[item.layerName].definitionExpression ||
203482
+ this[item.layerName].definitionExpression === "")
203483
+ ) {
203484
+ if (!this.layerListSql[item.layerName]) {
203485
+ this.layerListSql[item.layerName] = {};
203486
+ }
203487
+ let sql = this.makeRoadSql(item.layerName);
203488
+ if (sql) {
203489
+ this[item.layerName].definitionExpression = `(${sql.slice(
203490
+ 1,
203491
+ sql.length - 1
203492
+ )}${
203493
+ this.layerListSql[item.layerName].makeSql
203494
+ ? " and " + this.layerListSql[item.layerName].makeSql
203495
+ : ""
203496
+ })`;
203497
+ } else {
203498
+ this[item.layerName].definitionExpression = this.layerListSql[
203499
+ item.layerName
203500
+ ].makeSql
203501
+ ? `(${this.layerListSql[item.layerName].makeSql})`
203502
+ : "";
203503
+ }
203504
+ // console.log(item.layerName)
203505
+ // console.log(this[item.layerName].definitionExpression)
203506
+ this.reloadQueryFeatureCount(item.layerName);
202971
203507
  }
202972
- // console.log(item.layerName)
202973
- // console.log(this[item.layerName].definitionExpression)
202974
- this.reloadQueryFeatureCount(item.layerName)
202975
203508
  }
202976
- })
203509
+ );
202977
203510
  this.$GlobalConfig[this.typeNameLocal].maintenance.forEach((item) => {
202978
- if (item[item.layerName] && this[item.layerName] && (this[item.layerName].definitionExpression || this[item.layerName].definitionExpression === '')) {
203511
+ if (
203512
+ item[item.layerName] &&
203513
+ this[item.layerName] &&
203514
+ (this[item.layerName].definitionExpression ||
203515
+ this[item.layerName].definitionExpression === "")
203516
+ ) {
202979
203517
  if (!this.layerListSql[item.layerName]) {
202980
- this.layerListSql[item.layerName] = {}
203518
+ this.layerListSql[item.layerName] = {};
202981
203519
  }
202982
203520
  let sql = this.makeRoadSql(item.layerName);
202983
203521
  if (sql) {
202984
- this[item.layerName].definitionExpression = `(${sql.slice(1, sql.length - 1)}${this.layerListSql[item.layerName].makeSql ? ' and ' + this.layerListSql[item.layerName].makeSql : ''})`
203522
+ this[item.layerName].definitionExpression = `(${sql.slice(
203523
+ 1,
203524
+ sql.length - 1
203525
+ )}${
203526
+ this.layerListSql[item.layerName].makeSql
203527
+ ? " and " + this.layerListSql[item.layerName].makeSql
203528
+ : ""
203529
+ })`;
202985
203530
  } else {
202986
- this[item.layerName].definitionExpression = this.layerListSql[item.layerName].makeSql ? `(${this.layerListSql[item.layerName].makeSql})` : ''
203531
+ this[item.layerName].definitionExpression = this.layerListSql[
203532
+ item.layerName
203533
+ ].makeSql
203534
+ ? `(${this.layerListSql[item.layerName].makeSql})`
203535
+ : "";
202987
203536
  }
202988
- this.reloadQueryFeatureCount(item.layerName)
203537
+ this.reloadQueryFeatureCount(item.layerName);
202989
203538
  }
202990
- })
203539
+ });
202991
203540
  this.$GlobalConfig[this.typeNameLocal].otherClass.forEach((item) => {
202992
- if (item[item.layerName] && this[item.layerName] && (this[item.layerName].definitionExpression || this[item.layerName].definitionExpression === '')) {
203541
+ if (
203542
+ item[item.layerName] &&
203543
+ this[item.layerName] &&
203544
+ (this[item.layerName].definitionExpression ||
203545
+ this[item.layerName].definitionExpression === "")
203546
+ ) {
202993
203547
  if (!this.layerListSql[item.layerName]) {
202994
- this.layerListSql[item.layerName] = {}
203548
+ this.layerListSql[item.layerName] = {};
202995
203549
  }
202996
203550
  let sql = this.makeRoadSql(item.layerName);
202997
203551
  if (sql) {
202998
- this[item.layerName].definitionExpression = `(${sql.slice(1, sql.length - 1)}${this.layerListSql[item.layerName].makeSql ? ' and ' + this.layerListSql[item.layerName].makeSql : ''})`
203552
+ this[item.layerName].definitionExpression = `(${sql.slice(
203553
+ 1,
203554
+ sql.length - 1
203555
+ )}${
203556
+ this.layerListSql[item.layerName].makeSql
203557
+ ? " and " + this.layerListSql[item.layerName].makeSql
203558
+ : ""
203559
+ })`;
202999
203560
  } else {
203000
- this[item.layerName].definitionExpression = this.layerListSql[item.layerName].makeSql ? `(${this.layerListSql[item.layerName].makeSql})` : ''
203561
+ this[item.layerName].definitionExpression = this.layerListSql[
203562
+ item.layerName
203563
+ ].makeSql
203564
+ ? `(${this.layerListSql[item.layerName].makeSql})`
203565
+ : "";
203001
203566
  }
203002
- this.reloadQueryFeatureCount(item.layerName)
203567
+ this.reloadQueryFeatureCount(item.layerName);
203003
203568
  }
203004
- })
203005
- this.$GlobalConfig[this.typeNameLocal].equipmentFacilities.forEach((item) => {
203006
- if (item[item.layerName] && this[item.layerName] && (this[item.layerName].definitionExpression || this[item.layerName].definitionExpression === '')) {
203007
- if (!this.layerListSql[item.layerName]) {
203008
- this.layerListSql[item.layerName] = {}
203009
- }
203010
- let sql = this.makeRoadSql(item.layerName);
203011
- if (sql) {
203012
- this[item.layerName].definitionExpression = `(${sql.slice(1, sql.length - 1)}${this.layerListSql[item.layerName].makeSql ? ' and ' + this.layerListSql[item.layerName].makeSql : ''})`
203013
- } else {
203014
- this[item.layerName].definitionExpression = this.layerListSql[item.layerName].makeSql ? `(${this.layerListSql[item.layerName].makeSql})` : ''
203015
- }
203016
- this.reloadQueryFeatureCount(item.layerName)
203017
- }
203018
- })
203019
- this.$GlobalConfig[this.typeNameLocal].roadAndBridgeTunnel.forEach((item) => {
203020
- if (item[item.layerName] && this[item.layerName] && (this[item.layerName].definitionExpression || this[item.layerName].definitionExpression === '')) {
203021
- if (!this.layerListSql[item.layerName]) {
203022
- this.layerListSql[item.layerName] = {}
203023
- }
203024
- let sql = this.makeRoadSql(item.layerName);
203025
- if (sql) {
203026
- this[item.layerName].definitionExpression = `(${sql.slice(1, sql.length - 1)}${this.layerListSql[item.layerName].makeSql ? ' and ' + this.layerListSql[item.layerName].makeSql : ''})`
203027
- } else {
203028
- this[item.layerName].definitionExpression = this.layerListSql[item.layerName].makeSql ? `(${this.layerListSql[item.layerName].makeSql})` : ''
203029
- }
203030
- this.reloadQueryFeatureCount(item.layerName)
203031
- }
203032
- })
203569
+ });
203570
+ this.$GlobalConfig[this.typeNameLocal].equipmentFacilities.forEach(
203571
+ (item) => {
203572
+ if (
203573
+ item[item.layerName] &&
203574
+ this[item.layerName] &&
203575
+ (this[item.layerName].definitionExpression ||
203576
+ this[item.layerName].definitionExpression === "")
203577
+ ) {
203578
+ if (!this.layerListSql[item.layerName]) {
203579
+ this.layerListSql[item.layerName] = {};
203580
+ }
203581
+ let sql = this.makeRoadSql(item.layerName);
203582
+ if (sql) {
203583
+ this[item.layerName].definitionExpression = `(${sql.slice(
203584
+ 1,
203585
+ sql.length - 1
203586
+ )}${
203587
+ this.layerListSql[item.layerName].makeSql
203588
+ ? " and " + this.layerListSql[item.layerName].makeSql
203589
+ : ""
203590
+ })`;
203591
+ } else {
203592
+ this[item.layerName].definitionExpression = this.layerListSql[
203593
+ item.layerName
203594
+ ].makeSql
203595
+ ? `(${this.layerListSql[item.layerName].makeSql})`
203596
+ : "";
203597
+ }
203598
+ this.reloadQueryFeatureCount(item.layerName);
203599
+ }
203600
+ }
203601
+ );
203602
+ this.$GlobalConfig[this.typeNameLocal].roadAndBridgeTunnel.forEach(
203603
+ (item) => {
203604
+ if (
203605
+ item[item.layerName] &&
203606
+ this[item.layerName] &&
203607
+ (this[item.layerName].definitionExpression ||
203608
+ this[item.layerName].definitionExpression === "")
203609
+ ) {
203610
+ if (!this.layerListSql[item.layerName]) {
203611
+ this.layerListSql[item.layerName] = {};
203612
+ }
203613
+ let sql = this.makeRoadSql(item.layerName);
203614
+ if (sql) {
203615
+ this[item.layerName].definitionExpression = `(${sql.slice(
203616
+ 1,
203617
+ sql.length - 1
203618
+ )}${
203619
+ this.layerListSql[item.layerName].makeSql
203620
+ ? " and " + this.layerListSql[item.layerName].makeSql
203621
+ : ""
203622
+ })`;
203623
+ } else {
203624
+ this[item.layerName].definitionExpression = this.layerListSql[
203625
+ item.layerName
203626
+ ].makeSql
203627
+ ? `(${this.layerListSql[item.layerName].makeSql})`
203628
+ : "";
203629
+ }
203630
+ this.reloadQueryFeatureCount(item.layerName);
203631
+ }
203632
+ }
203633
+ );
203033
203634
  }
203034
203635
  },
203035
203636
  reloadQueryFeatureCount(layerName) {
203036
203637
  if (this[layerName] && this[layerName].queryFeatureCount) {
203037
203638
  this[layerName].queryFeatureCount().then((res) => {
203038
- let layerNameArr = ['roadlineLayer', 'shareRoadLayer', 'engineeringBuild', 'roadDamageLayer', 'roadConsumeLayer', 'asphaltRoadDamageLayer', 'roadBumpLayer', 'roadSkidLayer', 'roadSmoothLayer', 'roadTrackLayer'];
203039
- this.$set(this.tabListNumber, layerName, layerNameArr.indexOf(layerName) != -1 ? '无' : res)
203040
- })
203639
+ let layerNameArr = [
203640
+ "roadlineLayer",
203641
+ "shareRoadLayer",
203642
+ "engineeringBuild",
203643
+ "roadDamageLayer",
203644
+ "roadConsumeLayer",
203645
+ "asphaltRoadDamageLayer",
203646
+ "roadBumpLayer",
203647
+ "roadSkidLayer",
203648
+ "roadSmoothLayer",
203649
+ "roadTrackLayer",
203650
+ ];
203651
+ this.$set(
203652
+ this.tabListNumber,
203653
+ layerName,
203654
+ layerNameArr.indexOf(layerName) != -1 ? "无" : res
203655
+ );
203656
+ });
203041
203657
  }
203042
203658
  },
203043
203659
  //根据传参进行过滤
203044
203660
  makeSql(layerName, keys) {
203045
203661
  // if(layerName == 'roadlineLayer'){
203046
203662
  // layerName = 'roadlineLayer_'
203047
- // }
203048
- if (this[layerName] && (this[layerName].definitionExpression || this[layerName].definitionExpression === '')) {
203663
+ // }
203664
+ if (
203665
+ this[layerName] &&
203666
+ (this[layerName].definitionExpression ||
203667
+ this[layerName].definitionExpression === "")
203668
+ ) {
203049
203669
  // this.setReduction(layerName, false)
203050
203670
  let sql = [];
203051
- if (layerName == 'pivotLayer') {
203671
+ if (layerName == "pivotLayer") {
203052
203672
  for (let i in keys) {
203053
- let sql_text = []
203054
- keys[i].map(item => {
203055
- sql_text.push(`${i} like '%${item}%'`)
203056
- })
203057
- sql.push(`(${sql_text.map(item => item).join(' or ')})`)
203673
+ let sql_text = [];
203674
+ keys[i].map((item) => {
203675
+ sql_text.push(`${i} like '%${item}%'`);
203676
+ });
203677
+ sql.push(`(${sql_text.map((item) => item).join(" or ")})`);
203058
203678
  }
203059
203679
  } else {
203060
203680
  for (let i in keys) {
203061
- sql.push(i + ' in (' + keys[i].map(item => `'${item}'`).join(', ') + ')');
203681
+ sql.push(
203682
+ i + " in (" + keys[i].map((item) => `'${item}'`).join(", ") + ")"
203683
+ );
203062
203684
  }
203063
203685
  }
203064
203686
  let sqlText = this.makeRoadSql(layerName);
203065
203687
  if (!this.layerListSql[layerName]) {
203066
- this.layerListSql[layerName] = {}
203688
+ this.layerListSql[layerName] = {};
203067
203689
  }
203068
- this.layerListSql[layerName].makeSql = `${sql.join(' and ')}`
203690
+ this.layerListSql[layerName].makeSql = `${sql.join(" and ")}`;
203069
203691
  if (sqlText) {
203070
- this[layerName].definitionExpression = `(${sqlText} and ${sql.join(' and ')}${this.layerListSql[layerName].treeSql ? ' and ' + this.layerListSql[layerName].treeSql : ''})`
203692
+ this[layerName].definitionExpression = `(${sqlText} and ${sql.join(
203693
+ " and "
203694
+ )}${
203695
+ this.layerListSql[layerName].treeSql
203696
+ ? " and " + this.layerListSql[layerName].treeSql
203697
+ : ""
203698
+ })`;
203071
203699
  } else {
203072
- this[layerName].definitionExpression = `(${sql.join(' and ')}${this.layerListSql[layerName].treeSql ? ' and ' + this.layerListSql[layerName].treeSql : ''})`
203073
- }
203074
- console.log('******', this[layerName].definitionExpression);
203075
- this.reloadQueryFeatureCount(layerName)
203076
- // this.setReduction(layerName, true)
203700
+ this[layerName].definitionExpression = `(${sql.join(" and ")}${
203701
+ this.layerListSql[layerName].treeSql
203702
+ ? " and " + this.layerListSql[layerName].treeSql
203703
+ : ""
203704
+ })`;
203705
+ }
203706
+ console.log("******", this[layerName].definitionExpression);
203707
+ this.reloadQueryFeatureCount(layerName);
203708
+ // this.setReduction(layerName, true)
203077
203709
  }
203078
203710
  },
203079
203711
  //重置过滤的方法
203080
203712
  ResetSql(layerName) {
203081
- if (this[layerName] && (this[layerName].definitionExpression || this[layerName].definitionExpression === '')) {
203713
+ if (
203714
+ this[layerName] &&
203715
+ (this[layerName].definitionExpression ||
203716
+ this[layerName].definitionExpression === "")
203717
+ ) {
203082
203718
  // this.setReduction(layerName, false);
203083
- this[layerName].definitionExpression = this.makeRoadSql(layerName)
203084
- this.reloadQueryFeatureCount(layerName)
203719
+ this[layerName].definitionExpression = this.makeRoadSql(layerName);
203720
+ this.reloadQueryFeatureCount(layerName);
203085
203721
  // this.setReduction(layerName, true)
203086
203722
  }
203087
203723
  },
@@ -203104,18 +203740,20 @@ class echartsLayer_EchartsglLayer {
203104
203740
  }
203105
203741
  },
203106
203742
  onoffGaodeLayer() {
203107
- if(this.congestionSectionLayer){
203108
- this.congestionSectionLayer.visible = !this.congestionSectionLayer.visible
203109
- }
203110
- if(this.allGreenLayer){
203111
- this.allGreenLayer.visible = !this.allGreenLayer.visible
203112
- }
203113
- this.closePopup();
203743
+ if (this.congestionSectionLayer) {
203744
+ this.congestionSectionLayer.visible =
203745
+ !this.congestionSectionLayer.visible;
203746
+ }
203747
+ if (this.allGreenLayer) {
203748
+ this.allGreenLayer.visible = !this.allGreenLayer.visible;
203749
+ }
203750
+ this.closePopup();
203114
203751
  },
203115
203752
  //获取两个经纬度之间中心点的经纬度
203116
203753
  getCenterLonLat(oneLon, oneLat, twoLon, twoLat) {
203117
203754
  //oneLon:第一个点的经度;oneLat:第一个点的纬度;twoLon:第二个点的经度;twoLat:第二个点的纬度;
203118
- let aLon = 0, aLat = 0;
203755
+ let aLon = 0,
203756
+ aLat = 0;
203119
203757
  let bLon = Number(oneLon) - Number(twoLon);
203120
203758
  let bLat = Number(oneLat) - Number(twoLat);
203121
203759
  //Math.abs()绝对值
@@ -203129,12 +203767,10 @@ class echartsLayer_EchartsglLayer {
203129
203767
  } else {
203130
203768
  aLat = Number(twoLat) - Math.abs(bLat) / 2;
203131
203769
  }
203132
- Object(esri_loader["loadModules"])([
203133
- "esri/geometry/Point",
203134
- ]).then(([Point]) => {
203770
+ Object(esri_loader["loadModules"])(["esri/geometry/Point"]).then(([Point]) => {
203135
203771
  let pt = new Point({
203136
203772
  latitude: aLat,
203137
- longitude: aLon
203773
+ longitude: aLon,
203138
203774
  });
203139
203775
  let opts = {
203140
203776
  duration: 1000,
@@ -203144,52 +203780,55 @@ class echartsLayer_EchartsglLayer {
203144
203780
  target: pt,
203145
203781
  scale: this.view.scale / 6,
203146
203782
  // zoom: 15
203147
- }, opts);
203148
- })
203783
+ },
203784
+ opts
203785
+ );
203786
+ });
203149
203787
  return [aLon, aLat];
203150
203788
  },
203151
203789
  // 在经纬度附近5公里添加摄像机
203152
- addVideoPoint(longitude, latitude,roadId,stakeNumber,facilitiesType) { //isCustom
203790
+ addVideoPoint(longitude, latitude, roadId, stakeNumber, facilitiesType) {
203791
+ //isCustom
203153
203792
  let timefor = setInterval(() => {
203154
203793
  if (this.view) {
203155
- clearInterval(timefor)
203156
- if(stakeNumber && roadId){
203157
- stakeNumber = stakeNumber.replace('K','').replace('+','.');
203158
- if(roadId ==null){
203159
- roadId = '';
203160
- }
203161
- longitude = '';
203162
- latitude = '';
203163
- }else{
203164
- roadId = '';
203165
- stakeNumber = '';
203166
- }
203167
- const params = {
203168
- devCategory: '003',
203169
- gatewayNetstatus: '1',
203170
- distanceRange: 5000,
203171
- facilitiesType: facilitiesType,
203172
- lat: latitude,
203173
- lng: longitude,
203174
- roadId: roadId,
203175
- stakeNo: stakeNumber
203176
- }
203794
+ clearInterval(timefor);
203795
+ if (stakeNumber && roadId) {
203796
+ stakeNumber = stakeNumber.replace("K", "").replace("+", ".");
203797
+ if (roadId == null) {
203798
+ roadId = "";
203799
+ }
203800
+ longitude = "";
203801
+ latitude = "";
203802
+ } else {
203803
+ roadId = "";
203804
+ stakeNumber = "";
203805
+ }
203806
+ const params = {
203807
+ devCategory: "003",
203808
+ gatewayNetstatus: "1",
203809
+ distanceRange: 5000,
203810
+ facilitiesType: facilitiesType,
203811
+ lat: latitude,
203812
+ lng: longitude,
203813
+ roadId: roadId,
203814
+ stakeNo: stakeNumber,
203815
+ };
203177
203816
  Object(api["a" /* addVideoPointData */])(params).then((res) => {
203178
203817
  Object(esri_loader["loadModules"])(["esri/Graphic", "esri/layers/GraphicsLayer"]).then(
203179
203818
  ([Graphic, GraphicsLayer]) => {
203180
203819
  if (!this.newVideoPoint) {
203181
203820
  if (this.newVideoPointLayer) {
203182
- this.newVideoPointLayer.removeAll()
203183
- this.map.remove(this.newVideoPointLayer)
203184
- this.newVideoPointLayer = null
203821
+ this.newVideoPointLayer.removeAll();
203822
+ this.map.remove(this.newVideoPointLayer);
203823
+ this.newVideoPointLayer = null;
203185
203824
  }
203186
203825
  this.newVideoPointLayer = new GraphicsLayer({
203187
- id: 'newVideoPointLayer',
203826
+ id: "newVideoPointLayer",
203188
203827
  });
203189
203828
  this.map.add(this.newVideoPointLayer, 33);
203190
203829
  }
203191
- res.data.forEach(item => {
203192
- if (item.gatewayNetstatus == '1') {
203830
+ res.data.forEach((item) => {
203831
+ if (item.gatewayNetstatus == "1") {
203193
203832
  item.lng = Number(item.lng);
203194
203833
  item.lat = Number(item.lat);
203195
203834
  item.road_id = item.roadId;
@@ -203211,8 +203850,8 @@ class echartsLayer_EchartsglLayer {
203211
203850
  //点符号设置
203212
203851
  type: "picture-marker",
203213
203852
  url: this.videoLayer_img,
203214
- width: 35 * this.styleZoom + 'px',
203215
- height: 35 * this.styleZoom + 'px',
203853
+ width: 35 * this.styleZoom + "px",
203854
+ height: 35 * this.styleZoom + "px",
203216
203855
  };
203217
203856
  let pointGraphic = new Graphic({
203218
203857
  attributes: {
@@ -203224,34 +203863,35 @@ class echartsLayer_EchartsglLayer {
203224
203863
  geometry: point,
203225
203864
  symbol: simpleMarkerSymbol,
203226
203865
  });
203227
- this.newVideoPointLayer.add(pointGraphic)
203866
+ this.newVideoPointLayer.add(pointGraphic);
203228
203867
  }
203229
- })
203230
- console.log(this.newVideoPointLayer)
203231
- })
203232
- })
203868
+ });
203869
+ console.log(this.newVideoPointLayer);
203870
+ }
203871
+ );
203872
+ });
203233
203873
  }
203234
- }, 50)
203874
+ }, 50);
203235
203875
  },
203236
203876
  removeAllVideoPoint() {
203237
203877
  if (this.newVideoPointLayer) {
203238
- this.newVideoPointLayer.removeAll()
203239
- this.map.remove(this.newVideoPointLayer)
203240
- this.newVideoPointLayer = null
203878
+ this.newVideoPointLayer.removeAll();
203879
+ this.map.remove(this.newVideoPointLayer);
203880
+ this.newVideoPointLayer = null;
203241
203881
  }
203242
203882
  },
203243
203883
  //添加不同图层的点
203244
203884
  addTypePoint(data, layerName, icon) {
203245
203885
  Object(esri_loader["loadModules"])(["esri/Graphic", "esri/layers/GraphicsLayer"]).then(
203246
203886
  ([Graphic, GraphicsLayer]) => {
203247
- let name = layerName + '_newlistpoint'
203887
+ let name = layerName + "_newlistpoint";
203248
203888
  if (!this[name]) {
203249
203889
  this[name] = new GraphicsLayer({
203250
203890
  id: name,
203251
203891
  });
203252
203892
  this.map.add(this[name], 15);
203253
203893
  }
203254
- data.forEach(item => {
203894
+ data.forEach((item) => {
203255
203895
  const point = {
203256
203896
  //点设置
203257
203897
  type: "point", //类型:点、线、面
@@ -203262,8 +203902,8 @@ class echartsLayer_EchartsglLayer {
203262
203902
  //点符号设置
203263
203903
  type: "picture-marker",
203264
203904
  url: icon,
203265
- width: 35 * this.styleZoom + 'px',
203266
- height: 35 * this.styleZoom + 'px',
203905
+ width: 35 * this.styleZoom + "px",
203906
+ height: 35 * this.styleZoom + "px",
203267
203907
  };
203268
203908
  let pointGraphic = new Graphic({
203269
203909
  attributes: {
@@ -203275,41 +203915,41 @@ class echartsLayer_EchartsglLayer {
203275
203915
  geometry: point,
203276
203916
  symbol: simpleMarkerSymbol,
203277
203917
  });
203278
- this[name].add(pointGraphic)
203279
- })
203280
- })
203918
+ this[name].add(pointGraphic);
203919
+ });
203920
+ }
203921
+ );
203281
203922
  },
203282
203923
  removeTypePoint(layerName) {
203283
- let name = layerName + '_newlistpoint'
203924
+ let name = layerName + "_newlistpoint";
203284
203925
  if (this[name]) {
203285
- this[name].removeAll()
203926
+ this[name].removeAll();
203286
203927
  }
203287
203928
  },
203288
203929
  // 设备联动打点
203289
203930
  addDevLinkagePoint(devId) {
203290
203931
  if (this.view) {
203291
- this.removeDevLinkagePoint()
203292
- getDevjointaction(
203293
- {
203294
- triggerDevNo: devId
203295
- }
203296
- ).then((res) => {
203297
- Object(esri_loader["loadModules"])(["esri/Graphic", "esri/layers/GraphicsLayer"]).then( // 005情报板 018、012、220诱导灯 015广播
203932
+ this.removeDevLinkagePoint();
203933
+ getDevjointaction({
203934
+ triggerDevNo: devId,
203935
+ }).then((res) => {
203936
+ Object(esri_loader["loadModules"])(["esri/Graphic", "esri/layers/GraphicsLayer"]).then(
203937
+ // 005情报板 018、012、220诱导灯 015广播
203298
203938
  ([Graphic, GraphicsLayer]) => {
203299
203939
  this.newQBBPointLayer = new GraphicsLayer({
203300
- id: 'newQBBPointLayer',
203940
+ id: "newQBBPointLayer",
203301
203941
  });
203302
203942
  this.newYDDPointLayer = new GraphicsLayer({
203303
- id: 'newYDDPointLayer',
203943
+ id: "newYDDPointLayer",
203304
203944
  });
203305
203945
  this.newGBPointLayer = new GraphicsLayer({
203306
- id: 'newGBPointLayer',
203946
+ id: "newGBPointLayer",
203307
203947
  });
203308
203948
  this.map.add(this.newQBBPointLayer, 15);
203309
203949
  this.map.add(this.newYDDPointLayer, 15);
203310
203950
  this.map.add(this.newGBPointLayer, 15);
203311
203951
  if (res.data) {
203312
- res.data[0].triggerByDev.forEach(item => {
203952
+ res.data[0].triggerByDev.forEach((item) => {
203313
203953
  item.lng = Number(item.lng);
203314
203954
  item.lat = Number(item.lat);
203315
203955
  item.road_id = item.roadId;
@@ -203322,13 +203962,13 @@ class echartsLayer_EchartsglLayer {
203322
203962
  type: "point",
203323
203963
  longitude: item.lng,
203324
203964
  latitude: item.lat,
203325
- }
203326
- if (item.devCategory == '005') {
203965
+ };
203966
+ if (item.devCategory == "005") {
203327
203967
  let simpleMarkerSymbol = {
203328
203968
  type: "picture-marker",
203329
203969
  url: this.newQBBPointLayer_img,
203330
- width: 35 * this.styleZoom + 'px',
203331
- height: 35 * this.styleZoom + 'px',
203970
+ width: 35 * this.styleZoom + "px",
203971
+ height: 35 * this.styleZoom + "px",
203332
203972
  };
203333
203973
  let pointGraphic = new Graphic({
203334
203974
  attributes: {
@@ -203339,13 +203979,17 @@ class echartsLayer_EchartsglLayer {
203339
203979
  geometry: point,
203340
203980
  symbol: simpleMarkerSymbol,
203341
203981
  });
203342
- this.newQBBPointLayer.add(pointGraphic)
203343
- } else if (item.devCategory == '018' || item.devCategory == '012' || item.devCategory == '220') {
203982
+ this.newQBBPointLayer.add(pointGraphic);
203983
+ } else if (
203984
+ item.devCategory == "018" ||
203985
+ item.devCategory == "012" ||
203986
+ item.devCategory == "220"
203987
+ ) {
203344
203988
  let simpleMarkerSymbol = {
203345
203989
  type: "picture-marker",
203346
203990
  url: this.newYDDPointLayer_img,
203347
- width: 35 * this.styleZoom + 'px',
203348
- height: 35 * this.styleZoom + 'px',
203991
+ width: 35 * this.styleZoom + "px",
203992
+ height: 35 * this.styleZoom + "px",
203349
203993
  };
203350
203994
  let pointGraphic = new Graphic({
203351
203995
  attributes: {
@@ -203356,13 +204000,13 @@ class echartsLayer_EchartsglLayer {
203356
204000
  geometry: point,
203357
204001
  symbol: simpleMarkerSymbol,
203358
204002
  });
203359
- this.newYDDPointLayer.add(pointGraphic)
203360
- } else if (item.devCategory == '015') {
204003
+ this.newYDDPointLayer.add(pointGraphic);
204004
+ } else if (item.devCategory == "015") {
203361
204005
  let simpleMarkerSymbol = {
203362
204006
  type: "picture-marker",
203363
204007
  url: this.newGBPointLayer_img,
203364
- width: 35 * this.styleZoom + 'px',
203365
- height: 35 * this.styleZoom + 'px',
204008
+ width: 35 * this.styleZoom + "px",
204009
+ height: 35 * this.styleZoom + "px",
203366
204010
  };
203367
204011
  let pointGraphic = new Graphic({
203368
204012
  attributes: {
@@ -203373,82 +204017,80 @@ class echartsLayer_EchartsglLayer {
203373
204017
  geometry: point,
203374
204018
  symbol: simpleMarkerSymbol,
203375
204019
  });
203376
- this.newGBPointLayer.add(pointGraphic)
204020
+ this.newGBPointLayer.add(pointGraphic);
203377
204021
  }
203378
- })
204022
+ });
203379
204023
  }
203380
204024
  // console.log('this.newQBBPointLayer',this.newQBBPointLayer);
203381
204025
  // console.log('this.newYDDPointLayer',this.newYDDPointLayer);
203382
204026
  // console.log('this.newGBPointLayer',this.newGBPointLayer);
203383
- })
203384
- })
204027
+ }
204028
+ );
204029
+ });
203385
204030
  }
203386
204031
  },
203387
204032
  // 清除设备联动打点
203388
204033
  removeDevLinkagePoint() {
203389
204034
  if (this.newQBBPointLayer) {
203390
- this.newQBBPointLayer.removeAll()
204035
+ this.newQBBPointLayer.removeAll();
203391
204036
  }
203392
204037
  if (this.newYDDPointLayer) {
203393
- this.newYDDPointLayer.removeAll()
204038
+ this.newYDDPointLayer.removeAll();
203394
204039
  }
203395
204040
  if (this.newGBPointLayer) {
203396
- this.newGBPointLayer.removeAll()
204041
+ this.newGBPointLayer.removeAll();
203397
204042
  }
203398
204043
  },
203399
204044
  openTrafficLayer() {
203400
-
203401
204045
  if (this.allGreenLayer) {
203402
- this.allGreenLayer.visible = true
204046
+ this.allGreenLayer.visible = true;
203403
204047
  } else {
203404
- this.initAllGreenLayer('1')
204048
+ this.initAllGreenLayer("1");
204049
+ }
204050
+ if (this.congestionSectionLayer) {
204051
+ this.congestionSectionLayer.visible = true;
204052
+ } else {
204053
+ let this_ = this;
204054
+ setTimeout(function () {
204055
+ this_.initTrafficLayer("1");
204056
+ }, 3000);
203405
204057
  }
203406
- if (this.congestionSectionLayer) {
203407
- this.congestionSectionLayer.visible = true
203408
- } else {
203409
- let this_ = this;
203410
- setTimeout(function () {
203411
- this_.initTrafficLayer('1')
203412
- }, 3000)
203413
- }
203414
204058
  let toolbar_c = this.toolbar_c.find(
203415
204059
  (item) => item.id == "weight_traffic"
203416
204060
  );
203417
204061
  this.weight_traffic_D = toolbar_c.imgUrl;
203418
204062
  if (!this.trafficLayerInterval) {
203419
204063
  this.trafficLayerInterval = setInterval(() => {
203420
- this.initTrafficLayer()
204064
+ this.initTrafficLayer();
203421
204065
  //console.log(this.congestionSectionLayer.visible);
203422
- }, 60000)
204066
+ }, 60000);
203423
204067
  }
203424
204068
  },
203425
204069
  closeTrafficLayer() {
203426
- if (this.congestionSectionLayer) {
203427
- this.congestionSectionLayer.visible = false
203428
- }
203429
- if(this.allGreenLayer.visible){
203430
- this.allGreenLayer.visible = false
203431
- }
203432
- let toolbar = this.toolbar.find(
203433
- (item) => item.id == "weight_traffic"
203434
- );
204070
+ if (this.congestionSectionLayer) {
204071
+ this.congestionSectionLayer.visible = false;
204072
+ }
204073
+ if (this.allGreenLayer.visible) {
204074
+ this.allGreenLayer.visible = false;
204075
+ }
204076
+ let toolbar = this.toolbar.find((item) => item.id == "weight_traffic");
203435
204077
  this.weight_traffic_D = toolbar.imgUrl;
203436
204078
  if (this.trafficLayerInterval) {
203437
- clearInterval(this.trafficLayerInterval)
203438
- this.trafficLayerInterval = null
204079
+ clearInterval(this.trafficLayerInterval);
204080
+ this.trafficLayerInterval = null;
203439
204081
  }
203440
204082
  },
203441
- initClearScreen(){
203442
- this.clearScreen(1);
203443
- },
204083
+ initClearScreen() {
204084
+ this.clearScreen(1);
204085
+ },
203444
204086
  // 一键清屏
203445
204087
  clearScreen(val) {
203446
204088
  this.getEquipList();
203447
204089
  this.closePopup();
203448
- if(val !=1){
203449
- this.closeTrafficLayer();
203450
- this.$emit('clearScreen');
203451
- }
204090
+ if (val != 1) {
204091
+ this.closeTrafficLayer();
204092
+ this.$emit("clearScreen");
204093
+ }
203452
204094
  this.cameraTreeShow = false;
203453
204095
  this.addSql({ opmaManagerCorpIds: [], opmaManagerIds: [] });
203454
204096
  //清空树勾选项
@@ -203460,116 +204102,118 @@ class echartsLayer_EchartsglLayer {
203460
204102
  };
203461
204103
  cTree.getTreeNode();
203462
204104
  }
203463
- this.$GlobalConfig['jiqing'].roadAndBridgeTunnel.forEach((item) => {
204105
+ this.$GlobalConfig["jiqing"].roadAndBridgeTunnel.forEach((item) => {
203464
204106
  if (this[item.layerName]) {
203465
204107
  this[item.layerName].visible = false;
203466
204108
  }
203467
204109
  });
203468
- this.$GlobalConfig['jiqing'].equipmentFacilities.forEach((item) => {
204110
+ this.$GlobalConfig["jiqing"].equipmentFacilities.forEach((item) => {
203469
204111
  if (this[item.layerName]) {
203470
204112
  this[item.layerName].visible = false;
203471
204113
  }
203472
204114
  });
203473
- this.$GlobalConfig['jiqing'].otherClass.forEach((item) => {
204115
+ this.$GlobalConfig["jiqing"].otherClass.forEach((item) => {
203474
204116
  if (this[item.layerName]) {
203475
204117
  this[item.layerName].visible = false;
203476
204118
  }
203477
204119
  });
203478
- this.$GlobalConfig['jiqing'].eventTopics.forEach((item) => {
204120
+ this.$GlobalConfig["jiqing"].eventTopics.forEach((item) => {
203479
204121
  if (this[item.layerName]) {
203480
204122
  this[item.layerName].visible = false;
203481
204123
  }
203482
204124
  });
203483
- this.$GlobalConfig['jiqing'].perceptionEvent.forEach((item) => {
204125
+ this.$GlobalConfig["jiqing"].perceptionEvent.forEach((item) => {
203484
204126
  if (this[item.layerName]) {
203485
204127
  this[item.layerName].visible = false;
203486
204128
  }
203487
204129
  });
203488
- this.$GlobalConfig['jiqing'].roadTestEquipment.forEach((item) => {
204130
+ this.$GlobalConfig["jiqing"].roadTestEquipment.forEach((item) => {
203489
204131
  if (this[item.layerName]) {
203490
204132
  this[item.layerName].visible = false;
203491
204133
  }
203492
204134
  });
203493
- this.$GlobalConfig['jiqing'].roadTestPublishEquipment.forEach((item) => {
204135
+ this.$GlobalConfig["jiqing"].roadTestPublishEquipment.forEach((item) => {
203494
204136
  if (this[item.layerName]) {
203495
204137
  this[item.layerName].visible = false;
203496
204138
  }
203497
204139
  });
203498
- this.$GlobalConfig['jiqing'].roadTestPerceptionPublishEquipment.forEach((item) => {
203499
- if (this[item.layerName]) {
203500
- this[item.layerName].visible = false;
204140
+ this.$GlobalConfig["jiqing"].roadTestPerceptionPublishEquipment.forEach(
204141
+ (item) => {
204142
+ if (this[item.layerName]) {
204143
+ this[item.layerName].visible = false;
204144
+ }
203501
204145
  }
203502
- });
203503
- this.$GlobalConfig['jiqing'].roadTestOthersEquipment.forEach((item) => {
204146
+ );
204147
+ this.$GlobalConfig["jiqing"].roadTestOthersEquipment.forEach((item) => {
203504
204148
  if (this[item.layerName]) {
203505
204149
  this[item.layerName].visible = false;
203506
204150
  }
203507
204151
  });
203508
- this.$GlobalConfig['jiqing'].roadNetworkFacilities.forEach((item) => {
204152
+ this.$GlobalConfig["jiqing"].roadNetworkFacilities.forEach((item) => {
203509
204153
  if (this[item.layerName]) {
203510
204154
  this[item.layerName].visible = false;
203511
204155
  }
203512
204156
  });
203513
- this.$GlobalConfig['jiqing'].maintenance.forEach((item) => {
204157
+ this.$GlobalConfig["jiqing"].maintenance.forEach((item) => {
203514
204158
  if (this[item.layerName]) {
203515
204159
  this[item.layerName].visible = false;
203516
204160
  }
203517
204161
  });
203518
204162
 
203519
-
203520
- this.$GlobalConfig['danao'].roadAndBridgeTunnel.forEach((item) => {
204163
+ this.$GlobalConfig["danao"].roadAndBridgeTunnel.forEach((item) => {
203521
204164
  if (this[item.layerName]) {
203522
204165
  this[item.layerName].visible = false;
203523
204166
  }
203524
204167
  });
203525
- this.$GlobalConfig['danao'].equipmentFacilities.forEach((item) => {
204168
+ this.$GlobalConfig["danao"].equipmentFacilities.forEach((item) => {
203526
204169
  if (this[item.layerName]) {
203527
204170
  this[item.layerName].visible = false;
203528
204171
  }
203529
204172
  });
203530
- this.$GlobalConfig['danao'].roadTestPublishEquipment.forEach((item) => {
204173
+ this.$GlobalConfig["danao"].roadTestPublishEquipment.forEach((item) => {
203531
204174
  if (this[item.layerName]) {
203532
204175
  this[item.layerName].visible = false;
203533
204176
  }
203534
204177
  });
203535
- this.$GlobalConfig['danao'].roadTestPerceptionPublishEquipment.forEach((item) => {
203536
- if (this[item.layerName]) {
203537
- this[item.layerName].visible = false;
204178
+ this.$GlobalConfig["danao"].roadTestPerceptionPublishEquipment.forEach(
204179
+ (item) => {
204180
+ if (this[item.layerName]) {
204181
+ this[item.layerName].visible = false;
204182
+ }
203538
204183
  }
203539
- });
203540
- this.$GlobalConfig['danao'].otherClass.forEach((item) => {
204184
+ );
204185
+ this.$GlobalConfig["danao"].otherClass.forEach((item) => {
203541
204186
  if (this[item.layerName]) {
203542
204187
  this[item.layerName].visible = false;
203543
204188
  }
203544
204189
  });
203545
- this.$GlobalConfig['danao'].eventTopics.forEach((item) => {
204190
+ this.$GlobalConfig["danao"].eventTopics.forEach((item) => {
203546
204191
  if (this[item.layerName]) {
203547
204192
  this[item.layerName].visible = false;
203548
204193
  }
203549
204194
  });
203550
- this.$GlobalConfig['danao'].perceptionEvent.forEach((item) => {
204195
+ this.$GlobalConfig["danao"].perceptionEvent.forEach((item) => {
203551
204196
  if (this[item.layerName]) {
203552
204197
  this[item.layerName].visible = false;
203553
204198
  }
203554
204199
  });
203555
- this.$GlobalConfig['danao'].roadTestEquipment.forEach((item) => {
204200
+ this.$GlobalConfig["danao"].roadTestEquipment.forEach((item) => {
203556
204201
  if (this[item.layerName]) {
203557
204202
  this[item.layerName].visible = false;
203558
204203
  }
203559
204204
  });
203560
- this.$GlobalConfig['danao'].roadNetworkFacilities.forEach((item) => {
204205
+ this.$GlobalConfig["danao"].roadNetworkFacilities.forEach((item) => {
203561
204206
  if (this[item.layerName]) {
203562
204207
  this[item.layerName].visible = false;
203563
204208
  }
203564
204209
  });
203565
- this.$GlobalConfig['danao'].maintenance.forEach((item) => {
204210
+ this.$GlobalConfig["danao"].maintenance.forEach((item) => {
203566
204211
  if (this[item.layerName]) {
203567
204212
  this[item.layerName].visible = false;
203568
204213
  }
203569
204214
  });
203570
204215
 
203571
-
203572
- this.removeAllVideoPoint()
204216
+ this.removeAllVideoPoint();
203573
204217
  //清除搜索单点
203574
204218
  if (this.searchPointTop) {
203575
204219
  this.removeTypePoint(this.searchPointTop);
@@ -203577,9 +204221,9 @@ class echartsLayer_EchartsglLayer {
203577
204221
  this.checkList = [];
203578
204222
  },
203579
204223
  defaultInitCrossLayer() {
203580
- this.showLayerById("CrossSectionLayer")
203581
- this.CrossSectionLayer_show = 1
203582
- }
204224
+ this.showLayerById("CrossSectionLayer");
204225
+ this.CrossSectionLayer_show = 1;
204226
+ },
203583
204227
  },
203584
204228
  });
203585
204229
 
@@ -206438,7 +207082,7 @@ files.keys().forEach((key) => {
206438
207082
  this.closesingleMes = "";
206439
207083
  },
206440
207084
  getRoadList() {
206441
- Object(api["m" /* getRoadData */])().then((res) => {
207085
+ Object(api["n" /* getRoadData */])().then((res) => {
206442
207086
  this.roadList = res.data;
206443
207087
  });
206444
207088
  },
@@ -207635,7 +208279,7 @@ files.keys().forEach((key) => {
207635
208279
  lon: latlon.x,
207636
208280
  lat: latlon.y,
207637
208281
  };
207638
- Object(api["s" /* lonandlatTopile */])(params)
208282
+ Object(api["t" /* lonandlatTopile */])(params)
207639
208283
  .then((res) => {
207640
208284
  if (res.data) {
207641
208285
  let mercator = that.lonlat2mercator({
@@ -207764,7 +208408,7 @@ files.keys().forEach((key) => {
207764
208408
  roadId: this.form.roadId,
207765
208409
  stakeNo: this.form.stakeNo,
207766
208410
  };
207767
- Object(api["n" /* getStationData */])(data).then((res) => {
208411
+ Object(api["o" /* getStationData */])(data).then((res) => {
207768
208412
  if (res.data && res.data.length > 0) {
207769
208413
  this.dialogToPileVisible = false;
207770
208414
  let stationData = res.data[0];
@@ -210073,7 +210717,7 @@ files.keys().forEach((key) => {
210073
210717
  this.$emit("fromGisCheckBox", tabHeight);
210074
210718
  }
210075
210719
  //济青单切换时通知mqtt重新下发消息
210076
- Object(api["A" /* sendMqttMessage */])().then(() => {
210720
+ Object(api["B" /* sendMqttMessage */])().then(() => {
210077
210721
  //console.log('gisMap.sendMqttMessage.res',res)
210078
210722
  //this.mqttData(res);
210079
210723
  });
@@ -222699,7 +223343,7 @@ var VideoPlay = __webpack_require__("5f91");
222699
223343
  goTo(){
222700
223344
  let _this = this;
222701
223345
  //获取authCode
222702
- Object(api["c" /* getAuthCode */])(sessionStorage.getItem('sdhsg_its_app-1.6.12-uuid')).then((res) => {
223346
+ Object(api["d" /* getAuthCode */])(sessionStorage.getItem('sdhsg_its_app-1.6.12-uuid')).then((res) => {
222703
223347
  if(res.code == 0){
222704
223348
  window.open(_this.jumpUrl.replace('{authCode}',res.data));
222705
223349
  }else{