统计数量
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<AiCard>
|
||||
<template #custom>
|
||||
<div class="left">
|
||||
<span class="nums"> 2 </span>
|
||||
<span class="nums"> {{ total }} </span>
|
||||
<span class="hint">全部干部参与</span>
|
||||
</div>
|
||||
|
||||
@@ -69,6 +69,7 @@ export default {
|
||||
deletShow: false,
|
||||
deletId: '',
|
||||
current: 1,
|
||||
total: '',
|
||||
}
|
||||
},
|
||||
computed: {},
|
||||
@@ -88,10 +89,6 @@ export default {
|
||||
this.$http.post('/app/appmarriagefuneralinfo/queryDataStatistics').then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.data = res.data
|
||||
this.data.map((e, i) => {
|
||||
console.log(e.v1, i)
|
||||
})
|
||||
|
||||
uni.hideLoading()
|
||||
}
|
||||
})
|
||||
@@ -112,6 +109,7 @@ export default {
|
||||
.then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.datas = this.current > 1 ? [...this.datas, ...res.data.records] : res.data.records
|
||||
this.total = res.data.total
|
||||
uni.hideLoading()
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user