|
@@ -152,8 +152,13 @@
|
|
>
|
|
>
|
|
<template #header>
|
|
<template #header>
|
|
<span v-if="item.key==='Pv'">
|
|
<span v-if="item.key==='Pv'">
|
|
- PV
|
|
|
|
- <el-tooltip class="item" effect="dark" :content="`pv:${$t('ReportManage.number_tooltip_pv_show')}`" placement="top-start">
|
|
|
|
|
|
+ {{ item.label }}
|
|
|
|
+ <el-tooltip class="item" effect="dark"
|
|
|
|
+ placement="top-start">
|
|
|
|
+ <div slot="content" style="width:420px;">
|
|
|
|
+ <p style="padding:5px 0;">pv:{{$t('ReportManage.number_tooltip_pv_show')}}</p>
|
|
|
|
+ <p style="padding:5px 0;">uv:{{$t('ReportManage.tooltip_uv_show')}}</p>
|
|
|
|
+ </div>
|
|
<i class="el-icon-warning"/>
|
|
<i class="el-icon-warning"/>
|
|
</el-tooltip>
|
|
</el-tooltip>
|
|
</span>
|
|
</span>
|
|
@@ -180,10 +185,13 @@
|
|
<span v-if="row.State == '6'">{{$t('ReportManage.smart_approved')}}</span>
|
|
<span v-if="row.State == '6'">{{$t('ReportManage.smart_approved')}}</span>
|
|
</span>
|
|
</span>
|
|
<span v-else-if="item.key==='Stage'">第{{row.Stage}}期</span>
|
|
<span v-else-if="item.key==='Stage'">第{{row.Stage}}期</span>
|
|
- <span v-else-if="item.key==='Pv'" style="cursor:pointer; color:#4099ef;" >
|
|
|
|
- <span @click="reportHandle(row,'PV')" v-if="row.PvEmail">{{row.PvEmail}}</span>
|
|
|
|
- <span v-if="row.PvEmail&&row.Pv" style="color:#333">/</span>
|
|
|
|
- <span v-if="row.Pv" style="color:#333">{{row.Pv}}</span>
|
|
|
|
|
|
+ <span v-else-if="item.key==='Pv'" >
|
|
|
|
+ <span @click="reportHandle(row,'PV')"
|
|
|
|
+ :style="row.PvEmail?'cursor:pointer; color:#4099ef;':'color:#333'" >{{row.PvEmail||0}}</span>
|
|
|
|
+ <!-- <span v-if="row.PvEmail&&row.Pv" style="color:#333">/</span>
|
|
|
|
+ <span v-if="row.Pv" style="color:#333">{{row.Pv}}</span> -->
|
|
|
|
+ <span style="color:#333">/</span>
|
|
|
|
+ <span style="color:#333">{{row.Uv||0}}</span>
|
|
</span>
|
|
</span>
|
|
<span v-else-if="item.key==='PublishTime'">
|
|
<span v-else-if="item.key==='PublishTime'">
|
|
<template v-if="[1,2].includes(row.State)">
|
|
<template v-if="[1,2].includes(row.State)">
|
|
@@ -569,6 +577,7 @@ export default {
|
|
{
|
|
{
|
|
label: 'PV / UV',
|
|
label: 'PV / UV',
|
|
key: 'Pv',
|
|
key: 'Pv',
|
|
|
|
+ widthsty: 140
|
|
},
|
|
},
|
|
{
|
|
{
|
|
label:this.$t('Table.column_operations') || '操作',
|
|
label:this.$t('Table.column_operations') || '操作',
|
|
@@ -866,6 +875,7 @@ export default {
|
|
this.popData.customValue.splice(index,1)
|
|
this.popData.customValue.splice(index,1)
|
|
},
|
|
},
|
|
showPVDetail(item){
|
|
showPVDetail(item){
|
|
|
|
+ if(!item.PvEmail) return
|
|
this.PVData.reportId=item.Id
|
|
this.PVData.reportId=item.Id
|
|
this.getPVDetail()
|
|
this.getPVDetail()
|
|
this.PVData.show=true
|
|
this.PVData.show=true
|