|
|
|
@ -1,8 +1,8 @@
|
|
|
|
|
<!--
|
|
|
|
|
* @Author: zhangjiabao
|
|
|
|
|
* @Date: 2024-01-24 10:09:33
|
|
|
|
|
* @LastEditors: Please set LastEditors
|
|
|
|
|
* @LastEditTime: 2024-01-28 18:13:03
|
|
|
|
|
* @LastEditors: zhangjiabao
|
|
|
|
|
* @LastEditTime: 2024-01-29 11:03:47
|
|
|
|
|
* @FilePath: /luoo_manage_fe/src/views/article/articleModify.vue
|
|
|
|
|
-->
|
|
|
|
|
<!--
|
|
|
|
@ -48,7 +48,11 @@
|
|
|
|
|
></el-cascader>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item prop="userId" label="期刊作者">
|
|
|
|
|
<el-select placeholder="输入发布人名称" size="small" v-model="data.userId">
|
|
|
|
|
<el-select
|
|
|
|
|
placeholder="输入发布人名称"
|
|
|
|
|
size="small"
|
|
|
|
|
v-model="data.userId"
|
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in publisher"
|
|
|
|
|
:label="item.name"
|
|
|
|
@ -60,7 +64,7 @@
|
|
|
|
|
<el-form-item prop="image" label="上传封面">
|
|
|
|
|
<img style="width: 170px;height: 120px;" :src="data.image" />
|
|
|
|
|
<el-upload
|
|
|
|
|
action="/luoo-music/cms/journal/upload/image"
|
|
|
|
|
:action="`${uploadBase}/luoo-music/cms/journal/upload/image`"
|
|
|
|
|
:on-preview="handlePreview"
|
|
|
|
|
:on-remove="handleRemove"
|
|
|
|
|
:before-remove="beforeRemove"
|
|
|
|
@ -85,7 +89,7 @@
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="4">
|
|
|
|
|
<el-upload
|
|
|
|
|
action="/luoo-music/cms/song/batch"
|
|
|
|
|
:action="`${uploadBase}/luoo-music/cms/song/batch`"
|
|
|
|
|
:on-preview="handlePreview"
|
|
|
|
|
:on-remove="handleRemove"
|
|
|
|
|
:before-remove="beforeRemove"
|
|
|
|
@ -344,6 +348,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
uploadBase: process.env.BASE_API,
|
|
|
|
|
selectTag: [],
|
|
|
|
|
lyricDialog: {
|
|
|
|
|
visible: false,
|
|
|
|
@ -420,8 +425,8 @@ export default {
|
|
|
|
|
|
|
|
|
|
for (let j in this.remoteTagList) {
|
|
|
|
|
let jId = this.remoteTagList[j].value;
|
|
|
|
|
if(tag === jId){
|
|
|
|
|
this.selectTag.push([jId])
|
|
|
|
|
if (tag === jId) {
|
|
|
|
|
this.selectTag.push([jId]);
|
|
|
|
|
}
|
|
|
|
|
for (let k in this.remoteTagList[j].children) {
|
|
|
|
|
let kId = this.remoteTagList[j].children[k].value;
|
|
|
|
@ -588,7 +593,7 @@ export default {
|
|
|
|
|
musicApi.getLyric(row.id).then(res => {
|
|
|
|
|
this.lyricDialog.data = res.data.lyric;
|
|
|
|
|
this.lyricDialog.loading = false;
|
|
|
|
|
})
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* 弹窗关闭按扭点击事件
|
|
|
|
@ -641,7 +646,7 @@ export default {
|
|
|
|
|
this.data.songs[songIndex] = newQueryRes.data;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
console.log("更新表格数据完成")
|
|
|
|
|
console.log("更新表格数据完成");
|
|
|
|
|
} else {
|
|
|
|
|
this.message.$error(newQueryRes.message);
|
|
|
|
|
}
|
|
|
|
|