教学框架
This commit is contained in:
parent
e9bc48963b
commit
6579ee1c2d
|
@ -9,7 +9,7 @@
|
|||
<el-button type="primary" @click="createAi">
|
||||
<i class="iconfont icon-chuangzuo"></i>生成教学大纲
|
||||
</el-button>
|
||||
<el-button type="danger" :disabled="Boolean(!answer)" @click="delAnswer">
|
||||
<el-button type="danger" :disabled="curItem.parentId" @click="delAnswer">
|
||||
<i class="iconfont icon-shanchu"></i>
|
||||
删除大纲
|
||||
</el-button>
|
||||
|
@ -73,7 +73,7 @@ emitter.on('onShow', (data)=>{
|
|||
|
||||
const getDetails = (id) =>{
|
||||
syllabuss(id).then( res =>{
|
||||
console.log(res)
|
||||
Object.assign(curItem, res.data)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<el-dialog v-model="isDialog" :show-close="false" width="900" destroy-on-close>
|
||||
<template #header>
|
||||
<div class="custom-header flex">
|
||||
<span>{{ item.name }}</span>
|
||||
<span>编辑大纲</span>
|
||||
<i class="iconfont icon-guanbi" @click="isDialog = false"></i>
|
||||
</div>
|
||||
</template>
|
||||
|
|
Loading…
Reference in New Issue