Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
biz.qingxiao.com
Project
Project
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
wangxuelai
biz.qingxiao.com
Commits
1ebbc90d
Commit
1ebbc90d
authored
Aug 26, 2019
by
sujie@126.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dd
parent
5a3c269d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
exportexcel.js
src/utils/exportexcel.js
+1
-1
No files found.
src/utils/exportexcel.js
View file @
1ebbc90d
...
...
@@ -27,8 +27,8 @@ function exportExcel(headers, data, fileName = 'XXX.xlsx', type) {
course
:
item
.
course
?
item
.
course
.
title
:
''
,
teacher
:
item
.
school_teachers
?
item
.
school_teachers
.
map
(
ele
=>
ele
.
nickname
).
join
(
','
)
:
''
,
capacity
:
`
${
item
.
class_student_count
||
0
}
/
${
item
.
capacity
||
0
}
`
,
expended
:
`
${
item
.
graduation_status
==
1
?
(
item
.
total
||
''
)
:
'-'
}
`
,
total
:
`
${
item
.
already_attend_expended
||
0
}
/
${
item
.
total
||
0
}
`
,
expended
:
`
${
item
.
expended
||
0
}
`
,
};
});
break
;
...
...
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