gis-map-admin 1.6.3 → 1.6.5

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.
@@ -19110,12 +19110,10 @@ function queryMasterDetail(data,urlPrefix,environmentType) {
19110
19110
  })
19111
19111
  }
19112
19112
  // 事件类型列表
19113
- function eventConvertType (data,urlPrefix,environmentType) {
19113
+ function eventConvertType (eventTypeCode) {
19114
19114
  return Object(request["a" /* default */])({
19115
- url: urlPrefix+ '/trafficMonitor/event/report/eventConvertType',
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=6ce3b99c&
186437
- var perceptionEventLayervue_type_template_id_6ce3b99c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading),expression:"loading"}],staticClass:"perceptionEventLayer",attrs:{"element-loading-background":"rgba(4, 27, 51, 0.5)"}},[_c('div',{staticClass:"discontent"},[_c('div',{staticClass:"content_l"},[_c('div',{staticClass:"topCon"},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.videoActive),expression:"videoActive"}],staticClass:"btnsCarousel"},[_c('el-button',{staticClass:"leftCarousel",attrs:{"disabled":_vm.leftCarouselBtn,"icon":"el-icon-caret-left","circle":"","size":"mini"},on:{"click":function($event){return _vm.switchVideo('left')}}}),_c('el-button',{staticClass:"rightCarousel",attrs:{"disabled":_vm.rightCarouselBtn,"icon":"el-icon-caret-right","circle":"","size":"mini"},on:{"click":function($event){return _vm.switchVideo('right')}}})],1),_c('div',{staticClass:"videoBox"},[_c('i',{directives:[{name:"show",rawName:"v-show",value:(_vm.videoActive),expression:"videoActive"}],staticClass:"el-icon-full-screen",class:_vm.fullScreenZoom,attrs:{"title":_vm.fullscreen ? '退出全屏' : '全屏'},on:{"click":function($event){return _vm.handleFullScreen($event)}}}),_c('video',{directives:[{name:"show",rawName:"v-show",value:(_vm.videoActive),expression:"videoActive"}],staticStyle:{"object-fit":"fill"},attrs:{"autoplay":"","width":"100%","height":"100%","id":"videoElement"}})]),_c('img',{directives:[{name:"show",rawName:"v-show",value:(_vm.imgActive),expression:"imgActive"}],staticClass:"xcImg",staticStyle:{"cursor":"pointer"},attrs:{"src":_vm.imgUrl,"alt":""},on:{"click":function($event){return _vm.imgx2($event)}}}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.imgVideoActive),expression:"imgVideoActive"}],staticClass:"videoBox"},[_c('i',{directives:[{name:"show",rawName:"v-show",value:(_vm.imgVideoActive),expression:"imgVideoActive"}],staticClass:"el-icon-full-screen",class:_vm.fullScreenZoom2,attrs:{"title":_vm.fullscreen ? '退出全屏' : '全屏'},on:{"click":function($event){return _vm.handleFullScreen($event)}}}),_c('video',{directives:[{name:"show",rawName:"v-show",value:(_vm.imgVideoActive),expression:"imgVideoActive"}],staticStyle:{"object-fit":"fill"},attrs:{"autoplay":"","loop":"","width":"100%","height":"100%","src":_vm.imgVideoUrl}})]),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.popupAttr.dataSource == 2),expression:"popupAttr.dataSource == 2"}],staticClass:"btns"},[_c('div',{class:_vm.btnImgActive,on:{"click":function($event){return _vm.showActive('video')}}},[_vm._v("视频")]),_c('div',{class:_vm.btnVideoActive,on:{"click":function($event){return _vm.showActive('img')}}},[_vm._v("图像")])])]),_c('div',{staticClass:"dmcll"},[(_vm.echartsIsShow)?_c('div',{staticClass:"noInfoText"},[_vm._v("断面车流量暂无数据")]):_vm._e(),_c('div',{ref:"etCharts",staticStyle:{"height":"0.885416rem","width":"100%"}})])]),_c('div',{staticClass:"content_r"},[_c('div',{staticClass:"item"},[_c('span',{staticClass:"lable"},[_vm._v("事件地点:")]),_c('span',{staticStyle:{"padding-top":"0.0104166rem"}},[_vm._v(_vm._s(_vm.popupAttr.location))]),_vm._v(" "),(_vm.popupAttr.eventType !== '大雾')?_c('span',{staticStyle:{"padding-top":"0.0104166rem"}},[_vm._v(_vm._s(_vm.popupAttr.stakeNumber))]):_vm._e(),_vm._v(" "),(_vm.popupAttr.eventType === '大雾')?_c('span',{staticStyle:{"padding-top":"0.0104166rem"}},[_vm._v(_vm._s(_vm.popupAttr.beginPile)+" ~")]):_vm._e(),_vm._v(" "),(_vm.popupAttr.eventType === '大雾')?_c('span',{staticStyle:{"padding-top":"0.0104166rem"}},[_vm._v(_vm._s(_vm.popupAttr.endPile))]):_vm._e(),_vm._v(" "),(_vm.popupAttr.eventType !== '大雾')?_c('span',[_vm._v(_vm._s(_vm.eventDirection))]):_vm._e()]),_c('div',{staticClass:"item"},[_c('span',{staticClass:"lable"},[_vm._v("事件类型:")]),_c('el-select',{staticStyle:{"width":"70%"},on:{"change":_vm.mainCodeChange},model:{value:(_vm.popupAttr.trafficMainCode),callback:function ($$v) {_vm.$set(_vm.popupAttr, "trafficMainCode", $$v)},expression:"popupAttr.trafficMainCode"}},_vm._l((_vm.eventTypeList),function(item,i){return _c('el-option',{key:i,attrs:{"label":item.trafficMainName,"value":item.trafficMainCode}})}),1)],1),_c('div',{staticClass:"item"},[_c('span',{staticClass:"lable"},[_vm._v("细分类别:")]),_c('el-select',{staticStyle:{"width":"70%"},on:{"change":_vm.subCodeChange},model:{value:(_vm.popupAttr.trafficSubCode),callback:function ($$v) {_vm.$set(_vm.popupAttr, "trafficSubCode", $$v)},expression:"popupAttr.trafficSubCode"}},_vm._l((_vm.subEventTypeList),function(item,i){return _c('el-option',{key:i,attrs:{"label":item.trafficSubName,"value":item.trafficSubCode}})}),1)],1),_c('div',{staticClass:"item"},[_c('span',{staticClass:"lable"},[_vm._v("事件来源:")]),_c('span',[_vm._v(_vm._s(_vm.popupAttr.eventSource))])]),_c('div',{staticClass:"item"},[_c('span',{staticClass:"lable"},[_vm._v("事件描述:")]),_c('el-input',{attrs:{"type":"textarea","rows":4},on:{"blur":_vm.updataEvent},model:{value:(_vm.eventForm.eventDis),callback:function ($$v) {_vm.$set(_vm.eventForm, "eventDis", $$v)},expression:"eventForm.eventDis"}})],1),_c('div',{staticClass:"item"},[_c('span',{staticClass:"lable"},[_vm._v("报警时间:")]),_c('span',[_vm._v(_vm._s(_vm.popupAttr.occurTime))])]),_c('div',{staticClass:"item"},[_c('span',{staticClass:"lable"},[_vm._v("影响车道:")]),_c('el-checkbox-group',{attrs:{"text-color":"#fff !important"},on:{"input":_vm.updataEvent},model:{value:(_vm.eventForm.enentCd),callback:function ($$v) {_vm.$set(_vm.eventForm, "enentCd", $$v)},expression:"eventForm.enentCd"}},[_c('el-checkbox-button',{key:"1",attrs:{"label":"1"}},[_vm._v("1")]),_c('el-checkbox-button',{key:"2",attrs:{"label":"2"}},[_vm._v("2")]),_c('el-checkbox-button',{key:"4",attrs:{"label":"4"}},[_vm._v("3")]),_c('el-checkbox-button',{key:"5",attrs:{"label":"5"}},[_vm._v("4")]),_c('el-checkbox-button',{key:"3",attrs:{"label":"3"}},[_vm._v("应急")])],1)],1),_c('div',{staticClass:"item"},[_c('span',{staticClass:"lable"},[_vm._v("持续时间:")]),_c('span',[_vm._v(_vm._s(_vm.duration))])]),_c('div',{staticClass:"item"},[_c('span',{staticClass:"lable"},[_vm._v("天气情况:")]),_c('span',[_vm._v(_vm._s(_vm.weatherDescription))])]),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.perceptionEventReleaseShow),expression:"perceptionEventReleaseShow"}],staticClass:"item"},[_c('span',{staticClass:"lable"},[_vm._v("解除原因:")]),_c('el-radio-group',{staticStyle:{"width":"1.3rem"},model:{value:(_vm.popupAttr.releaseReason),callback:function ($$v) {_vm.$set(_vm.popupAttr, "releaseReason", $$v)},expression:"popupAttr.releaseReason"}},[_c('el-row',[_c('el-col',{attrs:{"span":12}},[_c('el-radio',{attrs:{"label":1}},[_vm._v("误报解除")])],1),_c('el-col',{attrs:{"span":12}},[_c('el-radio',{attrs:{"label":2}},[_vm._v("事件已结束")])],1),_c('el-col',{attrs:{"span":12}},[_c('el-radio',{attrs:{"label":3}},[_vm._v("无需处理事件")])],1),_c('el-col',{attrs:{"span":12}},[_c('el-radio',{attrs:{"label":4}},[_vm._v("其他")])],1)],1)],1)],1),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.perceptionEventReleaseShow),expression:"perceptionEventReleaseShow"}],staticClass:"item"},[_c('span',{staticClass:"lable"},[_vm._v("解除描述:")]),_c('el-input',{attrs:{"type":"textarea","rows":2},on:{"blur":_vm.updataEvent},model:{value:(_vm.popupAttr.reasonDesc),callback:function ($$v) {_vm.$set(_vm.popupAttr, "reasonDesc", $$v)},expression:"popupAttr.reasonDesc"}})],1)]),_c('div',{staticStyle:{"clear":"both"}}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.shouldShow),expression:"shouldShow"}],staticClass:"content_b"},[_c('div',{staticClass:"btn",on:{"click":_vm.schedulingSettings}},[_vm._v("事件确认")]),_c('div',{staticClass:"btn btn_c",on:{"click":_vm.terminationOfAlarm}},[_vm._v("事件解除")])])])])}
186438
- var perceptionEventLayervue_type_template_id_6ce3b99c_staticRenderFns = []
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=737541f1&
186435
+ var perceptionEventLayervue_type_template_id_737541f1_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_737541f1_staticRenderFns = []
186439
186437
 
