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
e33d0059
Commit
e33d0059
authored
Apr 26, 2022
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: dist
parent
72dd9849
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
41 additions
and
12 deletions
+41
-12
ai-data-active-data.vue
src/views/ai/ai-data-active-data.vue
+22
-3
ai-data-aiCall.vue
src/views/ai/ai-data-aiCall.vue
+19
-4
target-group.vue
src/views/ai/ai-data-report/target-group.vue
+0
-5
No files found.
src/views/ai/ai-data-active-data.vue
View file @
e33d0059
...
...
@@ -153,6 +153,10 @@ export default {
return
{
numFormat
,
form
:
{
search
:
''
,
storeGroupId
:
''
,
storeGroupLevel
:
''
,
orderBy
:
''
,
activityId
:
this
.
$route
.
params
.
id
,
pageNum
:
1
,
pageSize
:
20
...
...
@@ -322,8 +326,19 @@ export default {
.
filter
(
el
=>
el
.
length
>
0
);
},
exportParams
()
{
const
{
search
,
storeGroupId
,
storeGroupLevel
}
=
this
.
form
;
return
{
...
this
.
activityData
,
search
,
storeGroupId
,
storeGroupLevel
};
const
{
search
,
storeGroupId
,
storeGroupLevel
,
orderBy
}
=
this
.
form
;
let
params
=
{};
if
(
this
.
dimension
==
'分组维度'
)
{
if
(
this
.
selectVal
==
1
)
{
params
=
{
...
this
.
activityData
,
storeGroupLevel
,
orderBy
};
}
else
{
params
=
{
...
this
.
activityData
,
storeGroupId
,
orderBy
};
}
}
else
{
params
=
{
...
this
.
activityData
,
search
,
storeGroupId
,
orderBy
};
}
console
.
log
(
params
);
return
{
...
this
.
activityData
,
...
params
};
}
},
methods
:
{
...
...
@@ -437,9 +452,13 @@ export default {
},
radioChange
(
data
)
{
this
.
form
=
{
search
:
''
,
storeGroupId
:
''
,
storeGroupLevel
:
''
,
activityId
:
this
.
$route
.
params
.
id
,
pageNum
:
1
,
pageSize
:
20
pageSize
:
20
,
orderBy
:
''
};
if
(
data
==
'分组维度'
)
{
this
.
form
.
storeGroupLevel
=
1
;
...
...
src/views/ai/ai-data-aiCall.vue
View file @
e33d0059
...
...
@@ -119,7 +119,7 @@ let tableHead = [
minWidth
:
'160'
,
sortable
:
'custom'
,
formatter
:
function
(
row
)
{
return
`<span>
${
!
isNaN
(
row
.
customerIntentionsNumber
)
?
row
.
customerIntentionsNumber
+
'%'
:
'- -'
}
</span>`
;
return
`<span>
${
!
isNaN
(
row
.
customerIntentionsNumber
)
?
row
.
sentMessagesNumber
.
toLocaleString
()
:
'- -'
}
</span>`
;
}
},
{
...
...
@@ -161,6 +161,7 @@ export default {
search
:
''
,
storeGroupId
:
''
,
storeGroupLevel
:
''
,
orderBy
:
''
,
activityId
:
this
.
$route
.
params
.
id
,
pageNum
:
1
,
pageSize
:
20
...
...
@@ -330,9 +331,19 @@ export default {
.
filter
(
el
=>
el
.
length
>
0
);
},
exportParams
()
{
const
{
search
,
storeGroupId
,
storeGroupLevel
}
=
this
.
form
;
console
.
log
(
search
,
storeGroupId
,
storeGroupLevel
);
return
{
...
this
.
activityData
,
search
,
storeGroupId
,
storeGroupLevel
};
const
{
search
,
storeGroupId
,
storeGroupLevel
,
orderBy
}
=
this
.
form
;
let
params
=
{};
if
(
this
.
dimension
==
'分组维度'
)
{
if
(
this
.
selectVal
==
1
)
{
params
=
{
...
this
.
activityData
,
storeGroupLevel
,
orderBy
};
}
else
{
params
=
{
...
this
.
activityData
,
storeGroupId
,
orderBy
};
}
}
else
{
params
=
{
...
this
.
activityData
,
search
,
storeGroupId
,
orderBy
};
}
console
.
log
(
params
);
return
{
...
this
.
activityData
,
...
params
};
}
},
methods
:
{
...
...
@@ -455,6 +466,10 @@ export default {
},
radioChange
(
data
)
{
this
.
form
=
{
search
:
''
,
storeGroupId
:
''
,
storeGroupLevel
:
''
,
orderBy
:
''
,
activityId
:
this
.
$route
.
params
.
id
,
pageNum
:
1
,
pageSize
:
20
...
...
src/views/ai/ai-data-report/target-group.vue
View file @
e33d0059
...
...
@@ -69,8 +69,3 @@ export default {
}
}
</
style
>
<
style
lang=
"scss"
>
.el-tooltip__popper.target-tooltip
{
max-width
:
475px
!important
;
}
</
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