Compare commits
No commits in common. "4d3c07c9caed58aaece1cb32a6450e322ea4cdb4" and "226ca8878921f5632b1c074c799824a74b2ce698" have entirely different histories.
4d3c07c9ca
...
226ca88789
|
@ -35,10 +35,6 @@
|
|||
<td class="tbg">隐患处置</td>
|
||||
<td>限期整改</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tbg">发现时间</td>
|
||||
<td>{{ formatDate(pd.CREATTIME,'yyyy-MM-DD HH:mm') }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tbg">整改期限</td>
|
||||
<td>{{ pd.RECTIFICATIONDEADLINE }}</td>
|
||||
|
@ -149,7 +145,6 @@
|
|||
import { requestFN } from '@/utils/request'
|
||||
import { videoPlayer } from 'vue-video-player'
|
||||
import 'video.js/dist/video-js.css'
|
||||
import { formatDate } from 'element-ui/src/utils/date-util'
|
||||
export default {
|
||||
components: { videoPlayer },
|
||||
props: {
|
||||
|
@ -189,11 +184,9 @@ export default {
|
|||
}
|
||||
},
|
||||
created() {
|
||||
this.activeName = this.$parent.previousPage
|
||||
this.getData()
|
||||
},
|
||||
methods: {
|
||||
formatDate,
|
||||
getData() {
|
||||
requestFN(
|
||||
'/keyprojectcheck/findHidden',
|
||||
|
@ -213,7 +206,6 @@ export default {
|
|||
this.$refs.hdVideoPlayer.player.pause()
|
||||
},
|
||||
goBack() {
|
||||
this.$parent.previousPage = true
|
||||
if (this.activeName) {
|
||||
this.$parent.activeName = this.activeName
|
||||
} else {
|
||||
|
|
|
@ -77,14 +77,14 @@ import Pagination from '@/components/Pagination' // 通过 el-pagination二次
|
|||
import { requestFN } from '@/utils/request'
|
||||
import SelectTree from '@/components/SelectTree'
|
||||
import waves from '@/directive/waves'
|
||||
import TiandiMap from '../../../../../components/TianMap/TiandiMap'
|
||||
import TiandiMap from '../../../../components/TianMap/TiandiMap'
|
||||
|
||||
let viewer = null
|
||||
const Cesium = window.Cesium
|
||||
Cesium.Ion.defaultAccessToken = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJkOWQ0MGYwMy0yODUwLTQ1YzktOGM4OC02MTMwY2UyZjNlMzQiLCJpZCI6MTY0NTUwLCJpYXQiOjE2OTM4OTU1Mjd9.1cC0sSzyj79LZv0ILNCcl0Mabw6hl8TNngFNFr7H8f4'
|
||||
var subdomains = ['0', '1', '2', '3', '4', '5', '6', '7']
|
||||
var tiandituTk = 'e8a16137fd226a62a23cc7ba5c9c78ce'
|
||||
const img_h = require('../../../../../assets/images/map/h.png')
|
||||
const img_h = require('../../../../assets/images/map/h.png')
|
||||
export default {
|
||||
|
||||
components: { Pagination, SelectTree, TiandiMap },
|
|
@ -191,8 +191,7 @@ export default {
|
|||
requestFN(
|
||||
'/mkmjDoor/list?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page,
|
||||
{
|
||||
KEYWORDS: this.KEYWORDS,
|
||||
AREA_LEVEL: '2'
|
||||
KEYWORDS: this.KEYWORDS
|
||||
}
|
||||
).then((data) => {
|
||||
this.listLoading = false
|
|
@ -145,7 +145,7 @@ import Pagination from '@/components/Pagination' // 通过 el-pagination二次
|
|||
import { requestFN } from '@/utils/request'
|
||||
import waves from '@/directive/waves'
|
||||
import Platformvideo from './platformvideo'
|
||||
import TiandiMap from '../../../../../components/TianMap/TiandiMap'
|
||||
import TiandiMap from '../../../../components/TianMap/TiandiMap'
|
||||
|
||||
export default {
|
||||
components: { Platformvideo, Pagination, TiandiMap },
|
|
@ -1,3 +0,0 @@
|
|||
<template>
|
||||
<router-view />
|
||||
</template>
|
|
@ -335,15 +335,12 @@ export default {
|
|||
}
|
||||
},
|
||||
goBack() {
|
||||
this.$parent.isEvaluationKeepAlive = false
|
||||
this.$parent.activeName = 'List'
|
||||
},
|
||||
fnViewHidden(HIDDEN_ID) {
|
||||
// this.visible = true
|
||||
// this.HIDDEN_ID = HIDDEN_ID
|
||||
this.$parent.HIDDEN_ID = HIDDEN_ID
|
||||
this.$parent.previousPage = this.$parent.activeName
|
||||
this.$parent.isEvaluationKeepAlive = true
|
||||
this.$parent.activeName = 'KeyProjectHidden'
|
||||
},
|
||||
fnEvaluationDialogChangeShow() {
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
</el-table-column>
|
||||
<el-table-column label="重点工程安全环保奖惩">
|
||||
<template slot-scope="{row}">
|
||||
{{ row.CORP_NAME == '秦港股份有限公司' ? row.checked_count2 : row.checked_count3 }} / {{ row.CORP_NAME == '秦港股份有限公司' ? row.count2 : row.checked_count3 }}
|
||||
{{row.CORP_NAME == '秦港股份有限公司' ? row.checked_count2 : row.checked_count3 }} / {{row.CORP_NAME == '秦港股份有限公司' ? row.count2 : row.checked_count3 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="CHECK_USER" label="考评组成员"/>
|
||||
|
@ -126,7 +126,6 @@ export default {
|
|||
this.$parent.CORPINFO_ID = CORPINFO_ID
|
||||
this.$parent.EVALUATIONCONFIG_ID = EVALUATIONCONFIG_ID
|
||||
this.$parent.TYPE = TYPE
|
||||
this.$parent.isEvaluationKeepAlive = true
|
||||
this.$parent.activeName = 'Evaluation'
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,19 +1,15 @@
|
|||
<template>
|
||||
<div>
|
||||
<keep-alive>
|
||||
<List v-show="activeName === 'List'"/>
|
||||
</keep-alive>
|
||||
<keep-alive :include="isEvaluationKeepAlive ? 'Evaluation' : ''" :exclude="!isEvaluationKeepAlive ? 'Evaluation' : ''">
|
||||
<Evaluation v-if="activeName === 'Evaluation'"/>
|
||||
</keep-alive>
|
||||
<KeyProjectHidden v-if="activeName === 'KeyProjectHidden'" active-name="Evaluation"/>
|
||||
<List v-show="activeName=='List'"/>
|
||||
<Evaluation v-if="activeName=='Evaluation'"/>
|
||||
<KeyProjectHidden v-if="activeName=='KeyProjectHidden'" active-name="Evaluation"/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
<script>
|
||||
import List from './components/list'
|
||||
import Evaluation from './components/evaluation'
|
||||
// import HiddenInfo from './components/hidden_info.vue'
|
||||
import KeyProjectHidden from '@/components/KeyProjectHidden/index'
|
||||
|
||||
export default {
|
||||
|
@ -28,9 +24,7 @@ export default {
|
|||
CORPINFO_ID: '',
|
||||
EVALUATIONCONFIG_ID: '',
|
||||
HIDDEN_ID: '',
|
||||
TYPE: '',
|
||||
previousPage: '',
|
||||
isEvaluationKeepAlive: false
|
||||
TYPE: ''
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
<img class="img_bottom" src="../../../assets/map/gangkou_index/img1.png" alt="">
|
||||
<div class="label">{{ item.label }}</div>
|
||||
<div class="count">
|
||||
<count-to :start-val="0" :end-val="item.count" :duration="3600"/>
|
||||
<count-to :start-val="0" :end-val="+personPositioningCount[index]" :duration="3600"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -83,6 +83,7 @@ export default {
|
|||
timer: '',
|
||||
value: 0,
|
||||
riskIdentificationCount: {},
|
||||
personPositioningCount: {},
|
||||
doorManagementList: [],
|
||||
block1OptionsList: [
|
||||
{
|
||||
|
@ -345,17 +346,15 @@ export default {
|
|||
})
|
||||
},
|
||||
getPersonPositioningCount() {
|
||||
requestFN(
|
||||
'/map/getPersonPositioningCount',
|
||||
{
|
||||
CORPINFO_ID: this.corpInfoId,
|
||||
GANGKOU: this.gangkou
|
||||
}
|
||||
).then((data) => {
|
||||
this.block3OptionsList[0].count = data.personPositioningCount[0]
|
||||
this.block3OptionsList[1].count = data.personPositioningCount[1]
|
||||
this.block3OptionsList[2].count = data.personPositioningCount[2]
|
||||
})
|
||||
// requestFN(
|
||||
// '/map/getPersonPositioningCount',
|
||||
// {
|
||||
// CORPINFO_ID: this.corpInfoId,
|
||||
// GANGKOU: this.gangkou
|
||||
// }
|
||||
// ).then((data) => {
|
||||
// this.personPositioningCount = data.personPositioningCount
|
||||
// })
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -93,11 +93,11 @@
|
|||
:corp-info-id="CORP_INFO_ID"
|
||||
:area="area"
|
||||
:gangkou="gangkouActive"/>
|
||||
<renyuan
|
||||
v-if="gangkouActive && gangkouActive !== '00004' && gangkouActive !== '00002' && gangkouActive !== '00005' && bottomOptionsIndex === 4"
|
||||
:corp-info-id="CORP_INFO_ID"
|
||||
:area="area"
|
||||
:gangkou="gangkouActive"/>
|
||||
<!-- <renyuan-->
|
||||
<!-- v-if="gangkouActive && gangkouActive !== '00004' && gangkouActive !== '00002' && gangkouActive !== '00005' && bottomOptionsIndex === 4"-->
|
||||
<!-- :corp-info-id="CORP_INFO_ID"-->
|
||||
<!-- :area="area"-->
|
||||
<!-- :gangkou="gangkouActive"/>-->
|
||||
<renyuan-cfd
|
||||
v-if="gangkouActive && gangkouActive === '00004' && bottomOptionsIndex === 1"
|
||||
:corp-info-id="CORP_INFO_ID"
|
||||
|
@ -147,7 +147,6 @@
|
|||
:class="['option','option'+index,{active:centerOptionsIndex === index}]"
|
||||
@click="centerOptionsClick(index,item.AREA)"
|
||||
>
|
||||
{{ item.label }}
|
||||
</div>
|
||||
</div>
|
||||
</transition>
|
||||
|
@ -1598,7 +1597,7 @@ export default {
|
|||
const collection = new Cesium.CustomDataSource('trajectoryEntityCollection')
|
||||
collection.entities.add(entity)
|
||||
viewer.dataSources.add(collection)
|
||||
trajectoryEntityCollection = Object.freeze(collection)
|
||||
trajectoryEntityCollection = collection
|
||||
}
|
||||
})
|
||||
},
|
||||
|
@ -1680,11 +1679,11 @@ export default {
|
|||
transformWGS84ToCartesian: function(position, alt) {
|
||||
// eslint-disable-next-line no-return-assign
|
||||
return position ? Cesium.Cartesian3.fromDegrees(
|
||||
position.lng || position.lon,
|
||||
position.lat,
|
||||
position.alt = alt || position.alt,
|
||||
Cesium.Ellipsoid.WGS84
|
||||
)
|
||||
position.lng || position.lon,
|
||||
position.lat,
|
||||
position.alt = alt || position.alt,
|
||||
Cesium.Ellipsoid.WGS84
|
||||
)
|
||||
: Cesium.Cartesian3.ZERO
|
||||
},
|
||||
closeBubbles() {
|
||||
|
@ -2247,7 +2246,7 @@ export default {
|
|||
}
|
||||
if (this.gangkouActive === '00003' && this.CORP_INFO_ID === '035958e685cf4850bc40151c5e0617a6' && urlType === 'peoplePosition') {
|
||||
!this.connecting ? this.createConnection(this.CORP_INFO_ID) : this.doSubscribe()
|
||||
} else if (this.gangkouActive === '00003' && (this.CORP_INFO_ID === '21590a00ea5e462e9ee44dd332dddc26' || this.CORP_INFO_ID === '033549ed3bd648e49c8a65eb4993ec2f') && urlType === 'peoplePosition') {
|
||||
} else if (this.gangkouActive === '00003' && (this.CORP_INFO_ID === '21590a00ea5e462e9ee44dd332dddc26' || this.CORP_INFO_ID === '033549ed3bd648e49c8a65eb4993ec2f') && urlType === 'peoplePosition') {
|
||||
// websocket实时获取人员定位
|
||||
this.initRYDWWebsocket(this.CORP_INFO_ID)
|
||||
} else {
|
||||
|
@ -3001,7 +3000,9 @@ export default {
|
|||
const wsUrl = config.noDwSysUrl + '/ltLocation/DW_' + new Date().getTime() + '_98'
|
||||
_this.fwebsocket = new WebSocket(encodeURI(wsUrl))
|
||||
_this.fwebsocket.onmessage = function(message) {
|
||||
console.info('接收消息')
|
||||
const peopleList = JSON.parse(message.data)
|
||||
console.log(peopleList)
|
||||
viewer.entities.suspendEvents()
|
||||
for (let i = 0; i < peopleList.length; i++) {
|
||||
const item = peopleList[i]
|
||||
|
@ -3071,12 +3072,12 @@ export default {
|
|||
if (decodedStr) {
|
||||
// const perTrack = JSON.parse(decodedStr)
|
||||
const perTrack = { 'msg': '000', 'data': [
|
||||
'8905,118.50022313549867,38.92716921306408,-88.96163116878053,0.15,8905,测试工单',
|
||||
'8001,118.5044033058593,38.926660124965956,-88.96163116878053,0.15,8001,张悦',
|
||||
'8002,118.48886198164132,38.916885738277635,-88.96163116878053,0.15,8002,齐津铖',
|
||||
'8003,118.50289308906841,38.92012841170512,-88.96163116878053,0.15,8003,白伟',
|
||||
'8004,118.48820877892216,38.91690951376236,-88.96163116878053,0.15,8004,孙海官'
|
||||
] }
|
||||
'8905,118.50022313549867,38.92716921306408,-88.96163116878053,0.15,8905,测试工单',
|
||||
'8001,118.5044033058593,38.926660124965956,-88.96163116878053,0.15,8001,张悦',
|
||||
'8002,118.48886198164132,38.916885738277635,-88.96163116878053,0.15,8002,齐津铖',
|
||||
'8003,118.50289308906841,38.92012841170512,-88.96163116878053,0.15,8003,白伟',
|
||||
'8004,118.48820877892216,38.91690951376236,-88.96163116878053,0.15,8004,孙海官'
|
||||
] }
|
||||
if (perTrack.msg === '000' && perTrack.data && perTrack.data.length > 0) {
|
||||
perTrack.data.forEach(item => {
|
||||
const newPos = item.split(',')
|
||||
|
|
Loading…
Reference in New Issue