@focus-teach/ui 1.0.4 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (485) hide show
  1. package/api/index.js +47 -6
  2. package/package.json +1 -3
  3. package/style/icon/demo.html +16 -16
  4. package/style/icon/fonts/icomoon.eot +0 -0
  5. package/style/icon/fonts/icomoon.svg +2 -2
  6. package/style/icon/fonts/icomoon.ttf +0 -0
  7. package/style/icon/fonts/icomoon.woff +0 -0
  8. package/style/icon/selection.json +1 -1
  9. package/style/icon/style.css +11 -9
  10. package/.history/package_20230625121458.json +0 -45
  11. package/.history/package_20230626100440.json +0 -45
  12. package/.history/package_20230626100445.json +0 -45
  13. package/.history/package_20230626100447.json +0 -45
  14. package/.history/package_20230626100636.json +0 -45
  15. package/.history/package_20230626100801.json +0 -45
  16. package/.history/package_20230626100803.json +0 -45
  17. package/.history/package_20230626100838.json +0 -45
  18. package/.history/package_20230626103314.json +0 -45
  19. package/.history/package_20230626103317.json +0 -45
  20. package/.history/package_20230626112515.json +0 -45
  21. package/.history/package_20230626112519.json +0 -45
  22. package/.history/package_20230626113741.json +0 -48
  23. package/.history/package_20230626113743.json +0 -48
  24. package/.history/package_20230626113745.json +0 -48
  25. package/.history/package_20230626113750.json +0 -48
  26. package/.history/package_20230626113754.json +0 -48
  27. package/.history/package_20230626113756.json +0 -48
  28. package/.history/package_20230626113758.json +0 -48
  29. package/.history/package_20230626113759.json +0 -48
  30. package/.history/package_20230626113808.json +0 -48
  31. package/.history/package_20230626113839.json +0 -45
  32. package/.history/package_20230626113841.json +0 -45
  33. package/.history/package_20230626115037.json +0 -45
  34. package/.history/package_20230626115243.json +0 -45
  35. package/.history/package_20230626115245.json +0 -45
  36. package/.history/package_20230626115259.json +0 -45
  37. package/.history/package_20230626120806.json +0 -45
  38. package/.history/package_20230626120808.json +0 -46
  39. package/.history/package_20230626120809.json +0 -45
  40. package/.history/package_20230626133910.json +0 -46
  41. package/.history/package_20230626133912.json +0 -46
  42. package/.history/package_20230626133915.json +0 -46
  43. package/.history/package_20230626133917.json +0 -46
  44. package/.history/package_20230626133923.json +0 -46
  45. package/.history/package_20230626133927.json +0 -46
  46. package/.history/package_20230626134037.json +0 -46
  47. package/.history/package_20230626134121.json +0 -46
  48. package/.history/package_20230626134122.json +0 -46
  49. package/.history/package_20230626134126.json +0 -45
  50. package/.history/packages/assets/css/reset-element_20230605134721.scss +0 -167
  51. package/.history/packages/assets/css/reset-element_20230614205652.scss +0 -173
  52. package/.history/packages/assets/css/reset-element_20230614205654.scss +0 -173
  53. package/.history/packages/assets/css/reset-element_20230614211242.scss +0 -169
  54. package/.history/packages/assets/css/reset-element_20230614211245.scss +0 -167
  55. package/.history/packages/exam-detail/src/index_20230607220441.vue +0 -548
  56. package/.history/packages/exam-detail/src/index_20230613115618.vue +0 -548
  57. package/.history/packages/exam-detail/src/index_20230613115623.vue +0 -548
  58. package/.history/packages/exam-detail/src/index_20230613115629.vue +0 -548
  59. package/.history/packages/exam-detail/src/index_20230613115631.vue +0 -548
  60. package/.history/packages/exam-detail/src/index_20230613115640.vue +0 -548
  61. package/.history/packages/exam-detail/src/index_20230613115651.vue +0 -548
  62. package/.history/packages/exam-detail/src/index_20230613115659.vue +0 -548
  63. package/.history/packages/exam-detail/src/index_20230613115750.vue +0 -548
  64. package/.history/packages/exam-detail/src/index_20230613115806.vue +0 -548
  65. package/.history/packages/exam-detail/src/index_20230613115811.vue +0 -548
  66. package/.history/packages/exam-detail/src/index_20230613115815.vue +0 -548
  67. package/.history/packages/exam-detail/src/index_20230613120250.vue +0 -548
  68. package/.history/packages/exam-detail/src/index_20230613120252.vue +0 -548
  69. package/.history/packages/exam-detail/src/index_20230613120257.vue +0 -547
  70. package/.history/packages/exam-detail/src/index_20230613120323.vue +0 -547
  71. package/.history/packages/exam-detail/src/index_20230613120327.vue +0 -547
  72. package/.history/packages/exam-detail/src/index_20230613120328.vue +0 -547
  73. package/.history/packages/exam-detail/src/index_20230613120915.vue +0 -548
  74. package/.history/packages/exam-detail/src/index_20230613120917.vue +0 -548
  75. package/.history/packages/exam-detail/src/index_20230613120922.vue +0 -549
  76. package/.history/packages/exam-detail/src/index_20230613120924.vue +0 -549
  77. package/.history/packages/exam-detail/src/index_20230613120928.vue +0 -550
  78. package/.history/packages/exam-detail/src/index_20230613120930.vue +0 -550
  79. package/.history/packages/exam-detail/src/index_20230613120936.vue +0 -549
  80. package/.history/packages/exam-detail/src/index_20230613120938.vue +0 -550
  81. package/.history/packages/exam-detail/src/index_20230613120942.vue +0 -550
  82. package/.history/packages/exam-detail/src/index_20230613120944.vue +0 -550
  83. package/.history/packages/exam-detail/src/index_20230613121331.vue +0 -549
  84. package/.history/packages/exam-detail/src/index_20230613121333.vue +0 -548
  85. package/.history/packages/exam-detail/src/index_20230613121335.vue +0 -547
  86. package/.history/packages/exam-detail/src/index_20230613121341.vue +0 -547
  87. package/.history/packages/exam-detail/src/index_20230613121344.vue +0 -546
  88. package/.history/packages/exam-detail/src/index_20230613153022.vue +0 -546
  89. package/.history/packages/exam-detail/src/index_20230613153027.vue +0 -546
  90. package/.history/packages/exam-detail/src/index_20230613153620.vue +0 -546
  91. package/.history/packages/exam-detail/src/index_20230613164734.vue +0 -546
  92. package/.history/packages/exam-detail/src/index_20230613164746.vue +0 -546
  93. package/.history/packages/exam-detail/src/index_20230613164756.vue +0 -546
  94. package/.history/packages/exam-drawer/src/index_20230607103301.vue +0 -1470
  95. package/.history/packages/exam-drawer/src/index_20230613090746.vue +0 -1469
  96. package/.history/packages/exam-drawer/src/index_20230613090759.vue +0 -1469
  97. package/.history/packages/exam-drawer/src/index_20230613090802.vue +0 -1469
  98. package/.history/packages/exam-drawer/src/index_20230613090809.vue +0 -1469
  99. package/.history/packages/exam-drawer/src/index_20230613090850.vue +0 -1470
  100. package/.history/packages/exam-drawer/src/index_20230613090919.vue +0 -1487
  101. package/.history/packages/exam-drawer/src/index_20230613090930.vue +0 -1486
  102. package/.history/packages/exam-drawer/src/index_20230613090935.vue +0 -1485
  103. package/.history/packages/exam-drawer/src/index_20230613091124.vue +0 -1488
  104. package/.history/packages/exam-drawer/src/index_20230613091140.vue +0 -1488
  105. package/.history/packages/exam-drawer/src/index_20230613091141.vue +0 -1488
  106. package/.history/packages/exam-drawer/src/index_20230613092108.vue +0 -1489
  107. package/.history/packages/exam-drawer/src/index_20230613092111.vue +0 -1489
  108. package/.history/packages/exam-drawer/src/index_20230613093130.vue +0 -1490
  109. package/.history/packages/exam-drawer/src/index_20230613093135.vue +0 -1489
  110. package/.history/packages/exam-drawer/src/index_20230613093149.vue +0 -1488
  111. package/.history/packages/exam-drawer/src/index_20230613093156.vue +0 -1487
  112. package/.history/packages/exam-drawer/src/index_20230613093159.vue +0 -1486
  113. package/.history/packages/exam-drawer/src/index_20230613093202.vue +0 -1485
  114. package/.history/packages/exam-drawer/src/index_20230613093204.vue +0 -1484
  115. package/.history/packages/exam-drawer/src/index_20230613093207.vue +0 -1483
  116. package/.history/packages/exam-drawer/src/index_20230613093209.vue +0 -1482
  117. package/.history/packages/exam-drawer/src/index_20230613093212.vue +0 -1483
  118. package/.history/packages/exam-drawer/src/index_20230613093217.vue +0 -1483
  119. package/.history/packages/exam-drawer/src/index_20230613093228.vue +0 -1483
  120. package/.history/packages/exam-drawer/src/index_20230613093229.vue +0 -1483
  121. package/.history/packages/exam-drawer/src/index_20230613093843.vue +0 -1482
  122. package/.history/packages/exam-drawer/src/index_20230613093847.vue +0 -1481
  123. package/.history/packages/exam-drawer/src/index_20230613093851.vue +0 -1480
  124. package/.history/packages/exam-drawer/src/index_20230613115708.vue +0 -1480
  125. package/.history/packages/exam-drawer/src/index_20230613115823.vue +0 -1480
  126. package/.history/packages/exam-drawer/src/index_20230613115825.vue +0 -1480
  127. package/.history/packages/exam-drawer/src/index_20230613115827.vue +0 -1480
  128. package/.history/packages/exam-drawer/src/index_20230613120908.vue +0 -1481
  129. package/.history/packages/exam-drawer/src/index_20230613120910.vue +0 -1481
  130. package/.history/packages/exam-drawer/src/index_20230613121320.vue +0 -1480
  131. package/.history/packages/exam-drawer/src/index_20230613121326.vue +0 -1480
  132. package/.history/packages/exam-drawer/src/index_20230613144244.vue +0 -1479
  133. package/.history/packages/exam-drawer/src/index_20230613144246.vue +0 -1478
  134. package/.history/packages/exam-drawer/src/index_20230613144248.vue +0 -1477
  135. package/.history/packages/exam-drawer/src/index_20230613144251.vue +0 -1476
  136. package/.history/packages/exam-drawer/src/index_20230613152608.vue +0 -1476
  137. package/.history/packages/header/src/index_20230605134719.vue +0 -59
  138. package/.history/packages/header/src/index_20230613115723.vue +0 -59
  139. package/.history/packages/header/src/index_20230613115727.vue +0 -59
  140. package/.history/packages/header/src/index_20230613115733.vue +0 -59
  141. package/.history/packages/header/src/index_20230613115736.vue +0 -59
  142. package/.history/packages/header/src/index_20230613120901.vue +0 -60
  143. package/.history/packages/header/src/index_20230613120903.vue +0 -60
  144. package/.history/packages/header/src/index_20230613121316.vue +0 -59
  145. package/.history/packages/question-drawer/src/index_20230607160653.vue +0 -1735
  146. package/.history/packages/question-drawer/src/index_20230607160720.scss +0 -265
  147. package/.history/packages/question-drawer/src/index_20230613090910.vue +0 -1735
  148. package/.history/packages/question-drawer/src/index_20230613090928.vue +0 -1734
  149. package/.history/packages/question-drawer/src/index_20230613090937.vue +0 -1733
  150. package/.history/packages/question-drawer/src/index_20230613115842.vue +0 -1733
  151. package/.history/packages/question-drawer/src/index_20230613115844.vue +0 -1733
  152. package/.history/packages/question-drawer/src/index_20230613115848.vue +0 -1733
  153. package/.history/packages/question-drawer/src/index_20230613115902.vue +0 -1733
  154. package/.history/packages/question-drawer/src/index_20230613115911.vue +0 -1733
  155. package/.history/packages/question-drawer/src/index_20230613115914.vue +0 -1733
  156. package/.history/packages/question-drawer/src/index_20230613115922.vue +0 -1733
  157. package/.history/packages/question-drawer/src/index_20230613120356.vue +0 -1733
  158. package/.history/packages/question-drawer/src/index_20230613120359.vue +0 -1732
  159. package/.history/packages/question-drawer/src/index_20230613120710.vue +0 -1731
  160. package/.history/packages/question-drawer/src/index_20230613120839.vue +0 -1732
  161. package/.history/packages/question-drawer/src/index_20230613120841.vue +0 -1732
  162. package/.history/packages/question-drawer/src/index_20230613120844.vue +0 -1733
  163. package/.history/packages/question-drawer/src/index_20230613120846.vue +0 -1733
  164. package/.history/packages/question-drawer/src/index_20230613120850.vue +0 -1734
  165. package/.history/packages/question-drawer/src/index_20230613120852.vue +0 -1734
  166. package/.history/packages/question-drawer/src/index_20230613120856.vue +0 -1735
  167. package/.history/packages/question-drawer/src/index_20230613120858.vue +0 -1735
  168. package/.history/packages/question-drawer/src/index_20230613121150.vue +0 -1735
  169. package/.history/packages/question-drawer/src/index_20230613121238.vue +0 -1734
  170. package/.history/packages/question-drawer/src/index_20230613121252.vue +0 -1734
  171. package/.history/packages/question-drawer/src/index_20230613121256.vue +0 -1734
  172. package/.history/packages/question-drawer/src/index_20230613121258.vue +0 -1733
  173. package/.history/packages/question-drawer/src/index_20230613121303.vue +0 -1733
  174. package/.history/packages/question-drawer/src/index_20230613121307.vue +0 -1733
  175. package/.history/packages/question-drawer/src/index_20230613121310.vue +0 -1732
  176. package/.history/packages/question-drawer/src/index_20230613121313.vue +0 -1731
  177. package/.history/packages/question-drawer/src/index_20230613121549.vue +0 -1731
  178. package/.history/packages/question-drawer/src/index_20230613121623.vue +0 -1731
  179. package/.history/packages/question-drawer/src/index_20230613151515.vue +0 -1730
  180. package/.history/packages/question-drawer/src/index_20230613151517.vue +0 -1729
  181. package/.history/packages/question-drawer/src/index_20230613151612.vue +0 -1729
  182. package/.history/packages/question-drawer/src/index_20230613151618.vue +0 -1729
  183. package/.history/packages/question-drawer/src/index_20230613151928.vue +0 -1729
  184. package/.history/packages/question-drawer/src/index_20230613151929.vue +0 -1729
  185. package/.history/packages/question-drawer/src/index_20230613152233.vue +0 -1728
  186. package/.history/packages/question-drawer/src/index_20230613152235.vue +0 -1727
  187. package/.history/packages/question-drawer/src/index_20230613152237.vue +0 -1726
  188. package/.history/packages/question-drawer/src/index_20230613152239.vue +0 -1726
  189. package/.history/packages/question-drawer/src/index_20230613152243.vue +0 -1725
  190. package/.history/packages/question-drawer/src/index_20230613152245.vue +0 -1724
  191. package/.history/packages/question-drawer/src/index_20230613152247.vue +0 -1723
  192. package/.history/packages/question-drawer/src/index_20230613152248.vue +0 -1723
  193. package/.history/packages/question-drawer/src/index_20230613152543.vue +0 -1723
  194. package/.history/packages/question-drawer/src/index_20230613152613.vue +0 -1723
  195. package/.history/packages/question-drawer/src/index_20230614203619.vue +0 -1725
  196. package/.history/packages/question-drawer/src/index_20230614203633.vue +0 -1729
  197. package/.history/packages/question-drawer/src/index_20230614203637.vue +0 -1729
  198. package/.history/packages/question-drawer/src/index_20230614203912.vue +0 -1729
  199. package/.history/packages/question-drawer/src/index_20230614211516.scss +0 -270
  200. package/.history/packages/question-drawer/src/index_20230614212057.scss +0 -265
  201. package/.history/packages/question-drawer/src/index_20230614212140.scss +0 -270
  202. package/.history/packages/question-drawer/src/index_20230614212146.scss +0 -270
  203. package/.history/packages/question-drawer/src/index_20230614212158.scss +0 -270
  204. package/.history/packages/question-drawer/src/index_20230614212613.scss +0 -270
  205. package/.history/packages/question-drawer/src/index_20230614212615.scss +0 -270
  206. package/.history/packages/question-drawer/src/index_20230614212841.scss +0 -270
  207. package/.history/packages/question-drawer/src/index_20230614212939.scss +0 -270
  208. package/.history/packages/question-drawer/src/index_20230614213141.scss +0 -270
  209. package/.history/packages/question-drawer/src/index_20230614213255.scss +0 -270
  210. package/.history/packages/question-drawer/src/index_20230614213349.scss +0 -265
  211. package/.history/packages/question-drawer/src/index_20230614213350.scss +0 -265
  212. package/.history/packages/question-drawer/src/index_20230614213400.scss +0 -265
  213. package/.history/packages/question-drawer/src/index_20230614213401.scss +0 -270
  214. package/.history/packages/question-drawer/src/index_20230614213431.scss +0 -265
  215. package/.history/packages/question-drawer/src/index_20230615100944.vue +0 -1730
  216. package/.history/packages/question-drawer/src/index_20230615100946.vue +0 -1730
  217. package/.history/packages/question-drawer/src/index_20230615100952.vue +0 -1730
  218. package/.history/packages/question-drawer/src/index_20230615100957.vue +0 -1730
  219. package/.history/packages/question-drawer/src/index_20230615104839.vue +0 -1730
  220. package/.history/packages/tabs/src/index_20230607165331.scss +0 -60
  221. package/.history/packages/tabs/src/index_20230614211226.scss +0 -60
  222. package/.history/packages/tabs/src/index_20230614211227.scss +0 -61
  223. package/.history/packages/tabs/src/index_20230614211253.scss +0 -65
  224. package/.history/packages/tabs/src/index_20230614211332.scss +0 -60
  225. package/.history/packages/wrong-detail/src/index_20230607221202.vue +0 -570
  226. package/.history/packages/wrong-detail/src/index_20230613120416.vue +0 -570
  227. package/.history/packages/wrong-detail/src/index_20230613120418.vue +0 -569
  228. package/.history/packages/wrong-detail/src/index_20230613120738.vue +0 -568
  229. package/.history/packages/wrong-detail/src/index_20230613120800.vue +0 -568
  230. package/.history/packages/wrong-detail/src/index_20230613120803.vue +0 -568
  231. package/.history/packages/wrong-detail/src/index_20230613120825.vue +0 -568
  232. package/.history/packages/wrong-detail/src/index_20230613120834.vue +0 -569
  233. package/.history/packages/wrong-detail/src/index_20230613121246.vue +0 -568
  234. package/.history/packages/wrong-detail/src/index_20230613155421.vue +0 -574
  235. package/.history/packages/wrong-detail/src/index_20230613155423.vue +0 -574
  236. package/.history/packages/wrong-detail/src/index_20230613155426.vue +0 -574
  237. package/.history/packages/wrong-drawer/src/index_20230607213124.vue +0 -450
  238. package/.history/packages/wrong-drawer/src/index_20230613104307.vue +0 -450
  239. package/.history/packages/wrong-drawer/src/index_20230613104315.vue +0 -451
  240. package/.history/packages/wrong-drawer/src/index_20230613104317.vue +0 -451
  241. package/.history/packages/wrong-drawer/src/index_20230613104334.vue +0 -451
  242. package/.history/packages/wrong-drawer/src/index_20230613104403.vue +0 -450
  243. package/.history/packages/wrong-drawer/src/index_20230613104405.vue +0 -449
  244. package/.history/packages/wrong-drawer/src/index_20230613104621.vue +0 -458
  245. package/.history/packages/wrong-drawer/src/index_20230613104626.vue +0 -459
  246. package/.history/packages/wrong-drawer/src/index_20230613104629.vue +0 -457
  247. package/.history/packages/wrong-drawer/src/index_20230613104630.vue +0 -457
  248. package/.history/packages/wrong-drawer/src/index_20230613104747.vue +0 -464
  249. package/.history/packages/wrong-drawer/src/index_20230613104749.vue +0 -464
  250. package/.history/packages/wrong-drawer/src/index_20230613104753.vue +0 -464
  251. package/.history/packages/wrong-drawer/src/index_20230613111237.vue +0 -464
  252. package/.history/packages/wrong-drawer/src/index_20230613111314.vue +0 -464
  253. package/.history/packages/wrong-drawer/src/index_20230613114319.vue +0 -464
  254. package/.history/packages/wrong-drawer/src/index_20230613114322.vue +0 -464
  255. package/.history/packages/wrong-drawer/src/index_20230613114901.vue +0 -463
  256. package/.history/packages/wrong-drawer/src/index_20230613114903.vue +0 -462
  257. package/.history/packages/wrong-drawer/src/index_20230613114904.vue +0 -462
  258. package/.history/packages/wrong-drawer/src/index_20230613114909.vue +0 -462
  259. package/.history/packages/wrong-drawer/src/index_20230613114936.vue +0 -463
  260. package/.history/packages/wrong-drawer/src/index_20230613114940.vue +0 -463
  261. package/.history/packages/wrong-drawer/src/index_20230613114942.vue +0 -463
  262. package/.history/packages/wrong-drawer/src/index_20230613115348.vue +0 -487
  263. package/.history/packages/wrong-drawer/src/index_20230613115352.vue +0 -487
  264. package/.history/packages/wrong-drawer/src/index_20230613115356.vue +0 -487
  265. package/.history/packages/wrong-drawer/src/index_20230613115408.vue +0 -500
  266. package/.history/packages/wrong-drawer/src/index_20230613115411.vue +0 -500
  267. package/.history/packages/wrong-drawer/src/index_20230613115414.vue +0 -500
  268. package/.history/packages/wrong-drawer/src/index_20230613144213.vue +0 -499
  269. package/.history/packages/wrong-drawer/src/index_20230613144215.vue +0 -498
  270. package/.history/packages/wrong-drawer/src/index_20230613144218.vue +0 -497
  271. package/.history/packages/wrong-drawer/src/index_20230613144223.vue +0 -497
  272. package/.history/packages/wrong-drawer/src/index_20230613144225.vue +0 -497
  273. package/.history/packages/wrong-drawer/src/index_20230613144229.vue +0 -498
  274. package/.history/packages/wrong-drawer/src/index_20230613144232.vue +0 -498
  275. package/.history/packages/wrong-drawer/src/index_20230613144316.vue +0 -500
  276. package/.history/packages/wrong-drawer/src/index_20230613144345.vue +0 -500
  277. package/.history/packages/wrong-drawer/src/index_20230613144346.vue +0 -500
  278. package/.history/packages/wrong-drawer/src/index_20230613145546.vue +0 -498
  279. package/.history/packages/wrong-drawer/src/index_20230613145548.vue +0 -501
  280. package/.history/packages/wrong-drawer/src/index_20230613145550.vue +0 -500
  281. package/.history/packages/wrong-drawer/src/index_20230613145602.vue +0 -500
  282. package/.history/packages/wrong-drawer/src/index_20230613145611.vue +0 -500
  283. package/.history/packages/wrong-drawer/src/index_20230613145625.vue +0 -500
  284. package/.history/packages/wrong-drawer/src/index_20230613145634.vue +0 -500
  285. package/.history/packages/wrong-drawer/src/index_20230613150805.vue +0 -500
  286. package/.history/packages/wrong-drawer/src/index_20230613150806.vue +0 -501
  287. package/.history/packages/wrong-drawer/src/index_20230613150809.vue +0 -501
  288. package/.history/packages/wrong-drawer/src/index_20230613150810.vue +0 -501
  289. package/.history/vue.config_20230606223920.js +0 -126
  290. package/.history/vue.config_20230626104338.js +0 -133
  291. package/.history/vue.config_20230626104344.js +0 -129
  292. package/.history/vue.config_20230626104347.js +0 -129
  293. package/.history/vue.config_20230626104410.js +0 -129
  294. package/.history/vue.config_20230626104446.js +0 -129
  295. package/.history/vue.config_20230626104448.js +0 -129
  296. package/.history/vue.config_20230626104552.js +0 -130
  297. package/.history/vue.config_20230626104554.js +0 -130
  298. package/.history/vue.config_20230626104556.js +0 -130
  299. package/.history/vue.config_20230626104559.js +0 -132
  300. package/.history/vue.config_20230626104600.js +0 -132
  301. package/.history/vue.config_20230626104603.js +0 -132
  302. package/.history/vue.config_20230626104608.js +0 -129
  303. package/.history/vue.config_20230626104646.js +0 -123
  304. package/.history/vue.config_20230626104824.js +0 -124
  305. package/.history/vue.config_20230626104825.js +0 -124
  306. package/.history/vue.config_20230626104829.js +0 -124
  307. package/.history/vue.config_20230626104832.js +0 -124
  308. package/.history/vue.config_20230626104836.js +0 -121
  309. package/.history/vue.config_20230626105637.js +0 -122
  310. package/.history/vue.config_20230626105642.js +0 -123
  311. package/.history/vue.config_20230626105834.js +0 -124
  312. package/.history/vue.config_20230626105920.js +0 -124
  313. package/.history/vue.config_20230626105938.js +0 -123
  314. package/.history/vue.config_20230626110142.js +0 -124
  315. package/.history/vue.config_20230626110147.js +0 -124
  316. package/.history/vue.config_20230626110154.js +0 -124
  317. package/.history/vue.config_20230626110156.js +0 -124
  318. package/.history/vue.config_20230626110206.js +0 -124
  319. package/.history/vue.config_20230626110207.js +0 -124
  320. package/.history/vue.config_20230626110209.js +0 -124
  321. package/.history/vue.config_20230626110235.js +0 -123
  322. package/.history/vue.config_20230626110237.js +0 -123
  323. package/.history/vue.config_20230626110257.js +0 -123
  324. package/.history/vue.config_20230626110300.js +0 -123
  325. package/.history/vue.config_20230626110316.js +0 -123
  326. package/.history/vue.config_20230626110621.js +0 -123
  327. package/.history/vue.config_20230626110703.js +0 -124
  328. package/.history/vue.config_20230626110708.js +0 -125
  329. package/.history/vue.config_20230626110710.js +0 -126
  330. package/.history/vue.config_20230626110712.js +0 -127
  331. package/.history/vue.config_20230626110715.js +0 -126
  332. package/.history/vue.config_20230626110716.js +0 -127
  333. package/.history/vue.config_20230626110721.js +0 -128
  334. package/.history/vue.config_20230626110741.js +0 -128
  335. package/.history/vue.config_20230626110746.js +0 -128
  336. package/.history/vue.config_20230626110751.js +0 -128
  337. package/.history/vue.config_20230626110754.js +0 -128
  338. package/.history/vue.config_20230626110757.js +0 -128
  339. package/.history/vue.config_20230626110811.js +0 -128
  340. package/.history/vue.config_20230626110815.js +0 -128
  341. package/.history/vue.config_20230626110820.js +0 -128
  342. package/.history/vue.config_20230626110823.js +0 -128
  343. package/.history/vue.config_20230626110949.js +0 -129
  344. package/.history/vue.config_20230626110951.js +0 -129
  345. package/.history/vue.config_20230626110953.js +0 -130
  346. package/.history/vue.config_20230626110956.js +0 -130
  347. package/.history/vue.config_20230626110958.js +0 -131
  348. package/.history/vue.config_20230626111207.js +0 -131
  349. package/.history/vue.config_20230626111211.js +0 -131
  350. package/.history/vue.config_20230626111216.js +0 -131
  351. package/.history/vue.config_20230626111217.js +0 -131
  352. package/.history/vue.config_20230626111332.js +0 -131
  353. package/.history/vue.config_20230626111338.js +0 -131
  354. package/.history/vue.config_20230626111342.js +0 -131
  355. package/.history/vue.config_20230626111359.js +0 -131
  356. package/.history/vue.config_20230626111402.js +0 -131
  357. package/.history/vue.config_20230626111404.js +0 -131
  358. package/.history/vue.config_20230626111442.js +0 -131
  359. package/.history/vue.config_20230626111443.js +0 -131
  360. package/.history/vue.config_20230626111448.js +0 -131
  361. package/.history/vue.config_20230626111450.js +0 -131
  362. package/.history/vue.config_20230626111528.js +0 -131
  363. package/.history/vue.config_20230626111529.js +0 -131
  364. package/.history/vue.config_20230626112153.js +0 -132
  365. package/.history/vue.config_20230626112156.js +0 -133
  366. package/.history/vue.config_20230626112158.js +0 -132
  367. package/.history/vue.config_20230626112201.js +0 -132
  368. package/.history/vue.config_20230626112254.js +0 -132
  369. package/.history/vue.config_20230626112400.js +0 -132
  370. package/.history/vue.config_20230626112402.js +0 -132
  371. package/.history/vue.config_20230626112452.js +0 -132
  372. package/.history/vue.config_20230626113026.js +0 -133
  373. package/.history/vue.config_20230626113032.js +0 -133
  374. package/.history/vue.config_20230626113034.js +0 -134
  375. package/.history/vue.config_20230626113036.js +0 -135
  376. package/.history/vue.config_20230626113040.js +0 -136
  377. package/.history/vue.config_20230626113041.js +0 -137
  378. package/.history/vue.config_20230626113042.js +0 -138
  379. package/.history/vue.config_20230626113044.js +0 -139
  380. package/.history/vue.config_20230626113049.js +0 -140
  381. package/.history/vue.config_20230626113052.js +0 -141
  382. package/.history/vue.config_20230626113056.js +0 -142
  383. package/.history/vue.config_20230626113058.js +0 -143
  384. package/.history/vue.config_20230626113101.js +0 -144
  385. package/.history/vue.config_20230626113105.js +0 -144
  386. package/.history/vue.config_20230626113110.js +0 -145
  387. package/.history/vue.config_20230626113112.js +0 -145
  388. package/.history/vue.config_20230626113129.js +0 -145
  389. package/.history/vue.config_20230626113131.js +0 -146
  390. package/.history/vue.config_20230626113133.js +0 -145
  391. package/.history/vue.config_20230626113142.js +0 -144
  392. package/.history/vue.config_20230626113145.js +0 -137
  393. package/.history/vue.config_20230626113147.js +0 -144
  394. package/.history/vue.config_20230626113154.js +0 -143
  395. package/.history/vue.config_20230626113202.js +0 -144
  396. package/.history/vue.config_20230626113204.js +0 -144
  397. package/.history/vue.config_20230626113207.js +0 -144
  398. package/.history/vue.config_20230626113216.js +0 -144
  399. package/.history/vue.config_20230626113223.js +0 -144
  400. package/.history/vue.config_20230626113224.js +0 -144
  401. package/.history/vue.config_20230626113227.js +0 -144
  402. package/.history/vue.config_20230626113230.js +0 -144
  403. package/.history/vue.config_20230626113237.js +0 -144
  404. package/.history/vue.config_20230626113239.js +0 -144
  405. package/.history/vue.config_20230626113244.js +0 -144
  406. package/.history/vue.config_20230626113245.js +0 -144
  407. package/.history/vue.config_20230626113248.js +0 -142
  408. package/.history/vue.config_20230626113250.js +0 -142
  409. package/.history/vue.config_20230626113255.js +0 -142
  410. package/.history/vue.config_20230626113303.js +0 -142
  411. package/.history/vue.config_20230626113305.js +0 -142
  412. package/.history/vue.config_20230626113309.js +0 -142
  413. package/.history/vue.config_20230626113347.js +0 -142
  414. package/.history/vue.config_20230626113404.js +0 -139
  415. package/.history/vue.config_20230626113406.js +0 -138
  416. package/.history/vue.config_20230626113418.js +0 -134
  417. package/.history/vue.config_20230626113511.js +0 -129
  418. package/.history/vue.config_20230626113656.js +0 -129
  419. package/.history/vue.config_20230626114206.js +0 -134
  420. package/.history/vue.config_20230626114210.js +0 -138
  421. package/.history/vue.config_20230626114358.js +0 -137
  422. package/.history/vue.config_20230626114603.js +0 -137
  423. package/.history/vue.config_20230626114605.js +0 -137
  424. package/.history/vue.config_20230626114657.js +0 -137
  425. package/.history/vue.config_20230626114745.js +0 -137
  426. package/.history/vue.config_20230626114821.js +0 -137
  427. package/.history/vue.config_20230626114832.js +0 -139
  428. package/.history/vue.config_20230626114836.js +0 -132
  429. package/.history/vue.config_20230626114847.js +0 -132
  430. package/.history/vue.config_20230626114850.js +0 -132
  431. package/.history/vue.config_20230626131835.js +0 -132
  432. package/.history/vue.config_20230626132308.js +0 -132
  433. package/.history/vue.config_20230626132415.js +0 -132
  434. package/.history/vue.config_20230626132534.js +0 -132
  435. package/.history/vue.config_20230626132823.js +0 -133
  436. package/.history/vue.config_20230626132826.js +0 -133
  437. package/.history/vue.config_20230626132829.js +0 -133
  438. package/.history/vue.config_20230626132832.js +0 -133
  439. package/.history/vue.config_20230626132836.js +0 -132
  440. package/.history/vue.config_20230626132838.js +0 -132
  441. package/.history/vue.config_20230626132940.js +0 -132
  442. package/.history/vue.config_20230626133032.js +0 -131
  443. package/.history/vue.config_20230626133106.js +0 -132
  444. package/.history/vue.config_20230626133113.js +0 -132
  445. package/.history/vue.config_20230626133122.js +0 -132
  446. package/.history/vue.config_20230626133252.js +0 -132
  447. package/.history/vue.config_20230626133258.js +0 -133
  448. package/.history/vue.config_20230626133300.js +0 -133
  449. package/.history/vue.config_20230626133302.js +0 -133
  450. package/.history/vue.config_20230626133303.js +0 -133
  451. package/.history/vue.config_20230626133305.js +0 -133
  452. package/.history/vue.config_20230626133312.js +0 -132
  453. package/.history/vue.config_20230626133314.js +0 -132
  454. package/.history/vue.config_20230626133316.js +0 -133
  455. package/.history/vue.config_20230626133319.js +0 -132
  456. package/.history/vue.config_20230626133326.js +0 -132
  457. package/.history/vue.config_20230626133336.js +0 -132
  458. package/.history/vue.config_20230626133428.js +0 -132
  459. package/.history/vue.config_20230626133623.js +0 -132
  460. package/.history/vue.config_20230626133736.js +0 -132
  461. package/fonts/icomoon.356dc15f.woff +0 -0
  462. package/fonts/icomoon.71d64f31.woff +0 -0
  463. package/fonts/icomoon.7c9a60d9.eot +0 -0
  464. package/fonts/icomoon.ba18ad87.eot +0 -0
  465. package/fonts/icomoon.de76432e.ttf +0 -0
  466. package/fonts/icomoon.ec37e716.ttf +0 -0
  467. package/img/cloud_txt_24.87b9d2ae.svg +0 -1
  468. package/img/icomoon.428f3063.svg +0 -346
  469. package/img/icomoon.532b3795.svg +0 -345
  470. package/img/icon_question.e931b16c.svg +0 -14
  471. package/lib/demo.html +0 -10
  472. package/lib/fonts/icomoon.356dc15f.woff +0 -0
  473. package/lib/fonts/icomoon.71d64f31.woff +0 -0
  474. package/lib/fonts/icomoon.7c9a60d9.eot +0 -0
  475. package/lib/fonts/icomoon.ba18ad87.eot +0 -0
  476. package/lib/fonts/icomoon.de76432e.ttf +0 -0
  477. package/lib/fonts/icomoon.ec37e716.ttf +0 -0
  478. package/lib/img/cloud_txt_24.87b9d2ae.svg +0 -1
  479. package/lib/img/icomoon.428f3063.svg +0 -346
  480. package/lib/img/icomoon.532b3795.svg +0 -345
  481. package/lib/img/icon_question.e931b16c.svg +0 -14
  482. package/lib/ui.common.js +0 -93058
  483. package/lib/ui.css +0 -1
  484. package/lib/ui.umd.js +0 -93068
  485. package/lib/ui.umd.min.js +0 -25
