Commit f583e266 by Lyan

视频管理视频上传

parent 76f51f9d
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
:close-on-click-modal="false" :close-on-click-modal="false"
:visible.sync="visible"> :visible.sync="visible">
<el-form :model="dataForm" :rules="dataRule" ref="dataForm" @keyup.enter.native="dataFormSubmit()" label-width="120px" v-loading='loading'> <el-form :model="dataForm" :rules="dataRule" ref="dataForm" @keyup.enter.native="dataFormSubmit()" label-width="120px" v-loading='loading'>
<div class="base-info">基本信息</div>
<el-form-item label="原始标题:" prop="titleOld"> <el-form-item label="原始标题:" prop="titleOld">
<el-input v-model="dataForm.titleOld" placeholder="请输入原始标题" size="small" v-show="!showInfo"></el-input> <el-input v-model="dataForm.titleOld" placeholder="请输入原始标题" size="small" v-show="!showInfo"></el-input>
</el-form-item> </el-form-item>
...@@ -247,7 +246,7 @@ ...@@ -247,7 +246,7 @@
'stdate': this.dataForm.stdate, 'stdate': this.dataForm.stdate,
'clanguage': this.dataForm.clanguage, 'clanguage': this.dataForm.clanguage,
'pic': this.dataForm.pic, 'pic': this.dataForm.pic,
'wavname': this.videoUrlStr, 'wavname': this.dataForm.wavname,
'content': this.dataForm.content 'content': this.dataForm.content
}) })
}).then(({data}) => { }).then(({data}) => {
...@@ -323,6 +322,7 @@ ...@@ -323,6 +322,7 @@
this.videoUrlStr = windowURL.createObjectURL(file) this.videoUrlStr = windowURL.createObjectURL(file)
this.dialogVisible2 = true this.dialogVisible2 = true
this.videoUrl.append('file', file) this.videoUrl.append('file', file)
console.log(this.videoUrlStr)
console.log(file) console.log(file)
} }
}, },
......
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
:close-on-click-modal="false" :close-on-click-modal="false"
:visible.sync="visible"> :visible.sync="visible">
<el-form :model="dataForm" :rules="dataRule" ref="dataForm" @keyup.enter.native="dataFormSubmit()" label-width="120px" v-loading='loading'> <el-form :model="dataForm" :rules="dataRule" ref="dataForm" @keyup.enter.native="dataFormSubmit()" label-width="120px" v-loading='loading'>
<div class="base-info">基本信息</div>
<el-form-item label="专题描述:" prop="title"> <el-form-item label="专题描述:" prop="title">
<el-input v-model="dataForm.title" placeholder="请输入专题描述" v-show="!showInfo" size="small"></el-input> <el-input v-model="dataForm.title" placeholder="请输入专题描述" v-show="!showInfo" size="small"></el-input>
<p v-show="showInfo">{{dataForm.title}}</p> <p v-show="showInfo">{{dataForm.title}}</p>
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
<div class="title">{{title}}</div> <div class="title">{{title}}</div>
<div class="form-list"> <div class="form-list">
<el-form :model="dataForm" :rules="dataRule" ref="dataForm" @keyup.enter.native="dataFormSubmit()" label-width="120px"> <el-form :model="dataForm" :rules="dataRule" ref="dataForm" @keyup.enter.native="dataFormSubmit()" label-width="120px">
<div class="base-info">基本信息</div>
<el-form-item label="原始标题:" prop="titleOld"> <el-form-item label="原始标题:" prop="titleOld">
<el-input v-model="dataForm.titleOld" placeholder="请输入原始标题"></el-input> <el-input v-model="dataForm.titleOld" placeholder="请输入原始标题"></el-input>
</el-form-item> </el-form-item>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment