Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
c2d240ae
Commit
c2d240ae
authored
Oct 28, 2018
by
Junling Bu
Browse files
chore[litemall-admin]: 团购活动菜单项调整至推广菜单中
parent
fa469915
Changes
4
Hide whitespace changes
Inline
Side-by-side
doc/note.md
0 → 100644
View file @
c2d240ae
# 项目笔记
记录本项目开发中一些关键技术点。
注意:
> 这些技术并不是绝对正确或者唯一,而是目前项目所采用。
## 1. 前后端交互技术
## 2. 错误码
\ No newline at end of file
litemall-admin/src/router/index.js
View file @
c2d240ae
...
@@ -105,22 +105,6 @@ export const asyncRouterMap = [
...
@@ -105,22 +105,6 @@ export const asyncRouterMap = [
{
path
:
'
comment
'
,
component
:
_import
(
'
goods/comment
'
),
name
:
'
goodsComment
'
,
meta
:
{
title
:
'
商品评论
'
,
noCache
:
true
}}
{
path
:
'
comment
'
,
component
:
_import
(
'
goods/comment
'
),
name
:
'
goodsComment
'
,
meta
:
{
title
:
'
商品评论
'
,
noCache
:
true
}}
]
]
},
},
{
path
:
'
/groupon
'
,
component
:
Layout
,
redirect
:
'
noredirect
'
,
name
:
'
grouponManage
'
,
meta
:
{
title
:
'
团购管理
'
,
icon
:
'
chart
'
},
children
:
[
{
path
:
'
list
'
,
component
:
_import
(
'
groupon/list
'
),
name
:
'
list
'
,
meta
:
{
title
:
'
团购规则
'
,
noCache
:
true
}},
{
path
:
'
record
'
,
component
:
_import
(
'
groupon/record
'
),
name
:
'
record
'
,
meta
:
{
title
:
'
团购活动
'
,
noCache
:
true
}}
]
},
{
{
path
:
'
/promotion
'
,
path
:
'
/promotion
'
,
component
:
Layout
,
component
:
Layout
,
...
@@ -132,7 +116,9 @@ export const asyncRouterMap = [
...
@@ -132,7 +116,9 @@ export const asyncRouterMap = [
},
},
children
:
[
children
:
[
{
path
:
'
ad
'
,
component
:
_import
(
'
promotion/ad
'
),
name
:
'
ad
'
,
meta
:
{
title
:
'
广告列表
'
,
noCache
:
true
}},
{
path
:
'
ad
'
,
component
:
_import
(
'
promotion/ad
'
),
name
:
'
ad
'
,
meta
:
{
title
:
'
广告列表
'
,
noCache
:
true
}},
{
path
:
'
topic
'
,
component
:
_import
(
'
promotion/topic
'
),
name
:
'
topic
'
,
meta
:
{
title
:
'
专题管理
'
,
noCache
:
true
}}
{
path
:
'
topic
'
,
component
:
_import
(
'
promotion/topic
'
),
name
:
'
topic
'
,
meta
:
{
title
:
'
专题管理
'
,
noCache
:
true
}},
{
path
:
'
groupon-rule
'
,
component
:
_import
(
'
promotion/grouponRule
'
),
name
:
'
grouponRule
'
,
meta
:
{
title
:
'
团购规则
'
,
noCache
:
true
}},
{
path
:
'
groupon-activity
'
,
component
:
_import
(
'
promotion/grouponActivity
'
),
name
:
'
grouponActivity
'
,
meta
:
{
title
:
'
团购活动
'
,
noCache
:
true
}}
]
]
},
},
...
...
litemall-admin/src/views/
groupon/record
.vue
→
litemall-admin/src/views/
promotion/grouponActivity
.vue
View file @
c2d240ae
...
@@ -6,7 +6,6 @@
...
@@ -6,7 +6,6 @@
<el-input
clearable
class=
"filter-item"
style=
"width: 200px;"
placeholder=
"请输入商品编号"
v-model=
"listQuery.goodsId"
>
<el-input
clearable
class=
"filter-item"
style=
"width: 200px;"
placeholder=
"请输入商品编号"
v-model=
"listQuery.goodsId"
>
</el-input>
</el-input>
<el-button
class=
"filter-item"
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleFilter"
>
查找
</el-button>
<el-button
class=
"filter-item"
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleFilter"
>
查找
</el-button>
<!--
<el-button
class=
"filter-item"
type=
"primary"
@
click=
"handleCreate"
icon=
"el-icon-edit"
>
添加
</el-button>
-->
<el-button
class=
"filter-item"
type=
"primary"
:loading=
"downloadLoading"
icon=
"el-icon-download"
<el-button
class=
"filter-item"
type=
"primary"
:loading=
"downloadLoading"
icon=
"el-icon-download"
@
click=
"handleDownload"
>
导出
@
click=
"handleDownload"
>
导出
</el-button>
</el-button>
...
@@ -97,7 +96,7 @@
...
@@ -97,7 +96,7 @@
import
BackToTop
from
'
@/components/BackToTop
'
import
BackToTop
from
'
@/components/BackToTop
'
export
default
{
export
default
{
name
:
'
G
oodsList
'
,
name
:
'
G
rouponActivity
'
,
components
:
{
BackToTop
},
components
:
{
BackToTop
},
data
()
{
data
()
{
return
{
return
{
...
...
litemall-admin/src/views/groupon
/list
.vue
→
litemall-admin/src/views/
promotion/
groupon
Rule
.vue
View file @
c2d240ae
...
@@ -94,7 +94,7 @@
...
@@ -94,7 +94,7 @@
import
BackToTop
from
'
@/components/BackToTop
'
import
BackToTop
from
'
@/components/BackToTop
'
export
default
{
export
default
{
name
:
'
Groupon
List
'
,
name
:
'
Groupon
Rule
'
,
components
:
{
BackToTop
},
components
:
{
BackToTop
},
data
()
{
data
()
{
return
{
return
{
...
...
Write
Preview
Supports
Markdown
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