秦鹏 vor 3 Jahren
Ursprung
Commit
8089f33747

+ 878 - 870
src/components/Adult/common/data.js

@@ -1,904 +1,912 @@
 let fnData = [{
-  type: "article_chs",
-  name: "课文",
-}, {
-  type: "dialog_article_chs",
-  name: "对话课文",
-},
-{
-  type: "sentence_segword_chs",
-  name: "句子分词",
-},
-{
-  type: "NewWord_chs",
-  name: "生词",
-},
-{
-  type: "notes_chs",
-  name: "注释",
+        type: "article_chs",
+        name: "课文",
+    }, {
+        type: "dialog_article_chs",
+        name: "对话课文",
+    },
+    {
+        type: "sentence_segword_chs",
+        name: "句子分词",
+    },
+    {
+        type: "NewWord_chs",
+        name: "生词",
+    },
+    {
+        type: "notes_chs",
+        name: "注释",
 
-}, {
-  type: "voice_matrix",
-  name: "语音矩阵",
-}, {
-  type: "divider",
-  name: "分割线",
-  data_structure: {
-    type: 'divider',
-    name: "分割线",
-  }
-},
-{
-  type: "text",
-  name: "文本描述",
-  data_structure: {
-    type: 'text',
-    name: "文本描述",
-    con: '',
-    pinyin: '',
-    english: '',
-    img_list: [],
-    mp3_list: []
-  }
-},
-{
-  type: "single",
-  name: "单选题",
-  data_structure: {
-    type: 'single',
-    name: "单选题",
-    title: "",
-    option: [{
-      con: '',
-      pinyin: '',
-      img_list: [],
-      mp3_list: [],
-      isAnswer: ""
-    },
-    {
-      con: '',
-      pinyin: '',
-      img_list: [],
-      mp3_list: [],
-      isAnswer: ""
-    }
-    ],
-    correct: [],
-    numberList: {
-      type: "number",
-      name: "每行几个",
-      con: "2",
-      arr: [{
-        id: 1,
-        value: 1,
-      }, {
-        id: 2,
-        value: 2,
+    }, {
+        type: "voice_matrix",
+        name: "语音矩阵",
+    }, {
+        type: "divider",
+        name: "分割线",
+        data_structure: {
+            type: 'divider',
+            name: "分割线",
+        }
+    },
+    {
+        type: "text",
+        name: "文本描述",
+        data_structure: {
+            type: 'text',
+            name: "文本描述",
+            con: '',
+            pinyin: '',
+            english: '',
+            img_list: [],
+            mp3_list: []
+        }
+    },
+    {
+        type: "single",
+        name: "单选题",
+        data_structure: {
+            type: 'single',
+            name: "单选题",
+            title: "",
+            option: [{
+                    con: '',
+                    pinyin: '',
+                    img_list: [],
+                    mp3_list: [],
+                    isAnswer: ""
+                },
+                {
+                    con: '',
+                    pinyin: '',
+                    img_list: [],
+                    mp3_list: [],
+                    isAnswer: ""
+                }
+            ],
+            correct: [],
+            numberList: {
+                type: "number",
+                name: "每行几个",
+                con: "2",
+                arr: [{
+                        id: 1,
+                        value: 1,
+                    }, {
+                        id: 2,
+                        value: 2,
 
-      }, {
-        id: 3,
-        value: 3,
-      },
-      {
-        id: 4,
-        value: 4,
-      },
-      ]
-    }
-  }
-},
-{
-  type: "checkbox",
-  name: "多选题",
-  data_structure: {
-    type: 'checkbox',
-    name: "多选题",
-    title: "",
-    option: [{
-      con: '',
-      pinyin: '',
-      img_list: [],
-      mp3_list: [],
-      isAnswer: ''
-    },
-    {
-      con: '',
-      pinyin: '',
-      img_list: [],
-      mp3_list: [],
-      isAnswer: ''
-    }
-    ],
-    correct: [],
-    numberList: {
-      type: "number",
-      name: "每行几个",
-      con: "2",
-      arr: [{
-        id: 1,
-        value: 1,
-      }, {
-        id: 2,
-        value: 2,
+                    }, {
+                        id: 3,
+                        value: 3,
+                    },
+                    {
+                        id: 4,
+                        value: 4,
+                    },
+                ]
+            }
+        }
+    },
+    {
+        type: "checkbox",
+        name: "多选题",
+        data_structure: {
+            type: 'checkbox',
+            name: "多选题",
+            title: "",
+            option: [{
+                    con: '',
+                    pinyin: '',
+                    img_list: [],
+                    mp3_list: [],
+                    isAnswer: ''
+                },
+                {
+                    con: '',
+                    pinyin: '',
+                    img_list: [],
+                    mp3_list: [],
+                    isAnswer: ''
+                }
+            ],
+            correct: [],
+            numberList: {
+                type: "number",
+                name: "每行几个",
+                con: "2",
+                arr: [{
+                        id: 1,
+                        value: 1,
+                    }, {
+                        id: 2,
+                        value: 2,
 
-      }, {
-        id: 3,
-        value: 3,
-      },
-      {
-        id: 4,
-        value: 4,
-      },
-      ]
-    }
-  }
-},
-{
-  type: "judge",
-  name: "判断题",
-  data_structure: {
-    type: 'judge',
-    name: "判断题",
-    title: "",
-    con: '',
-    pinyin: '',
-    img_list: [],
-    mp3_list: [],
-    judge: ''
-  }
-},
-{
-  type: "multiRowInput",
-  name: "多行文本题",
-  data_structure: {
-    type: 'multiRowInput',
-    name: "多行文本题",
-    title: "",
-    con: [{
-      con: '',
-      annotation: "", //注释
-    }],
-    pinyin: '',
-    img_list: [],
-    mp3_list: [],
-    fn_list: [{
-      type: 'astrictNumber',
-      name: '限制字数',
-      isFn: false,
-    },],
-  }
-},
-{
-  type: "singleRowInput",
-  name: "单行文本题",
-  data_structure: {
-    type: 'singleRowInput',
-    name: "单行文本题",
-    title: "",
+                    }, {
+                        id: 3,
+                        value: 3,
+                    },
+                    {
+                        id: 4,
+                        value: 4,
+                    },
+                ]
+            }
+        }
+    },
+    {
+        type: "judge",
+        name: "判断题",
+        data_structure: {
+            type: 'judge',
+            name: "判断题",
+            title: "",
+            con: '',
+            pinyin: '',
+            img_list: [],
+            mp3_list: [],
+            judge: ''
+        }
+    },
+    {
+        type: "multiRowInput",
+        name: "多行文本题",
+        data_structure: {
+            type: 'multiRowInput',
+            name: "多行文本题",
+            title: "",
+            con: [{
+                con: '',
+                annotation: "", //注释
+            }],
+            pinyin: '',
+            img_list: [],
+            mp3_list: [],
+            fn_list: [{
+                type: 'astrictNumber',
+                name: '限制字数',
+                isFn: false,
+            }, ],
+        }
+    },
+    {
+        type: "singleRowInput",
+        name: "单行文本题",
+        data_structure: {
+            type: 'singleRowInput',
+            name: "单行文本题",
+            title: "",
+
+            con: [{
+                con: '',
+                annotation: "", //注释
+            }],
+            pinyin: '',
+            img_list: [],
+            mp3_list: [],
+            fn_list: [{
+                type: 'astrictNumber',
+                name: '限制字数',
+                isFn: false,
+            }, ],
+        }
+    },
+    {
+        type: "hanzi",
+        name: "汉字模版",
+        data_structure: {
+            type: 'hanzi',
+            name: "汉字模版",
+            title: "",
+            option: [{
+                hanzi: '',
+                pinyin: '',
+                mp3_list: [],
+                img_list: [],
+                definition_list: [''],
+                isAnswer: '',
+                isChecked: '',
+                isJudge: '',
+                correctInput: ''
+            }],
+
+            correct: [{
+                single: [],
+                checkBox: [],
+                judge: [],
+                input: [],
+                spell: []
+            }],
+            fn_list: [{
+                    type: 'def',
+                    name: '更多释义',
+                    isFn: false,
+                    isDisable: false,
+                },
+                {
+                    type: 'record',
+                    name: '跟读',
+                    isFn: false,
+                    isDisable: false,
+                },
+                {
+                    type: 'spell',
+                    name: '拼写',
+                    isFn: false,
+                    isDisable: false,
+                },
+                {
+                    type: 'input',
+                    name: '输入',
+                    isFn: false,
+                    isDisable: false,
+                },
+                {
+                    type: 'copy',
+                    name: '摹写',
+                    isFn: false,
+                    isDisable: false,
+                },
+                {
+                    type: 'single',
+                    name: '单选',
+                    isFn: false,
+                    isDisable: false,
+                }, {
+                    type: 'checkBox',
+                    name: '多选',
+                    isFn: false,
+                    isDisable: false,
+                }, {
+                    type: 'judge',
+                    name: '判断',
+                    isFn: false,
+                    isDisable: false,
+                },
+            ]
+        },
+    },
+    {
+        type: "image",
+        name: "图片控件",
+        list: [{
+                type: 'image_checkBox',
+                name: "图片多选",
+            },
+            {
+                type: 'image_judge',
+                name: "图片判断",
+            },
+            {
+                type: 'image_single',
+                name: "图片单选",
+            },
+            {
+                type: 'image_dobleinput',
+                name: "双输入",
+            },
+            {
+                type: 'image_gdcy',
+                name: "固定词语",
+            },
+            {
+                type: 'image_wordInput',
+                name: "单词+输入",
+            },
+            {
+                type: "imgage_image",
+                name: "纯图片",
+            },
+        ],
+        data_structure: {
+            type: 'image',
+            name: "图片控件",
+            title: "",
+            option: [{
+                hanzi: '',
+                pinyin: '',
+                mp3_list: [],
+                img_list: [],
+                isAnswer: '',
+                isChecked: '',
+                isJudge: '',
+                correctInput: '',
+            }],
+            correct: [{
+                single: [],
+                checkBox: [],
+                judge: [],
+                input: [],
+                spell: []
+            }],
+            fn_list: [{
+                    type: 'image_record',
+                    name: '跟读',
+                    isFn: false,
+                    isDisable: false,
+                },
+                {
+                    type: 'image_spell',
+                    name: '拼写',
+                    isFn: false,
+                    isDisable: false,
+                },
+                {
+                    type: 'image_input',
+                    name: '输入',
+                    isFn: false,
+                    isDisable: false,
+                },
+                {
+                    type: 'image_dobleinput',
+                    name: '双输入',
+                    isFn: false,
+                    isDisable: false,
+                },
+                {
+                    type: 'image_single',
+                    name: '单选',
+                    isFn: false,
+                    isDisable: false,
+                }, {
+                    type: 'image_checkBox',
+                    name: '多选',
+                    isFn: false,
+                    isDisable: false,
+                }, {
+                    type: 'image_judge',
+                    name: '判断',
+                    isFn: false,
+                    isDisable: false,
+                },
+            ],
+            numberList: {
+                type: "number",
+                name: "每行几个",
+                con: "2",
+                arr: [{
+                        id: 1,
+                        value: 1,
+                    }, {
+                        id: 2,
+                        value: 2,
 
-    con: [{
-      con: '',
-      annotation: "", //注释
-    }],
-    pinyin: '',
-    img_list: [],
-    mp3_list: [],
-    fn_list: [{
-      type: 'astrictNumber',
-      name: '限制字数',
-      isFn: false,
-    },],
-  }
-},
-{
-  type: "hanzi",
-  name: "汉字模版",
-  data_structure: {
-    type: 'hanzi',
-    name: "汉字模版",
-    title: "",
-    option: [{
-      hanzi: '',
-      pinyin: '',
-      mp3_list: [],
-      img_list: [],
-      definition_list: [''],
-      isAnswer: '',
-      isChecked: '',
-      isJudge: '',
-      correctInput: ''
-    }],
+                    }, {
+                        id: 3,
+                        value: 3,
+                    },
+                    {
+                        id: 4,
+                        value: 4,
+                    },
+                ]
+            }
+        },
+    },
 
-    correct: [{
-      single: [],
-      checkBox: [],
-      judge: [],
-      input: [],
-      spell: []
-    }],
-    fn_list: [{
-      type: 'def',
-      name: '更多释义',
-      isFn: false,
-      isDisable: false,
+    {
+        type: "audio_control",
+        name: "音频控制条",
+        data_structure: {
+            type: 'audio_control',
+            name: "音频控制条",
+            option: [{
+                xuhao: '',
+                yinbiao: '',
+                img_list: [],
+                mp3_list: [],
+                isAnswer: ''
+            }, ],
+        }
     },
     {
-      type: 'record',
-      name: '跟读',
-      isFn: false,
-      isDisable: false,
+        type: "audio_control_easy",
+        name: "音频控制条-简易",
+        data_structure: {
+            type: 'audio_control_easy',
+            name: "音频控制条-简易",
+            option: [{
+                xuhao: '',
+                yinbiao: '',
+                img_list: [],
+                mp3_list: [],
+                isAnswer: ''
+            }, ],
+        }
     },
     {
-      type: 'spell',
-      name: '拼写',
-      isFn: false,
-      isDisable: false,
+        type: "input_record_chs",
+        name: "输入+录音",
     },
     {
-      type: 'input',
-      name: '输入',
-      isFn: false,
-      isDisable: false,
+        type: "recordHZ_inputPY_chs",
+        name: "读汉字写拼音",
     },
     {
-      type: 'copy',
-      name: '摹写',
-      isFn: false,
-      isDisable: false,
+        type: "inputItem_chs",
+        name: "输入选项",
     },
     {
-      type: 'single',
-      name: '单选',
-      isFn: false,
-      isDisable: false,
-    }, {
-      type: 'checkBox',
-      name: '多选',
-      isFn: false,
-      isDisable: false,
-    }, {
-      type: 'judge',
-      name: '判断',
-      isFn: false,
-      isDisable: false,
-    },
-    ]
-  },
-},
-{
-  type: "image",
-  name: "图片控件",
-  list: [{
-    type: 'image_checkBox',
-    name: "图片多选",
-  },
-  {
-    type: 'image_judge',
-    name: "图片判断",
-  },
-  {
-    type: 'image_single',
-    name: "图片单选",
-  },
-  {
-    type: 'image_dobleinput',
-    name: "双输入",
-  },
-  {
-    type: 'image_gdcy',
-    name: "固定词语",
-  },
-  {
-    type: 'image_wordInput',
-    name: "单词+输入",
-  },
-  {
-    type: "imgage_image",
-    name: "纯图片",
-  },
-  ],
-  data_structure: {
-    type: 'image',
-    name: "图片控件",
-    title: "",
-    option: [{
-      hanzi: '',
-      pinyin: '',
-      mp3_list: [],
-      img_list: [],
-      isAnswer: '',
-      isChecked: '',
-      isJudge: '',
-      correctInput: '',
-    }],
-    correct: [{
-      single: [],
-      checkBox: [],
-      judge: [],
-      input: [],
-      spell: []
-    }],
-    fn_list: [{
-      type: 'image_record',
-      name: '跟读',
-      isFn: false,
-      isDisable: false,
-    },
-    {
-      type: 'image_spell',
-      name: '拼写',
-      isFn: false,
-      isDisable: false,
-    },
-    {
-      type: 'image_input',
-      name: '输入',
-      isFn: false,
-      isDisable: false,
-    },
-    {
-      type: 'image_dobleinput',
-      name: '双输入',
-      isFn: false,
-      isDisable: false,
-    },
-    {
-      type: 'image_single',
-      name: '单选',
-      isFn: false,
-      isDisable: false,
-    }, {
-      type: 'image_checkBox',
-      name: '多选',
-      isFn: false,
-      isDisable: false,
-    }, {
-      type: 'image_judge',
-      name: '判断',
-      isFn: false,
-      isDisable: false,
-    },
-    ],
-    numberList: {
-      type: "number",
-      name: "每行几个",
-      con: "2",
-      arr: [{
-        id: 1,
-        value: 1,
-      }, {
-        id: 2,
-        value: 2,
+        type: "upload_control_chs",
+        name: "上传控件",
+    },
+    // {
+    //     type: "inputItem_chs",
+    //     name: "输入选项",
+    // },
+    {
+        type: "switch_control",
+        name: "开关控件",
+        data_structure: {
+            type: 'switch_control',
+            name: "开关控件",
+            con: "",
+            option: [{
+                con: "", //标题
+                answer: "", //答案
+                record: false, //需要录音
+                mp3_list: [],
+            }, ],
+        }
+    },
+    {
+        type: "record_control",
+        name: "录音控件",
+        list: [{
+                type: 'record_control_mini',
+                name: "录音控件-mini",
+            },
+            {
+                type: 'record_control_normal',
+                name: "录音控件-normal",
+            },
+            {
+                type: 'record_control_pro',
+                name: "录音控件-pro",
+            },
+            {
+                type: 'record_control_promax',
+                name: "录音控件-promax",
+            },
+        ],
+        data_structure: {
+            type: 'record_control',
+            name: "录音控件",
+            option: [{
+                hanzi: '',
+                pinyin: '',
+                mp3_list: [],
+                img_list: [],
+                isAnswer: '',
+                isChecked: '',
+                isJudge: '',
+                correctInput: '',
+            }],
+        },
+    },
+    {
+        type: "pure_input",
+        name: "纯输入",
+        data_structure: {
+            type: 'pure_input',
+            name: "纯输入",
+            option: [{
+                answer: "",
+            }, ],
+            answer: "",
+            record: false, //需要录音
+            mp3_list: [],
+        }
+    },
+    {
+        type: "matrixSingle",
+        name: "矩阵单选",
+        data_structure: {
+            type: 'matrixSingle',
+            name: "矩阵单选",
+            title: "",
+            con: [{
+                    con: "",
+                    Answer: "",
+                },
+                {
+                    con: "",
+                    Answer: "",
+                },
+            ],
+            option: [{
+                    con: '',
+                    pinyin: '',
+                    img_list: [],
+                    mp3_list: [],
+                    isAnswer: ''
+                },
+                {
+                    con: '',
+                    pinyin: '',
+                    img_list: [],
+                    mp3_list: [],
+                    isAnswer: ''
+                }
+            ],
+            correct: ["", ""]
+        }
+    },
+    {
+        type: "matrixChckbox",
+        name: "矩阵多选",
+        data_structure: {
+            type: 'matrixChckbox',
+            name: "矩阵多选",
+            title: "",
 
-      }, {
-        id: 3,
-        value: 3,
-      },
-      {
-        id: 4,
-        value: 4,
-      },
-      ]
-    }
-  },
-},
+            con: [{
+                    con: "",
+                    AnswerList: [],
+                },
+                {
+                    type: "matrixChekbox",
+                    name: "矩阵多选",
+                    data_structure: {
+                        type: 'matrixChekbox',
+                        name: "矩阵多选",
+                        con: [{
+                                con: "",
+                                AnswerList: [],
+                            },
+                            {
+                                con: "",
+                                AnswerList: [],
+                            },
+                        ],
+                        option: [{
+                                con: '',
+                                pinyin: '',
+                                img_list: [],
+                                mp3_list: [],
+                                isAnswer: ''
+                            },
+                            {
+                                con: '',
+                                pinyin: '',
+                                img_list: [],
+                                mp3_list: [],
+                                isAnswer: ''
+                            }
+                        ],
+                        correct: [
+                            [],
+                            []
+                        ]
+                    }
+                },
 
-{
-  type: "audio_control",
-  name: "音频控制条",
-  data_structure: {
-    type: 'audio_control',
-    name: "音频控制条",
-    option: [{
-      xuhao: '',
-      yinbiao: '',
-      img_list: [],
-      mp3_list: [],
-      isAnswer: ''
-    },],
-  }
-},
-{
-  type: "audio_control_easy",
-  name: "音频控制条-简易",
-  data_structure: {
-    type: 'audio_control_easy',
-    name: "音频控制条-简易",
-    option: [{
-      xuhao: '',
-      yinbiao: '',
-      img_list: [],
-      mp3_list: [],
-      isAnswer: ''
-    },],
-  }
-},
-{
-  type: "input_record_chs",
-  name: "输入+录音",
-},
-{
-  type: "recordHZ_inputPY_chs",
-  name: "读汉字写拼音",
-},
-{
-  type: "inputItem_chs",
-  name: "输入选项",
-},
-{
-  type: "upload_control_chs",
-  name: "上传控件",
-},
-// {
-//     type: "inputItem_chs",
-//     name: "输入选项",
-// },
-{
-  type: "switch_control",
-  name: "开关控件",
-  data_structure: {
-    type: 'switch_control',
-    name: "开关控件",
-    con: "",
-    option: [{
-      con: "", //标题
-      answer: "", //答案
-      record: false, //需要录音
-      mp3_list: [],
-    },],
-  }
-},
-{
-  type: "record_control",
-  name: "录音控件",
-  list: [{
-    type: 'record_control_mini',
-    name: "录音控件-mini",
-  },
-  {
-    type: 'record_control_normal',
-    name: "录音控件-normal",
-  },
-  {
-    type: 'record_control_pro',
-    name: "录音控件-pro",
-  },
-  {
-    type: 'record_control_promax',
-    name: "录音控件-promax",
-  },
-  ],
-  data_structure: {
-    type: 'record_control',
-    name: "录音控件",
-    option: [{
-      hanzi: '',
-      pinyin: '',
-      mp3_list: [],
-      img_list: [],
-      isAnswer: '',
-      isChecked: '',
-      isJudge: '',
-      correctInput: '',
-    }],
-  },
-},
-{
-  type: "pure_input",
-  name: "纯输入",
-  data_structure: {
-    type: 'pure_input',
-    name: "纯输入",
-    option: [{
-      answer: "",
-    },],
-    answer: "",
-    record: false, //需要录音
-    mp3_list: [],
-  }
-},
-{
-  type: "matrixSingle",
-  name: "矩阵单选",
-  data_structure: {
-    type: 'matrixSingle',
-    name: "矩阵单选",
-    title: "",
-    con: [{
-      con: "",
-      Answer: "",
-    },
-    {
-      con: "",
-      Answer: "",
-    },
-    ],
-    option: [{
-      con: '',
-      pinyin: '',
-      img_list: [],
-      mp3_list: [],
-      isAnswer: ''
-    },
-    {
-      con: '',
-      pinyin: '',
-      img_list: [],
-      mp3_list: [],
-      isAnswer: ''
-    }
-    ],
-    correct: ["", ""]
-  }
-},
-{
-  type: "matrixChckbox",
-  name: "矩阵多选",
-  data_structure: {
-    type: 'matrixChckbox',
-    name: "矩阵多选",
-    title: "",
+                {
+                    con: '',
+                    pinyin: '',
+                    img_list: [],
+                    mp3_list: [],
+                    isAnswer: ''
+                }
+            ],
+            correct: [
+                [],
+                []
+            ]
+        }
+    },
+    {
+        type: "sentence",
+        name: "句子模板",
+        list: [
 
-    con: [{
-      con: "",
-      AnswerList: [],
+            {
+                type: "sentence_answer",
+                name: "句子填空",
+            },
+            {
+                type: "sentence_judge",
+                name: "句子判断",
+            },
+            {
+                type: "sentence_Record",
+                name: "句子录音",
+            },
+        ],
+        data_structure: {
+            type: "sentence",
+            name: "句子模板",
+            title: "",
+            option: [{
+                mp3_list: [],
+                number: "",
+                con: "",
+                answer: "",
+                judge: true,
+            }],
+            fn_list: [{
+                    type: 'record',
+                    name: '录音',
+                    isFn: false,
+                },
+                {
+                    type: 'input',
+                    name: '输入',
+                    isFn: false,
+                },
+                {
+                    type: 'judge',
+                    name: '判断',
+                    isFn: false,
+                },
+            ],
+        },
     },
     {
-      type: "matrixChekbox",
-      name: "矩阵多选",
-      data_structure: {
-        type: 'matrixChekbox',
-        name: "矩阵多选",
-        con: [{
-          con: "",
-          AnswerList: [],
+        type: "text_input_RecoedItem",
+        name: "文字+录入+录音条",
+        data_structure: {
+            type: "text_input_RecoedItem",
+            name: "文字+录入+录音条",
+            title: "",
+            option: [{
+                number: "",
+                con: "",
+                answer: "",
+            }, ]
         },
-        {
-          con: "",
-          AnswerList: [],
+    },
+    {
+        type: "dialogue",
+        name: "对话题",
+        data_structure: {
+            type: 'dialogue',
+            name: "对话题",
+            title: "",
+            option: [{
+                    roleName: "",
+                    site: "left",
+                    con: '',
+                    number: "",
+                    isRecord: "", //是否需要录音
+                    mp3_list: [],
+                    img_list: [],
+                    definition_list: [],
+                    AnswerList: [""],
+                    isAnswer: '',
+                    isChecked: '',
+                    judge: '',
+                    correctInput: ''
+                },
+                {
+                    roleName: "",
+                    site: "left",
+                    con: '',
+                    number: "",
+                    isRecord: "", //是否需要录音
+                    mp3_list: [],
+                    img_list: [],
+                    definition_list: [],
+                    AnswerList: [""],
+                    isAnswer: '',
+                    isChecked: '',
+                    judge: '',
+                    correctInput: ''
+                },
+            ],
+            fn_list: [
+                // {
+                //       type: 'def',
+                //       name: '更多释义',
+                //       isFn: false,
+                //   },
+                {
+                    type: 'record',
+                    name: '跟读',
+                    isFn: false,
+                },
+                // {
+                //     type: 'spell',
+                //     name: '拼写',
+                //     isFn: false,
+                // },
+                {
+                    type: 'input',
+                    name: '输入',
+                    isFn: false,
+                },
+                // {
+                //     type: 'copy',
+                //     name: '摹写',
+                //     isFn: false,
+                // },
+                // {
+                //     type: 'single',
+                //     name: '单选',
+                //     isFn: false,
+                // }, {
+                //     type: 'checkout',
+                //     name: '多选',
+                //     isFn: false,
+                // }, {
+                //     type: 'judge',
+                //     name: '判断',
+                //     isFn: false,
+                // },
+            ],
+            correct: [{
+                input: ["", ""],
+            }]
         },
-        ],
-        option: [{
-          con: '',
-          pinyin: '',
-          img_list: [],
-          mp3_list: [],
-          isAnswer: ''
+    },
+    {
+        type: "ligature",
+        name: "连线",
+        data_structure: {
+            type: 'ligature',
+            name: "连线",
+            title: "",
+            con: [{
+                    hanzi: '',
+                    Number: '',
+                    mp3_list: [],
+                    img_list: [],
+                    definition_list: [],
+                    Answer: "",
+                    isAnswer: '',
+                    isChecked: '',
+                    judge: '',
+                    correctInput: '',
+                    AnswerList: [],
+                },
+                {
+                    hanzi: '',
+                    Number: '',
+                    mp3_list: [],
+                    img_list: [],
+                    definition_list: [],
+                    Answer: "",
+                    isAnswer: '',
+                    isChecked: '',
+                    judge: '',
+                    correctInput: '',
+                    AnswerList: [],
+
+                },
+            ],
+            option: [{
+                    roleName: "",
+                    site: "left",
+                    hanzi: '',
+                    pinyin: '',
+                    mp3_list: [],
+                    img_list: [],
+                    definition_list: [],
+                    Answer: "",
+                    isAnswer: '',
+                    isChecked: '',
+                    judge: '',
+                    correctInput: ''
+                },
+                {
+                    roleName: "",
+                    site: "left",
+                    hanzi: '',
+                    pinyin: '',
+                    mp3_list: [],
+                    img_list: [],
+                    definition_list: [],
+                    Answer: "",
+                    isAnswer: '',
+                    isChecked: '',
+                    judge: '',
+                    correctInput: ''
+                },
+            ],
+            correct: [{
+                input: ["", ""],
+            }]
         },
-        {
-          con: '',
-          pinyin: '',
-          img_list: [],
-          mp3_list: [],
-          isAnswer: ''
+    },
+    {
+        type: "record",
+        name: "录音题",
+        data_structure: {
+            type: "record",
+            name: "录音题",
+            title: "",
+            option: [{
+                mp3_list: [],
+                con: "",
+                value: "",
+            }, ]
         }
-        ],
-        correct: [
-          [],
-          []
-        ]
-      }
     },
-
     {
-      con: '',
-      pinyin: '',
-      img_list: [],
-      mp3_list: [],
-      isAnswer: ''
-    }
-    ],
-    correct: [
-      [],
-      []
-    ]
-  }
-},
-{
-  type: "sentence",
-  name: "句子模板",
-  list: [
+        type: "hearRecord",
+        name: "听录音题",
+        data_structure: {
+            type: "hearRecord",
+            name: "听录音题",
 
+            title: "",
+            option: [{
+                mp3_list: [],
+                con: "",
+                value: "",
+            }, ]
+        }
+    },
+    // {
+    //     type: "sort",
+    //     name: "排序题",
+    // },
+    // {
+    //     type: "blank",
+    //     name: "填空题",
+    // },
+    // {
+    //     type: "annex",
+    //     name: "附件题",
+    // },
+    // {
+    //     type: "dropdown",
+    //     name: "下拉题",
+    // },
+    // {
+    //     type: "drawing",
+    //     name: "画图题",
+    // },
     {
-      type: "sentence_answer",
-      name: "句子填空",
-    },
-    {
-      type: "sentence_judge",
-      name: "句子判断",
-    },
-    {
-      type: "sentence_Record",
-      name: "句子录音",
-    },
-  ],
-  data_structure: {
-    type: "sentence",
-    name: "句子模板",
-    title: "",
-    option: [{
-      mp3_list: [],
-      number: "",
-      con: "",
-      answer: "",
-      judge: true,
-    }],
-    fn_list: [{
-      type: 'record',
-      name: '录音',
-      isFn: false,
-    },
-    {
-      type: 'input',
-      name: '输入',
-      isFn: false,
-    },
-    {
-      type: 'judge',
-      name: '判断',
-      isFn: false,
-    },
-    ],
-  },
-},
-{
-  type: "text_input_RecoedItem",
-  name: "文字+录入+录音条",
-  data_structure: {
-    type: "text_input_RecoedItem",
-    name: "文字+录入+录音条",
-    title: "",
-    option: [{
-      number: "",
-      con: "",
-      answer: "",
-    },]
-  },
-},
-{
-  type: "dialogue",
-  name: "对话题",
-  data_structure: {
-    type: 'dialogue',
-    name: "对话题",
-    title: "",
-    option: [{
-      roleName: "",
-      site: "left",
-      con: '',
-      number: "",
-      isRecord: "", //是否需要录音
-      mp3_list: [],
-      img_list: [],
-      definition_list: [],
-      AnswerList: [""],
-      isAnswer: '',
-      isChecked: '',
-      judge: '',
-      correctInput: ''
-    },
-    {
-      roleName: "",
-      site: "left",
-      con: '',
-      number: "",
-      isRecord: "", //是否需要录音
-      mp3_list: [],
-      img_list: [],
-      definition_list: [],
-      AnswerList: [""],
-      isAnswer: '',
-      isChecked: '',
-      judge: '',
-      correctInput: ''
-    },
-    ],
-    fn_list: [
-      // {
-      //       type: 'def',
-      //       name: '更多释义',
-      //       isFn: false,
-      //   },
-      {
-        type: 'record',
-        name: '跟读',
-        isFn: false,
-      },
-      // {
-      //     type: 'spell',
-      //     name: '拼写',
-      //     isFn: false,
-      // },
-      {
-        type: 'input',
-        name: '输入',
-        isFn: false,
-      },
-      // {
-      //     type: 'copy',
-      //     name: '摹写',
-      //     isFn: false,
-      // },
-      // {
-      //     type: 'single',
-      //     name: '单选',
-      //     isFn: false,
-      // }, {
-      //     type: 'checkout',
-      //     name: '多选',
-      //     isFn: false,
-      // }, {
-      //     type: 'judge',
-      //     name: '判断',
-      //     isFn: false,
-      // },
-    ],
-    correct: [{
-      input: ["", ""],
-    }]
-  },
-},
-{
-  type: "ligature",
-  name: "连线",
-  data_structure: {
-    type: 'ligature',
-    name: "连线",
-    title: "",
-    con: [{
-      hanzi: '',
-      Number: '',
-      mp3_list: [],
-      img_list: [],
-      definition_list: [],
-      Answer: "",
-      isAnswer: '',
-      isChecked: '',
-      judge: '',
-      correctInput: '',
-      AnswerList: [],
-    },
-    {
-      hanzi: '',
-      Number: '',
-      mp3_list: [],
-      img_list: [],
-      definition_list: [],
-      Answer: "",
-      isAnswer: '',
-      isChecked: '',
-      judge: '',
-      correctInput: '',
-      AnswerList: [],
+        type: "text_item",
+        name: "文本条",
+        data_structure: {
+            type: "text_item",
+            name: "文本条",
+            title: "",
+            option: [{
+                number: "",
+                con: "",
+            }],
+            numberList: {
+                type: "number",
+                name: "每行几个",
+                con: "2",
+                arr: [{
+                        id: 1,
+                        value: 1,
+                    }, {
+                        id: 2,
+                        value: 2,
 
+                    }, {
+                        id: 3,
+                        value: 3,
+                    },
+                    {
+                        id: 4,
+                        value: 4,
+                    },
+                ]
+            }
+        }
+    },
+    {
+        type: "bg_control",
+        name: "背景图控件",
+        data_structure: {
+            type: 'bg_control',
+            name: "背景图控件",
+            img_list: [],
+        }
+    },
+    {
+        type: "sudoku_chs",
+        name: "数独",
+    },
+    {
+        type: "NumberCombination_chs",
+        name: "数字组合",
     },
-    ],
-    option: [{
-      roleName: "",
-      site: "left",
-      hanzi: '',
-      pinyin: '',
-      mp3_list: [],
-      img_list: [],
-      definition_list: [],
-      Answer: "",
-      isAnswer: '',
-      isChecked: '',
-      judge: '',
-      correctInput: ''
-    },
-    {
-      roleName: "",
-      site: "left",
-      hanzi: '',
-      pinyin: '',
-      mp3_list: [],
-      img_list: [],
-      definition_list: [],
-      Answer: "",
-      isAnswer: '',
-      isChecked: '',
-      judge: '',
-      correctInput: ''
-    },
-    ],
-    correct: [{
-      input: ["", ""],
-    }]
-  },
-},
-{
-  type: "record",
-  name: "录音题",
-  data_structure: {
-    type: "record",
-    name: "录音题",
-    title: "",
-    option: [{
-      mp3_list: [],
-      con: "",
-      value: "",
-    },]
-  }
-},
-{
-  type: "hearRecord",
-  name: "听录音题",
-  data_structure: {
-    type: "hearRecord",
-    name: "听录音题",
-
-    title: "",
-    option: [{
-      mp3_list: [],
-      con: "",
-      value: "",
-    },]
-  }
-},
-// {
-//     type: "sort",
-//     name: "排序题",
-// },
-// {
-//     type: "blank",
-//     name: "填空题",
-// },
-// {
-//     type: "annex",
-//     name: "附件题",
-// },
-// {
-//     type: "dropdown",
-//     name: "下拉题",
-// },
-// {
-//     type: "drawing",
-//     name: "画图题",
-// },
-{
-  type: "text_item",
-  name: "文本条",
-  data_structure: {
-    type: "text_item",
-    name: "文本条",
-    title: "",
-    option: [{
-      number: "",
-      con: "",
-    }],
-    numberList: {
-      type: "number",
-      name: "每行几个",
-      con: "2",
-      arr: [{
-        id: 1,
-        value: 1,
-      }, {
-        id: 2,
-        value: 2,
-
-      }, {
-        id: 3,
-        value: 3,
-      },
-      {
-        id: 4,
-        value: 4,
-      },
-      ]
-    }
-  }
-},
-{
-  type: "bg_control",
-  name: "背景图控件",
-  data_structure: {
-    type: 'bg_control',
-    name: "背景图控件",
-    img_list: [],
-  }
-},
 ]
 
 

+ 69 - 1
src/components/Adult/inputModules/Ligature.vue

@@ -92,6 +92,74 @@ export default {
           mp3_url: [],
         },
       },
+      data_structure: {
+        type: "ligature",
+        name: "连线",
+        title: "",
+        optionTitle: "",
+        conTitle: "",
+        con: [
+          {
+            hanzi: "",
+            pinyin: "",
+            Number: "",
+            mp3_list: [],
+            img_list: [],
+            definition_list: [],
+            Answer: "",
+            isAnswer: "",
+            isChecked: "",
+            judge: "",
+            correctInput: "",
+            AnswerList: [],
+          },
+          {
+            hanzi: "",
+            pinyin: "",
+            Number: "",
+            mp3_list: [],
+            img_list: [],
+            definition_list: [],
+            Answer: "",
+            isAnswer: "",
+            isChecked: "",
+            judge: "",
+            correctInput: "",
+            AnswerList: [],
+          },
+        ],
+        option: [
+          {
+            hanzi: "",
+            pinyin: "",
+            mp3_list: [],
+            img_list: [],
+            definition_list: [],
+            Answer: "",
+            isAnswer: "",
+            isChecked: "",
+            judge: "",
+            correctInput: "",
+          },
+          {
+            hanzi: "",
+            pinyin: "",
+            mp3_list: [],
+            img_list: [],
+            definition_list: [],
+            Answer: "",
+            isAnswer: "",
+            isChecked: "",
+            judge: "",
+            correctInput: "",
+          },
+        ],
+        correct: [
+          {
+            input: ["", ""],
+          },
+        ],
+      },
     };
   },
   computed: {},
