data.js 19 KB

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