Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
admin-base
Project
Project
Details
Activity
Releases
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
new-sing
admin-base
Commits
82c6eb09
Commit
82c6eb09
authored
Aug 14, 2019
by
chenyishuai@singsingenglish.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
814
parent
f56be171
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
+11
-6
index.vue
src/components/achievement/index.vue
+11
-6
No files found.
src/components/achievement/index.vue
View file @
82c6eb09
...
...
@@ -213,6 +213,7 @@
}
},
searchFirstPage
(){
console
.
log
(
216
)
let
json
=
{}
if
(
this
.
searchFirstFrom
.
dateValue
){
json
=
{
...
...
@@ -224,7 +225,7 @@
}
}
getTeacherRankListApi
(
json
).
then
(
res
=>
{
if
(
res
.
length
>
0
){
//
if(res.length>0){
let
obj
=
{
teacher_name
:
'总计'
,
total_money
:
0
,
...
...
@@ -243,9 +244,11 @@
obj
.
tid
+=
el
.
tid
});
obj
.
total_money
=
obj
.
total_money
+
'.00'
res
.
unshift
(
obj
)
if
(
res
.
length
>
0
){
res
.
unshift
(
obj
)
}
this
.
firstList
=
res
;
}
//
}
})
},
searchSecondPage
(){
...
...
@@ -260,7 +263,7 @@
}
}
getTeacherDayRankListApi
(
json
).
then
(
res
=>
{
if
(
res
.
length
>
0
){
//
if(res.length>0){
let
obj
=
{
cur_date
:
'总计'
,
total_money
:
0
,
...
...
@@ -279,9 +282,11 @@
obj
.
tid
+=
el
.
tid
});
obj
.
total_money
=
obj
.
total_money
+
'.00'
res
.
unshift
(
obj
)
if
(
res
.
length
>
0
){
res
.
unshift
(
obj
)
}
this
.
secondList
=
res
;
}
//
}
})
},
formatTime
(
date
){
...
...
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