Compare commits

...

8 Commits

Author SHA1 Message Date
shanao 4d3c07c9ca Merge branch 'dev' into pet 2024-11-15 17:03:43 +08:00
shanao ccea6bf39a Merge remote-tracking branch 'origin/dev' into dev 2024-11-14 10:34:06 +08:00
shanao 8d6a314800 【bug修改】
1. 添加隐患发现时间
2. 在考评过程,查看完隐患详情后点击“返回”,系统直接跳转到隐患列表的首页,缺少页面定位的功能
2024-11-14 10:33:41 +08:00
guoyuepeng 4c6d4b7709 1.修改口门门禁系统的菜单
2.修改首页的人员定位统计
2024-11-12 10:50:48 +08:00
liujun b974030b5f 企业端人员定位优化 2024-11-01 17:50:31 +08:00
liujun a3f070819a Merge branch 'refs/heads/pet' into dev 2024-10-30 18:41:15 +08:00
liujun 3a4e8ceb98 Merge remote-tracking branch 'origin/dev' into dev 2024-10-28 13:57:56 +08:00
liujun 265a24170d bug修复:监管端九公司人员定位系统不显示定位电 2024-10-28 13:57:41 +08:00
23 changed files with 63 additions and 41 deletions

View File

@ -35,6 +35,10 @@
<td class="tbg">隐患处置</td> <td class="tbg">隐患处置</td>
<td>限期整改</td> <td>限期整改</td>
</tr> </tr>
<tr>
<td class="tbg">发现时间</td>
<td>{{ formatDate(pd.CREATTIME,'yyyy-MM-DD HH:mm') }}</td>
</tr>
<tr> <tr>
<td class="tbg">整改期限</td> <td class="tbg">整改期限</td>
<td>{{ pd.RECTIFICATIONDEADLINE }}</td> <td>{{ pd.RECTIFICATIONDEADLINE }}</td>
@ -145,6 +149,7 @@
import { requestFN } from '@/utils/request' import { requestFN } from '@/utils/request'
import { videoPlayer } from 'vue-video-player' import { videoPlayer } from 'vue-video-player'
import 'video.js/dist/video-js.css' import 'video.js/dist/video-js.css'
import { formatDate } from 'element-ui/src/utils/date-util'
export default { export default {
components: { videoPlayer }, components: { videoPlayer },
props: { props: {
@ -184,9 +189,11 @@ export default {
} }
}, },
created() { created() {
this.activeName = this.$parent.previousPage
this.getData() this.getData()
}, },
methods: { methods: {
formatDate,
getData() { getData() {
requestFN( requestFN(
'/keyprojectcheck/findHidden', '/keyprojectcheck/findHidden',
@ -206,6 +213,7 @@ export default {
this.$refs.hdVideoPlayer.player.pause() this.$refs.hdVideoPlayer.player.pause()
}, },
goBack() { goBack() {
this.$parent.previousPage = true
if (this.activeName) { if (this.activeName) {
this.$parent.activeName = this.activeName this.$parent.activeName = this.activeName
} else { } else {

View File

@ -77,14 +77,14 @@ import Pagination from '@/components/Pagination' // 通过 el-pagination二次
import { requestFN } from '@/utils/request' import { requestFN } from '@/utils/request'
import SelectTree from '@/components/SelectTree' import SelectTree from '@/components/SelectTree'
import waves from '@/directive/waves' import waves from '@/directive/waves'
import TiandiMap from '../../../../components/TianMap/TiandiMap' import TiandiMap from '../../../../../components/TianMap/TiandiMap'
let viewer = null let viewer = null
const Cesium = window.Cesium const Cesium = window.Cesium
Cesium.Ion.defaultAccessToken = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJkOWQ0MGYwMy0yODUwLTQ1YzktOGM4OC02MTMwY2UyZjNlMzQiLCJpZCI6MTY0NTUwLCJpYXQiOjE2OTM4OTU1Mjd9.1cC0sSzyj79LZv0ILNCcl0Mabw6hl8TNngFNFr7H8f4' Cesium.Ion.defaultAccessToken = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJkOWQ0MGYwMy0yODUwLTQ1YzktOGM4OC02MTMwY2UyZjNlMzQiLCJpZCI6MTY0NTUwLCJpYXQiOjE2OTM4OTU1Mjd9.1cC0sSzyj79LZv0ILNCcl0Mabw6hl8TNngFNFr7H8f4'
var subdomains = ['0', '1', '2', '3', '4', '5', '6', '7'] var subdomains = ['0', '1', '2', '3', '4', '5', '6', '7']
var tiandituTk = 'e8a16137fd226a62a23cc7ba5c9c78ce' var tiandituTk = 'e8a16137fd226a62a23cc7ba5c9c78ce'
const img_h = require('../../../../assets/images/map/h.png') const img_h = require('../../../../../assets/images/map/h.png')
export default { export default {
components: { Pagination, SelectTree, TiandiMap }, components: { Pagination, SelectTree, TiandiMap },

View File

@ -191,7 +191,8 @@ export default {
requestFN( requestFN(
'/mkmjDoor/list?showCount=' + this.listQuery.limit + '&currentPage=' + this.listQuery.page, '/mkmjDoor/list?showCount=' + this.listQuery.limit + '&currentPage=' + this.listQuery.page,
{ {
KEYWORDS: this.KEYWORDS KEYWORDS: this.KEYWORDS,
AREA_LEVEL: '2'
} }
).then((data) => { ).then((data) => {
this.listLoading = false this.listLoading = false

View File

@ -145,7 +145,7 @@ import Pagination from '@/components/Pagination' // 通过 el-pagination二次
import { requestFN } from '@/utils/request' import { requestFN } from '@/utils/request'
import waves from '@/directive/waves' import waves from '@/directive/waves'
import Platformvideo from './platformvideo' import Platformvideo from './platformvideo'
import TiandiMap from '../../../../components/TianMap/TiandiMap' import TiandiMap from '../../../../../components/TianMap/TiandiMap'
export default { export default {
components: { Platformvideo, Pagination, TiandiMap }, components: { Platformvideo, Pagination, TiandiMap },

View File

@ -0,0 +1,3 @@
<template>
<router-view />
</template>

View File

@ -335,12 +335,15 @@ export default {
} }
}, },
goBack() { goBack() {
this.$parent.isEvaluationKeepAlive = false
this.$parent.activeName = 'List' this.$parent.activeName = 'List'
}, },
fnViewHidden(HIDDEN_ID) { fnViewHidden(HIDDEN_ID) {
// this.visible = true // this.visible = true
// this.HIDDEN_ID = HIDDEN_ID // this.HIDDEN_ID = HIDDEN_ID
this.$parent.HIDDEN_ID = HIDDEN_ID this.$parent.HIDDEN_ID = HIDDEN_ID
this.$parent.previousPage = this.$parent.activeName
this.$parent.isEvaluationKeepAlive = true
this.$parent.activeName = 'KeyProjectHidden' this.$parent.activeName = 'KeyProjectHidden'
}, },
fnEvaluationDialogChangeShow() { fnEvaluationDialogChangeShow() {

View File

@ -126,6 +126,7 @@ export default {
this.$parent.CORPINFO_ID = CORPINFO_ID this.$parent.CORPINFO_ID = CORPINFO_ID
this.$parent.EVALUATIONCONFIG_ID = EVALUATIONCONFIG_ID this.$parent.EVALUATIONCONFIG_ID = EVALUATIONCONFIG_ID
this.$parent.TYPE = TYPE this.$parent.TYPE = TYPE
this.$parent.isEvaluationKeepAlive = true
this.$parent.activeName = 'Evaluation' this.$parent.activeName = 'Evaluation'
} }
} }

View File

@ -1,15 +1,19 @@
<template> <template>
<div> <div>
<List v-show="activeName=='List'"/> <keep-alive>
<Evaluation v-if="activeName=='Evaluation'"/> <List v-show="activeName === 'List'"/>
<KeyProjectHidden v-if="activeName=='KeyProjectHidden'" active-name="Evaluation"/> </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"/>
</div> </div>
</template> </template>
<script> <script>
import List from './components/list' import List from './components/list'
import Evaluation from './components/evaluation' import Evaluation from './components/evaluation'
// import HiddenInfo from './components/hidden_info.vue'
import KeyProjectHidden from '@/components/KeyProjectHidden/index' import KeyProjectHidden from '@/components/KeyProjectHidden/index'
export default { export default {
@ -24,7 +28,9 @@ export default {
CORPINFO_ID: '', CORPINFO_ID: '',
EVALUATIONCONFIG_ID: '', EVALUATIONCONFIG_ID: '',
HIDDEN_ID: '', HIDDEN_ID: '',
TYPE: '' TYPE: '',
previousPage: '',
isEvaluationKeepAlive: false
} }
} }
} }

View File

@ -35,7 +35,7 @@
<img class="img_bottom" src="../../../assets/map/gangkou_index/img1.png" alt=""> <img class="img_bottom" src="../../../assets/map/gangkou_index/img1.png" alt="">
<div class="label">{{ item.label }}</div> <div class="label">{{ item.label }}</div>
<div class="count"> <div class="count">
<count-to :start-val="0" :end-val="+personPositioningCount[index]" :duration="3600"/> <count-to :start-val="0" :end-val="item.count" :duration="3600"/>
</div> </div>
</div> </div>
</div> </div>
@ -83,7 +83,6 @@ export default {
timer: '', timer: '',
value: 0, value: 0,
riskIdentificationCount: {}, riskIdentificationCount: {},
personPositioningCount: {},
doorManagementList: [], doorManagementList: [],
block1OptionsList: [ block1OptionsList: [
{ {
@ -346,15 +345,17 @@ export default {
}) })
}, },
getPersonPositioningCount() { getPersonPositioningCount() {
// requestFN( requestFN(
// '/map/getPersonPositioningCount', '/map/getPersonPositioningCount',
// { {
// CORPINFO_ID: this.corpInfoId, CORPINFO_ID: this.corpInfoId,
// GANGKOU: this.gangkou GANGKOU: this.gangkou
// } }
// ).then((data) => { ).then((data) => {
// this.personPositioningCount = data.personPositioningCount this.block3OptionsList[0].count = data.personPositioningCount[0]
// }) this.block3OptionsList[1].count = data.personPositioningCount[1]
this.block3OptionsList[2].count = data.personPositioningCount[2]
})
} }
} }
} }

View File

@ -93,11 +93,11 @@
:corp-info-id="CORP_INFO_ID" :corp-info-id="CORP_INFO_ID"
:area="area" :area="area"
:gangkou="gangkouActive"/> :gangkou="gangkouActive"/>
<!-- <renyuan--> <renyuan
<!-- v-if="gangkouActive && gangkouActive !== '00004' && gangkouActive !== '00002' && gangkouActive !== '00005' && bottomOptionsIndex === 4"--> v-if="gangkouActive && gangkouActive !== '00004' && gangkouActive !== '00002' && gangkouActive !== '00005' && bottomOptionsIndex === 4"
<!-- :corp-info-id="CORP_INFO_ID"--> :corp-info-id="CORP_INFO_ID"
<!-- :area="area"--> :area="area"
<!-- :gangkou="gangkouActive"/>--> :gangkou="gangkouActive"/>
<renyuan-cfd <renyuan-cfd
v-if="gangkouActive && gangkouActive === '00004' && bottomOptionsIndex === 1" v-if="gangkouActive && gangkouActive === '00004' && bottomOptionsIndex === 1"
:corp-info-id="CORP_INFO_ID" :corp-info-id="CORP_INFO_ID"
@ -147,6 +147,7 @@
:class="['option','option'+index,{active:centerOptionsIndex === index}]" :class="['option','option'+index,{active:centerOptionsIndex === index}]"
@click="centerOptionsClick(index,item.AREA)" @click="centerOptionsClick(index,item.AREA)"
> >
{{ item.label }}
</div> </div>
</div> </div>
</transition> </transition>
@ -1597,7 +1598,7 @@ export default {
const collection = new Cesium.CustomDataSource('trajectoryEntityCollection') const collection = new Cesium.CustomDataSource('trajectoryEntityCollection')
collection.entities.add(entity) collection.entities.add(entity)
viewer.dataSources.add(collection) viewer.dataSources.add(collection)
trajectoryEntityCollection = collection trajectoryEntityCollection = Object.freeze(collection)
} }
}) })
}, },
@ -3000,9 +3001,7 @@ export default {
const wsUrl = config.noDwSysUrl + '/ltLocation/DW_' + new Date().getTime() + '_98' const wsUrl = config.noDwSysUrl + '/ltLocation/DW_' + new Date().getTime() + '_98'
_this.fwebsocket = new WebSocket(encodeURI(wsUrl)) _this.fwebsocket = new WebSocket(encodeURI(wsUrl))
_this.fwebsocket.onmessage = function(message) { _this.fwebsocket.onmessage = function(message) {
console.info('接收消息')
const peopleList = JSON.parse(message.data) const peopleList = JSON.parse(message.data)
console.log(peopleList)
viewer.entities.suspendEvents() viewer.entities.suspendEvents()
for (let i = 0; i < peopleList.length; i++) { for (let i = 0; i < peopleList.length; i++) {
const item = peopleList[i] const item = peopleList[i]