186440
186438
 
186441
- // CONCATENATED MODULE: ./packages/gis-map/src/component/eventLayer/perceptionEventLayer.vue?vue&type=template&id=6ce3b99c&
186439
+ // CONCATENATED MODULE: ./packages/gis-map/src/component/eventLayer/perceptionEventLayer.vue?vue&type=template&id=737541f1&
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);
@@ -186757,21 +186753,28 @@ var swiper_min = __webpack_require__("f4bd");
186757
186753
  mainCodeChange(val) {
186758
186754
  let obj = this.eventTypeList.find((e) => e.trafficMainCode == val);
186759
186755
  this.popupAttr.trafficMainCode = val;
186756
+ this.masterDetailInfo.trafficMainCode = val;
186760
186757
  this.popupAttr.trafficMainName = obj.trafficMainName;
186758
+ this.masterDetailInfo.trafficMainName = obj.trafficMainName;
186761
186759
  this.subEventTypeList = obj.childList || [];
186762
186760
  this.popupAttr.trafficSubCode = this.subEventTypeList[0].trafficSubCode;
186761
+ this.masterDetailInfo.trafficSubCode = this.subEventTypeList[0].trafficSubCode;
186763
186762
  this.popupAttr.trafficSubName = this.subEventTypeList[0].trafficSubName;
186763
+ this.masterDetailInfo.trafficSubName = this.subEventTypeList[0].trafficSubName;
186764
186764
  this.popupAttr.eventCode = this.subEventTypeList[0].eventCode;
186765
+ this.masterDetailInfo.eventCode = this.subEventTypeList[0].eventCode;
186765
186766
  },
