data.js 6.22 KB
const sexList = [
  {
    confId: '1',
    confName: '男'
  },
  {
    confId: '2',
    confName: '女'
  }
]
const age = [
  {
    confId: '1',
    confName: '20岁以下'
  },
  {
    confId: '2',
    confName: '21-30岁'
  },
  {
    confId: '3',
    confName: '31-40岁'
  },
  {
    confId: '4',
    confName: '41-50岁'
  },
  {
    confId: '5',
    confName: '51岁以上'
  }
]
const maritalStatus = [
  {
    confId: '1',
    confName: '已婚已育'
  },
  {
    confId: '2',
    confName: '已婚未育'
  },
  {
    confId: '3',
    confName: '未婚'
  }
]
// "职业(1:公务员(公检法),2:医生,3:教师,4:老板,5:律师,6:企业高管,7:IT/工程师,8:公司职员,9:其他")
const career = [
  {
    confId: '1',
    confName: '公务员(公检法)'
  },
  {
    confId: '2',
    confName: '医生'
  },
  {
    confId: '3',
    confName: '教师'
  },
  {
    confId: '4',
    confName: '老板'
  },
  {
    confId: '5',
    confName: '律师'
  },
  {
    confId: '6',
    confName: '企业高管'
  },
  {
    confId: '7',
    confName: 'IT/工程师'
  },
  {
    confId: '8',
    confName: '公司职员'
  },
  {
    confId: '9',
    confName: '其他'
  },
]
// (1:S 爽快型,2:K 侃价型,3:Y 依赖型,4:W 无语型,5:O 偶伴型,6:R 认捧型,7:T 挑剔型,8:H 好奇型")
const personality = [
  {
    confId: '1',
    confName: 'S 爽快型',
    label: '冲动、承担风险'
  },
  {
    confId: '2',
    confName: 'K 侃价型',
    label: '谨慎、避免损失'
  },
  {
    confId: '3',
    confName: 'Y 依赖型',
    label: '顺从别人'
  },
  {
    confId: '4',
    confName: 'W 无语型',
    label: '内向、避免损失'
  },
  {
    confId: '5',
    confName: '0 偶伴型',
    label: '避免损失、集体决策'
  },
  {
    confId: '6',
    confName: 'R 认捧型',
    label: '寻求认同'
  },
  {
    confId: '7',
    confName: 'T 挑剔型',
    label: '谨慎、避免损失'
  },
  {
    confId: '8',
    confName: 'H 好奇型',
    label: '追求新奇'
  },
]
const giftProduct = [
  {
    confId: '1',
    confName: '360全包脚垫'
  },
  {
    confId: '2',
    confName: '立体脚垫'
  },
  {
    confId: '3',
    confName: '单机记录仪'
  },
  {
    confId: '4',
    confName: '4G记录仪'
  },
  {
    confId: '5',
    confName: '单机车机'
  },
  {
    confId: '6',
    confName: '联网车机'
  }
]

const buyCarList = [
  {
    confId: '1',
    confName: '首次'
  },
  {
    confId: '2',
    confName: '置换'
  },
  {
    confId: '3',
    confName: '增购'
  }
]

const purchaseList = [
  {
    confId: '1',
    confName: '全款'
  },
  {
    confId: '2',
    confName: '正常贷款'
  },
  {
    confId: '3',
    confName: '超低首付'
  }
]

const decisionList = [
  {
    confId: '1',
    confName: '自己做主'
  },
  {
    confId: '2',
    confName: '听从亲友建议'
  },
  {
    confId: '3',
    confName: '他人买单'
  }
]

const promoteList = [
  {
    confId: 'Y',
    confName: '是',
    otherName: '推膜时有铺垫'
  },
  {
    confId: 'N',
    confName: '否',
    otherName: '推膜时未铺垫'
  }
]

const satisfiedList = [
  {
    confId: 'Y',
    confName: '是',
    otherName: '购车上牌时客户满意'
  },
  {
    confId: 'N',
    confName: '否',
    otherName: '购车上牌时客户不满'
  }
]

const timeList = [
  {
    confId: '1',
    confName: '加急安排'
  },
  {
    confId: '2',
    confName: '正常预约'
  }
]

var formData = [
  {
    label: '性别(单选)',
    name: 'customerSex',
    optionList: sexList,
    optionId: 'confId',
    optionLabel: 'confName',
    optionsName: 'sexList'
  },
  {
    label: '年龄段',
    name: 'age',
    optionList: age,
    optionId: 'confId',
    optionLabel: 'confName',
    optionsName: 'age'
  },
  {
    label: '家庭情况',
    name: 'maritalStatus',
    optionList: maritalStatus,
    optionId: 'confId',
    optionLabel: 'confName',
    optionsName: 'maritalStatus'
  },
  {
    label: '职业',
    name: 'career',
    optionList: career,
    optionId: 'confId',
    optionLabel: 'confName',
    optionsName: 'career'
  },
  {
    label: '性格类型',
    name: 'personality',
    optionList: personality,
    optionId: 'confId',
    optionLabel: 'confName',
    optionsName: 'personality'
  },
  // {
  //   label: '附赠产品(每类产品只支持选一个选项)',
  //   name: 'giftProductList',
  //   isMult: true,
  //   optionList: giftProduct,
  //   optionId: 'confId',
  //   optionLabel: 'confName',
  //   optionsName: 'sexList'
  // },

  {
    label: '买车情况(单选)',
    name: 'buyingCarDetails',
    optionList: buyCarList,
    optionId: 'confId',
    optionLabel: 'confName',
    optionsName: 'buyCarList'
  },
  {
    label: '消费力(单选)',
    name: 'purchasingPower',
    optionList: purchaseList,
    optionId: 'confId',
    optionLabel: 'confName',
    optionsName: 'purchaseList'
  }
  // ,{
  //     label: '决策力(可多选)',
  //     name: 'decisionMakingAbility',
  //     isMult: true,
  //     optionList: decisionList,
  //     optionId: 'confId',
  //     optionLabel: 'confName',
  //     optionsName: 'decisionList'
  // }, {
  //     label: '是否有做推膜铺垫',
  //     name: 'introductionToPromoting',
  //     optionList: promoteList,
  //     optionId: 'confId',
  //     optionLabel: 'confName',
  //     optionsName: 'promoteList'
  // }, {
  //     label: '客户在购车上牌环节中是否顺利愉快满意',
  //     name: 'detailsOfSatisfaction',
  //     optionList: satisfiedList,
  //     optionId: 'confId',
  //     optionLabel: 'confName',
  //     optionsName: 'satisfiedList'
  // }, {
  //     label: '贴膜时间优先级',
  //     name: 'filmCoatingUseTime',
  //     optionList: timeList,
  //     optionId: 'confId',
  //     optionLabel: 'confName',
  //     optionsName: 'timeList'
  // }, {
  //     label: '自定义信息',
  //     name: 'additionalInformation',
  //     type: 'textarea',
  //     maxlength: '100',
  //     placeholder: '输入职业画像、喜好禁忌、推膜建议等客户信息,不超过100字'
  // }
]

export default {
  sexList,
  age,
  maritalStatus,
  giftProduct,
  buyCarList,
  purchaseList,
  decisionList,
  promoteList,
  satisfiedList,
  timeList,
  formData,
  career,
  personality
}