Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 4d46a8a7
authored
Jun 25, 2026
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat: 添加报告跟踪混入并在策略提交时记录数据
1 parent
1ee699f1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
src/views/marketingManagement/marketingPushStrategy/views/modify/index.vue
src/views/marketingManagement/marketingPushStrategy/views/modify/index.vue
View file @
4d46a8a
...
@@ -151,6 +151,7 @@
...
@@ -151,6 +151,7 @@
<
script
>
<
script
>
import
{
cloneDeep
,
isArray
}
from
"lodash-es"
;
import
{
cloneDeep
,
isArray
}
from
"lodash-es"
;
import
reportTrackFunMixin
from
"@/mixins/reportTrackFunMixin"
;
import
{
createStrategy
,
getMarketingPushStrategyDetailApi
,
getMetaOptionsApi
,
updateStrategy
}
from
"@/views/marketingManagement/marketingPushStrategy/api/index.js"
;
import
{
createStrategy
,
getMarketingPushStrategyDetailApi
,
getMetaOptionsApi
,
updateStrategy
}
from
"@/views/marketingManagement/marketingPushStrategy/api/index.js"
;
import
BranchGroup
from
"@/views/marketingManagement/marketingPushStrategy/components/branchGroup/index.vue"
;
import
BranchGroup
from
"@/views/marketingManagement/marketingPushStrategy/components/branchGroup/index.vue"
;
import
ConditionPanel
from
"@/views/marketingManagement/marketingPushStrategy/components/conditionPanel/index.vue"
;
import
ConditionPanel
from
"@/views/marketingManagement/marketingPushStrategy/components/conditionPanel/index.vue"
;
...
@@ -165,6 +166,7 @@ export default {
...
@@ -165,6 +166,7 @@ export default {
BranchGroup
,
BranchGroup
,
ConditionPanel
,
ConditionPanel
,
},
},
mixins
:
[
reportTrackFunMixin
],
// 导入混入
beforeRouteEnter
(
to
,
from
,
next
)
{
beforeRouteEnter
(
to
,
from
,
next
)
{
to
.
meta
.
title
=
to
.
query
.
editType
===
"edit"
?
"修改策略"
:
"新增策略"
;
to
.
meta
.
title
=
to
.
query
.
editType
===
"edit"
?
"修改策略"
:
"新增策略"
;
...
@@ -356,6 +358,7 @@ export default {
...
@@ -356,6 +358,7 @@ export default {
const
params
=
this
.
dealParams
();
const
params
=
this
.
dealParams
();
const
api
=
this
.
$route
.
query
.
editType
===
"edit"
?
updateStrategy
:
createStrategy
;
const
api
=
this
.
$route
.
query
.
editType
===
"edit"
?
updateStrategy
:
createStrategy
;
api
(
params
).
then
((
res
)
=>
{
api
(
params
).
then
((
res
)
=>
{
this
.
setReportTrackData
(
0
,
"sop_strategy_web_submit_change"
,
{});
this
.
$message
.
success
(
"操作成功"
);
this
.
$message
.
success
(
"操作成功"
);
this
.
handleCancel
();
this
.
handleCancel
();
});
});
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment