Commit 9683dce4 authored by youjie's avatar youjie

no message

parent ea641c19
......@@ -5,7 +5,7 @@
<h1>引流排名统计</h1>
</div>
<div class="rightmenu">
<el-button type="primary" @click="download">导出</el-button>
<el-button type="primary" size="mini" @click="download">导出</el-button>
</div>
</div>
<div class="query-box">
......@@ -14,6 +14,7 @@
<span class="font-size-12" style="padding-right: 10px;flex-shrink: 0;">期数:</span>
<el-date-picker
v-model="times"
clearable
type="daterange"
value-format="yyyy-MM-dd"
range-separator="至"
......@@ -42,59 +43,41 @@
<template v-if="i.Name=='小红书'">
<span v-for="(itemOne,indexs) in scope.row.oneArr" :key="indexs">
<template v-if="index==indexs">
<span class="activeNum">
{{itemOne>0?itemOne:''}}
</span>
</template>
</span>
</template>
<template v-if="i.Name=='微博'">
<span v-for="(itemOne,indexs) in scope.row.twoArr" :key="indexs">
<template v-if="index==indexs">
<span class="activeNum">
{{itemOne>0?itemOne:''}}
</span>
</template>
</span>
</template>
<template v-if="i.Name=='抖音'">
<span v-for="(itemOne,indexs) in scope.row.threeArr" :key="indexs">
<template v-if="index==indexs">
<span class="activeNum">
{{itemOne>0?itemOne:''}}
</template>
</span>
</template>
</template>
</el-table-column>
</el-table-column>
<!-- <el-table-column label="微博" align="center">
<el-table-column
v-for="item in ModuleTypeList"
prop="province"
:label="item.Name"
width="80">
<template slot-scope="scope">
<template v-for="items in scope.row.wb">
<template v-if="item.Name==items.name">
{{items.num}}
</template>
</span>
</template>
</template>
</el-table-column>
</el-table-column>
<el-table-column label="抖音" align="center">
<el-table-column
v-for="item in ModuleTypeList"
prop="province"
:label="item.Name"
width="80">
<el-table-column fixed="right" prop="TotalNum" label="合计">
<template slot-scope="scope">
<template v-for="items in scope.row.dy">
<template v-if="item.Name==items.name">
{{items.num}}
</template>
</template>
<span class="activeNumB">
{{scope.row.TotalNum>0?scope.row.TotalNum:''}}
</span>
</template>
</el-table-column>
</el-table-column> -->
<el-table-column fixed="right" prop="TotalNum" label="合计"></el-table-column>
</el-table>
</div>
......@@ -289,8 +272,14 @@
},
methods: {
getTime(){
if(this.times){
this.msg.StartTime = this.times[0]
this.msg.EndTime = this.times[1]
}else{
this.msg.StartTime = ''
this.msg.EndTime = ''
}
this.init()
},
getEnumerate(){
// 平台枚举
......@@ -386,6 +375,14 @@
</script>
<style>
@import "../../assets/css/customerManage.css";
.activeNumB{
/* color: #66b1ff; */
font-size: 16px;
}
.activeNum{
/* color: red; */
font-size: 16px;
}
.customerManage.border .el-table--border td{
border-right: 1px solid #EBEEF5 !important;
}
......
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