#895 V2.1.5 【教学实践】“APT”“PPT”现在创建后是先生成文档,再点击进入,应该改成创建后直接默认打开进入编辑页面
This commit is contained in:
parent
b4dca57828
commit
acc20b79f1
|
@ -34,37 +34,6 @@
|
||||||
</el-tabs>
|
</el-tabs>
|
||||||
</div>
|
</div>
|
||||||
<div class="page-right">
|
<div class="page-right">
|
||||||
<!-- <div class="header-top flex">
|
|
||||||
<div class="textbook-img" @click="navtoPdf">
|
|
||||||
<el-image style="width: 80px; height: 110px" :src="curBookImg" />
|
|
||||||
<el-progress
|
|
||||||
v-if="downloadNum > 0 && downloadNum < 100"
|
|
||||||
style="position: absolute; left: 0; z-index: 999"
|
|
||||||
type="circle"
|
|
||||||
:percentage="downloadNum"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div class="top-item">
|
|
||||||
<el-button class="btn" @click="handleOutLink('standard')">课标研读</el-button>
|
|
||||||
<el-button class="btn" @click="openReserv">预约课程</el-button>
|
|
||||||
<el-button class="btn" @click="handleOutLink('gk')">高考研读</el-button>
|
|
||||||
<el-button class="btn" @click="handleOutLink('aiModel')">教学大模型</el-button>
|
|
||||||
</div>
|
|
||||||
<el-button
|
|
||||||
:type="!curClassReserv.id ? 'info' : 'primary'"
|
|
||||||
:disabled="!curClassReserv.id || toolStore.isToolWin"
|
|
||||||
class="to-class-btn"
|
|
||||||
@click="openLesson"
|
|
||||||
>
|
|
||||||
<label
|
|
||||||
><i class="iconfont icon-lingdang"></i
|
|
||||||
>{{ curClassReserv.status == '上课中' ? '上课中' : '上课' }}</label
|
|
||||||
>
|
|
||||||
<label>{{ curClassReserv.classDay }} {{ getWeekday1(curClassReserv.classDay) }}</label>
|
|
||||||
<label>{{ curClassReserv.startTime }}-{{ curClassReserv.endTime }}</label>
|
|
||||||
</el-button>
|
|
||||||
<div class="top-zoom-style"></div>
|
|
||||||
</div>-->
|
|
||||||
<div style="padding: 0 20px;height: 100%;">
|
<div style="padding: 0 20px;height: 100%;">
|
||||||
<el-tabs v-model="activeTab" class="prepare-tabs" >
|
<el-tabs v-model="activeTab" class="prepare-tabs" >
|
||||||
<el-tab-pane label="素材" name="素材">
|
<el-tab-pane label="素材" name="素材">
|
||||||
|
@ -369,6 +338,9 @@ export default {
|
||||||
createFile() {
|
createFile() {
|
||||||
creatPPT(this.currentNode.itemtitle + '.pptx', this.uploadData).then((res) => {
|
creatPPT(this.currentNode.itemtitle + '.pptx', this.uploadData).then((res) => {
|
||||||
this.currentFileList.unshift(res.resData)
|
this.currentFileList.unshift(res.resData)
|
||||||
|
setTimeout(()=>{
|
||||||
|
this.$refs['kjItemRef'+res.resData.id][0].openFileWin(res.resData);
|
||||||
|
},500)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
createAptFile() {
|
createAptFile() {
|
||||||
|
@ -450,6 +422,9 @@ export default {
|
||||||
fileShowName: this.currentNode.itemtitle + '.apt'
|
fileShowName: this.currentNode.itemtitle + '.apt'
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
this.currentFileList.unshift(res.resData)
|
this.currentFileList.unshift(res.resData)
|
||||||
|
setTimeout(()=>{
|
||||||
|
this.$refs['kjItemRef'+res.resData.id][0].openFileWin(res.resData);
|
||||||
|
},500)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue