Commit c1468e63 authored by youjie's avatar youjie

no message

parent 339fdb23
......@@ -26,11 +26,12 @@
</el-row>
</div>
<div style="padding: 0 0 30px 0;background: #ffffff;">
<!-- :style="{'height':screenHeight}" -->
<el-table
v-loading="loading"
:data="dataList"
style="width: 100%;"
height="660"
:height="screenHeight+'px'"
border
:span-method="objectSpanMethod"
:default-sort = "{prop: 'date', order: 'descending'}">
......@@ -342,10 +343,15 @@
StartTime:'',
EndTime:''
},
times:[]
times:[],
screenHeight:'',//获取显示器高度
};
},
mounted() {
const that = this;
that.screenHeight = (window.innerHeight-300)
// console.log(window.innerHeight);
this.getEnumerate()
this.init();
},
......
......@@ -93,36 +93,92 @@
<el-table-column width="90" prop="FansNum" label="粉丝数" sortable></el-table-column>
<el-table-column width="110" prop="FansRate" label="粉丝成长率" sortable><template slot-scope="scope">
<span :class="{'activeRed':scope.row.FansRate<0}">{{scope.row.FansRate}}%</span></template></el-table-column>
<el-table-column width="150" prop="AddFansNum" label="近七天新增粉丝量" sortable></el-table-column>
<el-table-column width="150" prop="AddFansNum" label="近七天新增粉丝量" sortable>
<template slot-scope="scope">
<template v-if="scope.row.AccountName!='合计'">
{{scope.row.AddFansNum}}
</template>
</template>
</el-table-column>
<el-table-column width="150" prop="AddFansRate" label="近7天粉丝增长率" sortable><template slot-scope="scope">
<span :class="{'activeRed':scope.row.AddFansRate<0}">{{scope.row.AddFansRate}}%</span></template></el-table-column>
<el-table-column width="110" prop="CollectNum" label="获赞与收藏" sortable></el-table-column>
<span v-if="scope.row.AccountName!='合计'" :class="{'activeRed':scope.row.AddFansRate<0}">{{scope.row.AddFansRate}}%</span></template></el-table-column>
<el-table-column width="110" prop="CollectNum" label="获赞与收藏" sortable>
<template slot-scope="scope">
<template v-if="scope.row.AccountName!='合计'">
{{scope.row.CollectNum}}
</template>
</template>
</el-table-column>
<el-table-column width="150" prop="CollectRate" label="获赞与收藏增长率" sortable><template slot-scope="scope">
<span :class="{'activeRed':scope.row.CollectRate<0}">{{scope.row.CollectRate}}%</span></template></el-table-column>
<el-table-column width="140" prop="VisitorNum" label="近七天主页访客" sortable></el-table-column>
<span v-if="scope.row.AccountName!='合计'" :class="{'activeRed':scope.row.CollectRate<0}">{{scope.row.CollectRate}}%</span></template></el-table-column>
<el-table-column width="140" prop="VisitorNum" label="近七天主页访客" sortable>
<template slot-scope="scope">
<template v-if="scope.row.AccountName!='合计'">
{{scope.row.VisitorNum}}
</template>
</template>
</el-table-column>
<el-table-column width="180" prop="VisitorRate" label="近七天主页访客增长率" sortable><template slot-scope="scope">
<span :class="{'activeRed':scope.row.VisitorRate<0}">{{scope.row.VisitorRate}}%</span></template></el-table-column>
<el-table-column width="130" prop="LookNum" label="近七天观看数" sortable></el-table-column>
<span v-if="scope.row.AccountName!='合计'" :class="{'activeRed':scope.row.VisitorRate<0}">{{scope.row.VisitorRate}}%</span></template></el-table-column>
<el-table-column width="130" prop="LookNum" label="近七天观看数" sortable>
<template slot-scope="scope">
<template v-if="scope.row.AccountName!='合计'">
{{scope.row.LookNum}}
</template>
</template>
</el-table-column>
<el-table-column width="170" prop="LookRate" label="近七天观看数增长率" sortable><template slot-scope="scope">
<span :class="{'activeRed':scope.row.LookRate<0}">{{scope.row.LookRate}}%</span></template></el-table-column>
<el-table-column width="130" prop="InteractionNum" label="近七天互动数" sortable></el-table-column>
<span v-if="scope.row.AccountName!='合计'" :class="{'activeRed':scope.row.LookRate<0}">{{scope.row.LookRate}}%</span></template></el-table-column>
<el-table-column width="130" prop="InteractionNum" label="近七天互动数" sortable>
<template slot-scope="scope">
<template v-if="scope.row.AccountName!='合计'">
{{scope.row.InteractionNum}}
</template>
</template>
</el-table-column>
<el-table-column width="170" prop="InteractionRate" label="近七天互动数增长率" sortable><template slot-scope="scope">
<span :class="{'activeRed':scope.row.InteractionRate<0}">{{scope.row.InteractionRate}}%</span></template></el-table-column>
<el-table-column width="110" prop="DiscussNum" label="近七天评论" sortable></el-table-column>
<span v-if="scope.row.AccountName!='合计'" :class="{'activeRed':scope.row.InteractionRate<0}">{{scope.row.InteractionRate}}%</span></template></el-table-column>
<el-table-column width="110" prop="DiscussNum" label="近七天评论" sortable>
<template slot-scope="scope">
<template v-if="scope.row.AccountName!='合计'">
{{scope.row.DiscussNum}}
</template>
</template>
</el-table-column>
<el-table-column width="150" prop="DiscussRate" label="近七天评论增长率" sortable><template slot-scope="scope">
<span :class="{'activeRed':scope.row.DiscussRate<0}">{{scope.row.DiscussRate}}%</span></template></el-table-column>
<el-table-column width="180" prop="SecondsNum" label="近七天观看总时长(秒)" sortable></el-table-column>
<span v-if="scope.row.AccountName!='合计'" :class="{'activeRed':scope.row.DiscussRate<0}">{{scope.row.DiscussRate}}%</span></template></el-table-column>
<el-table-column width="180" prop="SecondsNum" label="近七天观看总时长(秒)" sortable>
<template slot-scope="scope">
<template v-if="scope.row.AccountName!='合计'">
{{scope.row.SecondsNum}}
</template>
</template>
</el-table-column>
<el-table-column width="190" prop="SecondsRate" label="近七天观看总时长增长率" sortable><template slot-scope="scope">
<span :class="{'activeRed':scope.row.SecondsRate<0}">{{scope.row.SecondsRate}}%</span></template></el-table-column>
<el-table-column width="90" prop="NoteNum" label="笔记数" sortable></el-table-column>
<span v-if="scope.row.AccountName!='合计'" :class="{'activeRed':scope.row.SecondsRate<0}">{{scope.row.SecondsRate}}%</span></template></el-table-column>
<el-table-column width="90" prop="NoteNum" label="笔记数" sortable>
<template slot-scope="scope">
<template v-if="scope.row.AccountName!='合计'">
{{scope.row.NoteNum}}
</template>
</template>
</el-table-column>
<el-table-column width="130" prop="NoteRate" label="笔记数增长率" sortable><template slot-scope="scope">
<span :class="{'activeRed':scope.row.NoteRate<0}">{{scope.row.NoteRate}}%</span></template></el-table-column>
<el-table-column width="130" fixed="right" prop="EmpName" label="运营人"></el-table-column>
<span v-if="scope.row.AccountName!='合计'" :class="{'activeRed':scope.row.NoteRate<0}">{{scope.row.NoteRate}}%</span></template></el-table-column>
<el-table-column width="130" fixed="right" prop="EmpName" label="运营人">
<template slot-scope="scope">
<template v-if="scope.row.AccountName!='合计'">
{{scope.row.EmpName}}
</template>
</template>
</el-table-column>
<el-table-column width="130" fixed="right" label="操作" v-if="isPermission">
<template slot-scope="scope">
<template v-if="scope.row.AccountName!='合计'">
<el-button size="mini" type="primary" plain icon="el-icon-edit" @click="editAccount(scope.row)"></el-button>
<el-button size="mini" type="danger" plain icon="el-icon-delete" @click="delAccount(scope.row)"></el-button>
</template>
</template>
</el-table-column>
</el-table>
<el-table
......@@ -158,25 +214,63 @@
<el-table-column width="90" prop="FansNum" label="粉丝数" sortable></el-table-column>
<el-table-column width="150" prop="FansRate" label="近七天粉丝成长率" sortable><template slot-scope="scope">
<span :class="{'activeRed':scope.row.FansRate<0}">{{scope.row.FansRate}}%</span></template></el-table-column>
<el-table-column width="110" prop="AddFansNum" label="近七天关注" sortable></el-table-column>
<el-table-column width="110" prop="AddFansNum" label="近七天关注" sortable>
<template slot-scope="scope">
<template v-if="scope.row.AccountName!='合计'">
{{scope.row.AddFansNum}}
</template>
</template>
</el-table-column>
<el-table-column width="150" prop="AddFansRate" label="近7天关注增长率" sortable><template slot-scope="scope">
<span :class="{'activeRed':scope.row.AddFansRate<0}">{{scope.row.AddFansRate}}%</span></template></el-table-column>
<el-table-column width="110" prop="CollectNum" label="昨日阅读量" sortable></el-table-column>
<el-table-column width="160" prop="VisitorNum" label="近七天阅读(播放)量" sortable></el-table-column>
<span v-if="scope.row.AccountName!='合计'" :class="{'activeRed':scope.row.AddFansRate<0}">{{scope.row.AddFansRate}}%</span></template></el-table-column>
<el-table-column width="110" prop="CollectNum" label="昨日阅读量" sortable>
<template slot-scope="scope">
<template v-if="scope.row.AccountName!='合计'">
{{scope.row.CollectNum}}
</template>
</template>
</el-table-column>
<el-table-column width="160" prop="VisitorNum" label="近七天阅读(播放)量" sortable>
<template slot-scope="scope">
<template v-if="scope.row.AccountName!='合计'">
{{scope.row.VisitorNum}}
</template>
</template>
</el-table-column>
<el-table-column width="200" prop="VisitorRate" label="近七天阅读(播放)量增长率" sortable><template slot-scope="scope">
<span :class="{'activeRed':scope.row.VisitorRate<0}">{{scope.row.VisitorRate}}%</span></template></el-table-column>
<el-table-column width="180" prop="LookNum" label="近一个月阅读(播放)量" sortable></el-table-column>
<span v-if="scope.row.AccountName!='合计'" :class="{'activeRed':scope.row.VisitorRate<0}">{{scope.row.VisitorRate}}%</span></template></el-table-column>
<el-table-column width="180" prop="LookNum" label="近一个月阅读(播放)量" sortable>
<template slot-scope="scope">
<template v-if="scope.row.AccountName!='合计'">
{{scope.row.LookNum}}
</template>
</template>
</el-table-column>
<el-table-column width="220" prop="LookRate" label="近一个月阅读(播放)量增长率" sortable><template slot-scope="scope">
<span :class="{'activeRed':scope.row.LookRate<0}">{{scope.row.LookRate}}%</span></template></el-table-column>
<el-table-column width="100" prop="InteractionNum" label="总微博数" sortable></el-table-column>
<span v-if="scope.row.AccountName!='合计'" :class="{'activeRed':scope.row.LookRate<0}">{{scope.row.LookRate}}%</span></template></el-table-column>
<el-table-column width="100" prop="InteractionNum" label="总微博数" sortable>
<template slot-scope="scope">
<template v-if="scope.row.AccountName!='合计'">
{{scope.row.InteractionNum}}
</template>
</template>
</el-table-column>
<el-table-column width="140" prop="InteractionRate" label="总微博数增长率" sortable><template slot-scope="scope">
<span :class="{'activeRed':scope.row.InteractionRate<0}">{{scope.row.InteractionRate}}%</span></template></el-table-column>
<el-table-column width="130" fixed="right" prop="EmpName" label="运营人"></el-table-column>
<span v-if="scope.row.AccountName!='合计'" :class="{'activeRed':scope.row.InteractionRate<0}">{{scope.row.InteractionRate}}%</span></template></el-table-column>
<el-table-column width="130" fixed="right" prop="EmpName" label="运营人">
<template slot-scope="scope">
<template v-if="scope.row.AccountName!='合计'">
{{scope.row.EmpName}}
</template>
</template>
</el-table-column>
<el-table-column width="130" fixed="right" label="操作" v-if="isPermission">
<template slot-scope="scope">
<template v-if="scope.row.AccountName!='合计'">
<el-button size="mini" type="primary" plain icon="el-icon-edit" @click="editAccount(scope.row)"></el-button>
<el-button size="mini" type="danger" plain icon="el-icon-delete" @click="delAccount(scope.row)"></el-button>
</template>
</template>
</el-table-column>
</el-table>
<el-table
......@@ -211,36 +305,93 @@
<el-table-column width="90" prop="FansNum" label="粉丝数" sortable></el-table-column>
<el-table-column width="110" prop="FansRate" label="粉丝成长率" sortable><template slot-scope="scope">
<span :class="{'activeRed':scope.row.FansRate<0}">{{scope.row.FansRate}}%</span></template></el-table-column>
<el-table-column width="110" prop="AddFansNum" label="近七天关注" sortable></el-table-column>
<el-table-column width="110" prop="AddFansNum" label="近七天关注" sortable>
<template slot-scope="scope">
<template v-if="scope.row.AccountName!='合计'">
{{scope.row.AddFansNum}}
</template>
</template>
</el-table-column>
<el-table-column width="110" prop="AddFansRate" label="关注成长率" sortable><template slot-scope="scope">
<span :class="{'activeRed':scope.row.AddFansRate<0}">{{scope.row.AddFansRate}}%</span></template></el-table-column>
<el-table-column width="110" prop="CollectNum" label="近七天获赞" sortable></el-table-column>
<span v-if="scope.row.AccountName!='合计'" :class="{'activeRed':scope.row.AddFansRate<0}">{{scope.row.AddFansRate}}%</span></template></el-table-column>
<el-table-column width="110" prop="CollectNum" label="近七天获赞" sortable>
<template slot-scope="scope">
<template v-if="scope.row.AccountName!='合计'">
{{scope.row.CollectNum}}
</template>
</template>
</el-table-column>
<el-table-column width="110" prop="CollectRate" label="获赞增长率" sortable><template slot-scope="scope">
<span :class="{'activeRed':scope.row.CollectRate<0}">{{scope.row.CollectRate}}%</span></template></el-table-column>
<el-table-column width="150" prop="VisitorNum" label="近七天内播放总量" sortable></el-table-column>
<span v-if="scope.row.AccountName!='合计'" :class="{'activeRed':scope.row.CollectRate<0}">{{scope.row.CollectRate}}%</span></template></el-table-column>
<el-table-column width="150" prop="VisitorNum" label="近七天内播放总量" sortable>
<template slot-scope="scope">
<template v-if="scope.row.AccountName!='合计'">
{{scope.row.VisitorNum}}
</template>
</template>
</el-table-column>
<el-table-column width="140" prop="VisitorRate" label="播放总量成长率" sortable><template slot-scope="scope">
<span :class="{'activeRed':scope.row.VisitorRate<0}">{{scope.row.VisitorRate}}%</span></template></el-table-column>
<el-table-column width="140" prop="LookNum" label="近七天主页访问" sortable></el-table-column>
<span v-if="scope.row.AccountName!='合计'" :class="{'activeRed':scope.row.VisitorRate<0}">{{scope.row.VisitorRate}}%</span></template></el-table-column>
<el-table-column width="140" prop="LookNum" label="近七天主页访问" sortable>
<template slot-scope="scope">
<template v-if="scope.row.AccountName!='合计'">
{{scope.row.LookNum}}
</template>
</template>
</el-table-column>
<el-table-column width="140" prop="LookRate" label="主页访问成长率" sortable><template slot-scope="scope">
<span :class="{'activeRed':scope.row.LookRate<0}">{{scope.row.LookRate}}%</span></template></el-table-column>
<el-table-column width="150" prop="InteractionNum" label="近七天作品点赞数" sortable></el-table-column>
<span v-if="scope.row.AccountName!='合计'" :class="{'activeRed':scope.row.LookRate<0}">{{scope.row.LookRate}}%</span></template></el-table-column>
<el-table-column width="150" prop="InteractionNum" label="近七天作品点赞数" sortable>
<template slot-scope="scope">
<template v-if="scope.row.AccountName!='合计'">
{{scope.row.InteractionNum}}
</template>
</template>
</el-table-column>
<el-table-column width="150" prop="InteractionRate" label="作品点赞数成长率" sortable><template slot-scope="scope">
<span :class="{'activeRed':scope.row.InteractionRate<0}">{{scope.row.InteractionRate}}%</span></template></el-table-column>
<el-table-column width="150" prop="DiscussNum" label="近七天新增粉丝数" sortable></el-table-column>
<span v-if="scope.row.AccountName!='合计'" :class="{'activeRed':scope.row.InteractionRate<0}">{{scope.row.InteractionRate}}%</span></template></el-table-column>
<el-table-column width="150" prop="DiscussNum" label="近七天新增粉丝数" sortable>
<template slot-scope="scope">
<template v-if="scope.row.AccountName!='合计'">
{{scope.row.DiscussNum}}
</template>
</template>
</el-table-column>
<el-table-column width="150" prop="DiscussRate" label="新增粉丝成长率" sortable><template slot-scope="scope">
<span :class="{'activeRed':scope.row.DiscussRate<0}">{{scope.row.DiscussRate}}%</span></template></el-table-column>
<el-table-column width="150" prop="SecondsNum" label="近七天作品评论数" sortable></el-table-column>
<span v-if="scope.row.AccountName!='合计'" :class="{'activeRed':scope.row.DiscussRate<0}">{{scope.row.DiscussRate}}%</span></template></el-table-column>
<el-table-column width="150" prop="SecondsNum" label="近七天作品评论数" sortable>
<template slot-scope="scope">
<template v-if="scope.row.AccountName!='合计'">
{{scope.row.SecondsNum}}
</template>
</template>
</el-table-column>
<el-table-column width="150" prop="SecondsRate" label="作品评论数成长率" sortable><template slot-scope="scope">
<span :class="{'activeRed':scope.row.SecondsRate<0}">{{scope.row.SecondsRate}}%</span></template></el-table-column>
<el-table-column width="130" prop="NoteNum" label="近七天作品数" sortable></el-table-column>
<span v-if="scope.row.AccountName!='合计'" :class="{'activeRed':scope.row.SecondsRate<0}">{{scope.row.SecondsRate}}%</span></template></el-table-column>
<el-table-column width="130" prop="NoteNum" label="近七天作品数" sortable>
<template slot-scope="scope">
<template v-if="scope.row.AccountName!='合计'">
{{scope.row.NoteNum}}
</template>
</template>
</el-table-column>
<el-table-column width="110" prop="NoteRate" label="作品增长率" sortable><template slot-scope="scope">
<span :class="{'activeRed':scope.row.NoteRate<0}">{{scope.row.NoteRate}}%</span></template></el-table-column>
<el-table-column width="130" fixed="right" prop="EmpName" label="运营人"></el-table-column>
<span v-if="scope.row.AccountName!='合计'" :class="{'activeRed':scope.row.NoteRate<0}">{{scope.row.NoteRate}}%</span></template></el-table-column>
<el-table-column width="130" fixed="right" prop="EmpName" label="运营人">
<template slot-scope="scope">
<template v-if="scope.row.AccountName!='合计'">
{{scope.row.EmpName}}
</template>
</template>
</el-table-column>
<el-table-column width="130" fixed="right" label="操作" v-if="isPermission">
<template slot-scope="scope">
<template v-if="scope.row.AccountName!='合计'">
<el-button size="mini" type="primary" plain icon="el-icon-edit" @click="editAccount(scope.row)"></el-button>
<el-button size="mini" type="danger" plain icon="el-icon-delete" @click="delAccount(scope.row)"></el-button>
</template>
</template>
</el-table-column>
</el-table>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment