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
149ae18c
Commit
149ae18c
authored
Dec 14, 2021
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 兑换码-按钮权限
parent
f7087390
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
list.vue
src/views/cdkey/list.vue
+6
-6
No files found.
src/views/cdkey/list.vue
View file @
149ae18c
...
...
@@ -12,7 +12,7 @@
</el-select>
<div
class=
"fr"
>
<el-button
type=
"primary"
@
click=
"codeVisible = true"
>
兑换链接
</el-button>
<el-button
type=
"primary"
@
click=
"$router.push('/cdKey/add')"
>
新建兑换码
</el-button>
<el-button
type=
"primary"
v-if=
"$getButtonLimit($buttonCode.marketingAddCdkey)"
:limit-code=
"$buttonCode.marketingAddCdkey"
@
click=
"$router.push('/cdKey/add')"
>
新建兑换码
</el-button>
</div>
</div>
<el-table
tooltipEffect=
"light"
:data=
"tableList"
style=
"width: 100%"
>
...
...
@@ -48,13 +48,13 @@
</el-table-column>
<el-table-column
label=
"操作"
align=
"left"
width=
"160px"
fixed=
"right"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
v-if=
"
scope.row.cdkeyPlanStatus == 1
"
@
click=
"$router.push('/cdKey/edit/' + scope.row.cdkeyPlanId)"
>
编辑
</el-button>
<el-button
type=
"text"
v-if=
"
$getButtonLimit($buttonCode.marketingEditCdkey) && scope.row.cdkeyPlanStatus == 1"
:limit-code=
"$buttonCode.marketingEditCdkey
"
@
click=
"$router.push('/cdKey/edit/' + scope.row.cdkeyPlanId)"
>
编辑
</el-button>
<el-button
type=
"text"
v-if=
"scope.row.cdkeyPlanStatus != 1"
@
click=
"$router.push('/cdKey/info/' + scope.row.cdkeyPlanId)"
>
详情
</el-button>
<dm-delete
v-if=
"scope.row.cdkeyPlanStatus == 2"
@
confirm=
"invalidData(scope.row)"
tips=
"是否禁用该条数据?"
>
<el-button
type=
"text"
>
禁用
</el-button>
<dm-delete
v-if=
"
$getButtonLimit($buttonCode.marketingDisableCdkey) &&
scope.row.cdkeyPlanStatus == 2"
@
confirm=
"invalidData(scope.row)"
tips=
"是否禁用该条数据?"
>
<el-button
type=
"text"
:limit-code=
"$buttonCode.marketingDisableCdkey"
>
禁用
</el-button>
</dm-delete>
<dm-delete
v-if=
"scope.row.cdkeyPlanStatus == 1"
@
confirm=
"delData(scope.row)"
tips=
"是否删除该条数据?"
>
<el-button
type=
"text"
>
删除
</el-button>
<dm-delete
v-if=
"
$getButtonLimit($buttonCode.marketingDelCdkey) &&
scope.row.cdkeyPlanStatus == 1"
@
confirm=
"delData(scope.row)"
tips=
"是否删除该条数据?"
>
<el-button
type=
"text"
:limit-code=
"$buttonCode.marketingDelCdkey"
>
删除
</el-button>
</dm-delete>
</
template
>
</el-table-column>
...
...
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