186766
186767
  // 子类型改变
186767
186768
  subCodeChange(val) {
186768
186769
  let obj = this.subEventTypeList.find((e) => e.trafficSubCode == val);
186769
186770
  this.popupAttr.trafficSubCode = val;
186771
+ this.masterDetailInfo.trafficSubCode = val;
186770
186772
  this.popupAttr.trafficSubName = obj.trafficSubName;
186773
+ this.masterDetailInfo.trafficSubName = obj.trafficSubName;
186771
186774
  this.popupAttr.eventCode = obj.eventCode;
186775
+ this.masterDetailInfo.eventCode = obj.eventCode;
186772
186776
  },
186773
186777
  imgx2(e) {
186774
- console.log(e.target.src);
186775
186778
  this.$emit("imgDoubleClick", e.target.src);
186776
186779
  },
186777
186780
  Letter_filtering(value) {
@@ -186793,7 +186796,6 @@ var swiper_min = __webpack_require__("f4bd");
186793
186796
  this.fullScreenMouseEnter = false;
186794
186797
  //根据经纬度查询天气情况
186795
186798
  this.initWeatherByLonAndLat();
186796
- console.log("popupAttr", this.popupAttr);
186797
186799
  this.getMasterDetail();
186798
186800
  let lanes = [];
186799
186801
  if (this.popupAttr.lane != null && this.popupAttr.lane != "") {
@@ -186946,7 +186948,6 @@ var swiper_min = __webpack_require__("f4bd");
186946
186948
  }
186947
186949
  }
