网格员申报信息

This commit is contained in:
liuye
2022-03-18 14:45:15 +08:00
parent e0a5747090
commit 20a4017a81
6 changed files with 227 additions and 2 deletions

View File

@@ -21,6 +21,7 @@
<div v-if="!isAdmin" class="empty">
<img src="./components/img/no-admin.png" alt="">
<p>没有网格员权限<br />无法查看网格信息哦~</p>
<div class="add-btn" @click="linkTo('./AddUser')">网格员信息申报</div>
</div>
</div>
</template>
@@ -62,7 +63,7 @@ export default {
],
isTab: true,
isAdmin: false,
checkType: ''
checkType: 0,
}
},
@@ -115,6 +116,9 @@ export default {
uni.$on('goback', (res) => {
this.params = res
})
uni.$on('updateGird', (res) => {
this.isGirdUser()
})
},
onReachBottom() {
if(!this.tabIndex) {
@@ -128,6 +132,7 @@ export default {
.AppGridManagement {
height: 100vh;
}
.pad-t32{
padding-top: 32px;
}
@@ -217,5 +222,16 @@ export default {
color: #999;
line-height: 40px;
}
.add-btn{
width: 400px;
height: 88px;
line-height: 88px;
text-align: center;
border-radius: 8px;
background-color: #3267f0;
color: #fff;
font-size: 30px;
margin: 200px auto 0;
}
}
</style>