|
@@ -451,7 +451,7 @@ a {
|
|
v-if="items.whetherUnaudited"
|
|
v-if="items.whetherUnaudited"
|
|
/>
|
|
/>
|
|
<img
|
|
<img
|
|
- :src="items.url + '?x-oss-process=video/snapshot,t_00000,m_fast'"
|
|
|
|
|
|
+ :src="items.coverUrl"
|
|
alt=""
|
|
alt=""
|
|
style="height:200px;max-width:100%;position:absolute;z-index:10;"
|
|
style="height:200px;max-width:100%;position:absolute;z-index:10;"
|
|
/>
|
|
/>
|
|
@@ -536,7 +536,13 @@ a {
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div>
|
|
截图:
|
|
截图:
|
|
- <upload-to-ali
|
|
|
|
|
|
+ <uploadFile
|
|
|
|
+ v-if="refuseFile"
|
|
|
|
+ :value.sync="refuseFile"
|
|
|
|
+ :fileCount="15"
|
|
|
|
+ uploadType="image"
|
|
|
|
+ />
|
|
|
|
+ <!-- <upload-to-ali
|
|
v-model="refuseFile"
|
|
v-model="refuseFile"
|
|
:customDomain="customDomain"
|
|
:customDomain="customDomain"
|
|
multiple
|
|
multiple
|
|
@@ -549,7 +555,7 @@ a {
|
|
:accessKeyId="accessKeyId"
|
|
:accessKeyId="accessKeyId"
|
|
:accessKeySecret="accessKeySecret"
|
|
:accessKeySecret="accessKeySecret"
|
|
:dir="dirImg"
|
|
:dir="dirImg"
|
|
- ></upload-to-ali>
|
|
|
|
|
|
+ ></upload-to-ali> -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a href="javascript:;" style="margin-right:20px">驳回</a>
|
|
<a href="javascript:;" style="margin-right:20px">驳回</a>
|
|
@@ -640,7 +646,17 @@ a {
|
|
</a-button>
|
|
</a-button>
|
|
</template>
|
|
</template>
|
|
<a-form-item label="" class="add-image-material">
|
|
<a-form-item label="" class="add-image-material">
|
|
- <upload-to-ali
|
|
|
|
|
|
+ <uploadFile
|
|
|
|
+ v-if="addImageVisible"
|
|
|
|
+ :value.sync="urlListImage.url"
|
|
|
|
+ :checkFile="fileWater"
|
|
|
|
+ @overUpload="overUploadImage"
|
|
|
|
+ @removeUpload="deleteImage"
|
|
|
|
+ :fileCount="15"
|
|
|
|
+ uploadType="image"
|
|
|
|
+ />
|
|
|
|
+
|
|
|
|
+ <!-- <upload-to-ali
|
|
style="width:100%"
|
|
style="width:100%"
|
|
v-model="urlListImage.url"
|
|
v-model="urlListImage.url"
|
|
:customDomain="customDomain"
|
|
:customDomain="customDomain"
|
|
@@ -657,7 +673,7 @@ a {
|
|
:dir="dirImg"
|
|
:dir="dirImg"
|
|
@delete='deleteImage'
|
|
@delete='deleteImage'
|
|
@loaded="overUploadImage"
|
|
@loaded="overUploadImage"
|
|
- ></upload-to-ali>
|
|
|
|
|
|
+ ></upload-to-ali> -->
|
|
<span v-if="material.filter(item => item == false).length > 0 && urlListImage.url.length > 0" style="color:red"
|
|
<span v-if="material.filter(item => item == false).length > 0 && urlListImage.url.length > 0" style="color:red"
|
|
>上传素材的尺寸不符,请修改(<span v-for="(item, index) of material" :key="index" v-show="!item"
|
|
>上传素材的尺寸不符,请修改(<span v-for="(item, index) of material" :key="index" v-show="!item"
|
|
>第{{ index + 1 }}张</span
|
|
>第{{ index + 1 }}张</span
|
|
@@ -728,6 +744,7 @@ a {
|
|
<a-form-item :label-col="labelCol" :wrapper-col="wrapperCol" label="视频素材上传" v-if="getData('projectId')">
|
|
<a-form-item :label-col="labelCol" :wrapper-col="wrapperCol" label="视频素材上传" v-if="getData('projectId')">
|
|
<uploadFile
|
|
<uploadFile
|
|
:checkFile="file"
|
|
:checkFile="file"
|
|
|
|
+ :value.sync="urlList.url"
|
|
@overUpload="overUpload"
|
|
@overUpload="overUpload"
|
|
@removeUpload="removeUpload"
|
|
@removeUpload="removeUpload"
|
|
:fileCount="10"
|
|
:fileCount="10"
|
|
@@ -783,6 +800,7 @@ a {
|
|
@loaded="overUploadImage"
|
|
@loaded="overUploadImage"
|
|
></upload-to-ali> -->
|
|
></upload-to-ali> -->
|
|
<uploadFile
|
|
<uploadFile
|
|
|
|
+ :value.sync="urlListImage.url"
|
|
:checkFile="fileWater"
|
|
:checkFile="fileWater"
|
|
@overUpload="overUploadImage"
|
|
@overUpload="overUploadImage"
|
|
@removeUpload="deleteImage"
|
|
@removeUpload="deleteImage"
|
|
@@ -1058,7 +1076,14 @@ a {
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div>
|
|
<a-form-item label="截图" v-if="active == '2'">
|
|
<a-form-item label="截图" v-if="active == '2'">
|
|
- <upload-to-ali
|
|
|
|
|
|
+ <div v-if="refuseFile" style="width:100%">
|
|
|
|
+ <img style="width:100px;height:auto;margin:5px" @click="showBoHui(item)" :src="item" v-for="(item,index) in refuseFile" :key="index" alt="">
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <!-- :checkFile="fileWater"
|
|
|
|
+ @overUpload="overUploadImage"
|
|
|
|
+ @removeUpload="deleteImage" -->
|
|
|
|
+ <!-- <upload-to-ali
|
|
v-if="refuseFile"
|
|
v-if="refuseFile"
|
|
disabled
|
|
disabled
|
|
v-model="refuseFile"
|
|
v-model="refuseFile"
|
|
@@ -1073,7 +1098,7 @@ a {
|
|
:accessKeyId="accessKeyId"
|
|
:accessKeyId="accessKeyId"
|
|
:accessKeySecret="accessKeySecret"
|
|
:accessKeySecret="accessKeySecret"
|
|
:dir="dirImg"
|
|
:dir="dirImg"
|
|
- ></upload-to-ali>
|
|
|
|
|
|
+ ></upload-to-ali> -->
|
|
<div v-else>无截图</div>
|
|
<div v-else>无截图</div>
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</div>
|
|
</div>
|
|
@@ -1120,7 +1145,13 @@ a {
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div>
|
|
截图:
|
|
截图:
|
|
- <upload-to-ali
|
|
|
|
|
|
+ <uploadFile
|
|
|
|
+ v-if="refuseFile"
|
|
|
|
+ :value.sync="refuseFile"
|
|
|
|
+ :fileCount="15"
|
|
|
|
+ uploadType="image"
|
|
|
|
+ />
|
|
|
|
+ <!-- <upload-to-ali
|
|
v-model="refuseFile"
|
|
v-model="refuseFile"
|
|
:customDomain="customDomain"
|
|
:customDomain="customDomain"
|
|
multiple
|
|
multiple
|
|
@@ -1133,7 +1164,7 @@ a {
|
|
:accessKeyId="accessKeyId"
|
|
:accessKeyId="accessKeyId"
|
|
:accessKeySecret="accessKeySecret"
|
|
:accessKeySecret="accessKeySecret"
|
|
:dir="dirImg"
|
|
:dir="dirImg"
|
|
- ></upload-to-ali>
|
|
|
|
|
|
+ ></upload-to-ali> -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a-button type="primary" v-show="active != '2'">驳回</a-button>
|
|
<a-button type="primary" v-show="active != '2'">驳回</a-button>
|
|
@@ -1168,7 +1199,9 @@ a {
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</a-modal>
|
|
</a-modal>
|
|
-
|
|
|
|
|
|
+ <a-modal title="查看截图" v-model="bohuiShow" :width="300" :footer="null">
|
|
|
|
+ <img :src="bohui" alt="" style="width:100%">
|
|
|
|
+ </a-modal>
|
|
<a-modal title="人员修改" v-model="personVisible" @afterClose="closePerson">
|
|
<a-modal title="人员修改" v-model="personVisible" @afterClose="closePerson">
|
|
<template slot="footer">
|
|
<template slot="footer">
|
|
<a-button key="back" @click="closePerson">取消</a-button>
|
|
<a-button key="back" @click="closePerson">取消</a-button>
|
|
@@ -1412,7 +1445,9 @@ export default {
|
|
imageArrList: [],
|
|
imageArrList: [],
|
|
showDataBool: false,
|
|
showDataBool: false,
|
|
kuaishouData: null,
|
|
kuaishouData: null,
|
|
- douyinData: null
|
|
|
|
|
|
+ douyinData: null,
|
|
|
|
+ bohui:"",
|
|
|
|
+ bohuiShow:false
|
|
}
|
|
}
|
|
},
|
|
},
|
|
filters: {
|
|
filters: {
|
|
@@ -1493,6 +1528,10 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ showBoHui(item){
|
|
|
|
+ this.bohui = item
|
|
|
|
+ this.bohuiShow = true
|
|
|
|
+ },
|
|
editImage(item, status) {
|
|
editImage(item, status) {
|
|
var params = {}
|
|
var params = {}
|
|
params.id = item.id
|
|
params.id = item.id
|
|
@@ -1975,7 +2014,7 @@ export default {
|
|
})
|
|
})
|
|
},
|
|
},
|
|
handleOkImage() {
|
|
handleOkImage() {
|
|
- if(this.urlListImage.url.length>0){
|
|
|
|
|
|
+ // if(this.urlListImage.url.length>0){
|
|
var params = {}
|
|
var params = {}
|
|
params.projectId = this.addImageData.projectId
|
|
params.projectId = this.addImageData.projectId
|
|
params.videoId = this.addImageData.code
|
|
params.videoId = this.addImageData.code
|
|
@@ -1998,7 +2037,7 @@ export default {
|
|
this.loadingImage = false
|
|
this.loadingImage = false
|
|
}
|
|
}
|
|
})
|
|
})
|
|
- }
|
|
|
|
|
|
+ // }
|
|
|
|
|
|
},
|
|
},
|
|
handleOk() {
|
|
handleOk() {
|
|
@@ -2189,6 +2228,7 @@ export default {
|
|
|
|
|
|
},
|
|
},
|
|
overUpload(urlAll) {
|
|
overUpload(urlAll) {
|
|
|
|
+ console.log(urlAll)
|
|
this.confirmLoading = true
|
|
this.confirmLoading = true
|
|
this.repeat = false
|
|
this.repeat = false
|
|
this.urlList.url = urlAll[0].url
|
|
this.urlList.url = urlAll[0].url
|
|
@@ -2220,69 +2260,69 @@ export default {
|
|
materialName: this.urlListImage.name[i]
|
|
materialName: this.urlListImage.name[i]
|
|
})
|
|
})
|
|
img = new Image()
|
|
img = new Image()
|
|
- img.src = this.urlListImage.url[i]
|
|
|
|
- if (img.complete) {
|
|
|
|
- // 打印
|
|
|
|
- if (img.width == 720) {
|
|
|
|
- if (img.height == 1280) {
|
|
|
|
- that.material.push(true)
|
|
|
|
- } else {
|
|
|
|
- that.material.push(false)
|
|
|
|
- }
|
|
|
|
- } else if (img.width == 1080) {
|
|
|
|
- if (img.height == 1920) {
|
|
|
|
- that.material.push(true)
|
|
|
|
- } else {
|
|
|
|
- that.material.push(false)
|
|
|
|
- }
|
|
|
|
- } else if (img.width == 1280) {
|
|
|
|
- if (img.height == 720) {
|
|
|
|
- that.material.push(true)
|
|
|
|
- } else {
|
|
|
|
- that.material.push(false)
|
|
|
|
- }
|
|
|
|
- } else if (img.width == 1920) {
|
|
|
|
- if (img.height == 1080) {
|
|
|
|
- that.material.push(true)
|
|
|
|
- } else {
|
|
|
|
- that.material.push(false)
|
|
|
|
- }
|
|
|
|
- } else {
|
|
|
|
- that.material.push(false)
|
|
|
|
- }
|
|
|
|
- } else {
|
|
|
|
|
|
+ img.src = urlAll[i].url
|
|
|
|
+ // if (img.complete) {
|
|
|
|
+ // // 打印
|
|
|
|
+ // if (img.width == 720) {
|
|
|
|
+ // if (img.height == 1280) {
|
|
|
|
+ // that.material.push(true)
|
|
|
|
+ // } else {
|
|
|
|
+ // that.material.push(false)
|
|
|
|
+ // }
|
|
|
|
+ // } else if (img.width == 1080) {
|
|
|
|
+ // if (img.height == 1920) {
|
|
|
|
+ // that.material.push(true)
|
|
|
|
+ // } else {
|
|
|
|
+ // that.material.push(false)
|
|
|
|
+ // }
|
|
|
|
+ // } else if (img.width == 1280) {
|
|
|
|
+ // if (img.height == 720) {
|
|
|
|
+ // that.material.push(true)
|
|
|
|
+ // } else {
|
|
|
|
+ // that.material.push(false)
|
|
|
|
+ // }
|
|
|
|
+ // } else if (img.width == 1920) {
|
|
|
|
+ // if (img.height == 1080) {
|
|
|
|
+ // that.material.push(true)
|
|
|
|
+ // } else {
|
|
|
|
+ // that.material.push(false)
|
|
|
|
+ // }
|
|
|
|
+ // } else {
|
|
|
|
+ // that.material.push(false)
|
|
|
|
+ // }
|
|
|
|
+ // } else {
|
|
|
|
|
|
- img.onload = () => {
|
|
|
|
- if (img.width == 720) {
|
|
|
|
- if (img.height == 1280) {
|
|
|
|
- that.material.push(true)
|
|
|
|
- } else {
|
|
|
|
- that.material.push(false)
|
|
|
|
- }
|
|
|
|
- } else if (img.width == 1080) {
|
|
|
|
- if (img.height == 1920) {
|
|
|
|
- that.material.push(true)
|
|
|
|
- } else {
|
|
|
|
- that.material.push(false)
|
|
|
|
- }
|
|
|
|
- } else if (img.width == 1280) {
|
|
|
|
- if (img.height == 720) {
|
|
|
|
- that.material.push(true)
|
|
|
|
- } else {
|
|
|
|
- that.material.push(false)
|
|
|
|
- }
|
|
|
|
- } else if (img.width == 1920) {
|
|
|
|
- if (img.height == 1080) {
|
|
|
|
- that.material.push(true)
|
|
|
|
- } else {
|
|
|
|
- that.material.push(false)
|
|
|
|
- }
|
|
|
|
- } else {
|
|
|
|
- that.material.push(false)
|
|
|
|
- }
|
|
|
|
|
|
+ // img.onload = () => {
|
|
|
|
+ // if (img.width == 720) {
|
|
|
|
+ // if (img.height == 1280) {
|
|
|
|
+ // that.material.push(true)
|
|
|
|
+ // } else {
|
|
|
|
+ // that.material.push(false)
|
|
|
|
+ // }
|
|
|
|
+ // } else if (img.width == 1080) {
|
|
|
|
+ // if (img.height == 1920) {
|
|
|
|
+ // that.material.push(true)
|
|
|
|
+ // } else {
|
|
|
|
+ // that.material.push(false)
|
|
|
|
+ // }
|
|
|
|
+ // } else if (img.width == 1280) {
|
|
|
|
+ // if (img.height == 720) {
|
|
|
|
+ // that.material.push(true)
|
|
|
|
+ // } else {
|
|
|
|
+ // that.material.push(false)
|
|
|
|
+ // }
|
|
|
|
+ // } else if (img.width == 1920) {
|
|
|
|
+ // if (img.height == 1080) {
|
|
|
|
+ // that.material.push(true)
|
|
|
|
+ // } else {
|
|
|
|
+ // that.material.push(false)
|
|
|
|
+ // }
|
|
|
|
+ // } else {
|
|
|
|
+ // that.material.push(false)
|
|
|
|
+ // }
|
|
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
|
|
+ // }
|
|
|
|
+ // }
|
|
}
|
|
}
|
|
}else{
|
|
}else{
|
|
|
|
|