Commit b2adfb7e by 匡雅琴

更新2.10代码

1 parent e2d9033b
......@@ -319,10 +319,10 @@ export default {
this.refreshStatus = false
}, 1000)
}, 1000),
createStatus() {
this.$apis.friendGroup.createStatus({}).then(res => {
this.getListData()
})
async createStatus() {
await this.$apis.friendGroup.createStatus({})
await this.$apis.friendGroup.publicStatus({})
this.getListData()
},
getListData() {
this.loading = true
......
......@@ -160,7 +160,7 @@ export default {
getBaseInfo() {
this.$apis.sop.getSopBaseInfoApi({ sopId: this.sopId }).then(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()
})
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!