邻里互助
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<ai-list class="notice">
|
<ai-list class="notice">
|
||||||
<template slot="title">
|
<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>
|
</ai-title>
|
||||||
</template>
|
</template>
|
||||||
<template slot="content">
|
<template slot="content">
|
||||||
@@ -84,15 +84,16 @@
|
|||||||
],
|
],
|
||||||
tableData: [],
|
tableData: [],
|
||||||
dateList: [],
|
dateList: [],
|
||||||
disabledLevel: 0
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
...mapState(['user']),
|
...mapState(['user']),
|
||||||
|
hideLevel() {
|
||||||
|
return this.user.info.areaList?.length || 0
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
created() {
|
created() {
|
||||||
this.disabledLevel = this.user.info.areaList.length - 1
|
|
||||||
this.search.areaId = this.user.info.areaId
|
this.search.areaId = this.user.info.areaId
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user