瀏覽代碼

填空题simple

OnePsycho 4 年之前
父節點
當前提交
44f75f9bf9

+ 1 - 1
TEAMModelOS/ClientApp/src/view/evaluation/types/BaseCompletion.vue

@@ -116,6 +116,7 @@
 								}
 								}
 							}
 							}
 						},
 						},
+						this.$editorTools.initSimpleEditor(editor)
 						editor.create()
 						editor.create()
 					})
 					})
 				}
 				}
@@ -176,7 +177,6 @@
 				that.isStemFocus = false
 				that.isStemFocus = false
 			}
 			}
 
 
-			completionEditor.config.uploadImgShowBase64 = true;
 			this.$editorTools.addVideoUpload(this, completionEditor)
 			this.$editorTools.addVideoUpload(this, completionEditor)
 			this.$editorTools.addAudio(this, completionEditor)
 			this.$editorTools.addAudio(this, completionEditor)
 			this.$editorTools.initMyEditor(completionEditor)
 			this.$editorTools.initMyEditor(completionEditor)

+ 2 - 2
TEAMModelOS/ClientApp/src/view/learnactivity/AutoCreateNew.vue

@@ -6,8 +6,8 @@
 				<span class="filter-title">题目来源 : </span>
 				<span class="filter-title">题目来源 : </span>
 				<div class="filter-content">
 				<div class="filter-content">
 					<CheckboxGroup v-model="filterOrigin">
 					<CheckboxGroup v-model="filterOrigin">
-						<Checkbox label="private" v-if="!isSchoolPaper">个人题库</Checkbox>
-						<Checkbox label="school">校本题库</Checkbox>
+						<Checkbox label="private" v-if="!isSchoolPaper" :disabled="filterOrigin.length === 1 && filterOrigin[0] === 'private'">个人题库</Checkbox>
+						<Checkbox label="school"  :disabled="filterOrigin.length === 1 && filterOrigin[0] === 'school'">校本题库</Checkbox>
 					</CheckboxGroup>
 					</CheckboxGroup>
 				</div>
 				</div>
 			</div>
 			</div>