Logo white

webapp / GreenwayWeb

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • GreenwayWeb
  • merchant-web-master
  • src
  • views
  • marketing
  • mixin
  • index.js
  • 2
    8db25941
    李宇 authored
    2024-12-05 11:59:28 +0800  
    Browse Code »
index.js 471 Bytes
Edit Raw Blame History
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)
    }
  }
}