| | |
| | | <el-form :model="formData1" label-width="120px"> |
| | | <el-form-item label="视频格式"> |
| | | <el-select v-model="formData1.isvideo" class="!w-240px"> |
| | | <el-option :disabled="formData1.value?.subtitlesAddStatus!=2" label="字幕视频" :value="1" /> |
| | | <el-option :disabled="formData1.value.subtitlesAddStatus!=2" label="字幕视频" :value="1" /> |
| | | <el-option label="原视频" :value="2" /> |
| | | </el-select> |
| | | </el-form-item> |
| | |
| | | } |
| | | } |
| | | const pauseAllVideos = (dialogType: 'subtitle' | 'headerFooter') => { |
| | | formData1.isvideo = 2 |
| | | if (dialogType === 'subtitle' && subtitleVideo.value) { |
| | | subtitleVideo.value.pause() |
| | | } |
| | |
| | | |
| | | // 应用片头片尾设置 |
| | | const applyHeaderFooter = async () => { |
| | | formData1.isvideo = '2' |
| | | try { |
| | | const title = await pptTemplateApi.createVideo(headerFooterForm) |
| | | if (title) { |