事件上报
This commit is contained in:
@@ -352,6 +352,7 @@ uni-page-body {
|
|||||||
.cards {
|
.cards {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding-bottom: 80px;
|
padding-bottom: 80px;
|
||||||
|
background-color: #fff;
|
||||||
|
|
||||||
.cardss {
|
.cardss {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
<AiEmpty v-if="!datas.length"></AiEmpty>
|
<AiEmpty v-if="!datas.length"></AiEmpty>
|
||||||
</template>
|
</template>
|
||||||
<div class="pad-b120" v-if="datas.length"></div>
|
<div class="pad-b120" v-if="datas.length"></div>
|
||||||
<AiAdd @add="add"/>
|
<AiAdd @add="add" v-if="isAdd"/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -78,6 +78,7 @@ export default {
|
|||||||
showType: false,
|
showType: false,
|
||||||
eventStatus: '',
|
eventStatus: '',
|
||||||
eventStatusText: '',
|
eventStatusText: '',
|
||||||
|
isAdd: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@@ -87,6 +88,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
this.getIsAdd()
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
document.title = '巡查上报'
|
document.title = '巡查上报'
|
||||||
@@ -165,7 +167,15 @@ export default {
|
|||||||
},
|
},
|
||||||
add() {
|
add() {
|
||||||
uni.navigateTo({url: './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>
|
</script>
|
||||||
|
|||||||
@@ -343,6 +343,7 @@ uni-page-body {
|
|||||||
|
|
||||||
.plan {
|
.plan {
|
||||||
padding: 0 32px;
|
padding: 0 32px;
|
||||||
|
background-color: #fff;
|
||||||
|
|
||||||
.nav {
|
.nav {
|
||||||
padding: 26px 0;
|
padding: 26px 0;
|
||||||
@@ -351,6 +352,7 @@ uni-page-body {
|
|||||||
.cards {
|
.cards {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding-bottom: 80px;
|
padding-bottom: 80px;
|
||||||
|
background-color: #fff;
|
||||||
|
|
||||||
.cardss {
|
.cardss {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
Reference in New Issue
Block a user