汉丰湖Vlog短视频应用系统

This commit is contained in:
卢序振 2024-06-11 14:37:14 +08:00
parent b6322f27e1
commit e07a91767a

View File

@ -135,9 +135,9 @@
<!-- 添加或修改模板管理对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<!-- <el-form-item label="主键" prop="id">-->
<!-- <el-input v-model="form.id" placeholder="请输入主键"/>-->
<!-- </el-form-item>-->
<!-- <el-form-item label="主键" prop="id">-->
<!-- <el-input v-model="form.id" placeholder="请输入主键"/>-->
<!-- </el-form-item>-->
<el-form-item label="模板名称" prop="templateName">
<el-input v-model="form.templateName" placeholder="请输入模板名称"/>
</el-form-item>
@ -164,15 +164,15 @@
<div slot="tip" class="el-upload__tip">只能上传mp4文件且不超过100M</div>
</el-upload>
</el-form-item>
<!-- <el-form-item label="文件上传">-->
<!-- <el-upload class="upload-demo" ref="uploadFile" action="" :on-preview="handlePreview"-->
<!-- :on-remove="handleRemoveFiles" :on-change="handleChangeFiles" :before-upload="beforeUploadFiles"-->
<!-- :file-list="fileList" :auto-upload="true" multiple-->
<!-- >-->
<!-- <el-button size="small" type="primary">上传视频</el-button>-->
<!-- <div slot="tip" class="el-upload__tip">只能上传mp4文件且不超过100M</div>-->
<!-- </el-upload>-->
<!-- </el-form-item>-->
<!-- <el-form-item label="文件上传">-->
<!-- <el-upload class="upload-demo" ref="uploadFile" action="" :on-preview="handlePreview"-->
<!-- :on-remove="handleRemoveFiles" :on-change="handleChangeFiles" :before-upload="beforeUploadFiles"-->
<!-- :file-list="fileList" :auto-upload="true" multiple-->
<!-- >-->
<!-- <el-button size="small" type="primary">上传视频</el-button>-->
<!-- <div slot="tip" class="el-upload__tip">只能上传mp4文件且不超过100M</div>-->
<!-- </el-upload>-->
<!-- </el-form-item>-->
<el-form-item label="时间" prop="times">
<el-date-picker clearable
v-model="form.times"
@ -248,7 +248,7 @@ export default {
video: null,
times: null,
sysType: null,
moduleType: null,
moduleType: 'templateInfo',
reserveOne: null,
reserveTwo: null,
reserveThree: null,
@ -269,7 +269,7 @@ export default {
//
upload: {
//
headers: { Authorization: 'Bearer ' + getToken() },
headers: {Authorization: 'Bearer ' + getToken()},
// TODO
url: '/species/video/upload/file',
//
@ -389,7 +389,7 @@ export default {
times: null,
remark: null,
sysType: null,
moduleType: null,
moduleType: 'templateInfo',
reserveOne: null,
reserveTwo: null,
reserveThree: null,