data.js 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757
  1. let fnData = [{
  2. type: "article_chs",
  3. name: "课文"
  4. },
  5. {
  6. type: "dialogue_article_chs",
  7. name: "对话课文"
  8. },
  9. // {
  10. // type: "sentence_segword_chs",
  11. // name: "句子分词",
  12. // },
  13. {
  14. type: "NewWord_chs",
  15. name: "生词"
  16. },
  17. {
  18. type: "notes_chs",
  19. name: "注释"
  20. },
  21. {
  22. type: "dialogue_answer_chs",
  23. name: "对话练习"
  24. },
  25. {
  26. type: "sentence_chs",
  27. name: "句子模板",
  28. list: [{
  29. type: "sentence_input_chs",
  30. name: "句子填空"
  31. },
  32. {
  33. type: "sentence_judge_chs",
  34. name: "句子判断"
  35. },
  36. {
  37. type: "sentence_record_chs",
  38. name: "句子录音"
  39. },
  40. {
  41. type: "sentence_input_record_chs",
  42. name: "句子填空+录音"
  43. },
  44. {
  45. type: "sentence_listen_read_chs",
  46. name: "句子听+朗读"
  47. }
  48. ]
  49. },
  50. {
  51. type: "sentence_segtemp_chs",
  52. name: "句子拆分组件",
  53. },
  54. // {
  55. // type: "image_question",
  56. // name: "看图模板",
  57. // list: [{
  58. // type: "image_question_input",
  59. // name: "看图填空",
  60. // }, {
  61. // type: "image_question_record",
  62. // name: "看图录入",
  63. // }, {
  64. // type: "image_question_input_record",
  65. // name: "看图填空+录入",
  66. // }]
  67. // },
  68. {
  69. type: "voice_matrix",
  70. name: "语音矩阵"
  71. },
  72. {
  73. type: "select_drag",
  74. name: "选择-拖拽"
  75. },
  76. {
  77. type: "fill_drag",
  78. name: "填空-拖拽"
  79. },
  80. {
  81. type: "config_table",
  82. name: "可配置表格"
  83. },
  84. { type: "header_separate", name: "表头分离表格" },
  85. // {
  86. // type: "divider",
  87. // name: "分割线",
  88. // data_structure: {
  89. // type: 'divider',
  90. // name: "分割线",
  91. // }
  92. // },
  93. // {
  94. // type: "text",
  95. // name: "文本描述",
  96. // data_structure: {
  97. // type: 'text',
  98. // name: "文本描述",
  99. // con: '',
  100. // pinyin: '',
  101. // english: '',
  102. // img_list: [],
  103. // mp3_list: []
  104. // }
  105. // },
  106. // {
  107. // type: "single_chs",
  108. // name: "单选题",
  109. // },
  110. // {
  111. // type: "listen_record_single_chs",
  112. // name: "听录音选答案",
  113. // },
  114. // {
  115. // type: "checkbox_chs",
  116. // name: "多选题",
  117. // },
  118. {
  119. type: "checkbox_self_assessment_chs",
  120. name: "多选题"
  121. },
  122. // {
  123. // type: "judge",
  124. // name: "判断题",
  125. // data_structure: {
  126. // type: 'judge',
  127. // name: "判断题",
  128. // title: "",
  129. // con: '',
  130. // pinyin: '',
  131. // img_list: [],
  132. // mp3_list: [],
  133. // judge: ''
  134. // }
  135. // },
  136. // {
  137. // type: "multiRowInput",
  138. // name: "多行文本题",
  139. // data_structure: {
  140. // type: 'multiRowInput',
  141. // name: "多行文本题",
  142. // title: "",
  143. // con: [{
  144. // con: '',
  145. // annotation: "", //注释
  146. // }],
  147. // pinyin: '',
  148. // img_list: [],
  149. // mp3_list: [],
  150. // fn_list: [{
  151. // type: 'astrictNumber',
  152. // name: '限制字数',
  153. // isFn: false,
  154. // }, ],
  155. // }
  156. // },
  157. // {
  158. // type: "singleRowInput",
  159. // name: "单行文本题",
  160. // data_structure: {
  161. // type: 'singleRowInput',
  162. // name: "单行文本题",
  163. // title: "",
  164. // con: [{
  165. // con: '',
  166. // annotation: "", //注释
  167. // }],
  168. // pinyin: '',
  169. // img_list: [],
  170. // mp3_list: [],
  171. // fn_list: [{
  172. // type: 'astrictNumber',
  173. // name: '限制字数',
  174. // isFn: false,
  175. // }, ],
  176. // }
  177. // },
  178. // {
  179. // type: "hanzi",
  180. // name: "汉字模版",
  181. // data_structure: {
  182. // type: 'hanzi',
  183. // name: "汉字模版",
  184. // title: "",
  185. // option: [{
  186. // hanzi: '',
  187. // pinyin: '',
  188. // mp3_list: [],
  189. // img_list: [],
  190. // definition_list: [''],
  191. // isAnswer: '',
  192. // isChecked: '',
  193. // isJudge: '',
  194. // correctInput: ''
  195. // }],
  196. // correct: [{
  197. // single: [],
  198. // checkBox: [],
  199. // judge: [],
  200. // input: [],
  201. // spell: []
  202. // }],
  203. // fn_list: [{
  204. // type: 'def',
  205. // name: '更多释义',
  206. // isFn: false,
  207. // isDisable: false,
  208. // },
  209. // {
  210. // type: 'record',
  211. // name: '跟读',
  212. // isFn: false,
  213. // isDisable: false,
  214. // },
  215. // {
  216. // type: 'spell',
  217. // name: '拼写',
  218. // isFn: false,
  219. // isDisable: false,
  220. // },
  221. // {
  222. // type: 'input',
  223. // name: '输入',
  224. // isFn: false,
  225. // isDisable: false,
  226. // },
  227. // {
  228. // type: 'copy',
  229. // name: '摹写',
  230. // isFn: false,
  231. // isDisable: false,
  232. // },
  233. // {
  234. // type: 'single',
  235. // name: '单选',
  236. // isFn: false,
  237. // isDisable: false,
  238. // }, {
  239. // type: 'checkBox',
  240. // name: '多选',
  241. // isFn: false,
  242. // isDisable: false,
  243. // }, {
  244. // type: 'judge',
  245. // name: '判断',
  246. // isFn: false,
  247. // isDisable: false,
  248. // },
  249. // ]
  250. // },
  251. // },
  252. {
  253. type: "image",
  254. name: "图片控件",
  255. list: [{
  256. type: "image_checkBox",
  257. name: "图片多选"
  258. },
  259. {
  260. type: "image_judge",
  261. name: "图片判断"
  262. },
  263. {
  264. type: "image_single",
  265. name: "图片单选"
  266. },
  267. {
  268. type: "image_dobleinput",
  269. name: "双输入"
  270. },
  271. {
  272. type: "image_gdcy",
  273. name: "固定词语"
  274. },
  275. {
  276. type: "image_input",
  277. name: "单行输入"
  278. },
  279. {
  280. type: "imgage_image",
  281. name: "纯图片"
  282. }
  283. ]
  284. },
  285. // {
  286. // type: "audio_control",
  287. // name: "音频控制条",
  288. // data_structure: {
  289. // type: 'audio_control',
  290. // name: "音频控制条",
  291. // option: [{
  292. // xuhao: '',
  293. // yinbiao: '',
  294. // img_list: [],
  295. // mp3_list: [],
  296. // isAnswer: ''
  297. // }, ],
  298. // }
  299. // },
  300. // {
  301. // type: "audio_control_easy",
  302. // name: "音频控制条-简易",
  303. // data_structure: {
  304. // type: 'audio_control_easy',
  305. // name: "音频控制条-简易",
  306. // option: [{
  307. // xuhao: '',
  308. // yinbiao: '',
  309. // img_list: [],
  310. // mp3_list: [],
  311. // isAnswer: ''
  312. // }, ],
  313. // }
  314. // },
  315. {
  316. type: "input_record_chs",
  317. name: "问答题"
  318. },
  319. {
  320. type: "recordHZ_inputPY_chs",
  321. name: "读汉字写拼音"
  322. },
  323. // {
  324. // type: "inputItem_chs",
  325. // name: "输入选项",
  326. // },
  327. {
  328. type: "upload_control_chs",
  329. name: "上传控件"
  330. },
  331. {
  332. type: "upload_control_preview_chs",
  333. name: "上传控件预览查看"
  334. },
  335. // {
  336. // type: "switch_control_chs",
  337. // name: "开关控件",
  338. // },
  339. {
  340. type: "record_control",
  341. name: "录音控件",
  342. list: [{
  343. type: "record_control_mini",
  344. name: "录音控件-mini"
  345. },
  346. {
  347. type: "record_control_normal",
  348. name: "录音控件-normal"
  349. },
  350. {
  351. type: "record_control_pro",
  352. name: "录音控件-pro"
  353. },
  354. {
  355. type: "record_control_promax",
  356. name: "录音控件-promax"
  357. }
  358. ],
  359. data_structure: {
  360. type: "record_control",
  361. name: "录音控件",
  362. option: [{
  363. hanzi: "",
  364. pinyin: "",
  365. mp3_list: [],
  366. img_list: [],
  367. isAnswer: "",
  368. isChecked: "",
  369. isJudge: "",
  370. correctInput: ""
  371. }]
  372. }
  373. },
  374. // {
  375. // type: "pure_input",
  376. // name: "纯输入",
  377. // data_structure: {
  378. // type: 'pure_input',
  379. // name: "纯输入",
  380. // option: [{
  381. // answer: "",
  382. // }, ],
  383. // answer: "",
  384. // record: false, //需要录音
  385. // mp3_list: [],
  386. // }
  387. // },
  388. // {
  389. // type: "matrixSingle",
  390. // name: "矩阵单选",
  391. // data_structure: {
  392. // type: 'matrixSingle',
  393. // name: "矩阵单选",
  394. // title: "",
  395. // con: [{
  396. // con: "",
  397. // Answer: "",
  398. // },
  399. // {
  400. // con: "",
  401. // Answer: "",
  402. // },
  403. // ],
  404. // option: [{
  405. // con: '',
  406. // pinyin: '',
  407. // img_list: [],
  408. // mp3_list: [],
  409. // isAnswer: ''
  410. // },
  411. // {
  412. // con: '',
  413. // pinyin: '',
  414. // img_list: [],
  415. // mp3_list: [],
  416. // isAnswer: ''
  417. // }
  418. // ],
  419. // correct: ["", ""]
  420. // }
  421. // },
  422. // {
  423. // type: "matrixChckbox",
  424. // name: "矩阵多选",
  425. // data_structure: {
  426. // type: 'matrixChckbox',
  427. // name: "矩阵多选",
  428. // title: "",
  429. // con: [{
  430. // con: "",
  431. // AnswerList: [],
  432. // },
  433. // {
  434. // type: "matrixChekbox",
  435. // name: "矩阵多选",
  436. // data_structure: {
  437. // type: 'matrixChekbox',
  438. // name: "矩阵多选",
  439. // con: [{
  440. // con: "",
  441. // AnswerList: [],
  442. // },
  443. // {
  444. // con: "",
  445. // AnswerList: [],
  446. // },
  447. // ],
  448. // option: [{
  449. // con: '',
  450. // pinyin: '',
  451. // img_list: [],
  452. // mp3_list: [],
  453. // isAnswer: ''
  454. // },
  455. // {
  456. // con: '',
  457. // pinyin: '',
  458. // img_list: [],
  459. // mp3_list: [],
  460. // isAnswer: ''
  461. // }
  462. // ],
  463. // correct: [
  464. // [],
  465. // []
  466. // ]
  467. // }
  468. // },
  469. // {
  470. // con: '',
  471. // pinyin: '',
  472. // img_list: [],
  473. // mp3_list: [],
  474. // isAnswer: ''
  475. // }
  476. // ],
  477. // correct: [
  478. // [],
  479. // []
  480. // ]
  481. // }
  482. // },
  483. // {
  484. // type: "text_input_RecoedItem",
  485. // name: "文字+录入+录音条",
  486. // data_structure: {
  487. // type: "text_input_RecoedItem",
  488. // name: "文字+录入+录音条",
  489. // title: "",
  490. // option: [{
  491. // number: "",
  492. // con: "",
  493. // answer: "",
  494. // }, ]
  495. // },
  496. // },
  497. // {
  498. // type: "dialogue",
  499. // name: "对话题",
  500. // data_structure: {
  501. // type: 'dialogue',
  502. // name: "对话题",
  503. // title: "",
  504. // option: [{
  505. // roleName: "",
  506. // site: "left",
  507. // con: '',
  508. // number: "",
  509. // isRecord: "", //是否需要录音
  510. // mp3_list: [],
  511. // img_list: [],
  512. // definition_list: [],
  513. // AnswerList: [""],
  514. // isAnswer: '',
  515. // isChecked: '',
  516. // judge: '',
  517. // correctInput: ''
  518. // },
  519. // {
  520. // roleName: "",
  521. // site: "left",
  522. // con: '',
  523. // number: "",
  524. // isRecord: "", //是否需要录音
  525. // mp3_list: [],
  526. // img_list: [],
  527. // definition_list: [],
  528. // AnswerList: [""],
  529. // isAnswer: '',
  530. // isChecked: '',
  531. // judge: '',
  532. // correctInput: ''
  533. // },
  534. // ],
  535. // fn_list: [
  536. // // {
  537. // // type: 'def',
  538. // // name: '更多释义',
  539. // // isFn: false,
  540. // // },
  541. // {
  542. // type: 'record',
  543. // name: '跟读',
  544. // isFn: false,
  545. // },
  546. // // {
  547. // // type: 'spell',
  548. // // name: '拼写',
  549. // // isFn: false,
  550. // // },
  551. // {
  552. // type: 'input',
  553. // name: '输入',
  554. // isFn: false,
  555. // },
  556. // // {
  557. // // type: 'copy',
  558. // // name: '摹写',
  559. // // isFn: false,
  560. // // },
  561. // // {
  562. // // type: 'single',
  563. // // name: '单选',
  564. // // isFn: false,
  565. // // }, {
  566. // // type: 'checkout',
  567. // // name: '多选',
  568. // // isFn: false,
  569. // // }, {
  570. // // type: 'judge',
  571. // // name: '判断',
  572. // // isFn: false,
  573. // // },
  574. // ],
  575. // correct: [{
  576. // input: ["", ""],
  577. // }]
  578. // },
  579. // },
  580. {
  581. type: "ligature_chs",
  582. name: "连线题"
  583. },
  584. // {
  585. // type: "record",
  586. // name: "录音题",
  587. // data_structure: {
  588. // type: "record",
  589. // name: "录音题",
  590. // title: "",
  591. // option: [{
  592. // mp3_list: [],
  593. // con: "",
  594. // value: "",
  595. // }, ]
  596. // }
  597. // },
  598. // {
  599. // type: "hearRecord",
  600. // name: "听录音题",
  601. // data_structure: {
  602. // type: "hearRecord",
  603. // name: "听录音题",
  604. // title: "",
  605. // option: [{
  606. // mp3_list: [],
  607. // con: "",
  608. // value: "",
  609. // }, ]
  610. // }
  611. // },
  612. // {
  613. // type: "sort",
  614. // name: "排序题",
  615. // },
  616. // {
  617. // type: "blank",
  618. // name: "填空题",
  619. // },
  620. // {
  621. // type: "annex",
  622. // name: "附件题",
  623. // },
  624. // {
  625. // type: "dropdown",
  626. // name: "下拉题",
  627. // },
  628. // {
  629. // type: "drawing",
  630. // name: "画图题",
  631. // },
  632. // {
  633. // type: "text_item",
  634. // name: "文本条",
  635. // data_structure: {
  636. // type: "text_item",
  637. // name: "文本条",
  638. // title: "",
  639. // option: [{
  640. // number: "",
  641. // con: "",
  642. // }],
  643. // numberList: {
  644. // type: "number",
  645. // name: "每行几个",
  646. // con: "2",
  647. // arr: [{
  648. // id: 1,
  649. // value: 1,
  650. // }, {
  651. // id: 2,
  652. // value: 2,
  653. // }, {
  654. // id: 3,
  655. // value: 3,
  656. // },
  657. // {
  658. // id: 4,
  659. // value: 4,
  660. // },
  661. // ]
  662. // }
  663. // }
  664. // },
  665. // {
  666. // type: "bg_control",
  667. // name: "背景图控件",
  668. // data_structure: {
  669. // type: 'bg_control',
  670. // name: "背景图控件",
  671. // img_list: [],
  672. // }
  673. // },
  674. // {
  675. // type: "NumberCombination_chs",
  676. // name: "数字组合",
  677. // },
  678. {
  679. type: "toneSelect_chs",
  680. name: "音调选择"
  681. },
  682. // {
  683. // type: "sudoku_chs",
  684. // name: "数独",
  685. // },
  686. {
  687. type: "text_problem_chs",
  688. name: "课文上方的问题"
  689. },
  690. {
  691. type: "newWord_preview_chs",
  692. name: "生字展示"
  693. },
  694. {
  695. type: "listen_record_single_syllable_chs",
  696. name: "听录音选音节"
  697. },
  698. // {
  699. // type: "zi_transverse_line_chs",
  700. // name: "字+横线",
  701. // },
  702. // {
  703. // type: "select_input_chs",
  704. // name: "选择填空控件",
  705. // },
  706. // {
  707. // type: "play_input_record_chs",
  708. // name: "播放+输入+录音",
  709. // },
  710. // {
  711. // type: "drag_chs",
  712. // name: "拖拽",
  713. // },
  714. {
  715. type: "sort_chs",
  716. name: "排序"
  717. },
  718. {
  719. type: "CourseStart_chs",
  720. name: "封面"
  721. },
  722. {
  723. type: "tinydemo_chs",
  724. name: "富文本"
  725. },
  726. {
  727. type: "video_chs",
  728. name: "视频控件"
  729. },
  730. {
  731. type: "table_chs",
  732. name: "表格"
  733. },
  734. {
  735. type: "play_record_chs",
  736. name: "音频控件"
  737. },
  738. {
  739. type: "upload_pdf_chs",
  740. name: "上传pdf"
  741. },
  742. {
  743. type: "options_list_chs",
  744. name: "选项"
  745. },
  746. ];
  747. export default { fnData };