柱状图

This commit is contained in:
shijingjing
2022-07-22 17:40:34 +08:00
parent 048fc9ed24
commit 01db21cd73
4 changed files with 58 additions and 37 deletions

View File

@@ -55,7 +55,7 @@
</div>
</div>
</div>
<div v-if="info.status == 4" class="btn" @click="remindSend">提醒成员发送</div>
<div v-if="detail.status == 4" class="btn" @click="remindSend">提醒成员发送</div>
</div>
</div>
@@ -116,6 +116,7 @@ export default {
firstClickTime: "",
currentClickTime: "",
flag: true,
detail: {}
};
},
computed: {
@@ -143,6 +144,14 @@ export default {
this.getStatistics()
},
getDetail() {
this.$http.post(`/app/appmasssendingtask/queryDetailById?id=${this.id}`).then(res=> {
if (res?.data) {
this.detail = res.data
}
})
},
toDetail() {
uni.navigateTo({ url: `./detail?id=${this.id}` });
},
@@ -164,8 +173,7 @@ export default {
this.flag = false;
}
})
.catch((err) => {
console.log(err);
.catch(() => {
});
} else {
time = 60 * 60 * 1000 - time;
@@ -255,6 +263,7 @@ export default {
onShow() {
document.title = "群发居民群统计";
this.getStatistics();
this.getDetail()
},
mounted() {
this.getPieEcharts();