Commit 172e95d1 by crushh

update: dist

parent 3361308f
......@@ -36,10 +36,10 @@
<el-radio :label="0">客户筛选</el-radio>
<el-radio :label="1">客户分组</el-radio>
</el-radio-group>
<div class="tips" style="margin:6px 0 12px 0; " v-if="form.memberType == 0 && form.scene != 1">{{ `${memberTypeTips[form.scene]}${memberCrowdWidgetId || selectedGroupIds ? '并满足以下条件' : ''}的全部客户` }}</div>
<div class="tips" v-if="form.memberType == 0 && form.scene == 1">{{ memberCrowdWidgetId || selectedGroupIds ? '默认客户范围中并且满足以下条件的客户' : '默认为权限范围内,生日时间为生日范围内的全部客户' }}</div>
<div class="tips" style="margin-bottom: 12px; " v-if="form.memberType == 0 && form.scene != 1">{{ `${memberTypeTips[form.scene]}${memberCrowdWidgetId || selectedGroupIds ? '并满足以下条件' : ''}的全部客户` }}</div>
<div class="tips" style="margin-bottom: 12px;" v-if="form.scene == 1">{{ memberCrowdWidgetId || selectedGroupIds ? '默认客户范围中并且满足以下条件的客户' : form.memberType == 0 ? '默认为权限范围内,生日时间为生日范围内的全部客户' : '' }}</div>
<div>
<el-button v-if="form.memberType == 0 && !memberCrowdWidgetId && form.scene != 4" size="small" @click="ruleVisible = true"> <i class="iconfont icon-Plus"></i> 添加其他条件</el-button>
<el-button v-if="form.memberType == 0 && !memberCrowdWidgetId && form.scene != 4" size="small" @click="ruleVisible = true"><i class="iconfont fz14 icon-Plus"></i> 添加其他条件</el-button>
<ruleFilter v-show="form.memberType == 0 && form.scene != 4" :visiable.sync="ruleVisible" @save="handleRuleFilterSave" :memberCrowdWidgetId="memberCrowdWidgetId" />
<el-button v-if="form.memberType == 1 && !selectedGroupIds" size="small" @click="groupVisible = true">添加分组</el-button>
<gic-new-member-group v-show="form.memberType == 1" :visiable.sync="groupVisible" :selectedIds="selectedGroupIds" @change="confirmGroupDialog" />
......@@ -693,6 +693,13 @@ export default {
const { result } = await rechargeCenter();
this.money = result.account.balance / 100;
const totalCount = (planMemberCount * this.unitPrice).toFixed(2);
if (planMemberCount == 0) {
this.$confirm(`本次外呼活动预覆盖人数为0,是否继续创建?`, '提示', {
type: 'warning'
}).then(() => {
this.submit(data);
});
}
if (this.isWhite || totalCount < this.money) {
this.$confirm(`本次外呼费用预计需要消费 ${totalCount} 元,是否继续创建?`, '提示', {
type: 'warning'
......
......@@ -43,7 +43,7 @@ export default {
tabPaneLoading: false,
totalCount: 0,
currentPage: 1,
pageSize: 5,
pageSize: 20,
showPopVisible: false,
manualTagPop: {
show: false,
......@@ -120,7 +120,7 @@ export default {
};
const { result } = await platformHomePageV2(param);
if (result) {
this.tabList = [{ levelName: '所有活动标签', id: result[0].tagLevelGroupId }, ...result[0].children];
this.tabList = [{ levelName: '所有活动标签', id: result[0].tagLevelGroupId }, ...result[0].children[0].children];
}
if (this.tabList.length) {
this.activeName = this.tabList[0].id;
......@@ -148,7 +148,7 @@ export default {
padding: 11px 17px 0 0;
}
.radioContainer {
height: 400px;
height: 440px;
overflow-y: auto;
.el-radio + .el-radio {
margin-left: 0;
......@@ -167,5 +167,6 @@ export default {
}
.fr {
float: right;
margin: 0;
}
</style>
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