gis-map-admin 1.6.2 → 1.6.4
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 +14 -34
- package/lib/gismap.umd.js +14 -34
- package/lib/gismap.umd.min.js +2 -2
- package/package.json +1 -1
package/lib/gismap.common.js
CHANGED
|
@@ -19110,12 +19110,10 @@ function queryMasterDetail(data,urlPrefix,environmentType) {
|
|
|
19110
19110
|
})
|
|
19111
19111
|
}
|
|
19112
19112
|
// 事件类型列表
|
|
19113
|
-
function eventConvertType (
|
|
19113
|
+
function eventConvertType (eventTypeCode) {
|
|
19114
19114
|
return Object(request["a" /* default */])({
|
|
19115
|
-
url:
|
|
19115
|
+
url: '/trafficMonitor/event/report/eventConvertType?eventTypeCode='+ eventTypeCode,
|
|
19116
19116
|
method: 'get',
|
|
19117
|
-
type: environmentType,
|
|
19118
|
-
data
|
|
19119
19117
|
})
|
|
19120
19118
|
}
|
|
19121
19119
|
/**
|
|
@@ -186433,12 +186431,12 @@ var trafficEventLayer_component = Object(componentNormalizer["a" /* default */])
|
|
|
186433
186431
|
)
|
|
186434
186432
|
|
|
186435
186433
|
/* 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
|
|
186434
|
+
// 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=530b12a2&
|
|
186435
|
+
var perceptionEventLayervue_type_template_id_530b12a2_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("事件解除")])])])])}
|
|
186436
|
+
var perceptionEventLayervue_type_template_id_530b12a2_staticRenderFns = []
|
|
186439
186437
|
|
|
186440
186438
|
|
|
186441
|
-
// CONCATENATED MODULE: ./packages/gis-map/src/component/eventLayer/perceptionEventLayer.vue?vue&type=template&id=
|
|
186439
|
+
// CONCATENATED MODULE: ./packages/gis-map/src/component/eventLayer/perceptionEventLayer.vue?vue&type=template&id=530b12a2&
|
|
186442
186440
|
|
|
186443
186441
|
// EXTERNAL MODULE: ./node_modules/swiper/css/swiper.min.css
|
|
186444
186442
|
var swiper_min = __webpack_require__("f4bd");
|
|
@@ -186744,12 +186742,11 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
186744
186742
|
this.eventTypeList = [];
|
|
186745
186743
|
this.subEventTypeList = [];
|
|
186746
186744
|
Object(api["c" /* eventConvertType */])(
|
|
186747
|
-
eventTypeCode
|
|
186748
|
-
this.$GlobalConfig.trafficMonitorUrl,
|
|
186749
|
-
this.$GlobalConfig.trafficMonitorType
|
|
186745
|
+
eventTypeCode
|
|
186750
186746
|
).then((data) => {
|
|
186751
186747
|
this.eventTypeList = data.data || [];
|
|
186752
|
-
|
|
186748
|
+
let obj = this.eventTypeList.find((e) => e.trafficMainCode == this.popupAttr.trafficMainCode);
|
|
186749
|
+
this.subEventTypeList = obj.childList || [];
|
|
186753
186750
|
});
|
|
186754
186751
|
},
|
|
186755
186752
|
// 主类型改变
|
|
@@ -186770,7 +186767,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
186770
186767
|
this.popupAttr.eventCode = obj.eventCode;
|
|
186771
186768
|
},
|
|
186772
186769
|
imgx2(e) {
|
|
186773
|
-
console.log(e.target.src);
|
|
186774
186770
|
this.$emit("imgDoubleClick", e.target.src);
|
|
186775
186771
|
},
|
|
186776
186772
|
Letter_filtering(value) {
|
|
@@ -186792,7 +186788,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
186792
186788
|
this.fullScreenMouseEnter = false;
|
|
186793
186789
|
//根据经纬度查询天气情况
|
|
186794
186790
|
this.initWeatherByLonAndLat();
|
|
186795
|
-
console.log("popupAttr", this.popupAttr);
|
|
186796
186791
|
this.getMasterDetail();
|
|
186797
186792
|
let lanes = [];
|
|
186798
186793
|
if (this.popupAttr.lane != null && this.popupAttr.lane != "") {
|
|
@@ -186945,14 +186940,13 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
186945
186940
|
}
|
|
186946
186941
|
}
|
|
186947
186942
|
that.imgVideoUrl = str;
|
|
186948
|
-
//console.log(that.imgVideoUrl,'that.imgVideoUrl')
|
|
186949
186943
|
} else {
|
|
186950
186944
|
that.imgVideoUrl = item.respath;
|
|
186951
186945
|
}
|
|
186952
186946
|
}
|
|
186953
186947
|
}
|
|
186954
186948
|
}
|
|
186955
|
-
|
|
186949
|
+
|
|
186956
186950
|
},
|
|
186957
186951
|
initEventMainType() {
|
|
186958
186952
|
Object(api["i" /* getEventMainType */])().then((res) => {
|
|
@@ -186984,7 +186978,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
186984
186978
|
},
|
|
186985
186979
|
getMasterDetail() {
|
|
186986
186980
|
this.videoList = [];
|
|
186987
|
-
//console.log('popupAttr',this.popupAttr)
|
|
186988
186981
|
let reqData = { id: this.popupAttr.id };
|
|
186989
186982
|
Object(api["z" /* queryMasterDetail */])(
|
|
186990
186983
|
reqData,
|
|
@@ -186992,7 +186985,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
186992
186985
|
this.$GlobalConfig.trafficMonitorType
|
|
186993
186986
|
).then((res) => {
|
|
186994
186987
|
this.loading = false;
|
|
186995
|
-
console.log("queryMasterDetail.res", res);
|
|
186996
186988
|
if (res.code == 0 && res.data != null) {
|
|
186997
186989
|
this.masterDetailInfo = res.data;
|
|
186998
186990
|
this.popupAttr.trafficMainName = res.data.trafficMainName;
|
|
@@ -187016,6 +187008,7 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
187016
187008
|
this.leftCarouselBtn = true;
|
|
187017
187009
|
this.rightCarouselBtn = true;
|
|
187018
187010
|
}
|
|
187011
|
+
this.getEventTypeList(this.popupAttr.eventTypeCode);
|
|
187019
187012
|
}
|
|
187020
187013
|
}).catch(() => {
|
|
187021
187014
|
this.loading = false;
|
|
@@ -187038,7 +187031,7 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
187038
187031
|
schedulingSettings() {
|
|
187039
187032
|
if(!this.popupAttr.trafficMainCode) return this.$message({message:'请选择事件类型',type:'warning'});
|
|
187040
187033
|
if(!this.popupAttr.trafficSubCode) return this.$message({message:'请选择细分类型',type:'warning'});
|
|
187041
|
-
this.$confirm(
|
|
187034
|
+
this.$confirm(`是否将本事件类型确认为 ${this.popupAttr.trafficMainName}(${this.popupAttr.trafficSubName})?`, '提示', {
|
|
187042
187035
|
confirmButtonText: '确定',
|
|
187043
187036
|
cancelButtonText: '取消',
|
|
187044
187037
|
}).then(() => {
|
|
@@ -187048,7 +187041,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
187048
187041
|
},
|
|
187049
187042
|
terminationOfAlarm() {
|
|
187050
187043
|
if (this.perceptionEventReleaseShow) {
|
|
187051
|
-
console.log("terminationOfAlarm.popupAttr", this.popupAttr);
|
|
187052
187044
|
this.$emit("terminationOfAlarm", this.popupAttr);
|
|
187053
187045
|
this.$emit("removeAllVideoPoint", this.popupAttr);
|
|
187054
187046
|
} else {
|
|
@@ -187224,7 +187216,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
187224
187216
|
// let param = {
|
|
187225
187217
|
// camId: this.devId,
|
|
187226
187218
|
// };
|
|
187227
|
-
// console.log("发送流请求", param);
|
|
187228
187219
|
Object(api["w" /* openCam */])(
|
|
187229
187220
|
devId,
|
|
187230
187221
|
this.$GlobalConfig.trafficMonitorUrl,
|
|
@@ -187234,7 +187225,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
187234
187225
|
.then((res) => {
|
|
187235
187226
|
this.videoUrl = res.data.liveUrl;
|
|
187236
187227
|
//if (flvjs.isSupported()) {
|
|
187237
|
-
console.log("流请求返回参数", res, this.flvPlayer);
|
|
187238
187228
|
if (this.flvPlayer === null) {
|
|
187239
187229
|
const videoElement = document.getElementById("videoElement");
|
|
187240
187230
|
this.flv = new flvExtend_default.a({
|
|
@@ -187278,7 +187268,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
187278
187268
|
lazyLoad: false
|
|
187279
187269
|
}); */
|
|
187280
187270
|
this.flvPlayer.play();
|
|
187281
|
-
console.log("perception.flvPlayer", this.flvPlayer);
|
|
187282
187271
|
}
|
|
187283
187272
|
//}
|
|
187284
187273
|
})
|
|
@@ -187390,14 +187379,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
187390
187379
|
return className;
|
|
187391
187380
|
},
|
|
187392
187381
|
shouldShow() {
|
|
187393
|
-
console.log(
|
|
187394
|
-
"1111111111111111111111",
|
|
187395
|
-
this.specialId === this.popupAttr.deptId ||
|
|
187396
|
-
this.specialId === this.popupAttr.deptPid ||
|
|
187397
|
-
this.specialId === "YG1" ||
|
|
187398
|
-
this.specialId === ""
|
|
187399
|
-
);
|
|
187400
|
-
|
|
187401
187382
|
return (
|
|
187402
187383
|
this.specialId === this.popupAttr.deptId ||
|
|
187403
187384
|
this.specialId === this.popupAttr.deptPid ||
|
|
@@ -187425,8 +187406,8 @@ var perceptionEventLayervue_type_style_index_0_scope_true_lang_css_ = __webpack_
|
|
|
187425
187406
|
|
|
187426
187407
|
var perceptionEventLayer_component = Object(componentNormalizer["a" /* default */])(
|
|
187427
187408
|
eventLayer_perceptionEventLayervue_type_script_lang_js_,
|
|
187428
|
-
|
|
187429
|
-
|
|
187409
|
+
perceptionEventLayervue_type_template_id_530b12a2_render,
|
|
187410
|
+
perceptionEventLayervue_type_template_id_530b12a2_staticRenderFns,
|
|
187430
187411
|
false,
|
|
187431
187412
|
null,
|
|
187432
187413
|
null,
|
|
@@ -203866,7 +203847,6 @@ class echartsLayer_EchartsglLayer {
|
|
|
203866
203847
|
this.newVideoPointLayer.add(pointGraphic);
|
|
203867
203848
|
}
|
|
203868
203849
|
});
|
|
203869
|
-
console.log(this.newVideoPointLayer);
|
|
203870
203850
|
}
|
|
203871
203851
|
);
|
|
203872
203852
|
});
|
package/lib/gismap.umd.js
CHANGED
|
@@ -19119,12 +19119,10 @@ function queryMasterDetail(data,urlPrefix,environmentType) {
|
|
|
19119
19119
|
})
|
|
19120
19120
|
}
|
|
19121
19121
|
// 事件类型列表
|
|
19122
|
-
function eventConvertType (
|
|
19122
|
+
function eventConvertType (eventTypeCode) {
|
|
19123
19123
|
return Object(request["a" /* default */])({
|
|
19124
|
-
url:
|
|
19124
|
+
url: '/trafficMonitor/event/report/eventConvertType?eventTypeCode='+ eventTypeCode,
|
|
19125
19125
|
method: 'get',
|
|
19126
|
-
type: environmentType,
|
|
19127
|
-
data
|
|
19128
19126
|
})
|
|
19129
19127
|
}
|
|
19130
19128
|
/**
|
|
@@ -186442,12 +186440,12 @@ var trafficEventLayer_component = Object(componentNormalizer["a" /* default */])
|
|
|
186442
186440
|
)
|
|
186443
186441
|
|
|
186444
186442
|
/* harmony default export */ var trafficEventLayer = (trafficEventLayer_component.exports);
|
|
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=
|
|
186446
|
-
var
|
|
186447
|
-
var
|
|
186443
|
+
// 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=530b12a2&
|
|
186444
|
+
var perceptionEventLayervue_type_template_id_530b12a2_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("事件解除")])])])])}
|
|
186445
|
+
var perceptionEventLayervue_type_template_id_530b12a2_staticRenderFns = []
|
|
186448
186446
|
|
|
186449
186447
|
|
|
186450
|
-
// CONCATENATED MODULE: ./packages/gis-map/src/component/eventLayer/perceptionEventLayer.vue?vue&type=template&id=
|
|
186448
|
+
// CONCATENATED MODULE: ./packages/gis-map/src/component/eventLayer/perceptionEventLayer.vue?vue&type=template&id=530b12a2&
|
|
186451
186449
|
|
|
186452
186450
|
// EXTERNAL MODULE: ./node_modules/swiper/css/swiper.min.css
|
|
186453
186451
|
var swiper_min = __webpack_require__("f4bd");
|
|
@@ -186753,12 +186751,11 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
186753
186751
|
this.eventTypeList = [];
|
|
186754
186752
|
this.subEventTypeList = [];
|
|
186755
186753
|
Object(api["c" /* eventConvertType */])(
|
|
186756
|
-
eventTypeCode
|
|
186757
|
-
this.$GlobalConfig.trafficMonitorUrl,
|
|
186758
|
-
this.$GlobalConfig.trafficMonitorType
|
|
186754
|
+
eventTypeCode
|
|
186759
186755
|
).then((data) => {
|
|
186760
186756
|
this.eventTypeList = data.data || [];
|
|
186761
|
-
|
|
186757
|
+
let obj = this.eventTypeList.find((e) => e.trafficMainCode == this.popupAttr.trafficMainCode);
|
|
186758
|
+
this.subEventTypeList = obj.childList || [];
|
|
186762
186759
|
});
|
|
186763
186760
|
},
|
|
186764
186761
|
// 主类型改变
|
|
@@ -186779,7 +186776,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
186779
186776
|
this.popupAttr.eventCode = obj.eventCode;
|
|
186780
186777
|
},
|
|
186781
186778
|
imgx2(e) {
|
|
186782
|
-
console.log(e.target.src);
|
|
186783
186779
|
this.$emit("imgDoubleClick", e.target.src);
|
|
186784
186780
|
},
|
|
186785
186781
|
Letter_filtering(value) {
|
|
@@ -186801,7 +186797,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
186801
186797
|
this.fullScreenMouseEnter = false;
|
|
186802
186798
|
//根据经纬度查询天气情况
|
|
186803
186799
|
this.initWeatherByLonAndLat();
|
|
186804
|
-
console.log("popupAttr", this.popupAttr);
|
|
186805
186800
|
this.getMasterDetail();
|
|
186806
186801
|
let lanes = [];
|
|
186807
186802
|
if (this.popupAttr.lane != null && this.popupAttr.lane != "") {
|
|
@@ -186954,14 +186949,13 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
186954
186949
|
}
|
|
186955
186950
|
}
|
|
186956
186951
|
that.imgVideoUrl = str;
|
|
186957
|
-
//console.log(that.imgVideoUrl,'that.imgVideoUrl')
|
|
186958
186952
|
} else {
|
|
186959
186953
|
that.imgVideoUrl = item.respath;
|
|
186960
186954
|
}
|
|
186961
186955
|
}
|
|
186962
186956
|
}
|
|
186963
186957
|
}
|
|
186964
|
-
|
|
186958
|
+
|
|
186965
186959
|
},
|
|
186966
186960
|
initEventMainType() {
|
|
186967
186961
|
Object(api["i" /* getEventMainType */])().then((res) => {
|
|
@@ -186993,7 +186987,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
186993
186987
|
},
|
|
186994
186988
|
getMasterDetail() {
|
|
186995
186989
|
this.videoList = [];
|
|
186996
|
-
//console.log('popupAttr',this.popupAttr)
|
|
186997
186990
|
let reqData = { id: this.popupAttr.id };
|
|
186998
186991
|
Object(api["z" /* queryMasterDetail */])(
|
|
186999
186992
|
reqData,
|
|
@@ -187001,7 +186994,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
187001
186994
|
this.$GlobalConfig.trafficMonitorType
|
|
187002
186995
|
).then((res) => {
|
|
187003
186996
|
this.loading = false;
|
|
187004
|
-
console.log("queryMasterDetail.res", res);
|
|
187005
186997
|
if (res.code == 0 && res.data != null) {
|
|
187006
186998
|
this.masterDetailInfo = res.data;
|
|
187007
186999
|
this.popupAttr.trafficMainName = res.data.trafficMainName;
|
|
@@ -187025,6 +187017,7 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
187025
187017
|
this.leftCarouselBtn = true;
|
|
187026
187018
|
this.rightCarouselBtn = true;
|
|
187027
187019
|
}
|
|
187020
|
+
this.getEventTypeList(this.popupAttr.eventTypeCode);
|
|
187028
187021
|
}
|
|
187029
187022
|
}).catch(() => {
|
|
187030
187023
|
this.loading = false;
|
|
@@ -187047,7 +187040,7 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
187047
187040
|
schedulingSettings() {
|
|
187048
187041
|
if(!this.popupAttr.trafficMainCode) return this.$message({message:'请选择事件类型',type:'warning'});
|
|
187049
187042
|
if(!this.popupAttr.trafficSubCode) return this.$message({message:'请选择细分类型',type:'warning'});
|
|
187050
|
-
this.$confirm(
|
|
187043
|
+
this.$confirm(`是否将本事件类型确认为 ${this.popupAttr.trafficMainName}(${this.popupAttr.trafficSubName})?`, '提示', {
|
|
187051
187044
|
confirmButtonText: '确定',
|
|
187052
187045
|
cancelButtonText: '取消',
|
|
187053
187046
|
}).then(() => {
|
|
@@ -187057,7 +187050,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
187057
187050
|
},
|
|
187058
187051
|
terminationOfAlarm() {
|
|
187059
187052
|
if (this.perceptionEventReleaseShow) {
|
|
187060
|
-
console.log("terminationOfAlarm.popupAttr", this.popupAttr);
|
|
187061
187053
|
this.$emit("terminationOfAlarm", this.popupAttr);
|
|
187062
187054
|
this.$emit("removeAllVideoPoint", this.popupAttr);
|
|
187063
187055
|
} else {
|
|
@@ -187233,7 +187225,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
187233
187225
|
// let param = {
|
|
187234
187226
|
// camId: this.devId,
|
|
187235
187227
|
// };
|
|
187236
|
-
// console.log("发送流请求", param);
|
|
187237
187228
|
Object(api["w" /* openCam */])(
|
|
187238
187229
|
devId,
|
|
187239
187230
|
this.$GlobalConfig.trafficMonitorUrl,
|
|
@@ -187243,7 +187234,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
187243
187234
|
.then((res) => {
|
|
187244
187235
|
this.videoUrl = res.data.liveUrl;
|
|
187245
187236
|
//if (flvjs.isSupported()) {
|
|
187246
|
-
console.log("流请求返回参数", res, this.flvPlayer);
|
|
187247
187237
|
if (this.flvPlayer === null) {
|
|
187248
187238
|
const videoElement = document.getElementById("videoElement");
|
|
187249
187239
|
this.flv = new flvExtend_default.a({
|
|
@@ -187287,7 +187277,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
187287
187277
|
lazyLoad: false
|
|
187288
187278
|
}); */
|
|
187289
187279
|
this.flvPlayer.play();
|
|
187290
|
-
console.log("perception.flvPlayer", this.flvPlayer);
|
|
187291
187280
|
}
|
|
187292
187281
|
//}
|
|
187293
187282
|
})
|
|
@@ -187399,14 +187388,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
187399
187388
|
return className;
|
|
187400
187389
|
},
|
|
187401
187390
|
shouldShow() {
|
|
187402
|
-
console.log(
|
|
187403
|
-
"1111111111111111111111",
|
|
187404
|
-
this.specialId === this.popupAttr.deptId ||
|
|
187405
|
-
this.specialId === this.popupAttr.deptPid ||
|
|
187406
|
-
this.specialId === "YG1" ||
|
|
187407
|
-
this.specialId === ""
|
|
187408
|
-
);
|
|
187409
|
-
|
|
187410
187391
|
return (
|
|
187411
187392
|
this.specialId === this.popupAttr.deptId ||
|
|
187412
187393
|
this.specialId === this.popupAttr.deptPid ||
|
|
@@ -187434,8 +187415,8 @@ var perceptionEventLayervue_type_style_index_0_scope_true_lang_css_ = __webpack_
|
|
|
187434
187415
|
|
|
187435
187416
|
var perceptionEventLayer_component = Object(componentNormalizer["a" /* default */])(
|
|
187436
187417
|
eventLayer_perceptionEventLayervue_type_script_lang_js_,
|
|
187437
|
-
|
|
187438
|
-
|
|
187418
|
+
perceptionEventLayervue_type_template_id_530b12a2_render,
|
|
187419
|
+
perceptionEventLayervue_type_template_id_530b12a2_staticRenderFns,
|
|
187439
187420
|
false,
|
|
187440
187421
|
null,
|
|
187441
187422
|
null,
|
|
@@ -203875,7 +203856,6 @@ class echartsLayer_EchartsglLayer {
|
|
|
203875
203856
|
this.newVideoPointLayer.add(pointGraphic);
|
|
203876
203857
|
}
|
|
203877
203858
|
});
|
|
203878
|
-
console.log(this.newVideoPointLayer);
|
|
203879
203859
|
}
|
|
203880
203860
|
);
|
|
203881
203861
|
});
|