邻里互助

This commit is contained in:
liuye
2023-03-27 11:38:38 +08:00
parent 7a042222db
commit ac0baae856

View File

@@ -1,7 +1,7 @@
<template>
<ai-list class="notice">
<template slot="title">
<ai-title title="邻里互助" isShowBottomBorder isShowArea :disabledLevel="disabledLevel" v-model="search.areaId" @change="changeArea">
<ai-title title="邻里互助" isShowBottomBorder isShowArea :hideLevel="hideLevel-1" v-model="search.areaId" @change="changeArea">
</ai-title>
</template>
<template slot="content">
@@ -84,15 +84,16 @@
],
tableData: [],
dateList: [],
disabledLevel: 0
}
},
computed: {
...mapState(['user']),
hideLevel() {
return this.user.info.areaList?.length || 0
},
},
created() {
this.disabledLevel = this.user.info.areaList.length - 1
this.search.areaId = this.user.info.areaId
this.getList()
},