门口门禁-地图-口门统计小窗口1

liujun-2024-06-13-一公司人员定位新需求^2
water_xu 2024-06-26 10:51:47 +08:00
parent 3d834d7b6a
commit 50025690f0
1 changed files with 30 additions and 4 deletions

View File

@ -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', {