Commit a3890202 by 王志慧

commit

1 parent a45909fa
...@@ -64,7 +64,7 @@ export default { ...@@ -64,7 +64,7 @@ export default {
data() { data() {
return { return {
activityInfo: {}, activityInfo: {},
isSuper:true, isSuper: true,
schemeListData: [], schemeListData: [],
schemeList: [], schemeList: [],
total: 0, total: 0,
...@@ -110,7 +110,7 @@ export default { ...@@ -110,7 +110,7 @@ export default {
this.$apis.activity.listByPage({ merchantId: this.$globalState.session.merchantId, pageSize: 5, currentPage: this.currentPage }).then(res => { this.$apis.activity.listByPage({ merchantId: this.$globalState.session.merchantId, pageSize: 5, currentPage: this.currentPage }).then(res => {
if (res) { if (res) {
let list = res.list || [] let list = res.list || []
this.schemeList = this.currentPage == 1?list:this.schemeList.concat(res.list || []) this.schemeList = this.currentPage == 1 ? list : this.schemeList.concat(res.list || [])
this.total = res.total this.total = res.total
} }
}) })
...@@ -158,6 +158,7 @@ export default { ...@@ -158,6 +158,7 @@ export default {
}) })
}, },
addSuper() { addSuper() {
this.$parent.handleShowCalendar(0)
this.setActivityInfo({}) this.setActivityInfo({})
}, },
//设置活动详情 //设置活动详情
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!