186948
186950
  that.imgVideoUrl = str;
186949
- //console.log(that.imgVideoUrl,'that.imgVideoUrl')
186950
186951
  } else {
186951
186952
  that.imgVideoUrl = item.respath;
186952
186953
  }
@@ -186985,7 +186986,6 @@ var swiper_min = __webpack_require__("f4bd");
186985
186986
  },
186986
186987
  getMasterDetail() {
186987
186988
  this.videoList = [];
186988
- //console.log('popupAttr',this.popupAttr)
186989
186989
  let reqData = { id: this.popupAttr.id };
186990
186990
  Object(api["z" /* queryMasterDetail */])(
186991
186991
  reqData,
@@ -186993,7 +186993,6 @@ var swiper_min = __webpack_require__("f4bd");
186993
186993
  this.$GlobalConfig.trafficMonitorType
186994
186994
  ).then((res) => {
186995
186995
  this.loading = false;
186996
- console.log("queryMasterDetail.res", res);
186997
186996
  if (res.code == 0 && res.data != null) {
186998
186997
  this.masterDetailInfo = res.data;
186999
186998
  this.popupAttr.trafficMainName = res.data.trafficMainName;
@@ -187017,7 +187016,7 @@ var swiper_min = __webpack_require__("f4bd");
187017
187016
  this.leftCarouselBtn = true;
187018
187017
  this.rightCarouselBtn = true;
187019
187018
  }
187020
- this.getEventTypeList(this.popupAttr.eventTypecode);
187019
+ this.getEventTypeList(this.popupAttr.eventTypeCode);
187021
187020
  }
187022
187021
  }).catch(() => {
187023
187022
  this.loading = false;
@@ -187040,17 +187039,17 @@ var swiper_min = __webpack_require__("f4bd");
187040
187039
  schedulingSettings() {
187041
187040
  if(!this.popupAttr.trafficMainCode) return this.$message({message:'请选择事件类型',type:'warning'});
187042
187041
  if(!this.popupAttr.trafficSubCode) return this.$message({message:'请选择细分类型',type:'warning'});
187043
- this.$confirm(`是否将本事件确认为 ${this.popupAttr.trafficMainName}(${this.popupAttr.trafficSubName})?`, '提示', {
187042
+ this.$confirm(`是否将本事件类型确认为 ${this.popupAttr.trafficMainName}(${this.popupAttr.trafficSubName})?`, '提示', {
187044
187043
  confirmButtonText: '确定',
187045
187044
  cancelButtonText: '取消',
187046
187045
  }).then(() => {
187047
187046
  this.$emit("schedulingSettings", this.popupAttr, this.masterDetailInfo);
187048
187047
  this.$emit("removeAllVideoPoint", this.popupAttr, this.masterDetailInfo);
187048
+ // console.log(this.popupAttr, this.masterDetailInfo);
187049
187049
  }).catch(() => {});
187050
187050
  },
187051
187051
  terminationOfAlarm() {
187052
187052
  if (this.perceptionEventReleaseShow) {
187053
- console.log("terminationOfAlarm.popupAttr", this.popupAttr);
187054
187053
  this.$emit("terminationOfAlarm", this.popupAttr);
187055
187054
  this.$emit("removeAllVideoPoint", this.popupAttr);
187056
187055
  } else {
@@ -187226,7 +187225,6 @@ var swiper_min = __webpack_require__("f4bd");
187226
187225
  // let param = {
187227
187226
  // camId: this.devId,
187228
187227
  // };
187229
- // console.log("发送流请求", param);
187230
187228
  Object(api["w" /* openCam */])(
187231
187229
  devId,
187232
187230
  this.$GlobalConfig.trafficMonitorUrl,
@@ -187236,7 +187234,6 @@ var swiper_min = __webpack_require__("f4bd");
187236
187234
  .then((res) => {
187237
187235
  this.videoUrl = res.data.liveUrl;
187238
187236
  //if (flvjs.isSupported()) {
187239
- console.log("流请求返回参数", res, this.flvPlayer);
187240
187237
  if (this.flvPlayer === null) {
187241
187238
  const videoElement = document.getElementById("videoElement");
187242
187239
  this.flv = new flvExtend_default.a({
@@ -187280,7 +187277,6 @@ var swiper_min = __webpack_require__("f4bd");
187280
187277
  lazyLoad: false
187281
187278
  }); */
187282
187279
  this.flvPlayer.play();
187283
- console.log("perception.flvPlayer", this.flvPlayer);
187284
187280
  }
187285
187281
  //}
187286
187282
  })
@@ -187392,14 +187388,6 @@ var swiper_min = __webpack_require__("f4bd");
187392
187388
  return className;
187393
187389
  },
187394
187390
  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
187391
  return (
187404
187392
  this.specialId === this.popupAttr.deptId ||
187405
187393
  this.specialId === this.popupAttr.deptPid ||
@@ -187427,8 +187415,8 @@ var perceptionEventLayervue_type_style_index_0_scope_true_lang_css_ = __webpack_
187427
187415
 
187428
187416
  var perceptionEventLayer_component = Object(componentNormalizer["a" /* default */])(
187429
187417
  eventLayer_perceptionEventLayervue_type_script_lang_js_,
187430
- perceptionEventLayervue_type_template_id_6ce3b99c_render,
187431
- perceptionEventLayervue_type_template_id_6ce3b99c_staticRenderFns,
187418
+ perceptionEventLayervue_type_template_id_737541f1_render,
187419
+ perceptionEventLayervue_type_template_id_737541f1_staticRenderFns,
187432
187420
  false,
187433
187421
  null,
187434
187422
  null,
@@ -203868,7 +203856,6 @@ class echartsLayer_EchartsglLayer {
203868
203856
  this.newVideoPointLayer.add(pointGraphic);
203869
203857
  }
203870
203858
  });
203871
- console.log(this.newVideoPointLayer);
203872
203859
  }
203873
203860
  );
203874
203861
  });
package/lib/gismap.umd.js CHANGED
@@ -19119,12 +19119,10 @@ function queryMasterDetail(data,urlPrefix,environmentType) {
19119
19119
  })
19120
19120
  }
