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
60b15d94
Commit
60b15d94
authored
Mar 10, 2022
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 数据对话厅菜单调整
parent
daa7b984
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
32 additions
and
44 deletions
+32
-44
index.scss
src/assets/style/base/index.scss
+0
-1
index.vue
src/components/layout/index.vue
+6
-6
routes.js
src/router/routes.js
+22
-6
marketing.js
src/store/modules/marketing.js
+0
-8
data-view.vue
src/views/activity/data-view.vue
+0
-4
form.vue
src/views/activity/form.vue
+1
-10
history-list.vue
src/views/activity/history-list.vue
+0
-2
list.vue
src/views/activity/list.vue
+0
-2
index.vue
src/views/activityCenter/index.vue
+3
-5
No files found.
src/assets/style/base/index.scss
View file @
60b15d94
...
...
@@ -8,7 +8,6 @@
}
#app
.dm-wrap
{
margin
:
24px
;
background
:
#FFF
;
padding
:
24px
;
// min-height: 500px;
...
...
src/components/layout/index.vue
View file @
60b15d94
...
...
@@ -52,16 +52,16 @@ export default {
this
.
bodyHeight
=
document
.
body
.
clientHeight
||
document
.
documentElement
.
clientHeight
;
},
computed
:
{
asideShow
()
{
return
this
.
$store
.
state
.
marketing
.
asideShow
;
},
//
asideShow() {
//
return this.$store.state.marketing.asideShow;
//
},
contentTitle
()
{
const
name
=
(
this
.
$route
.
meta
&&
this
.
$route
.
meta
.
aliasName
)
||
this
.
$route
.
name
;
// 有些params跳转的需要用到route.name 这种情况如果meta中有aliasName,优先aliasName
return
name
;
},
breadcrumb
()
{
return
this
.
$store
.
state
.
marketing
.
breadcrumb
;
},
//
breadcrumb() {
//
return this.$store.state.marketing.breadcrumb;
//
},
layoutTips
()
{
return
this
.
$store
.
state
.
marketing
.
layoutTips
;
},
...
...
src/router/routes.js
View file @
60b15d94
...
...
@@ -41,12 +41,28 @@ export default [
name
:
'layout'
,
component
:
Layout
,
redirect
:
'/wechat/record'
,
children
:
[
card
,
ecm
,
scan
,
game
,
message
,
wechat
,
msg
,
calllog
,
recharge
,
evaluation
,
ewash
,
activity
,
cdKey
,
pop
,
signIn
]
},
{
path
:
'/marketing-app-list'
,
name
:
'营销活动'
,
component
:
activityCenter
children
:
[
{
path
:
'/marketing-app-list'
,
name
:
'营销活动'
,
component
:
activityCenter
},
card
,
ecm
,
scan
,
game
,
message
,
wechat
,
msg
,
calllog
,
recharge
,
evaluation
,
ewash
,
activity
,
cdKey
,
pop
,
signIn
]
},
{
path
:
'/401'
,
...
...
src/store/modules/marketing.js
View file @
60b15d94
...
...
@@ -10,8 +10,6 @@ const state = {
total
:
0
,
leftMenu
:
[],
storeObj
:
{},
asideShow
:
false
,
breadcrumb
:
[],
layoutTips
:
''
,
isShowSelf
:
false
,
// 展示是否显示 '仅看本人' btn 在app.vue调用 每次刷新都会获取
openFlag
:
false
,
// 列表是否显示创建人
...
...
@@ -93,12 +91,6 @@ const mutations = {
}
}
},
aside_handler
(
state
,
val
)
{
state
.
asideShow
=
val
;
},
mutations_breadcrumb
(
state
,
val
)
{
state
.
breadcrumb
=
val
;
},
mutations_layoutTips
(
state
,
val
)
{
state
.
layoutTips
=
val
;
},
...
...
src/views/activity/data-view.vue
View file @
60b15d94
...
...
@@ -177,10 +177,6 @@ export default {
behavior
:
'smooth'
});
this
.
getData
();
},
created
()
{
this
.
$store
.
commit
(
'aside_handler'
,
false
);
this
.
$store
.
commit
(
'mutations_breadcrumb'
,
[{
name
:
'数据对话厅'
,
path
:
'/activity/list'
},
{
name
:
'数据概览'
,
path
:
''
}]);
// eslint-disable-line
}
};
</
script
>
...
...
src/views/activity/form.vue
View file @
60b15d94
<
template
>
<div
class=
"dm-wrap"
v-loading=
"loading"
>
<el-form
ref=
"form"
:model=
"ruleForm"
label-width=
"1
4
0px"
:rules=
"rules"
>
<el-form
ref=
"form"
:model=
"ruleForm"
label-width=
"1
1
0px"
:rules=
"rules"
>
<el-form-item
prop=
"name"
label=
"数据对话名称"
>
<dm-input
v-model=
"ruleForm.name"
class=
"w300"
placeholder=
"请输入数据对话名称"
:byteType=
"1"
:maxlength=
"10"
></dm-input>
</el-form-item>
...
...
@@ -190,15 +190,6 @@ export default {
if
(
this
.
isEdit
)
{
this
.
getInfo
();
}
},
created
()
{
// 设置面包屑
let
breadcrumbName
=
'数据对话编辑'
;
if
(
this
.
isAdd
)
{
breadcrumbName
=
'数据对话新增'
;
}
this
.
$store
.
commit
(
'aside_handler'
,
false
);
this
.
$store
.
commit
(
'mutations_breadcrumb'
,
[{
name
:
'数据对话厅'
,
path
:
'/activity/list'
},
{
name
:
breadcrumbName
,
path
:
''
}]);
// eslint-disable-line
}
};
</
script
>
...
...
src/views/activity/history-list.vue
View file @
60b15d94
...
...
@@ -77,8 +77,6 @@ export default {
},
mixins
:
[
talbeMethods
],
created
()
{
this
.
$store
.
commit
(
'aside_handler'
,
false
);
this
.
$store
.
commit
(
'mutations_breadcrumb'
,
[{
name
:
'数据对话厅'
,
path
:
'/activity/list'
},
{
name
:
'历史数据对话'
}]);
// eslint-disable-line
this
.
getTableList
();
},
methods
:
{
...
...
src/views/activity/list.vue
View file @
60b15d94
...
...
@@ -84,8 +84,6 @@ export default {
},
mixins
:
[
talbeMethods
],
created
()
{
this
.
$store
.
commit
(
'aside_handler'
,
false
);
this
.
$store
.
commit
(
'mutations_breadcrumb'
,
[{
name
:
'数据对话厅'
,
path
:
''
}]);
// eslint-disable-line
this
.
getTableList
();
},
methods
:
{
...
...
src/views/activityCenter/index.vue
View file @
60b15d94
<
template
>
<dm-layout
projectName=
"integral-mall"
>
<div
style=
"padding:20px;"
>
<list-item
v-for=
"item in list"
:key=
"item"
:item=
"item"
/>
</div>
</dm-layout>
<div
style=
"padding:20px;"
>
<list-item
v-for=
"item in list"
:key=
"item"
:item=
"item"
/>
</div>
</
template
>
<
script
>
import
ListItem
from
'./components/ListItem.vue'
;
...
...
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