diff --git a/src/views/map/components/menjinCmt.vue b/src/views/map/components/menjinCmt.vue new file mode 100644 index 0000000..c2a0170 --- /dev/null +++ b/src/views/map/components/menjinCmt.vue @@ -0,0 +1,416 @@ + + + + + diff --git a/src/views/map/components/qixiang.vue b/src/views/map/components/qixiang.vue index 254b199..dc838a2 100644 --- a/src/views/map/components/qixiang.vue +++ b/src/views/map/components/qixiang.vue @@ -203,7 +203,8 @@ export default { requestFN( '/map/listbymeteorological', { - CORPINFO_ID: this.corpInfoId || '035958e685cf4850bc40151c5e0617a6' + CORPINFO_ID: this.corpInfoId || '035958e685cf4850bc40151c5e0617a6', + GANGKOU: this.gangkou } ).then((data) => { this.listLoading = false diff --git a/src/views/map/dialog/index.vue b/src/views/map/dialog/index.vue index a2a50f4..785972c 100644 --- a/src/views/map/dialog/index.vue +++ b/src/views/map/dialog/index.vue @@ -7,10 +7,12 @@ + + @@ -63,10 +65,12 @@ import weatherstation from './weatherstation.vue' import temperaturestation from './weatherstation.vue' import humiditystation from './weatherstation.vue' import windspeedstation from './weatherstation.vue' +import windspeedstationCmt from './weatherstationCmt.vue' import XfControl from './xfControl.vue' import XfPoint from './xfPoint.vue' import MkGateMachine from './mkGateMachine.vue' import MkGateMachineCfd from './mkGateMachineCfd.vue' +import MkGateMachineCmt from './mkGateMachineCmt.vue' import Zhong_da_info from './zhong_da_info.vue' import electricityOrder from './electricityOrder.vue' import highworkOrder from './highworkOrder.vue' @@ -106,6 +110,7 @@ export default { temperaturestation, humiditystation, windspeedstation, + windspeedstationCmt, electricityOrder, highworkOrder, cutroadOrder, @@ -131,7 +136,8 @@ export default { hotworkFirst, peoplePositionYGS, outSourceInfo, - outSourceVideoInfo + outSourceVideoInfo, + MkGateMachineCmt }, props: { title: { @@ -165,7 +171,11 @@ export default { infoname: { type: String, default: '' - } + }, + name: { + type: String, + default: '' + }, }, methods: { closeDialog() { diff --git a/src/views/map/dialog/mkGateMachineCmt.vue b/src/views/map/dialog/mkGateMachineCmt.vue new file mode 100644 index 0000000..f28a24d --- /dev/null +++ b/src/views/map/dialog/mkGateMachineCmt.vue @@ -0,0 +1,208 @@ + + + + diff --git a/src/views/map/dialog/weatherstationCmt.vue b/src/views/map/dialog/weatherstationCmt.vue new file mode 100644 index 0000000..ef93b02 --- /dev/null +++ b/src/views/map/dialog/weatherstationCmt.vue @@ -0,0 +1,669 @@ + + + + diff --git a/src/views/map/index.vue b/src/views/map/index.vue index cde26fa..59cb052 100644 --- a/src/views/map/index.vue +++ b/src/views/map/index.vue @@ -40,6 +40,7 @@ :gangkou="gangkouActive"/> @@ -48,6 +49,11 @@ :corp-info-id="CORP_INFO_ID" :area="area" :gangkou="gangkouActive"/> + @@ -241,6 +248,7 @@ import menjinCzks from './components/menjinCzks.vue' import renyuanCzks from './components/renyuanCzks.vue' import menjin from './components/menjin.vue' import menjinCfd from './components/menjinCfd.vue' +import menjinCmt from './components/menjinCmt.vue' import xiaofang from './components/xiaofang.vue' import anquan from './components/anquan.vue' import anquanCfd from './components/anquanCfd.vue' @@ -292,6 +300,7 @@ export default { layoutMenu, menjin, menjinCfd, + menjinCmt, xiaofang, anquan, qixiang, @@ -365,7 +374,7 @@ export default { 'x': 118.43701, 'y': 38.9866 }, - CORP_INFO_ID: 'c077f4ed66844ed4a191a36fa1fc641c' + CORP_INFO_ID: '6aa255d41602497fa0f934a822820df4' } ], branchPoint: [], @@ -1389,6 +1398,19 @@ export default { this.dialog.infoname = infoname return } + if (this.gangkouActive === '00005' && point_id.substring(0, 1) !== '1') { + // if (this.gangkouActive === '00004' && point_type.indexOf('标记点') !== -1 && point_id.substring(0, 1) === '0' || point_id.substring(0, 1) === '5') { + const { label, point_type, data_id, infoname,name, code } = pick.id._monitoItems.data + this.dialog.visible = true + this.dialog.title = label + this.dialog.type = point_type.substring(3) + this.gangkouActive + this.dialog.id = data_id + this.dialog.name = name + this.dialog.id = point_type.substring(3) === 'CAMERA' ? code : point_type.substring(3) === 'platcamera' ? code : data_id + this.dialog.infoname = infoname + console.log(this.dialog) + return + } if (point_type.indexOf('标记点') !== -1) { const { label, point_type, data_id, corpInfoId, dialog_width, infoname } = pick.id._monitoItems.data this.dialog.visible = true @@ -2001,6 +2023,11 @@ export default { } else { point.infoname = varList[i].NAME } + //曹煤炭数据 + if (this.gangkouActive === '00005') { + point.name = varList[i].MAP_POINT_NAME + point.infoname = varList[i].MAP_POINT_NAME + } points.push(point) } if (this.gangkouActive === '00004' && urlType === 'carPosition') {