Blame view

merchant-web-master/src/views/marketing/mixin/index.js 476 Bytes
3f535f30   杨鑫   '初始'
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: false,
        activityId: 0
      }
    },
    methods: {
      addActivity() {
        this.activityId = 0
        this.activityVisible = true
      },
      editActivity(id) {
        this.activityId = id
        this.activityVisible = true
        if (this.$refs.addCoupon) {
          this.$refs.addCoupon.getCouponInfo()
        }
      },
      reset() {
        this.activityVisible = false
        this.getAll(this.formInline)
      }
    }
  }