Commit 511eafef by ext.wangyuman1

朋友圈模块

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