|
@@ -48,12 +48,12 @@
|
|
</div>
|
|
</div>
|
|
<div class="tableArea">
|
|
<div class="tableArea">
|
|
<div class="tableOption">
|
|
<div class="tableOption">
|
|
- <span class="OptinItem">
|
|
|
|
|
|
+ <!-- <span class="OptinItem">
|
|
<a-tooltip>
|
|
<a-tooltip>
|
|
<template slot="title" >
|
|
<template slot="title" >
|
|
这里可以批量启动、暂停、删除你的选择哦~
|
|
这里可以批量启动、暂停、删除你的选择哦~
|
|
</template>
|
|
</template>
|
|
- <!-- <a-button type="link" @click="changeSelectStatus">批量操作</a-button> -->
|
|
|
|
|
|
+
|
|
<span >批量操作:</span>
|
|
<span >批量操作:</span>
|
|
</a-tooltip>
|
|
</a-tooltip>
|
|
</span>
|
|
</span>
|
|
@@ -65,9 +65,7 @@
|
|
<a-select-option value="pause">
|
|
<a-select-option value="pause">
|
|
暂停
|
|
暂停
|
|
</a-select-option>
|
|
</a-select-option>
|
|
- <a-select-option value="delete">
|
|
|
|
- 删除
|
|
|
|
- </a-select-option>
|
|
|
|
|
|
+
|
|
</a-select>
|
|
</a-select>
|
|
</span>
|
|
</span>
|
|
<span class="OptinItem">
|
|
<span class="OptinItem">
|
|
@@ -84,13 +82,14 @@
|
|
<a-button type='primary' @click="isOkHandle" class="ok" v-else>确定</a-button>
|
|
<a-button type='primary' @click="isOkHandle" class="ok" v-else>确定</a-button>
|
|
|
|
|
|
</span>
|
|
</span>
|
|
-
|
|
|
|
|
|
+ -->
|
|
</div>
|
|
</div>
|
|
<div class="table">
|
|
<div class="table">
|
|
|
|
+ <!-- :rowSelection="{selectedRowKeys: selectedRowKeys,...rowSelection}" -->
|
|
<a-table
|
|
<a-table
|
|
:columns="columns"
|
|
:columns="columns"
|
|
:data-source="data"
|
|
:data-source="data"
|
|
- :rowSelection="{selectedRowKeys: selectedRowKeys,...rowSelection}"
|
|
|
|
|
|
+
|
|
bordered
|
|
bordered
|
|
:pagination="ipagination"
|
|
:pagination="ipagination"
|
|
:loading="loading"
|
|
:loading="loading"
|
|
@@ -153,6 +152,98 @@
|
|
<span slot="status" slot-scope="text">
|
|
<span slot="status" slot-scope="text">
|
|
{{text | handlerStatus}}
|
|
{{text | handlerStatus}}
|
|
</span>
|
|
</span>
|
|
|
|
+
|
|
|
|
+ <span slot="ctr" slot-scope="ctr">{{ ctr | toPercentage }}</span>
|
|
|
|
+ <span slot="cost" slot-scope="cost">{{ cost | decimalsHandle }}</span>
|
|
|
|
+ <span slot="clickMaterial" slot-scope="clickMaterial">{{ clickMaterial | formatCurrency }}</span>
|
|
|
|
+ <span slot="showMaterial" slot-scope="showMaterial">{{ showMaterial | formatCurrency }}</span>
|
|
|
|
+ <span slot="convertMaterial" slot-scope="convertMaterial">{{ convertMaterial | formatCurrency }}</span>
|
|
|
|
+ <span slot="play25FeedBreak" slot-scope="play25FeedBreak">{{ play25FeedBreak | formatCurrency }}</span>
|
|
|
|
+ <span slot="play50FeedBreak" slot-scope="play50FeedBreak">{{ play50FeedBreak | formatCurrency }}</span>
|
|
|
|
+ <span slot="play75FeedBreak" slot-scope="play75FeedBreak">{{ play75FeedBreak | formatCurrency }}</span>
|
|
|
|
+ <span slot="play100FeedBreak" slot-scope="play100FeedBreak">{{ play100FeedBreak | formatCurrency }}</span>
|
|
|
|
+ <span slot="nextDayOpen" slot-scope="nextDayOpen">{{ nextDayOpen | formatCurrency }}</span>
|
|
|
|
+ <span slot="downloadFinish" slot-scope="downloadFinish">{{ downloadFinish | formatCurrency }}</span>
|
|
|
|
+ <span slot="downloadStart" slot-scope="downloadStart">{{ downloadStart | formatCurrency }}</span>
|
|
|
|
+ <span slot="likeMaterial" slot-scope="likeMaterial">{{ likeMaterial | formatCurrency }}</span>
|
|
|
|
+ <span slot="shareMaterial" slot-scope="shareMaterial">{{ shareMaterial | formatCurrency }}</span>
|
|
|
|
+ <span slot="register" slot-scope="register">{{ register | formatCurrency }}</span>
|
|
|
|
+ <span slot="follow" slot-scope="follow">{{ follow | formatCurrency }}</span>
|
|
|
|
+ <span slot="formCount" slot-scope="formCount">{{ formCount | formatCurrency }}</span>
|
|
|
|
+ <span slot="formCountCost" slot-scope="formCountCost">{{ formCountCost | decimalsHandle }}</span>
|
|
|
|
+ <span slot="aClick" slot-scope="aClick">{{ aClick | formatCurrency }}</span>
|
|
|
|
+ <span slot="photoShow" slot-scope="photoShow">{{ photoShow | formatCurrency }}</span>
|
|
|
|
+ <span slot="photoClick" slot-scope="photoClick">{{ photoClick | formatCurrency }}</span>
|
|
|
|
+ <span slot="bClick" slot-scope="bClick">{{ bClick | formatCurrency }}</span>
|
|
|
|
+ <span slot="active" slot-scope="active">{{ active | formatCurrency }}</span>
|
|
|
|
+ <span slot="submit" slot-scope="submit">{{ submit | formatCurrency }}</span>
|
|
|
|
+ <span slot="nextDayOpen" slot-scope="nextDayOpen">{{ nextDayOpen | formatCurrency }}</span>
|
|
|
|
+ <span slot="eventCreditGrantLandingPage" slot-scope="eventCreditGrantLandingPage">{{ eventCreditGrantLandingPage | formatCurrency }}</span>
|
|
|
|
+ <span slot="submitCost" slot-scope="submitCost">{{ submitCost | decimalsHandle }}</span>
|
|
|
|
+ <span slot="eventCreditGrantLandingPageCost" slot-scope="eventCreditGrantLandingPageCost">{{ eventCreditGrantLandingPageCost | decimalsHandle }}</span>
|
|
|
|
+ <span slot="submitRate" slot-scope="submitRate">{{ submitRate | toPercentage }}</span>
|
|
|
|
+ <span slot="eventCreditGrantLandingPageRate" slot-scope="eventCreditGrantLandingPageRate">{{ eventCreditGrantLandingPageRate | toPercentage }}</span>
|
|
|
|
+ <span
|
|
|
|
+ slot="play25FeedBreakRate"
|
|
|
|
+ slot-scope="play25FeedBreakRate"
|
|
|
|
+ >{{ play25FeedBreakRate | toPercentage }}</span>
|
|
|
|
+ <span slot="playOverRate" slot-scope="playOverRate">{{ playOverRate | toPercentage }}</span>
|
|
|
|
+ <!-- 新加数据 -->
|
|
|
|
+
|
|
|
|
+ <span slot="convertRate" slot-scope="convertRate">{{ convertRate | toPercentage }}</span>
|
|
|
|
+ <span slot="nextDayOpenRate" slot-scope="nextDayOpenRate">{{ nextDayOpenRate | toPercentage }}</span>
|
|
|
|
+ <span slot="ctr" slot-scope="ctr">{{ ctr | toPercentage }}</span>
|
|
|
|
+ <span slot="cpc" slot-scope="cpc">{{ cpc | decimalsHandle }}</span>
|
|
|
|
+ <span slot="cpm" slot-scope="cpm">{{ cpm | decimalsHandle }}</span>
|
|
|
|
+ <span slot="activeRate" slot-scope="activeRate">{{ activeRate | toPercentage }}</span>
|
|
|
|
+ <span
|
|
|
|
+ slot="installFinishRate"
|
|
|
|
+ slot-scope="installFinishRate"
|
|
|
|
+ >{{ installFinishRate | toPercentage }}</span>
|
|
|
|
+ <span slot="validPlayRate" slot-scope="validPlayRate">{{ validPlayRate | toPercentage }}</span>
|
|
|
|
+ <span slot="activePayCost" slot-scope="activePayCost">{{ activePayCost | decimalsHandle }}</span>
|
|
|
|
+ <span slot="nextDayOpenCost" slot-scope="nextDayOpenCost">{{ nextDayOpenCost | decimalsHandle }}</span>
|
|
|
|
+ <span slot="validPlayCost" slot-scope="validPlayCost">{{ validPlayCost | decimalsHandle }}</span>
|
|
|
|
+ <span slot="activeCost" slot-scope="activeCost">{{ activeCost | decimalsHandle }}</span>
|
|
|
|
+ <span slot="nextDayOpenCost" slot-scope="nextDayOpenCost">{{ nextDayOpenCost | decimalsHandle }}</span>
|
|
|
|
+ <span
|
|
|
|
+ slot="gameAddictionCost"
|
|
|
|
+ slot-scope="gameAddictionCost"
|
|
|
|
+ >{{ gameAddictionCost | decimalsHandle }}</span>
|
|
|
|
+ <span
|
|
|
|
+ slot="downloadFinishCost"
|
|
|
|
+ slot-scope="downloadFinishCost"
|
|
|
|
+ >{{ downloadFinishCost | decimalsHandle }}</span>
|
|
|
|
+ <span
|
|
|
|
+ slot="downloadStartCost"
|
|
|
|
+ slot-scope="downloadStartCost"
|
|
|
|
+ >{{ downloadStartCost | decimalsHandle }}</span>
|
|
|
|
+ <span
|
|
|
|
+ slot="installFinishCost"
|
|
|
|
+ slot-scope="installFinishCost"
|
|
|
|
+ >{{ installFinishCost | decimalsHandle }}</span>
|
|
|
|
+ <span slot="convertCost" slot-scope="convertCost">{{ convertCost | decimalsHandle }}</span>
|
|
|
|
+
|
|
|
|
+ <!-- -->
|
|
|
|
+ <span
|
|
|
|
+ slot="downloadStartRate"
|
|
|
|
+ slot-scope="downloadStartRate"
|
|
|
|
+ >{{ downloadStartRate | toPercentage }}</span>
|
|
|
|
+ <span
|
|
|
|
+ slot="downloadFinishRate"
|
|
|
|
+ slot-scope="downloadFinishRate"
|
|
|
|
+ >{{ downloadFinishRate | toPercentage }}</span>
|
|
|
|
+ <span slot="activeRate" slot-scope="activeRate">{{ activeRate | toPercentage }}</span>
|
|
|
|
+ <span
|
|
|
|
+ slot="activeRegisterRate"
|
|
|
|
+ slot-scope="activeRegisterRate"
|
|
|
|
+ >{{ activeRegisterRate | toPercentage }}</span>
|
|
|
|
+ <span
|
|
|
|
+ slot="gameAddictionRate"
|
|
|
|
+ slot-scope="gameAddictionRate"
|
|
|
|
+ >{{ gameAddictionRate | toPercentage }}</span>
|
|
|
|
+ <span slot="nextDayOpenRate" slot-scope="nextDayOpenRate">{{ nextDayOpenRate | toPercentage }}</span>
|
|
|
|
+ <!-- <span slot="nextDayOpenRate" slot-scope="nextDayOpenRate">{{ nextDayOpenRate | toPercentage }}</span> -->
|
|
</a-table>
|
|
</a-table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -175,15 +266,15 @@ let typeValue='预算'
|
|
|
|
|
|
|
|
|
|
const groupColumns = [
|
|
const groupColumns = [
|
|
- {
|
|
|
|
- title: '开关',
|
|
|
|
- dataIndex: 'switchStatus',
|
|
|
|
- key: 'switchStatus',
|
|
|
|
- align: 'center',
|
|
|
|
- scopedSlots: { customRender: 'switchStatus' },
|
|
|
|
- fixed: 'left' ,
|
|
|
|
- width:80,
|
|
|
|
- },
|
|
|
|
|
|
+// {
|
|
|
|
+// title: '开关',
|
|
|
|
+// dataIndex: 'switchStatus',
|
|
|
|
+// key: 'switchStatus',
|
|
|
|
+// align: 'center',
|
|
|
|
+// scopedSlots: { customRender: 'switchStatus' },
|
|
|
|
+// fixed: 'left' ,
|
|
|
|
+// width:80,
|
|
|
|
+// },
|
|
{
|
|
{
|
|
title: '广告组名称',
|
|
title: '广告组名称',
|
|
dataIndex: 'unitName',
|
|
dataIndex: 'unitName',
|
|
@@ -520,13 +611,13 @@ export default {
|
|
let ids=record.id;
|
|
let ids=record.id;
|
|
let putStatus=text?2:1;
|
|
let putStatus=text?2:1;
|
|
postAction('/kuaishou/batch/batchUpdateUnitStatus',{
|
|
postAction('/kuaishou/batch/batchUpdateUnitStatus',{
|
|
- accountId:record.accountId,
|
|
|
|
- putStatus,
|
|
|
|
- unitIds:[record.id],
|
|
|
|
- userId:this.$parent.userId
|
|
|
|
|
|
+ accountId:record.accountId,
|
|
|
|
+ putStatus,
|
|
|
|
+ unitIds:[record.id],
|
|
|
|
+ userId:this.$parent.userId
|
|
}).then((res)=>{
|
|
}).then((res)=>{
|
|
|
|
|
|
- record.spin=false;
|
|
|
|
|
|
+ record.spin=false;
|
|
if(res.success){
|
|
if(res.success){
|
|
this.getplanList()
|
|
this.getplanList()
|
|
this.$message.success(res.message)
|
|
this.$message.success(res.message)
|