Commit 21efb9cc by chenyu

update: 修改文案及显示判断

parent 870c8dc1
......@@ -525,13 +525,11 @@
<div>
<div>
<label class="inline-block w-98 label-unit">时间精度
<el-tooltip popper-class="edit-tag-tooltip" placement="top" open-delay="100" effect="light">
<el-tooltip v-if="['haobanWechatRelatedTime','onceCostTime'].includes(currentKey)" popper-class="edit-tag-tooltip" placement="top" open-delay="100" effect="light">
<div slot="content">
<span style="font-weight: 600">选择【天】:</span><br />选择相对时段为“最近2天”,那么系统在5号凌晨进行统计时,统计的是在3号、4号首次添加导购企微好友的顾客;系统在6号凌晨统计时,统计的是4号、5号首次添加导购企微好友的顾客;<br />
<span style="font-weight: 600">选择【月】:</span><br />当月:eg:选择相对时间段为“当月”,那么系统在8月5号凌晨进行统计时,统计的是在8/1-8/4号首次添加导购企微好友的顾客;系统在6号凌晨统计时,统计的是在8/1-8/5号首次添加导购企微好友的顾客。<br />
<span style="font-weight: 600">最近X月:</span>eg:选择相对时间段为“最近2月”,那么系统在8月5号凌晨进行统计时,统计的是在6月、7月首次添加导购企微好友的顾客;系统在6号凌晨统计时,统计的还是在6月、7月首次添加导购企微好友的顾客。<br />
<span style="font-weight: 600">选择【年】:</span><br />当年:选择相对时间段为“当年”,那么系统在8月5号凌晨进行统计时,统计的是在当年1/1-8/4号首次添加导购企微好友的顾客;系统在6号凌晨统计时,统计的是在当年1/1-8/5号首次添加导购企微好友的顾客。<br />
<span style="font-weight: 600">最近X年:</span>eg:选择相对时间段为“最近1年”,那么系统在8月5号凌晨进行统计时,统计的是在去年1/1-12/31号首次添加导购企微好友的顾客;系统在6号凌晨统计时,统计的还是在去年1/1-12/31号首次添加导购企微好友的顾客。
<span style="font-weight: 600">选择【天】:</span><br />选择相对时段为“最近2天”,那么系统在5号凌晨统计3-4号的数据;系统在6号凌晨统计时,统计的是4-5号的数据;<br />
<span style="font-weight: 600">选择【月】:</span><br />当月:选择相对时间段为“当月”,那么系统在8月5号凌晨进行统计时,统计的是在8.1-8.4号的数据;系统在6号凌晨统计时,统计的是在8.1-8.5号的数据;<br />最近X月:选择相对时间段为“最近2月”,那么系统在8月5号凌晨进行统计时,统计的是6.1-7.31号的数据;系统在6号凌晨统计时,统计的还是6.1-7.31号的数据;<br />
<span style="font-weight: 600">选择【年】:</span><br />当年:选择相对时间段为“当年”,那么系统在8月5号凌晨进行统计时,统计的是在当年1.1-8.4号的数据;系统在6号凌晨统计时,统计的是在当年1.1-8.5号的数据;<br />最近X年:选择相对时间段为“最近1年”,那么系统在8月5号凌晨进行统计时,统计的是在去年1.1-12.31号的数据;系统在6号凌晨统计时,统计的还是在去年1.1-12.31号的数据。
</div>
<i class="iconfont icon-tishi" style="color: #909399"></i>
</el-tooltip>
......@@ -542,7 +540,7 @@
<el-radio label="3"></el-radio>
</el-radio-group>
</div>
<template v-if="currentKey==='haobanWechatRelatedTime'">
<template v-if="['haobanWechatRelatedTime','onceCostTime'].includes(currentKey)">
<div class="m-t-20" v-if="parent.timeRadio!=='1'">
<label class="inline-block w-98"></label>
<el-checkbox v-model="parent.timeChecked" @change="currentDayChange($event, parent)">
......
......@@ -1261,14 +1261,14 @@ export default {
* 选择相对时段
*/
timeRadioChange(e,parent){
if(this.currentKey==='haobanWechatRelatedTime')parent.timeAfterChecked=parent.timeRadio==='1'?true:false
if(['haobanWechatRelatedTime','onceCostTime'].includes(this.currentKey))parent.timeAfterChecked=parent.timeRadio==='1'?true:false
},
/**
* 天/月/年 RadioChange
*/
timeRadioChange(e, parent) {
// 每次改变选择,清空原有的值
if(this.currentKey==='haobanWechatRelatedTime')parent.timeAfterChecked=parent.timeRadio==='1'?true:false
if(['haobanWechatRelatedTime','onceCostTime'].includes(this.currentKey))parent.timeAfterChecked=parent.timeRadio==='1'?true:false
parent.timeInput = '';
},
......
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