大模型首页

This commit is contained in:
朱浩 2024-12-11 13:36:49 +08:00
parent 48d631a17c
commit 82c61a3fa7
2 changed files with 8 additions and 6 deletions

View File

@ -239,8 +239,10 @@ const changeBook = async(data) => {
const onchange = (item) => { const onchange = (item) => {
let path = item.path let path = item.path
if (path == '/model/newClassTaskAssign') { 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') { } else if (path == '/model/aiKolors') {
gotoAiKolors(path) gotoAiKolors(path)
} else { } else {

View File

@ -104,10 +104,10 @@
</file-list-item> </file-list-item>
</el-checkbox-group> </el-checkbox-group>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="作业" name="作业"> <el-tab-pane label="教学活动" name="教学活动">
<div class="prepare-body-header"> <div class="prepare-body-header">
<div> <div>
<label style="font-size: 15px">{{ currentWorkList.length }}作业</label>&nbsp; <label style="font-size: 15px">{{ currentWorkList.length }}教学活动</label>&nbsp;
<!-- <el-button size="small" @click="handleOutLink('homeWork')">作业设计</el-button> --> <!-- <el-button size="small" @click="handleOutLink('homeWork')">作业设计</el-button> -->
<el-button size="small" @click="goNewClassTask()">作业设计</el-button> <el-button size="small" @click="goNewClassTask()">作业设计</el-button>
</div> </div>
@ -580,14 +580,14 @@ export default {
} }
} }
} }
if (o?.background?.image) await this.toRousrceUrl(o.background.image) 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) o.elements.forEach(async o => {await this.toRousrceUrl(o)})
if(o?.elements){ if(o?.elements){
for (let element of o.elements) { for (let element of o.elements) {
await this.toRousrceUrl(element); await this.toRousrceUrl(element);
} }
} }
}, },
async createAIPPTByFile(file) { async createAIPPTByFile(file) {
this.pgDialog.visible = true this.pgDialog.visible = true