@@ -236,7 +304,7 @@ export default {
       }
     }
   }
-  .Big-Book-con{
+  .Big-Book-con {
     display: flex;
     align-items: center;
     margin: 10px 0;

+ 150 - 0
src/components/Adult/inputModules/NumberCombination.vue

@@ -0,0 +1,150 @@
+<!--  -->
+<template>
+  <div class="Big-Book-Single" v-if="curQue">
+    <div class="Big-Book-Single-content" style="margin-top: 20px">
+      <div class="Big-Book-con">
+        <span>标题:</span>           
+        <el-input
+          style="width: 300px"
+          placeholder="请输入标题"
+          v-model="curQue.title"
+          @blur="onBlur(curQue, 'title')"
+        ></el-input>
+      </div>
+      <div
+        class="Big-Book-main"
+        v-for="(curQueItem, index) in curQue.option"
+        :key="'curQueItem' + index"
+        style="border-bottom: 1px #ccc solid; margin-bottom: 20px"
+      >
+        <div class="Big-Book-en">
+          <span>数字:</span>
+          <el-input
+            style="width: 150px"
+            placeholder="请输入数字"
+            v-model="curQueItem.con"
+            @blur="onBlur(curQueItem, 'con')"
+            @input="numberInput(index)"
+            maxlength="1"
+          ></el-input>
+        </div>
+      </div>
+      <div class="addoption" @click="addoption">增加数字</div>
+    </div>
+  </div>
+</template>
+
+<script>
+export default {
+  name: "Single",
+  props: ["curQue", "changeCurQue"],
+  components: {},
+  data() {
+    return {
+      data_structure: {
+        type: "NumberCombination_chs",
+        name: "数字组合",
+        title: "",
+        option: [
+          {
+            con: "", //内容
+          },
+        ],
+      },
+    };
+  },
+  computed: {},
+  watch: {},
+  //方法集合
+  methods: {
+    numberInput(value) {
+      this.curQue.option[value].con = this.curQue.option[value].con.replace(
+        /\D/g,
+        ""
+      );
+    },
+    onBlur(item, field) {
+      item[field] = item[field] ? item[field].trim() : "";
+    },
+    addoption() {
+      let leg = this.curQue.option.length;
+      let last = this.curQue.option[leg - 1];
+      let res_data = JSON.parse(JSON.stringify(this.data_structure));
+      let obj = res_data.option[0];
+      this.curQue.option.push(obj);
+    },
+    deleteGroup(index) {
+      if (this.curQue.option.length == 1) {
+        this.$message.warning("至少剩余1个,不能全部删除");
+        return;
+      }
+      this.curQue.option.splice(index, 1);
+    },
+  },
+  //生命周期 - 创建完成(可以访问当前this实例)
+  created() {},
+  //生命周期 - 挂载完成(可以访问DOM元素)
+  mounted() {
+    if (!this.curQue) {
+      let res_data = JSON.parse(JSON.stringify(this.data_structure));
+      this.changeCurQue(res_data);
+    }
+  },
+  beforeCreate() {}, //生命周期 - 创建之前
+  beforeMount() {}, //生命周期 - 挂载之前
+  beforeUpdate() {}, //生命周期 - 更新之前
+  updated() {}, //生命周期 - 更新之后
+  beforeDestroy() {}, //生命周期 - 销毁之前
+  destroyed() {}, //生命周期 - 销毁完成
+  activated() {}, //如果页面有keep-alive缓存功能,这个函数会触发
+};
+</script>
+<style lang='scss' scope>
+//@import url(); 引入公共css类
+.Big-Book-Single {
+  &-content {
+    &.m {
+      display: flex;
+      justify-content: flex-start;
+      align-items: flex-start;
+    }
+
+    .Big-Book-title {
+      font-size: 16px;
+      line-height: 40px;
+      color: #000;
+      margin-right: 15px;
+    }
+    .Big-Book-main {
+      > div {
+        margin-bottom: 10px;
+        &.Big-Book-pinyin {
+          display: flex;
+          justify-content: flex-start;
+          align-items: center;
+        }
+      }
+    }
+  }
+  .addoption {
+    width: 300px;
+    height: 40px;
+    left: 40px;
+    top: 304px;
+    background: #f3f3f3;
+    border: 1px dashed rgba(0, 0, 0, 0.15);
+    box-sizing: border-box;
+    border-radius: 4px;
+    text-align: center;
+    line-height: 40px;
+    cursor: pointer;
+  }
+  .Big-Book-con {
+    display: flex;
+    padding-bottom: 6px;
+    border-bottom: 1px dashed rgba(0, 0, 0, 0.15);
+  }
+}
+</style>
+<style lang="scss">
+</style>

+ 87 - 0
src/components/Adult/inputModules/Sudoku.vue

@@ -0,0 +1,87 @@
+<!--  -->
+<template>
+  <div class="Big-Book-Sudoku">
+    <div
+      class="Big-Book-Sudoku-content"
+      style="margin-left: 50px; margin-top: 20px"
+    >
+    </div>
+  </div>
+</template>
+
+<script>
+
+export default {
+  name: "Sudoku",
+  props: ["curQue", "fn_data"],
+  components: {
+    
+  },
+  data() {
+    return {
+
+    };
+  },
+  computed: {},
+  watch: {},
+  //方法集合
+  methods: {
+ 
+  },
+  //生命周期 - 创建完成(可以访问当前this实例)
+  created() {},
+  //生命周期 - 挂载完成(可以访问DOM元素)
+  mounted() {},
+  beforeCreate() {}, //生命周期 - 创建之前
+  beforeMount() {}, //生命周期 - 挂载之前
+  beforeUpdate() {}, //生命周期 - 更新之前
+  updated() {}, //生命周期 - 更新之后
+  beforeDestroy() {}, //生命周期 - 销毁之前
+  destroyed() {}, //生命周期 - 销毁完成
+  activated() {}, //如果页面有keep-alive缓存功能,这个函数会触发
+};
+</script>
+<style lang='scss' scope>
+//@import url(); 引入公共css类
+.Big-Book-Sudoku {
+  &-content {
+    &.m {
+      display: flex;
+      justify-content: flex-start;
+      align-items: flex-start;
+    }
+
+    .Big-Book-title {
+      font-size: 16px;
+      line-height: 40px;
+      color: #000;
+      margin-right: 15px;
+    }
+    .Big-Book-main {
+      > div {
+        margin-bottom: 10px;
+        &.Big-Book-pinyin {
+          display: flex;
+          justify-content: flex-start;
+          align-items: center;
+        }
+      }
+    }
+  }
+  .addoption {
+    width: 565px;
+    height: 40px;
+    left: 40px;
+    top: 304px;
+    background: #f3f3f3;
+    border: 1px dashed rgba(0, 0, 0, 0.15);
+    box-sizing: border-box;
+    border-radius: 4px;
+    text-align: center;
+    line-height: 40px;
+    cursor: pointer;
+  }
+}
+</style>
+<style lang="scss">
+</style>

+ 27 - 0
src/views/adultInput.vue

@@ -206,6 +206,28 @@
                         />
                       </template>
                     </template>
+                    <template v-if="topicIitem.type == 'sudoku_chs'">
+                      <template v-if="topicIitem.is_edit">
+                        <Sudoku
+                          :curQue="topicIitem.data"
+                          :type="topicIitem.type"
+                          :fn_data="fn_data"
+                          :changeCurQue="changeCurQue"
+                        />
+                      </template>
+                      <template v-else> </template>
+                    </template>
+                    <template v-if="topicIitem.type == 'NumberCombination_chs'">
+                      <template v-if="topicIitem.is_edit">
+                        <NumberCombination
+                          :curQue="topicIitem.data"
+                          :type="topicIitem.type"
+                          :fn_data="fn_data"
+                          :changeCurQue="changeCurQue"
+                        />
+                      </template>
+                      <template v-else> </template>
+                    </template>
                   </div>
                   <div
                     class="addoption"
@@ -324,6 +346,9 @@ import BgControl from "@/components/Adult/inputModules/BgControl.vue";
 import UploadControl from "@/components/Adult/inputModules/UploadControl.vue";
 import TextItem from "@/components/Adult/inputModules/TextItem.vue";
 import Sentence from "@/components/Adult/inputModules/Sentence.vue";
+import Sudoku from "@/components/Adult/inputModules/Sudoku.vue";
+import NumberCombination from "@/components/Adult/inputModules/NumberCombination.vue";
+
 
 import Textdes from "@/components/Adult/inputModules/Textdes.vue";
 import Record from "@/components/Adult/inputModules/Record.vue";
@@ -387,6 +412,8 @@ export default {
     TextItem,
     Sentence,
     UploadControlView,
+    Sudoku,
+    NumberCombination,
   },
   data() {
     return {