|
@@ -95,9 +95,9 @@
|
|
|
<span slot="showNum" slot-scope="text">{{ text | formatCurrency }}</span>
|
|
|
<span slot="convert" slot-scope="text">{{ text | formatCurrency }}</span>
|
|
|
|
|
|
- <p slot="operation" slot-scope="text">
|
|
|
- 平面:{{ text || '未绑定' }}
|
|
|
- </p>
|
|
|
+ <span slot="operation" slot-scope="text">
|
|
|
+ {{ text || '未绑定' }}
|
|
|
+ </span>
|
|
|
|
|
|
|
|
|
</a-table>
|
|
@@ -155,7 +155,7 @@ const TTcolumns = [
|
|
|
fixed: 'left'
|
|
|
},
|
|
|
{
|
|
|
- title:'相关人员',
|
|
|
+ title:'相关平面',
|
|
|
dataIndex:'operation',
|
|
|
key:'operation',
|
|
|
scopedSlots: { customRender: 'operation' },
|
|
@@ -170,7 +170,7 @@ const TTcolumns = [
|
|
|
|
|
|
scopedSlots: { customRender: 'cost' },
|
|
|
align: 'center',
|
|
|
- sorter: () => {}
|
|
|
+ // sorter: () => {}
|
|
|
},
|
|
|
{
|
|
|
title: '点击数',
|
|
@@ -178,7 +178,7 @@ const TTcolumns = [
|
|
|
align: 'center',
|
|
|
|
|
|
scopedSlots: { customRender: 'click' },
|
|
|
- sorter: () => {}
|
|
|
+ // sorter: () => {}
|
|
|
// (a, b) => a.clickMaterial - b.clickMaterial
|
|
|
},
|
|
|
{
|
|
@@ -187,7 +187,7 @@ const TTcolumns = [
|
|
|
align: 'center',
|
|
|
|
|
|
scopedSlots: { customRender: 'showNum' },
|
|
|
- sorter: () => {}
|
|
|
+ // sorter: () => {}
|
|
|
},
|
|
|
{
|
|
|
title: '转化数',
|
|
@@ -195,7 +195,7 @@ const TTcolumns = [
|
|
|
align: 'center',
|
|
|
|
|
|
scopedSlots: { customRender: 'convert' },
|
|
|
- sorter: () => {}
|
|
|
+ // sorter: () => {}
|
|
|
},
|
|
|
// {
|
|
|
// title: '上传时间',
|
|
@@ -230,7 +230,7 @@ const KScolumns = [
|
|
|
fixed: 'left'
|
|
|
},
|
|
|
{
|
|
|
- title:'相关人员',
|
|
|
+ title:'相关平面',
|
|
|
dataIndex:'operation',
|
|
|
key:'operation',
|
|
|
scopedSlots: { customRender: 'operation' },
|
|
@@ -245,7 +245,7 @@ const KScolumns = [
|
|
|
|
|
|
scopedSlots: { customRender: 'charge' },
|
|
|
align: 'center',
|
|
|
- sorter: () => {}
|
|
|
+ // sorter: () => {}
|
|
|
},
|
|
|
{
|
|
|
title: '点击数',
|
|
@@ -253,7 +253,7 @@ const KScolumns = [
|
|
|
align: 'center',
|
|
|
|
|
|
scopedSlots: { customRender: 'photoClick' },
|
|
|
- sorter: () => {}
|
|
|
+ // sorter: () => {}
|
|
|
// (a, b) => a.clickMaterial - b.clickMaterial
|
|
|
},
|
|
|
{
|
|
@@ -262,7 +262,7 @@ const KScolumns = [
|
|
|
align: 'center',
|
|
|
|
|
|
scopedSlots: { customRender: 'photoShow' },
|
|
|
- sorter: () => {}
|
|
|
+ // sorter: () => {}
|
|
|
},
|
|
|
{
|
|
|
title: '激活成本',
|
|
@@ -270,7 +270,7 @@ const KScolumns = [
|
|
|
align: 'center',
|
|
|
|
|
|
scopedSlots: { customRender: 'activation' },
|
|
|
- sorter: () => {}
|
|
|
+ // sorter: () => {}
|
|
|
},
|
|
|
{
|
|
|
title: '注册成本',
|
|
@@ -278,7 +278,7 @@ const KScolumns = [
|
|
|
align: 'center',
|
|
|
|
|
|
scopedSlots: { customRender: 'eventRegister' },
|
|
|
- sorter: () => {}
|
|
|
+ // sorter: () => {}
|
|
|
},
|
|
|
{
|
|
|
title: '付费成本',
|
|
@@ -286,7 +286,7 @@ const KScolumns = [
|
|
|
align: 'center',
|
|
|
|
|
|
scopedSlots: { customRender: 'eventPay' },
|
|
|
- sorter: () => {}
|
|
|
+ // sorter: () => {}
|
|
|
},
|
|
|
{
|
|
|
title: '表单提交成本',
|
|
@@ -294,7 +294,7 @@ const KScolumns = [
|
|
|
align: 'center',
|
|
|
|
|
|
scopedSlots: { customRender: 'formCount' },
|
|
|
- sorter: () => {}
|
|
|
+ // sorter: () => {}
|
|
|
},
|
|
|
{
|
|
|
title: '完件成本',
|
|
@@ -302,7 +302,7 @@ const KScolumns = [
|
|
|
align: 'center',
|
|
|
|
|
|
scopedSlots: { customRender: 'eventJinJianApp' },
|
|
|
- sorter: () => {}
|
|
|
+ // sorter: () => {}
|
|
|
},
|
|
|
{
|
|
|
title: '授信成本',
|
|
@@ -310,7 +310,7 @@ const KScolumns = [
|
|
|
align: 'center',
|
|
|
|
|
|
scopedSlots: { customRender: 'eventCreditGrantApp' },
|
|
|
- sorter: () => {}
|
|
|
+ // sorter: () => {}
|
|
|
},
|
|
|
// {
|
|
|
// title: '上传时间',
|
|
@@ -407,6 +407,7 @@ export default {
|
|
|
tabChange(val){
|
|
|
this.accountIds=[];
|
|
|
this.data=[]
|
|
|
+ this.ipagination.current=1
|
|
|
if(this.tabKeys==1){
|
|
|
this.treeData=this.TTaccountList;
|
|
|
this.columns=this.TTcolumns;
|
|
@@ -479,7 +480,13 @@ export default {
|
|
|
return
|
|
|
}
|
|
|
this.ipagination.current=pagination.current
|
|
|
- // this.HttpPost()
|
|
|
+ this.ipagination.pageSize= pagination.pageSize;
|
|
|
+
|
|
|
+ if(this.tabKeys==1){
|
|
|
+ this.HttpPost('/image/bytedance/cost')
|
|
|
+ }else if (this.tabKeys==2){
|
|
|
+ this.HttpPost('/image/kuaishou/cost')
|
|
|
+ }
|
|
|
},
|
|
|
moment,
|
|
|
//select切换---项目
|
|
@@ -504,6 +511,7 @@ export default {
|
|
|
//查询按钮
|
|
|
searchRes() {
|
|
|
this.data=[];
|
|
|
+ this.ipagination.current=1
|
|
|
if(this.tabKeys==1){
|
|
|
this.HttpPost('/image/bytedance/cost')
|
|
|
}else if (this.tabKeys==2){
|
|
@@ -521,6 +529,7 @@ export default {
|
|
|
//网络请求table数据函数
|
|
|
HttpPost(url){
|
|
|
this.loading=true;
|
|
|
+ this.data=[]
|
|
|
show = 0
|
|
|
postAction(url, {
|
|
|
startDate: this.timedata[0],
|