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 1857048..97e7837 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, @@ -129,10 +134,10 @@ export default { videoPlayBianjieruqin, peoplePositionOne, hotworkFirst, - peoplePositionOne, peoplePositionYGS, outSourceInfo, - outSourceVideoInfo + outSourceVideoInfo, + MkGateMachineCmt }, props: { title: { @@ -166,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 0c5a106..6e9b861 100644 --- a/src/views/map/index.vue +++ b/src/views/map/index.vue @@ -35,7 +35,7 @@ :gangkou="gangkouActive" /> @@ -44,6 +44,11 @@ :corp-info-id="CORP_INFO_ID" :area="area" :gangkou="gangkouActive"/> + @@ -219,6 +225,7 @@ import fengongsiIndex from './components/fengongsi_index.vue' import caofeidianIndex from './components/caofeidian_index.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' @@ -268,6 +275,7 @@ export default { layoutMenu, menjin, menjinCfd, + menjinCmt, xiaofang, anquan, qixiang, @@ -1105,7 +1113,7 @@ export default { } return S4() + S4() + '-' + S4() + '-' + S4() + '-' + S4() + '-' + S4() + S4() + S4() }, - keepalive(token) { + /*keepalive(token) { // 第二套方案 requestFN( '/map/loginOrKeepAlive', @@ -1159,7 +1167,7 @@ export default { console.error(err) }) }) - }, + },*/ // keepalive(token) { // axios({ // method: 'POST', @@ -1360,12 +1368,24 @@ export default { this.dialog.infoname = infoname return } + if (this.gangkouActive === '00005') { + // 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 this.dialog.title = label this.dialog.type = point_type.substring(3) - this.dialog.id = data_id this.dialog.corpInfoId = corpInfoId this.dialog.infoname = infoname this.dialog.width = dialog_width || '50%' @@ -1958,6 +1978,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') {