|
@@ -40,7 +40,7 @@
|
|
|
<span v-else>无</span>
|
|
|
</div>
|
|
|
|
|
|
- <span>题目内容</span>
|
|
|
+ <span v-if="![7,1,3].includes(toolType)">题目内容</span>
|
|
|
|
|
|
<div v-if="[45].includes(toolType) && testJson">
|
|
|
<div
|
|
@@ -267,8 +267,28 @@
|
|
|
</div>
|
|
|
<div v-if="[7,1,3].includes(toolType)" class="s_b_m_b_i_m_iframe">
|
|
|
<div v-if="[3].includes(toolType)">
|
|
|
- <iframe></iframe>
|
|
|
+ <iframe
|
|
|
+ allow="camera *; microphone *;display-capture;midi;encrypted-media;"
|
|
|
+ src="https://beta.cloud.cocorobo.cn/kityminder-editor/dist/index.html"
|
|
|
+ ref="iframeMainMapRef"
|
|
|
+ ></iframe>
|
|
|
</div>
|
|
|
+
|
|
|
+ <div v-if="[1].includes(toolType)">
|
|
|
+ <iframe
|
|
|
+ allow="camera *; microphone *;display-capture;midi;encrypted-media;"
|
|
|
+ src="https://beta.iwb.cocorobo.cn/"
|
|
|
+ ref="iframeWhiteBoardRef"
|
|
|
+ ></iframe>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div v-if="[7].includes(toolType)">
|
|
|
+ <iframe
|
|
|
+ allow="camera *; microphone *;display-capture;midi;encrypted-media;"
|
|
|
+ src="https://beta.pbl.cocorobo.cn/pbl-teacher-table/dist/#/Grid?userid=6c56ec0e-2c74-11ef-bee5-005056b86db5"
|
|
|
+ ref="iframeThoughtGridRef"
|
|
|
+ ></iframe>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div v-if="[49].includes(toolType)" class="s_b_m_b_i_m_evaluation">
|
|
|
<div>
|
|
@@ -978,6 +998,9 @@ export default {
|
|
|
this.changeShowType(this.dialogTypeList.findIndex(i=>i.showType.includes(this.toolType)))
|
|
|
}
|
|
|
this.setData();
|
|
|
+ if([3,1,7].includes(this.toolType)){
|
|
|
+ this.getIframeWorksData()
|
|
|
+ }
|
|
|
},
|
|
|
openWordCloud() {
|
|
|
this.dialogVisibleWordCloud = true
|
|
@@ -1132,6 +1155,21 @@ export default {
|
|
|
}else if(data.lookWorks===null){
|
|
|
this.$refs.studentWorkPreviewDialogRef.close();
|
|
|
}
|
|
|
+ }
|
|
|
+ },
|
|
|
+ getIframeWorksData(){
|
|
|
+ this.$message.info("获取工具数据")
|
|
|
+ console.log("+======================+")
|
|
|
+ console.log(this.courseType)
|
|
|
+ console.log(this.taskCount)
|
|
|
+ console.log(this.toolIndex)
|
|
|
+ console.log("+======================+")
|
|
|
+ if([3].includes(this.toolType)){
|
|
|
+
|
|
|
+ }else if([1].includes(this.toolType)){
|
|
|
+
|
|
|
+ }else if([7].includes(this.toolType)){
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -2176,11 +2214,20 @@ ol {
|
|
|
.s_b_m_b_i_m_iframe{
|
|
|
width: 100%;
|
|
|
flex: 1;
|
|
|
+ margin-top: 10px;
|
|
|
}
|
|
|
|
|
|
.s_b_m_b_i_m_iframe>div{
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
- background-color: red;
|
|
|
+ box-sizing: border-box;
|
|
|
+ padding-left: 10px;
|
|
|
+}
|
|
|
+
|
|
|
+.s_b_m_b_i_m_iframe>div>iframe{
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ border: none;
|
|
|
+ border: solid 1px #ccc;
|
|
|
}
|
|
|
</style>
|