Commit b754316f3ce354e01860ce646c8afd046871356a
1 parent
fc3b987b
wip: bug修复
Showing
2 changed files
with
27 additions
and
12 deletions
src/views/basic/askTestQuestion/components/wrongQuestionDialog.vue
... | ... | @@ -37,6 +37,7 @@ |
37 | 37 | style="padding: 0 200px" |
38 | 38 | /> |
39 | 39 | </div> |
40 | + <div></div> | |
40 | 41 | <div class="test-group"> |
41 | 42 | <div |
42 | 43 | class="outer-item" |
... | ... | @@ -158,10 +159,18 @@ |
158 | 159 | >分 |
159 | 160 | </div> |
160 | 161 | <div class="edit-button"> |
161 | - <el-button class="button-width" type="primary" @click="handleSava" | |
162 | + <el-button | |
163 | + :disabled="testData.length < 1" | |
164 | + class="button-width" | |
165 | + type="primary" | |
166 | + @click="handleSava" | |
162 | 167 | >保存试卷</el-button |
163 | 168 | > |
164 | - <el-button class="button-width" plain @click="handleSava('print')" | |
169 | + <el-button | |
170 | + :disabled="testData.length < 1" | |
171 | + class="button-width" | |
172 | + plain | |
173 | + @click="handleSava('print')" | |
165 | 174 | >保存并打印</el-button |
166 | 175 | > |
167 | 176 | <el-button |
... | ... | @@ -727,6 +736,11 @@ export default { |
727 | 736 | ); |
728 | 737 | this.$emit("setQuestions"); |
729 | 738 | this.handleClose(); |
739 | + this.$message({ | |
740 | + message: "已保存到“即时测-组卷-我自编的", | |
741 | + type: "success", | |
742 | + }); | |
743 | + | |
730 | 744 | if (type == "print") { |
731 | 745 | this.$request |
732 | 746 | .tPaperDetail({ |
... | ... | @@ -743,7 +757,7 @@ export default { |
743 | 757 | // 清空 |
744 | 758 | handleClear() { |
745 | 759 | this.$confirm("确定要清空试题篮内的全部题目吗?", "提示", { |
746 | - confirmButtonText: "确定", | |
760 | + confirmButtonText: "清空", | |
747 | 761 | cancelButtonText: "取消", |
748 | 762 | confirmButtonClass: "el-button--danger1", |
749 | 763 | cancelButtonClass: "el-button--primary", |
... | ... | @@ -804,7 +818,7 @@ export default { |
804 | 818 | .test { |
805 | 819 | flex: 1; |
806 | 820 | height: fit-content; |
807 | - max-height: 742px; | |
821 | + height: 742px; | |
808 | 822 | overflow-y: auto; |
809 | 823 | box-shadow: 0 0 10px 0 #cfcfcf; |
810 | 824 | margin-right: 20px; | ... | ... |
src/views/basic/askTestQuestion/wrongQuestion.vue
1 | 1 | <template> |
2 | 2 | <div class="page-content" v-loading="queryLoading"> |
3 | 3 | <div class="page-title"> |
4 | - <span class="default-title">错题组卷</span> | |
4 | + <span class="default-title" | |
5 | + >错题组卷 | |
6 | + <span class="font-weight size" style="color: #666666" | |
7 | + >(暂仅包含即时测内使用"导入的试卷"测验后产生的错题,不包含授课端截屏保存的错题)</span | |
8 | + ></span | |
9 | + > | |
10 | + | |
5 | 11 | <div> |
6 | 12 | <el-select |
7 | 13 | v-model="formData.grade" |
... | ... | @@ -172,7 +178,6 @@ |
172 | 178 | </div> |
173 | 179 | |
174 | 180 | <iframe |
175 | - class="topic-info" | |
176 | 181 | :src="item.screenshot" |
177 | 182 | :ref="'iframe' + index" |
178 | 183 | style="width: 100%; border: none" |
... | ... | @@ -206,7 +211,7 @@ |
206 | 211 | plain |
207 | 212 | style="padding: 5px 10px; margin-right: 20px" |
208 | 213 | @click="handleDel(item)" |
209 | - >移除试卷</el-button | |
214 | + >移出试卷</el-button | |
210 | 215 | > |
211 | 216 | </div> |
212 | 217 | </div> |
... | ... | @@ -243,7 +248,7 @@ |
243 | 248 | v-else |
244 | 249 | plain |
245 | 250 | style="padding: 5px 10px; margin-right: 20px" |
246 | - >移除本页</el-button | |
251 | + >移出本页</el-button | |
247 | 252 | > |
248 | 253 | </div> |
249 | 254 | <div class="shopping" @click="handleShop"> |
... | ... | @@ -738,10 +743,6 @@ export default { |
738 | 743 | padding: 0 20px; |
739 | 744 | border-radius: 5px 5px 0 0; |
740 | 745 | } |
741 | - .topic-info { | |
742 | - overflow-y: auto; | |
743 | - max-height: 300px; | |
744 | - } | |
745 | 746 | .topic-bottom { |
746 | 747 | height: 45px; |
747 | 748 | display: flex; | ... | ... |