打包管理
This commit is contained in:
parent
525d98dc41
commit
0c3b017a28
|
@ -3,7 +3,7 @@
|
||||||
<div class="right-header flex">
|
<div class="right-header flex">
|
||||||
<span>课件预览</span>
|
<span>课件预览</span>
|
||||||
<div>
|
<div>
|
||||||
<el-button type="danger" @click="onCreate">一键生成</el-button>
|
<el-button :disabled="!result?.outline" type="danger" @click="onCreate">一键生成</el-button>
|
||||||
<el-button :disabled="!result?.parentId" @click="openAiPPT">编辑课件</el-button>
|
<el-button :disabled="!result?.parentId" @click="openAiPPT">编辑课件</el-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -64,6 +64,7 @@ const pgDialog = reactive({ // 弹窗-进度条
|
||||||
const pptSlides = ref([])
|
const pptSlides = ref([])
|
||||||
|
|
||||||
emitter.on('onResult', (data)=>{
|
emitter.on('onResult', (data)=>{
|
||||||
|
console.log(data)
|
||||||
result.value = data
|
result.value = data
|
||||||
if (!!result.value.parentId) {
|
if (!!result.value.parentId) {
|
||||||
listEntpcoursefileNew({parentid: result.value.parentId}).then(res=>{
|
listEntpcoursefileNew({parentid: result.value.parentId}).then(res=>{
|
||||||
|
|
Loading…
Reference in New Issue