Commit f583e266 by Lyan

视频管理视频上传

parent 76f51f9d
......@@ -4,7 +4,6 @@
:close-on-click-modal="false"
:visible.sync="visible">
<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-input v-model="dataForm.titleOld" placeholder="请输入原始标题" size="small" v-show="!showInfo"></el-input>
</el-form-item>
......@@ -247,7 +246,7 @@
'stdate': this.dataForm.stdate,
'clanguage': this.dataForm.clanguage,
'pic': this.dataForm.pic,
'wavname': this.videoUrlStr,
'wavname': this.dataForm.wavname,
'content': this.dataForm.content
})
}).then(({data}) => {
......@@ -323,6 +322,7 @@
this.videoUrlStr = windowURL.createObjectURL(file)
this.dialogVisible2 = true
this.videoUrl.append('file', file)
console.log(this.videoUrlStr)
console.log(file)
}
},
......
......@@ -4,7 +4,6 @@
:close-on-click-modal="false"
:visible.sync="visible">
<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-input v-model="dataForm.title" placeholder="请输入专题描述" v-show="!showInfo" size="small"></el-input>
<p v-show="showInfo">{{dataForm.title}}</p>
......
......@@ -3,7 +3,6 @@
<div class="title">{{title}}</div>
<div class="form-list">
<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-input v-model="dataForm.titleOld" placeholder="请输入原始标题"></el-input>
</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