门口门禁-地图-口门统计小窗口1
parent
3d834d7b6a
commit
50025690f0
|
@ -102,18 +102,18 @@ export default {
|
|||
img: require('../../../assets/map/menjin/img3.png'),
|
||||
label1: '口门数',
|
||||
count1: 0,
|
||||
label2: '车门数',
|
||||
label2: '车闸机数',
|
||||
count2: 0,
|
||||
label3: '人门数',
|
||||
label3: '人闸机数',
|
||||
count3: 0
|
||||
},
|
||||
{
|
||||
img: require('../../../assets/map/menjin/img4.png'),
|
||||
label1: '口门数',
|
||||
count1: 0,
|
||||
label2: '车门数',
|
||||
label2: '车闸机数',
|
||||
count2: 0,
|
||||
label3: '人门数',
|
||||
label3: '人闸机数',
|
||||
count3: 0
|
||||
}
|
||||
],
|
||||
|
@ -295,6 +295,32 @@ export default {
|
|||
}
|
||||
})
|
||||
},
|
||||
|
||||
getOnlineGateMachine() {
|
||||
requestFN(
|
||||
'/map/getOnlineGateMachine', {
|
||||
AREA: this.area,
|
||||
CORPINFO_ID: this.corpInfoId,
|
||||
GANGKOU: this.gangkou,
|
||||
}
|
||||
).then((data) => {
|
||||
data.varList.forEach(e => {
|
||||
if (e.AREA_PARENT_ID == '393705'){
|
||||
// 东港区
|
||||
this.block1OptionsList[0].count1 = e.AREA_COUNT
|
||||
this.block1OptionsList[0].count2 = e.CAR
|
||||
this.block1OptionsList[0].count3 = e.PEOPLE
|
||||
}else if (e.AREA_PARENT_ID == '371709'){
|
||||
// 西港区
|
||||
this.block1OptionsList[1].count1 = e.AREA_COUNT
|
||||
this.block1OptionsList[1].count2 = e.CAR
|
||||
this.block1OptionsList[1].count3 = e.PEOPLE
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
})
|
||||
},
|
||||
getDoorManagement() {
|
||||
requestFN(
|
||||
'/map/getDoorManagement', {
|
||||
|
|
Loading…
Reference in New Issue