Commit 511eafef by ext.wangyuman1

朋友圈模块

1 parent 2085208e
......@@ -72,7 +72,7 @@ import ChartBar from '@/components/ChartBar.vue'
import ChartLine from '@/components/ChartLine.vue'
import SelectDept from '@/components/SelectDept'
import { getTableTotal } from '@/api/contentCenter/common.js'
import { statisticMoments } from '@/api/circle'
import { statisticCustomer } from '@/api/circle'
export default {
name: 'scene-statistics-scene',
......@@ -143,13 +143,13 @@ export default {
},
methods: {
getTabTotalFn() {
statisticMoments(this.id).then((res) => {
this.cardData[0].value = res.data.inviterOldCustomerNum
this.cardData[1].value = res.data.completeTaskOldCustomerNum
this.cardData[2].value = res.data.fissionCustomerNum
this.cardData[3].value = res.data.tdCompleteTaskOldCustomerNum
statisticCustomer(this.id).then((res) => {
this.cardData[0].value = res.data.predictSend
this.cardData[1].value = res.data.nonSend
this.cardData[2].value = res.data.sent
this.cardData[3].value = res.data.failSend
if (this.type !== 3) {
this.cardData[4].value = res.data.tdCompleteTaskOldCustomerNum
this.cardData[4].value = res.data.todaySend
}
})
},
......
......@@ -12,7 +12,7 @@
</template>
<script>
import { statisticMoments } from '@/api/circle'
import { statisticInteract } from '@/api/circle'
import Record from './Record.vue'
import ViewDetail from './ViewDetail'
export default {
......@@ -61,12 +61,12 @@ export default {
},
methods: {
getTabTotalFn() {
statisticMoments(this.id).then((res) => {
this.cardData[0].value = res.data.inviterOldCustomerNum
this.cardData[1].value = res.data.completeTaskOldCustomerNum
statisticInteract(this.id).then((res) => {
this.cardData[0].value = res.data.like
this.cardData[1].value = res.data.comment
if (this.type === 1) {
this.cardData[2].value = res.data.fissionCustomerNum
this.cardData[3].value = res.data.tdCompleteTaskOldCustomerNum
this.cardData[2].value = res.data.people
this.cardData[3].value = res.data.count
}
})
},
......
......@@ -158,10 +158,11 @@ export default {
methods: {
getTabTotalFn() {
statisticMoments(this.id).then((res) => {
this.cardData[0].value = res.data.inviterOldCustomerNum
this.cardData[1].value = res.data.completeTaskOldCustomerNum
this.cardData[2].value = res.data.fissionCustomerNum
this.cardData[3].value = res.data.tdCompleteTaskOldCustomerNum
this.cardData[0].value = res.data.targetExecute
this.cardData[1].value = res.data.nonExecute
this.cardData[2].value = res.data.executed
this.cardData[3].value = res.data.todayExecute
this.cardData[4].value = res.data.remindCount
})
},
remind(id) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!