Commit 1647de3a by 李伟康

commit

1 parent 268a7b9a
......@@ -152,6 +152,7 @@ export default {
},
methods: {
init (params) {
this.isGroup = true
let req = {
queryType: params.reportType || 0
}
......@@ -180,6 +181,7 @@ export default {
this.api.overview[this.isGroup ? 'getBrandOverallbase' : 'getMerchantOverallbase'](params).then(({ code, data }) => {
if (code == 0) {
let [dataList] = data.dataList
console.log(dataList)
if (dataList) {
dataList.top = this.ObjectToArray(dataList.topList)
dataList.last = this.ObjectToArray(dataList.lastList)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!