Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
admin
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
baihong
admin
Commits
f3e44d6e
Commit
f3e44d6e
authored
Apr 23, 2021
by
baihong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add;早起活动列表
parent
bc23b968
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
120 additions
and
0 deletions
+120
-0
routers.js
src/router/routers.js
+9
-0
clockInList.vue
src/view/clockEarly/clockInList.vue
+111
-0
No files found.
src/router/routers.js
View file @
f3e44d6e
...
...
@@ -142,6 +142,15 @@ export default [
component
:
()
=>
import
(
"@/view/clockEarly/userList.vue"
)
},
{
path
:
"/clockEarly/clockInList"
,
name
:
"clockInList"
,
meta
:
{
icon
:
"md-grid"
,
title
:
"早起活动"
},
component
:
()
=>
import
(
"@/view/clockEarly/clockInList.vue"
)
},
{
path
:
"/clockEarly/detail"
,
meta
:
{
title
:
"详情"
,
...
...
src/view/clockEarly/clockInList.vue
0 → 100644
View file @
f3e44d6e
<
template
>
<div
class=
"content"
>
<div
class=
"topSearch"
>
<div
class=
"left"
>
选择日期:
<DatePicker
:value=
"value2"
format=
"yyyy/MM/dd"
type=
"daterange"
placement=
"bottom-end"
placeholder=
"Select date"
style=
"width: 200px"
></DatePicker>
<span
style=
"margin-left:10px"
>
活动状态:
</span>
<Select
style=
"width: 150px"
placeholder=
"请选择"
>
<Option
value=
"beijing"
>
未开始
</Option>
<Option
value=
"shanghai"
>
进行中
</Option>
</Select>
<Button
type=
"primary"
@
click=
"goDetail"
>
查 询
</Button>
<Button
type=
"primary"
ghost
>
重 置
</Button>
</div>
<div
class=
"right"
>
<Button
type=
"primary"
>
导 出
</Button>
</div>
</div>
<Table
:loading=
"$store.state.app.isLoading"
border
ref=
"selection"
:columns=
"columns"
:data=
"data"
>
<template
slot-scope=
"
{ row }" slot="name">
<span>
{{
row
.
details
.
name
}}
</span>
</
template
>
<
template
slot-scope=
"{ row }"
slot=
"title"
>
<span>
{{
row
.
details
.
title
}}
</span>
</
template
>
<
template
slot-scope=
"{ row }"
slot=
"created_at"
>
<span>
{{
row
.
created_at
|
format
}}
</span>
</
template
>
<
template
slot-scope=
"{ row }"
slot=
"enable"
>
<i-switch
:value=
"row.is_enable === 1 ? true : false"
@
on-change=
"
value =>
{
change(value, row);
}
"
/>
</
template
>
<
template
slot-scope=
"{ row }"
slot=
"action"
>
<a
@
click=
"edit(row)"
>
编辑
</a>
</
template
>
<
template
slot-scope=
"{ row }"
slot=
"edit"
>
<a
@
click=
"goTheme(row)"
>
编辑
</a>
</
template
>
</Table>
</div>
</template>
<
script
>
import
{
getScenes
,
delScenes
,
editScenes
}
from
"@/api/scenes"
;
export
default
{
name
:
"categories"
,
components
:
{},
data
()
{
return
{
data
:
[],
columns
:
[
{
title
:
"活动日期"
,
key
:
"created_at"
},
{
title
:
"活动缴费金额(真我币)"
,
slot
:
"name"
},
{
title
:
"活动状态"
,
slot
:
"title"
},
{
title
:
"报名人数"
,
key
:
"created_at"
},
{
title
:
"签到人数"
,
slot
:
"title"
},
{
title
:
"本场瓜分(真我币)"
,
key
:
"created_at"
},
{
title
:
"操作"
,
slot
:
"action"
}
]
};
},
methods
:
{
goDetail
()
{
this
.
$router
.
push
({
path
:
"/signIn/detail"
,
query
:
{
id
:
"new"
}
});
}
},
mounted
()
{}
};
</
script
>
<
style
lang=
"less"
></
style
>
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