Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
marketing-web
marketing
Commits
172e95d1
Commit
172e95d1
authored
Apr 18, 2022
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: dist
parent
3361308f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
6 deletions
+14
-6
form.vue
src/views/ai/task/form.vue
+10
-3
tagPop.vue
src/views/ai/task/tagPop.vue
+4
-3
No files found.
src/views/ai/task/form.vue
View file @
172e95d1
...
...
@@ -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'
...
...
src/views/ai/task/tagPop.vue
View file @
172e95d1
...
...
@@ -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
:
4
0
0px
;
height
:
4
4
0px
;
overflow-y
:
auto
;
.el-radio
+
.el-radio
{
margin-left
:
0
;
...
...
@@ -167,5 +167,6 @@ export default {
}
.fr
{
float
:
right
;
margin
:
0
;
}
</
style
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment