Commit e19a0152 by liuchenxi

Merge branch 'master' into feature/4月会员分组

# Conflicts:
#	src/components/tag/tag-config-options.vue
parents 2e8b0c16 317a1073
......@@ -171,7 +171,7 @@
</el-date-picker>
<div v-if="parent.fixedRecentRadio == 2">
<label class="inline-block middle label-unit m-r-8">最近</label
><el-input v-model="parent.fixedRecentTimeRecent" placeholder="请输入1-365" class="w-200 m-r-8" @blur="value => toEditInput(value, 'fixedRecentTimeRecent', parent)"></el-input
><el-input v-model="parent.fixedRecentTimeRecent" placeholder="请输入1-730" class="w-200 m-r-8" @blur="value => toEditInput(value, 'fixedRecentTimeRecent', parent)"></el-input
><label class="inline-block middle label-unit"></label>
</div>
</div>
......@@ -257,9 +257,9 @@
<div :key="'tag11' + pindex">
<template v-if="loadSelector">
<!--scenes服务门店查上线,其余门店查所有-->
<dm-store-selector :options="parent.uuidOptions" :creatorId="creatorId" :uuid.sync="parent.uuid" ref="storeNew" :isAdd="!parent.uuid" :scenes="tagId == 'd568b880d8464a9b9365b9861828f587' ? '': 'tagScenes'" :scenesVal="tagId == 'd568b880d8464a9b9365b9861828f587' ? '': 'tagScenes'" />
<vue-gic-store-new :options="parent.uuidOptions" :creatorId="creatorId" :uuid.sync="parent.uuid" ref="storeNew" :isAdd="!parent.uuid" :scenes="tagId == 'd568b880d8464a9b9365b9861828f587' ? '': 'tagScenes'" :scenesVal="tagId == 'd568b880d8464a9b9365b9861828f587' ? '': 'tagScenes'" />
</template>
<!-- <vue-gic-store-new :options="parent.uuidOptions" :creatorId="creatorId" :uuid.sync="parent.uuid" ref="storeNew" :isAdd="!parent.uuid"> </vue-gic-store-new> -->
<!-- <vue-gic-store-new :options="parent.uuidOp0tions" :creatorId="creatorId" :uuid.sync="parent.uuid" ref="storeNew" :isAdd="!parent.uuid"> </vue-gic-store-new> -->
</div>
</div>
<!-- 12.多选项( 全部选项/已选选项 ) -->
......@@ -402,7 +402,15 @@
<div class="relative-range m-t-18 border-box" v-if="parent.radio != 1">
<div>
<div>
<label class="inline-block w-98 label-unit">时间精度</label>
<label class="inline-block w-98 label-unit">时间精度
<el-popover placement="top-end" trigger="hover">
<template>
<span style="font-weight: 600">选择【天】:</span><br />当天:选择相对时段为“当天”,那么统计的是当天凌晨至当前时间内的数据;<br />最近X天:选择相对时间段为“最近2天”,那么系统在8月5号统计的是8.3-8.4号的数据;系统在8月7号统计的是8.5-8.6号的数据;<br/>之后X天:选择相对时间段为“之后2天”,那么系统在8月5号统计的是8.6-8.7号的数据,系统在8月7号统计的是8.8-8.9号的数据;<br/>
<span style="font-weight: 600">选择【月】:</span><br />当月:选择相对时段为“当月”,那么统计的是当月1号至当前时间的数据;<br />最近X月:选择相对时间段为“最近2月”,那么系统在8月统计的是6.1-7.31号的数据;系统在9月统计的是7.1-8.31号的数据;<br />之后X月:选择相对时段为"之后2月",那么系统在8月统计的是9.1-10.31号的数据;系统在9月统计的是10.1-11.30号的数据;<br/>
</template>
<i slot="reference" class="iconfont icon-QuestionCircleOutlined" style="font-size: 14px"/>
</el-popover>
</label>
<el-radio-group v-model="parent.timeRadio" @change="timeRadioChange($event, parent)">
<el-radio label="1"></el-radio>
<el-radio label="2"></el-radio>
......@@ -591,12 +599,13 @@
</div>
<div class="m-t-20">
<label class="inline-block w-98"></label>
<el-checkbox v-model="parent.timeAfterChecked">
<el-checkbox v-model="parent.timeAfterChecked" style="margin-right: 7px">
</el-checkbox>
<el-select v-model="parent.timeSelect" placeholder="请选择" class="w-86 m-l-8">
<el-option label="最近" value="1"></el-option>
</el-select>
<span>最近</span>
<!-- <el-select v-model="parent.timeSelect" placeholder="请选择" class="w-86 m-l-8" disabled>
<el-option label="最近" value="1" style="color: #303133"></el-option>
</el-select> -->
<el-input
v-model="parent.timeInput"
placeholder="请输入"
......
......@@ -1360,9 +1360,12 @@ export default {
if (newNum <= 0) {
newNum = 1;
}
if (newNum > 365) {
if (tag != 'fixedRecentTimeRecent' && newNum > 365) {
newNum = 365;
}
if (tag == 'fixedRecentTimeRecent' && newNum > 730) {
newNum = 730;
}
item[tag] = newNum;
},
/**
......
......@@ -3,7 +3,7 @@
<div class="flex">
<el-tabs v-model="activeType" class="tabs" @tab-click="onTabClick">
<el-tab-pane label="我的客户分组" name="1"></el-tab-pane>
<el-tab-pane label="固化人群" name="2"></el-tab-pane>
<el-tab-pane label="固化分组" name="2"></el-tab-pane>
<el-tab-pane label="金字塔客户分组" name="3" v-if="!($store.state.enableAccessControl && !$store.state.isSuperAdmin)"></el-tab-pane>
</el-tabs>
</div>
......@@ -170,7 +170,7 @@
<p class="tips">实时分组仅在分组生效开始时间查询一次数据,后续数据不会发生变化,分组失效后数据会自动清空。</p>
<div class="title m-b-20 m-t-16">
<h2>
<span class="tips">{{ total || 0 }} 个分组,其中非实时分组 {{ classifyOptions.notRealTimeGroupNum || 0 }} 个,失效分组 {{ classifyOptions.notRealTimeGroupNum || 0 }}</span>
<span class="tips">{{ total || 0 }} 个分组,其中非实时分组 {{ classifyOptions.notRealTimeGroupNum || 0 }} 个,失效分组 {{ classifyOptions.notEffectiveGroupNum || 0 }}</span>
</h2>
<span class="count">剩余非实时分组数量:{{ classifyOptions.residueCreateGroupNum || 0 }}</span>
</div>
......
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