constant.js 4.78 KB
const digitalMarketingObj = {
  boutique: [
    {
      name: '注册门店总数',
      valueName: 'count',
      value: '0',
      unit: '¥',
      unitType: 'left',
      bottomType: 'ratio',
      ratioLeftLabel: '周同比',
      ratioLeftValueName: 'outputvalueTb',
      ratioLeftValue: '0',
      ratioRightLabel: '日环比',
      ratioRightValueName: 'outputvalueHb',
      ratioRightValue: '0'
    },
    {
      name: '活跃门店总数',
      valueName: 'countvalue',
      value: '0',
      unit: '¥',
      unitType: 'left',
      bottomType: 'ratio',
      ratioLeftLabel: '周同比',
      ratioLeftValueName: 'outputvalueTb',
      ratioLeftValue: '0',
      ratioRightLabel: '日环比',
      ratioRightValueName: 'outputvalueHb',
      ratioRightValue: '0'
    },
    {
      name: '订单总数',
      valueName: 'count',
      value: '0',
      unit: '¥',
      unitType: 'left',
      bottomType: 'ratio',
      ratioLeftLabel: '周同比',
      ratioLeftValueName: 'outputvalueTb',
      ratioLeftValue: '0',
      ratioRightLabel: '日环比',
      ratioRightValueName: 'outputvalueHb',
      ratioRightValue: '0'
    },
    {
      name: '总产值',
      valueName: 'countvalue',
      value: '0',
      unit: '¥',
      unitType: 'left',
      bottomType: 'ratio',
      ratioLeftLabel: '周同比',
      ratioLeftValueName: 'outputvalueTb',
      ratioLeftValue: '0',
      ratioRightLabel: '日环比',
      ratioRightValueName: 'outputvalueHb',
      ratioRightValue: '0'
    }
  ],
  crowdfunding: [
    {
      name: '门店总数',
      valueName: 'count',
      value: '0',
      unit: '¥',
      unitType: 'left',
      bottomType: 'ratio',
      ratioLeftLabel: '周同比',
      ratioLeftValueName: 'outputvalueTb',
      ratioLeftValue: '0',
      ratioRightLabel: '日环比',
      ratioRightValueName: 'outputvalueHb',
      ratioRightValue: '0'
    },
    {
      name: '活跃总场次',
      valueName: 'countvalue',
      value: '0',
      unit: '¥',
      unitType: 'left',
      bottomType: 'ratio',
      ratioLeftLabel: '周同比',
      ratioLeftValueName: 'outputvalueTb',
      ratioLeftValue: '0',
      ratioRightLabel: '日环比',
      ratioRightValueName: 'outputvalueHb',
      ratioRightValue: '0'
    },
    {
      name: '订单总数',
      valueName: 'count',
      value: '0',
      unit: '¥',
      unitType: 'left',
      bottomType: 'ratio',
      ratioLeftLabel: '周同比',
      ratioLeftValueName: 'outputvalueTb',
      ratioLeftValue: '0',
      ratioRightLabel: '日环比',
      ratioRightValueName: 'outputvalueHb',
      ratioRightValue: '0'
    },
    {
      name: '总产值',
      valueName: 'countvalue',
      value: '0',
      unit: '¥',
      unitType: 'left',
      bottomType: 'ratio',
      ratioLeftLabel: '周同比',
      ratioLeftValueName: 'outputvalueTb',
      ratioLeftValue: '0',
      ratioRightLabel: '日环比',
      ratioRightValueName: 'outputvalueHb',
      ratioRightValue: '0'
    }
  ]
}

const digitalMarketingLeftSelectList = [
  [
    {
      name: '注册门店趋势',
      val: 'num'
    },
    {
      name: '活跃门店趋势',
      val: 'merNum'
    },
    {
      name: '月订单量与收入趋势',
      val: 'trend'
    }
  ],
  [
    {
      name: '活动趋势',
      val: 'num1'
    },
    {
      name: '订单趋势',
      val: 'merNum2'
    },
    {
      name: '客单价趋势',
      val: 'trend3'
    }
  ]
]

const digitalMarketingRightSelectList = [
  [
    {
      name: '门店订单金额分布',
      val: 'num'
    },
    {
      name: '门店订单量分布',
      val: 'merNum'
    }
  ],
  [
    {
      name: '门店订单分布',
      val: 'num1'
    },
    {
      name: '活动订单分布',
      val: 'merNum2'
    },
    {
      name: '活动订单金额分布',
      val: 'trend3'
    }
  ]
]

const digitalMarketingPriceObj = {
  merchantOrderlist: ['0-99', '100-199', '200-299', '300-399', '400-499', '500-599'],
  activityOrderList: ['0-20', '20-40', '40-60', '60-80', '80-100', '100-120', '120-140', '140-160', '160-180', '180-200'],
  activityPriceOrderList: ['0-5000', '5000-10000', '10000-15000', '15000-20000', '20000-25000', '25000-30000', '30000-35000']
}

const edunPriceList = ['0-10', '10-20', '20-30', '30-40', '40-50', '50-60', '60-70', '70-80', '80-90', '90-100', '>100']

const equityPriceList = ['0-1', '1-5', '5-10', '10-20', '>=20']

const rationalityList = ['门店数', '用户数', '销售数']

const rationalityPriceList = ['0-10万', '10-20万', '20-30万', '30-40万', '40-50万', '≧60万']

const serviceList = ['服务订阅设备数', '总线索条数']

export { digitalMarketingObj, digitalMarketingPriceObj, digitalMarketingLeftSelectList, digitalMarketingRightSelectList, edunPriceList, equityPriceList, rationalityList, rationalityPriceList, serviceList }