Commit f2e0310d by chenyu

update: update

parent fa27a2a0
......@@ -502,8 +502,10 @@
<template v-if="parent.templateCode == 'tag020'">
<div class="m-b-20" :key="'tag17' + pindex">
<el-radio v-model="parent.radio" label="1">固定时段</el-radio>
<el-radio v-model="parent.radio" label="2">相对时段</el-radio>
<el-radio-group v-model="parent.radio" @change="timeRadioChange($event,parent)">
<el-radio label="1">固定时段</el-radio>
<el-radio label="2">相对时段</el-radio>
</el-radio-group>
<!-- 固定时段 -->
<div class="m-t-18 w-438 p-20 border-box bg-f3f6f9" v-if="parent.radio == 1">
<el-date-picker
......@@ -529,7 +531,7 @@
<el-radio label="3"></el-radio>
</el-radio-group>
</div>
<template v-if="columnKey==='haobanWechatRelatedTime'">
<template v-if="currentKey==='haobanWechatRelatedTime'">
<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)">
......
......@@ -1257,12 +1257,18 @@ export default {
}
item[tag] = newNum;
},
/**
* 选择相对时段
*/
timeRadioChange(e,parent){
if(this.currentKey==='haobanWechatRelatedTime')parent.timeAfterChecked=parent.timeRadio==='1'?true:false
},
/**
* 天/月/年 RadioChange
*/
timeRadioChange(e, parent) {
// 每次改变选择,清空原有的值
if(this.currentKey==='haobanWechatRelatedTime')parent.timeAfterChecked=parent.timeRadio==='1'?true:false
parent.timeInput = '';
},
......
......@@ -10,7 +10,7 @@
</p>
<p class="tag-desc">{{ tagDataAssgin.tagDescribe }}</p>
</div>
<p v-if="tagId" class="m-t-20 m-b-20 tag-config">标签值设置<el-tooltip v-if="tagDataAssgin.columnKey==='haobanWechatRelatedTime'" popper-class="edit-tag-tooltip" placement="top" open-delay="100" effect="light"
<p v-if="tagId" class="m-t-20 m-b-20 tag-config">标签值设置<el-tooltip v-if="tagDataAssgin.columnKey==='haobanWechatRelatedTime'||JSON.parse(tagDataAssgin.tagValue).val[0].data.key" popper-class="edit-tag-tooltip" placement="top" open-delay="100" effect="light"
><div slot="content"><span style="font-weight:600">固定时段:</span>在所选时间段内首次添加导购企微好友的;<br/><span style="font-weight:600">相对时段:</span>相对于“标签统计时间”(每天凌晨计算统计一次)的前X天/月/年内首次添加导购企微好友的,例:选择相对时段为“最近2天”,那么系统在5号凌晨进行统计时,统计的是在3号、4号首次添加导购企微好友的顾客;系统在6号凌晨统计时,统计的是4号、5号首次添加导购企微好友的顾客。</div><i class="iconfont icon-tishi"></i></el-tooltip></p>
<!-- 所有标签的配置项 -->
<div class="tag-config-options">
......
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