19121
19121
  // 事件类型列表
19122
- function eventConvertType (data,urlPrefix,environmentType) {
19122
+ function eventConvertType (eventTypeCode) {
19123
19123
  return Object(request["a" /* default */])({
19124
- url: urlPrefix+ '/trafficMonitor/event/report/eventConvertType',
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=6ce3b99c&
186446
- var perceptionEventLayervue_type_template_id_6ce3b99c_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_6ce3b99c_staticRenderFns = []
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=737541f1&
186444
+ var perceptionEventLayervue_type_template_id_737541f1_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_737541f1_staticRenderFns = []
186448
186446
 
186449
186447
 
186450
- // CONCATENATED MODULE: ./packages/gis-map/src/component/eventLayer/perceptionEventLayer.vue?vue&type=template&id=6ce3b99c&
186448
+ // CONCATENATED MODULE: ./packages/gis-map/src/component/eventLayer/perceptionEventLayer.vue?vue&type=template&id=737541f1&
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);
@@ -186766,21 +186762,28 @@ var swiper_min = __webpack_require__("f4bd");
186766
186762
  mainCodeChange(val) {
186767
186763
  let obj = this.eventTypeList.find((e) => e.trafficMainCode == val);
186768
186764
  this.popupAttr.trafficMainCode = val;
186765
+ this.masterDetailInfo.trafficMainCode = val;
186769
186766
  this.popupAttr.trafficMainName = obj.trafficMainName;
186767
+ this.masterDetailInfo.trafficMainName = obj.trafficMainName;
186770
186768
  this.subEventTypeList = obj.childList || [];
186771
186769
  this.popupAttr.trafficSubCode = this.subEventTypeList[0].trafficSubCode;
186770
+ this.masterDetailInfo.trafficSubCode = this.subEventTypeList[0].trafficSubCode;
186772
186771
  this.popupAttr.trafficSubName = this.subEventTypeList[0].trafficSubName;
186772
+ this.masterDetailInfo.trafficSubName = this.subEventTypeList[0].trafficSubName;
186773
186773
  this.popupAttr.eventCode = this.subEventTypeList[0].eventCode;
186774
+ this.masterDetailInfo.eventCode = this.subEventTypeList[0].eventCode;
186774
186775
  },
186775
186776
  // 子类型改变
186776
186777
  subCodeChange(val) {
186777
186778
  let obj = this.subEventTypeList.find((e) => e.trafficSubCode == val);
186778
186779
  this.popupAttr.trafficSubCode = val;
186780
+ this.masterDetailInfo.trafficSubCode = val;
186779
186781
  this.popupAttr.trafficSubName = obj.trafficSubName;
186782
+ this.masterDetailInfo.trafficSubName = obj.trafficSubName;
186780
186783
  this.popupAttr.eventCode = obj.eventCode;
186784
+ this.masterDetailInfo.eventCode = obj.eventCode;
186781
186785
  },
186782
186786
  imgx2(e) {
186783
- console.log(e.target.src);
186784
186787
  this.$emit("imgDoubleClick", e.target.src);
186785
186788
  },
186786
186789
  Letter_filtering(value) {
@@ -186802,7 +186805,6 @@ var swiper_min = __webpack_require__("f4bd");
186802
186805
  this.fullScreenMouseEnter = false;
186803
186806
  //根据经纬度查询天气情况
186804
186807
  this.initWeatherByLonAndLat();
186805
- console.log("popupAttr", this.popupAttr);
186806
186808
  this.getMasterDetail();
186807
186809
  let lanes = [];
186808
186810
  if (this.popupAttr.lane != null && this.popupAttr.lane != "") {
@@ -186955,7 +186957,6 @@ var swiper_min = __webpack_require__("f4bd");
186955
186957
  }
186956
186958
  }
186957
186959
  that.imgVideoUrl = str;
186958
- //console.log(that.imgVideoUrl,'that.imgVideoUrl')
186959
186960
  } else {
186960
186961
  that.imgVideoUrl = item.respath;
186961
186962
  }
@@ -186994,7 +186995,6 @@ var swiper_min = __webpack_require__("f4bd");
186994
186995
  },
186995
186996
  getMasterDetail() {
186996
186997
  this.videoList = [];
186997
- //console.log('popupAttr',this.popupAttr)
186998
186998
  let reqData = { id: this.popupAttr.id };
186999
186999
  Object(api["z" /* queryMasterDetail */])(
187000
187000
  reqData,
@@ -187002,7 +187002,6 @@ var swiper_min = __webpack_require__("f4bd");
187002
187002
  this.$GlobalConfig.trafficMonitorType
187003
187003
  ).then((res) => {
187004
187004
  this.loading = false;
187005
- console.log("queryMasterDetail.res", res);
187006
187005
  if (res.code == 0 && res.data != null) {
187007
187006
  this.masterDetailInfo = res.data;
187008
187007
  this.popupAttr.trafficMainName = res.data.trafficMainName;
@@ -187026,7 +187025,7 @@ var swiper_min = __webpack_require__("f4bd");
187026
187025
  this.leftCarouselBtn = true;
187027
187026
  this.rightCarouselBtn = true;
187028
187027
  }
187029
- this.getEventTypeList(this.popupAttr.eventTypecode);
187028
+ this.getEventTypeList(this.popupAttr.eventTypeCode);
187030
187029
  }
187031
187030
  }).catch(() => {
187032
187031
  this.loading = false;
@@ -187049,17 +187048,17 @@ var swiper_min = __webpack_require__("f4bd");
187049
187048
  schedulingSettings() {
187050
187049
  if(!this.popupAttr.trafficMainCode) return this.$message({message:'请选择事件类型',type:'warning'});
187051
187050
  if(!this.popupAttr.trafficSubCode) return this.$message({message:'请选择细分类型',type:'warning'});
187052
- this.$confirm(`是否将本事件确认为 ${this.popupAttr.trafficMainName}(${this.popupAttr.trafficSubName})?`, '提示', {
187051
+ this.$confirm(`是否将本事件类型确认为 ${this.popupAttr.trafficMainName}(${this.popupAttr.trafficSubName})?`, '提示', {
187053
187052
  confirmButtonText: '确定',
187054
187053
  cancelButtonText: '取消',
187055
187054
  }).then(() => {
187056
187055
  this.$emit("schedulingSettings", this.popupAttr, this.masterDetailInfo);
187057
187056
  this.$emit("removeAllVideoPoint", this.popupAttr, this.masterDetailInfo);
187057
+ // console.log(this.popupAttr, this.masterDetailInfo);
187058
187058
  }).catch(() => {});
187059
187059
  },
187060
187060
  terminationOfAlarm() {
187061
187061
  if (this.perceptionEventReleaseShow) {
187062
- console.log("terminationOfAlarm.popupAttr", this.popupAttr);
187063
187062
  this.$emit("terminationOfAlarm", this.popupAttr);
187064
187063
  this.$emit("removeAllVideoPoint", this.popupAttr);
187065
187064
  } else {
@@ -187235,7 +187234,6 @@ var swiper_min = __webpack_require__("f4bd");
187235
187234
  // let param = {
187236
187235
  // camId: this.devId,
187237
187236
  // };
187238
- // console.log("发送流请求", param);
187239
187237
  Object(api["w" /* openCam */])(
187240
187238
  devId,
187241
187239
  this.$GlobalConfig.trafficMonitorUrl,
@@ -187245,7 +187243,6 @@ var swiper_min = __webpack_require__("f4bd");
187245
187243
  .then((res) => {
187246
187244
  this.videoUrl = res.data.liveUrl;
187247
187245
  //if (flvjs.isSupported()) {
187248
- console.log("流请求返回参数", res, this.flvPlayer);
187249
187246
  if (this.flvPlayer === null) {
187250
187247
  const videoElement = document.getElementById("videoElement");
187251
187248
  this.flv = new flvExtend_default.a({
@@ -187289,7 +187286,6 @@ var swiper_min = __webpack_require__("f4bd");
187289
187286
  lazyLoad: false
187290
187287
  }); */
187291
187288
  this.flvPlayer.play();
187292
- console.log("perception.flvPlayer", this.flvPlayer);
187293
187289
  }
187294
187290
  //}
187295
187291
  })
@@ -187401,14 +187397,6 @@ var swiper_min = __webpack_require__("f4bd");
187401
187397
  return className;
187402
187398
  },
187403
187399
  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
187400
  return (
187413
187401
  this.specialId === this.popupAttr.deptId ||
187414
187402
  this.specialId === this.popupAttr.deptPid ||
@@ -187436,8 +187424,8 @@ var perceptionEventLayervue_type_style_index_0_scope_true_lang_css_ = __webpack_
187436
187424
 
187437
187425
  var perceptionEventLayer_component = Object(componentNormalizer["a" /* default */])(
187438
187426
  eventLayer_perceptionEventLayervue_type_script_lang_js_,
187439
- perceptionEventLayervue_type_template_id_6ce3b99c_render,
187440
- perceptionEventLayervue_type_template_id_6ce3b99c_staticRenderFns,
187427
+ perceptionEventLayervue_type_template_id_737541f1_render,
187428
+ perceptionEventLayervue_type_template_id_737541f1_staticRenderFns,
187441
187429
  false,
187442
187430
  null,
187443
187431
  null,
@@ -203877,7 +203865,6 @@ class echartsLayer_EchartsglLayer {
203877
203865
  this.newVideoPointLayer.add(pointGraphic);
203878
203866
  }
203879
203867
  });
203880
- console.log(this.newVideoPointLayer);
203881
203868
  }
203882
203869
  );
203883
203870
  });