tableDetailMixin.js 4.18 KB
export default {
  data() {
    return {
      accessDetailTable: {
        listName: 'viewDetail',
        tableOption: false,
        tableColumns: [
          {
            label: '微信昵称',
            prop: 'wechatName',
            width: 120,
            addHtml: 'wechatName',
            line: 1
          },
          {
            label: '手机号',
            prop: 'phoneNum',
            width: 140,
            addHtml: 'phoneNum'
          },
          {
            label: '分享人',
            prop: 'shareName',
            width: '160',
            addHtml: 'shareName'
          },
          {
            label: '浏览时长',
            prop: 'viewTime'
          },
          {
            label: '进入页面时间',
            prop: 'enterPageTime',
            width: 220
          },
          {
            label: '离开页面时间',
            prop: 'leavingPageTime',
            width: 220
          },
          {
            label: '订单状态',
            prop: 'orderstatus'
          }
        ]
      },

      forwardingDetailTable: {
        listName: 'forwardDetail',
        tableOption: false,
        tableColumns: [
          {
            label: '员工',
            prop: 'staff',
            width: 120,
            line: 1,
            addHtml: 'staff'
          },
          {
            label: '转发次数',
            prop: 'forwardNum',
            width: 100
          },
          {
            label: '访客总数',
            prop: 'visitTotal',
            width: '120'
          },
          {
            label: '浏览总数',
            prop: 'viewTotal'
          },
          {
            label: '成交单量',
            prop: 'orderFilled'
          },
          {
            label: '客户回店核销次数',
            prop: 'writeoffNum'
          },
          {
            label: '核销激励',
            prop: 'writeoffIncentive',
            width: '180',
            addHtml: 'writeoffIncentive'
          },
          {
            label: '转化率',
            prop: 'conversionRate',
            width: '180',
            addHtml: 'conversionRate'
          }
        ]
      },

      lineDetailTable: {
        listName: 'clueDetail',
        tableOption: false,
        tableColumns: [
          {
            label: '微信昵称',
            prop: 'wechatName',
            width: 180,
            line: 1,
            addHtml: 'wechatName'
          },
          {
            label: '手机号',
            prop: 'phoneNum',
            width: 200,
            addHtml: 'phoneNum'
          },
          {
            label: '分享人',
            prop: 'shareName',
            width: 160,
            addHtml: 'shareName'
          },
          {
            label: '用户名',
            prop: 'userName',
            addHtml: 'userName'
          },
          {
            label: '车牌',
            prop: 'licensePlate',
            addHtml: 'licensePlate'
          },
          {
            label: '浏览次数',
            prop: 'viewNum'
          },
          {
            label: '最后浏览时间',
            prop: 'lastViewTime',
            width: '220'
          },
          {
            label: '最后跟进',
            prop: 'lastFollowup',
            width: '180'
          }
        ]
      },

      activationDetailTable: {
        listName: 'activationDetail',
        tableOption: false,
        tableColumns: [
          {
            label: '客户名称',
            prop: 'customerName',
            width: 200,
            line: 1,
            addHtml:'customerName'
          },
          {
            label: '手机号',
            prop: 'phoneNum',
            width: 180,
            addHtml:'phoneNum'
          },
          {
            label: '其他',
            prop: 'other',
            width: '150',
            addHtml:'other'
          },
          {
            label: '微信名称',
            prop: 'wechatName'
          },
          {
            label: '浏览次数',
            prop: 'viewNum'
          },
          {
            label: '推荐人',
            prop: 'reference',
            width: '180',
            addHtml: 'reference'
          }
        ]
      }
    }
  }
}