doum
2025-12-10 559f6fcd685d2144e931d2c4e56cbe38c2308d70
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<template>
  <TableLayout >
    
  </TableLayout>
</template>
 
<script>
import BaseTable from '@/components/base/BaseTable'
import TableLayout from '@/layouts/TableLayout'
import Pagination from '@/components/common/Pagination'
import { fetcfindAllListhList, createCoffeeTask } from '@/api/business/taskRule'
export default {
  name: 'TaskRule',
  extends: BaseTable,
  components: { TableLayout, Pagination },
  data () {
    return {
      activityTime: [],
      // 搜索
      searchForm: {
        name: '',
        realName: '',
        activityStatus: '',
        starttime: '',
        endtime: '',
        type: 1 //类型0商家活动 1平台活动 2探店 3资讯
      },
      
     
    }
  },
  created () {
    this.getTaskRule()
  },
  methods: {
    getTaskRule() {
      fetcfindAllListhList()
        .then(res => {
 
        })
        .catch(e => {
          this.$tip.error(e)
        })
    },
    submit() {
      createCoffeeTask()
        .then(() => {
          this.$tip.success('设置成功')
        })
        .catch(e => {
          this.$tip.error(e)
        })
    }
  },
}
</script>