parent
b974030b5f
commit
4c6d4b7709
|
@ -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,7 +191,8 @@ export default {
|
|||
requestFN(
|
||||
'/mkmjDoor/list?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page,
|
||||
{
|
||||
KEYWORDS: this.KEYWORDS
|
||||
KEYWORDS: this.KEYWORDS,
|
||||
AREA_LEVEL: '2'
|
||||
}
|
||||
).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 },
|
|
@ -0,0 +1,3 @@
|
|||
<template>
|
||||
<router-view />
|
||||
</template>
|
|
@ -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="+personPositioningCount[index]" :duration="3600"/>
|
||||
<count-to :start-val="0" :end-val="item.count" :duration="3600"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -83,7 +83,6 @@ export default {
|
|||
timer: '',
|
||||
value: 0,
|
||||
riskIdentificationCount: {},
|
||||
personPositioningCount: {},
|
||||
doorManagementList: [],
|
||||
block1OptionsList: [
|
||||
{
|
||||
|
@ -346,15 +345,17 @@ export default {
|
|||
})
|
||||
},
|
||||
getPersonPositioningCount() {
|
||||
// requestFN(
|
||||
// '/map/getPersonPositioningCount',
|
||||
// {
|
||||
// CORPINFO_ID: this.corpInfoId,
|
||||
// GANGKOU: this.gangkou
|
||||
// }
|
||||
// ).then((data) => {
|
||||
// this.personPositioningCount = data.personPositioningCount
|
||||
// })
|
||||
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]
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue