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
cc831b79
Commit
cc831b79
authored
Aug 04, 2023
by
duxingshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、成绩管理新增、编辑、删除、导入、模版下载接口对接。
2、部分细节修改
parent
bcd083b0
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
45 additions
and
7 deletions
+45
-7
ruoyi-ui/src/api/smartSchool/gradeWork/courseSelection/performance.js
+34
-0
ruoyi-ui/src/views/smartSchool/gradeWork/courseSelection/courseSelectionsituation/index.vue
+6
-2
ruoyi-ui/src/views/smartSchool/gradeWork/courseSelection/performance/index.vue
+0
-0
ruoyi-ui/src/views/smartSchool/gradeWork/courseSelection/springView/index.vue
+1
-1
ruoyi-ui/src/views/smartSchool/gradeWork/courseSelection/taskPublishing/index.vue
+4
-4
No files found.
ruoyi-ui/src/api/smartSchool/gradeWork/courseSelection/performance.js
View file @
cc831b79
...
...
@@ -8,3 +8,37 @@ export function performanceList(query) {
params
:
query
,
});
}
//根据身份证号获取学生信息
export
function
getInfoByIdCard
(
query
)
{
return
request
({
url
:
`/curricula/studentScore/selectStudent?idCard=
${
query
}
`
,
method
:
"get"
,
});
}
// 新增成绩
export
function
addPerformance
(
data
)
{
return
request
({
url
:
"/curricula/studentScore/add"
,
method
:
"post"
,
data
,
});
}
// 编辑成绩
export
function
editPerformance
(
data
)
{
return
request
({
url
:
"/curricula/studentScore/edit"
,
method
:
"put"
,
data
,
});
}
//删除成绩
export
function
deletePerformance
(
data
)
{
return
request
({
url
:
`/curricula/studentScore/delete/
${
data
}
`
,
method
:
"delete"
});
}
ruoyi-ui/src/views/smartSchool/gradeWork/courseSelection/courseSelectionsituation/index.vue
View file @
cc831b79
...
...
@@ -23,8 +23,8 @@
</el-form-item>
</el-form>
<div
class=
"flexBlock person"
>
<div>
总人数:
45
人
</div>
<div>
已选课:
<span>
40
</span>
人
</div>
<div>
总人数:
{{
totalPerson
}}
人
</div>
<div>
已选课:
<span>
{{
choosePerson
}}
</span>
人
</div>
</div>
<el-table
v-loading=
"loading"
:data=
"courseSelectionData"
stripe
>
<el-table-column
label=
"序号"
type=
"index"
width=
"55"
align=
"center"
/>
...
...
@@ -82,9 +82,13 @@ export default {
courseSelectionData
:[],
loading
:
false
,
total
:
0
,
totalPerson
:
0
,
// 总人数
choosePerson
:
0
// 已选人数
}
},
mounted
()
{
this
.
totalPerson
=
this
.
$route
.
query
.
total
this
.
choosePerson
=
this
.
$route
.
query
.
choose
this
.
getList
()
},
methods
:{
...
...
ruoyi-ui/src/views/smartSchool/gradeWork/courseSelection/performance/index.vue
View file @
cc831b79
This diff is collapsed.
Click to expand it.
ruoyi-ui/src/views/smartSchool/gradeWork/courseSelection/springView/index.vue
View file @
cc831b79
...
...
@@ -119,7 +119,7 @@ export default {
// 导出
handleExport
()
{
this
.
download
(
'/curricula/student/exportCj'
,
{
...
this
.
query
Params
...
this
.
query
Form
},
`学生春季选课信息_
${
new
Date
().
getTime
()}
.xlsx`
)
}
...
...
ruoyi-ui/src/views/smartSchool/gradeWork/courseSelection/taskPublishing/index.vue
View file @
cc831b79
...
...
@@ -45,7 +45,7 @@
<div
class=
"task-buttons"
>
<el-button
size=
"mini"
icon=
"el-icon-edit"
round
@
click=
"handleUpdate(task)"
>
修改
</el-button>
<el-button
type=
"primary"
size=
"small"
round
@
click=
"performance(task.id,task.grade)"
>
成绩管理
</el-button>
<el-button
type=
"success"
size=
"small"
round
@
click=
"courseSelectionsituation(task.id)"
>
选课情况
</el-button>
<el-button
type=
"success"
size=
"small"
round
@
click=
"courseSelectionsituation(task.id
,task.yxrs,task.zrs
)"
>
选课情况
</el-button>
<el-button
type=
"warning"
size=
"small"
round
@
click=
"springView(task.id,task.grade)"
>
春季选课情况
</el-button>
<el-button
type=
"danger"
size=
"small"
round
@
click=
"artisticView()"
>
艺体选课情况
</el-button>
<el-button
class=
"purpleBtn"
size=
"small"
round
@
click=
"summerViewing()"
>
夏季选课情况
</el-button>
...
...
@@ -174,12 +174,12 @@ export default {
}
});
},
// 选课情况按钮
courseSelectionsituation
(
id
)
{
// 选课情况按钮
total总人数 choose已选人数
courseSelectionsituation
(
id
,
total
,
choose
)
{
this
.
$router
.
push
({
path
:
"/gradeWork/courseSelection/courseSelectionsituation"
,
query
:
{
id
id
,
total
,
choose
}
});
},
...
...
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