统计
This commit is contained in:
@@ -4,12 +4,12 @@
|
||||
<AiCard>
|
||||
<template #custom>
|
||||
<div class="left">
|
||||
<span class="nums"> {{ total }} </span>
|
||||
<span class="nums"> {{ allNums }} </span>
|
||||
<span class="hint">全部丧礼</span>
|
||||
</div>
|
||||
|
||||
<div class="right">
|
||||
<span class="nums">4</span>
|
||||
<span class="nums">{{ addNums }}</span>
|
||||
<span class="hint">本月新增</span>
|
||||
</div>
|
||||
</template>
|
||||
@@ -70,6 +70,8 @@ export default {
|
||||
deletId: '',
|
||||
current: 1,
|
||||
total: '',
|
||||
allNums: '',
|
||||
addNums: '',
|
||||
}
|
||||
},
|
||||
computed: {},
|
||||
@@ -89,6 +91,8 @@ export default {
|
||||
this.$http.post('/app/appmarriagefuneralinfo/queryDataStatistics').then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.data = res.data
|
||||
this.allNums = res.data[3].v1
|
||||
this.addNums = res.data[7].v1
|
||||
uni.hideLoading()
|
||||
}
|
||||
})
|
||||
@@ -121,7 +125,7 @@ export default {
|
||||
},
|
||||
|
||||
delet() {
|
||||
this.$http.post(`/app/appmarriagefuneralinfo/queryDetailById?ids=${this.deletId}`).then((res) => {
|
||||
this.$http.post(`//app/appmarriagefuneralinfo/delete?ids=${this.deletId}`).then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.$u.toast('删除成功!')
|
||||
this.getList()
|
||||
|
||||
Reference in New Issue
Block a user