@focus-teach/ui 1.0.7 → 1.0.8

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