This commit is contained in:
yanran200730
2022-10-10 11:07:23 +08:00
parent 90fed1bae2
commit 8f73ddb063
3 changed files with 18 additions and 20 deletions

View File

@@ -1,6 +1,6 @@
<template>
<ai-list class="list">
<ai-title slot="title" title="卡口登记" isShowBottomBorder :instance="instance" :hideLevel="0" :disabledLevel="disabledLevel" isShowArea v-model="search.arriveAreaId" @change="changeArea"></ai-title>
<ai-title slot="title" title="卡口登记" v-if="this.search.arriveAreaId" isShowBottomBorder :instance="instance" :isShowArea="true" v-model="search.arriveAreaId" @change="changeArea"></ai-title>
<template slot="content">
<div class="statistics-top">
<div class="statistics-top__item">
@@ -133,7 +133,8 @@
tableData: [],
total: 0,
loading: false,
disabledLevel: 0
disabledLevel: 0,
areaId: ''
}
},
@@ -142,9 +143,12 @@
},
created () {
this.disabledLevel = this.user.info.areaList.length - 1
this.search.arriveAreaId = this.user.info.areaId
this.loading = true
this.instance.post(`/app/appdvcpconfig/getCorpArea`).then(res => {
if (res.code == 0) {
this.search.arriveAreaId = res.data
}
})
this.getTotalInfo()
this.getDictList()