Commit 991c3a3d authored by qzhxx's avatar qzhxx

测试优化

parent 57d04928
<template>
<div>
<el-upload
accept=".jpg,.jpeg,.png,.gif,.bmp,.pdf,.JPG,.JPEG,.PBG,.GIF,.BMP,.PDF"
accept=".jpg,.jpeg,.png.JPG,.JPEG,.PNG"
:class="{disabled:uploadDisabled}"
action="http://111.203.232.175:8088/mall/file/image/upload"
list-type="picture-card"
......@@ -14,7 +14,7 @@
:multiple ="false"
>
<i class="el-icon-plus"></i>
<div slot="tip" class="el-upload__tip color_red">只能上传.jpg/.jpeg/.png/.gif/.bmp/.pdf文件</div>
<div slot="tip" class="el-upload__tip color_red">只能上传.jpg/.jpeg/.png文件</div>
</el-upload>
<el-dialog :visible.sync="dialogVisible">
<img width="100%" :src="dialogImageUrl" alt />
......
......@@ -318,6 +318,7 @@ export default {
this.multipleSelection = data.exhibitionBoardList;
this.$refs.uploadImg.showImg(this.ruleForm.cover);
this.getExhibitionBoardTable();
this.getAssetTypeData()
})
.catch(function(err) {
console.log(err);
......@@ -497,7 +498,7 @@ export default {
} else {
this.checkedThing2 = false;
}
this.getTableParam()
// this.getTableParam()
},
// 筛选展板备选清单选项条件
getTableParam(){
......
......@@ -238,8 +238,8 @@ export default {
init() {
if (this.$route.query.type === "Update") {
this.getInfo(this.$route.query.id);
this.getVideoContentCatData()
this.getVideoContentCopyrightData()
}
},
getVideoContentCat(data){
......@@ -267,6 +267,8 @@ export default {
this.ruleForm.videoFileIdList = data.videoFileIdList
this.ruleForm.imageList=[{url:data.thumbnail}]
this.ruleForm.videoList=data.videoFileList.map(item=>{return {id:item.id,name:item.fileName,url:item.fileUrl}})
this.getVideoContentCatData()
this.getVideoContentCopyrightData()
}).catch(function(err) {
console.log(err);
});
......@@ -393,15 +395,20 @@ export default {
// 获取视频分类列表
getVideoContentCatData() {
let vm = this;
if(this.ruleForm.videoContentCopyrightOwnerId){
vm.$https({
url: "videoContentCat/getList",
method: "get",
authType: this.backToken
}).then(res => {
},{copyrightOwnerId:this.ruleForm.videoContentCopyrightOwnerId}).then(res => {
this.videoContentCat = res.data.data;
}).catch(function(err) {
console.log(err);
});
}else{
this.$message.warning("请先选择视频版权方!")
}
},
getSelectDep(videoContentCatIdList) {
this.checkedThing = videoContentCatIdList.length === this.videoContentCat.length;
......
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