gis-map-admin 1.6.3 → 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 +11 -33
- package/lib/gismap.umd.js +11 -33
- 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,9 +186742,7 @@ 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);
|
|
@@ -186771,7 +186767,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
186771
186767
|
this.popupAttr.eventCode = obj.eventCode;
|
|
186772
186768
|
},
|
|
186773
186769
|
imgx2(e) {
|
|
186774
|
-
console.log(e.target.src);
|
|
186775
186770
|
this.$emit("imgDoubleClick", e.target.src);
|
|
186776
186771
|
},
|
|
186777
186772
|
Letter_filtering(value) {
|
|
@@ -186793,7 +186788,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
186793
186788
|
this.fullScreenMouseEnter = false;
|
|
186794
186789
|
//根据经纬度查询天气情况
|
|
186795
186790
|
this.initWeatherByLonAndLat();
|
|
186796
|
-
console.log("popupAttr", this.popupAttr);
|
|
186797
186791
|
this.getMasterDetail();
|
|
186798
186792
|
let lanes = [];
|
|
186799
186793
|
if (this.popupAttr.lane != null && this.popupAttr.lane != "") {
|
|
@@ -186946,7 +186940,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
186946
186940
|
}
|
|
186947
186941
|
}
|
|
186948
186942
|
that.imgVideoUrl = str;
|
|
186949
|
-
//console.log(that.imgVideoUrl,'that.imgVideoUrl')
|
|
186950
186943
|
} else {
|
|
186951
186944
|
that.imgVideoUrl = item.respath;
|
|
186952
186945
|
}
|
|
@@ -186985,7 +186978,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
186985
186978
|
},
|
|
186986
186979
|
getMasterDetail() {
|
|
186987
186980
|
this.videoList = [];
|
|
186988
|
-
//console.log('popupAttr',this.popupAttr)
|
|
186989
186981
|
let reqData = { id: this.popupAttr.id };
|
|
186990
186982
|
Object(api["z" /* queryMasterDetail */])(
|
|
186991
186983
|
reqData,
|
|
@@ -186993,7 +186985,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
186993
186985
|
this.$GlobalConfig.trafficMonitorType
|
|
186994
186986
|
).then((res) => {
|
|
186995
186987
|
this.loading = false;
|
|
186996
|
-
console.log("queryMasterDetail.res", res);
|
|
186997
186988
|
if (res.code == 0 && res.data != null) {
|
|
186998
186989
|
this.masterDetailInfo = res.data;
|
|
186999
186990
|
this.popupAttr.trafficMainName = res.data.trafficMainName;
|
|
@@ -187017,7 +187008,7 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
187017
187008
|
this.leftCarouselBtn = true;
|
|
187018
187009
|
this.rightCarouselBtn = true;
|
|
187019
187010
|
}
|
|
187020
|
-
this.getEventTypeList(this.popupAttr.
|
|
187011
|
+
this.getEventTypeList(this.popupAttr.eventTypeCode);
|
|
187021
187012
|
}
|
|
187022
187013
|
}).catch(() => {
|
|
187023
187014
|
this.loading = false;
|
|
@@ -187040,7 +187031,7 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
187040
187031
|
schedulingSettings() {
|
|
187041
187032
|
if(!this.popupAttr.trafficMainCode) return this.$message({message:'请选择事件类型',type:'warning'});
|
|
187042
187033
|
if(!this.popupAttr.trafficSubCode) return this.$message({message:'请选择细分类型',type:'warning'});
|
|
187043
|
-
this.$confirm(
|
|
187034
|
+
this.$confirm(`是否将本事件类型确认为 ${this.popupAttr.trafficMainName}(${this.popupAttr.trafficSubName})?`, '提示', {
|
|
187044
187035
|
confirmButtonText: '确定',
|
|
187045
187036
|
cancelButtonText: '取消',
|
|
187046
187037
|
}).then(() => {
|
|
@@ -187050,7 +187041,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
187050
187041
|
},
|
|
187051
187042
|
terminationOfAlarm() {
|
|
187052
187043
|
if (this.perceptionEventReleaseShow) {
|
|
187053
|
-
console.log("terminationOfAlarm.popupAttr", this.popupAttr);
|
|
187054
187044
|
this.$emit("terminationOfAlarm", this.popupAttr);
|
|
187055
187045
|
this.$emit("removeAllVideoPoint", this.popupAttr);
|
|
187056
187046
|
} else {
|
|
@@ -187226,7 +187216,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
187226
187216
|
// let param = {
|
|
187227
187217
|
// camId: this.devId,
|
|
187228
187218
|
// };
|
|
187229
|
-
// console.log("发送流请求", param);
|
|
187230
187219
|
Object(api["w" /* openCam */])(
|
|
187231
187220
|
devId,
|
|
187232
187221
|
this.$GlobalConfig.trafficMonitorUrl,
|
|
@@ -187236,7 +187225,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
187236
187225
|
.then((res) => {
|
|
187237
187226
|
this.videoUrl = res.data.liveUrl;
|
|
187238
187227
|
//if (flvjs.isSupported()) {
|
|
187239
|
-
console.log("流请求返回参数", res, this.flvPlayer);
|
|
187240
187228
|
if (this.flvPlayer === null) {
|
|
187241
187229
|
const videoElement = document.getElementById("videoElement");
|
|
187242
187230
|
this.flv = new flvExtend_default.a({
|
|
@@ -187280,7 +187268,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
187280
187268
|
lazyLoad: false
|
|
187281
187269
|
}); */
|
|
187282
187270
|
this.flvPlayer.play();
|
|
187283
|
-
console.log("perception.flvPlayer", this.flvPlayer);
|
|
187284
187271
|
}
|
|
187285
187272
|
//}
|
|
187286
187273
|
})
|
|
@@ -187392,14 +187379,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
187392
187379
|
return className;
|
|
187393
187380
|
},
|
|
187394
187381
|
shouldShow() {
|
|
187395
|
-
console.log(
|
|
187396
|
-
"1111111111111111111111",
|
|
187397
|
-
this.specialId === this.popupAttr.deptId ||
|
|
187398
|
-
this.specialId === this.popupAttr.deptPid ||
|
|
187399
|
-
this.specialId === "YG1" ||
|
|
187400
|
-
this.specialId === ""
|
|
187401
|
-
);
|
|
187402
|
-
|
|
187403
187382
|
return (
|
|
187404
187383
|
this.specialId === this.popupAttr.deptId ||
|
|
187405
187384
|
this.specialId === this.popupAttr.deptPid ||
|
|
@@ -187427,8 +187406,8 @@ var perceptionEventLayervue_type_style_index_0_scope_true_lang_css_ = __webpack_
|
|
|
187427
187406
|
|
|
187428
187407
|
var perceptionEventLayer_component = Object(componentNormalizer["a" /* default */])(
|
|
187429
187408
|
eventLayer_perceptionEventLayervue_type_script_lang_js_,
|
|
187430
|
-
|
|
187431
|
-
|
|
187409
|
+
perceptionEventLayervue_type_template_id_530b12a2_render,
|
|
187410
|
+
perceptionEventLayervue_type_template_id_530b12a2_staticRenderFns,
|
|
187432
187411
|
false,
|
|
187433
187412
|
null,
|
|
187434
187413
|
null,
|
|
@@ -203868,7 +203847,6 @@ class echartsLayer_EchartsglLayer {
|
|
|
203868
203847
|
this.newVideoPointLayer.add(pointGraphic);
|
|
203869
203848
|
}
|
|
203870
203849
|
});
|
|
203871
|
-
console.log(this.newVideoPointLayer);
|
|
203872
203850
|
}
|
|
203873
203851
|
);
|
|
203874
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,9 +186751,7 @@ 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);
|
|
@@ -186780,7 +186776,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
186780
186776
|
this.popupAttr.eventCode = obj.eventCode;
|
|
186781
186777
|
},
|
|
186782
186778
|
imgx2(e) {
|
|
186783
|
-
console.log(e.target.src);
|
|
186784
186779
|
this.$emit("imgDoubleClick", e.target.src);
|
|
186785
186780
|
},
|
|
186786
186781
|
Letter_filtering(value) {
|
|
@@ -186802,7 +186797,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
186802
186797
|
this.fullScreenMouseEnter = false;
|
|
186803
186798
|
//根据经纬度查询天气情况
|
|
186804
186799
|
this.initWeatherByLonAndLat();
|
|
186805
|
-
console.log("popupAttr", this.popupAttr);
|
|
186806
186800
|
this.getMasterDetail();
|
|
186807
186801
|
let lanes = [];
|
|
186808
186802
|
if (this.popupAttr.lane != null && this.popupAttr.lane != "") {
|
|
@@ -186955,7 +186949,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
186955
186949
|
}
|
|
186956
186950
|
}
|
|
186957
186951
|
that.imgVideoUrl = str;
|
|
186958
|
-
//console.log(that.imgVideoUrl,'that.imgVideoUrl')
|
|
186959
186952
|
} else {
|
|
186960
186953
|
that.imgVideoUrl = item.respath;
|
|
186961
186954
|
}
|
|
@@ -186994,7 +186987,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
186994
186987
|
},
|
|
186995
186988
|
getMasterDetail() {
|
|
186996
186989
|
this.videoList = [];
|
|
186997
|
-
//console.log('popupAttr',this.popupAttr)
|
|
186998
186990
|
let reqData = { id: this.popupAttr.id };
|
|
186999
186991
|
Object(api["z" /* queryMasterDetail */])(
|
|
187000
186992
|
reqData,
|
|
@@ -187002,7 +186994,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
187002
186994
|
this.$GlobalConfig.trafficMonitorType
|
|
187003
186995
|
).then((res) => {
|
|
187004
186996
|
this.loading = false;
|
|
187005
|
-
console.log("queryMasterDetail.res", res);
|
|
187006
186997
|
if (res.code == 0 && res.data != null) {
|
|
187007
186998
|
this.masterDetailInfo = res.data;
|
|
187008
186999
|
this.popupAttr.trafficMainName = res.data.trafficMainName;
|
|
@@ -187026,7 +187017,7 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
187026
187017
|
this.leftCarouselBtn = true;
|
|
187027
187018
|
this.rightCarouselBtn = true;
|
|
187028
187019
|
}
|
|
187029
|
-
this.getEventTypeList(this.popupAttr.
|
|
187020
|
+
this.getEventTypeList(this.popupAttr.eventTypeCode);
|
|
187030
187021
|
}
|
|
187031
187022
|
}).catch(() => {
|
|
187032
187023
|
this.loading = false;
|
|
@@ -187049,7 +187040,7 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
187049
187040
|
schedulingSettings() {
|
|
187050
187041
|
if(!this.popupAttr.trafficMainCode) return this.$message({message:'请选择事件类型',type:'warning'});
|
|
187051
187042
|
if(!this.popupAttr.trafficSubCode) return this.$message({message:'请选择细分类型',type:'warning'});
|
|
187052
|
-
this.$confirm(
|
|
187043
|
+
this.$confirm(`是否将本事件类型确认为 ${this.popupAttr.trafficMainName}(${this.popupAttr.trafficSubName})?`, '提示', {
|
|
187053
187044
|
confirmButtonText: '确定',
|
|
187054
187045
|
cancelButtonText: '取消',
|
|
187055
187046
|
}).then(() => {
|
|
@@ -187059,7 +187050,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
187059
187050
|
},
|
|
187060
187051
|
terminationOfAlarm() {
|
|
187061
187052
|
if (this.perceptionEventReleaseShow) {
|
|
187062
|
-
console.log("terminationOfAlarm.popupAttr", this.popupAttr);
|
|
187063
187053
|
this.$emit("terminationOfAlarm", this.popupAttr);
|
|
187064
187054
|
this.$emit("removeAllVideoPoint", this.popupAttr);
|
|
187065
187055
|
} else {
|
|
@@ -187235,7 +187225,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
187235
187225
|
// let param = {
|
|
187236
187226
|
// camId: this.devId,
|
|
187237
187227
|
// };
|
|
187238
|
-
// console.log("发送流请求", param);
|
|
187239
187228
|
Object(api["w" /* openCam */])(
|
|
187240
187229
|
devId,
|
|
187241
187230
|
this.$GlobalConfig.trafficMonitorUrl,
|
|
@@ -187245,7 +187234,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
187245
187234
|
.then((res) => {
|
|
187246
187235
|
this.videoUrl = res.data.liveUrl;
|
|
187247
187236
|
//if (flvjs.isSupported()) {
|
|
187248
|
-
console.log("流请求返回参数", res, this.flvPlayer);
|
|
187249
187237
|
if (this.flvPlayer === null) {
|
|
187250
187238
|
const videoElement = document.getElementById("videoElement");
|
|
187251
187239
|
this.flv = new flvExtend_default.a({
|
|
@@ -187289,7 +187277,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
187289
187277
|
lazyLoad: false
|
|
187290
187278
|
}); */
|
|
187291
187279
|
this.flvPlayer.play();
|
|
187292
|
-
console.log("perception.flvPlayer", this.flvPlayer);
|
|
187293
187280
|
}
|
|
187294
187281
|
//}
|
|
187295
187282
|
})
|
|
@@ -187401,14 +187388,6 @@ var swiper_min = __webpack_require__("f4bd");
|
|
|
187401
187388
|
return className;
|
|
187402
187389
|
},
|
|
187403
187390
|
shouldShow() {
|
|
187404
|
-
console.log(
|
|
187405
|
-
"1111111111111111111111",
|
|
187406
|
-
this.specialId === this.popupAttr.deptId ||
|
|
187407
|
-
this.specialId === this.popupAttr.deptPid ||
|
|
187408
|
-
this.specialId === "YG1" ||
|
|
187409
|
-
this.specialId === ""
|
|
187410
|
-
);
|
|
187411
|
-
|
|
187412
187391
|
return (
|
|
187413
187392
|
this.specialId === this.popupAttr.deptId ||
|
|
187414
187393
|
this.specialId === this.popupAttr.deptPid ||
|
|
@@ -187436,8 +187415,8 @@ var perceptionEventLayervue_type_style_index_0_scope_true_lang_css_ = __webpack_
|
|
|
187436
187415
|
|
|
187437
187416
|
var perceptionEventLayer_component = Object(componentNormalizer["a" /* default */])(
|
|
187438
187417
|
eventLayer_perceptionEventLayervue_type_script_lang_js_,
|
|
187439
|
-
|
|
187440
|
-
|
|
187418
|
+
perceptionEventLayervue_type_template_id_530b12a2_render,
|
|
187419
|
+
perceptionEventLayervue_type_template_id_530b12a2_staticRenderFns,
|
|
187441
187420
|
false,
|
|
187442
187421
|
null,
|
|
187443
187422
|
null,
|
|
@@ -203877,7 +203856,6 @@ class echartsLayer_EchartsglLayer {
|
|
|
203877
203856
|
this.newVideoPointLayer.add(pointGraphic);
|
|
203878
203857
|
}
|
|
203879
203858
|
});
|
|
203880
|
-
console.log(this.newVideoPointLayer);
|
|
203881
203859
|
}
|
|
203882
203860
|
);
|
|
203883
203861
|
});
|