Commit 8dde1757 by wuwx Committed by 杨北旺

sop分析

1 parent 09f2a4eb
......@@ -138,6 +138,7 @@ export default {
this.$apis.sop.getSopBaseInfoApi({ sopId: this.sopId }).then(res => {
this.sopInfo = res
this.sopInfo.touchPercent = Math.round((this.selectedEventInfo.eventStatistics.reachCustomerCount / this.sopInfo.customerCount) * 100).toFixed(0)
this.drawPie()
})
},
......@@ -162,7 +163,6 @@ export default {
this.searchForm.eventId = this.baseData.sopEventList[0].id
this.selectedEventInfo = this.baseData.sopEventList[0]
this.getBaseInfo()
this.drawPie()
this.$refs.touchListRef.refreshTable()
})
},
......@@ -258,8 +258,6 @@ export default {
let myChart = echarts.init(chartDom)
let option = JSON.parse(JSON.stringify(pieOption))
console.log(this.selectedEventInfo)
option.series[0].data = [
{
value: this.selectedEventInfo.eventStatistics.reachCustomerCount,
......
......@@ -133,9 +133,10 @@ export default {
},
methods: {
handleJump(path) {
handleJump(path, row = {}) {
this.$router.push({
path: '/sop/' + path
path: '/sop/' + path,
query: row ? { id: row.id } : ''
})
},
// getParams() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!