事件上报

This commit is contained in:
liuye
2023-08-24 17:09:58 +08:00
parent feae5ed1d4
commit 6112716862
3 changed files with 15 additions and 2 deletions

View File

@@ -352,6 +352,7 @@ uni-page-body {
.cards {
position: relative;
padding-bottom: 80px;
background-color: #fff;
.cardss {
display: flex;

View File

@@ -51,7 +51,7 @@
<AiEmpty v-if="!datas.length"></AiEmpty>
</template>
<div class="pad-b120" v-if="datas.length"></div>
<AiAdd @add="add"/>
<AiAdd @add="add" v-if="isAdd"/>
</div>
</template>
@@ -78,6 +78,7 @@ export default {
showType: false,
eventStatus: '',
eventStatusText: '',
isAdd: true
}
},
computed: {
@@ -87,6 +88,7 @@ export default {
}
},
onLoad() {
this.getIsAdd()
},
onShow() {
document.title = '巡查上报'
@@ -165,7 +167,15 @@ export default {
},
add() {
uni.navigateTo({url: './Add'})
}
},
getIsAdd() {
// this.$http.post(`/app/apppatrolreportinfo/listByGirdMember`).then((res) => {
// if (res.code == 0) {
// this.isAdd = res.data == 5 || res.data == 6 ? true : false
// }
// })
},
},
}
</script>

View File

@@ -343,6 +343,7 @@ uni-page-body {
.plan {
padding: 0 32px;
background-color: #fff;
.nav {
padding: 26px 0;
@@ -351,6 +352,7 @@ uni-page-body {
.cards {
position: relative;
padding-bottom: 80px;
background-color: #fff;
.cardss {
display: flex;