gis-map-admin 1.5.9 → 1.6.1

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=573d4232&
186437
+ var perceptionEventLayervue_type_template_id_573d4232_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_573d4232_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=573d4232&
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,13 @@ 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
+ this.$confirm(`是否将本事件确认为 ${this.popupAttr.trafficMainName}(${this.popupAttr.trafficSubName})?`, '提示', {
187040
+ confirmButtonText: '确定',
187041
+ cancelButtonText: '取消',
187042
+ }).then(() => {
187043
+ this.$emit("schedulingSettings", this.popupAttr, this.masterDetailInfo);
187044
+ this.$emit("removeAllVideoPoint", this.popupAttr, this.masterDetailInfo);
187045
+ }).catch(() => {});
186989
187046
  },
186990
187047
  terminationOfAlarm() {
186991
187048
  if (this.perceptionEventReleaseShow) {
@@ -187166,7 +187223,7 @@ var swiper_min = __webpack_require__("f4bd");
187166
187223
  // camId: this.devId,
187167
187224
  // };
187168
187225
  // console.log("发送流请求", param);
187169
- Object(api["v" /* openCam */])(
187226
+ Object(api["w" /* openCam */])(
187170
187227
  devId,
187171
187228
  this.$GlobalConfig.trafficMonitorUrl,
187172
187229
  this.$GlobalConfig.trafficMonitorType,
@@ -187257,7 +187314,7 @@ var swiper_min = __webpack_require__("f4bd");
187257
187314
  eventDesc: this.eventForm.eventDis,
187258
187315
  lane: lanes,
187259
187316
  };
187260
- Object(api["B" /* updateEventMaster */])(reqData).then((res) => {
187317
+ Object(api["C" /* updateEventMaster */])(reqData).then((res) => {
187261
187318
  if (res.code == 0) {
187262
187319
  /* this.$message({
187263
187320
  message: "修改成功",
@@ -187331,10 +187388,21 @@ var swiper_min = __webpack_require__("f4bd");
187331
187388
  return className;
187332
187389
  },
187333
187390
  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
- },
187391
+ console.log(
187392
+ "1111111111111111111111",
187393
+ this.specialId === this.popupAttr.deptId ||
187394
+ this.specialId === this.popupAttr.deptPid ||
187395
+ this.specialId === "YG1" ||
187396
+ this.specialId === ""
187397
+ );
187398
+
187399
+ return (
187400
+ this.specialId === this.popupAttr.deptId ||
187401
+ this.specialId === this.popupAttr.deptPid ||
187402
+ this.specialId === "YG1" ||
187403
+ this.specialId === ""
187404
+ );
187405
+ },
187338
187406
  },
187339
187407
  watch: {},
187340
187408
  });
@@ -187355,8 +187423,8 @@ var perceptionEventLayervue_type_style_index_0_scope_true_lang_css_ = __webpack_
187355
187423
 
187356
187424
  var perceptionEventLayer_component = Object(componentNormalizer["a" /* default */])(
187357
187425
  eventLayer_perceptionEventLayervue_type_script_lang_js_,
187358
- perceptionEventLayervue_type_template_id_6f22e751_render,
187359
- perceptionEventLayervue_type_template_id_6f22e751_staticRenderFns,
187426
+ perceptionEventLayervue_type_template_id_573d4232_render,
187427
+ perceptionEventLayervue_type_template_id_573d4232_staticRenderFns,
187360
187428
  false,
187361
187429
  null,
187362
187430
  null,
@@ -187507,7 +187575,7 @@ var cameraTreevue_type_template_id_74923d88_scoped_true_staticRenderFns = []
187507
187575
  // this.$emit('select', CheckE.checkedKeys.filter(item => !!item));
187508
187576
  },
187509
187577
  loadRoadList(node, resolve){
187510
- Object(api["e" /* getDimmdmroadriList */])({isAdminister: "1"}).then((res) =>{
187578
+ Object(api["f" /* getDimmdmroadriList */])({isAdminister: "1"}).then((res) =>{
187511
187579
  if(res !=null && res.data !=null){
187512
187580
  res.data.forEach((item) => {
187513
187581
  item.label = item.roadName;
@@ -187548,7 +187616,7 @@ var cameraTreevue_type_template_id_74923d88_scoped_true_staticRenderFns = []
187548
187616
  } else {
187549
187617
  params = { opmaCliqueId: '', opmaManagerCorpId: '' }
187550
187618
  }
187551
- Object(api["i" /* getFgsList */])(params).then((res) => {
187619
+ Object(api["j" /* getFgsList */])(params).then((res) => {
187552
187620
  res.data.forEach((item) => {
187553
187621
  item.label = item.opmaManagerCorpName
187554
187622
  item.disabledTmp = false
@@ -187605,7 +187673,7 @@ var cameraTreevue_type_template_id_74923d88_scoped_true_staticRenderFns = []
187605
187673
  return resolve([])
187606
187674
  }
187607
187675
  this.isBranch = true
187608
- Object(api["j" /* getOpmasubsectionriList */])({ opmaManagerCorpId: node.data.opmaManagerCorpId }).then((res) => {
187676
+ Object(api["k" /* getOpmasubsectionriList */])({ opmaManagerCorpId: node.data.opmaManagerCorpId }).then((res) => {
187609
187677
  if (res.data != null && res.data.length > 0) {
187610
187678
  const map = new Map()
187611
187679
  const datas = res.data.filter((key) => !map.has(key.roadName) && map.set(key.roadName, 1))
@@ -187628,7 +187696,7 @@ var cameraTreevue_type_template_id_74923d88_scoped_true_staticRenderFns = []
187628
187696
  return resolve([])
187629
187697
  }
187630
187698
  if (this.isBranch) {
187631
- Object(api["g" /* getEquipList */])({
187699
+ Object(api["h" /* getEquipList */])({
187632
187700
  devCategory: this.equipType,
187633
187701
  opmaManagerCorpId: node.data.opmaManagerId,
187634
187702
  roadId: node.data.roadId,
@@ -187649,7 +187717,7 @@ var cameraTreevue_type_template_id_74923d88_scoped_true_staticRenderFns = []
187649
187717
  })
187650
187718
  this.isEnd = true
187651
187719
  } else {
187652
- Object(api["j" /* getOpmasubsectionriList */])({ opmaManagerId: node.data.opmaManagerId }).then((res) => {
187720
+ Object(api["k" /* getOpmasubsectionriList */])({ opmaManagerId: node.data.opmaManagerId }).then((res) => {
187653
187721
  const map = new Map()
187654
187722
  const datas = res.data.filter((key) => !map.has(key.roadName) && map.set(key.roadName, 1))
187655
187723
  datas.forEach((item) => {
@@ -187669,7 +187737,7 @@ var cameraTreevue_type_template_id_74923d88_scoped_true_staticRenderFns = []
187669
187737
  if (this.typeNameLocal == 'danao') {
187670
187738
  return resolve([])
187671
187739
  }
187672
- Object(api["g" /* getEquipList */])({
187740
+ Object(api["h" /* getEquipList */])({
187673
187741
  devCategory: this.equipType,
187674
187742
  opmaManagerId: node.data.opmaManagerId,
187675
187743
  roadId: node.data.roadId,
@@ -187700,7 +187768,7 @@ var cameraTreevue_type_template_id_74923d88_scoped_true_staticRenderFns = []
187700
187768
  }
187701
187769
  },
187702
187770
  initRoadList() {
187703
- Object(api["e" /* getDimmdmroadriList */])({isAdminister: "1"}).then((res) =>{
187771
+ Object(api["f" /* getDimmdmroadriList */])({isAdminister: "1"}).then((res) =>{
187704
187772
  if(res !=null && res.data !=null){
187705
187773
  res.data.forEach((item) => {
187706
187774
  item.label = item.roadName;
@@ -188094,6 +188162,8 @@ var searchvue_type_template_id_276a7099_scoped_true_staticRenderFns = []
188094
188162
  "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAyVBMVEUARG4ARW8ARXAAR3EAR3IASHMASXQASnQAS3YATHgATXoATnkAT3kAVIAAVYEAVoIAWIQAWIUAWYUAXosAX4wAYI0AYY4AY5AAZJIAZ5QAbpwAcZ8AdaUAdqUAd6cAeqkAgrEAhLUAiLgAjb8Ak8UAlccAlsgAmMoAms0Am84AntAAo9YApNcApdgAptoAp9sAreEAsOQAs+gAs+kAtOgAtOkAteoAt+wAue8Au/AAv/YAwPYAwfcAwvkAw/oAxfsAxfwAyP////91s5qpAAAAAWJLR0RCENc99AAAALVJREFUOMvl0skSgjAQBNBGEHdBcd9xRcUtKG6o5P9/ypNFYopwtcq+5h0yMw2aEFBI81+g6TGrCSYiIPz22gAAnQEhD4YASsuHDKTHT0plYEepHAQiuC32UvAykdrKwBHAKAJ3AYQVKG4EMsWu//2H1eHz7uVtcpoZPgOu3BAde6pisG4woMfNmSUqgE2ZvWbBilKFBwBOLf7c8z5gEi0e5FzXIRdLVhijrrXOSkKj9B9qdULe+vxb2NAp6xsAAAAASUVORK5CYII=",
188095
188163
  weight_clear_D:
188096
188164
  'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAEFCu8CAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAHKADAAQAAAABAAAAHAAAAABkvfSiAAAFtUl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CfgNGytj1vrDsTIk/m8/8rPs7acReo6H78V0al88ctUhy31fYbZxd688ZwlOwxtc5jIhAB7VZgBPb4sDp+2PrbU2Spa1rUOqwraDYJALgr2zYXuIjMaY5eTOxqaqqA9zdn35seij3/twYwrxP5jplD5Ukf/e0SbTurR9tjm1tVd65WcZBYVZTncR1nzGsgztGOXQFhGpZpoqS0bVyU08qOR9PTZ8ffGTRxrih3CSc0l5lbxVmZ+54/ueZW1Ko37+tzGtO2zuzkyrablynYaV44gZ7pgYUASHM27Ew9hxDllOMxg3pLoqN7P638VYc3Tod/8HzckeW123NDAAAAAASUVORK5CYII=",
188098
188168
  iconTest: [
188099
188169
  //故障停车
@@ -188358,7 +188428,7 @@ var searchvue_type_template_id_276a7099_scoped_true_staticRenderFns = []
188358
188428
  }else if(this.organizationType ==3){
188359
188429
  params.opmaManagerId = this.organizationId;
188360
188430
  } */
188361
- Object(api["l" /* getQuerybasicdata */])(params).then((res) => {
188431
+ Object(api["m" /* getQuerybasicdata */])(params).then((res) => {
188362
188432
  this.restaurants = res.data;
188363
188433
  })
188364
188434
  },
@@ -189121,7 +189191,7 @@ var roadCameraPresetLayervue_type_template_id_1d7afaa3_scoped_true_staticRenderF
189121
189191
  userName: "userGisMap",
189122
189192
  userDiffId: "1"
189123
189193
  }
189124
- Object(api["o" /* getVideo */])(param)
189194
+ Object(api["p" /* getVideo */])(param)
189125
189195
  .then((res) => {
189126
189196
  this.videoUrl = res.data.liveUrl
189127
189197
  if (flv_default.a.isSupported()) {
@@ -189479,7 +189549,7 @@ var barrierCollisionWarningLayervue_type_template_id_262454b3_scoped_true_static
189479
189549
  camId: this.camId,
189480
189550
  timestamp: new Date().getTime()
189481
189551
  }
189482
- Object(api["p" /* getVideoPic */])(paramPic)
189552
+ Object(api["q" /* getVideoPic */])(paramPic)
189483
189553
  .then((res) => {
189484
189554
  this.loading = false;
189485
189555
  if (res && res.size >500) {
@@ -189830,7 +189900,7 @@ var bridgeHealthLayervue_type_template_id_d9da83b8_scoped_true_staticRenderFns =
189830
189900
  camId: this.camId,
189831
189901
  timestamp: new Date().getTime()
189832
189902
  }
189833
- Object(api["p" /* getVideoPic */])(paramPic)
189903
+ Object(api["q" /* getVideoPic */])(paramPic)
189834
189904
  .then((res) => {
189835
189905
  this.loading = false;
189836
189906
  if (res && res.size >500) {
@@ -190125,7 +190195,7 @@ var rsuLayervue_type_template_id_a3039a70_scoped_true_staticRenderFns = []
190125
190195
  camId: this.camId,
190126
190196
  timestamp: new Date().getTime()
190127
190197
  }
190128
- Object(api["p" /* getVideoPic */])(paramPic)
190198
+ Object(api["q" /* getVideoPic */])(paramPic)
190129
190199
  .then((res) => {
190130
190200
  this.loading = false;
190131
190201
  if (res && res.size >500) {
@@ -190420,7 +190490,7 @@ var awakenLayervue_type_template_id_47558512_scoped_true_staticRenderFns = []
190420
190490
  camId: this.camId,
190421
190491
  timestamp: new Date().getTime()
190422
190492
  }
190423
- Object(api["p" /* getVideoPic */])(paramPic)
190493
+ Object(api["q" /* getVideoPic */])(paramPic)
190424
190494
  .then((res) => {
190425
190495
  this.loading = false;
190426
190496
  if (res && res.size >500) {
@@ -190970,7 +191040,7 @@ var confluenceLayervue_type_template_id_70ab3549_scoped_true_staticRenderFns = [
190970
191040
  camId: this.camId,
190971
191041
  timestamp: new Date().getTime()
190972
191042
  }
190973
- Object(api["p" /* getVideoPic */])(paramPic)
191043
+ Object(api["q" /* getVideoPic */])(paramPic)
190974
191044
  .then((res) => {
190975
191045
  this.loading = false;
190976
191046
  if (res && res.size >500) {
@@ -191334,7 +191404,7 @@ var removeSnowLayervue_type_template_id_68d65c6e_scoped_true_staticRenderFns = [
191334
191404
  camId: this.camId,
191335
191405
  timestamp: new Date().getTime()
191336
191406
  }
191337
- Object(api["p" /* getVideoPic */])(paramPic)
191407
+ Object(api["q" /* getVideoPic */])(paramPic)
191338
191408
  .then((res) => {
191339
191409
  this.loading = false;
191340
191410
  if (res && res.size >500) {
@@ -191640,7 +191710,7 @@ var spikeLayervue_type_template_id_5719ddac_scoped_true_staticRenderFns = []
191640
191710
  camId: this.camId,
191641
191711
  timestamp: new Date().getTime()
191642
191712
  }
191643
- Object(api["p" /* getVideoPic */])(paramPic)
191713
+ Object(api["q" /* getVideoPic */])(paramPic)
191644
191714
  .then((res) => {
191645
191715
  this.loading = false;
191646
191716
  if (res && res.size >500) {
@@ -191935,7 +192005,7 @@ var distanceMarkerLayervue_type_template_id_0182b6e4_scoped_true_staticRenderFns
191935
192005
  camId: this.camId,
191936
192006
  timestamp: new Date().getTime()
191937
192007
  }
191938
- Object(api["p" /* getVideoPic */])(paramPic)
192008
+ Object(api["q" /* getVideoPic */])(paramPic)
191939
192009
  .then((res) => {
191940
192010
  this.loading = false;
191941
192011
  if (res && res.size >500) {
@@ -192230,7 +192300,7 @@ var sectionRadioLayervue_type_template_id_16077e28_scoped_true_staticRenderFns =
192230
192300
  camId: this.camId,
192231
192301
  timestamp: new Date().getTime()
192232
192302
  }
192233
- Object(api["p" /* getVideoPic */])(paramPic)
192303
+ Object(api["q" /* getVideoPic */])(paramPic)
192234
192304
  .then((res) => {
192235
192305
  this.loading = false;
192236
192306
  if (res && res.size >500) {
@@ -192525,7 +192595,7 @@ var beidouLayervue_type_template_id_0a262ba4_scoped_true_staticRenderFns = []
192525
192595
  camId: this.camId,
192526
192596
  timestamp: new Date().getTime()
192527
192597
  }
192528
- Object(api["p" /* getVideoPic */])(paramPic)
192598
+ Object(api["q" /* getVideoPic */])(paramPic)
192529
192599
  .then((res) => {
192530
192600
  this.loading = false;
192531
192601
  if (res && res.size >500) {
@@ -194406,7 +194476,7 @@ var emergencyLayervue_type_template_id_77225db4_scoped_true_staticRenderFns = []
194406
194476
  let req = {
194407
194477
  manageUnit: this.popupAttr.manageUnit,
194408
194478
  };
194409
- Object(api["f" /* getEmergencyData */])(req).then((res) => {
194479
+ Object(api["g" /* getEmergencyData */])(req).then((res) => {
194410
194480
  this.tableData = res.data;
194411
194481
  });
194412
194482
  },
@@ -194569,7 +194639,7 @@ var trafficSafetyLayervue_type_template_id_f55b98ec_scoped_true_staticRenderFns
194569
194639
  opmaManagerName: '',
194570
194640
  roadId: this.popupAttr.road_id
194571
194641
  }
194572
- Object(api["r" /* gettrafficSafetyData */])(data).then(res => {
194642
+ Object(api["s" /* gettrafficSafetyData */])(data).then(res => {
194573
194643
  this.equipMeaage = res.data[0]
194574
194644
  })
194575
194645
  },
@@ -194902,7 +194972,7 @@ var congestionSectionvue_type_template_id_4f7f5f2a_scoped_true_staticRenderFns =
194902
194972
  this.nearbyCameraList2 = []
194903
194973
  this.showText = false
194904
194974
  this.showText2 = false
194905
- api["t" /* nearbyCamera */](params, this.$GlobalConfig.trafficMonitorUrl, this.$GlobalConfig.trafficMonitorType).then(res => {
194975
+ api["u" /* nearbyCamera */](params, this.$GlobalConfig.trafficMonitorUrl, this.$GlobalConfig.trafficMonitorType).then(res => {
194906
194976
  if (res !=null && res.code == 0) {
194907
194977
  // 上行
194908
194978
  this.nearbyCameraList = res.data.UP
@@ -194953,7 +195023,7 @@ var congestionSectionvue_type_template_id_4f7f5f2a_scoped_true_staticRenderFns =
194953
195023
  this.nearbyVMSList2 = []
194954
195024
  this.showText = false
194955
195025
  this.showText2 = false
194956
- api["u" /* nearbyVMS */](params, this.$GlobalConfig.trafficMonitorUrl, this.$GlobalConfig.trafficMonitorType).then(res => {
195026
+ api["v" /* nearbyVMS */](params, this.$GlobalConfig.trafficMonitorUrl, this.$GlobalConfig.trafficMonitorType).then(res => {
194957
195027
  if (res !=null && res.code == 0) {
194958
195028
  // 上行
194959
195029
  this.nearbyVMSList = res.data.UP
@@ -194993,7 +195063,7 @@ var congestionSectionvue_type_template_id_4f7f5f2a_scoped_true_staticRenderFns =
194993
195063
  if (!camId) return
194994
195064
  this.videoInfo = {}
194995
195065
  this.videoInfo2 = {}
194996
- api["v" /* openCam */](camId, this.$GlobalConfig.trafficMonitorUrl, this.$GlobalConfig.trafficMonitorType, this.$GlobalConfig.netWorkType).then(res => {
195066
+ api["w" /* openCam */](camId, this.$GlobalConfig.trafficMonitorUrl, this.$GlobalConfig.trafficMonitorType, this.$GlobalConfig.netWorkType).then(res => {
194997
195067
  if (res !=null && res.data.recCode == '0') {
194998
195068
  name == 'playerUp' ? (this.videoInfo = res.data || {}) : (this.videoInfo2 = res.data || {})
194999
195069
  if (name == 'playerUp') {
@@ -196778,22 +196848,24 @@ class echartsLayer_EchartsglLayer {
196778
196848
  getPatrolAccidentLayerInterval: null,
196779
196849
  series: null,
196780
196850
  colorMap: [
196781
- '#FF4040',
196782
- '#FF8C00',
196783
- '#FFD700',
196784
- '#00ff33',
196785
- '#0033ff',
196786
- '#00ffff',
196787
- '#BF3EFF',
196788
- '#33FF9D',
196789
- '#DAA520',
196790
- '#E3E3E3'
196851
+ "#FF4040",
196852
+ "#FF8C00",
196853
+ "#FFD700",
196854
+ "#00ff33",
196855
+ "#0033ff",
196856
+ "#00ffff",
196857
+ "#BF3EFF",
196858
+ "#33FF9D",
196859
+ "#DAA520",
196860
+ "#E3E3E3",
196791
196861
  ],
196792
196862
  pieChartLayer: null,
196793
196863
  scatterChartLayer: null,
196794
196864
  chartElements: [],
196795
196865
  myChart: null,
196796
- scatterContainer: null
196866
+ scatterContainer: null,
196867
+ yzDistance: 1,
196868
+ pointGraphicArrCC: null
196797
196869
  };
196798
196870
  },
196799
196871
  methods: {
@@ -197416,7 +197488,38 @@ class echartsLayer_EchartsglLayer {
197416
197488
  },
197417
197489
  // 气象数据图层 -- 不需要区分状态
197418
197490
  initMeteorologicaldataLayer() {
197419
- Object(esri_loader["loadModules"])(["esri/layers/FeatureLayer"]).then(([FeatureLayer]) => {
197491
+ let that = this;
197492
+ Object(esri_loader["loadModules"])([
197493
+ "esri/layers/FeatureLayer",
197494
+ "esri/renderers/support/jsonUtils",
197495
+ ]).then(([FeatureLayer, rendererJsonUtils]) => {
197496
+ var Symbol1 = {
197497
+ type: "esriPMS",
197498
+ url: this.jiandanyuan_blue,
197499
+ width: 20 * this.styleZoom + "px",
197500
+ height: 20 * this.styleZoom + "px",
197501
+ };
197502
+ var Symbol2 = {
197503
+ type: "esriPMS",
197504
+ url: this.jiandanyuan_red,
197505
+ width: 30 * this.styleZoom + "px",
197506
+ height: 30 * this.styleZoom + "px",
197507
+ };
197508
+ var renderJson = {
197509
+ type: "uniqueValue",
197510
+ field1: "panduan",
197511
+ uniqueValueInfos: [
197512
+ {
197513
+ value: "1",
197514
+ symbol: Symbol1,
197515
+ },
197516
+ {
197517
+ value: "2",
197518
+ symbol: Symbol2,
197519
+ },
197520
+ ],
197521
+ };
197522
+ var renderer = rendererJsonUtils.fromJSON(renderJson);
197420
197523
  this.meteorologicaldataLayer = new FeatureLayer({
197421
197524
  id: "meteorologicaldataLayer",
197422
197525
  outFields: ["*"],
@@ -197464,6 +197567,11 @@ class echartsLayer_EchartsglLayer {
197464
197567
  alias: "opma_man_2",
197465
197568
  type: "string",
197466
197569
  },
197570
+ {
197571
+ name: "panduan",
197572
+ alias: "panduan",
197573
+ type: "string",
197574
+ },
197467
197575
  {
197468
197576
  name: "managerCorpId",
197469
197577
  alias: "managerCorpId",
@@ -197580,50 +197688,127 @@ class echartsLayer_EchartsglLayer {
197580
197688
  type: "double",
197581
197689
  },
197582
197690
  ],
197583
- featureReduction: this.clusterConfigNoFields,
197584
197691
  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
- },
197692
+ renderer: renderer,
197693
+ // featureReduction: this.clusterConfigNoFields,
197610
197694
  });
197611
197695
  if (this.$GlobalConfig.meteorologicaldataLayer === true) {
197612
197696
  this.map.add(this.meteorologicaldataLayer);
197613
197697
  }
197614
197698
  this.meteorologicaldataLayer.visible = false;
197615
- this.getMeteorologicalLayer();
197699
+ this.getMeteorologicalLayer(false, this.yzDistance);
197616
197700
  setInterval(() => {
197617
- this.getMeteorologicalLayer(true);
197618
- }, 60 * 60 * 1000); //60*60*1000
197701
+ this.getMeteorologicalLayer(true, this.yzDistance);
197702
+ }, 60 * 60 * 1000);
197703
+ this.view.watch("zoom", function () {
197704
+ if (that.view.zoom <= 12) {
197705
+ if (that.yzDistance == 0||that.yzDistance == 1) {
197706
+
197707
+ that.yzDistance = 2
197708
+ that.getMeteorologicalLayer(true,that.yzDistance);
197709
+ }
197710
+ }else if(that.view.zoom > 12 && that.view.zoom <= 14){
197711
+ if (that.yzDistance == 0||that.yzDistance == 2) {
197712
+
197713
+ that.yzDistance = 1
197714
+ that.getMeteorologicalLayer(true,that.yzDistance);
197715
+ }
197716
+ }else if(that.view.zoom > 14){
197717
+ if (that.yzDistance == 1||that.yzDistance == 2) {
197718
+
197719
+ that.yzDistance = 0
197720
+ that.getMeteorologicalLayer(true,that.yzDistance);
197721
+ }
197722
+ }
197723
+ });
197619
197724
  });
197620
197725
  },
197621
- getMeteorologicalLayer(update) {
197726
+ getMeteorologicalLayer(update, yzDistance) {
197622
197727
  Object(esri_loader["loadModules"])(["esri/Graphic"]).then(([Graphic]) => {
197728
+ let createPointGraphic = function (
197729
+ item,
197730
+ index,
197731
+ point,
197732
+ symbol,
197733
+ panduanValue
197734
+ ) {
197735
+ return new Graphic({
197736
+ attributes: {
197737
+ objId: index + 1,
197738
+ X: item.lon,
197739
+ Y: item.lat,
197740
+ opma_cliqu: "YG1",
197741
+ opma_manag: item.managerCorpId,
197742
+ opma_man_2: item.managerId,
197743
+ panduan: panduanValue,
197744
+ ...item,
197745
+ },
197746
+ geometry: point,
197747
+ symbol: symbol,
197748
+ });
197749
+ };
197750
+ let thinOutPoints = function(points, roadIds, skipNDeleteM) {
197751
+ const [n, m] = skipNDeleteM; // 解构赋值获取n和m
197752
+
197753
+ // 根据roadId对点位进行分组
197754
+ const groupedByRoad = roadIds.reduce((acc, roadId) => {
197755
+ acc[roadId] = points.filter(point => point.roadId === roadId);
197756
+ return acc;
197757
+ }, {});
197758
+
197759
+ // 对每个道路进行抽稀操作
197760
+ Object.keys(groupedByRoad).forEach(roadId => {
197761
+ let roadPoints = groupedByRoad[roadId];
197762
+
197763
+ if (roadPoints.length > n + m) { // 如果有足够的点应用指定的抽稀策略
197764
+ const thinnedPoints = [];
197765
+
197766
+ for(let i = 0; i < roadPoints.length; i += n + m) {
197767
+ thinnedPoints.push(roadPoints[i]); // 保留第i个点
197768
+
197769
+ // 自动跳过接下来的n个点并删除m个点
197770
+ }
197771
+
197772
+ groupedByRoad[roadId] = thinnedPoints;
197773
+ } else if (roadPoints.length > 1) { // 如果点数不足但大于1,则使用默认策略(隔一个删两个)
197774
+ const thinnedPoints = [];
197775
+
197776
+ for(let i = 0; i < roadPoints.length; i += 3) { // 隔一个删两个
197777
+ thinnedPoints.push(roadPoints[i]);
197778
+ }
197779
+
197780
+ groupedByRoad[roadId] = thinnedPoints;
197781
+ }
197782
+ // 如果只有一点或没有点,则无需进行任何处理
197783
+ });
197784
+
197785
+ // 将抽稀后的点重新组合成一个数组
197786
+ const thinnedPointsArray = Object.values(groupedByRoad).flat();
197787
+
197788
+ return thinnedPointsArray;
197789
+ }
197790
+ let filterAndMergePoints = function(thinnedArray, originalArray) {
197791
+ // 定义判断是否满足条件的函数
197792
+ const isSpecialPoint = (item) =>
197793
+ item.vis <= 500 ||
197794
+ item.pph === 3 ||
197795
+ ((item.pph === 1 || item.pph === 4) &&
197796
+ (item.preLevel === 5 || item.preLevel === 6 || item.preLevel === 7));
197797
+
197798
+ // 从抽稀后的数组中过滤掉满足条件的点
197799
+ const filteredThinnedArray = thinnedArray.filter(point => !isSpecialPoint(point));
197800
+
197801
+ // 从原数组中筛选出所有满足条件的点
197802
+ const specialPointsFromOriginal = originalArray.filter(isSpecialPoint);
197803
+
197804
+ // 将满足条件的点添加回抽稀后的数组
197805
+ const mergedArray = [...filteredThinnedArray, ...specialPointsFromOriginal];
197806
+
197807
+ return mergedArray;
197808
+ }
197623
197809
  axios_default()({
197624
197810
  method: "post",
197625
197811
  url: this.$GlobalConfig.localServerUrl + "get_weather_info",
197626
- // url: '/meteApi/api/weather_service/get_weather_info',
197627
197812
  data: {
197628
197813
  orgCode: "",
197629
197814
  managerId: "",
@@ -197634,8 +197819,22 @@ class echartsLayer_EchartsglLayer {
197634
197819
  forecastHour: "",
197635
197820
  },
197636
197821
  }).then((res) => {
197822
+ let originalArr = res.data.data
197637
197823
  let pointGraphicArr = [];
197638
- res.data.data.forEach((item, index) => {
197824
+ let uniqueRoadIds = [...new Set(originalArr.map(item => item.roadId))];
197825
+ let endArr = null
197826
+
197827
+ if (yzDistance == 0) {
197828
+ endArr = originalArr;
197829
+ }else if (yzDistance == 1) {
197830
+ let thinnedArr = thinOutPoints(originalArr, uniqueRoadIds,[1,1]);
197831
+ endArr = filterAndMergePoints(thinnedArr, originalArr)
197832
+ }
197833
+ else if (yzDistance == 2) {
197834
+ let thinnedArr = thinOutPoints(originalArr, uniqueRoadIds,[1,8]);
197835
+ endArr = filterAndMergePoints(thinnedArr, originalArr)
197836
+ }
197837
+ endArr.forEach((item, index) => {
197639
197838
  let point = {
197640
197839
  //点设置
197641
197840
  type: "point", //类型:点、线、面
@@ -197646,33 +197845,47 @@ class echartsLayer_EchartsglLayer {
197646
197845
  //点符号设置
197647
197846
  type: "simple-marker",
197648
197847
  color: [226, 119, 35], //符号颜色
197649
- size: 8,
197848
+ size: 30,
197650
197849
  outline: {
197651
197850
  //轮廓设置
197652
197851
  color: [0, 0, 0], //轮廓颜色
197653
- width: 1, //轮廓宽度
197852
+ width: 5, //轮廓宽度
197654
197853
  },
197655
197854
  // yoffset: (item.iconHeight || arr.height) / 2 + "px",
197656
197855
  };
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
- });
197856
+ let pointGraphic = null;
197857
+ if (
197858
+ item.vis <= 500 ||
197859
+ item.pph === 3 ||
197860
+ ((item.pph === 1 || item.pph === 4) &&
197861
+ (item.preLevel === 5 ||
197862
+ item.preLevel === 6 ||
197863
+ item.preLevel === 7))
197864
+ ) {
197865
+ pointGraphic = createPointGraphic(
197866
+ item,
197867
+ index,
197868
+ point,
197869
+ simpleMarkerSymbol,
197870
+ "2"
197871
+ );
197872
+ } else {
197873
+ pointGraphic = createPointGraphic(
197874
+ item,
197875
+ index,
197876
+ point,
197877
+ simpleMarkerSymbol,
197878
+ "1"
197879
+ );
197880
+ }
197671
197881
  pointGraphicArr.push(pointGraphic);
197672
197882
  });
197673
197883
  if (update) {
197674
197884
  this.meteorologicaldataLayer.applyEdits({
197675
- updateFeatures: pointGraphicArr,
197885
+ deleteFeatures: this.pointGraphicArrCC,
197886
+ });
197887
+ this.meteorologicaldataLayer.applyEdits({
197888
+ addFeatures: pointGraphicArr,
197676
197889
  });
197677
197890
  if (
197678
197891
  this.$refs.infoWindowRef &&
@@ -197685,12 +197898,9 @@ class echartsLayer_EchartsglLayer {
197685
197898
  addFeatures: pointGraphicArr,
197686
197899
  });
197687
197900
  }
197688
- setTimeout(() => {
197689
- this.meteorologicaldataLayer.queryFeatureCount().then((res) => {
197690
- // console.log(res)
197691
- this.$set(this.tabListNumber, "meteorologicaldataLayer", res);
197692
- });
197693
- }, 3000);
197901
+ // this.meteorologicaldataLayer.refresh()
197902
+ this.pointGraphicArrCC = pointGraphicArr;
197903
+ this.$set(this.tabListNumber, "meteorologicaldataLayer", endArr.length);
197694
197904
  });
197695
197905
  });
197696
197906
  },
@@ -199529,7 +199739,7 @@ class echartsLayer_EchartsglLayer {
199529
199739
  {
199530
199740
  value: "2",
199531
199741
  symbol: Symbol2,
199532
- }
199742
+ },
199533
199743
  ],
199534
199744
  };
199535
199745
  var renderer = rendererJsonUtils.fromJSON(renderJson);
@@ -201262,7 +201472,7 @@ class echartsLayer_EchartsglLayer {
201262
201472
  }
201263
201473
  this.congestionLineLayer = new GraphicsLayer({
201264
201474
  id: "congestionLineLayer",
201265
- zIndex: 20
201475
+ zIndex: 20,
201266
201476
  });
201267
201477
  this.congestionLineLayer.visible = false;
201268
201478
  this.map.add(this.congestionLineLayer);
@@ -201274,7 +201484,7 @@ class echartsLayer_EchartsglLayer {
201274
201484
  }
201275
201485
  this.congestionPointLayer = new GraphicsLayer({
201276
201486
  id: "congestionPointLayer",
201277
- zIndex: 30
201487
+ zIndex: 30,
201278
201488
  });
201279
201489
  this.congestionPointLayer.visible = false;
201280
201490
  this.map.add(this.congestionPointLayer);
@@ -201285,18 +201495,21 @@ class echartsLayer_EchartsglLayer {
201285
201495
  this.congestionPointLayer.visible = false;
201286
201496
  },
201287
201497
  toCongestionPointLayer(data) {
201288
- Object(esri_loader["loadModules"])(["esri/Graphic","esri/geometry/Polyline","esri/symbols/SimpleLineSymbol","esri/Color"]).then(([Graphic, Polyline, SimpleLineSymbol, Color]) => {
201498
+ Object(esri_loader["loadModules"])([
201499
+ "esri/Graphic",
201500
+ "esri/geometry/Polyline",
201501
+ "esri/symbols/SimpleLineSymbol",
201502
+ "esri/Color",
201503
+ ]).then(([Graphic, Polyline, SimpleLineSymbol, Color]) => {
201289
201504
  let res = data;
201290
- let status = 0
201505
+ let status = 0;
201291
201506
  if (res) {
201292
201507
  if (this.congestionPointLayer) {
201293
201508
  this.congestionPointLayer.removeAll();
201294
- }
201295
- else if(this.congestionLineLayer){
201509
+ } else if (this.congestionLineLayer) {
201296
201510
  this.congestionLineLayer.removeAll();
201297
- }
201298
- else{
201299
- this.initCongestionPointLayer()
201511
+ } else {
201512
+ this.initCongestionPointLayer();
201300
201513
  }
201301
201514
  res.forEach((item, index) => {
201302
201515
  let imgUrl1 = this.dudian_sfz_img;
@@ -201306,10 +201519,10 @@ class echartsLayer_EchartsglLayer {
201306
201519
  type: "point",
201307
201520
  longitude: item.lng,
201308
201521
  latitude: item.lat,
201309
- }
201522
+ };
201310
201523
  let lineSymbol = new SimpleLineSymbol({
201311
201524
  color: new Color([255, 0, 0]),
201312
- width: 5
201525
+ width: 5,
201313
201526
  });
201314
201527
  let simpleMarkerSymbol1 = {
201315
201528
  type: "picture-marker",
@@ -201336,7 +201549,7 @@ class echartsLayer_EchartsglLayer {
201336
201549
  Y: Number(item.lat),
201337
201550
  ...item,
201338
201551
  },
201339
- geometry: point
201552
+ geometry: point,
201340
201553
  });
201341
201554
  if (item.holidays[0].positionType == "point") {
201342
201555
  pointGraphic.symbol = simpleMarkerSymbol3;
@@ -201344,18 +201557,18 @@ class echartsLayer_EchartsglLayer {
201344
201557
  status = 1;
201345
201558
 
201346
201559
  this.congestionLineLayer.visible = true;
201347
- let paths = item.polyLine.map(point => {
201560
+ let paths = item.polyLine.map((point) => {
201348
201561
  const [longitude, latitude] = point.split(",").map(Number);
201349
201562
  return [longitude, latitude];
201350
201563
  });
201351
201564
  let polyline = new Polyline({
201352
- paths: [paths]
201353
- })
201565
+ paths: [paths],
201566
+ });
201354
201567
  let polylineGraphic = new Graphic({
201355
201568
  geometry: polyline,
201356
- symbol: lineSymbol
201569
+ symbol: lineSymbol,
201357
201570
  });
201358
- this.congestionLineLayer.add(polylineGraphic)
201571
+ this.congestionLineLayer.add(polylineGraphic);
201359
201572
  }
201360
201573
  if (item.holidays[0].positionType == "station") {
201361
201574
  pointGraphic.symbol = simpleMarkerSymbol1;
@@ -201813,35 +202026,35 @@ class echartsLayer_EchartsglLayer {
201813
202026
  });
201814
202027
  },
201815
202028
  creatPieH() {
201816
- let dataArr = []
202029
+ let dataArr = [];
201817
202030
  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
- }
202031
+ if (i % 2 === 0) {
202032
+ dataArr.push({
202033
+ name: (i + 1).toString(),
202034
+ value: 20,
202035
+ itemStyle: {
202036
+ normal: {
202037
+ color: "#34B1FB",
202038
+ borderWidth: 0,
202039
+ borderColor: "rgba(0,0,0,0)",
202040
+ },
202041
+ },
202042
+ });
202043
+ } else {
202044
+ dataArr.push({
202045
+ name: (i + 1).toString(),
202046
+ value: 20,
202047
+ itemStyle: {
202048
+ normal: {
202049
+ color: "rgba(0,0,0,0)",
202050
+ borderWidth: 0,
202051
+ borderColor: "rgba(0,0,0,0)",
202052
+ },
202053
+ },
202054
+ });
202055
+ }
201843
202056
  }
201844
- return dataArr
202057
+ return dataArr;
201845
202058
  },
201846
202059
  createEffectScatter(divId, newEnergy, size, cityName) {
201847
202060
  const chartDom = document.getElementById(divId);
@@ -201853,52 +202066,59 @@ class echartsLayer_EchartsglLayer {
201853
202066
  top: "center",
201854
202067
  textStyle: {
201855
202068
  fontSize: 14,
201856
- color: '#FFF'
201857
- }
202069
+ color: "#FFF",
202070
+ },
201858
202071
  },
201859
202072
  tooltip: {
201860
- trigger: 'item',
201861
- backgroundColor: 'rgba(0,0,0,0)', // 设置为透明
202073
+ trigger: "item",
202074
+ backgroundColor: "rgba(0,0,0,0)", // 设置为透明
201862
202075
  borderWidth: 0,
201863
202076
  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
202077
  color: "#FFF",
201883
- fontSize: 11,
201884
- position: 'center',//'inside',
201885
- formatter: '{a}' // 自定义标签格式
201886
202078
  },
201887
- labelLine: {
201888
- show: false
202079
+ position: "top",
202080
+ extraCssText:
202081
+ "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%;",
202082
+ formatter: "{b}: 100%",
202083
+ },
202084
+ series: [
202085
+ {
202086
+ name: "车辆类型",
202087
+ type: "pie",
202088
+ itemStyle: {
202089
+ borderRadius: 3,
202090
+ borderColor: "#fff",
202091
+ borderWidth: 0,
202092
+ color: this.colorMap[cityName],
202093
+ opacity: 0.8,
202094
+ },
202095
+ label: {
202096
+ show: false,
202097
+ color: "#FFF",
202098
+ fontSize: 11,
202099
+ position: "center", //'inside',
202100
+ formatter: "{a}", // 自定义标签格式
202101
+ },
202102
+ labelLine: {
202103
+ show: false,
202104
+ },
202105
+ data: [
202106
+ { value: newEnergy, name: "新能源车辆" }, // 只显示新能源车辆
202107
+ ],
201889
202108
  },
201890
- data: [
201891
- { value: newEnergy, name: '新能源车辆' } // 只显示新能源车辆
201892
- ]
201893
- }]
202109
+ ],
201894
202110
  };
201895
202111
  myChart.setOption(option);
201896
202112
  },
201897
- initScatterChartLayer(){
201898
- Object(esri_loader["loadModules"])(["esri/geometry/Point", "esri/Graphic", "esri/layers/GraphicsLayer"]).then(([Point,Graphic,GraphicsLayer]) => {
202113
+ initScatterChartLayer() {
202114
+ Object(esri_loader["loadModules"])([
202115
+ "esri/geometry/Point",
202116
+ "esri/Graphic",
202117
+ "esri/layers/GraphicsLayer",
202118
+ ]).then(([Point, Graphic, GraphicsLayer]) => {
201899
202119
  this.scatterChartLayer = new GraphicsLayer();
201900
202120
  this.map.add(this.scatterChartLayer);
201901
- this.cities.forEach(city => {
202121
+ this.cities.forEach((city) => {
201902
202122
  const point = new Point({ latitude: city.lat, longitude: city.lng });
201903
202123
  const graphic = new Graphic({
201904
202124
  geometry: point,
@@ -201908,16 +202128,16 @@ class echartsLayer_EchartsglLayer {
201908
202128
  size: 0,
201909
202129
  outline: {
201910
202130
  color: [255, 255, 255],
201911
- width: 1
201912
- }
201913
- }
202131
+ width: 1,
202132
+ },
202133
+ },
201914
202134
  });
201915
202135
  // 创建ECharts容器
201916
202136
  const divId = `chart-${city.name}`;
201917
- const chartDiv = document.createElement('div');
202137
+ const chartDiv = document.createElement("div");
201918
202138
  chartDiv.id = divId;
201919
- chartDiv.className = 'echarts-container';
201920
- document.getElementById('map').appendChild(chartDiv);
202139
+ chartDiv.className = "echarts-container";
202140
+ document.getElementById("map").appendChild(chartDiv);
201921
202141
  // 计算图表大小
201922
202142
  // 计算新能源车流量的最小值和最大值
201923
202143
  // const newEnergyValues = this.cities.map(item => item.newEnergy);
@@ -201926,7 +202146,13 @@ class echartsLayer_EchartsglLayer {
201926
202146
  // 计算图表大小
201927
202147
  const minSize = 80;
201928
202148
  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))));
202149
+ const newSize =
202150
+ minSize +
202151
+ (maxSize - minSize) *
202152
+ ((city.newEnergy -
202153
+ Math.min(...this.cities.map((d) => d.newEnergy))) /
202154
+ (Math.max(...this.cities.map((d) => d.newEnergy)) -
202155
+ Math.min(...this.cities.map((d) => d.newEnergy))));
201930
202156
  chartDiv.style.width = `${newSize}px`;
201931
202157
  chartDiv.style.height = `${newSize}px`;
201932
202158
  // 初始化ECharts图表
@@ -201973,103 +202199,113 @@ class echartsLayer_EchartsglLayer {
201973
202199
  this.scatterChartLayer.add(graphic);
201974
202200
  this.chartElements.push(chartDiv);
201975
202201
  });
201976
-
201977
- })
202202
+ });
201978
202203
  },
201979
202204
 
201980
202205
  //所有气象设备分类图层
201981
- initAllWeatherLayer(){
202206
+ initAllWeatherLayer() {
201982
202207
  let data = {
201983
202208
  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
202209
+ devicetype: "",
202210
+ };
202211
+ Object(esri_loader["loadModules"])(["esri/layers/GraphicsLayer", "esri/Graphic"]).then(
202212
+ ([GraphicsLayer, Graphic]) => {
202213
+ this.allWeatherLayer = new GraphicsLayer({
202214
+ id: "allWeatherLayer",
202215
+ });
202216
+ this.allWeatherLayer.visible = false;
202217
+ this.map.add(this.allWeatherLayer);
202218
+ const updateLayerData = () => {
202219
+ this.allWeatherLayer.removeAll();
202220
+ Object(apiNow["a" /* getAllWeatherList */])(data).then((res) => {
202221
+ const getURLByValue = (devicetype, status) => {
202222
+ let img_Url;
202223
+ if (devicetype == "010") {
202224
+ //气象监测器
202225
+ if (status == "1") {
202226
+ img_Url = this.dev_meteorology_online;
202227
+ } else if (status == "2") {
202228
+ img_Url = this.dev_meteorology_offline;
202229
+ } else {
202230
+ img_Url = this.dev_meteorology_error;
202231
+ }
202232
+ } else if (devicetype == "013") {
202233
+ //道路结冰监测装置
202234
+ if (status == "1") {
202235
+ img_Url = this.dev_icingDetection_online;
202236
+ } else if (status == "2") {
202237
+ img_Url = this.dev_icingDetection_offline;
202238
+ } else {
202239
+ img_Url = this.dev_icingDetection_error;
202240
+ }
202241
+ } else if (devicetype == "020") {
202242
+ //CO/VI检测器
202243
+ if (status == "1") {
202244
+ img_Url = this.dev_coDetection_online;
202245
+ } else if (status == "2") {
202246
+ img_Url = this.dev_coDetection_offline;
202247
+ } else {
202248
+ img_Url = this.dev_coDetection_error;
202249
+ }
202250
+ } else if (devicetype == "023") {
202251
+ //能见度检测器
202252
+ if (status == "1") {
202253
+ img_Url = this.dev_visibility_online;
202254
+ } else if (status == "2") {
202255
+ img_Url = this.dev_visibility_offline;
202256
+ } else {
202257
+ img_Url = this.dev_visibility_error;
202258
+ }
202259
+ } else if (devicetype == "030") {
202260
+ //风速风向监测仪
202261
+ if (status == "1") {
202262
+ img_Url = this.dev_windDdirection_online;
202263
+ } else if (status == "2") {
202264
+ img_Url = this.dev_windDdirection_offline;
202265
+ } else {
202266
+ img_Url = this.dev_windDdirection_error;
202267
+ }
202036
202268
  }
202269
+ return img_Url;
202270
+ };
202271
+ if (res.data) {
202272
+ res.data.forEach((item, index) => {
202273
+ const img_Url = getURLByValue(item.deviceType, item.status);
202274
+ let point = {
202275
+ type: "point",
202276
+ longitude: Number(item.lng),
202277
+ latitude: Number(item.lat),
202278
+ };
202279
+ let simpleMarkerSymbol = {
202280
+ type: "picture-marker",
202281
+ url: img_Url,
202282
+ width: 35 * this.styleZoom + "px",
202283
+ height: 35 * this.styleZoom + "px",
202284
+ };
202285
+ let pointGraphic = new Graphic({
202286
+ attributes: {
202287
+ objId: index + 1,
202288
+ X: Number(item.lng),
202289
+ Y: Number(item.lat),
202290
+ ...item,
202291
+ },
202292
+ geometry: point,
202293
+ symbol: simpleMarkerSymbol,
202294
+ });
202295
+ this.allWeatherLayer.add(pointGraphic);
202296
+ });
202297
+ this.$set(
202298
+ this.tabListNumber,
202299
+ "allWeatherLayer",
202300
+ res.data.length
202301
+ );
202037
202302
  }
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
- })
202303
+ });
202304
+ };
202305
+ updateLayerData();
202306
+ setInterval(updateLayerData, 20 * 60 * 1000);
202069
202307
  }
202070
- updateLayerData();
202071
- setInterval(updateLayerData, 20 * 60 * 1000);
202072
- })
202308
+ );
202073
202309
  },
202074
202310
 
202075
202311
  // 外部图表联动饼图图层
@@ -202079,119 +202315,124 @@ class echartsLayer_EchartsglLayer {
202079
202315
  const option = {
202080
202316
  title: {
202081
202317
  text: CityName,
202082
- bottom: 'bottom',
202318
+ bottom: "bottom",
202083
202319
  textStyle: {
202084
202320
  fontSize: 13,
202085
202321
  color: "rgba(255, 255, 255, 1)",
202086
- fontFamily: "serif"
202322
+ fontFamily: "serif",
202087
202323
  },
202088
- left: 'center'
202324
+ left: "center",
202089
202325
  },
202090
202326
  tooltip: {
202091
- trigger: 'item',
202092
- backgroundColor: 'rgba(0,0,0,0)',
202327
+ trigger: "item",
202328
+ backgroundColor: "rgba(0,0,0,0)",
202093
202329
  borderWidth: 0,
202094
202330
  textStyle: {
202095
- color: '#FFF'
202331
+ color: "#FFF",
202096
202332
  },
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%;',
202333
+ position: "top",
202334
+ extraCssText:
202335
+ "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
202336
  formatter: function (params) {
202100
202337
  const color = params.color;
202101
- const percent = (params.value / total * 100).toFixed(2);
202338
+ const percent = ((params.value / total) * 100).toFixed(2);
202102
202339
  return `<div style="font-size:13px;display: flex; align-items: center;justify-content: center;margin-top: -0.01rem;">
202103
202340
  <span style="display: inline-block;width: 0.05rem; height: 0.05rem; background-color: ${color};border-radius:1rem"></span>
202104
202341
  <span style="margin-left: 5px;">${params.name} :&nbsp</span><span style="font-weight: bold;color: ${color}"> ${percent}%</span>
202105
202342
  </div>`;
202106
- }
202343
+ },
202107
202344
  },
202108
202345
  series: [
202109
202346
  {
202110
- name: '车辆类型',
202111
- type: 'pie',
202112
- radius: '65%',
202347
+ name: "车辆类型",
202348
+ type: "pie",
202349
+ radius: "65%",
202113
202350
  itemStyle: {
202114
- borderColor: 'RGBA(14, 54, 99, .8)',
202115
- borderWidth: 2
202351
+ borderColor: "RGBA(14, 54, 99, .8)",
202352
+ borderWidth: 2,
202116
202353
  },
202117
202354
  label: {
202118
202355
  show: false,
202119
202356
  color: "#FFF",
202120
202357
  fontSize: 11,
202121
- position: 'inside',//'inside',
202122
- formatter: '{b}\n{d}%'
202358
+ position: "inside", //'inside',
202359
+ formatter: "{b}\n{d}%",
202123
202360
  },
202124
202361
  labelLine: {
202125
- show: false
202362
+ show: false,
202126
202363
  },
202127
- data: [
202128
- {
202129
- value: total - newEnergy,
202130
- name: '其它车辆',
202131
- label: {
202132
- show: false
202364
+ data: [
202365
+ {
202366
+ value: total - newEnergy,
202367
+ name: "其它车辆",
202368
+ label: {
202369
+ show: false,
202370
+ },
202371
+ itemStyle: {
202372
+ color: "#0179FF",
202133
202373
  },
202134
- itemStyle:{
202135
- color: '#0179FF'
202136
- }
202137
202374
  },
202138
- {
202139
- value: newEnergy,
202140
- name: '新能源车辆',
202141
- label: {
202142
- show: false // 新能源车辆不显示标签
202375
+ {
202376
+ value: newEnergy,
202377
+ name: "新能源车辆",
202378
+ label: {
202379
+ show: false, // 新能源车辆不显示标签
202143
202380
  },
202144
- itemStyle:{
202145
- color: '#10D490'
202146
- }
202147
- }
202148
- ]
202381
+ itemStyle: {
202382
+ color: "#10D490",
202383
+ },
202384
+ },
202385
+ ],
202149
202386
  },
202150
202387
  {
202151
- type: 'pie',
202388
+ type: "pie",
202152
202389
  zlevel: 2,
202153
202390
  silent: true,
202154
- center: ['50%', '50%'],
202155
- radius: ['83%', '88%'],
202391
+ center: ["50%", "50%"],
202392
+ radius: ["83%", "88%"],
202156
202393
  startAngle: 45,
202157
202394
  label: {
202158
- normal: {
202159
- show: false
202160
- }
202395
+ normal: {
202396
+ show: false,
202397
+ },
202161
202398
  },
202162
202399
  labelLine: {
202163
- normal: {
202164
- show: false
202165
- }
202400
+ normal: {
202401
+ show: false,
202402
+ },
202166
202403
  },
202167
- data: this.creatPieH()
202404
+ data: this.creatPieH(),
202168
202405
  },
202169
202406
  {
202170
- type: 'pie',
202171
- radius: '83%',
202172
- center: ['50%', '50%'],
202407
+ type: "pie",
202408
+ radius: "83%",
202409
+ center: ["50%", "50%"],
202173
202410
  z: 0,
202174
202411
  silent: true,
202175
202412
  itemStyle: {
202176
- normal: {
202177
- color: 'RGBA(14, 44, 81, 0.6)'
202178
- }
202413
+ normal: {
202414
+ color: "RGBA(14, 44, 81, 0.6)",
202415
+ },
202179
202416
  },
202180
202417
  hoverAnimation: false,
202181
- data: [100]
202182
- }
202183
- ]
202418
+ data: [100],
202419
+ },
202420
+ ],
202184
202421
  };
202185
202422
  myChart.setOption(option);
202186
202423
  },
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'});
202424
+ initPieChartLayer(chartData, ispPercent) {
202425
+ Object(esri_loader["loadModules"])([
202426
+ "esri/geometry/Point",
202427
+ "esri/Graphic",
202428
+ "esri/layers/GraphicsLayer",
202429
+ ]).then(([Point, Graphic, GraphicsLayer]) => {
202430
+ this.pieChartLayer = new GraphicsLayer({ id: "pieChartLayer" });
202190
202431
  this.map.add(this.pieChartLayer);
202191
- const newEnergyValues = chartData.map(item => item.newEnergy);
202432
+ const newEnergyValues = chartData.map((item) => item.newEnergy);
202192
202433
  const minNewEnergy = Math.min(...newEnergyValues);
202193
202434
  const maxNewEnergy = Math.max(...newEnergyValues);
202194
- chartData.forEach(city => {
202435
+ chartData.forEach((city) => {
202195
202436
  const point = new Point({ latitude: city.lat, longitude: city.lng });
202196
202437
  const graphic = new Graphic({
202197
202438
  geometry: point,
@@ -202201,25 +202442,31 @@ class echartsLayer_EchartsglLayer {
202201
202442
  size: 0,
202202
202443
  outline: {
202203
202444
  color: [255, 255, 255],
202204
- width: 1
202205
- }
202206
- }
202445
+ width: 1,
202446
+ },
202447
+ },
202207
202448
  });
202208
202449
  const divId = `chart-${city.name}`;
202209
- const chartDiv = document.createElement('div');
202450
+ const chartDiv = document.createElement("div");
202210
202451
  chartDiv.id = divId;
202211
- chartDiv.className = 'echarts-container';
202212
- document.getElementById('map').appendChild(chartDiv);
202452
+ chartDiv.className = "echarts-container";
202453
+ document.getElementById("map").appendChild(chartDiv);
202213
202454
  const minSize = 60;
202214
202455
  const maxSize = 110;
202215
202456
  const baseSize = 80;
202216
202457
  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);
202458
+ if (ispPercent === 0) {
202459
+ newSize =
202460
+ minSize +
202461
+ ((maxSize - minSize) * (city.newEnergy - minNewEnergy)) /
202462
+ (maxNewEnergy - minNewEnergy);
202463
+ } else if (ispPercent === 1) {
202464
+ newSize = baseSize;
202465
+ } else {
202466
+ newSize =
202467
+ minSize +
202468
+ ((maxSize - minSize) * (city.newEnergy - minNewEnergy)) /
202469
+ (maxNewEnergy - minNewEnergy);
202223
202470
  }
202224
202471
  chartDiv.style.width = `${newSize}px`;
202225
202472
  chartDiv.style.height = `${newSize}px`;
@@ -202258,20 +202505,20 @@ class echartsLayer_EchartsglLayer {
202258
202505
  this.pieChartLayer.add(graphic);
202259
202506
  this.chartElements.push(chartDiv);
202260
202507
  });
202261
- })
202508
+ });
202262
202509
  },
202263
202510
  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)
202511
+ this.chartElements.forEach((chartDiv) => {
202512
+ document.getElementById("map").removeChild(chartDiv);
202513
+ });
202514
+ this.chartElements = [];
202515
+ if (this.pieChartLayer) {
202516
+ this.pieChartLayer.removeAll();
202517
+ this.map.remove(this.pieChartLayer);
202271
202518
  }
202272
202519
  },
202273
202520
  //新能源车辆图层
202274
- initNevsstationflowsumLayer(){
202521
+ initNevsstationflowsumLayer() {
202275
202522
  Object(esri_loader["loadModules"])(["esri/layers/GraphicsLayer"]).then(([GraphicsLayer]) => {
202276
202523
  if (this.nevsstationflowLayer) {
202277
202524
  this.nevsstationflowLayer.removeAll();
@@ -202279,62 +202526,66 @@ class echartsLayer_EchartsglLayer {
202279
202526
  this.nevsstationflowLayer = null;
202280
202527
  }
202281
202528
  this.nevsstationflowLayer = new GraphicsLayer({
202282
- id: "nevsstationflowLayer"
202529
+ id: "nevsstationflowLayer",
202283
202530
  });
202284
202531
  this.nevsstationflowLayer.visible = false;
202285
202532
  this.map.add(this.nevsstationflowLayer);
202286
-
202287
- })
202533
+ this.toNevsstationflowsumLayer();
202534
+ });
202288
202535
  },
202289
- toNevsstationflowsumLayer(){
202536
+ toNevsstationflowsumLayer() {
202290
202537
  Object(esri_loader["loadModules"])(["esri/Graphic"]).then(([Graphic]) => {
202291
202538
  let data = {
202292
- sysid: 'sdgs_it_brain',
202293
- service_code: 'ts_a_d_nevsstationflowsum'
202294
- }
202539
+ sysid: "sdgs_it_brain",
202540
+ service_code: "ts_a_d_nevsstationflowsum",
202541
+ };
202295
202542
  Object(apiNow["j" /* getNevsstationflowsum */])(data).then((res) => {
202296
202543
  const colorMap = [
202297
- '#f01329', '#f08513', '#f0da13', '#1317f0', '#13e5f0','#3FD7FE'
202544
+ "#f01329",
202545
+ "#f08513",
202546
+ "#f0da13",
202547
+ "#1317f0",
202548
+ "#13e5f0",
202549
+ "#3FD7FE",
202298
202550
  ];
202299
202551
  const getColorByValue = (value) => {
202300
202552
  let color;
202301
202553
  let size;
202302
202554
  if (value > 5000) {
202303
- color = colorMap[0];
202304
- size = 22;
202555
+ color = colorMap[0];
202556
+ size = 22;
202305
202557
  } else if (value >= 4000) {
202306
- color = colorMap[1];
202307
- size = 19;
202558
+ color = colorMap[1];
202559
+ size = 19;
202308
202560
  } else if (value >= 3000) {
202309
- color = colorMap[2];
202310
- size = 16;
202561
+ color = colorMap[2];
202562
+ size = 16;
202311
202563
  } else if (value >= 2000) {
202312
- color = colorMap[3];
202313
- size = 13;
202564
+ color = colorMap[3];
202565
+ size = 13;
202314
202566
  } else {
202315
- color = colorMap[4];
202316
- size = 10;
202567
+ color = colorMap[4];
202568
+ size = 10;
202317
202569
  }
202318
-
202319
202570
  return { color, size };
202320
- }
202571
+ };
202321
202572
  res.sort((a, b) => a.total_flow_nevs - b.total_flow_nevs);
202322
202573
  res.forEach((item, index) => {
202323
- const { color, size } = getColorByValue(item.total_flow_nevs)
202574
+ const { color, size } = getColorByValue(item.total_flow_nevs);
202324
202575
  let point = {
202325
- type: 'point',
202326
- longitude: item.lng,
202576
+ type: "point",
202577
+ longitude: item.lng,
202327
202578
  latitude: item.lat,
202328
- }
202579
+ };
202329
202580
  let simpleMarkerSymbol = {
202330
202581
  type: "simple-marker",
202331
202582
  style: "circle",
202332
- color: this.hexToRgba(color,0.8),
202333
- size: size,
202583
+ color: this.hexToRgba(color, 0.8),
202584
+ size: size,
202334
202585
  outline: {
202335
- width: 0
202336
- }
202337
- }
202586
+ width: 0,
202587
+ },
202588
+ };
202338
202589
  let pointGraphic = new Graphic({
202339
202590
  attributes: {
202340
202591
  objId: index + 1,
@@ -202343,26 +202594,26 @@ class echartsLayer_EchartsglLayer {
202343
202594
  ...item,
202344
202595
  },
202345
202596
  geometry: point,
202346
- symbol: simpleMarkerSymbol
202347
- })
202348
- this.nevsstationflowLayer.add(pointGraphic)
202349
- })
202350
- })
202351
- })
202597
+ symbol: simpleMarkerSymbol,
202598
+ });
202599
+ this.nevsstationflowLayer.add(pointGraphic);
202600
+ });
202601
+ });
202602
+ });
202352
202603
  },
202353
- removeNevsstationflowLayer(){
202354
- if(this.nevsstationflowLayer){
202355
- this.nevsstationflowLayer.removeAll()
202604
+ removeNevsstationflowLayer() {
202605
+ if (this.nevsstationflowLayer) {
202606
+ this.nevsstationflowLayer.removeAll();
202356
202607
  }
202357
202608
  },
202358
202609
  hexToRgba(hex, alpha = 1) {
202359
- hex = hex.replace(/^#/, '');
202610
+ hex = hex.replace(/^#/, "");
202360
202611
  let bigint = parseInt(hex, 16);
202361
202612
  let r = (bigint >> 16) & 255;
202362
202613
  let g = (bigint >> 8) & 255;
202363
202614
  let b = bigint & 255;
202364
202615
  return [r, g, b, alpha]; // 返回带有alpha通道的RGBA格式颜色数组
202365
- }
202616
+ },
202366
202617
  },
202367
202618
  });
202368
202619
 
@@ -202378,15 +202629,15 @@ class echartsLayer_EchartsglLayer {
202378
202629
  isCarPause: false,
202379
202630
  carSpeed: 1,
202380
202631
  layerListSql: {}, //图层Sql字典 用来判断重置的时候值重置右侧树或者获取自己添加的sql
202381
- organizationSql: ['opma_cliqu', 'opma_manag', 'opma_man_2'],
202382
- }
202632
+ organizationSql: ["opma_cliqu", "opma_manag", "opma_man_2"],
202633
+ };
202383
202634
  },
202384
202635
  methods: {
202385
202636
  // 车辆轨迹回放
202386
202637
  carPlayback(list) {
202387
- this.carPause()
202388
- this.closePopup()
202389
- this.delLayerArr(['carPlayback'], true)
202638
+ this.carPause();
202639
+ this.closePopup();
202640
+ this.delLayerArr(["carPlayback"], true);
202390
202641
  this.carSpeed = 1;
202391
202642
  this.isCarPlay = false;
202392
202643
  this.isCarPause = false;
@@ -202402,71 +202653,87 @@ class echartsLayer_EchartsglLayer {
202402
202653
  },
202403
202654
  opts
202404
202655
  );
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)
202656
+ if (Reflect.has(list[0], "iscloudH")) {
202657
+ this.addTrackPlayback(
202658
+ {
202659
+ longitude: list[0].gaoDeLng, //初始车辆位置 经度
202660
+ latitude: list[0].gaoDeLat, //初始车辆位置 纬度
202661
+ icon: this.cloudHelmet_img,
202662
+ width: "35",
202663
+ height: "35",
202664
+ },
202665
+ {
202666
+ width: 2,
202667
+ color: [255, 255, 255],
202668
+ xyArr: [list.map((item) => [item.gaoDeLng, item.gaoDeLat])],
202669
+ },
202670
+ "carPlayback",
202671
+ 50
202672
+ );
202673
+ } else {
202674
+ this.addTrackPlayback(
202675
+ {
202676
+ longitude: list[0].gaoDeLng, //初始车辆位置 经度
202677
+ latitude: list[0].gaoDeLat, //初始车辆位置 纬度
202678
+ icon: this.patrolAccident_img,
202679
+ width: "35",
202680
+ height: "35",
202681
+ },
202682
+ {
202683
+ width: 2,
202684
+ color: [255, 255, 255],
202685
+ xyArr: [list.map((item) => [item.gaoDeLng, item.gaoDeLat])],
202686
+ },
202687
+ "carPlayback",
202688
+ 50
202689
+ );
202429
202690
  }
202430
-
202431
202691
  },
202432
202692
  playbackCarBtn(name) {
202433
- if (name == '播放') {
202693
+ if (name == "播放") {
202434
202694
  this.isCarPlay = true;
202435
- this.carStart()
202436
- } else if (name == '暂停') {
202695
+ this.carStart();
202696
+ } else if (name == "暂停") {
202437
202697
  this.isCarPause = true;
202438
- this.carPause()
202439
- } else if (name == '继续') {
202698
+ this.carPause();
202699
+ } else if (name == "继续") {
202440
202700
  this.isCarPause = false;
202441
- this.carContinue()
202701
+ this.carContinue();
202442
202702
  }
202443
202703
  },
202444
- playbackCarStart() { //车辆轨迹回放开始
202704
+ playbackCarStart() {
202705
+ //车辆轨迹回放开始
202445
202706
  this.isCarPlay = true;
202446
202707
  this.isCarPause = false;
202447
- this.sliderindex = 0
202448
- this.carStart()
202708
+ this.sliderindex = 0;
202709
+ this.carStart();
202449
202710
  },
202450
- playbackSetCarSpeed(num) { //车辆轨迹回放设置速度
202451
- this.setCarSpeed(num * 50)
202711
+ playbackSetCarSpeed(num) {
202712
+ //车辆轨迹回放设置速度
202713
+ this.setCarSpeed(num * 50);
202452
202714
  },
202453
- carDel() { //清除车辆
202454
- this.carPause()
202455
- this.delLayerArr(['carPlayback'], true)
202715
+ carDel() {
202716
+ //清除车辆
202717
+ this.carPause();
202718
+ this.delLayerArr(["carPlayback"], true);
202456
202719
  },
202457
202720
  carBack() {
202458
202721
  this.patrolAccidentLayer_btn_show = false;
202459
- this.sliderindex = 0
202460
- this.carPause()
202461
- this.delLayerArr(['carPlayback'], true)
202722
+ this.sliderindex = 0;
202723
+ this.carPause();
202724
+ this.delLayerArr(["carPlayback"], true);
202462
202725
  },
202463
202726
  /*自定义打点提示框相关*/
202464
202727
  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 })
202728
+ let that = this;
202729
+ let { latitude, longitude, attributes } = event;
202730
+ that.$emit("PTCoordinates", { latitude, longitude });
202731
+ that.closeTooltip();
202732
+ that.openPopupByattr("pointLayer", {
202733
+ X: longitude,
202734
+ Y: latitude,
202735
+ ...attributes,
202736
+ });
202470
202737
  },
202471
202738
  /*
202472
202739
  * 地图工具类
@@ -202475,37 +202742,40 @@ class echartsLayer_EchartsglLayer {
202475
202742
  var mercator = {
202476
202743
  x: 0,
202477
202744
  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
202745
+ };
202746
+ var x = (lonlat.x * 20037508.34) / 180;
202747
+ var y =
202748
+ Math.log(Math.tan(((90 + lonlat.y) * Math.PI) / 360)) / (Math.PI / 180);
202749
+ y = (y * 20037508.34) / 180;
202750
+ mercator.x = x;
202751
+ mercator.y = y;
202752
+ return mercator;
202485
202753
  },
202486
202754
  mercator2lonlat(mercator) {
202487
202755
  var lonlat = {
202488
202756
  x: 0,
202489
202757
  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
202758
+ };
202759
+ var x = (mercator.x / 20037508.34) * 180;
202760
+ var y = (mercator.y / 20037508.34) * 180;
202761
+ y =
202762
+ (180 / Math.PI) *
202763
+ (2 * Math.atan(Math.exp((y * Math.PI) / 180)) - Math.PI / 2);
202764
+ lonlat.x = x;
202765
+ lonlat.y = y;
202766
+ return lonlat;
202497
202767
  },
202498
202768
  // 关闭弹窗
202499
202769
  closePopup() {
202500
202770
  // let test = document.getElementById('popupBox')
202501
202771
  // test.style.display = 'none'
202502
- this.popupBoxShow = false
202503
- this.$emit('closePopupBack')
202772
+ this.popupBoxShow = false;
202773
+ this.$emit("closePopupBack");
202504
202774
  // 关闭高亮线
202505
202775
  if (this.map) {
202506
- let layer = this.map.findLayerById('roadLine-HighLight')
202776
+ let layer = this.map.findLayerById("roadLine-HighLight");
202507
202777
  if (layer) {
202508
- this.map.remove(layer)
202778
+ this.map.remove(layer);
202509
202779
  }
202510
202780
  }
202511
202781
  if (this.$refs.infoWindowRef) {
@@ -202516,24 +202786,25 @@ class echartsLayer_EchartsglLayer {
202516
202786
  this.$refs.infoWindowRef.clearTime()
202517
202787
  } */
202518
202788
  if (this.$refs.infoWindowRef.destroyFlv) {
202519
- this.$refs.infoWindowRef.destroyFlv()
202789
+ this.$refs.infoWindowRef.destroyFlv();
202520
202790
  }
202521
202791
  if (this.$refs.infoWindowRef.showImg) {
202522
- this.$refs.infoWindowRef.showImg()
202792
+ this.$refs.infoWindowRef.showImg();
202523
202793
  }
202524
- this.$refs.infoWindowRef.isPTZCheck = false
202794
+ this.$refs.infoWindowRef.isPTZCheck = false;
202525
202795
  }
202526
- if (this.popupName === 'latlonAndpile' || this.popupName === 'latlonAndpile_danao') {
202796
+ if (
202797
+ this.popupName === "latlonAndpile" ||
202798
+ this.popupName === "latlonAndpile_danao"
202799
+ ) {
202527
202800
  if (this.graphicsLayer_lat) {
202528
202801
  this.graphicsLayer_lat.removeAll();
202529
- let toolbar = this.toolbar.find(
202530
- (item) => item.id == "weight_latlon"
202531
- );
202802
+ let toolbar = this.toolbar.find((item) => item.id == "weight_latlon");
202532
202803
  this.weight_topile_D = toolbar.imgUrl;
202533
202804
  this.latlon_btn_checked = !this.latlon_btn_checked;
202534
202805
  }
202535
202806
  }
202536
- if (this.popupName === 'roadCameraPreset') {
202807
+ if (this.popupName === "roadCameraPreset") {
202537
202808
  if (this.graphicsLayer_video) {
202538
202809
  this.graphicsLayer_video.removeAll();
202539
202810
  /* let toolbar = this.toolbar.find(
@@ -202547,96 +202818,113 @@ class echartsLayer_EchartsglLayer {
202547
202818
  //关闭提示框
202548
202819
  closeTooltip() {
202549
202820
  if (!this.gisTooltipMouseover) {
202550
- let test = document.getElementById('gisTooltipBox')
202551
- test.style.display = 'none'
202821
+ let test = document.getElementById("gisTooltipBox");
202822
+ test.style.display = "none";
202552
202823
  }
202553
202824
  },
202554
202825
  //实时--- 高德路况用
202555
202826
  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()
202827
+ let nowDate = new Date();
202828
+ let year = nowDate.getFullYear();
202829
+ let month = nowDate.getMonth() + 1;
202830
+ let today = nowDate.getDate();
202831
+ let hours = nowDate.getHours();
202832
+ let minutes = nowDate.getMinutes();
202833
+ let seconds = nowDate.getSeconds();
202563
202834
  if (month >= 1 && month <= 9) {
202564
- month = '0' + month
202835
+ month = "0" + month;
202565
202836
  }
202566
202837
  if (today >= 1 && today <= 9) {
202567
- today = '0' + today
202838
+ today = "0" + today;
202568
202839
  }
202569
- let currentdate = year + '-' + month + '-' + today + ' ' + hours + ':' + minutes + ':' + seconds
202570
- let longTime = new Date(currentdate.replace(new RegExp('-', 'gm'), '/')).getTime()
202571
- return longTime
202840
+ let currentdate =
202841
+ year +
202842
+ "-" +
202843
+ month +
202844
+ "-" +
202845
+ today +
202846
+ " " +
202847
+ hours +
202848
+ ":" +
202849
+ minutes +
202850
+ ":" +
202851
+ seconds;
202852
+ let longTime = new Date(
202853
+ currentdate.replace(new RegExp("-", "gm"), "/")
202854
+ ).getTime();
202855
+ return longTime;
202572
202856
  },
202573
202857
  /*
202574
202858
  * 获取url请求前缀
202575
202859
  */
202576
202860
  getRequestPrefix() {
202577
202861
  // 获取网络协议
202578
- var protocol = window.location.protocol
202862
+ var protocol = window.location.protocol;
202579
202863
  // 获取主机名+端口号
202580
- var domainPort = window.location.host
202864
+ var domainPort = window.location.host;
202581
202865
  // 获取发布项目的名称
202582
202866
  // 获取路径
202583
- var url = window.location.pathname
202584
- var webApp = url.split('/')[1]
202585
- var urlPrefix = protocol + '//' + domainPort + '/' + webApp
202586
- return urlPrefix
202867
+ var url = window.location.pathname;
202868
+ var webApp = url.split("/")[1];
202869
+ var urlPrefix = protocol + "//" + domainPort + "/" + webApp;
202870
+ return urlPrefix;
202587
202871
  },
202588
202872
  /* 2X */
202589
202873
  // 视频2X
202590
202874
  videoDoubleClick(videoUrl) {
202591
- this.videodoubleXclick = true
202592
- this.imgdoubleXclick = false
202875
+ this.videodoubleXclick = true;
202876
+ this.imgdoubleXclick = false;
202593
202877
  if (flv_default.a.isSupported()) {
202594
202878
  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流已开启***')
202879
+ const doublevideoElement =
202880
+ document.getElementById("doublevideoElement");
202881
+ this.doubleflvPlayer = flv_default.a.createPlayer(
202882
+ {
202883
+ type: "flv",
202884
+ url: videoUrl,
202885
+ },
202886
+ {
202887
+ enableWorker: false, //不启用分离线程
202888
+ autoCleanupSourceBuffer: true, //对SourceBuffer进行自动清理缓存
202889
+ //autoCleanupMaxBackwardDuration: 10, //当向后缓冲区持续时间超过此值(以秒为单位)时,请对SourceBuffer进行自动清理
202890
+ //autoCleanupMinBackwardDuration: 30, //指示进行自动清除时为反向缓冲区保留的持续时间(以秒为单位)。
202891
+ enableStashBuffer: false, //关闭IO隐藏缓冲区
202892
+ stashInitialSize: 128, //减少首帧显示等待时长
202893
+ }
202894
+ );
202895
+ this.doubleflvPlayer.attachMediaElement(doublevideoElement);
202896
+ this.doubleflvPlayer.load();
202897
+ this.doubleflvPlayer.play();
202898
+ console.log("2X流已开启***");
202611
202899
  }
202612
202900
  }
202613
202901
  },
202614
202902
  //图像2X
202615
202903
  imgDoubleClick(imgUrl) {
202616
- this.imgdoubleXclick = true
202617
- this.closeVideodouble()
202618
- this.doubleImgUrl = imgUrl
202904
+ this.imgdoubleXclick = true;
202905
+ this.closeVideodouble();
202906
+ this.doubleImgUrl = imgUrl;
202619
202907
  },
202620
202908
  // 关闭视频2X
202621
202909
  closeVideodouble() {
202622
- this.videodoubleXclick = false
202910
+ this.videodoubleXclick = false;
202623
202911
  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流已关闭***')
202912
+ this.doubleflvPlayer.pause();
202913
+ this.doubleflvPlayer.unload();
202914
+ try {
202915
+ this.doubleflvPlayer.detachMediaElement();
202916
+ } catch (e) {
202917
+ //TODO handle the exception
202918
+ }
202919
+ this.doubleflvPlayer.destroy();
202920
+ this.doubleflvPlayer = null;
202921
+ console.log("2X流已关闭***");
202634
202922
  }
202635
202923
  },
202636
202924
  // 关闭图像2x
202637
202925
  closeImgdouble() {
202638
- this.imgdoubleXclick = false
202639
- this.doubleImgUrl = ''
202926
+ this.imgdoubleXclick = false;
202927
+ this.doubleImgUrl = "";
202640
202928
  },
202641
202929
  closeAllLayer() {
202642
202930
  this.$GlobalConfig.jiqing.eventTopics.forEach((item) => {
@@ -202681,16 +202969,20 @@ class echartsLayer_EchartsglLayer {
202681
202969
  }
202682
202970
  });
202683
202971
 
202684
- this.$GlobalConfig.jiqing.roadTestPerceptionPublishEquipment.forEach((item) => {
202685
- if (this[item.layerName]) {
202686
- this[item.layerName].visible = false;
202972
+ this.$GlobalConfig.jiqing.roadTestPerceptionPublishEquipment.forEach(
202973
+ (item) => {
202974
+ if (this[item.layerName]) {
202975
+ this[item.layerName].visible = false;
202976
+ }
202687
202977
  }
202688
- });
202689
- this.$GlobalConfig.danao.roadTestPerceptionPublishEquipment.forEach((item) => {
202690
- if (this[item.layerName]) {
202691
- this[item.layerName].visible = false;
202978
+ );
202979
+ this.$GlobalConfig.danao.roadTestPerceptionPublishEquipment.forEach(
202980
+ (item) => {
202981
+ if (this[item.layerName]) {
202982
+ this[item.layerName].visible = false;
202983
+ }
202692
202984
  }
202693
- });
202985
+ );
202694
202986
 
202695
202987
  this.$GlobalConfig.jiqing.roadTestOthersEquipment.forEach((item) => {
202696
202988
  if (this[item.layerName]) {
@@ -202723,39 +203015,82 @@ class echartsLayer_EchartsglLayer {
202723
203015
  // 图层选择Tab页点击切换时返回实时高度
202724
203016
  handleClickTab() {
202725
203017
  setTimeout(() => {
202726
- let tabHeight = document.getElementsByClassName('checkBox')[0].clientHeight + 'px'
203018
+ let tabHeight =
203019
+ document.getElementsByClassName("checkBox")[0].clientHeight + "px";
202727
203020
  //this.tabHeight = `calc(5% + ${tabHeight} - 24px)`;
202728
203021
  this.tabHeight = `calc(2% + ${tabHeight})`;
202729
- this.$emit('fromGisCheckBox', tabHeight)
202730
- }, 0)
203022
+ this.$emit("fromGisCheckBox", tabHeight);
203023
+ }, 0);
202731
203024
  },
202732
203025
  // 图层SQL过滤组装方法
202733
203026
  makeRoadSql(name) {
202734
203027
  // if(name == 'roadlineLayer_'){
202735
203028
  // name = 'roadlineLayer'
202736
203029
  // }
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 = ''
203030
+ let layerObj =
203031
+ this.$GlobalConfig[this.typeNameLocal].roadTestEquipment.find(
203032
+ (item) => item.layerName == name
203033
+ ) ||
203034
+ this.$GlobalConfig[this.typeNameLocal].roadTestPublishEquipment.find(
203035
+ (item) => item.layerName == name
203036
+ ) ||
203037
+ this.$GlobalConfig[
203038
+ this.typeNameLocal
203039
+ ].roadTestPerceptionPublishEquipment.find(
203040
+ (item) => item.layerName == name
203041
+ ) ||
203042
+ this.$GlobalConfig[this.typeNameLocal].roadTestOthersEquipment.find(
203043
+ (item) => item.layerName == name
203044
+ ) ||
203045
+ this.$GlobalConfig[this.typeNameLocal].roadNetworkFacilities.find(
203046
+ (item) => item.layerName == name
203047
+ ) ||
203048
+ this.$GlobalConfig[this.typeNameLocal].maintenance.find(
203049
+ (item) => item.layerName == name
203050
+ ) ||
203051
+ this.$GlobalConfig[this.typeNameLocal].roadAndBridgeTunnel.find(
203052
+ (item) => item.layerName == name
203053
+ ) ||
203054
+ this.$GlobalConfig[this.typeNameLocal].equipmentFacilities.find(
203055
+ (item) => item.layerName == name
203056
+ ) ||
203057
+ this.$GlobalConfig[this.typeNameLocal].otherClass.find(
203058
+ (item) => item.layerName == name
203059
+ );
203060
+ let sqlText = "";
202747
203061
  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(',')})`
203062
+ if (
203063
+ layerObj.roadIdKey &&
203064
+ this.$GlobalConfig[this.typeNameLocal].roadIDs.length
203065
+ ) {
203066
+ sqlText = `${layerObj.roadIdKey} in (${this.$GlobalConfig[
203067
+ this.typeNameLocal
203068
+ ].roadIDs
203069
+ .map((item) => `'${item}'`)
203070
+ .join(",")})`;
202750
203071
  }
202751
203072
  if (layerObj.is_test || layerObj.is_test === 0) {
202752
- sqlText = sqlText ? `${sqlText} and is_test = ${layerObj.is_test}` : `is_test = ${layerObj.is_test}`
203073
+ sqlText = sqlText
203074
+ ? `${sqlText} and is_test = ${layerObj.is_test}`
203075
+ : `is_test = ${layerObj.is_test}`;
203076
+ }
203077
+ if (
203078
+ this.typeNameLocal == "danao" &&
203079
+ [
203080
+ "bridgeLayer",
203081
+ "tunnelLayer",
203082
+ "serviceLayer",
203083
+ "stationLayer",
203084
+ "pivotLayer",
203085
+ "interchangeLayer",
203086
+ ].indexOf(name) > -1
203087
+ ) {
203088
+ sqlText = sqlText
203089
+ ? `${sqlText} and use_status in ('1')`
203090
+ : `use_status in ('1')`;
202753
203091
  }
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
203092
  }
202758
- let sql = ''
203093
+ let sql = "";
202759
203094
  // if(Object.keys(this.querySql).length && layerObj && !layerObj.organizationSql){
202760
203095
  // let arr = [];
202761
203096
  // for(let i in this.querySql){
@@ -202763,118 +203098,220 @@ class echartsLayer_EchartsglLayer {
202763
203098
  // }
202764
203099
  // sql = `${arr.join(' and ')}`
202765
203100
  // }
202766
- if (this.organizationId && this.organizationType && layerObj && !layerObj.organizationSql) {
203101
+ if (
203102
+ this.organizationId &&
203103
+ this.organizationType &&
203104
+ layerObj &&
203105
+ !layerObj.organizationSql
203106
+ ) {
202767
203107
  // sql = `${this.organizationSql[+this.organizationType-1]} in ('${this.organizationId}')`
202768
203108
  // sql = `${this.organizationSql[+this.organizationType-1]} like '%${this.organizationId}%'`
202769
- if (name == 'pivotLayer') {
202770
- sql = `${this.organizationSql[+this.organizationType - 1]} like '%${this.organizationId}%'`
203109
+ if (name == "pivotLayer") {
203110
+ sql = `${this.organizationSql[+this.organizationType - 1]} like '%${
203111
+ this.organizationId
203112
+ }%'`;
202771
203113
  } else {
202772
- sql = `${this.organizationSql[+this.organizationType - 1]} in ('${this.organizationId}')`
203114
+ sql = `${this.organizationSql[+this.organizationType - 1]} in ('${
203115
+ this.organizationId
203116
+ }')`;
202773
203117
  }
202774
203118
  }
202775
203119
  if (sqlText || sql) {
202776
203120
  // console.log(name)
202777
203121
  // console.log(`(${sqlText}${sqlText && sql?' and ' + sql:sql})`)
202778
- return `(${sqlText}${sqlText && sql ? ' and ' + sql : sql})`
203122
+ return `(${sqlText}${sqlText && sql ? " and " + sql : sql})`;
202779
203123
  } 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
- },
203124
+ return ``;
203125
+ }
203126
+ },
203127
+ // 图层SQL过滤组装方法
203128
+ makeRoadSqlTree(name, roadCodes) {
203129
+ let layerObj =
203130
+ this.$GlobalConfig[this.typeNameLocal].roadTestEquipment.find(
203131
+ (item) => item.layerName == name
203132
+ ) ||
203133
+ this.$GlobalConfig[this.typeNameLocal].roadTestPublishEquipment.find(
203134
+ (item) => item.layerName == name
203135
+ ) ||
203136
+ this.$GlobalConfig[
203137
+ this.typeNameLocal
203138
+ ].roadTestPerceptionPublishEquipment.find(
203139
+ (item) => item.layerName == name
203140
+ ) ||
203141
+ this.$GlobalConfig[this.typeNameLocal].roadTestOthersEquipment.find(
203142
+ (item) => item.layerName == name
203143
+ ) ||
203144
+ this.$GlobalConfig[this.typeNameLocal].roadNetworkFacilities.find(
203145
+ (item) => item.layerName == name
203146
+ ) ||
203147
+ this.$GlobalConfig[this.typeNameLocal].maintenance.find(
203148
+ (item) => item.layerName == name
203149
+ ) ||
203150
+ this.$GlobalConfig[this.typeNameLocal].roadAndBridgeTunnel.find(
203151
+ (item) => item.layerName == name
203152
+ ) ||
203153
+ this.$GlobalConfig[this.typeNameLocal].equipmentFacilities.find(
203154
+ (item) => item.layerName == name
203155
+ ) ||
203156
+ this.$GlobalConfig[this.typeNameLocal].otherClass.find(
203157
+ (item) => item.layerName == name
203158
+ );
203159
+ let sqlText = "";
203160
+ if (layerObj && roadCodes) {
203161
+ if (layerObj.roadIdKey && roadCodes.length) {
203162
+ sqlText = `${layerObj.roadIdKey} in (${roadCodes
203163
+ .map((item) => `'${item}'`)
203164
+ .join(",")})`;
203165
+ }
203166
+ if (layerObj.is_test || layerObj.is_test === 0) {
203167
+ sqlText = sqlText
203168
+ ? `${sqlText} and is_test = ${layerObj.is_test}`
203169
+ : `is_test = ${layerObj.is_test}`;
203170
+ }
203171
+ if (
203172
+ this.typeNameLocal == "danao" &&
203173
+ [
203174
+ "bridgeLayer",
203175
+ "tunnelLayer",
203176
+ "serviceLayer",
203177
+ "stationLayer",
203178
+ "pivotLayer",
203179
+ "interchangeLayer",
203180
+ ].indexOf(name) > -1
203181
+ ) {
203182
+ sqlText = sqlText
203183
+ ? `${sqlText} and use_status in ('1')`
203184
+ : `use_status in ('1')`;
203185
+ }
203186
+ }
203187
+ let sql = "";
203188
+ if (
203189
+ this.organizationId &&
203190
+ this.organizationType &&
203191
+ layerObj &&
203192
+ !layerObj.organizationSql
203193
+ ) {
203194
+ if (name == "pivotLayer") {
203195
+ sql = `${this.organizationSql[+this.organizationType - 1]} like '%${
203196
+ this.organizationId
203197
+ }%'`;
203198
+ } else {
203199
+ sql = `${this.organizationSql[+this.organizationType - 1]} in ('${
203200
+ this.organizationId
203201
+ }')`;
203202
+ }
203203
+ }
203204
+ if (sqlText || sql) {
203205
+ return `(${sqlText}${sqlText && sql ? " and " + sql : sql})`;
203206
+ } else {
203207
+ return ``;
203208
+ }
203209
+ },
202820
203210
  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)) {
203211
+ console.log("addSql", data);
203212
+ if (
203213
+ (data.opmaManagerCorpIds != null && data.opmaManagerCorpIds.length) ||
203214
+ (data.opmaManagerIds != null && data.opmaManagerIds.length) ||
203215
+ (data.roadCodes != null && data.roadCodes.length)
203216
+ ) {
202823
203217
  this.checkList.forEach((item) => {
202824
203218
  // console.log(item)
202825
203219
  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
203220
+ let roadSql;
203221
+ if (data.roadCodes && data.roadCodes.length) {
203222
+ roadSql = this.makeRoadSqlTree(item.layerName, data.roadCodes);
203223
+ } else {
203224
+ roadSql = this.makeRoadSql(item.layerName);
203225
+ }
203226
+ let layerName = item.layerName;
202833
203227
  // if(layerName == 'roadlineLayer'){
202834
203228
  // layerName = 'roadlineLayer_'
202835
203229
  // }
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
- }
203230
+ let opmaManageSql = [];
203231
+ if (
203232
+ (data.opmaManagerCorpIds != null &&
203233
+ data.opmaManagerCorpIds.length) ||
203234
+ (data.opmaManagerIds != null && data.opmaManagerIds.length)
203235
+ ) {
203236
+ for (let i in item.opmaManageIdKey) {
203237
+ // console.log(i)
203238
+ if (data[item.opmaManageIdKey[i]].length) {
203239
+ data[item.opmaManageIdKey[i]].map((id) => {
203240
+ //opmaManageSql.push(`${i} like '%${id}%'`)
203241
+ opmaManageSql.push(`${i} = '${id}'`);
203242
+ });
203243
+ }
203244
+ }
203245
+ }
202848
203246
  if (!this.layerListSql[layerName]) {
202849
- this.layerListSql[layerName] = {}
203247
+ this.layerListSql[layerName] = {};
203248
+ }
203249
+ let opmaManageSqlWhere = "";
203250
+ if (opmaManageSql != null && opmaManageSql.length > 0) {
203251
+ opmaManageSqlWhere = `(${opmaManageSql.join(" or ")})`;
203252
+ this.layerListSql[layerName].treeSql = `(${opmaManageSql.join(
203253
+ " or "
203254
+ )})`;
202850
203255
  }
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
203256
  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})`
203257
+ //根据道路筛选-道路线高亮
203258
+ if (data.roadCodes && data.roadCodes.length) {
203259
+ this.roadlineLayer.opacity = 0;
203260
+ this.roadlineLayer.visible = true;
203261
+ let roadSql_tmp = roadSql.replace(
203262
+ "and use_status in ('1')",
203263
+ ""
203264
+ );
203265
+ this.roadlineLayer.definitionExpression = `(${roadSql_tmp}${
203266
+ this.layerListSql["roadlineLayer"].makeSql
203267
+ ? " and " + this.layerListSql["roadlineLayer"].makeSql
203268
+ : ""
203269
+ }${
203270
+ (this.layerListSql["roadlineLayer"].makeSql || roadSql) &&
203271
+ opmaManageSqlWhere
203272
+ ? " and " + opmaManageSqlWhere
203273
+ : opmaManageSqlWhere
203274
+ })`;
203275
+ setTimeout(() => {
203276
+ this.roadlineLayer.opacity = 1;
203277
+ }, 1000);
203278
+ } else {
203279
+ if (
203280
+ this.checkList.filter(
203281
+ (item) => item.layerName == "roadlineLayer"
203282
+ ).length <= 0
203283
+ ) {
203284
+ this.roadlineLayer.visible = false;
203285
+ }
203286
+ }
203287
+ this[layerName].definitionExpression = `(${roadSql}${
203288
+ this.layerListSql[layerName].makeSql
203289
+ ? " and " + this.layerListSql[layerName].makeSql
203290
+ : ""
203291
+ }${
203292
+ (this.layerListSql[layerName].makeSql || roadSql) &&
203293
+ opmaManageSqlWhere
203294
+ ? " and " + opmaManageSqlWhere
203295
+ : opmaManageSqlWhere
203296
+ })`;
202872
203297
  } 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
- }
203298
+ this[layerName].definitionExpression = `(${
203299
+ this.layerListSql[layerName].makeSql
203300
+ ? this.layerListSql[layerName].makeSql
203301
+ : ""
203302
+ }${
203303
+ this.layerListSql[layerName].makeSql && opmaManageSqlWhere
203304
+ ? " and " + opmaManageSqlWhere
203305
+ : opmaManageSqlWhere
203306
+ })`;
203307
+ if (
203308
+ this.checkList.filter(
203309
+ (item) => item.layerName == "roadlineLayer"
203310
+ ).length <= 0
203311
+ ) {
203312
+ this.roadlineLayer.visible = false;
203313
+ }
203314
+ }
202878
203315
  // if (layerName == 'roadlineLayer_') {
202879
203316
  // setTimeout(() => {
202880
203317
  // this.roadlineLayer_.visible = true
@@ -202883,12 +203320,16 @@ class echartsLayer_EchartsglLayer {
202883
203320
  // console.log(layerName)
202884
203321
  // console.log(this[layerName].definitionExpression)
202885
203322
  }
202886
- this.reloadQueryFeatureCount(item.layerName)
202887
- })
203323
+ this.reloadQueryFeatureCount(item.layerName);
203324
+ });
202888
203325
  } else {
202889
- if (this.checkList.filter((item) => item.layerName == "roadlineLayer").length <=0 || data.isTreeRoad) {
202890
- this.roadlineLayer.visible = false;
202891
- }
203326
+ if (
203327
+ this.checkList.filter((item) => item.layerName == "roadlineLayer")
203328
+ .length <= 0 ||
203329
+ data.isTreeRoad
203330
+ ) {
203331
+ this.roadlineLayer.visible = false;
203332
+ }
202892
203333
  // console.log(this.roadlineLayer_,this.roadlineLayer_.definitionExpression)
202893
203334
  // if (this.roadlineLayer_ && this.roadlineLayer_.definitionExpression) {
202894
203335
  // if(!this.layerListSql.roadlineLayer_){
@@ -202902,186 +203343,379 @@ class echartsLayer_EchartsglLayer {
202902
203343
  // }
202903
203344
  // this.roadlineLayer_.visible = false
202904
203345
  // }
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})` : ''
203346
+ this.$GlobalConfig[this.typeNameLocal].roadTestEquipment.forEach(
203347
+ (item) => {
203348
+ if (
203349
+ item[item.layerName] &&
203350
+ this[item.layerName] &&
203351
+ (this[item.layerName].definitionExpression ||
203352
+ this[item.layerName].definitionExpression === "")
203353
+ ) {
203354
+ if (!this.layerListSql[item.layerName]) {
203355
+ this.layerListSql[item.layerName] = {};
203356
+ }
203357
+ let sql = this.makeRoadSql(item.layerName);
203358
+ if (sql) {
203359
+ this[item.layerName].definitionExpression = `(${sql.slice(
203360
+ 1,
203361
+ sql.length - 1
203362
+ )}${
203363
+ this.layerListSql[item.layerName].makeSql
203364
+ ? " and " + this.layerListSql[item.layerName].makeSql
203365
+ : ""
203366
+ })`;
203367
+ } else {
203368
+ this[item.layerName].definitionExpression = this.layerListSql[
203369
+ item.layerName
203370
+ ].makeSql
203371
+ ? `(${this.layerListSql[item.layerName].makeSql})`
203372
+ : "";
203373
+ }
203374
+ this.reloadQueryFeatureCount(item.layerName);
202915
203375
  }
202916
- this.reloadQueryFeatureCount(item.layerName)
202917
203376
  }
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})` : ''
203377
+ );
203378
+ this.$GlobalConfig[this.typeNameLocal].roadTestPublishEquipment.forEach(
203379
+ (item) => {
203380
+ if (
203381
+ item[item.layerName] &&
203382
+ this[item.layerName] &&
203383
+ (this[item.layerName].definitionExpression ||
203384
+ this[item.layerName].definitionExpression === "")
203385
+ ) {
203386
+ if (!this.layerListSql[item.layerName]) {
203387
+ this.layerListSql[item.layerName] = {};
203388
+ }
203389
+ let sql = this.makeRoadSql(item.layerName);
203390
+ if (sql) {
203391
+ this[item.layerName].definitionExpression = `(${sql.slice(
203392
+ 1,
203393
+ sql.length - 1
203394
+ )}${
203395
+ this.layerListSql[item.layerName].makeSql
203396
+ ? " and " + this.layerListSql[item.layerName].makeSql
203397
+ : ""
203398
+ })`;
203399
+ } else {
203400
+ this[item.layerName].definitionExpression = this.layerListSql[
203401
+ item.layerName
203402
+ ].makeSql
203403
+ ? `(${this.layerListSql[item.layerName].makeSql})`
203404
+ : "";
203405
+ }
203406
+ this.reloadQueryFeatureCount(item.layerName);
202929
203407
  }
202930
- this.reloadQueryFeatureCount(item.layerName)
202931
203408
  }
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 === '')) {
203409
+ );
203410
+ this.$GlobalConfig[
203411
+ this.typeNameLocal
203412
+ ].roadTestPerceptionPublishEquipment.forEach((item) => {
203413
+ if (
203414
+ item[item.layerName] &&
203415
+ this[item.layerName] &&
203416
+ (this[item.layerName].definitionExpression ||
203417
+ this[item.layerName].definitionExpression === "")
203418
+ ) {
202935
203419
  if (!this.layerListSql[item.layerName]) {
202936
- this.layerListSql[item.layerName] = {}
203420
+ this.layerListSql[item.layerName] = {};
202937
203421
  }
202938
203422
  let sql = this.makeRoadSql(item.layerName);
202939
203423
  if (sql) {
202940
- this[item.layerName].definitionExpression = `(${sql.slice(1, sql.length - 1)}${this.layerListSql[item.layerName].makeSql ? ' and ' + this.layerListSql[item.layerName].makeSql : ''})`
203424
+ this[item.layerName].definitionExpression = `(${sql.slice(
203425
+ 1,
203426
+ sql.length - 1
203427
+ )}${
203428
+ this.layerListSql[item.layerName].makeSql
203429
+ ? " and " + this.layerListSql[item.layerName].makeSql
203430
+ : ""
203431
+ })`;
202941
203432
  } else {
202942
- this[item.layerName].definitionExpression = this.layerListSql[item.layerName].makeSql ? `(${this.layerListSql[item.layerName].makeSql})` : ''
203433
+ this[item.layerName].definitionExpression = this.layerListSql[
203434
+ item.layerName
203435
+ ].makeSql
203436
+ ? `(${this.layerListSql[item.layerName].makeSql})`
203437
+ : "";
202943
203438
  }
202944
- this.reloadQueryFeatureCount(item.layerName)
203439
+ this.reloadQueryFeatureCount(item.layerName);
202945
203440
  }
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})` : ''
203441
+ });
203442
+ this.$GlobalConfig[this.typeNameLocal].roadTestOthersEquipment.forEach(
203443
+ (item) => {
203444
+ if (
203445
+ item[item.layerName] &&
203446
+ this[item.layerName] &&
203447
+ (this[item.layerName].definitionExpression ||
203448
+ this[item.layerName].definitionExpression === "")
203449
+ ) {
203450
+ if (!this.layerListSql[item.layerName]) {
203451
+ this.layerListSql[item.layerName] = {};
203452
+ }
203453
+ let sql = this.makeRoadSql(item.layerName);
203454
+ if (sql) {
203455
+ this[item.layerName].definitionExpression = `(${sql.slice(
203456
+ 1,
203457
+ sql.length - 1
203458
+ )}${
203459
+ this.layerListSql[item.layerName].makeSql
203460
+ ? " and " + this.layerListSql[item.layerName].makeSql
203461
+ : ""
203462
+ })`;
203463
+ } else {
203464
+ this[item.layerName].definitionExpression = this.layerListSql[
203465
+ item.layerName
203466
+ ].makeSql
203467
+ ? `(${this.layerListSql[item.layerName].makeSql})`
203468
+ : "";
203469
+ }
203470
+ this.reloadQueryFeatureCount(item.layerName);
202957
203471
  }
202958
- this.reloadQueryFeatureCount(item.layerName)
202959
203472
  }
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})` : ''
203473
+ );
203474
+ this.$GlobalConfig[this.typeNameLocal].roadNetworkFacilities.forEach(
203475
+ (item) => {
203476
+ if (
203477
+ item[item.layerName] &&
203478
+ this[item.layerName] &&
203479
+ (this[item.layerName].definitionExpression ||
203480
+ this[item.layerName].definitionExpression === "")
203481
+ ) {
203482
+ if (!this.layerListSql[item.layerName]) {
203483
+ this.layerListSql[item.layerName] = {};
203484
+ }
203485
+ let sql = this.makeRoadSql(item.layerName);
203486
+ if (sql) {
203487
+ this[item.layerName].definitionExpression = `(${sql.slice(
203488
+ 1,
203489
+ sql.length - 1
203490
+ )}${
203491
+ this.layerListSql[item.layerName].makeSql
203492
+ ? " and " + this.layerListSql[item.layerName].makeSql
203493
+ : ""
203494
+ })`;
203495
+ } else {
203496
+ this[item.layerName].definitionExpression = this.layerListSql[
203497
+ item.layerName
203498
+ ].makeSql
203499
+ ? `(${this.layerListSql[item.layerName].makeSql})`
203500
+ : "";
203501
+ }
203502
+ // console.log(item.layerName)
203503
+ // console.log(this[item.layerName].definitionExpression)
203504
+ this.reloadQueryFeatureCount(item.layerName);
202971
203505
  }
202972
- // console.log(item.layerName)
202973
- // console.log(this[item.layerName].definitionExpression)
202974
- this.reloadQueryFeatureCount(item.layerName)
202975
203506
  }
202976
- })
203507
+ );
202977
203508
  this.$GlobalConfig[this.typeNameLocal].maintenance.forEach((item) => {
202978
- if (item[item.layerName] && this[item.layerName] && (this[item.layerName].definitionExpression || this[item.layerName].definitionExpression === '')) {
203509
+ if (
203510
+ item[item.layerName] &&
203511
+ this[item.layerName] &&
203512
+ (this[item.layerName].definitionExpression ||
203513
+ this[item.layerName].definitionExpression === "")
203514
+ ) {
202979
203515
  if (!this.layerListSql[item.layerName]) {
202980
- this.layerListSql[item.layerName] = {}
203516
+ this.layerListSql[item.layerName] = {};
202981
203517
  }
202982
203518
  let sql = this.makeRoadSql(item.layerName);
202983
203519
  if (sql) {
202984
- this[item.layerName].definitionExpression = `(${sql.slice(1, sql.length - 1)}${this.layerListSql[item.layerName].makeSql ? ' and ' + this.layerListSql[item.layerName].makeSql : ''})`
203520
+ this[item.layerName].definitionExpression = `(${sql.slice(
203521
+ 1,
203522
+ sql.length - 1
203523
+ )}${
203524
+ this.layerListSql[item.layerName].makeSql
203525
+ ? " and " + this.layerListSql[item.layerName].makeSql
203526
+ : ""
203527
+ })`;
202985
203528
  } else {
202986
- this[item.layerName].definitionExpression = this.layerListSql[item.layerName].makeSql ? `(${this.layerListSql[item.layerName].makeSql})` : ''
203529
+ this[item.layerName].definitionExpression = this.layerListSql[
203530
+ item.layerName
203531
+ ].makeSql
203532
+ ? `(${this.layerListSql[item.layerName].makeSql})`
203533
+ : "";
202987
203534
  }
202988
- this.reloadQueryFeatureCount(item.layerName)
203535
+ this.reloadQueryFeatureCount(item.layerName);
202989
203536
  }
202990
- })
203537
+ });
202991
203538
  this.$GlobalConfig[this.typeNameLocal].otherClass.forEach((item) => {
202992
- if (item[item.layerName] && this[item.layerName] && (this[item.layerName].definitionExpression || this[item.layerName].definitionExpression === '')) {
203539
+ if (
203540
+ item[item.layerName] &&
203541
+ this[item.layerName] &&
203542
+ (this[item.layerName].definitionExpression ||
203543
+ this[item.layerName].definitionExpression === "")
203544
+ ) {
202993
203545
  if (!this.layerListSql[item.layerName]) {
202994
- this.layerListSql[item.layerName] = {}
203546
+ this.layerListSql[item.layerName] = {};
202995
203547
  }
202996
203548
  let sql = this.makeRoadSql(item.layerName);
202997
203549
  if (sql) {
202998
- this[item.layerName].definitionExpression = `(${sql.slice(1, sql.length - 1)}${this.layerListSql[item.layerName].makeSql ? ' and ' + this.layerListSql[item.layerName].makeSql : ''})`
203550
+ this[item.layerName].definitionExpression = `(${sql.slice(
203551
+ 1,
203552
+ sql.length - 1
203553
+ )}${
203554
+ this.layerListSql[item.layerName].makeSql
203555
+ ? " and " + this.layerListSql[item.layerName].makeSql
203556
+ : ""
203557
+ })`;
202999
203558
  } else {
203000
- this[item.layerName].definitionExpression = this.layerListSql[item.layerName].makeSql ? `(${this.layerListSql[item.layerName].makeSql})` : ''
203559
+ this[item.layerName].definitionExpression = this.layerListSql[
203560
+ item.layerName
203561
+ ].makeSql
203562
+ ? `(${this.layerListSql[item.layerName].makeSql})`
203563
+ : "";
203001
203564
  }
203002
- this.reloadQueryFeatureCount(item.layerName)
203565
+ this.reloadQueryFeatureCount(item.layerName);
203003
203566
  }
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
- })
203567
+ });
203568
+ this.$GlobalConfig[this.typeNameLocal].equipmentFacilities.forEach(
203569
+ (item) => {
203570
+ if (
203571
+ item[item.layerName] &&
203572
+ this[item.layerName] &&
203573
+ (this[item.layerName].definitionExpression ||
203574
+ this[item.layerName].definitionExpression === "")
203575
+ ) {
203576
+ if (!this.layerListSql[item.layerName]) {
203577
+ this.layerListSql[item.layerName] = {};
203578
+ }
203579
+ let sql = this.makeRoadSql(item.layerName);
203580
+ if (sql) {
203581
+ this[item.layerName].definitionExpression = `(${sql.slice(
203582
+ 1,
203583
+ sql.length - 1
203584
+ )}${
203585
+ this.layerListSql[item.layerName].makeSql
203586
+ ? " and " + this.layerListSql[item.layerName].makeSql
203587
+ : ""
203588
+ })`;
203589
+ } else {
203590
+ this[item.layerName].definitionExpression = this.layerListSql[
203591
+ item.layerName
203592
+ ].makeSql
203593
+ ? `(${this.layerListSql[item.layerName].makeSql})`
203594
+ : "";
203595
+ }
203596
+ this.reloadQueryFeatureCount(item.layerName);
203597
+ }
203598
+ }
203599
+ );
203600
+ this.$GlobalConfig[this.typeNameLocal].roadAndBridgeTunnel.forEach(
203601
+ (item) => {
203602
+ if (
203603
+ item[item.layerName] &&
203604
+ this[item.layerName] &&
203605
+ (this[item.layerName].definitionExpression ||
203606
+ this[item.layerName].definitionExpression === "")
203607
+ ) {
203608
+ if (!this.layerListSql[item.layerName]) {
203609
+ this.layerListSql[item.layerName] = {};
203610
+ }
203611
+ let sql = this.makeRoadSql(item.layerName);
203612
+ if (sql) {
203613
+ this[item.layerName].definitionExpression = `(${sql.slice(
203614
+ 1,
203615
+ sql.length - 1
203616
+ )}${
203617
+ this.layerListSql[item.layerName].makeSql
203618
+ ? " and " + this.layerListSql[item.layerName].makeSql
203619
+ : ""
203620
+ })`;
203621
+ } else {
203622
+ this[item.layerName].definitionExpression = this.layerListSql[
203623
+ item.layerName
203624
+ ].makeSql
203625
+ ? `(${this.layerListSql[item.layerName].makeSql})`
203626
+ : "";
203627
+ }
203628
+ this.reloadQueryFeatureCount(item.layerName);
203629
+ }
203630
+ }
203631
+ );
203033
203632
  }
203034
203633
  },
203035
203634
  reloadQueryFeatureCount(layerName) {
203036
203635
  if (this[layerName] && this[layerName].queryFeatureCount) {
203037
203636
  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
- })
203637
+ let layerNameArr = [
203638
+ "roadlineLayer",
203639
+ "shareRoadLayer",
203640
+ "engineeringBuild",
203641
+ "roadDamageLayer",
203642
+ "roadConsumeLayer",
203643
+ "asphaltRoadDamageLayer",
203644
+ "roadBumpLayer",
203645
+ "roadSkidLayer",
203646
+ "roadSmoothLayer",
203647
+ "roadTrackLayer",
203648
+ ];
203649
+ this.$set(
203650
+ this.tabListNumber,
203651
+ layerName,
203652
+ layerNameArr.indexOf(layerName) != -1 ? "无" : res
203653
+ );
203654
+ });
203041
203655
  }
203042
203656
  },
203043
203657
  //根据传参进行过滤
203044
203658
  makeSql(layerName, keys) {
203045
203659
  // if(layerName == 'roadlineLayer'){
203046
203660
  // layerName = 'roadlineLayer_'
203047
- // }
203048
- if (this[layerName] && (this[layerName].definitionExpression || this[layerName].definitionExpression === '')) {
203661
+ // }
203662
+ if (
203663
+ this[layerName] &&
203664
+ (this[layerName].definitionExpression ||
203665
+ this[layerName].definitionExpression === "")
203666
+ ) {
203049
203667
  // this.setReduction(layerName, false)
203050
203668
  let sql = [];
203051
- if (layerName == 'pivotLayer') {
203669
+ if (layerName == "pivotLayer") {
203052
203670
  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 ')})`)
203671
+ let sql_text = [];
203672
+ keys[i].map((item) => {
203673
+ sql_text.push(`${i} like '%${item}%'`);
203674
+ });
203675
+ sql.push(`(${sql_text.map((item) => item).join(" or ")})`);
203058
203676
  }
203059
203677
  } else {
203060
203678
  for (let i in keys) {
203061
- sql.push(i + ' in (' + keys[i].map(item => `'${item}'`).join(', ') + ')');
203679
+ sql.push(
203680
+ i + " in (" + keys[i].map((item) => `'${item}'`).join(", ") + ")"
203681
+ );
203062
203682
  }
203063
203683
  }
203064
203684
  let sqlText = this.makeRoadSql(layerName);
203065
203685
  if (!this.layerListSql[layerName]) {
203066
- this.layerListSql[layerName] = {}
203686
+ this.layerListSql[layerName] = {};
203067
203687
  }
203068
- this.layerListSql[layerName].makeSql = `${sql.join(' and ')}`
203688
+ this.layerListSql[layerName].makeSql = `${sql.join(" and ")}`;
203069
203689
  if (sqlText) {
203070
- this[layerName].definitionExpression = `(${sqlText} and ${sql.join(' and ')}${this.layerListSql[layerName].treeSql ? ' and ' + this.layerListSql[layerName].treeSql : ''})`
203690
+ this[layerName].definitionExpression = `(${sqlText} and ${sql.join(
203691
+ " and "
203692
+ )}${
203693
+ this.layerListSql[layerName].treeSql
203694
+ ? " and " + this.layerListSql[layerName].treeSql
203695
+ : ""
203696
+ })`;
203071
203697
  } 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)
203698
+ this[layerName].definitionExpression = `(${sql.join(" and ")}${
203699
+ this.layerListSql[layerName].treeSql
203700
+ ? " and " + this.layerListSql[layerName].treeSql
203701
+ : ""
203702
+ })`;
203703
+ }
203704
+ console.log("******", this[layerName].definitionExpression);
203705
+ this.reloadQueryFeatureCount(layerName);
203706
+ // this.setReduction(layerName, true)
203077
203707
  }
203078
203708
  },
203079
203709
  //重置过滤的方法
203080
203710
  ResetSql(layerName) {
203081
- if (this[layerName] && (this[layerName].definitionExpression || this[layerName].definitionExpression === '')) {
203711
+ if (
203712
+ this[layerName] &&
203713
+ (this[layerName].definitionExpression ||
203714
+ this[layerName].definitionExpression === "")
203715
+ ) {
203082
203716
  // this.setReduction(layerName, false);
203083
- this[layerName].definitionExpression = this.makeRoadSql(layerName)
203084
- this.reloadQueryFeatureCount(layerName)
203717
+ this[layerName].definitionExpression = this.makeRoadSql(layerName);
203718
+ this.reloadQueryFeatureCount(layerName);
203085
203719
  // this.setReduction(layerName, true)
203086
203720
  }
203087
203721
  },
@@ -203104,18 +203738,20 @@ class echartsLayer_EchartsglLayer {
203104
203738
  }
203105
203739
  },
203106
203740
  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();
203741
+ if (this.congestionSectionLayer) {
203742
+ this.congestionSectionLayer.visible =
203743
+ !this.congestionSectionLayer.visible;
203744
+ }
203745
+ if (this.allGreenLayer) {
203746
+ this.allGreenLayer.visible = !this.allGreenLayer.visible;
203747
+ }
203748
+ this.closePopup();
203114
203749
  },
203115
203750
  //获取两个经纬度之间中心点的经纬度
203116
203751
  getCenterLonLat(oneLon, oneLat, twoLon, twoLat) {
203117
203752
  //oneLon:第一个点的经度;oneLat:第一个点的纬度;twoLon:第二个点的经度;twoLat:第二个点的纬度;
203118
- let aLon = 0, aLat = 0;
203753
+ let aLon = 0,
203754
+ aLat = 0;
203119
203755
  let bLon = Number(oneLon) - Number(twoLon);
203120
203756
  let bLat = Number(oneLat) - Number(twoLat);
203121
203757
  //Math.abs()绝对值
@@ -203129,12 +203765,10 @@ class echartsLayer_EchartsglLayer {
203129
203765
  } else {
203130
203766
  aLat = Number(twoLat) - Math.abs(bLat) / 2;
203131
203767
  }
203132
- Object(esri_loader["loadModules"])([
203133
- "esri/geometry/Point",
203134
- ]).then(([Point]) => {
203768
+ Object(esri_loader["loadModules"])(["esri/geometry/Point"]).then(([Point]) => {
203135
203769
  let pt = new Point({
203136
203770
  latitude: aLat,
203137
- longitude: aLon
203771
+ longitude: aLon,
203138
203772
  });
203139
203773
  let opts = {
203140
203774
  duration: 1000,
@@ -203144,52 +203778,55 @@ class echartsLayer_EchartsglLayer {
203144
203778
  target: pt,
203145
203779
  scale: this.view.scale / 6,
203146
203780
  // zoom: 15
203147
- }, opts);
203148
- })
203781
+ },
203782
+ opts
203783
+ );
203784
+ });
203149
203785
  return [aLon, aLat];
203150
203786
  },
203151
203787
  // 在经纬度附近5公里添加摄像机
203152
- addVideoPoint(longitude, latitude,roadId,stakeNumber,facilitiesType) { //isCustom
203788
+ addVideoPoint(longitude, latitude, roadId, stakeNumber, facilitiesType) {
203789
+ //isCustom
203153
203790
  let timefor = setInterval(() => {
203154
203791
  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
- }
203792
+ clearInterval(timefor);
203793
+ if (stakeNumber && roadId) {
203794
+ stakeNumber = stakeNumber.replace("K", "").replace("+", ".");
203795
+ if (roadId == null) {
203796
+ roadId = "";
203797
+ }
203798
+ longitude = "";
203799
+ latitude = "";
203800
+ } else {
203801
+ roadId = "";
203802
+ stakeNumber = "";
203803
+ }
203804
+ const params = {
203805
+ devCategory: "003",
203806
+ gatewayNetstatus: "1",
203807
+ distanceRange: 5000,
203808
+ facilitiesType: facilitiesType,
203809
+ lat: latitude,
203810
+ lng: longitude,
203811
+ roadId: roadId,
203812
+ stakeNo: stakeNumber,
203813
+ };
203177
203814
  Object(api["a" /* addVideoPointData */])(params).then((res) => {
203178
203815
  Object(esri_loader["loadModules"])(["esri/Graphic", "esri/layers/GraphicsLayer"]).then(
203179
203816
  ([Graphic, GraphicsLayer]) => {
203180
203817
  if (!this.newVideoPoint) {
203181
203818
  if (this.newVideoPointLayer) {
203182
- this.newVideoPointLayer.removeAll()
203183
- this.map.remove(this.newVideoPointLayer)
203184
- this.newVideoPointLayer = null
203819
+ this.newVideoPointLayer.removeAll();
203820
+ this.map.remove(this.newVideoPointLayer);
203821
+ this.newVideoPointLayer = null;
203185
203822
  }
203186
203823
  this.newVideoPointLayer = new GraphicsLayer({
203187
- id: 'newVideoPointLayer',
203824
+ id: "newVideoPointLayer",
203188
203825
  });
203189
203826
  this.map.add(this.newVideoPointLayer, 33);
203190
203827
  }
203191
- res.data.forEach(item => {
203192
- if (item.gatewayNetstatus == '1') {
203828
+ res.data.forEach((item) => {
203829
+ if (item.gatewayNetstatus == "1") {
203193
203830
  item.lng = Number(item.lng);
203194
203831
  item.lat = Number(item.lat);
203195
203832
  item.road_id = item.roadId;
@@ -203211,8 +203848,8 @@ class echartsLayer_EchartsglLayer {
203211
203848
  //点符号设置
203212
203849
  type: "picture-marker",
203213
203850
  url: this.videoLayer_img,
203214
- width: 35 * this.styleZoom + 'px',
203215
- height: 35 * this.styleZoom + 'px',
203851
+ width: 35 * this.styleZoom + "px",
203852
+ height: 35 * this.styleZoom + "px",
203216
203853
  };
203217
203854
  let pointGraphic = new Graphic({
203218
203855
  attributes: {
@@ -203224,34 +203861,35 @@ class echartsLayer_EchartsglLayer {
203224
203861
  geometry: point,
203225
203862
  symbol: simpleMarkerSymbol,
203226
203863
  });
203227
- this.newVideoPointLayer.add(pointGraphic)
203864
+ this.newVideoPointLayer.add(pointGraphic);
203228
203865
  }
203229
- })
203230
- console.log(this.newVideoPointLayer)
203231
- })
203232
- })
203866
+ });
203867
+ console.log(this.newVideoPointLayer);
203868
+ }
203869
+ );
203870
+ });
203233
203871
  }
203234
- }, 50)
203872
+ }, 50);
203235
203873
  },
203236
203874
  removeAllVideoPoint() {
203237
203875
  if (this.newVideoPointLayer) {
203238
- this.newVideoPointLayer.removeAll()
203239
- this.map.remove(this.newVideoPointLayer)
203240
- this.newVideoPointLayer = null
203876
+ this.newVideoPointLayer.removeAll();
203877
+ this.map.remove(this.newVideoPointLayer);
203878
+ this.newVideoPointLayer = null;
203241
203879
  }
203242
203880
  },
203243
203881
  //添加不同图层的点
203244
203882
  addTypePoint(data, layerName, icon) {
203245
203883
  Object(esri_loader["loadModules"])(["esri/Graphic", "esri/layers/GraphicsLayer"]).then(
203246
203884
  ([Graphic, GraphicsLayer]) => {
203247
- let name = layerName + '_newlistpoint'
203885
+ let name = layerName + "_newlistpoint";
203248
203886
  if (!this[name]) {
203249
203887
  this[name] = new GraphicsLayer({
203250
203888
  id: name,
203251
203889
  });
203252
203890
  this.map.add(this[name], 15);
203253
203891
  }
203254
- data.forEach(item => {
203892
+ data.forEach((item) => {
203255
203893
  const point = {
203256
203894
  //点设置
203257
203895
  type: "point", //类型:点、线、面
@@ -203262,8 +203900,8 @@ class echartsLayer_EchartsglLayer {
203262
203900
  //点符号设置
203263
203901
  type: "picture-marker",
203264
203902
  url: icon,
203265
- width: 35 * this.styleZoom + 'px',
203266
- height: 35 * this.styleZoom + 'px',
203903
+ width: 35 * this.styleZoom + "px",
203904
+ height: 35 * this.styleZoom + "px",
203267
203905
  };
203268
203906
  let pointGraphic = new Graphic({
203269
203907
  attributes: {
@@ -203275,41 +203913,41 @@ class echartsLayer_EchartsglLayer {
203275
203913
  geometry: point,
203276
203914
  symbol: simpleMarkerSymbol,
203277
203915
  });
203278
- this[name].add(pointGraphic)
203279
- })
203280
- })
203916
+ this[name].add(pointGraphic);
203917
+ });
203918
+ }
203919
+ );
203281
203920
  },
203282
203921
  removeTypePoint(layerName) {
203283
- let name = layerName + '_newlistpoint'
203922
+ let name = layerName + "_newlistpoint";
203284
203923
  if (this[name]) {
203285
- this[name].removeAll()
203924
+ this[name].removeAll();
203286
203925
  }
203287
203926
  },
203288
203927
  // 设备联动打点
203289
203928
  addDevLinkagePoint(devId) {
203290
203929
  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广播
203930
+ this.removeDevLinkagePoint();
203931
+ getDevjointaction({
203932
+ triggerDevNo: devId,
203933
+ }).then((res) => {
203934
+ Object(esri_loader["loadModules"])(["esri/Graphic", "esri/layers/GraphicsLayer"]).then(
203935
+ // 005情报板 018、012、220诱导灯 015广播
203298
203936
  ([Graphic, GraphicsLayer]) => {
203299
203937
  this.newQBBPointLayer = new GraphicsLayer({
203300
- id: 'newQBBPointLayer',
203938
+ id: "newQBBPointLayer",
203301
203939
  });
203302
203940
  this.newYDDPointLayer = new GraphicsLayer({
203303
- id: 'newYDDPointLayer',
203941
+ id: "newYDDPointLayer",
203304
203942
  });
203305
203943
  this.newGBPointLayer = new GraphicsLayer({
203306
- id: 'newGBPointLayer',
203944
+ id: "newGBPointLayer",
203307
203945
  });
203308
203946
  this.map.add(this.newQBBPointLayer, 15);
203309
203947
  this.map.add(this.newYDDPointLayer, 15);
203310
203948
  this.map.add(this.newGBPointLayer, 15);
203311
203949
  if (res.data) {
203312
- res.data[0].triggerByDev.forEach(item => {
203950
+ res.data[0].triggerByDev.forEach((item) => {
203313
203951
  item.lng = Number(item.lng);
203314
203952
  item.lat = Number(item.lat);
203315
203953
  item.road_id = item.roadId;
@@ -203322,13 +203960,13 @@ class echartsLayer_EchartsglLayer {
203322
203960
  type: "point",
203323
203961
  longitude: item.lng,
203324
203962
  latitude: item.lat,
203325
- }
203326
- if (item.devCategory == '005') {
203963
+ };
203964
+ if (item.devCategory == "005") {
203327
203965
  let simpleMarkerSymbol = {
203328
203966
  type: "picture-marker",
203329
203967
  url: this.newQBBPointLayer_img,
203330
- width: 35 * this.styleZoom + 'px',
203331
- height: 35 * this.styleZoom + 'px',
203968
+ width: 35 * this.styleZoom + "px",
203969
+ height: 35 * this.styleZoom + "px",
203332
203970
  };
203333
203971
  let pointGraphic = new Graphic({
203334
203972
  attributes: {
@@ -203339,13 +203977,17 @@ class echartsLayer_EchartsglLayer {
203339
203977
  geometry: point,
203340
203978
  symbol: simpleMarkerSymbol,
203341
203979
  });
203342
- this.newQBBPointLayer.add(pointGraphic)
203343
- } else if (item.devCategory == '018' || item.devCategory == '012' || item.devCategory == '220') {
203980
+ this.newQBBPointLayer.add(pointGraphic);
203981
+ } else if (
203982
+ item.devCategory == "018" ||
203983
+ item.devCategory == "012" ||
203984
+ item.devCategory == "220"
203985
+ ) {
203344
203986
  let simpleMarkerSymbol = {
203345
203987
  type: "picture-marker",
203346
203988
  url: this.newYDDPointLayer_img,
203347
- width: 35 * this.styleZoom + 'px',
203348
- height: 35 * this.styleZoom + 'px',
203989
+ width: 35 * this.styleZoom + "px",
203990
+ height: 35 * this.styleZoom + "px",
203349
203991
  };
203350
203992
  let pointGraphic = new Graphic({
203351
203993
  attributes: {
@@ -203356,13 +203998,13 @@ class echartsLayer_EchartsglLayer {
203356
203998
  geometry: point,
203357
203999
  symbol: simpleMarkerSymbol,
203358
204000
  });
203359
- this.newYDDPointLayer.add(pointGraphic)
203360
- } else if (item.devCategory == '015') {
204001
+ this.newYDDPointLayer.add(pointGraphic);
204002
+ } else if (item.devCategory == "015") {
203361
204003
  let simpleMarkerSymbol = {
203362
204004
  type: "picture-marker",
203363
204005
  url: this.newGBPointLayer_img,
203364
- width: 35 * this.styleZoom + 'px',
203365
- height: 35 * this.styleZoom + 'px',
204006
+ width: 35 * this.styleZoom + "px",
204007
+ height: 35 * this.styleZoom + "px",
203366
204008
  };
203367
204009
  let pointGraphic = new Graphic({
203368
204010
  attributes: {
@@ -203373,82 +204015,80 @@ class echartsLayer_EchartsglLayer {
203373
204015
  geometry: point,
203374
204016
  symbol: simpleMarkerSymbol,
203375
204017
  });
203376
- this.newGBPointLayer.add(pointGraphic)
204018
+ this.newGBPointLayer.add(pointGraphic);
203377
204019
  }
203378
- })
204020
+ });
203379
204021
  }
203380
204022
  // console.log('this.newQBBPointLayer',this.newQBBPointLayer);
203381
204023
  // console.log('this.newYDDPointLayer',this.newYDDPointLayer);
203382
204024
  // console.log('this.newGBPointLayer',this.newGBPointLayer);
203383
- })
203384
- })
204025
+ }
204026
+ );
204027
+ });
203385
204028
  }
203386
204029
  },
203387
204030
  // 清除设备联动打点
203388
204031
  removeDevLinkagePoint() {
203389
204032
  if (this.newQBBPointLayer) {
203390
- this.newQBBPointLayer.removeAll()
204033
+ this.newQBBPointLayer.removeAll();
203391
204034
  }
203392
204035
  if (this.newYDDPointLayer) {
203393
- this.newYDDPointLayer.removeAll()
204036
+ this.newYDDPointLayer.removeAll();
203394
204037
  }
203395
204038
  if (this.newGBPointLayer) {
203396
- this.newGBPointLayer.removeAll()
204039
+ this.newGBPointLayer.removeAll();
203397
204040
  }
203398
204041
  },
203399
204042
  openTrafficLayer() {
203400
-
203401
204043
  if (this.allGreenLayer) {
203402
- this.allGreenLayer.visible = true
204044
+ this.allGreenLayer.visible = true;
203403
204045
  } else {
203404
- this.initAllGreenLayer('1')
204046
+ this.initAllGreenLayer("1");
204047
+ }
204048
+ if (this.congestionSectionLayer) {
204049
+ this.congestionSectionLayer.visible = true;
204050
+ } else {
204051
+ let this_ = this;
204052
+ setTimeout(function () {
204053
+ this_.initTrafficLayer("1");
204054
+ }, 3000);
203405
204055
  }
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
204056
  let toolbar_c = this.toolbar_c.find(
203415
204057
  (item) => item.id == "weight_traffic"
203416
204058
  );
203417
204059
  this.weight_traffic_D = toolbar_c.imgUrl;
203418
204060
  if (!this.trafficLayerInterval) {
203419
204061
  this.trafficLayerInterval = setInterval(() => {
203420
- this.initTrafficLayer()
204062
+ this.initTrafficLayer();
203421
204063
  //console.log(this.congestionSectionLayer.visible);
203422
- }, 60000)
204064
+ }, 60000);
203423
204065
  }
203424
204066
  },
203425
204067
  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
- );
204068
+ if (this.congestionSectionLayer) {
204069
+ this.congestionSectionLayer.visible = false;
204070
+ }
204071
+ if (this.allGreenLayer.visible) {
204072
+ this.allGreenLayer.visible = false;
204073
+ }
204074
+ let toolbar = this.toolbar.find((item) => item.id == "weight_traffic");
203435
204075
  this.weight_traffic_D = toolbar.imgUrl;
203436
204076
  if (this.trafficLayerInterval) {
203437
- clearInterval(this.trafficLayerInterval)
203438
- this.trafficLayerInterval = null
204077
+ clearInterval(this.trafficLayerInterval);
204078
+ this.trafficLayerInterval = null;
203439
204079
  }
203440
204080
  },
203441
- initClearScreen(){
203442
- this.clearScreen(1);
203443
- },
204081
+ initClearScreen() {
204082
+ this.clearScreen(1);
204083
+ },
203444
204084
  // 一键清屏
203445
204085
  clearScreen(val) {
203446
204086
  this.getEquipList();
203447
204087
  this.closePopup();
203448
- if(val !=1){
203449
- this.closeTrafficLayer();
203450
- this.$emit('clearScreen');
203451
- }
204088
+ if (val != 1) {
204089
+ this.closeTrafficLayer();
204090
+ this.$emit("clearScreen");
204091
+ }
203452
204092
  this.cameraTreeShow = false;
203453
204093
  this.addSql({ opmaManagerCorpIds: [], opmaManagerIds: [] });
203454
204094
  //清空树勾选项
@@ -203460,116 +204100,118 @@ class echartsLayer_EchartsglLayer {
203460
204100
  };
203461
204101
  cTree.getTreeNode();
203462
204102
  }
203463
- this.$GlobalConfig['jiqing'].roadAndBridgeTunnel.forEach((item) => {
204103
+ this.$GlobalConfig["jiqing"].roadAndBridgeTunnel.forEach((item) => {
203464
204104
  if (this[item.layerName]) {
203465
204105
  this[item.layerName].visible = false;
203466
204106
  }
203467
204107
  });
203468
- this.$GlobalConfig['jiqing'].equipmentFacilities.forEach((item) => {
204108
+ this.$GlobalConfig["jiqing"].equipmentFacilities.forEach((item) => {
203469
204109
  if (this[item.layerName]) {
203470
204110
  this[item.layerName].visible = false;
203471
204111
  }
203472
204112
  });
203473
- this.$GlobalConfig['jiqing'].otherClass.forEach((item) => {
204113
+ this.$GlobalConfig["jiqing"].otherClass.forEach((item) => {
203474
204114
  if (this[item.layerName]) {
203475
204115
  this[item.layerName].visible = false;
203476
204116
  }
203477
204117
  });
203478
- this.$GlobalConfig['jiqing'].eventTopics.forEach((item) => {
204118
+ this.$GlobalConfig["jiqing"].eventTopics.forEach((item) => {
203479
204119
  if (this[item.layerName]) {
203480
204120
  this[item.layerName].visible = false;
203481
204121
  }
203482
204122
  });
203483
- this.$GlobalConfig['jiqing'].perceptionEvent.forEach((item) => {
204123
+ this.$GlobalConfig["jiqing"].perceptionEvent.forEach((item) => {
203484
204124
  if (this[item.layerName]) {
203485
204125
  this[item.layerName].visible = false;
203486
204126
  }
203487
204127
  });
203488
- this.$GlobalConfig['jiqing'].roadTestEquipment.forEach((item) => {
204128
+ this.$GlobalConfig["jiqing"].roadTestEquipment.forEach((item) => {
203489
204129
  if (this[item.layerName]) {
203490
204130
  this[item.layerName].visible = false;
203491
204131
  }
203492
204132
  });
203493
- this.$GlobalConfig['jiqing'].roadTestPublishEquipment.forEach((item) => {
204133
+ this.$GlobalConfig["jiqing"].roadTestPublishEquipment.forEach((item) => {
203494
204134
  if (this[item.layerName]) {
203495
204135
  this[item.layerName].visible = false;
203496
204136
  }
203497
204137
  });
203498
- this.$GlobalConfig['jiqing'].roadTestPerceptionPublishEquipment.forEach((item) => {
203499
- if (this[item.layerName]) {
203500
- this[item.layerName].visible = false;
204138
+ this.$GlobalConfig["jiqing"].roadTestPerceptionPublishEquipment.forEach(
204139
+ (item) => {
204140
+ if (this[item.layerName]) {
204141
+ this[item.layerName].visible = false;
204142
+ }
203501
204143
  }
203502
- });
203503
- this.$GlobalConfig['jiqing'].roadTestOthersEquipment.forEach((item) => {
204144
+ );
204145
+ this.$GlobalConfig["jiqing"].roadTestOthersEquipment.forEach((item) => {
203504
204146
  if (this[item.layerName]) {
203505
204147
  this[item.layerName].visible = false;
203506
204148
  }
203507
204149
  });
203508
- this.$GlobalConfig['jiqing'].roadNetworkFacilities.forEach((item) => {
204150
+ this.$GlobalConfig["jiqing"].roadNetworkFacilities.forEach((item) => {
203509
204151
  if (this[item.layerName]) {
203510
204152
  this[item.layerName].visible = false;
203511
204153
  }
203512
204154
  });
203513
- this.$GlobalConfig['jiqing'].maintenance.forEach((item) => {
204155
+ this.$GlobalConfig["jiqing"].maintenance.forEach((item) => {
203514
204156
  if (this[item.layerName]) {
203515
204157
  this[item.layerName].visible = false;
203516
204158
  }
203517
204159
  });
203518
204160
 
203519
-
203520
- this.$GlobalConfig['danao'].roadAndBridgeTunnel.forEach((item) => {
204161
+ this.$GlobalConfig["danao"].roadAndBridgeTunnel.forEach((item) => {
203521
204162
  if (this[item.layerName]) {
203522
204163
  this[item.layerName].visible = false;
203523
204164
  }
203524
204165
  });
203525
- this.$GlobalConfig['danao'].equipmentFacilities.forEach((item) => {
204166
+ this.$GlobalConfig["danao"].equipmentFacilities.forEach((item) => {
203526
204167
  if (this[item.layerName]) {
203527
204168
  this[item.layerName].visible = false;
203528
204169
  }
203529
204170
  });
203530
- this.$GlobalConfig['danao'].roadTestPublishEquipment.forEach((item) => {
204171
+ this.$GlobalConfig["danao"].roadTestPublishEquipment.forEach((item) => {
203531
204172
  if (this[item.layerName]) {
203532
204173
  this[item.layerName].visible = false;
203533
204174
  }
203534
204175
  });
203535
- this.$GlobalConfig['danao'].roadTestPerceptionPublishEquipment.forEach((item) => {
203536
- if (this[item.layerName]) {
203537
- this[item.layerName].visible = false;
204176
+ this.$GlobalConfig["danao"].roadTestPerceptionPublishEquipment.forEach(
204177
+ (item) => {
204178
+ if (this[item.layerName]) {
204179
+ this[item.layerName].visible = false;
204180
+ }
203538
204181
  }
203539
- });
203540
- this.$GlobalConfig['danao'].otherClass.forEach((item) => {
204182
+ );
204183
+ this.$GlobalConfig["danao"].otherClass.forEach((item) => {
203541
204184
  if (this[item.layerName]) {
203542
204185
  this[item.layerName].visible = false;
203543
204186
  }
203544
204187
  });
203545
- this.$GlobalConfig['danao'].eventTopics.forEach((item) => {
204188
+ this.$GlobalConfig["danao"].eventTopics.forEach((item) => {
203546
204189
  if (this[item.layerName]) {
203547
204190
  this[item.layerName].visible = false;
203548
204191
  }
203549
204192
  });
203550
- this.$GlobalConfig['danao'].perceptionEvent.forEach((item) => {
204193
+ this.$GlobalConfig["danao"].perceptionEvent.forEach((item) => {
203551
204194
  if (this[item.layerName]) {
203552
204195
  this[item.layerName].visible = false;
203553
204196
  }
203554
204197
  });
203555
- this.$GlobalConfig['danao'].roadTestEquipment.forEach((item) => {
204198
+ this.$GlobalConfig["danao"].roadTestEquipment.forEach((item) => {
203556
204199
  if (this[item.layerName]) {
203557
204200
  this[item.layerName].visible = false;
203558
204201
  }
203559
204202
  });
203560
- this.$GlobalConfig['danao'].roadNetworkFacilities.forEach((item) => {
204203
+ this.$GlobalConfig["danao"].roadNetworkFacilities.forEach((item) => {
203561
204204
  if (this[item.layerName]) {
203562
204205
  this[item.layerName].visible = false;
203563
204206
  }
203564
204207
  });
203565
- this.$GlobalConfig['danao'].maintenance.forEach((item) => {
204208
+ this.$GlobalConfig["danao"].maintenance.forEach((item) => {
203566
204209
  if (this[item.layerName]) {
203567
204210
  this[item.layerName].visible = false;
203568
204211
  }
203569
204212
  });
203570
204213
 
203571
-
203572
- this.removeAllVideoPoint()
204214
+ this.removeAllVideoPoint();
203573
204215
  //清除搜索单点
203574
204216
  if (this.searchPointTop) {
203575
204217
  this.removeTypePoint(this.searchPointTop);
@@ -203577,9 +204219,9 @@ class echartsLayer_EchartsglLayer {
203577
204219
  this.checkList = [];
203578
204220
  },
203579
204221
  defaultInitCrossLayer() {
203580
- this.showLayerById("CrossSectionLayer")
203581
- this.CrossSectionLayer_show = 1
203582
- }
204222
+ this.showLayerById("CrossSectionLayer");
204223
+ this.CrossSectionLayer_show = 1;
204224
+ },
203583
204225
  },
203584
204226
  });
203585
204227
 
@@ -206438,7 +207080,7 @@ files.keys().forEach((key) => {
206438
207080
  this.closesingleMes = "";
206439
207081
  },
206440
207082
  getRoadList() {
206441
- Object(api["m" /* getRoadData */])().then((res) => {
207083
+ Object(api["n" /* getRoadData */])().then((res) => {
206442
207084
  this.roadList = res.data;
206443
207085
  });
206444
207086
  },
@@ -207635,7 +208277,7 @@ files.keys().forEach((key) => {
207635
208277
  lon: latlon.x,
207636
208278
  lat: latlon.y,
207637
208279
  };
207638
- Object(api["s" /* lonandlatTopile */])(params)
208280
+ Object(api["t" /* lonandlatTopile */])(params)
207639
208281
  .then((res) => {
207640
208282
  if (res.data) {
207641
208283
  let mercator = that.lonlat2mercator({
@@ -207764,7 +208406,7 @@ files.keys().forEach((key) => {
207764
208406
  roadId: this.form.roadId,
207765
208407
  stakeNo: this.form.stakeNo,
207766
208408
  };
207767
- Object(api["n" /* getStationData */])(data).then((res) => {
208409
+ Object(api["o" /* getStationData */])(data).then((res) => {
207768
208410
  if (res.data && res.data.length > 0) {
207769
208411
  this.dialogToPileVisible = false;
207770
208412
  let stationData = res.data[0];
@@ -210073,7 +210715,7 @@ files.keys().forEach((key) => {
210073
210715
  this.$emit("fromGisCheckBox", tabHeight);
210074
210716
  }
210075
210717
  //济青单切换时通知mqtt重新下发消息
210076
- Object(api["A" /* sendMqttMessage */])().then(() => {
210718
+ Object(api["B" /* sendMqttMessage */])().then(() => {
210077
210719
  //console.log('gisMap.sendMqttMessage.res',res)
210078
210720
  //this.mqttData(res);
210079
210721
  });
@@ -222699,7 +223341,7 @@ var VideoPlay = __webpack_require__("5f91");
222699
223341
  goTo(){
222700
223342
  let _this = this;
222701
223343
  //获取authCode
222702
- Object(api["c" /* getAuthCode */])(sessionStorage.getItem('sdhsg_its_app-1.6.12-uuid')).then((res) => {
223344
+ Object(api["d" /* getAuthCode */])(sessionStorage.getItem('sdhsg_its_app-1.6.12-uuid')).then((res) => {
222703
223345
  if(res.code == 0){
222704
223346
  window.open(_this.jumpUrl.replace('{authCode}',res.data));
222705
223347
  }else{