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
6d99b085
Commit
6d99b085
authored
Jun 29, 2021
by
陈羽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 修改弹窗推广路由
parent
d45143fc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
11 deletions
+11
-11
pop.js
src/router/modules/pop.js
+7
-7
form.vue
src/views/pop/form.vue
+1
-1
index.vue
src/views/pop/index.vue
+1
-1
list.vue
src/views/pop/list.vue
+2
-2
No files found.
src/router/modules/pop.js
View file @
6d99b085
// 弹窗
export
default
{
path
:
'pop'
,
path
:
'pop
up
'
,
name
:
'弹窗推广'
,
component
:
()
=>
import
(
/* webpackChunkName: "pop
" */
'../../views/po
p/index.vue'
),
redirect
:
'/pop/list'
,
component
:
()
=>
import
(
/* webpackChunkName: "pop
up" */
'../../views/popu
p/index.vue'
),
redirect
:
'/pop
up
/list'
,
children
:
[
{
path
:
'list'
,
name
:
'计划列表'
,
component
:
()
=>
import
(
/* webpackChunkName: "pop
" */
'../../views/po
p/list.vue'
),
component
:
()
=>
import
(
/* webpackChunkName: "pop
up" */
'../../views/popu
p/list.vue'
),
meta
:
{
path
:
'/pop/list'
path
:
'/pop
up
/list'
}
},
{
path
:
'add'
,
name
:
'新建计划'
,
component
:
()
=>
import
(
/* webpackChunkName: "pop
" */
'../../views/po
p/form.vue'
)
component
:
()
=>
import
(
/* webpackChunkName: "pop
up" */
'../../views/popu
p/form.vue'
)
},
{
path
:
'edit'
,
name
:
'编辑计划'
,
component
:
()
=>
import
(
/* webpackChunkName: "pop
" */
'../../views/po
p/form.vue'
)
component
:
()
=>
import
(
/* webpackChunkName: "pop
up" */
'../../views/popu
p/form.vue'
)
}
]
};
src/views/pop/form.vue
View file @
6d99b085
...
...
@@ -348,7 +348,7 @@ export default {
},
created
()
{
const
path
=
this
.
$route
.
path
;
if
(
path
==
'/pop/edit'
)
{
if
(
path
==
'/pop
up
/edit'
)
{
this
.
getDetail
();
}
this
.
getPopupLinkList
();
...
...
src/views/pop/index.vue
View file @
6d99b085
...
...
@@ -7,7 +7,7 @@
export
default
{
name
:
'pop'
,
created
()
{
this
.
$store
.
commit
(
'mutations.breadcrumb'
,
[{
name
:
'营销管理'
},
{
name
:
'弹窗推广'
,
path
:
'/pop
'
},
{
name
:
'弹窗推广'
,
path
:
'/po
p/list'
}]);
this
.
$store
.
commit
(
'mutations.breadcrumb'
,
[{
name
:
'营销管理'
},
{
name
:
'弹窗推广'
,
path
:
'/pop
up'
},
{
name
:
'弹窗推广'
,
path
:
'/popu
p/list'
}]);
this
.
$store
.
commit
(
'aside_handler'
,
false
);
this
.
$nextTick
(
_
=>
{
this
.
$store
.
commit
(
'aside_handler'
,
true
);
...
...
src/views/pop/list.vue
View file @
6d99b085
...
...
@@ -177,9 +177,9 @@ export default {
},
goForm
(
group
,
type
)
{
if
(
type
===
'add'
)
{
this
.
$router
.
push
(
`/pop/add`
);
this
.
$router
.
push
(
`/pop
up
/add`
);
}
else
{
this
.
$router
.
push
(
`/pop/edit?id=
${
group
.
id
}
`
);
this
.
$router
.
push
(
`/pop
up
/edit?id=
${
group
.
id
}
`
);
}
},
delGroup
(
group
)
{
...
...
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