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
080cde71
Commit
080cde71
authored
Dec 14, 2021
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 分享有礼-按钮权限
parent
600840f4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
12 deletions
+16
-12
active-select.vue
src/components/active/active-select.vue
+2
-0
finished-active.vue
src/components/active/finished-active.vue
+2
-2
main.js
src/main.js
+12
-10
No files found.
src/components/active/active-select.vue
View file @
080cde71
...
...
@@ -206,6 +206,8 @@ import activeSelect from '@/components/active/active-select.vue';
<div
class=
"to-active-tip font-14 color-606266"
>
确认完成了所有前期准备工作,即可前往活动配置。
</div>
<div
class=
"to-active-btn"
>
<el-button
v-if=
"$getButtonLimit($buttonCode.marketingAddShare)"
:limit-code=
"$buttonCode.marketingAddShare"
type=
"primary"
:disabled=
"disableCreate"
@
click=
"toCreate"
...
...
src/components/active/finished-active.vue
View file @
080cde71
...
...
@@ -25,13 +25,13 @@ import finishedActive from '@/components/active/finished-active.vue';
<div
class=
"active-title-date font-14 color-909399 m-t-7"
>
{{
item
.
startDate
|
formatTimeYmdHms
}}
-
{{
item
.
endDate
|
formatTimeYmdHms
}}
</div>
</div>
<div
class=
"active-title-right"
>
<el-button
type=
"primary"
plain
@
click
.
stop=
"toEdit(index, item)"
>
活动配置
</el-button>
<el-button
type=
"primary"
plain
v-if=
"$getButtonLimit($buttonCode.marketingSetShare)"
:limit-code=
"$buttonCode.marketingSetShare"
@
click
.
stop=
"toEdit(index, item)"
>
活动配置
</el-button>
<!--
<el-button
type=
"primary"
plain
@
click=
"handleCopy(index, item)"
>
复制路径
</el-button>
-->
<el-button
type=
"primary"
plain
@
click
.
stop=
"toDataList(index, item)"
>
数据明细
</el-button>
<el-button
type=
"primary"
plain
v-if=
"$getButtonLimit($buttonCode.marketingShareData)"
:limit-code=
"$buttonCode.marketingShareData"
@
click
.
stop=
"toDataList(index, item)"
>
数据明细
</el-button>
</div>
</div>
<div
v-if=
"selectItem == item.activityId"
class=
"finished-active-body"
>
...
...
src/main.js
View file @
080cde71
...
...
@@ -76,13 +76,15 @@ router.beforeEach((to, from, next) => {
}
})
/* eslint-disable no-new */
new
Vue
({
el
:
'#app'
,
router
,
store
,
components
:
{
App
},
template
:
'<App/>'
});
window
.
getLimit
(
router
,
'share-config'
).
then
(()
=>
{
/* eslint-disable no-new */
new
Vue
({
el
:
'#app'
,
router
,
store
,
components
:
{
App
},
template
:
'<App/>'
});
})
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