异步功能新增配置
parent
8455ef8231
commit
6b3fa0a96d
|
@ -180,27 +180,27 @@ export default {
|
|||
this.block1OptionsList = [
|
||||
{
|
||||
title: '在线设备数',
|
||||
img: require('../../../assets/map/renyuan/img1ico1.png'),
|
||||
img: require('../../../assets/map/renyuan/img1ico2.png'),
|
||||
count: data.orthermessage.onlineDeviceNum
|
||||
},
|
||||
{
|
||||
title: '在线人员',
|
||||
img: require('../../../assets/map/renyuan/img1ico2.png'),
|
||||
img: require('../../../assets/map/renyuan/img1ico1.png'),
|
||||
count: data.orthermessage.infoList.UwbBQ.num
|
||||
},
|
||||
{
|
||||
title: '在线基站数',
|
||||
img: require('../../../assets/map/renyuan/img1ico3.png'),
|
||||
img: require('../../../assets/map/renyuan/img1ico2.png'),
|
||||
count: data.orthermessage.infoList.UwbJiZhan.num
|
||||
},
|
||||
{
|
||||
title: '在线摄像头数',
|
||||
img: require('../../../assets/map/renyuan/img1ico4.png'),
|
||||
img: require('../../../assets/map/renyuan/img1ico2.png'),
|
||||
count: data.orthermessage.infoList.HKcamera.num
|
||||
},
|
||||
{
|
||||
title: '在线报警设备数',
|
||||
img: require('../../../assets/map/renyuan/img1ico5.png'),
|
||||
img: require('../../../assets/map/renyuan/img1ico2.png'),
|
||||
count: data.orthermessage.infoList.tklyr.num
|
||||
}
|
||||
]
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<div class="level-title">
|
||||
<h1>人员信息</h1>
|
||||
</div>
|
||||
<table class="table-ui">
|
||||
<table v-if="false" class="table-ui">
|
||||
<tr>
|
||||
<td class="bbg-transparent">照片</td>
|
||||
<td ><img src="../../../assets/map/index/touxiang.png" alt="" width="50" height="50"></td>
|
||||
|
@ -29,6 +29,25 @@
|
|||
<td>{{ otherInfo?otherInfo.postName:'' }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table class="table-ui">
|
||||
<tr>
|
||||
<td class="bbg-transparent">姓名</td>
|
||||
<td >{{ info?info.userName:'' }}</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="bbg-transparent">定位卡号:</td>
|
||||
<td >{{ info?info.id:'' }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="bbg-transparent">定位卡电量</td>
|
||||
<td >{{ info?otherInfo.data[3].currentValBody.val:'' }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="bbg-transparent">部门</td>
|
||||
<td>{{ info?info.departmentName:'' }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -69,14 +88,14 @@ export default {
|
|||
methods: {
|
||||
getData() {
|
||||
requestFN(
|
||||
'/map/getPersonByCardNo',
|
||||
'/map/getLastProp',
|
||||
{
|
||||
CARDNO: this.id,
|
||||
corpId: this.corpId
|
||||
}
|
||||
).then((data) => {
|
||||
this.info = data.info.required
|
||||
this.otherInfo = data.otherInfo
|
||||
this.info = data.userInfo
|
||||
this.otherInfo = data.statusInfo
|
||||
}).catch((e) => {
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue