刘翔宇-旅管家 3 years ago
parent fc7cfd8cd5
commit 9ec8022321

@ -163,15 +163,15 @@
if (newVal) { if (newVal) {
if (this.type === 'editor') { if (this.type === 'editor') {
this.getDetail() this.getDetail()
} else {
this.id = ''
this.type = '';
this.detail.id='';
this.detail.url = '';
this.detail.mobile = '';
this.detail.email = 'zhoucl@langye.net,wangqp@longyears.cn'
this.$refs['addActivity'].reset();
} }
} else {
this.id = ''
this.type = '';
this.detail.url = '';
this.detail.mobile = '';
this.detail.email = 'zhoucl@langye.net,wangqp@longyears.cn'
this.$refs['addActivity'].reset();
} }
} }
}, },

@ -120,8 +120,10 @@
this.select.page = 1; this.select.page = 1;
this.load(); this.load();
}, },
add() { add() {
this.$refs['addActivity'].isShow = true
this.$refs['addActivity'].type='add';
this.$refs['addActivity'].isShow = true;
}, },
pageSizeChange(e) { pageSizeChange(e) {
this.select.page_size = e; this.select.page_size = e;

Loading…
Cancel
Save