事件上报
This commit is contained in:
@@ -352,6 +352,7 @@ uni-page-body {
|
||||
.cards {
|
||||
position: relative;
|
||||
padding-bottom: 80px;
|
||||
background-color: #fff;
|
||||
|
||||
.cardss {
|
||||
display: flex;
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user