门口门禁-进出记录管理子级页面开发(人行口门记录、车行口门记录)

2024-07-22新BI页面
water_xu 2024-06-20 14:38:19 +08:00
parent 25d319976e
commit 38d137dc06
5 changed files with 54 additions and 28 deletions

View File

@ -2,7 +2,7 @@
<div class="app-container">
<div class="rightCont">
<div>
<span @click="people" style="margin: 10px;">车行口门记录</span>
<span style="margin: 10px;">车行口门记录</span>
<el-table
v-loading="listLoading"
ref="multipleTable"
@ -113,9 +113,6 @@ export default {
this.listLoading = false
})
},
people(){
this.$parent.activeName = 'peopleRecordList'
},
getDict() {
requestFN(

View File

@ -0,0 +1,23 @@
<template>
<div>
<carRecordList v-show="activeName=='carRecordList'" ref="carRecordList" />
</div>
</template>
<script>
import carRecordList from './components/carRecordList.vue'
export default {
components: {
carRecordList: carRecordList
},
data() {
return {
activeName: 'carRecordList',
}
}
}
</script>
<style scoped>
</style>

View File

@ -1,26 +1,12 @@
<template>
<div>
<carRecordList v-show="activeName=='carRecordList'" ref="carRecordList" />
<peopleRecordList v-if="activeName=='peopleRecordList'" ref="peopleRecordList" />
</div>
</template>
<script>
import carRecordList from './components/carRecordList.vue'
import peopleRecordList from './components/peopleRecordList.vue'
export default {
components: {
carRecordList: carRecordList,
peopleRecordList:peopleRecordList
},
data() {
return {
activeName: 'carRecordList',
}
}
}
</script>
<style scoped>
</style>
<template>
<router-view/>
</template>
<style scoped>
</style>

View File

@ -2,7 +2,7 @@
<div class="app-container">
<div class="rightCont">
<div>
<span @click="car" style="margin: 10px;" >人行口门记录</span>
<span style="margin: 10px;" >人行口门记录</span>
<el-table
v-loading="listLoading"
ref="multipleTable"
@ -86,9 +86,6 @@ export default {
this.listLoading = false
})
},
car(){
this.$parent.activeName = 'carRecordList'
},
getDict() {
requestFN(

View File

@ -0,0 +1,23 @@
<template>
<div>
<peopleRecordList v-show="activeName=='peopleRecordList'" ref="peopleRecordList" />
</div>
</template>
<script>
import peopleRecordList from './components/peopleRecordList.vue'
export default {
components: {
peopleRecordList:peopleRecordList
},
data() {
return {
activeName: 'peopleRecordList',
}
}
}
</script>
<style scoped>
</style>