网格管理

This commit is contained in:
liuye
2022-01-14 13:46:06 +08:00
parent 2839c99bdd
commit 39cc1f3d1f
2 changed files with 25 additions and 5 deletions

View File

@@ -60,6 +60,7 @@
</span>
</div>
</div>
<div style="height:56px;"></div>
<div class="btn" v-if="form.girdRight == 1">
<span class="del" @click="del">删除网格</span>
<span class="edit" @click="edit">编辑网格</span>
@@ -88,6 +89,10 @@ export default {
onLoad() {
this.$dict.load('girdType', 'girdLevel')
this.isGirdUser()
uni.$on('update', () => {
this.show = false
this.getTree()
})
},
methods: {
isGirdUser() {
@@ -408,9 +413,14 @@ export default {
border-bottom: 0;
}
.btn{
padding: 32px 0;
width: 100%;
padding: 32px;
box-sizing: border-box;
background-color: #fff;
display: flex;
position: fixed;
bottom: 0;
left: 0;
span{
display: inline-block;
height: 92px;