|
@@ -277,11 +277,11 @@
|
|
|
<span slot="createImg" slot-scope="text, record">
|
|
|
<a-popover placement="right">
|
|
|
<template slot="content">
|
|
|
- <video :src="record.url" style="width:250px" controls ></video>
|
|
|
+ <video :src="record.url" style="width:250px" controls></video>
|
|
|
</template>
|
|
|
<template slot="title">
|
|
|
</template>
|
|
|
- <img :src="record.coverUrl || noImg" alt="" style="width:80px">
|
|
|
+ <img :src="record.coverUrl || noImg" alt="" style="width: 80px;height: 142px;">
|
|
|
</a-popover>
|
|
|
</span>
|
|
|
<span slot='companyName' slot-scope="text">{{ text || '未知' }}</span>
|
|
@@ -568,9 +568,9 @@ export default {
|
|
|
faceChangeList: {},
|
|
|
faceTypeStatus: false,
|
|
|
exportloading: false,
|
|
|
- planId: '',
|
|
|
- shotId: '',
|
|
|
- clipId: '',
|
|
|
+ planId: undefined,
|
|
|
+ shotId: undefined,
|
|
|
+ clipId: undefined,
|
|
|
dateRange: [moment().subtract(1,'weeks'),moment()],
|
|
|
noImg: require('@/assets/noImg.png'),
|
|
|
ipagination: {
|
|
@@ -589,6 +589,7 @@ export default {
|
|
|
// 当在页面定义change事件时,切记要把此处的事件清除,因为这两个事件重叠了,可能到时候会导致一些莫名的bug
|
|
|
this.ipagination.current = current;
|
|
|
this.ipagination.pageSize= pageSize;
|
|
|
+ this.getNewPlan();
|
|
|
}
|
|
|
},
|
|
|
value: 'valid',
|
|
@@ -680,8 +681,6 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
dataTypeChange(e){
|
|
|
- console.log(e.target.value)
|
|
|
-
|
|
|
this.getNewPlan()
|
|
|
},
|
|
|
filterOption(input, option){
|
|
@@ -692,12 +691,13 @@ export default {
|
|
|
},
|
|
|
// 快手头条的切换
|
|
|
tabChange(key){
|
|
|
- console.log(key);
|
|
|
this.treeValue=[];
|
|
|
this.ipagination.current=1
|
|
|
this.columns=this.tabKey==1?[...TTcolumns]:[...KScolumns]
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.getNewPlan();
|
|
|
+ });
|
|
|
|
|
|
- this.getNewPlan()
|
|
|
},
|
|
|
operateChange(value){
|
|
|
console.log(value);
|
|
@@ -740,6 +740,7 @@ export default {
|
|
|
},
|
|
|
// 获取展示数据
|
|
|
getNewPlan() {
|
|
|
+ this.dataTable = [];
|
|
|
let url = '';
|
|
|
if(this.tabKey == 1) {
|
|
|
// 头条
|
|
@@ -749,7 +750,7 @@ export default {
|
|
|
// 快手
|
|
|
url = '/ctop/kuaishouVideoEtlInfo/list';
|
|
|
}
|
|
|
- this.dataTable = [];
|
|
|
+ this.ipagination.total = 0;
|
|
|
this.loading = true;
|
|
|
getAction(url, {
|
|
|
type: this.value,
|
|
@@ -764,10 +765,8 @@ export default {
|
|
|
this.loading = false;
|
|
|
if(res.success) {
|
|
|
if(res.result) {
|
|
|
- this.$nextTick(() => {
|
|
|
- this.dataTable = [...res.result.records];
|
|
|
- this.ipagination.total = res.result.total;
|
|
|
- });
|
|
|
+ this.dataTable = [...res.result.records];
|
|
|
+ this.ipagination.total = res.result.total;
|
|
|
}
|
|
|
}
|
|
|
})
|
|
@@ -801,7 +800,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
|
- this.getNewPlan()
|
|
|
+ this.getNewPlan();
|
|
|
this.getAllOperator()
|
|
|
},
|
|
|
filters: {
|