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
fe25335b
Commit
fe25335b
authored
Dec 14, 2021
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 智能营销-按钮权限
parent
cdb134f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
list.vue
src/views/ecm/list.vue
+4
-4
No files found.
src/views/ecm/list.vue
View file @
fe25335b
...
...
@@ -19,7 +19,7 @@
<el-button
type=
"primary"
@
click=
"resetFilter"
:disabled=
"resetDisable"
>
重置
</el-button>
<!--
<el-checkbox
class=
"vertical-middle"
v-if=
"$store.state.marketing.isShowSelf"
v-model=
"listParams.showSelfFlag"
:true-label=
"1"
:false-label=
"0"
label=
"仅看本人"
border
@
change=
"search"
/>
-->
<!--
<el-date-picker
v-model=
"dateTime"
style=
"width:250px"
type=
"daterange"
value-format=
"yyyy-MM-dd"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
@
change=
"search"
></el-date-picker>
-->
<el-button
class=
"fr"
type=
"primary"
@
click=
"$router.push('/ecm/add')"
>
新建计划
</el-button>
<el-button
class=
"fr"
type=
"primary"
v-if=
"$getButtonLimit($buttonCode.marketingAddEcm)"
:limit-code=
"$buttonCode.marketingAddEcm"
@
click=
"$router.push('/ecm/add')"
>
新建计划
</el-button>
<el-tooltip
class=
"fr"
content=
"只记录删除计划或编辑“进行中”计划的操作日志"
placement=
"top"
open-delay=
"200"
>
<el-button
style=
"margin-right:10px"
@
click=
"$router.push('/ecm/log')"
>
操作日志
</el-button>
</el-tooltip>
...
...
@@ -88,7 +88,7 @@
<el-table-column
label=
"操作"
align=
"left"
width=
"200"
fixed=
"right"
>
<
template
slot-scope=
"scope"
>
<!--
<template
v-if=
"scope.row.canEdit !== false"
>
-->
<el-button
type=
"text"
v-if=
"
scope.row.canEdit && scope.row.onlineStatus != 2 && scope.row.effectType != 2
"
@
click=
"editData(scope.row)"
>
编辑
</el-button>
<el-button
type=
"text"
v-if=
"
$getButtonLimit($buttonCode.marketingEditEcm) && scope.row.canEdit && scope.row.onlineStatus != 2 && scope.row.effectType != 2"
:limit-code=
"$buttonCode.marketingEditEcm
"
@
click=
"editData(scope.row)"
>
编辑
</el-button>
<el-button
type=
"text"
v-else
@
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="是否下线该计划?">
...
...
@@ -107,8 +107,8 @@
<el-button
type=
"text"
>
更多
<i
class=
"el-icon-arrow-down el-icon--right"
></i></el-button>
<el-dropdown-menu
slot=
"dropdown"
>
<!-- <el-dropdown-item :command="1">记录</el-dropdown-item> -->
<el-dropdown-item
v-if=
"
scope.row.putonStatus !== 2 && scope.row.canEdit !== false
"
:command=
"1"
>
删除
</el-dropdown-item>
<el-dropdown-item
v-if=
"
scope.row.effectType !== 2 && scope.row.onlineStatus === 1 && scope.row.canEdit !== false
"
@
confirm=
"offlineEcmPlan(scope.row)"
:command=
"2"
>
下线
</el-dropdown-item>
<el-dropdown-item
v-if=
"
$getButtonLimit($buttonCode.marketingDelEcm) && scope.row.putonStatus !== 2 && scope.row.canEdit !== false"
:limit-code=
"$buttonCode.marketingDelEcm
"
:command=
"1"
>
删除
</el-dropdown-item>
<el-dropdown-item
v-if=
"
$getButtonLimit($buttonCode.marketingOutlineEcm) && scope.row.effectType !== 2 && scope.row.onlineStatus === 1 && scope.row.canEdit !== false"
:limit-code=
"$buttonCode.marketingOutlineEcm
"
@
confirm=
"offlineEcmPlan(scope.row)"
:command=
"2"
>
下线
</el-dropdown-item>
<el-dropdown-item
v-if=
"xsxsFlag && isOpenFlag(scope.row.analyseJson)"
:command=
"3"
>
触达效果
</el-dropdown-item>
<!-- <el-dropdown-item :command="4">复制新建</el-dropdown-item> -->
</el-dropdown-menu>
...
...
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