|
@@ -8,13 +8,12 @@
|
|
|
<div class="video-report">
|
|
|
<div class="directional-content">
|
|
|
<div class="table-page-search-wrapper">
|
|
|
-
|
|
|
<a-form layout="inline" :form="form" hide-required-mark :selfUpdate="true" @submit="handleQueryList">
|
|
|
<a-row :gutter="24">
|
|
|
- <a-col :md="12" :sm="12" :xxl="12">
|
|
|
+ <a-col :md="16" :sm="16" :xxl="16">
|
|
|
<a-form-item label="账户名称">
|
|
|
<selectTreeAccount
|
|
|
- v-decorator="['accountIds']"
|
|
|
+ v-decorator="['accountIds', { initialValue: [] }]"
|
|
|
multiple
|
|
|
style="display: inline-block;position: relative;margin-left: 0px;width:100%;margin-bottom:15px"
|
|
|
:limit="1"
|
|
@@ -27,7 +26,7 @@
|
|
|
'dateValue',
|
|
|
{ initialValue: [moment().subtract(7, 'days'), moment().subtract(1, 'days')] }
|
|
|
]" -->
|
|
|
- <a-col :md="8" :sm="8" :xxl="6">
|
|
|
+ <a-col :md="6" :sm="6" :xxl="6">
|
|
|
<a-form-item label="时间选择">
|
|
|
<a-range-picker
|
|
|
v-model="dateValue"
|
|
@@ -37,7 +36,7 @@
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
|
|
|
- <a-col :md="8" :sm="8" :xxl="6">
|
|
|
+ <a-col :md="6" :sm="6" :xxl="6">
|
|
|
<a-form-item label="设计负责人">
|
|
|
<a-select
|
|
|
v-decorator="['leaderId']"
|
|
@@ -51,7 +50,7 @@
|
|
|
</a-select>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
- <a-col :md="8" :sm="8" :xxl="6">
|
|
|
+ <a-col :md="6" :sm="6" :xxl="6">
|
|
|
<a-form-item label="剪辑">
|
|
|
<a-select v-decorator="['clipId']" allowClear show-search :filter-option="filterOption">
|
|
|
<a-select-option v-for="item in designList" :key="item.userId" :value="item.userId">
|
|
@@ -60,7 +59,7 @@
|
|
|
</a-select>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
- <a-col :md="8" :sm="8" :xxl="6">
|
|
|
+ <a-col :md="6" :sm="6" :xxl="6">
|
|
|
<a-form-item label="拍摄">
|
|
|
<a-select v-decorator="['shotId']" allowClear show-search :filter-option="filterOption">
|
|
|
<a-select-option v-for="item in designList" :key="item.userId" :value="item.userId">
|
|
@@ -69,7 +68,7 @@
|
|
|
</a-select>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
- <a-col :md="8" :sm="8" :xxl="6">
|
|
|
+ <a-col :md="6" :sm="6" :xxl="6">
|
|
|
<a-form-item label="编导">
|
|
|
<a-select v-decorator="['planId']" allowClear show-search :filter-option="filterOption">
|
|
|
<a-select-option v-for="item in designList" :key="item.userId" :value="item.userId">
|
|
@@ -78,7 +77,7 @@
|
|
|
</a-select>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
- <a-col :md="8" :sm="8" :xxl="6">
|
|
|
+ <a-col :md="6" :sm="6" :xxl="6">
|
|
|
<a-form-item label="素材渠道">
|
|
|
<a-select v-decorator="['channelType']" allowClear>
|
|
|
<a-select-option :value="0">内部</a-select-option>
|
|
@@ -87,7 +86,7 @@
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
|
|
|
- <a-col :md="8" :sm="8" :xxl="12" style="display: flex;justify-content: flex-end;">
|
|
|
+ <a-col :md="12" :sm="12" :xxl="12" style="display: flex;justify-content: flex-end;">
|
|
|
<span style="float: left; overflow: hidden" class="table-page-search-submitButtons">
|
|
|
<a-button type="primary" icon="search" @click="handleQueryList">查询</a-button>
|
|
|
<!-- <a-button type="primary" @click="handleResetForm" icon="reload" class="middle-button"
|
|
@@ -186,10 +185,10 @@
|
|
|
<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>
|
|
@@ -205,13 +204,16 @@
|
|
|
play25FeedBreakRate | toPercentage
|
|
|
}}</span>
|
|
|
<span slot="playOverRate" slot-scope="playOverRate">{{ playOverRate | toPercentage }}</span>
|
|
|
+ <!-- 新加数据 -->
|
|
|
+
|
|
|
+ <span slot="clickRate" slot-scope="clickRate">{{ clickRate | toPercentage }}</span>
|
|
|
+ <span slot="bClickRate" slot-scope="bClickRate">{{ bClickRate | 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>
|
|
@@ -220,6 +222,7 @@
|
|
|
<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>
|
|
@@ -233,13 +236,29 @@
|
|
|
installFinishCost | decimalsHandle
|
|
|
}}</span>
|
|
|
<span slot="convertCost" slot-scope="convertCost">{{ convertCost | decimalsHandle }}</span>
|
|
|
- <span slot="activeRegisterCost" slot-scope="activeRegisterCost">{{
|
|
|
- activeRegisterCost | 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="eventCreditGrantAppRate" slot-scope="eventCreditGrantAppRate">{{
|
|
|
+ eventCreditGrantAppRate | toPercentage
|
|
|
+ }}</span>
|
|
|
+ <span slot="play3sRate" slot-scope="play3sRate">{{ play3sRate | toPercentage }}</span>
|
|
|
+ <span slot="formCountRate" slot-scope="formCountRate">{{ formCountRate | toPercentage }}</span>
|
|
|
+
|
|
|
+ <!-- <span slot="nextDayOpenRate" slot-scope="nextDayOpenRate">{{ nextDayOpenRate | toPercentage }}</span> -->
|
|
|
<!-- <span
|
|
|
slot="downloadFinishRate"
|
|
|
slot-scope="downloadFinishRate"
|
|
@@ -336,6 +355,7 @@ const columnsFixd = [
|
|
|
{
|
|
|
title: '渠道',
|
|
|
dataIndex: 'channel',
|
|
|
+ scopedSlots: { customRender: 'channel' },
|
|
|
align: 'center',
|
|
|
width: 150,
|
|
|
fixed: 'left'
|
|
@@ -615,7 +635,7 @@ export default {
|
|
|
this.handleGetTableList({})
|
|
|
},
|
|
|
handleGetTableList(data) {
|
|
|
- if (data.accountIds) {
|
|
|
+ if (data.accountIds && data.accountIds.length > 0) {
|
|
|
this.loading = true
|
|
|
const params = {
|
|
|
...data,
|
|
@@ -646,6 +666,8 @@ export default {
|
|
|
this.loading = false
|
|
|
}
|
|
|
})
|
|
|
+ } else {
|
|
|
+ this.$message.error('请选择账户')
|
|
|
}
|
|
|
},
|
|
|
filterOption(input, option) {
|
|
@@ -653,7 +675,7 @@ export default {
|
|
|
},
|
|
|
//点击查看明细按钮的事件
|
|
|
opendetail(text, record) {
|
|
|
- console.log(text, record)
|
|
|
+ // console.log(text, record)
|
|
|
this.visibleDetail = true
|
|
|
this.detailData = []
|
|
|
this.detailLoading = true
|
|
@@ -665,7 +687,7 @@ export default {
|
|
|
signature: record.signature,
|
|
|
accountIds: this.appId
|
|
|
}).then(res => {
|
|
|
- console.log(res)
|
|
|
+ // console.log(res)
|
|
|
this.detailLoading = false
|
|
|
if (res.success) {
|
|
|
let result = res.result
|
|
@@ -973,9 +995,7 @@ export default {
|
|
|
postAction('/toutiao/videoReportDaily/getColumnJson', {
|
|
|
columnType: 4
|
|
|
}).then(res => {
|
|
|
- console.log(res, 'activated--activated')
|
|
|
if (res.success) {
|
|
|
- console.log(JSON.parse(res.result), '-------')
|
|
|
if (res.result) {
|
|
|
let columns = JSON.parse(res.result)
|
|
|
if (columns.length) {
|