This commit is contained in:
liuye
2022-01-14 10:56:52 +08:00
parent 5959781e15
commit 78c8bd01f8
6 changed files with 230 additions and 252 deletions

View File

@@ -29,7 +29,7 @@
<p>{{item.girdName}} </p>
</div>
</div>
<div class="pad-b112"></div>
</div>
</template>
@@ -38,20 +38,27 @@ export default {
data() {
return {
userGird: {},
dataInfo: {}
dataInfo: {},
checkType: ''
}
},
onShow() {
document.title = '网格管理'
},
mounted() {
this.isGirdUser()
uni.$on('goback', (res) => {
this.userGird = res
this.getGirdUserList()
})
},
methods: {
isGirdUser() {
this.$http.post('/app/appgirdmemberinfo/checkLogOnUser').then((res) => {
if (res.code == 0) {
if (res.data.checkType) {
this.checkType = res.data.checkType
this.userGird = res.data.appGirdInfo
this.getGirdUserList()
} else {
@@ -76,8 +83,8 @@ export default {
<style lang="scss" scoped>
.Organization {
height: 100%;
padding-top: 32px;
background-color: #f3f6f9;
.select-gird{
width: calc(100% - 60px);
padding: 24px 32px;
@@ -186,5 +193,8 @@ export default {
line-height: 36px;
float: right;
}
.pad-b112{
padding-bottom: 112px;
}
}
</style>