1.地图显示一公司门口内容
parent
e75c8129ae
commit
6e7452c113
|
@ -23,7 +23,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div class="block2">
|
<div class="block2">
|
||||||
<layout-title title="口门区域"/>
|
<layout-title title="口门区域"/>
|
||||||
<div class="options">
|
<div class="options">
|
||||||
<div class="bg"/>
|
<div class="bg"/>
|
||||||
|
@ -35,7 +35,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div> -->
|
</div>
|
||||||
<div class="block3">
|
<div class="block3">
|
||||||
<layout-title title="口门进出记录"/>
|
<layout-title title="口门进出记录"/>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
@ -56,8 +56,8 @@
|
||||||
<div class="td">时间</div>
|
<div class="td">时间</div>
|
||||||
<div class="td">状态</div>
|
<div class="td">状态</div>
|
||||||
<div class="td">闸机名称</div>
|
<div class="td">闸机名称</div>
|
||||||
<!--<div v-if="block3OptionsIndex == 0" class="td">闸机名称</div>
|
<div v-if="block3OptionsIndex == 0" class="td">闸机名称</div>
|
||||||
<div v-if="block3OptionsIndex == 1" class="td">来港事由</div>-->
|
<div v-if="block3OptionsIndex == 1" class="td">来港事由</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-infinite-scroll="load" :infinite-scroll-disabled="disabled" class="scroll">
|
<div v-infinite-scroll="load" :infinite-scroll-disabled="disabled" class="scroll">
|
||||||
<div v-for="(item,index) in block3List" :key="index" class="tr">
|
<div v-for="(item,index) in block3List" :key="index" class="tr">
|
||||||
|
|
|
@ -43,8 +43,13 @@
|
||||||
v-if="gangkouActive && gangkouActive === '00002' && (bottomOptionsIndex === '' || bottomOptionsIndex === 5) && CORP_INFO_ID"
|
v-if="gangkouActive && gangkouActive === '00002' && (bottomOptionsIndex === '' || bottomOptionsIndex === 5) && CORP_INFO_ID"
|
||||||
:corp-info-id="CORP_INFO_ID"
|
:corp-info-id="CORP_INFO_ID"
|
||||||
:gangkou="gangkouActive"/>
|
:gangkou="gangkouActive"/>
|
||||||
|
<menjinOld
|
||||||
|
v-if="CORP_INFO_ID =='035958e685cf4850bc40151c5e0617a6' && gangkouActive && gangkouActive !== '00004' && gangkouActive !== '00005' && gangkouActive !== '00002' && bottomOptionsIndex === 0"
|
||||||
|
:corp-info-id="CORP_INFO_ID"
|
||||||
|
:area="area"
|
||||||
|
:gangkou="gangkouActive"/>
|
||||||
<menjin
|
<menjin
|
||||||
v-if="gangkouActive && gangkouActive !== '00004' && gangkouActive !== '00005' && gangkouActive !== '00002' && bottomOptionsIndex === 0"
|
v-if="CORP_INFO_ID !='035958e685cf4850bc40151c5e0617a6' && gangkouActive && gangkouActive !== '00004' && gangkouActive !== '00005' && gangkouActive !== '00002' && bottomOptionsIndex === 0"
|
||||||
:corp-info-id="CORP_INFO_ID"
|
:corp-info-id="CORP_INFO_ID"
|
||||||
:area="area"
|
:area="area"
|
||||||
:gangkou="gangkouActive"/>
|
:gangkou="gangkouActive"/>
|
||||||
|
@ -275,6 +280,7 @@ import cmtIndex from './components/cmt_index.vue'
|
||||||
import menjinCzks from './components/menjinCzks.vue'
|
import menjinCzks from './components/menjinCzks.vue'
|
||||||
import renyuanCzks from './components/renyuanCzks.vue'
|
import renyuanCzks from './components/renyuanCzks.vue'
|
||||||
import renyuanCmt from './components/renyuanCmt.vue'
|
import renyuanCmt from './components/renyuanCmt.vue'
|
||||||
|
import menjinOld from './components/menjin_old.vue'
|
||||||
import menjin from './components/menjin.vue'
|
import menjin from './components/menjin.vue'
|
||||||
import menjinCfd from './components/menjinCfd.vue'
|
import menjinCfd from './components/menjinCfd.vue'
|
||||||
import menjinCmt from './components/menjinCmt.vue'
|
import menjinCmt from './components/menjinCmt.vue'
|
||||||
|
@ -332,6 +338,7 @@ export default {
|
||||||
fengongsiIndex,
|
fengongsiIndex,
|
||||||
caofeidianIndex,
|
caofeidianIndex,
|
||||||
layoutMenu,
|
layoutMenu,
|
||||||
|
menjinOld,
|
||||||
menjin,
|
menjin,
|
||||||
menjinCfd,
|
menjinCfd,
|
||||||
menjinCmt,
|
menjinCmt,
|
||||||
|
@ -485,6 +492,26 @@ export default {
|
||||||
checkImg: require('../../assets/map/gangkou_index/buttom/ico1_on.png'),
|
checkImg: require('../../assets/map/gangkou_index/buttom/ico1_on.png'),
|
||||||
type: 'CAR',
|
type: 'CAR',
|
||||||
containAuthorization: [],
|
containAuthorization: [],
|
||||||
|
eliminateAuthorization: ['035958e685cf4850bc40151c5e0617a6']
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '人员',
|
||||||
|
dialog_width: '800px',
|
||||||
|
check: false,
|
||||||
|
img: require('../../assets/map/gangkou_index/buttom/ico1.png'),
|
||||||
|
checkImg: require('../../assets/map/gangkou_index/buttom/ico1_on.png'),
|
||||||
|
type: 'PERSON',
|
||||||
|
containAuthorization: ['035958e685cf4850bc40151c5e0617a6'],
|
||||||
|
eliminateAuthorization: []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '车辆',
|
||||||
|
dialog_width: '600px',
|
||||||
|
check: false,
|
||||||
|
img: require('../../assets/map/gangkou_index/buttom/ico2.png'),
|
||||||
|
checkImg: require('../../assets/map/gangkou_index/buttom/ico2_on.png'),
|
||||||
|
type: 'CAR',
|
||||||
|
containAuthorization: ['035958e685cf4850bc40151c5e0617a6'],
|
||||||
eliminateAuthorization: []
|
eliminateAuthorization: []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -53,6 +53,8 @@ const img8_0 = require('../../../assets/map/gangkou_index/point/ico23.png')
|
||||||
const img8_1 = require('../../../assets/map/gangkou_index/point/ico24.png')
|
const img8_1 = require('../../../assets/map/gangkou_index/point/ico24.png')
|
||||||
const img8_2 = require('../../../assets/map/gangkou_index/point/ico25.png')
|
const img8_2 = require('../../../assets/map/gangkou_index/point/ico25.png')
|
||||||
const img8_3 = require('../../../assets/map/gangkou_index/point/ico26.png')
|
const img8_3 = require('../../../assets/map/gangkou_index/point/ico26.png')
|
||||||
|
const GGimg1 = require('../../../assets/map/gangkou_index/point/ico1.png')
|
||||||
|
const GGimg2 = require('../../../assets/map/gangkou_index/point/ico2.png')
|
||||||
|
|
||||||
const imgMap = {
|
const imgMap = {
|
||||||
img0_0, img0_1, img0_2,
|
img0_0, img0_1, img0_2,
|
||||||
|
@ -116,15 +118,61 @@ export default class DragEntity {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (value.point_type.indexOf('标记点') !== -1) {
|
if (value.point_type.indexOf('标记点') !== -1) {
|
||||||
billboard = {
|
console.info('====' )
|
||||||
image: imgMap['img' + value.icon_type],
|
console.info(value )
|
||||||
height: 36,
|
console.info('====' )
|
||||||
width: 30,
|
if (value.label == '人员' && value.corpInfoId == '035958e685cf4850bc40151c5e0617a6'){
|
||||||
verticalOrigin: Cesium.VerticalOrigin.BOTTOM,
|
billboard = {
|
||||||
horizontalOrigin: Cesium.HorizontalOrigin.CENTER,
|
image: GGimg1,
|
||||||
heightReference: Cesium.HeightReference.CLAMP_TO_GROUND,
|
height: 36,
|
||||||
disableDepthTestDistance: Number.POSITIVE_INFINITY
|
width: 30,
|
||||||
|
verticalOrigin: Cesium.VerticalOrigin.BOTTOM,
|
||||||
|
horizontalOrigin: Cesium.HorizontalOrigin.CENTER,
|
||||||
|
heightReference: Cesium.HeightReference.CLAMP_TO_GROUND,
|
||||||
|
disableDepthTestDistance: Number.POSITIVE_INFINITY
|
||||||
|
}
|
||||||
|
}else if (value.label == '车辆' && value.corpInfoId == '035958e685cf4850bc40151c5e0617a6'){
|
||||||
|
billboard = {
|
||||||
|
image: GGimg2,
|
||||||
|
height: 36,
|
||||||
|
width: 30,
|
||||||
|
verticalOrigin: Cesium.VerticalOrigin.BOTTOM,
|
||||||
|
horizontalOrigin: Cesium.HorizontalOrigin.CENTER,
|
||||||
|
heightReference: Cesium.HeightReference.CLAMP_TO_GROUND,
|
||||||
|
disableDepthTestDistance: Number.POSITIVE_INFINITY
|
||||||
|
}
|
||||||
|
}else if (value.label == '摄像头' && value.corpInfoId == '035958e685cf4850bc40151c5e0617a6'){
|
||||||
|
billboard = {
|
||||||
|
image: imgMap['img0_2' ],
|
||||||
|
height: 36,
|
||||||
|
width: 30,
|
||||||
|
verticalOrigin: Cesium.VerticalOrigin.BOTTOM,
|
||||||
|
horizontalOrigin: Cesium.HorizontalOrigin.CENTER,
|
||||||
|
heightReference: Cesium.HeightReference.CLAMP_TO_GROUND,
|
||||||
|
disableDepthTestDistance: Number.POSITIVE_INFINITY
|
||||||
|
}
|
||||||
|
}else if (value.label == '摄像头' ){
|
||||||
|
billboard = {
|
||||||
|
image: imgMap['img0_2' ],
|
||||||
|
height: 36,
|
||||||
|
width: 30,
|
||||||
|
verticalOrigin: Cesium.VerticalOrigin.BOTTOM,
|
||||||
|
horizontalOrigin: Cesium.HorizontalOrigin.CENTER,
|
||||||
|
heightReference: Cesium.HeightReference.CLAMP_TO_GROUND,
|
||||||
|
disableDepthTestDistance: Number.POSITIVE_INFINITY
|
||||||
|
}
|
||||||
|
}else{
|
||||||
|
billboard = {
|
||||||
|
image: imgMap['img' + value.icon_type],
|
||||||
|
height: 36,
|
||||||
|
width: 30,
|
||||||
|
verticalOrigin: Cesium.VerticalOrigin.BOTTOM,
|
||||||
|
horizontalOrigin: Cesium.HorizontalOrigin.CENTER,
|
||||||
|
heightReference: Cesium.HeightReference.CLAMP_TO_GROUND,
|
||||||
|
disableDepthTestDistance: Number.POSITIVE_INFINITY
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
// 曹妃甸使用
|
// 曹妃甸使用
|
||||||
if (value.gangkou === '00004') {
|
if (value.gangkou === '00004') {
|
||||||
|
|
Loading…
Reference in New Issue