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
8a26e98b
Commit
8a26e98b
authored
Dec 14, 2021
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 弹窗推广-按钮权限
parent
59e41446
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
list.vue
src/views/popup/list.vue
+9
-9
No files found.
src/views/popup/list.vue
View file @
8a26e98b
...
...
@@ -11,7 +11,7 @@
</el-select>
<el-checkbox
v-model=
"listParams.onlySelf"
:true-label=
"1"
:false-label=
"0"
@
change=
"refresh"
>
仅看本人
</el-checkbox>
<div
class=
"fr"
>
<el-button
type=
"primary"
@
click=
"goForm(
{}, 'add')">新建计划
</el-button>
<el-button
type=
"primary"
v-if=
"$getButtonLimit($buttonCode.marketingAddPopup)"
:limit-code=
"$buttonCode.marketingAddPopup"
@
click=
"goForm(
{}, 'add')">新建计划
</el-button>
</div>
</div>
<el-table
tooltipEffect=
"light"
style=
"width: 100%"
:class=
"
{ emptyTable: Array.isArray(tableList)
&&
tableList.length > 0 }">
...
...
@@ -28,9 +28,9 @@
计划名称:
{{
group
.
name
}}
<i>
{{
formatDateTimeByType
(
group
.
beginTime
,
'yyyy-MM-dd'
)
+
'至'
+
formatDateTimeByType
(
group
.
endTime
,
'yyyy-MM-dd'
)
}}
</i>
</p>
<div
class=
"btn-group"
>
<el-button
type=
"text"
v-if=
"
5 > group.popupList.length
"
@
click=
"goForm(group, 'edit')"
>
添加弹窗
</el-button>
<dm-delete
v-if=
"group.popupList.every(el => el.activeStatus != 2)"
tips=
"是否删除此弹窗计划?"
@
confirm=
"delGroup(group)"
>
<el-button
type=
"text"
>
删除
</el-button>
<el-button
type=
"text"
v-if=
"
$getButtonLimit($buttonCode.marketingEditPopup) && 5 > group.popupList.length"
:limit-code=
"$buttonCode.marketingEditPopup
"
@
click=
"goForm(group, 'edit')"
>
添加弹窗
</el-button>
<dm-delete
v-if=
"
$getButtonLimit($buttonCode.marketingDelPopup) &&
group.popupList.every(el => el.activeStatus != 2)"
tips=
"是否删除此弹窗计划?"
@
confirm=
"delGroup(group)"
>
<el-button
type=
"text"
:limit-code=
"$buttonCode.marketingDelPopup"
>
删除
</el-button>
</dm-delete>
</div>
</div>
...
...
@@ -70,12 +70,12 @@
<el-table-column
label=
"操作"
align=
"left"
width=
"170"
>
<
template
slot-scope=
"scope"
>
<el-button
v-if=
"scope.row.activeStatus === 2 || scope.row.activeStatus === 3"
type=
"text"
@
click=
"goForm(group, 'edit')"
>
查看
</el-button>
<dm-delete
v-if=
"scope.row.activeStatus === 2"
@
confirm=
"stopPop(scope.row)"
tips=
"是否停止该条数据?"
>
<el-button
type=
"text"
>
停止
</el-button>
<dm-delete
v-if=
"
$getButtonLimit($buttonCode.marketingStopPopup) &&
scope.row.activeStatus === 2"
@
confirm=
"stopPop(scope.row)"
tips=
"是否停止该条数据?"
>
<el-button
type=
"text"
:limit-code=
"$buttonCode.marketingStopPopup"
>
停止
</el-button>
</dm-delete>
<el-button
v-if=
"
scope.row.activeStatus === 1
"
type=
"text"
@
click=
"goForm(group, 'edit')"
>
编辑
</el-button>
<dm-delete
v-if=
"
scope.row.activeStatus === 1 || scope.row.activeStatus === 3
"
@
confirm=
"removePop(scope.row)"
tips=
"是否删除此弹窗?"
>
<el-button
type=
"text"
>
删除
</el-button>
<el-button
v-if=
"
$getButtonLimit($buttonCode.marketingEditPopup) && scope.row.activeStatus === 1"
:limit-code=
"$buttonCode.marketingEditPopup
"
type=
"text"
@
click=
"goForm(group, 'edit')"
>
编辑
</el-button>
<dm-delete
v-if=
"
$getButtonLimit($buttonCode.marketingDelPopup) && (scope.row.activeStatus === 1 || scope.row.activeStatus === 3)
"
@
confirm=
"removePop(scope.row)"
tips=
"是否删除此弹窗?"
>
<el-button
type=
"text"
:limit-code=
"$buttonCode.marketingDelPopup"
>
删除
</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