@focus-teach/ui 1.0.0
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.
- package/.browserslistrc +2 -0
- package/.history/package_20230625121458.json +45 -0
- package/.history/package_20230626100440.json +45 -0
- package/.history/package_20230626100445.json +45 -0
- package/.history/package_20230626100447.json +45 -0
- package/.history/package_20230626100636.json +45 -0
- package/.history/package_20230626100801.json +45 -0
- package/.history/package_20230626100803.json +45 -0
- package/.history/package_20230626100838.json +45 -0
- package/.history/package_20230626103314.json +45 -0
- package/.history/package_20230626103317.json +45 -0
- package/.history/packages/assets/css/reset-element_20230605134721.scss +167 -0
- package/.history/packages/assets/css/reset-element_20230614205652.scss +173 -0
- package/.history/packages/assets/css/reset-element_20230614205654.scss +173 -0
- package/.history/packages/assets/css/reset-element_20230614211242.scss +169 -0
- package/.history/packages/assets/css/reset-element_20230614211245.scss +167 -0
- package/.history/packages/exam-detail/src/index_20230607220441.vue +548 -0
- package/.history/packages/exam-detail/src/index_20230613115618.vue +548 -0
- package/.history/packages/exam-detail/src/index_20230613115623.vue +548 -0
- package/.history/packages/exam-detail/src/index_20230613115629.vue +548 -0
- package/.history/packages/exam-detail/src/index_20230613115631.vue +548 -0
- package/.history/packages/exam-detail/src/index_20230613115640.vue +548 -0
- package/.history/packages/exam-detail/src/index_20230613115651.vue +548 -0
- package/.history/packages/exam-detail/src/index_20230613115659.vue +548 -0
- package/.history/packages/exam-detail/src/index_20230613115750.vue +548 -0
- package/.history/packages/exam-detail/src/index_20230613115806.vue +548 -0
- package/.history/packages/exam-detail/src/index_20230613115811.vue +548 -0
- package/.history/packages/exam-detail/src/index_20230613115815.vue +548 -0
- package/.history/packages/exam-detail/src/index_20230613120250.vue +548 -0
- package/.history/packages/exam-detail/src/index_20230613120252.vue +548 -0
- package/.history/packages/exam-detail/src/index_20230613120257.vue +547 -0
- package/.history/packages/exam-detail/src/index_20230613120323.vue +547 -0
- package/.history/packages/exam-detail/src/index_20230613120327.vue +547 -0
- package/.history/packages/exam-detail/src/index_20230613120328.vue +547 -0
- package/.history/packages/exam-detail/src/index_20230613120915.vue +548 -0
- package/.history/packages/exam-detail/src/index_20230613120917.vue +548 -0
- package/.history/packages/exam-detail/src/index_20230613120922.vue +549 -0
- package/.history/packages/exam-detail/src/index_20230613120924.vue +549 -0
- package/.history/packages/exam-detail/src/index_20230613120928.vue +550 -0
- package/.history/packages/exam-detail/src/index_20230613120930.vue +550 -0
- package/.history/packages/exam-detail/src/index_20230613120936.vue +549 -0
- package/.history/packages/exam-detail/src/index_20230613120938.vue +550 -0
- package/.history/packages/exam-detail/src/index_20230613120942.vue +550 -0
- package/.history/packages/exam-detail/src/index_20230613120944.vue +550 -0
- package/.history/packages/exam-detail/src/index_20230613121331.vue +549 -0
- package/.history/packages/exam-detail/src/index_20230613121333.vue +548 -0
- package/.history/packages/exam-detail/src/index_20230613121335.vue +547 -0
- package/.history/packages/exam-detail/src/index_20230613121341.vue +547 -0
- package/.history/packages/exam-detail/src/index_20230613121344.vue +546 -0
- package/.history/packages/exam-detail/src/index_20230613153022.vue +546 -0
- package/.history/packages/exam-detail/src/index_20230613153027.vue +546 -0
- package/.history/packages/exam-detail/src/index_20230613153620.vue +546 -0
- package/.history/packages/exam-detail/src/index_20230613164734.vue +546 -0
- package/.history/packages/exam-detail/src/index_20230613164746.vue +546 -0
- package/.history/packages/exam-detail/src/index_20230613164756.vue +546 -0
- package/.history/packages/exam-drawer/src/index_20230607103301.vue +1470 -0
- package/.history/packages/exam-drawer/src/index_20230613090746.vue +1469 -0
- package/.history/packages/exam-drawer/src/index_20230613090759.vue +1469 -0
- package/.history/packages/exam-drawer/src/index_20230613090802.vue +1469 -0
- package/.history/packages/exam-drawer/src/index_20230613090809.vue +1469 -0
- package/.history/packages/exam-drawer/src/index_20230613090850.vue +1470 -0
- package/.history/packages/exam-drawer/src/index_20230613090919.vue +1487 -0
- package/.history/packages/exam-drawer/src/index_20230613090930.vue +1486 -0
- package/.history/packages/exam-drawer/src/index_20230613090935.vue +1485 -0
- package/.history/packages/exam-drawer/src/index_20230613091124.vue +1488 -0
- package/.history/packages/exam-drawer/src/index_20230613091140.vue +1488 -0
- package/.history/packages/exam-drawer/src/index_20230613091141.vue +1488 -0
- package/.history/packages/exam-drawer/src/index_20230613092108.vue +1489 -0
- package/.history/packages/exam-drawer/src/index_20230613092111.vue +1489 -0
- package/.history/packages/exam-drawer/src/index_20230613093130.vue +1490 -0
- package/.history/packages/exam-drawer/src/index_20230613093135.vue +1489 -0
- package/.history/packages/exam-drawer/src/index_20230613093149.vue +1488 -0
- package/.history/packages/exam-drawer/src/index_20230613093156.vue +1487 -0
- package/.history/packages/exam-drawer/src/index_20230613093159.vue +1486 -0
- package/.history/packages/exam-drawer/src/index_20230613093202.vue +1485 -0
- package/.history/packages/exam-drawer/src/index_20230613093204.vue +1484 -0
- package/.history/packages/exam-drawer/src/index_20230613093207.vue +1483 -0
- package/.history/packages/exam-drawer/src/index_20230613093209.vue +1482 -0
- package/.history/packages/exam-drawer/src/index_20230613093212.vue +1483 -0
- package/.history/packages/exam-drawer/src/index_20230613093217.vue +1483 -0
- package/.history/packages/exam-drawer/src/index_20230613093228.vue +1483 -0
- package/.history/packages/exam-drawer/src/index_20230613093229.vue +1483 -0
- package/.history/packages/exam-drawer/src/index_20230613093843.vue +1482 -0
- package/.history/packages/exam-drawer/src/index_20230613093847.vue +1481 -0
- package/.history/packages/exam-drawer/src/index_20230613093851.vue +1480 -0
- package/.history/packages/exam-drawer/src/index_20230613115708.vue +1480 -0
- package/.history/packages/exam-drawer/src/index_20230613115823.vue +1480 -0
- package/.history/packages/exam-drawer/src/index_20230613115825.vue +1480 -0
- package/.history/packages/exam-drawer/src/index_20230613115827.vue +1480 -0
- package/.history/packages/exam-drawer/src/index_20230613120908.vue +1481 -0
- package/.history/packages/exam-drawer/src/index_20230613120910.vue +1481 -0
- package/.history/packages/exam-drawer/src/index_20230613121320.vue +1480 -0
- package/.history/packages/exam-drawer/src/index_20230613121326.vue +1480 -0
- package/.history/packages/exam-drawer/src/index_20230613144244.vue +1479 -0
- package/.history/packages/exam-drawer/src/index_20230613144246.vue +1478 -0
- package/.history/packages/exam-drawer/src/index_20230613144248.vue +1477 -0
- package/.history/packages/exam-drawer/src/index_20230613144251.vue +1476 -0
- package/.history/packages/exam-drawer/src/index_20230613152608.vue +1476 -0
- package/.history/packages/header/src/index_20230605134719.vue +59 -0
- package/.history/packages/header/src/index_20230613115723.vue +59 -0
- package/.history/packages/header/src/index_20230613115727.vue +59 -0
- package/.history/packages/header/src/index_20230613115733.vue +59 -0
- package/.history/packages/header/src/index_20230613115736.vue +59 -0
- package/.history/packages/header/src/index_20230613120901.vue +60 -0
- package/.history/packages/header/src/index_20230613120903.vue +60 -0
- package/.history/packages/header/src/index_20230613121316.vue +59 -0
- package/.history/packages/question-drawer/src/index_20230607160653.vue +1735 -0
- package/.history/packages/question-drawer/src/index_20230607160720.scss +265 -0
- package/.history/packages/question-drawer/src/index_20230613090910.vue +1735 -0
- package/.history/packages/question-drawer/src/index_20230613090928.vue +1734 -0
- package/.history/packages/question-drawer/src/index_20230613090937.vue +1733 -0
- package/.history/packages/question-drawer/src/index_20230613115842.vue +1733 -0
- package/.history/packages/question-drawer/src/index_20230613115844.vue +1733 -0
- package/.history/packages/question-drawer/src/index_20230613115848.vue +1733 -0
- package/.history/packages/question-drawer/src/index_20230613115902.vue +1733 -0
- package/.history/packages/question-drawer/src/index_20230613115911.vue +1733 -0
- package/.history/packages/question-drawer/src/index_20230613115914.vue +1733 -0
- package/.history/packages/question-drawer/src/index_20230613115922.vue +1733 -0
- package/.history/packages/question-drawer/src/index_20230613120356.vue +1733 -0
- package/.history/packages/question-drawer/src/index_20230613120359.vue +1732 -0
- package/.history/packages/question-drawer/src/index_20230613120710.vue +1731 -0
- package/.history/packages/question-drawer/src/index_20230613120839.vue +1732 -0
- package/.history/packages/question-drawer/src/index_20230613120841.vue +1732 -0
- package/.history/packages/question-drawer/src/index_20230613120844.vue +1733 -0
- package/.history/packages/question-drawer/src/index_20230613120846.vue +1733 -0
- package/.history/packages/question-drawer/src/index_20230613120850.vue +1734 -0
- package/.history/packages/question-drawer/src/index_20230613120852.vue +1734 -0
- package/.history/packages/question-drawer/src/index_20230613120856.vue +1735 -0
- package/.history/packages/question-drawer/src/index_20230613120858.vue +1735 -0
- package/.history/packages/question-drawer/src/index_20230613121150.vue +1735 -0
- package/.history/packages/question-drawer/src/index_20230613121238.vue +1734 -0
- package/.history/packages/question-drawer/src/index_20230613121252.vue +1734 -0
- package/.history/packages/question-drawer/src/index_20230613121256.vue +1734 -0
- package/.history/packages/question-drawer/src/index_20230613121258.vue +1733 -0
- package/.history/packages/question-drawer/src/index_20230613121303.vue +1733 -0
- package/.history/packages/question-drawer/src/index_20230613121307.vue +1733 -0
- package/.history/packages/question-drawer/src/index_20230613121310.vue +1732 -0
- package/.history/packages/question-drawer/src/index_20230613121313.vue +1731 -0
- package/.history/packages/question-drawer/src/index_20230613121549.vue +1731 -0
- package/.history/packages/question-drawer/src/index_20230613121623.vue +1731 -0
- package/.history/packages/question-drawer/src/index_20230613151515.vue +1730 -0
- package/.history/packages/question-drawer/src/index_20230613151517.vue +1729 -0
- package/.history/packages/question-drawer/src/index_20230613151612.vue +1729 -0
- package/.history/packages/question-drawer/src/index_20230613151618.vue +1729 -0
- package/.history/packages/question-drawer/src/index_20230613151928.vue +1729 -0
- package/.history/packages/question-drawer/src/index_20230613151929.vue +1729 -0
- package/.history/packages/question-drawer/src/index_20230613152233.vue +1728 -0
- package/.history/packages/question-drawer/src/index_20230613152235.vue +1727 -0
- package/.history/packages/question-drawer/src/index_20230613152237.vue +1726 -0
- package/.history/packages/question-drawer/src/index_20230613152239.vue +1726 -0
- package/.history/packages/question-drawer/src/index_20230613152243.vue +1725 -0
- package/.history/packages/question-drawer/src/index_20230613152245.vue +1724 -0
- package/.history/packages/question-drawer/src/index_20230613152247.vue +1723 -0
- package/.history/packages/question-drawer/src/index_20230613152248.vue +1723 -0
- package/.history/packages/question-drawer/src/index_20230613152543.vue +1723 -0
- package/.history/packages/question-drawer/src/index_20230613152613.vue +1723 -0
- package/.history/packages/question-drawer/src/index_20230614203619.vue +1725 -0
- package/.history/packages/question-drawer/src/index_20230614203633.vue +1729 -0
- package/.history/packages/question-drawer/src/index_20230614203637.vue +1729 -0
- package/.history/packages/question-drawer/src/index_20230614203912.vue +1729 -0
- package/.history/packages/question-drawer/src/index_20230614211516.scss +270 -0
- package/.history/packages/question-drawer/src/index_20230614212057.scss +265 -0
- package/.history/packages/question-drawer/src/index_20230614212140.scss +270 -0
- package/.history/packages/question-drawer/src/index_20230614212146.scss +270 -0
- package/.history/packages/question-drawer/src/index_20230614212158.scss +270 -0
- package/.history/packages/question-drawer/src/index_20230614212613.scss +270 -0
- package/.history/packages/question-drawer/src/index_20230614212615.scss +270 -0
- package/.history/packages/question-drawer/src/index_20230614212841.scss +270 -0
- package/.history/packages/question-drawer/src/index_20230614212939.scss +270 -0
- package/.history/packages/question-drawer/src/index_20230614213141.scss +270 -0
- package/.history/packages/question-drawer/src/index_20230614213255.scss +270 -0
- package/.history/packages/question-drawer/src/index_20230614213349.scss +265 -0
- package/.history/packages/question-drawer/src/index_20230614213350.scss +265 -0
- package/.history/packages/question-drawer/src/index_20230614213400.scss +265 -0
- package/.history/packages/question-drawer/src/index_20230614213401.scss +270 -0
- package/.history/packages/question-drawer/src/index_20230614213431.scss +265 -0
- package/.history/packages/question-drawer/src/index_20230615100944.vue +1730 -0
- package/.history/packages/question-drawer/src/index_20230615100946.vue +1730 -0
- package/.history/packages/question-drawer/src/index_20230615100952.vue +1730 -0
- package/.history/packages/question-drawer/src/index_20230615100957.vue +1730 -0
- package/.history/packages/question-drawer/src/index_20230615104839.vue +1730 -0
- package/.history/packages/tabs/src/index_20230607165331.scss +60 -0
- package/.history/packages/tabs/src/index_20230614211226.scss +60 -0
- package/.history/packages/tabs/src/index_20230614211227.scss +61 -0
- package/.history/packages/tabs/src/index_20230614211253.scss +65 -0
- package/.history/packages/tabs/src/index_20230614211332.scss +60 -0
- package/.history/packages/wrong-detail/src/index_20230607221202.vue +570 -0
- package/.history/packages/wrong-detail/src/index_20230613120416.vue +570 -0
- package/.history/packages/wrong-detail/src/index_20230613120418.vue +569 -0
- package/.history/packages/wrong-detail/src/index_20230613120738.vue +568 -0
- package/.history/packages/wrong-detail/src/index_20230613120800.vue +568 -0
- package/.history/packages/wrong-detail/src/index_20230613120803.vue +568 -0
- package/.history/packages/wrong-detail/src/index_20230613120825.vue +568 -0
- package/.history/packages/wrong-detail/src/index_20230613120834.vue +569 -0
- package/.history/packages/wrong-detail/src/index_20230613121246.vue +568 -0
- package/.history/packages/wrong-detail/src/index_20230613155421.vue +574 -0
- package/.history/packages/wrong-detail/src/index_20230613155423.vue +574 -0
- package/.history/packages/wrong-detail/src/index_20230613155426.vue +574 -0
- package/.history/packages/wrong-drawer/src/index_20230607213124.vue +450 -0
- package/.history/packages/wrong-drawer/src/index_20230613104307.vue +450 -0
- package/.history/packages/wrong-drawer/src/index_20230613104315.vue +451 -0
- package/.history/packages/wrong-drawer/src/index_20230613104317.vue +451 -0
- package/.history/packages/wrong-drawer/src/index_20230613104334.vue +451 -0
- package/.history/packages/wrong-drawer/src/index_20230613104403.vue +450 -0
- package/.history/packages/wrong-drawer/src/index_20230613104405.vue +449 -0
- package/.history/packages/wrong-drawer/src/index_20230613104621.vue +458 -0
- package/.history/packages/wrong-drawer/src/index_20230613104626.vue +459 -0
- package/.history/packages/wrong-drawer/src/index_20230613104629.vue +457 -0
- package/.history/packages/wrong-drawer/src/index_20230613104630.vue +457 -0
- package/.history/packages/wrong-drawer/src/index_20230613104747.vue +464 -0
- package/.history/packages/wrong-drawer/src/index_20230613104749.vue +464 -0
- package/.history/packages/wrong-drawer/src/index_20230613104753.vue +464 -0
- package/.history/packages/wrong-drawer/src/index_20230613111237.vue +464 -0
- package/.history/packages/wrong-drawer/src/index_20230613111314.vue +464 -0
- package/.history/packages/wrong-drawer/src/index_20230613114319.vue +464 -0
- package/.history/packages/wrong-drawer/src/index_20230613114322.vue +464 -0
- package/.history/packages/wrong-drawer/src/index_20230613114901.vue +463 -0
- package/.history/packages/wrong-drawer/src/index_20230613114903.vue +462 -0
- package/.history/packages/wrong-drawer/src/index_20230613114904.vue +462 -0
- package/.history/packages/wrong-drawer/src/index_20230613114909.vue +462 -0
- package/.history/packages/wrong-drawer/src/index_20230613114936.vue +463 -0
- package/.history/packages/wrong-drawer/src/index_20230613114940.vue +463 -0
- package/.history/packages/wrong-drawer/src/index_20230613114942.vue +463 -0
- package/.history/packages/wrong-drawer/src/index_20230613115348.vue +487 -0
- package/.history/packages/wrong-drawer/src/index_20230613115352.vue +487 -0
- package/.history/packages/wrong-drawer/src/index_20230613115356.vue +487 -0
- package/.history/packages/wrong-drawer/src/index_20230613115408.vue +500 -0
- package/.history/packages/wrong-drawer/src/index_20230613115411.vue +500 -0
- package/.history/packages/wrong-drawer/src/index_20230613115414.vue +500 -0
- package/.history/packages/wrong-drawer/src/index_20230613144213.vue +499 -0
- package/.history/packages/wrong-drawer/src/index_20230613144215.vue +498 -0
- package/.history/packages/wrong-drawer/src/index_20230613144218.vue +497 -0
- package/.history/packages/wrong-drawer/src/index_20230613144223.vue +497 -0
- package/.history/packages/wrong-drawer/src/index_20230613144225.vue +497 -0
- package/.history/packages/wrong-drawer/src/index_20230613144229.vue +498 -0
- package/.history/packages/wrong-drawer/src/index_20230613144232.vue +498 -0
- package/.history/packages/wrong-drawer/src/index_20230613144316.vue +500 -0
- package/.history/packages/wrong-drawer/src/index_20230613144345.vue +500 -0
- package/.history/packages/wrong-drawer/src/index_20230613144346.vue +500 -0
- package/.history/packages/wrong-drawer/src/index_20230613145546.vue +498 -0
- package/.history/packages/wrong-drawer/src/index_20230613145548.vue +501 -0
- package/.history/packages/wrong-drawer/src/index_20230613145550.vue +500 -0
- package/.history/packages/wrong-drawer/src/index_20230613145602.vue +500 -0
- package/.history/packages/wrong-drawer/src/index_20230613145611.vue +500 -0
- package/.history/packages/wrong-drawer/src/index_20230613145625.vue +500 -0
- package/.history/packages/wrong-drawer/src/index_20230613145634.vue +500 -0
- package/.history/packages/wrong-drawer/src/index_20230613150805.vue +500 -0
- package/.history/packages/wrong-drawer/src/index_20230613150806.vue +501 -0
- package/.history/packages/wrong-drawer/src/index_20230613150809.vue +501 -0
- package/.history/packages/wrong-drawer/src/index_20230613150810.vue +501 -0
- package/README.md +14 -0
- package/api/index.js +388 -0
- package/dist/@focus-teach/ui.common.js +93058 -0
- package/dist/@focus-teach/ui.css +1 -0
- package/dist/@focus-teach/ui.umd.js +93068 -0
- package/dist/@focus-teach/ui.umd.min.js +25 -0
- package/dist/demo.html +10 -0
- package/dist/fonts/icomoon.356dc15f.woff +0 -0
- package/dist/fonts/icomoon.71d64f31.woff +0 -0
- package/dist/fonts/icomoon.7c9a60d9.eot +0 -0
- package/dist/fonts/icomoon.ba18ad87.eot +0 -0
- package/dist/fonts/icomoon.de76432e.ttf +0 -0
- package/dist/fonts/icomoon.ec37e716.ttf +0 -0
- package/dist/img/cloud_txt_24.87b9d2ae.svg +1 -0
- package/dist/img/icomoon.428f3063.svg +346 -0
- package/dist/img/icomoon.532b3795.svg +345 -0
- package/dist/img/icon_question.e931b16c.svg +14 -0
- package/mixins/emitter.js +33 -0
- package/package.json +45 -0
- package/postcss.config.js +19 -0
- package/style/icon/Read Me.txt +7 -0
- package/style/icon/demo-files/demo.css +152 -0
- package/style/icon/demo-files/demo.js +30 -0
- package/style/icon/demo.html +4042 -0
- package/style/icon/fonts/icomoon.eot +0 -0
- package/style/icon/fonts/icomoon.svg +346 -0
- package/style/icon/fonts/icomoon.ttf +0 -0
- package/style/icon/fonts/icomoon.woff +0 -0
- package/style/icon/selection.json +1 -0
- package/style/icon/style.css +1191 -0
- package/tests/unit/example.spec.js +13 -0
- package/utils/Constants.js +59 -0
- package/utils/assist.js +100 -0
- package/utils/changNumber.js +26 -0
- package/utils/common.js +109 -0
- package/utils/random_str.js +9 -0
|
@@ -0,0 +1,568 @@
|
|
|
1
|
+
<!--右侧抽屉-->
|
|
2
|
+
<template>
|
|
3
|
+
<ft-drawer>
|
|
4
|
+
<ft-exam-header
|
|
5
|
+
:childTitle="childTitle"
|
|
6
|
+
:mainTitle="mainTitle"
|
|
7
|
+
@goBack="goBack"
|
|
8
|
+
></ft-exam-header>
|
|
9
|
+
<div
|
|
10
|
+
class="question-quote-all"
|
|
11
|
+
v-show="!loadingBankData && !loadingError && itemInfoList.length > 0"
|
|
12
|
+
>
|
|
13
|
+
<div
|
|
14
|
+
:class="isAddAll ? 'quote-all-question' : 'quote-all-question-disable'"
|
|
15
|
+
@click="quoteAllWrongQuestions"
|
|
16
|
+
>
|
|
17
|
+
<i class="icon-add" style="margin-right: 4px"></i>
|
|
18
|
+
{{ i18n.xuanZeQuanBu }}
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
21
|
+
<div
|
|
22
|
+
v-infinite-scroll="changeCurrentPage"
|
|
23
|
+
:infinite-scroll-disabled="!hasMore"
|
|
24
|
+
infinite-scroll-distance="40"
|
|
25
|
+
>
|
|
26
|
+
<ft-header :options="sortList" @sort="headerSort" default-sort="scoreRate" v-show="itemInfoList.length">
|
|
27
|
+
{{ i18n.gong }}{{ totalRecord }}{{ i18n.daoTiMu }}
|
|
28
|
+
</ft-header>
|
|
29
|
+
<div id="wrong-detail-drawer-slot-id">
|
|
30
|
+
<ft-question
|
|
31
|
+
v-show="!loadingBankData && !loadingError && itemInfoList.length > 0"
|
|
32
|
+
v-for="(item, index) in itemInfoList"
|
|
33
|
+
:key="item.itemId"
|
|
34
|
+
:itemInfo="item"
|
|
35
|
+
:itemIndex="index + 1"
|
|
36
|
+
:fromWrong="true"
|
|
37
|
+
:studentsList="item.studentsList"
|
|
38
|
+
:mistakeContent="i18n.deFenLv+':' + (item.scoreRate ? item.scoreRate + '%' : '')"
|
|
39
|
+
:scoreContent="i18n.cuoWuRenShu+':' + (item.studentsList.length) + i18n.ren"
|
|
40
|
+
:examItemList="itemList"
|
|
41
|
+
:pointNames="item.pointNames ? getPointNamesStr(item.pointNames) : '--'"
|
|
42
|
+
:klNames="item.klNames ? getNamesStr(item.klNames) : '--'"
|
|
43
|
+
:skill="(item.basicSkills && item.basicSkills.length) ? getNamesStr(item.basicSkills) : '--'"
|
|
44
|
+
:answer="item.answer || '--'"
|
|
45
|
+
:analysis="item.analysis || '--'"
|
|
46
|
+
:itemCategoryName="item.categoryName"
|
|
47
|
+
:topicName="item.topicName"
|
|
48
|
+
:difficultyId="difficultyIdList[item.difficultyId]"
|
|
49
|
+
:difficultyName="item.difficultyName"
|
|
50
|
+
:audioFileId="item.audioFileId"
|
|
51
|
+
:itemFromType="item.itemFromType"
|
|
52
|
+
:content="item.content"
|
|
53
|
+
:updateTime="getUpdateTime(item.updateTime)"
|
|
54
|
+
:itemInfoId="item.itemId"
|
|
55
|
+
:rootItemInfoId="item.rootItemInfoId"
|
|
56
|
+
:itemSourceType="item.itemSourceType"
|
|
57
|
+
@showAnswer="getAnswer"
|
|
58
|
+
@getContent="getContent"
|
|
59
|
+
@choiceOrRemoveQuestion="choiceOrRemoveQuestion"
|
|
60
|
+
@toShowAudio="toShowAudio"
|
|
61
|
+
:fromType ='fromType'
|
|
62
|
+
:variantList="itemList"
|
|
63
|
+
></ft-question>
|
|
64
|
+
<ft-error v-show="!loadingBankData && loadingError">
|
|
65
|
+
<img class="error-img" :src="host + '/assets/prepare-course/list/img/error.7e494464.png'" alt="" />
|
|
66
|
+
</ft-error>
|
|
67
|
+
</div>
|
|
68
|
+
</div>
|
|
69
|
+
</ft-drawer>
|
|
70
|
+
</template>
|
|
71
|
+
|
|
72
|
+
<script>
|
|
73
|
+
import infiniteScroll from "vue-infinite-scroll";
|
|
74
|
+
import { Loading } from "element-ui";
|
|
75
|
+
import { getMistakeItems, getWrongQuestion, getQuestion } from "../../../api/index";
|
|
76
|
+
import { formatDate } from "../../../utils/common";
|
|
77
|
+
export default {
|
|
78
|
+
name: "FtWrongDetail",
|
|
79
|
+
// import引入的组件需要注入到对象中才能使用
|
|
80
|
+
components: {
|
|
81
|
+
[Loading.name]: Loading,
|
|
82
|
+
},
|
|
83
|
+
directives: { infiniteScroll },
|
|
84
|
+
props: {
|
|
85
|
+
//请求的参数,包含了当前所选择的信息
|
|
86
|
+
currentIndexParam: {
|
|
87
|
+
type: Object,
|
|
88
|
+
require: true,
|
|
89
|
+
},
|
|
90
|
+
//点击的当前的章节 || 知识点
|
|
91
|
+
currentSearchItem: {
|
|
92
|
+
type: Object,
|
|
93
|
+
default: {},
|
|
94
|
+
},
|
|
95
|
+
itemList:{
|
|
96
|
+
type: Array,
|
|
97
|
+
default:[]
|
|
98
|
+
},
|
|
99
|
+
fromType:{
|
|
100
|
+
typeof:String,
|
|
101
|
+
default:''
|
|
102
|
+
},
|
|
103
|
+
i18n:{
|
|
104
|
+
type:Object
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
data() {
|
|
108
|
+
// 这里存放数据
|
|
109
|
+
return {
|
|
110
|
+
host: window.location.origin,
|
|
111
|
+
//首次请求
|
|
112
|
+
isLoading: true,
|
|
113
|
+
//是否正在加载题目数据
|
|
114
|
+
loadingBankData: false,
|
|
115
|
+
//加载题目数据是否失败
|
|
116
|
+
loadingError: false,
|
|
117
|
+
//题目数据集合
|
|
118
|
+
itemInfoList: [],
|
|
119
|
+
//分页信息
|
|
120
|
+
pageInfo: {},
|
|
121
|
+
//题目总数
|
|
122
|
+
totalRecord: undefined,
|
|
123
|
+
//接口请求参数
|
|
124
|
+
requestParam: {},
|
|
125
|
+
currPage: 0, //当前页面
|
|
126
|
+
pageError: false,
|
|
127
|
+
loading: false,
|
|
128
|
+
hasMore: true,
|
|
129
|
+
isChangePage: false,
|
|
130
|
+
mainTitle: "",
|
|
131
|
+
childTitle: "",
|
|
132
|
+
itemsList: [], //左侧题目集合
|
|
133
|
+
isAddAll: true, // true:全部引用 || false:非全部引用
|
|
134
|
+
wrongIdsList: [], //右侧错题题库的题目id集合
|
|
135
|
+
isCheckingStatus: false, //是否正在检查按钮状态
|
|
136
|
+
sortList: [
|
|
137
|
+
{
|
|
138
|
+
label: "得分率",
|
|
139
|
+
key: "scoreRate",
|
|
140
|
+
sortOrder: true,
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
label: "错误人数",
|
|
144
|
+
key: "mistakeCount",
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
label: "更新时间",
|
|
148
|
+
key: "updateTime",
|
|
149
|
+
},
|
|
150
|
+
],
|
|
151
|
+
difficultyIdList:{
|
|
152
|
+
1:'Xm4FWr0dncw',
|
|
153
|
+
2:'VKs9wA1QAqk',
|
|
154
|
+
3:'CQrZsSwiESg',
|
|
155
|
+
4:'79udksVCTQ0',
|
|
156
|
+
5:'KfqHpbiMBXg'
|
|
157
|
+
},
|
|
158
|
+
};
|
|
159
|
+
},
|
|
160
|
+
//监控data中的数据变化
|
|
161
|
+
watch: {
|
|
162
|
+
itemList: function (n, o) {
|
|
163
|
+
this.itemsList = n;
|
|
164
|
+
console.log('jiantingitemlist',this.itemsList)
|
|
165
|
+
this.judgeButtonStatus();
|
|
166
|
+
},
|
|
167
|
+
wrongIdsList: function (n, o) {
|
|
168
|
+
this.wrongIdsList = n;
|
|
169
|
+
this.judgeButtonStatus();
|
|
170
|
+
},
|
|
171
|
+
},
|
|
172
|
+
methods: {
|
|
173
|
+
goBack() {
|
|
174
|
+
let dic = {
|
|
175
|
+
activeIndex: 1,
|
|
176
|
+
};
|
|
177
|
+
this.$emit("eventbus-emit","changeDrawerType","changeDrawerType",JSON.stringify(dic))
|
|
178
|
+
},
|
|
179
|
+
quoteAllWrongQuestions() {
|
|
180
|
+
if (!this.isAddAll) {
|
|
181
|
+
return;
|
|
182
|
+
}
|
|
183
|
+
this.$emit("addAllQuestion",this.itemInfoList)
|
|
184
|
+
},
|
|
185
|
+
headerSort(item) {
|
|
186
|
+
console.log(item.key,item.sortOrder);
|
|
187
|
+
if(item.key == 'updateTime'){
|
|
188
|
+
let dic = { mistakeOrderByFieldEnum: "updateTime",orderBy: item.sortOrder ? 1 :2 };
|
|
189
|
+
this.$emit("changeMistakeDetailIndexParam", "changeOrder", JSON.stringify(dic));
|
|
190
|
+
} else if(item.key == 'mistakeCount'){
|
|
191
|
+
let dic = { mistakeOrderByFieldEnum: "mistakeCount",orderBy: item.sortOrder ? 1 :2 };
|
|
192
|
+
this.$emit("changeMistakeDetailIndexParam", "changeOrder", JSON.stringify(dic));
|
|
193
|
+
} else {
|
|
194
|
+
let dic = { mistakeOrderByFieldEnum: "errorRate",orderBy: item.sortOrder ? 1 :2 };
|
|
195
|
+
this.$emit("changeMistakeDetailIndexParam", "changeOrder", JSON.stringify(dic));
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
},
|
|
199
|
+
getContent(itemInfo){
|
|
200
|
+
let currentItem = this.itemInfoList.find(
|
|
201
|
+
(item) => item.itemId == itemInfo.itemId
|
|
202
|
+
);
|
|
203
|
+
getWrongQuestion({ itemId: itemInfo.itemId }, (res) => {
|
|
204
|
+
this.$set(currentItem, "content", res.data.value.html);
|
|
205
|
+
});
|
|
206
|
+
},
|
|
207
|
+
//选题 || 移除
|
|
208
|
+
choiceOrRemoveQuestion(itemInfo, isAdd) {
|
|
209
|
+
this.$emit("choiceOrRemoveQuestion",itemInfo,isAdd)
|
|
210
|
+
},
|
|
211
|
+
getUpdateTime(timeStr) {
|
|
212
|
+
var oneTime = new Date(timeStr).getTime();
|
|
213
|
+
var date = new Date(oneTime);
|
|
214
|
+
return formatDate(date, "yyyy-MM-dd hh:mm");
|
|
215
|
+
},
|
|
216
|
+
toShowAudio(itemInfo,itemIndex){
|
|
217
|
+
let dic = {
|
|
218
|
+
questionIndex: itemIndex,
|
|
219
|
+
fileId: itemInfo.audioFileId,
|
|
220
|
+
};
|
|
221
|
+
EventBus.$emit("toShowAudio", "toShowAudio", JSON.stringify(dic));
|
|
222
|
+
},
|
|
223
|
+
getAnswer(itemInfo) {
|
|
224
|
+
let _this = this;
|
|
225
|
+
let currentItem = this.itemInfoList.find(
|
|
226
|
+
(item) => item.itemId == itemInfo.itemId
|
|
227
|
+
);
|
|
228
|
+
if (
|
|
229
|
+
(itemInfo.itemType == "3" || itemInfo.itemType == "6") &&
|
|
230
|
+
itemInfo.correctAnswer &&
|
|
231
|
+
itemInfo.correctAnswer.length > 0
|
|
232
|
+
) {
|
|
233
|
+
getQuestion({ itemId: itemInfo.correctAnswer }, (res) => {
|
|
234
|
+
if (!res) {
|
|
235
|
+
return;
|
|
236
|
+
}
|
|
237
|
+
//取出题目数据
|
|
238
|
+
this.$set(currentItem, "answer", res.data);
|
|
239
|
+
});
|
|
240
|
+
} else if (itemInfo.itemType == 7) {
|
|
241
|
+
var answerArr = itemInfo.correctAnswer.split(",") || [];
|
|
242
|
+
var fiveArr = [],tempStr = ""; //将组合单选题答案五五放到一个数组展示
|
|
243
|
+
answerArr && answerArr.length && answerArr.map(function (item, idx) {
|
|
244
|
+
if (idx % 5 !== 0 || idx == 0) {
|
|
245
|
+
tempStr += item;
|
|
246
|
+
} else {
|
|
247
|
+
fiveArr.push(tempStr);
|
|
248
|
+
tempStr = item;
|
|
249
|
+
}
|
|
250
|
+
if (idx == answerArr.length - 1) {
|
|
251
|
+
fiveArr.push(tempStr);
|
|
252
|
+
}
|
|
253
|
+
});
|
|
254
|
+
this.$set(currentItem, "answer", fiveArr.join(";"));
|
|
255
|
+
} else {
|
|
256
|
+
this.$set(currentItem, "answer", itemInfo.correctAnswer);
|
|
257
|
+
}
|
|
258
|
+
if (itemInfo.itemAnalysis && itemInfo.itemAnalysis.length > 0) {
|
|
259
|
+
getQuestion({ itemId: itemInfo.itemAnalysis }, (res) => {
|
|
260
|
+
if (!res) {
|
|
261
|
+
return;
|
|
262
|
+
}
|
|
263
|
+
//取出题目数据
|
|
264
|
+
this.$set(currentItem, "analysis", res.data);
|
|
265
|
+
});
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
getPointNamesStr(tempArr) {
|
|
269
|
+
if (tempArr.length == 1) {
|
|
270
|
+
return tempArr[0].pointName;
|
|
271
|
+
} else {
|
|
272
|
+
var tempStr = "";
|
|
273
|
+
for (let index = 0; index < tempArr.length; index++) {
|
|
274
|
+
tempStr += tempArr[index].pointName;
|
|
275
|
+
if (index != tempArr.length - 1) {
|
|
276
|
+
tempStr += ",";
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
return tempStr;
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
//知识点
|
|
283
|
+
getNamesStr(tempArr) {
|
|
284
|
+
if (tempArr.length == 1) {
|
|
285
|
+
return tempArr[0];
|
|
286
|
+
} else {
|
|
287
|
+
var tempStr = "";
|
|
288
|
+
for (let index = 0; index < tempArr.length; index++) {
|
|
289
|
+
tempStr += tempArr[index];
|
|
290
|
+
if (index != tempArr.length - 1) {
|
|
291
|
+
tempStr += ",";
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
return tempStr;
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
judgeButtonStatus() {
|
|
298
|
+
if (this.isCheckingStatus) {
|
|
299
|
+
return;
|
|
300
|
+
}
|
|
301
|
+
console.log("judgeButtonStatus---111---", this.itemsList);
|
|
302
|
+
console.log("judgeButtonStatus---222---", this.wrongIdsList);
|
|
303
|
+
this.isCheckingStatus = true;
|
|
304
|
+
this.isAddAll = false;
|
|
305
|
+
if ((this.fromType == 'variant' && this.itemsList.length == 10) || this.wrongIdsList.length == 0) {
|
|
306
|
+
this.isCheckingStatus = false;
|
|
307
|
+
return;
|
|
308
|
+
}
|
|
309
|
+
if (
|
|
310
|
+
this.itemsList.length == 0 ||
|
|
311
|
+
this.itemsList.length < this.wrongIdsList.length
|
|
312
|
+
) {
|
|
313
|
+
this.isCheckingStatus = false;
|
|
314
|
+
this.isAddAll = true;
|
|
315
|
+
return;
|
|
316
|
+
}
|
|
317
|
+
let tempItemIds = [];
|
|
318
|
+
this.itemsList.forEach((element) => {
|
|
319
|
+
tempItemIds.push(this.fromType='variant' ? element.variantItemId : element.itemId);
|
|
320
|
+
});
|
|
321
|
+
console.log("judgeButtonStatus---333---", tempItemIds);
|
|
322
|
+
this.wrongIdsList.forEach((element) => {
|
|
323
|
+
if (tempItemIds.indexOf(element) < 0) {
|
|
324
|
+
this.isAddAll = true;
|
|
325
|
+
this.isCheckingStatus = false;
|
|
326
|
+
return;
|
|
327
|
+
}
|
|
328
|
+
});
|
|
329
|
+
this.isCheckingStatus = false;
|
|
330
|
+
},
|
|
331
|
+
setListener() {
|
|
332
|
+
let _this = this;
|
|
333
|
+
//改变 requestParam 参数,重新请求index接口
|
|
334
|
+
this.$off("changeMistakeDetailIndexParam"); //避免重复响应同一事件
|
|
335
|
+
this.$on("changeMistakeDetailIndexParam", function (action, msg) {
|
|
336
|
+
if (action == "retryRequest") {
|
|
337
|
+
//加载失败后的重新请求 || 删除题目后刷新题目数据
|
|
338
|
+
_this.requestParam["page"] = 1;
|
|
339
|
+
console.log("retryRequest---:", _this.requestParam);
|
|
340
|
+
_this.requestBankData();
|
|
341
|
+
return;
|
|
342
|
+
}
|
|
343
|
+
let dic = JSON.parse(msg);
|
|
344
|
+
console.log("changeMistakeItems---:", dic);
|
|
345
|
+
for (let key in dic) {
|
|
346
|
+
let value = dic[key];
|
|
347
|
+
_this.requestParam[key] = value;
|
|
348
|
+
}
|
|
349
|
+
_this.requestParam["page"] = 1;
|
|
350
|
+
//请求题目数据
|
|
351
|
+
_this.requestBankData();
|
|
352
|
+
});
|
|
353
|
+
},
|
|
354
|
+
/*
|
|
355
|
+
**请求题库数据
|
|
356
|
+
* 筛选条件时请求
|
|
357
|
+
*/
|
|
358
|
+
requestBankData() {
|
|
359
|
+
let _this = this;
|
|
360
|
+
_this.loadingError = false;
|
|
361
|
+
_this.loadingBankData = true;
|
|
362
|
+
_this.loading = true;
|
|
363
|
+
_this.asyncGetUserOperateDataInfoForBankData();
|
|
364
|
+
},
|
|
365
|
+
//筛选条件时请求获取用户信息
|
|
366
|
+
async asyncGetUserOperateDataInfoForBankData() {
|
|
367
|
+
let _this = this;
|
|
368
|
+
let dom = document.getElementById("wrong-detail-drawer-slot-id");
|
|
369
|
+
let loadingInstance = Loading.service({
|
|
370
|
+
target: dom,
|
|
371
|
+
text: _this.i18n.jiaZaiZhong,
|
|
372
|
+
});
|
|
373
|
+
getMistakeItems(_this.requestParam, (res) => {
|
|
374
|
+
_this.loadingBankData = false;
|
|
375
|
+
_this.loading = false;
|
|
376
|
+
this.$nextTick(() => {
|
|
377
|
+
// 以服务的方式调用的 Loading 需要异步关闭
|
|
378
|
+
loadingInstance.close();
|
|
379
|
+
});
|
|
380
|
+
if (typeof res === "string") res = JSON.parse(res);
|
|
381
|
+
if (res && res.code == 0) {
|
|
382
|
+
//将所有错题id数据存在
|
|
383
|
+
//_this.$store.commit("saveWrongQuestionsIdList", res.value.itemIdList);
|
|
384
|
+
_this.wrongIdsList = res.value.itemIdList
|
|
385
|
+
//取出题目数据
|
|
386
|
+
_this.loadingError = false;
|
|
387
|
+
_this.itemInfoList = res.value.outList;
|
|
388
|
+
_this.mainTitle = res.value.mainTitle;
|
|
389
|
+
_this.childTitle = res.value.childTitle;
|
|
390
|
+
_this.totalRecord = res.value.page.totalRecord;
|
|
391
|
+
_this.currPage = res.value.page.currentPage;
|
|
392
|
+
if (_this.itemInfoList.length >= _this.totalRecord) {
|
|
393
|
+
_this.hasMore = false;
|
|
394
|
+
} else {
|
|
395
|
+
_this.hasMore = true;
|
|
396
|
+
}
|
|
397
|
+
_this.pageInfo = {
|
|
398
|
+
currPage: res.value.page.currentPage,
|
|
399
|
+
totalPage: res.value.page.totalPage,
|
|
400
|
+
perPage: res.value.page.perPageInt,
|
|
401
|
+
};
|
|
402
|
+
} else {
|
|
403
|
+
//请求题目数据报错
|
|
404
|
+
_this.loadingError = true;
|
|
405
|
+
_this.itemInfoList = [];
|
|
406
|
+
_this.pageInfo = {};
|
|
407
|
+
}
|
|
408
|
+
});
|
|
409
|
+
},
|
|
410
|
+
//改变右侧栏宽度
|
|
411
|
+
changeSize(e) {
|
|
412
|
+
document.onmousemove = (e) => {
|
|
413
|
+
e.stopPropagation();
|
|
414
|
+
document.body.style.cursor = "w-resize";
|
|
415
|
+
let addWidth = this.$refs.drawer.offsetLeft - e.clientX;
|
|
416
|
+
let curWidth = this.$refs.drawer.offsetWidth;
|
|
417
|
+
this.$refs.drawer.style.width = `${curWidth + addWidth}px`;
|
|
418
|
+
};
|
|
419
|
+
document.onmouseup = (e) => {
|
|
420
|
+
e.stopPropagation();
|
|
421
|
+
document.onmousemove = null;
|
|
422
|
+
document.onmouseup = null;
|
|
423
|
+
document.body.style.cursor = "default";
|
|
424
|
+
};
|
|
425
|
+
},
|
|
426
|
+
//改变当前页
|
|
427
|
+
changeCurrentPage() {
|
|
428
|
+
let _this = this;
|
|
429
|
+
if (_this.itemInfoList.length >= _this.totalRecord) {
|
|
430
|
+
_this.hasMore = false;
|
|
431
|
+
return;
|
|
432
|
+
}
|
|
433
|
+
if (_this.currPage == 0 || _this.isChangePage) {
|
|
434
|
+
return;
|
|
435
|
+
}
|
|
436
|
+
_this.isChangePage = true;
|
|
437
|
+
let dic = _this.requestParam;
|
|
438
|
+
dic["page"] = _this.currPage + 1;
|
|
439
|
+
_this.requestPageBank(dic);
|
|
440
|
+
},
|
|
441
|
+
/*
|
|
442
|
+
**请求题库数据
|
|
443
|
+
* 筛选条件时请求
|
|
444
|
+
*/
|
|
445
|
+
requestPageBank(param) {
|
|
446
|
+
let _this = this;
|
|
447
|
+
_this.pageError = false;
|
|
448
|
+
_this.loading = true;
|
|
449
|
+
let dom = document.getElementById("wrong-detail-drawer-slot-id");
|
|
450
|
+
let loadingInstance = Loading.service({
|
|
451
|
+
target: dom,
|
|
452
|
+
text: _this.i18n.jiaZaiZhong,
|
|
453
|
+
});
|
|
454
|
+
getMistakeItems(param, (res) => {
|
|
455
|
+
_this.loading = false;
|
|
456
|
+
if (typeof res === "string") res = JSON.parse(res);
|
|
457
|
+
if (res && res.code == 0) {
|
|
458
|
+
//将所有错题id数据存在
|
|
459
|
+
// _this.$store.commit("saveWrongQuestionsIdList", res.value.itemIdList);
|
|
460
|
+
_this.wrongIdsList = res.value.itemIdList
|
|
461
|
+
//取出题目数据
|
|
462
|
+
_this.pageError = false;
|
|
463
|
+
_this.currPage = res.value.page.currentPage;
|
|
464
|
+
_this.totalRecord = res.value.page.totalRecord;
|
|
465
|
+
_this.mainTitle = res.value.mainTitle;
|
|
466
|
+
_this.childTitle = res.value.childTitle;
|
|
467
|
+
_this.itemInfoList = _this.itemInfoList.concat(res.value.outList);
|
|
468
|
+
if (_this.itemInfoList.length >= _this.totalRecord) {
|
|
469
|
+
_this.hasMore = false;
|
|
470
|
+
} else {
|
|
471
|
+
_this.hasMore = true;
|
|
472
|
+
}
|
|
473
|
+
loadingInstance.close()
|
|
474
|
+
} else {
|
|
475
|
+
//请求题目数据报错
|
|
476
|
+
_this.pageError = true;
|
|
477
|
+
}
|
|
478
|
+
_this.isChangePage = false;
|
|
479
|
+
});
|
|
480
|
+
},
|
|
481
|
+
},
|
|
482
|
+
created() {},
|
|
483
|
+
mounted() {
|
|
484
|
+
let _this = this;
|
|
485
|
+
this.itemsList = this.itemList
|
|
486
|
+
console.log('jiantingitemlist',this.itemList)
|
|
487
|
+
_this.requestParam = _this.currentIndexParam;
|
|
488
|
+
if (_this.requestParam.knowledgeSource == "CHAPTER") {
|
|
489
|
+
_this.requestParam["teachMaterialId"] =
|
|
490
|
+
_this.currentSearchItem.enTeachMaterialId;
|
|
491
|
+
if (_this.currentSearchItem.courseId.indexOf("temp") < 0) {
|
|
492
|
+
_this.requestParam["courseId"] = _this.currentSearchItem.courseId;
|
|
493
|
+
}
|
|
494
|
+
_this.requestParam["termIndex"] = _this.currentSearchItem.termIndex;
|
|
495
|
+
} else {
|
|
496
|
+
_this.requestParam["klId"] = _this.currentSearchItem.klId;
|
|
497
|
+
}
|
|
498
|
+
_this.requestParam["gradeId"] = _this.currentSearchItem.classificationId;
|
|
499
|
+
_this.requestParam["mistakeOrderByFieldEnum"] = "errorRate"; //排序字段【errorRate:错误率|updateTime:更新时间】
|
|
500
|
+
_this.requestParam["orderBy"] = 1; //排序【1:升序、2:降序】
|
|
501
|
+
_this.setListener();
|
|
502
|
+
_this.requestBankData();
|
|
503
|
+
},
|
|
504
|
+
};
|
|
505
|
+
</script>
|
|
506
|
+
|
|
507
|
+
<style scoped>
|
|
508
|
+
.question-quote-all {
|
|
509
|
+
height: 40px;
|
|
510
|
+
margin-top: 16px;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
.quote-all-question-disable {
|
|
514
|
+
display: flex;
|
|
515
|
+
align-items: center;
|
|
516
|
+
justify-content: center;
|
|
517
|
+
float: right;
|
|
518
|
+
margin-top: 8px;
|
|
519
|
+
margin-right: 16px;
|
|
520
|
+
width: 92px;
|
|
521
|
+
height: 24px;
|
|
522
|
+
line-height: 24px;
|
|
523
|
+
border-radius: 4px;
|
|
524
|
+
text-align: center;
|
|
525
|
+
font-size: 14px;
|
|
526
|
+
color: #ffffff;
|
|
527
|
+
font-family: MicrosoftYaHei;
|
|
528
|
+
background: #cccccc;
|
|
529
|
+
cursor: not-allowed;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
.quote-all-question {
|
|
533
|
+
display: flex;
|
|
534
|
+
align-items: center;
|
|
535
|
+
justify-content: center;
|
|
536
|
+
float: right;
|
|
537
|
+
margin-top: 8px;
|
|
538
|
+
margin-right: 16px;
|
|
539
|
+
width: 92px;
|
|
540
|
+
height: 24px;
|
|
541
|
+
line-height: 24px;
|
|
542
|
+
border-radius: 4px;
|
|
543
|
+
text-align: center;
|
|
544
|
+
font-size: 14px;
|
|
545
|
+
color: #ffffff;
|
|
546
|
+
font-family: MicrosoftYaHei;
|
|
547
|
+
background: #ff9800;
|
|
548
|
+
cursor: pointer;
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
.quote-all-question:hover {
|
|
552
|
+
background: #ff6f00;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
.quote-all-question:active {
|
|
556
|
+
background: #e68a00;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
.page-contro {
|
|
560
|
+
width: 100%;
|
|
561
|
+
height: 40px;
|
|
562
|
+
text-align: center;
|
|
563
|
+
font-size: 14px;
|
|
564
|
+
line-height: 40px;
|
|
565
|
+
color: #333;
|
|
566
|
+
}
|
|
567
|
+
</style>
|
|
568
|
+
|