import {
  radio,
  checkbox,
  completion,
  rate,
  martrixQuestion,
  fileUpload,
  textWithImages,
  signQuestion,
  nps
} from '@/utils/importJsons';

import radioPng from '@/views/Design/images/1.png';
import checkboxPng from '@/views/Design/images/2.png';
import completionPng from '@/views/Design/images/4.png';
import ratePng from '@/views/Design/images/5.png';
import textImagePng from '@/views/Design/images/6.png';
import martrixQuestionCheckboxPng from '@/views/Design/images/10.png';
import martrixQuestionRadioPng from '@/views/Design/images/9.png';
import martrixQuestionTextPng from '@/views/Design/images/8.png';
import uploadPng from '@/views/Design/images/18.png';
import signPng from '@/views/Design/images/22.png';
import nspPng from '@/views/Design/images/106.png';

const basicQuesTypeList = [
  {
    icon: radioPng,
    name: '单选题',
    question_type: 1,
    json: radio
  },
  {
    icon: checkboxPng,
    name: '多选题',
    question_type: 2,
    json: checkbox
  },
  {
    icon: completionPng,
    name: '填空题',
    question_type: 4,
    json: completion
  },
  // {
  //   icon: 'phone-o',
  //   name: '图形打分',
  //   question_type: '4',
  //   json: rate
  // },
  {
    icon: ratePng,
    name: '数值打分',
    question_type: 5,
    json: rate
  },
  {
    icon: martrixQuestionRadioPng,
    name: '矩阵单选',
    question_type: 9,
    json: martrixQuestion
  },
  {
    icon: martrixQuestionCheckboxPng,
    name: '矩阵多选',
    question_type: 10,
    json: martrixQuestion
  },
  {
    icon: martrixQuestionTextPng,
    name: '矩阵填空',
    question_type: 8,
    json: martrixQuestion
  },
  {
    icon: uploadPng,
    name: '文件上传',
    question_type: 18,
    json: fileUpload
  },
  {
    icon: textImagePng,
    name: '图文说明',
    question_type: 6,
    json: textWithImages
  },
  {
    icon: signPng,
    name: '签名',
    question_type: 22,
    json: signQuestion
  },
  {
    icon: nspPng,
    name: 'NPS',
    question_type: 106,
    json: nps
  }
];

export { basicQuesTypeList };
