Commit b2adfb7e by 匡雅琴

更新2.10代码

1 parent e2d9033b
...@@ -319,10 +319,10 @@ export default { ...@@ -319,10 +319,10 @@ export default {
this.refreshStatus = false this.refreshStatus = false
}, 1000) }, 1000)
}, 1000), }, 1000),
createStatus() { async createStatus() {
this.$apis.friendGroup.createStatus({}).then(res => { await this.$apis.friendGroup.createStatus({})
await this.$apis.friendGroup.publicStatus({})
this.getListData() this.getListData()
})
}, },
getListData() { getListData() {
this.loading = true this.loading = true
......
...@@ -160,7 +160,7 @@ export default { ...@@ -160,7 +160,7 @@ export default {
getBaseInfo() { getBaseInfo() {
this.$apis.sop.getSopBaseInfoApi({ sopId: this.sopId }).then(res => { this.$apis.sop.getSopBaseInfoApi({ sopId: this.sopId }).then(res => {
this.sopInfo = res this.sopInfo = res
this.sopInfo.touchPercent = this.baseData.sopEventList.length ? Math.round((this.selectedEventInfo.eventStatistics.reachCustomerCount / this.sopInfo.customerCount) * 100).toFixed(0) + '%' : '-' this.sopInfo.touchPercent = this.sopInfo.customerCount ? Math.round((this.selectedEventInfo.eventStatistics.reachCustomerCount / this.sopInfo.customerCount) * 100).toFixed(0) + '%' : '-'
this.drawPie() this.drawPie()
}) })
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!