|
@@ -390,7 +390,7 @@ export default {
|
|
|
}else{
|
|
|
data.art_content = this.id||this.articleId?this.articleForm.art_content:null
|
|
|
data.art_org_content = this.articleForm.art_content.trim()
|
|
|
- data.art_sounds = this.articleForm.articleMp3_id?[this.articleForm.articleMp3_id]:null
|
|
|
+ data.art_sound_id = this.articleForm.articleMp3_id?this.articleForm.articleMp3_id:null
|
|
|
// let resource_file_id_list = []
|
|
|
// this.articleRecourseForm.pictureList.forEach(item => {
|
|
|
// if(item.file_id){
|
|
@@ -558,10 +558,10 @@ export default {
|
|
|
this.vlInfo = res.data.vl?res.data.vl.levelList:[]
|
|
|
this.sentenceList = res.data.art.art_corpus_data?res.data.art.art_corpus_data.sentList:[]
|
|
|
this.articleForm.articleEn = JSON.parse(JSON.stringify(res.data.art)).art_org_content
|
|
|
- if(res.data.art.art_sounds&&res.data.art.art_sounds.length>0){
|
|
|
- this.articleForm.articleMp3_id = res.data.art.art_sounds[0]
|
|
|
- if(res.data.art.art_sounds[0].indexOf('http')==-1){
|
|
|
- getLogin('/FileServer/GetFileInfo', {file_id:res.data.art.art_sounds[0]})
|
|
|
+ if(res.data.art.art_sound_id){
|
|
|
+ this.articleForm.articleMp3_id = res.data.art.art_sound_id
|
|
|
+ if(res.data.art.art_sound_id.indexOf('http')==-1){
|
|
|
+ getLogin('/FileServer/GetFileInfo', {file_id:res.data.art.art_sound_id})
|
|
|
.then((res) => {
|
|
|
if(res.status===1){
|
|
|
this.articleForm.articleMp3=[{
|