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
802807c1
Commit
802807c1
authored
May 25, 2021
by
黑潮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 计划编辑权限
parent
80e1cb58
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
list.vue
src/views/ecm/list.vue
+2
-2
No files found.
src/views/ecm/list.vue
View file @
802807c1
...
...
@@ -37,8 +37,8 @@
<el-table-column
label=
"操作"
align=
"left"
width=
"160"
fixed=
"right"
>
<
template
slot-scope=
"scope"
>
<template
v-if=
"scope.row.canEdit !== false"
>
<el-button
type=
"text"
v-if=
"
scope.row.effectType == 0 || scope.row.effectType == 1
"
@
click=
"editData(scope.row)"
>
编辑
</el-button>
<el-button
type=
"text"
v-
if=
"scope.row.effectType
== 2"
@
click=
"$router.push(`/ecm/info/$
{scope.row.ecmPlanId}`)">详情
</el-button>
<el-button
type=
"text"
v-if=
"
(scope.row.effectType == 0 || scope.row.effectType == 1) && scope.row.onlineStatus != 2
"
@
click=
"editData(scope.row)"
>
编辑
</el-button>
<el-button
type=
"text"
v-
else-if=
"scope.row.effectType == 2 || scope.row.onlineStatus
== 2"
@
click=
"$router.push(`/ecm/info/$
{scope.row.ecmPlanId}`)">详情
</el-button>
</
template
>
<!-- <dm-delete v-if="scope.row.effectType !== 2 && scope.row.onlineStatus === 1 && scope.row.canEdit !== false" @confirm="offlineEcmPlan(scope.row)" tips="是否下线该计划?">
<el-button type="text">下线</el-button>
...
...
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