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
2c94182c
Commit
2c94182c
authored
Apr 22, 2022
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: dist
parent
f8e2ccfb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
ai-data-active-data.vue
src/views/ai/ai-data-active-data.vue
+9
-3
ai-data-aiCall.vue
src/views/ai/ai-data-aiCall.vue
+2
-4
No files found.
src/views/ai/ai-data-active-data.vue
View file @
2c94182c
...
...
@@ -64,7 +64,7 @@
</template>
<
script
>
import
{
aiStoreTransfer
,
aiStoreTransferNoBelong
,
aiStoreTransferStatistics
,
exportAiStoreTransfer
,
aiStoreGroupTransfer
,
aiStoreGroupTransferStatistics
,
exportAiStoreGroupTransfer
}
from
'@/service/api/aiApi.js'
;
import
{
getActivityDetail
,
aiStoreTransfer
,
aiStoreTransferNoBelong
,
aiStoreTransferStatistics
,
exportAiStoreTransfer
,
aiStoreGroupTransfer
,
aiStoreGroupTransferStatistics
,
exportAiStoreGroupTransfer
}
from
'@/service/api/aiApi.js'
;
import
TargetGroup
from
'@/views/ai/ai-data-report/target-group.vue'
;
import
{
numFormat
}
from
'@/utils/index.js'
;
import
{
storeGroupList
}
from
'@/service/api/commonApi.js'
;
...
...
@@ -275,7 +275,7 @@ export default {
},
mounted
()
{
this
.
storeGroupList
();
// 门店维度列表+统计数据
this
.
getActivityDetail
();
this
.
aiStoreTransfer
();
this
.
aiStoreTransferStatistics
();
},
...
...
@@ -411,7 +411,13 @@ export default {
let
res
=
await
storeGroupList
();
this
.
options
.
treeOptions
.
data
=
res
.
result
||
[];
},
async
getActivityDetail
()
{
const
{
result
}
=
await
getActivityDetail
({
activityId
:
this
.
$route
.
params
.
id
});
if
(
!
result
)
return
;
const
{
startDate
,
endDate
,
activityName
,
activityId
}
=
result
;
const
smsFlag
=
result
.
activityPlanList
[
0
].
activityEventList
[
0
].
smsFlag
;
this
.
activityData
=
{
startTime
:
startDate
,
endTime
:
endDate
,
smsFlag
,
activityName
,
activityId
};
},
radioChange
(
data
)
{
this
.
form
=
{
activityId
:
this
.
$route
.
params
.
id
,
...
...
src/views/ai/ai-data-aiCall.vue
View file @
2c94182c
...
...
@@ -265,8 +265,6 @@ export default {
TargetGroup
},
mounted
()
{
// 门店维度列表+统计数据
this
.
aiStoreOutboundStatistics
();
this
.
storeGroupList
();
this
.
getActivityDetail
();
...
...
@@ -408,9 +406,9 @@ export default {
async
getActivityDetail
()
{
const
{
result
}
=
await
getActivityDetail
({
activityId
:
this
.
$route
.
params
.
id
});
if
(
!
result
)
return
;
const
{
startDate
,
endDate
,
activityName
}
=
result
;
const
{
startDate
,
endDate
,
activityName
,
activityId
}
=
result
;
const
smsFlag
=
result
.
activityPlanList
[
0
].
activityEventList
[
0
].
smsFlag
;
this
.
activityData
=
{
startTime
:
startDate
,
endTime
:
endDate
,
smsFlag
,
activityName
};
this
.
activityData
=
{
startTime
:
startDate
,
endTime
:
endDate
,
smsFlag
,
activityName
,
activityId
};
if
(
this
.
activityData
.
smsFlag
)
{
let
arr
=
[
{
...
...
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