88 lines
1.4 KiB
JavaScript
88 lines
1.4 KiB
JavaScript
import {
|
|
radio,
|
|
checkbox,
|
|
completion,
|
|
rate,
|
|
martrixQuestion,
|
|
fileUpload,
|
|
textWithImages,
|
|
signQuestion,
|
|
nps
|
|
} from '@/utils/importJsons';
|
|
const basicQuesTypeList = [
|
|
{
|
|
icon: '',
|
|
name: '单选题',
|
|
question_type: 1,
|
|
json: radio
|
|
},
|
|
{
|
|
icon: '',
|
|
name: '多选题',
|
|
question_type: 2,
|
|
json: checkbox
|
|
},
|
|
{
|
|
icon: '',
|
|
name: '填空题',
|
|
question_type: 4,
|
|
json: completion
|
|
},
|
|
// {
|
|
// icon: 'phone-o',
|
|
// name: '图形打分',
|
|
// question_type: '4',
|
|
// json: rate
|
|
// },
|
|
{
|
|
icon: '',
|
|
name: '数值打分',
|
|
question_type: 5,
|
|
json: rate
|
|
},
|
|
{
|
|
icon: '𓱿',
|
|
name: '矩阵单选',
|
|
question_type: 9,
|
|
json: martrixQuestion
|
|
},
|
|
{
|
|
icon: '',
|
|
name: '矩阵多选',
|
|
question_type: 10,
|
|
json: martrixQuestion
|
|
},
|
|
{
|
|
icon: '',
|
|
name: '矩阵填空',
|
|
question_type: 8,
|
|
json: martrixQuestion
|
|
},
|
|
{
|
|
icon: '',
|
|
name: '文件上传',
|
|
question_type: 18,
|
|
json: fileUpload
|
|
},
|
|
{
|
|
icon: '',
|
|
name: '图文说明',
|
|
question_type: 6,
|
|
json: textWithImages
|
|
},
|
|
{
|
|
icon: '',
|
|
name: '签名',
|
|
question_type: 22,
|
|
json: signQuestion
|
|
},
|
|
{
|
|
icon: '',
|
|
name: 'NPS',
|
|
question_type: 106,
|
|
json: nps
|
|
}
|
|
];
|
|
|
|
export { basicQuesTypeList };
|