Blame view

merchant-web-master - 副本/src/views/marketing/mixin/index.js 471 Bytes
b7023175   杨鑫   '最新'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
  export default {
    data() {
      return {
        activityVisible: '1',
        activityId: 0
      }
    },
    methods: {
      addActivity() {
        this.activityId = 0
        this.activityVisible = '2'
      },
      editActivity(id) {
        this.activityId = id
        this.activityVisible = true
        if (this.$refs.addCoupon) {
          this.$refs.addCoupon.getCouponInfo()
        }
      },
      reset() {
        this.activityVisible = '1'
        this.getAll(this.formInline)
      }
    }
  }