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
59e41446
Commit
59e41446
authored
Dec 14, 2021
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 门店签到-按钮权限
parent
149ae18c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
plan-list.vue
src/views/sign/plan-list.vue
+4
-4
No files found.
src/views/sign/plan-list.vue
View file @
59e41446
...
...
@@ -9,7 +9,7 @@
</el-select>
<el-input
v-model=
"pageParams.storeSignName"
class=
"w300"
placeholder=
"计划名称"
clearable
@
change=
"refresh"
><i
slot=
"prefix"
class=
"el-input__icon el-icon-search"
></i></el-input>
</div>
<el-button
type=
"primary"
@
click=
"goAddPlan"
>
新建计划
</el-button>
<el-button
type=
"primary"
v-if=
"$getButtonLimit($buttonCode.marketingAddSign)"
:limit-code=
"$buttonCode.marketingAddSign"
@
click=
"goAddPlan"
>
新建计划
</el-button>
</div>
<el-table
tooltipEffect=
"light"
:data=
"tableList"
style=
"width: 100%"
>
<el-table-column
:show-overflow-tooltip=
"true"
align=
"left"
prop=
"storeSignName"
label=
"计划名称"
></el-table-column>
...
...
@@ -30,10 +30,10 @@
<el-table-column
label=
"操作"
align=
"left"
width=
"210px"
fixed=
"right"
>
<
template
slot-scope=
"scope"
>
<!-- 只有未开始的计划可编辑 -->
<el-button
type=
"text"
v-if=
"
scope.row.state === 0
"
@
click=
"$router.push(`/sign/setting?id=$
{scope.row.storeSignId}
&
canEdit=1`)">编辑
</el-button>
<el-button
type=
"text"
v-if=
"
$getButtonLimit($buttonCode.marketingEditSign) && scope.row.state === 0"
:limit-code=
"$buttonCode.marketingEditSign
"
@
click=
"$router.push(`/sign/setting?id=$
{scope.row.storeSignId}
&
canEdit=1`)">编辑
</el-button>
<el-button
type=
"text"
v-else
@
click=
"$router.push(`/sign/setting?id=$
{scope.row.storeSignId}`)">查看
</el-button>
<dm-delete
@
confirm=
"delPlan(scope.row)"
tips=
"是否删除该签到计划?"
>
<el-button
type=
"text"
>
删除
</el-button>
<dm-delete
v-if=
"$getButtonLimit($buttonCode.marketingDelSign)"
@
confirm=
"delPlan(scope.row)"
tips=
"是否删除该签到计划?"
>
<el-button
type=
"text"
:limit-code=
"$buttonCode.marketingDelSign"
>
删除
</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