大模型首页
This commit is contained in:
parent
48d631a17c
commit
82c61a3fa7
|
@ -239,8 +239,10 @@ const changeBook = async(data) => {
|
|||
const onchange = (item) => {
|
||||
let path = item.path
|
||||
if (path == '/model/newClassTaskAssign') {
|
||||
uploadData.value.coursetitle = currentNode.value.itemtitle // (单元/章节) 名称
|
||||
uploadData.value.node = currentNode.value; // 保存当前节点
|
||||
// 作业管理
|
||||
router.push({ path, query: { courseObj: JSON.stringify(courseObj) } })
|
||||
router.push({ path, query: { courseObj: JSON.stringify(uploadData.value) } })
|
||||
} else if (path == '/model/aiKolors') {
|
||||
gotoAiKolors(path)
|
||||
} else {
|
||||
|
|
|
@ -104,10 +104,10 @@
|
|||
</file-list-item>
|
||||
</el-checkbox-group>
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="作业" name="作业">
|
||||
<el-tab-pane label="教学活动" name="教学活动">
|
||||
<div class="prepare-body-header">
|
||||
<div>
|
||||
<label style="font-size: 15px">共{{ currentWorkList.length }}个作业</label>
|
||||
<label style="font-size: 15px">共{{ currentWorkList.length }}个教学活动</label>
|
||||
<!-- <el-button size="small" @click="handleOutLink('homeWork')">作业设计</el-button> -->
|
||||
<el-button size="small" @click="goNewClassTask()">作业设计</el-button>
|
||||
</div>
|
||||
|
@ -580,14 +580,14 @@ export default {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (o?.background?.image) await this.toRousrceUrl(o.background.image)
|
||||
// if (o?.elements) o.elements.forEach(async o => {await this.toRousrceUrl(o)})
|
||||
if(o?.elements){
|
||||
for (let element of o.elements) {
|
||||
await this.toRousrceUrl(element);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
async createAIPPTByFile(file) {
|
||||
this.pgDialog.visible = true
|
||||
|
|
Loading…
Reference in New Issue