dataImportMixin.js 1.69 KB
// dataImportMixin.js
import * as dayjs from 'dayjs';
import url from '@/assets/empty.png'

export default {
    data() {
        return {
            url,
            pageConf: {pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'total'},
            searchForm: {
                selectedArea:[]
            },
            searchFormData: [
                {
                    label: '模板名称',
                    name: 'wechatName',
                    type: 'input',
                    maxlength: 100
                },
                {
                    label: '所属渠道',
                    name: 'userPhone',
                    type: 'input',
                    maxlength: 100
                }
            ],
            getListApi: this.$apis.redenvelope.drawListApi,
            tableParams: {
                listName: 'list',
                tableOption: false,
                tableColumns: [
                    {
                        label: '模板名称',
                        prop: 'userPhone',
                        minWidth: 100
                    },
                    {
                        label: '所属渠道',
                        prop: 'wechatName',
                        minWidth: 100
                    },
                    {
                        label: '活动形式',
                        prop: 'link',
                        minWidth: 100
                    },
                    {
                        label: '创建时间',
                        minWidth: 100,
                        prop:'activityName'
                    }
                ]
            },
            tableSearchForm: {}
        }
    },
    methods: {

    },

};