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