Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dd_school
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangqi
dd_school
Commits
8db017d6
Commit
8db017d6
authored
Aug 07, 2023
by
duxingshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
成绩管理添加导出功能
parent
2169d008
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
ruoyi-ui/src/views/smartSchool/gradeWork/courseSelection/performance/index.vue
+18
-0
No files found.
ruoyi-ui/src/views/smartSchool/gradeWork/courseSelection/performance/index.vue
View file @
8db017d6
...
@@ -20,6 +20,7 @@
...
@@ -20,6 +20,7 @@
<el-button
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
@
click=
"getList"
>
搜索
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
@
click=
"getList"
>
搜索
</el-button>
<el-button
icon=
"el-icon-refresh"
size=
"mini"
@
click=
"resetQuery"
>
重置
</el-button>
<el-button
icon=
"el-icon-refresh"
size=
"mini"
@
click=
"resetQuery"
>
重置
</el-button>
<el-button
type=
"success"
icon=
"el-icon-download"
size=
"mini"
@
click=
"upload.open = true"
>
导入
</el-button>
<el-button
type=
"success"
icon=
"el-icon-download"
size=
"mini"
@
click=
"upload.open = true"
>
导入
</el-button>
<el-button
type=
"warning"
icon=
"el-icon-upload2"
size=
"mini"
@
click=
"exportRecord"
>
导出
</el-button>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<el-row
:gutter=
"10"
class=
"mb8"
>
<el-row
:gutter=
"10"
class=
"mb8"
>
...
@@ -493,6 +494,23 @@ export default {
...
@@ -493,6 +494,23 @@ export default {
})
})
},
},
//导出列表数据
exportRecord
(){
let
data
=
{
curriculaId
:
this
.
queryParams
.
curriculaId
,
studentName
:
this
.
queryParams
.
studentName
,
examType
:
this
.
queryParams
.
examType
,
classId
:
this
.
queryParams
.
classId
,
}
this
.
download
(
"curricula/studentScore/export"
,
{
...
data
,
},
`学生成绩管理_
${
new
Date
().
getTime
()}
.xlsx`
);
},
//下载模板
//下载模板
downloadTemplate
()
{
downloadTemplate
()
{
this
.
download
(
this
.
download
(
...
...
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