Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
shareConfig
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
gic-web
shareConfig
Commits
0e900e47
Commit
0e900e47
authored
Dec 16, 2021
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 按钮权限
parent
080cde71
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
9 deletions
+30
-9
finished-active.vue
src/components/active/finished-active.vue
+1
-1
in-progress-active.vue
src/components/active/in-progress-active.vue
+7
-2
will-start-active.vue
src/components/active/will-start-active.vue
+4
-4
index.js
src/router/index.js
+18
-2
No files found.
src/components/active/finished-active.vue
View file @
0e900e47
...
@@ -128,7 +128,7 @@ export default {
...
@@ -128,7 +128,7 @@ export default {
*/
*/
toEdit
(
index
,
row
)
{
toEdit
(
index
,
row
)
{
const
that
=
this
;
const
that
=
this
;
that
.
$router
.
push
(
`/c
reate
Active?activityId=
${
row
.
activityId
}
&editFlag=show`
);
that
.
$router
.
push
(
`/c
heck
Active?activityId=
${
row
.
activityId
}
&editFlag=show`
);
},
},
/**
/**
* 数据明细
* 数据明细
...
...
src/components/active/in-progress-active.vue
View file @
0e900e47
...
@@ -50,6 +50,8 @@ import inProgressActive from '@/components/active/in-progress-active.vue';
...
@@ -50,6 +50,8 @@ import inProgressActive from '@/components/active/in-progress-active.vue';
</div>
</div>
<div
class=
"active-title-right"
>
<div
class=
"active-title-right"
>
<el-button
<el-button
v-if=
"$getButtonLimit($buttonCode.marketingAddShare)"
:limit-code=
"$buttonCode.marketingAddShare"
type=
"primary"
type=
"primary"
plain
plain
@
click
.
stop=
"toEdit(index, item)"
@
click
.
stop=
"toEdit(index, item)"
...
@@ -63,12 +65,15 @@ import inProgressActive from '@/components/active/in-progress-active.vue';
...
@@ -63,12 +65,15 @@ import inProgressActive from '@/components/active/in-progress-active.vue';
@
click=
"handleCopy(index, item)"
@
click=
"handleCopy(index, item)"
>
复制路径
</el-button>
>
复制路径
</el-button>
<el-button
<el-button
v-if=
"$getButtonLimit($buttonCode.marketingShareData)"
:limit-code=
"$buttonCode.marketingShareData"
type=
"primary"
type=
"primary"
plain
plain
@
click
.
stop=
"toDataList(index, item)"
@
click
.
stop=
"toDataList(index, item)"
>
数据明细
</el-button>
>
数据明细
</el-button>
<el-button
<el-button
v-if=
"item.status == 2"
v-if=
"$getButtonLimit($buttonCode.marketingDelShare) && item.status == 2"
:limit-code=
"$buttonCode.marketingDelShare"
type=
"danger"
type=
"danger"
plain
plain
@
click
.
stop=
"toDelList(index, item)"
@
click
.
stop=
"toDelList(index, item)"
...
@@ -240,7 +245,7 @@ export default {
...
@@ -240,7 +245,7 @@ export default {
*/
*/
toEdit
(
index
,
row
)
{
toEdit
(
index
,
row
)
{
const
that
=
this
;
const
that
=
this
;
that
.
$router
.
push
(
`/
create
Active?activityId=
${
row
.
activityId
}
`
);
that
.
$router
.
push
(
`/
edit
Active?activityId=
${
row
.
activityId
}
`
);
},
},
/**
/**
* 数据明细
* 数据明细
...
...
src/components/active/will-start-active.vue
View file @
0e900e47
...
@@ -23,14 +23,14 @@ import willStartActive from '@/components/active/will-start-active.vue';
...
@@ -23,14 +23,14 @@ import willStartActive from '@/components/active/will-start-active.vue';
<div
class=
"active-title-date font-14 color-909399 m-t-7"
>
{{
item
.
startDate
|
formatTimeYmdHms
}}
-
{{
item
.
endDate
|
formatTimeYmdHms
}}
</div>
<div
class=
"active-title-date font-14 color-909399 m-t-7"
>
{{
item
.
startDate
|
formatTimeYmdHms
}}
-
{{
item
.
endDate
|
formatTimeYmdHms
}}
</div>
</div>
</div>
<div
class=
"active-title-right"
>
<div
class=
"active-title-right"
>
<el-button
type=
"primary"
plain
@
click=
"toEdit(index, item)"
>
活动配置
</el-button>
<el-button
type=
"primary"
v-if=
"$getButtonLimit($buttonCode.marketingSetShare)"
:limit-code=
"$buttonCode.marketingSetShare"
plain
@
click=
"toEdit(index, item)"
>
活动配置
</el-button>
<!--
<el-button
<!--
<el-button
type=
"primary"
type=
"primary"
plain
plain
@
click=
"handleCopy(index, item)"
@
click=
"handleCopy(index, item)"
>
复制路径
</el-button>
-->
>
复制路径
</el-button>
-->
<el-button
type=
"primary"
plain
@
click=
"toDataList(index, item)"
>
数据明细
</el-button>
<el-button
type=
"primary"
v-if=
"$getButtonLimit($buttonCode.marketingShareData)"
:limit-code=
"$buttonCode.marketingShareData"
plain
@
click=
"toDataList(index, item)"
>
数据明细
</el-button>
<el-button
type=
"primary"
plain
@
click=
"toDelList(index, item)"
>
删除
</el-button>
<el-button
type=
"primary"
v-if=
"$getButtonLimit($buttonCode.marketingDelShare)"
:limit-code=
"$buttonCode.marketingDelShare"
plain
@
click=
"toDelList(index, item)"
>
删除
</el-button>
</div>
</div>
</div>
</div>
<div
v-if=
"selectItem == item.activityId"
class=
"start-active-body"
>
<div
v-if=
"selectItem == item.activityId"
class=
"start-active-body"
>
...
@@ -126,7 +126,7 @@ export default {
...
@@ -126,7 +126,7 @@ export default {
*/
*/
toEdit
(
index
,
row
)
{
toEdit
(
index
,
row
)
{
const
that
=
this
;
const
that
=
this
;
that
.
$router
.
push
(
`/
create
Active?activityId=
${
row
.
activityId
}
`
);
that
.
$router
.
push
(
`/
edit
Active?activityId=
${
row
.
activityId
}
`
);
},
},
/**
/**
* 数据明细
* 数据明细
...
...
src/router/index.js
View file @
0e900e47
...
@@ -58,10 +58,26 @@ export const constantRouterMap = [{
...
@@ -58,10 +58,26 @@ export const constantRouterMap = [{
},
},
{
{
path
:
'/createActive'
,
path
:
'/createActive'
,
name
:
'创建
完成
'
,
name
:
'创建
活动
'
,
component
:
_import
(
'activeConfig'
,
'index'
),
component
:
_import
(
'activeConfig'
,
'index'
),
meta
:
{
meta
:
{
title
:
'创建完成'
title
:
'创建活动'
}
},
{
path
:
'/editActive'
,
name
:
'编辑活动'
,
component
:
_import
(
'activeConfig'
,
'index'
),
meta
:
{
title
:
'编辑活动'
}
},
{
path
:
'/checkActive'
,
name
:
'查看活动'
,
component
:
_import
(
'activeConfig'
,
'index'
),
meta
:
{
title
:
'查看活动'
}
}
},
},
// 活动创建完成
// 活动创建完成
...
...
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