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
80d9deee
Commit
80d9deee
authored
Apr 24, 2021
by
baihong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add:查询活动缴费设置
parent
77bd81a8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
23 deletions
+18
-23
activityClocks.js
src/api/clock/activityClocks.js
+5
-2
clockInList.vue
src/view/clockEarly/clockInList.vue
+1
-14
setTabs.vue
src/view/clockEarly/setTabs.vue
+12
-7
No files found.
src/api/clock/activityClocks.js
View file @
80d9deee
import
{
$http
}
from
'@/libs/http'
export
const
activityClocks
=
(
data
)
=>
{
return
$http
.
get
(
'/cms/activityClocks'
,
data
)
}
\ No newline at end of file
}
export
const
getActivityConfigByPay
=
(
data
)
=>
{
return
$http
.
get
(
'/cms/configs/getActivityConfigByPay'
,
data
)
}
\ No newline at end of file
src/view/clockEarly/clockInList.vue
View file @
80d9deee
...
...
@@ -40,21 +40,8 @@
<
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>
<a
@
click=
"edit(row)"
>
详情
</a>
</
template
>
</Table>
<Pager
...
...
src/view/clockEarly/setTabs.vue
View file @
80d9deee
...
...
@@ -13,7 +13,7 @@
border
ref=
"selection"
:columns=
"daycolumns"
:data=
"
d
ata"
:data=
"
payD
ata"
>
<template
slot-scope=
"
{ row }" slot="created_at">
<span>
{{
row
.
created_at
|
format
}}
</span>
...
...
@@ -171,7 +171,7 @@
</template>
<
script
>
import
{
get
Scenes
,
delScenes
,
editScenes
}
from
"@/api/scene
s"
;
import
{
get
ActivityConfigByPay
}
from
"@/api/clock/activityClock
s"
;
import
Editor
from
"_c/editor"
;
export
default
{
name
:
"categories"
,
...
...
@@ -180,6 +180,7 @@ export default {
},
data
()
{
return
{
payData
:[],
modalVisible
:
true
,
formValidate
:
{
name
:
""
...
...
@@ -198,19 +199,19 @@ export default {
daycolumns
:
[
{
title
:
"休息时间"
,
key
:
"
created_at
"
key
:
"
break_time
"
},
{
title
:
"打卡时间"
,
slot
:
"
na
me"
slot
:
"
clock_ti
me"
},
{
title
:
"结算时间"
,
slot
:
"
na
me"
slot
:
"
close_ti
me"
},
{
title
:
"缴费数值"
,
slot
:
"
name
"
slot
:
"
pay_amount
"
},
{
title
:
"操作"
,
...
...
@@ -256,7 +257,11 @@ export default {
};
},
methods
:
{},
mounted
()
{}
mounted
()
{
getActivityConfigByPay
().
then
(
res
=>
{
this
.
payData
=
[
res
]
});
}
};
</
script
>
...
...
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