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
f05dc111
Commit
f05dc111
authored
May 19, 2021
by
陈羽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: bugfix
parent
ccb2c975
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
list.vue
src/views/sign/list.vue
+1
-1
plan-list.vue
src/views/sign/plan-list.vue
+1
-1
setting.vue
src/views/sign/setting.vue
+1
-0
No files found.
src/views/sign/list.vue
View file @
f05dc111
...
...
@@ -2,7 +2,7 @@
<section
class=
"dm-wrap"
v-loading=
"loading"
>
<div
class=
"pb20 clearfix"
>
<el-date-picker
class=
"w250"
v-model=
"pageParams.time"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
@
change=
"refresh"
></el-date-picker>
<el-input
v-model=
"pageParams.storeName"
class=
"w300"
placeholder=
"请输入门店"
clearable
@
change=
"refresh"
><i
slot=
"prefix"
class=
"el-input__icon el-icon-search"
></i></el-input>
<el-input
v-model=
"pageParams.storeName"
class=
"w300"
placeholder=
"请输入门店
名称或门店code
"
clearable
@
change=
"refresh"
><i
slot=
"prefix"
class=
"el-input__icon el-icon-search"
></i></el-input>
<el-input
v-model=
"pageParams.memberInfo"
class=
"w300"
placeholder=
"会员姓名/手机号/签到计划"
clearable
@
change=
"refresh"
><i
slot=
"prefix"
class=
"el-input__icon el-icon-search"
></i></el-input>
</div>
<el-table
tooltipEffect=
"light"
:data=
"tableList"
style=
"width: 100%"
>
...
...
src/views/sign/plan-list.vue
View file @
f05dc111
...
...
@@ -30,7 +30,7 @@
<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}`)">编辑
</el-button>
<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-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>
...
...
src/views/sign/setting.vue
View file @
f05dc111
...
...
@@ -204,6 +204,7 @@ export default {
created
()
{
this
.
$store
.
commit
(
'mutations_breadcrumb'
,
[
{
name
:
'门店签到'
},
{
name
:
'计划列表'
,
path
:
'/sign/plan'
},
{
name
:
`
${
this
.
$route
.
query
.
id
?
'编辑'
:
'新建'
}
计划`
,
path
:
''
}
]);
if
(
this
.
$route
.
query
.
id
)
{
this
.
canEdit
=
this
.
$route
.
query
.
canEdit
?
true
:
false
this
.
getDetail
();
}
else
{
this
.
canEdit
=
true
;
...
...
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