@@ -1,550 +0,0 @@
1
- <!--右侧抽屉-->
2
- <template>
3
- <ft-drawer>
4
- <ft-exam-header :currentPaperItem="currentPaperItem" :mainTitle="mainTitle" @goBack="goBack"></ft-exam-header>
5
- <!-- 选择全部 -->
6
- <div
7
- class="question-quote-all"
8
- v-show="!loadingBankData && !loadingError && itemInfoList.length > 0"
9
- >
10
- <div
11
- :class="
12
- isAddAll ? 'quote-all-question' : 'quote-all-question-disable'
13
- "
14
- @click="addPaperAllQuestion"
15
- >
16
- <i class="icon-add" style="margin-right: 4px"></i>
17
- {{ i18n.xuanZeQuanBu }}
18
- </div>
19
- </div>
20
- <div v-for="(item, index) in haveTitleCategory" :key="'item' + index">
21
- <div class="module-title-box">
22
- <div class="module-title-type">
23
- <div class="title-name">
24
- {{ numberMap.get(index) }}、{{
25
- item && item.titleType
26
- ? item.titleType.itemCategoryName
27
- : ""
28
- }}
29
- </div>
30
- </div>
31
- </div>
32
-
33
- <ft-exam-question
34
- v-for="(subItem, subIndex) in item.subItemList"
35
- :key="'subItem' + subIndex"
36
- :itemInfo="subItem"
37
- :itemId="subItem.itemId"
38
- :itemType="subItem.itemType"
39
- :itemFromType="subItem.itemFromType"
40
- :difficultyId="subItem.difficultyId"
41
- :subIndex="subIndex"
42
- :titleDesc="subItem.titleDesc"
43
- :allItemList="allItemList"
44
- :difficults="difficults"
45
- :currentItemList="itemsList"
46
- :pointNames="subItem.pointNames || '--'"
47
- :klNames="subItem.klNames || '--'"
48
- :skill="subItem.basicSkillNames || '--'"
49
- :answer="subItem.answer || '--'"
50
- :analysis="subItem.analysis || '--'"
51
- @seeAnswerAnalysis="seeAnswerAnalysis"
52
- @choiceOrRemoveQuestion="choiceOrRemoveQuestion"
53
- :fromType ='fromPageType'
54
- :variantList="itemList"
55
- >
56
- </ft-exam-question>
57
-
58
- </div>
59
- </ft-drawer>
60
- </template>
61
- <script>
62
- import { Loading, Message } from "element-ui";
63
- import {
64
- getExamInfo,
65
- quotePaperQuestion,
66
- getItemType,
67
- getQuestion,
68
- getAnswer,
69
- } from "../../../api/index";
70
- import changeNumber from "../../../utils/changNumber";
71
- import { getUrlKey } from "../../../utils/common";
72
-
73
- export default {
74
- name: "FtExamDetail",
75
- // import引入的组件需要注入到对象中才能使用
76
- components: {
77
- [Loading.name]: Loading
78
- },
79
- props: {
80
- //请求的参数,包含了当前所选择的信息
81
- currentIndexParam: {
82
- type: Object,
83
- require: true,
84
- },
85
- //点击的当前试卷
86
- currentPaperItem: {
87
- type: Object,
88
- default: [],
89
- },
90
- itemList:{
91
- type: Array,
92
- default:[]
93
- },
94
- difficults:{
95
- type: Array | Object | String
96
- },
97
- mainItemId:{
98
- type:String,
99
- default:''
100
- },
101
- fromType:{
102
- typeof:String,
103
- default:''
104
- },
105
- i18n:{
106
- type:Object
107
- }
108
- },
109
- data() {
110
- // 这里存放数据
111
- return {
112
- numberMap: null,
113
- //首次请求
114
- isLoading: true,
115
- //是否正在加载题目数据
116
- loadingBankData: false,
117
- //加载题目数据是否失败
118
- loadingError: false,
119
- //题目数据集合
120
- itemInfoList: [],
121
- //分页信息
122
- pageInfo: {},
123
- //接口请求参数
124
- requestParam: {},
125
- currPage: 0, //当前页面
126
- loading: false,
127
- mainTitle: "",
128
- itemsList: [], //左侧题目集合
129
- paperIdsList: [], //右侧试卷题库的题目id集合
130
- allTitleType: [], //题目类别接口的数据
131
- recordCategory: {}, //记录题目类别的id的键值对 ,类别id : 序号 ,用于在questionTypeOrder找到不同题目类别的index
132
- questionTypeOrder: [], //整理后的一个对象数组
133
- allItemList: [], //所有的题目信息
134
- isAddAll: true, // true:全部引用 || false:非全部引用
135
- isCheckingStatus: false, //是否正在检查按钮状态
136
- fromPageType: '', //来源类型
137
- };
138
- },
139
- //监控data中的数据变化
140
- watch: {
141
- itemList: function (n, o) {
142
- console.log('jiantingitemlist')
143
- this.itemsList = n;
144
- console.log(this.itemsList)
145
- this.judgeButtonStatus();
146
- },
147
- paperIdsList: function (n, o) {
148
- this.paperIdsList = n;
149
- console.log('paperQuestionsIdList',this.paperIdsList)
150
- this.judgeButtonStatus();
151
- },
152
- haveTitleCategory(){
153
- console.log(this.haveTitleCategory);
154
- }
155
- },
156
- computed: {
157
- //有题目数据的类型,用于实际的渲染
158
- haveTitleCategory() {
159
- return this.questionTypeOrder.filter((item) => {
160
- return item.subItemList.length != 0;
161
- });
162
- },
163
- },
164
- methods: {
165
- //选题 || 移除
166
- choiceOrRemoveQuestion(itemInfo,isAdd) {
167
- this.$emit("choiceOrRemoveQuestion",itemInfo,isAdd)
168
- },
169
- goBack() {
170
- let dic = {
171
- activeIndex: 3,
172
- };
173
- this.$emit("eventbus-emit","changeDrawerType","changeDrawerType",JSON.stringify(dic))
174
- },
175
- seeAnswerAnalysis(itemInfo) {
176
- let currentItem = {};
177
- this.haveTitleCategory.forEach((item) => {
178
- let res = item.subItemList.find(
179
- (temp) => temp.itemId == itemInfo.itemId
180
- );
181
- if (res) currentItem = res;
182
- });
183
- getAnswer(
184
- {
185
- itemId: itemInfo.itemId,
186
- itemBankType: 4,
187
- itemSourceType: itemInfo.itemSourceType,
188
- rootSourceId: itemInfo.rootItemSourceId,
189
- },
190
- (res) => {
191
- if (!res) {
192
- return;
193
- }
194
- if (typeof res === "string") res = JSON.parse(res);
195
- if (res.code == 0) {
196
- //取出答案与解析
197
- this.$set(currentItem, "pointNames", res.value.pointNames);
198
- this.$set(currentItem, "klNames", res.value.klNames);
199
- this.$set(currentItem, "answer", res.value.correctAnswer);
200
- this.$set(
201
- currentItem,
202
- "basicSkillNames",
203
- res.value.basicSkillNames
204
- );
205
- if (
206
- (res.value.itemType == 3 || res.value.itemType == 6) &&
207
- res.value.correctAnswer &&
208
- res.value.correctAnswer.length > 0
209
- ) {
210
- getQuestion({ itemId: res.value.correctAnswer }, (res) => {
211
- if (!res) {
212
- return;
213
- }
214
- if (typeof res === "string") res = JSON.parse(res);
215
- //取出题目数据
216
- this.$set(currentItem, "answer", res.data);
217
- });
218
- } else if (res.value.itemType == 7) {
219
- //组合单选题
220
- var answerArr = res.value.correctAnswer.split(",");
221
- var fiveArr = [], tempStr = ""; //将组合单选题答案五五放到一个数组展示
222
- console.log(11111)
223
- answerArr && answerArr.length && answerArr.map(function (item, idx) {
224
- if (idx % 5 !== 0 || idx == 0) {
225
- tempStr += item;
226
- } else {
227
- fiveArr.push(tempStr);
228
- tempStr = item;
229
- }
230
- if (idx == answerArr.length - 1) {
231
- fiveArr.push(tempStr);
232
- }
233
- });
234
- this.$set(currentItem, "answer", fiveArr.join(";"));
235
- } else {
236
- this.$set(currentItem, "answer", res.value.correctAnswer);
237
- }
238
- if (res.value.itemAnalysis && res.value.itemAnalysis.length > 0) {
239
- getQuestion({ itemId: res.value.itemAnalysis }, (res) => {
240
- if (!res) {
241
- return;
242
- }
243
- //取出题目数据
244
- this.$set(currentItem, "analysis", res.data);
245
- });
246
- }
247
- }
248
- }
249
- );
250
- },
251
- /*
252
- **请求题库数据
253
- * 筛选条件时请求
254
- */
255
- requestBankData() {
256
- let _this = this;
257
- _this.loadingError = false;
258
- _this.loadingBankData = true;
259
- _this.loading = true;
260
- _this.asyncGetUserOperateDataInfoForBankData();
261
- },
262
- //筛选条件时请求获取用户信息
263
- async asyncGetUserOperateDataInfoForBankData() {
264
- let _this = this;
265
- let dom = document.getElementById("wrong-detail-drawer-slot-id");
266
- let loadingInstance = Loading.service({
267
- target: dom,
268
- text: _this.i18n.jiaZaiZhong,
269
- });
270
- var examInfo = await getExamInfo(_this.requestParam);
271
- if (examInfo && examInfo.code == 0) {
272
- _this.loadingBankData = false;
273
- _this.loading = false;
274
- this.$nextTick(() => {
275
- // 以服务的方式调用的 Loading 需要异步关闭
276
- loadingInstance.close();
277
- });
278
- //将所有试卷题目id数据存在
279
- console.log(111110)
280
- var itemIdList = examInfo.value.itemList && examInfo.value.itemList.length && examInfo.value.itemList
281
- .map((item) => {
282
- return item.itemId;
283
- })
284
- .join(",")
285
- .split(",");
286
- console.log('savePaperQuestionsIdList',itemIdList)
287
- // _this.$store.commit("savePaperQuestionsIdList", itemIdList);
288
- _this.paperIdsList = itemIdList
289
- //取出题目数据
290
- _this.loadingError = false;
291
- _this.mainTitle = examInfo.value.exam.resourceName;
292
- //如果是从编辑状态进入,为保持之前的顺序allTitleType从layout中获取,否则getItemType接口获取
293
- // if (
294
- // examInfo.value.layoutJson &&
295
- // examInfo.value.layoutJson.titleCategory &&
296
- // examInfo.value.layoutJson.titleCategory.length != 0
297
- // ) {
298
- // _this.allTitleType = examInfo.value.layoutJson.titleCategory;
299
- // } else {
300
- // let categoryRes = await getItemType({ subjectId: _this.subjectId });
301
- // if (categoryRes.code == 0) {
302
- // _this.allTitleType = categoryRes.value;
303
- // }
304
- // }
305
- //
306
- if (
307
- examInfo.value.layoutJson &&
308
- examInfo.value.layoutJson.haveDataTitleCategory &&
309
- examInfo.value.layoutJson.haveDataTitleCategory.length != 0
310
- ) {
311
- _this.allTitleType = examInfo.value.layoutJson.haveDataTitleCategory;
312
- }
313
- let categoryRes = await getItemType({ subjectId: _this.subjectId });
314
- if (categoryRes.code == 0) {
315
- if (_this.allTitleType && _this.allTitleType.length > 0) {
316
- console.log(111119)
317
- let itemCategoryIdArr = _this.allTitleType && _this.allTitleType.length && _this.allTitleType.map((obj) => {
318
- return obj.itemCategoryId;
319
- });
320
- categoryRes.value.forEach((element) => {
321
- if (itemCategoryIdArr.indexOf(element.itemCategoryId) < 0) {
322
- _this.allTitleType.push(element);
323
- }
324
- });
325
- } else {
326
- _this.allTitleType = categoryRes.value;
327
- }
328
- }
329
- //
330
- _this.allTitleType.forEach((item, i) => {
331
- _this.$set(_this.questionTypeOrder, i, {
332
- titleType: item,
333
- subItemList: [],
334
- });
335
- _this.recordCategory[
336
- (_this.recordCategory[item.itemCategoryId] = i)
337
- ] = item.itemCategoryId;
338
- });
339
- //设置subitemlist的数据
340
- _this.handelShowTitle(examInfo.value.itemList);
341
- } else {
342
- //请求题目数据报错
343
- _this.loadingError = true;
344
- _this.itemInfoList = [];
345
- }
346
- },
347
- // 将请求获取到的itemList处理成需要的数据格式,主要目的是为了加上titleDesc
348
- handelShowTitle(itemList) {
349
- this.itemInfoList = itemList;
350
- this.itemInfoList.forEach((item) => {
351
- let index = this.recordCategory[item.categoryId];
352
- if (index > -1 && index < this.questionTypeOrder.length) {
353
- this.questionTypeOrder[index].subItemList.push(item);
354
- }
355
- });
356
- this.filterItemList();
357
- this.questionTypeOrder.forEach((item) => {
358
- return item.subItemList.forEach((subitem) => {
359
- return getQuestion({ itemId: subitem.itemFileId }, (res) => {
360
- this.$set(subitem, "titleDesc", res.data);
361
- });
362
- });
363
- });
364
- },
365
- // 获取所有大题类型下的题目,组成一个数组,过滤出其中的ID,用于在更改大题顺序时候,找出此条小题的顺序,动态更新题号
366
- filterItemList() {
367
- this.allItemList = [];
368
- console.log(111118)
369
- this.haveTitleCategory.forEach((item) => {
370
- this.allItemList = this.allItemList && this.allItemList.length && this.allItemList.concat(item.subItemList);
371
- });
372
- this.allItemList = this.allItemList && this.allItemList.length && this.allItemList.map((item) => {
373
- return item.itemId;
374
- });
375
- },
376
- //改变右侧栏宽度
377
- changeSize(e) {
378
- document.onmousemove = (e) => {
379
- e.stopPropagation();
380
- document.body.style.cursor = "w-resize";
381
- let addWidth = this.$refs.drawer.offsetLeft - e.clientX;
382
- let curWidth = this.$refs.drawer.offsetWidth;
383
- this.$refs.drawer.style.width = `${curWidth + addWidth}px`;
384
- };
385
- document.onmouseup = (e) => {
386
- e.stopPropagation();
387
- document.onmousemove = null;
388
- document.onmouseup = null;
389
- document.body.style.cursor = "default";
390
- };
391
- },
392
- //试卷题目集 - 全部选择
393
- addPaperAllQuestion() {
394
- let _this = this;
395
- if (!_this.isAddAll) {
396
- return;
397
- }
398
- var resourceId = getUrlKey("resourceId");
399
- this.$emit("addAllQuestion",resourceId,_this.currentPaperItem.resourceId,this.allItemList)
400
- },
401
- //判断按钮状态
402
- judgeButtonStatus() {
403
- if (this.isCheckingStatus) {
404
- return;
405
- }
406
- console.log("paper---judgeButtonStatus---111---", this.itemsList);
407
- console.log("paper---judgeButtonStatus---222---", this.paperIdsList);
408
- this.isCheckingStatus = true;
409
- this.isAddAll = false;
410
- if ((this.fromPageType == 'variant' && this.itemsList.length == 10) || this.paperIdsList.length == 0) {
411
- this.isCheckingStatus = false;
412
- return;
413
- }
414
- if (
415
- this.itemsList.length == 0 ||
416
- this.itemsList.length < this.paperIdsList.length
417
- ) {
418
- this.isCheckingStatus = false;
419
- this.isAddAll = true;
420
- return;
421
- }
422
- let tempItemIds = [];
423
- this.itemsList.forEach((element) => {
424
- tempItemIds.push(this.fromPageType='variant' ? element.variantItemId : element.itemId);
425
- });
426
- console.log('tempItemIds',tempItemIds)
427
- console.log("paper---judgeButtonStatus---333---", tempItemIds);
428
- this.paperIdsList.forEach((element) => {
429
- if (tempItemIds.indexOf(element) < 0) {
430
- this.isAddAll = true;
431
- this.isCheckingStatus = false;
432
- return;
433
- }
434
- });
435
- this.isCheckingStatus = false;
436
- },
437
- },
438
- created() {
439
- this.numberMap = new Map(changeNumber);
440
- },
441
- mounted() {
442
- let _this = this;
443
- this.itemsList = this.itemList
444
- this.judgeButtonStatus();
445
- _this.requestParam["resourceId"] = _this.currentPaperItem.resourceId;
446
- _this.requestBankData();
447
- this.fromPageType = this.fromType
448
- },
449
- };
450
- </script>
451
-
452
- <style scoped>
453
- .el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content {
454
- background-color: #e7ffef;
455
- }
456
-
457
- .el-tree-node__content:hover {
458
- background-color: #e7ffef;
459
- }
460
-
461
- .drawer-continer {
462
- position: absolute;
463
- padding: 0 16px 0 4px;
464
- top: 56px;
465
- right: 0px;
466
- width: 532px;
467
- min-width: 532px;
468
- max-width: 936px;
469
- height: calc(100% - 56px);
470
- background: #ffffff;
471
- /* border: 1px solid #e2e2e2; */
472
- box-shadow: 4px 0 8px 0 rgba(0, 0, 0, 0.05);
473
- transform: rotate(180deg);
474
- }
475
-
476
- .resize {
477
- position: absolute;
478
- right: -3px;
479
- width: 3px;
480
- height: 100%;
481
- cursor: w-resize;
482
- }
483
-
484
- .drawer-slot {
485
- width: 100%;
486
- height: 100%;
487
- transform: rotate(180deg);
488
- overflow-x: hidden;
489
- overflow-y: scroll;
490
- position: relative;
491
- }
492
-
493
- .page-contro {
494
- width: 100%;
495
- height: 40px;
496
- text-align: center;
497
- font-size: 14px;
498
- line-height: 40px;
499
- color: #333;
500
- }
501
-
502
- .question-quote-all {
503
- height: 24px;
504
- margin: 20px 0 16px 0;
505
- }
506
-
507
- .quote-all-question-disable {
508
- display: flex;
509
- align-items: center;
510
- justify-content: center;
511
- float: right;
512
- margin-right: 16px;
513
- width: 92px;
514
- height: 24px;
515
- line-height: 24px;
516
- border-radius: 4px;
517
- text-align: center;
518
- font-size: 14px;
519
- color: #ffffff;
520
- font-family: MicrosoftYaHei;
521
- background: #cccccc;
522
- cursor: not-allowed;
523
- }
524
-
525
- .quote-all-question {
526
- display: flex;
527
- align-items: center;
528
- justify-content: center;
529
- float: right;
530
- margin-right: 16px;
531
- width: 92px;
532
- height: 24px;
533
- line-height: 24px;
534
- border-radius: 4px;
535
- text-align: center;
536
- font-size: 14px;
537
- color: #ffffff;
538
- font-family: MicrosoftYaHei;
539
- background: #ff9800;
540
- cursor: pointer;
541
- }
542
-
543
- .quote-all-question:hover {
544
- background: #ff6f00;
545
- }
546
-
547
- .quote-all-question:active {
548
- background: #e68a00;
549
- }
550
- </style>