From 6403d33eaf9453000248c7cbbcfaf443ba8a1c6d Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Tue, 13 Aug 2024 17:46:27 +0800 Subject: [PATCH] fix --- package-lock.json | 15 ++- package.json | 2 +- .../plugins/gapfilling/gapfilling.css | 2 +- src/api/index.js | 1 + .../{ueditor => ueditorPlus}/index.vue | 0 src/pages/ques/detail/index.vue | 18 ++-- src/pages/ques/list/index.vue | 78 +++++++++++++--- src/pages/testPaper/detail/index.vue | 93 +++++++++++-------- src/pages/testPaper/list/index.vue | 4 +- 9 files changed, 145 insertions(+), 68 deletions(-) rename src/components/{ueditor => ueditorPlus}/index.vue (100%) diff --git a/package-lock.json b/package-lock.json index 575dea3..041e926 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15519,11 +15519,18 @@ "integrity": "sha512-EJkYLyyzgOJTxGreiZ9wrmXthIMVVRSeFTzV6n0OR9w4aeqW79Prvog4jZ4G0kkmW3TTTBbZtHM9VNHEl6LJDA==" }, "vuedraggable": { - "version": "2.23.2", - "resolved": "https://registry.npmjs.org/vuedraggable/-/vuedraggable-2.23.2.tgz", - "integrity": "sha512-PgHCjUpxEAEZJq36ys49HfQmXglattf/7ofOzUrW2/rRdG7tu6fK84ir14t1jYv4kdXewTEa2ieKEAhhEMdwkQ==", + "version": "2.24.3", + "resolved": "https://registry.npmjs.org/vuedraggable/-/vuedraggable-2.24.3.tgz", + "integrity": "sha512-6/HDXi92GzB+Hcs9fC6PAAozK1RLt1ewPTLjK0anTYguXLAeySDmcnqE8IC0xa7shvSzRjQXq3/+dsZ7ETGF3g==", "requires": { - "sortablejs": "^1.10.1" + "sortablejs": "1.10.2" + }, + "dependencies": { + "sortablejs": { + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/sortablejs/-/sortablejs-1.10.2.tgz", + "integrity": "sha512-YkPGufevysvfwn5rfdlGyrGjt7/CRHwvRPogD/lC+TnvcN29jDpCifKP+rBqf+LRldfXSTh+0CGLcSg0VIxq3A==" + } } }, "vuex": { diff --git a/package.json b/package.json index 9c38cce..9f8261f 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "vue-schart": "^2.0.0", "vue-seamless-scroll": "^1.1.23", "vue-ueditor-wrap": "^2.5.6", - "vuedraggable": "^2.17.0", + "vuedraggable": "^2.24.3", "vuex": "^3.4.0" }, "devDependencies": { diff --git a/public/static/ueditorPlus/plugins/gapfilling/gapfilling.css b/public/static/ueditorPlus/plugins/gapfilling/gapfilling.css index 52af2a1..e0f1bf6 100644 --- a/public/static/ueditorPlus/plugins/gapfilling/gapfilling.css +++ b/public/static/ueditorPlus/plugins/gapfilling/gapfilling.css @@ -6,7 +6,7 @@ body .edui-default .edui-toolbar .edui-button.edui-for-gapfilling .edui-icon { outline: none !important; } .edui-for-gapfilling .edui-icon::after { - content: "点击插入填空题"; + content: "点击插入填空项"; position: absolute; left: 6px; color: #333; diff --git a/src/api/index.js b/src/api/index.js index 04b4365..5cb6a65 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -70,4 +70,5 @@ export default { disableOrEnableQuestion: `/exam/exam/questions/disableOrEnableQuestion`, findAllByQuestionBank: `/exam/exam/questions/findAllByQuestionBank`, selectQuestionsByTypeAndDifficulty: `/exam/exam/questions/selectQuestionsByTypeAndDifficulty`, + removeQuestionKnowledge: `/exam/exam/questions/removeQuestionKnowledge`, } \ No newline at end of file diff --git a/src/components/ueditor/index.vue b/src/components/ueditorPlus/index.vue similarity index 100% rename from src/components/ueditor/index.vue rename to src/components/ueditorPlus/index.vue diff --git a/src/pages/ques/detail/index.vue b/src/pages/ques/detail/index.vue index 781f670..be86930 100644 --- a/src/pages/ques/detail/index.vue +++ b/src/pages/ques/detail/index.vue @@ -34,7 +34,7 @@ - + - + @@ -128,13 +128,13 @@ - - + @@ -178,7 +178,7 @@ - + 确定 取消 @@ -189,7 +189,7 @@