|
@@ -705,15 +705,20 @@ li.chouzhen.first:before {
|
|
|
<img :src="showImageStr" style="width: 100%" />
|
|
|
</a-modal>
|
|
|
|
|
|
- <a-modal :maskClosable="false" title="选择素材" v-model="visibleMatemal" @ok="handleOkShow" :width="1000">
|
|
|
+ <a-modal :maskClosable="false" title="选择素材" v-model="visibleMatemal" @ok="handleOkShow" @cancel="cancelAll" :width="1000">
|
|
|
<a-tabs type="card" @change="callback" v-model="active" class="check-video">
|
|
|
<a-tab-pane :tab="item.label" v-for="item of tab" :key="item.value">
|
|
|
<a-row :gutter="24">
|
|
|
- <a-col :span="12">
|
|
|
+ <a-col :span="9">
|
|
|
<a-form-item label="日期选择" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
|
|
<a-range-picker name="buildTime" v-model="time" />
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
+ <a-col :span="9">
|
|
|
+ <a-form-item label="唯一标识" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
|
|
+ <a-input placeholder="请输入唯一标识,多个以,隔开" v-model="md5Str"/>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
<!-- <a-col :span="12">
|
|
|
<a-form-item label="筛选条件" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
|
|
<a-select v-model="orderBy" style="width: 100%">
|
|
@@ -722,6 +727,11 @@ li.chouzhen.first:before {
|
|
|
</a-select>
|
|
|
</a-form-item>
|
|
|
</a-col> -->
|
|
|
+ <a-col :span="4">
|
|
|
+ <a-button type="primary" style="position: relative;top: 4px;margin-left:5px" @click="searchVideo">
|
|
|
+ 搜索
|
|
|
+ </a-button>
|
|
|
+ </a-col>
|
|
|
</a-row>
|
|
|
|
|
|
<ul v-if="dataSource.length > 0" style="overflow: auto; padding-left: 0">
|
|
@@ -925,6 +935,7 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ md5Str:"",
|
|
|
fieldNames: {
|
|
|
label: 'category_name',
|
|
|
value: 'category_id',
|
|
@@ -1088,6 +1099,24 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ searchVideo() {
|
|
|
+ var params = {}
|
|
|
+ params.accountId = localStorage.getItem('campaignAccountId')
|
|
|
+ params.materialType = this.creativeMaterialType
|
|
|
+ params.pageSize = this.ipagination.pageSize
|
|
|
+ params.pageNo = 1
|
|
|
+ params.status = 0
|
|
|
+ params.channelType = this.channelType
|
|
|
+ params.orderBy = this.orderBy
|
|
|
+ params.signatures = this.md5Str
|
|
|
+ if (this.time.length > 0) {
|
|
|
+ // params.startDate = moment(this.time[0]).format('YYYY-MM-DD')
|
|
|
+ // params.endDate = moment(this.time[1]).format('YYYY-MM-DD')
|
|
|
+ params.startDate = moment(this.time[0]).format('YYYY-MM-DD') + ' 00:00:00'
|
|
|
+ params.endDate = moment(this.time[1]).format('YYYY-MM-DD') + ' 23:59:59'
|
|
|
+ }
|
|
|
+ this.showVideoList('/kuaishou/kuaiShouVideoGet/getVideoList', params)
|
|
|
+ },
|
|
|
getInfo(item) {
|
|
|
if (this.tagName == '') {
|
|
|
this.$message.error('请输入分类名称')
|
|
@@ -1550,6 +1579,7 @@ export default {
|
|
|
params.channelType = this.channelType
|
|
|
params.status = 0
|
|
|
params.orderBy = this.orderBy
|
|
|
+ params.signatures = this.md5Str
|
|
|
if (this.time.length > 0) {
|
|
|
// params.startDate = moment(this.time[0]).format('YYYY-MM-DD')
|
|
|
// params.endDate = moment(this.time[1]).format('YYYY-MM-DD')
|
|
@@ -1819,6 +1849,7 @@ export default {
|
|
|
params.status = 0
|
|
|
params.channelType = this.channelType
|
|
|
params.orderBy = this.orderBy
|
|
|
+ params.signatures = this.md5Str
|
|
|
if (this.time.length > 0) {
|
|
|
// params.startDate = moment(this.time[0]).format('YYYY-MM-DD')
|
|
|
// params.endDate = moment(this.time[1]).format('YYYY-MM-DD')
|
|
@@ -2073,6 +2104,10 @@ export default {
|
|
|
showStickerStyles(value) {
|
|
|
return this.stickerStyles.filter((item) => item.overlay_type == value)[0].overlay_preview_url
|
|
|
},
|
|
|
+ cancelAll() {
|
|
|
+ this.visibleMatemal = false
|
|
|
+ this.md5Str = ""
|
|
|
+ },
|
|
|
handleOkShow(e) {
|
|
|
//
|
|
|
|
|
@@ -2235,6 +2270,7 @@ export default {
|
|
|
params.startDate = moment(n[0]).format('YYYY-MM-DD') + ' 00:00:00'
|
|
|
params.endDate = moment(n[1]).format('YYYY-MM-DD') + ' 23:59:59'
|
|
|
params.orderBy = this.orderBy
|
|
|
+ params.signatures = this.md5Str
|
|
|
this.showVideoList('/kuaishou/kuaiShouVideoGet/getVideoList', params)
|
|
|
} else {
|
|
|
var params = {}
|
|
@@ -2245,6 +2281,7 @@ export default {
|
|
|
params.status = 0
|
|
|
params.channelType = this.channelType
|
|
|
params.orderBy = this.orderBy
|
|
|
+ params.signatures = this.md5Str
|
|
|
this.ipagination.current = 1
|
|
|
this.showVideoList('/kuaishou/kuaiShouVideoGet/getVideoList', params)
|
|
|
}
|
|
@@ -2257,6 +2294,7 @@ export default {
|
|
|
params.pageNo = 1
|
|
|
params.status = 0
|
|
|
params.channelType = this.channelType
|
|
|
+ params.signatures = this.md5Str
|
|
|
if (this.time.length > 0) {
|
|
|
params.startDate = moment(this.time[0]).format('YYYY-MM-DD') + ' 00:00:00'
|
|
|
params.endDate = moment(this.time[1]).format('YYYY-MM-DD') + ' 23:59:59'
|