Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
L
learn-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
learn-online-pc
Commits
d99682a6
提交
d99682a6
authored
4月 10, 2020
作者:
lihuihui
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
国际化更新
上级
ada18990
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
57 行增加
和
17 行删除
+57
-17
en.json
client/src/assets/languages/en.json
+20
-0
zh-CN.json
client/src/assets/languages/zh-CN.json
+20
-0
credit.vue
client/src/pages/grade/credit.vue
+17
-17
没有找到文件。
client/src/assets/languages/en.json
浏览文件 @
d99682a6
...
@@ -203,6 +203,26 @@
...
@@ -203,6 +203,26 @@
"downloadButtonText"
:
"Download uploaded attachments"
,
"downloadButtonText"
:
"Download uploaded attachments"
,
"subBtn"
:
"Submit"
"subBtn"
:
"Submit"
}
}
},
"grade"
:
{
"credit"
:
{
"title"
:
"Credits"
,
"unpublished"
:
"Unpublished"
,
"myCredits"
:
"Credits"
,
"totalCredits"
:
"Total"
,
"compCredits"
:
"Required"
,
"eleCredits"
:
"Elective"
,
"allCredits"
:
"Total"
,
"serialNumber"
:
"NO"
,
"semester"
:
"Term"
,
"class"
:
"Class"
,
"course"
:
"Course"
,
"courseCredits"
:
"Course credits"
,
"status"
:
"Status"
,
"credit"
:
"Credit"
,
"grade"
:
"Grade"
,
"operate"
:
"Operate"
}
}
}
}
}
}
}
client/src/assets/languages/zh-CN.json
浏览文件 @
d99682a6
...
@@ -203,6 +203,26 @@
...
@@ -203,6 +203,26 @@
"downloadButtonText"
:
"下载已上传附件"
,
"downloadButtonText"
:
"下载已上传附件"
,
"subBtn"
:
"提交"
"subBtn"
:
"提交"
}
}
},
"grade"
:
{
"credit"
:
{
"title"
:
"我的学分"
,
"unpublished"
:
"未发布"
,
"myCredits"
:
"我的学分"
,
"totalCredits"
:
"总计学分"
,
"compCredits"
:
"必修学分"
,
"eleCredits"
:
"选修学分"
,
"allCredits"
:
"总学分"
,
"serialNumber"
:
"序号"
,
"semester"
:
"学期"
,
"class"
:
"班级"
,
"course"
:
"课程"
,
"courseCredits"
:
"课程学分"
,
"status"
:
"状态"
,
"credit"
:
"学分"
,
"grade"
:
"成绩"
,
"operate"
:
"操作"
}
}
}
}
}
}
}
client/src/pages/grade/credit.vue
浏览文件 @
d99682a6
<
template
>
<
template
>
<div>
<div>
<div
class=
"con-title"
>
我的学分
</div>
<div
class=
"con-title"
>
{{
$t
(
'pages.grade.credit.title'
)
}}
</div>
<div
class=
"con-box"
>
<div
class=
"con-box"
>
<div
class=
"total-core"
>
<div
class=
"total-core"
>
<div
class=
"title"
>
总计学分
</div>
<div
class=
"title"
>
{{
$t
(
'pages.grade.credit.totalCredits'
)
}}
</div>
<div
class=
"core"
>
{{
score
.
total
}}
</div>
<div
class=
"core"
>
{{
score
.
total
}}
</div>
<el-progress
ref=
"credit_total"
:text-inside=
"true"
:stroke-width=
"30"
:percentage=
"percent1"
color=
"#df9d75"
></el-progress>
<el-progress
ref=
"credit_total"
:text-inside=
"true"
:stroke-width=
"30"
:percentage=
"percent1"
color=
"#df9d75"
></el-progress>
</div>
</div>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:xs=
"24"
:sm=
"12"
:md=
"12"
:lg=
"12"
:xl=
"12"
>
<el-col
:xs=
"24"
:sm=
"12"
:md=
"12"
:lg=
"12"
:xl=
"12"
>
<div
class=
"compulsory-core"
>
<div
class=
"compulsory-core"
>
<div
class=
"title"
>
必修学分
</div>
<div
class=
"title"
>
{{
$t
(
'pages.grade.credit.compCredits'
)
}}
</div>
<div
class=
"core"
>
{{
score
.
must
}}
</div>
<div
class=
"core"
>
{{
score
.
must
}}
</div>
<el-progress
ref=
"credit_must"
:text-inside=
"true"
:stroke-width=
"30"
:percentage=
"percent2"
color=
"#8ca4cf"
></el-progress>
<el-progress
ref=
"credit_must"
:text-inside=
"true"
:stroke-width=
"30"
:percentage=
"percent2"
color=
"#8ca4cf"
></el-progress>
</div>
</div>
</el-col>
</el-col>
<el-col
:xs=
"24"
:sm=
"12"
:md=
"12"
:lg=
"12"
:xl=
"12"
>
<el-col
:xs=
"24"
:sm=
"12"
:md=
"12"
:lg=
"12"
:xl=
"12"
>
<div
class=
"elective-core"
>
<div
class=
"elective-core"
>
<div
class=
"title"
>
选修学分
</div>
<div
class=
"title"
>
{{
$t
(
'pages.grade.credit.eleCredits'
)
}}
</div>
<div
class=
"core"
>
{{
score
.
unmust
}}
</div>
<div
class=
"core"
>
{{
score
.
unmust
}}
</div>
<el-progress
ref=
"credit_unmust"
:text-inside=
"true"
:stroke-width=
"30"
:percentage=
"percent3"
color=
"#66c6bd"
></el-progress>
<el-progress
ref=
"credit_unmust"
:text-inside=
"true"
:stroke-width=
"30"
:percentage=
"percent3"
color=
"#66c6bd"
></el-progress>
</div>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
<div
class=
"color-box"
>
<div
class=
"color-box"
>
<div
class=
"color"
style=
"background: #8ca4cf;"
></div><div
class=
"txt"
>
必修学分
</div>
<div
class=
"color"
style=
"background: #8ca4cf;"
></div><div
class=
"txt"
>
{{
$t
(
'pages.grade.credit.compCredits'
)
}}
</div>
<div
class=
"color"
style=
"background: #66c6bd;"
></div><div
class=
"txt"
>
选修学分
</div>
<div
class=
"color"
style=
"background: #66c6bd;"
></div><div
class=
"txt"
>
{{
$t
(
'pages.grade.credit.eleCredits'
)
}}
</div>
<div
class=
"color"
style=
"background: #df9d75;"
></div><div
class=
"txt"
>
总学分
</div>
<div
class=
"color"
style=
"background: #df9d75;"
></div><div
class=
"txt"
>
{{
$t
(
'pages.grade.credit.allCredits'
)
}}
</div>
</div>
</div>
<m-page
<m-page
:tableHead=
"tableHead"
:tableHead=
"tableHead"
...
@@ -63,16 +63,16 @@ export default {
...
@@ -63,16 +63,16 @@ export default {
},
},
tableConfig
:
{
border
:
''
,
size
:
''
,
selection
:
{
has
:
false
,
sels
:
[],
width
:
'50px'
,
fix
:
'left'
,
align
:
''
}
},
// 增加选择框,has设置为true
tableConfig
:
{
border
:
''
,
size
:
''
,
selection
:
{
has
:
false
,
sels
:
[],
width
:
'50px'
,
fix
:
'left'
,
align
:
''
}
},
// 增加选择框,has设置为true
tableHead
:
[
tableHead
:
[
{
prop
:
'index'
,
label
:
'序号'
,
minWidth
:
'40'
,
fix
:
false
},
{
prop
:
'index'
,
label
:
this
.
$t
(
'pages.grade.credit.serialNumber'
)
,
minWidth
:
'40'
,
fix
:
false
},
{
prop
:
'semester_name'
,
label
:
'学期'
,
minWidth
:
'60'
,
fix
:
false
},
{
prop
:
'semester_name'
,
label
:
this
.
$t
(
'pages.grade.credit.semester'
)
,
minWidth
:
'60'
,
fix
:
false
},
{
prop
:
'class_name'
,
label
:
'班级'
,
minWidth
:
'120'
,
fix
:
false
},
{
prop
:
'class_name'
,
label
:
this
.
$t
(
'pages.grade.credit.class'
)
,
minWidth
:
'120'
,
fix
:
false
},
{
prop
:
'course_name'
,
label
:
'课程'
,
minWidth
:
'260'
,
fix
:
false
},
{
prop
:
'course_name'
,
label
:
this
.
$t
(
'pages.grade.credit.course'
)
,
minWidth
:
'260'
,
fix
:
false
},
{
prop
:
'course_credit'
,
label
:
'课程学分'
,
minWidth
:
'60'
,
fix
:
false
},
{
prop
:
'course_credit'
,
label
:
this
.
$t
(
'pages.grade.credit.courseCredits'
)
,
minWidth
:
'60'
,
fix
:
false
},
{
prop
:
'passed'
,
label
:
'状态'
,
minWidth
:
'60'
,
fix
:
false
},
{
prop
:
'passed'
,
label
:
this
.
$t
(
'pages.grade.credit.status'
)
,
minWidth
:
'60'
,
fix
:
false
},
{
prop
:
'credit'
,
label
:
'学分'
,
minWidth
:
'40'
,
fix
:
false
},
{
prop
:
'credit'
,
label
:
this
.
$t
(
'pages.grade.credit.credit'
)
,
minWidth
:
'40'
,
fix
:
false
},
{
prop
:
'score'
,
label
:
'成绩'
,
minWidth
:
'40'
,
fix
:
false
},
{
prop
:
'score'
,
label
:
this
.
$t
(
'pages.grade.credit.grade'
)
,
minWidth
:
'40'
,
fix
:
false
},
// { prop: '', label: '', minWidth: '', fix: false, goObj: { routerName: '', params: {} } }, // 点击跳转页面并传参数
// { prop: '', label:
this.$t('pages.grade.credit')
'', minWidth: '', fix: false, goObj: { routerName: '', params: {} } }, // 点击跳转页面并传参数
{
prop
:
'operate-x'
,
label
:
'操作'
,
width
:
'80px'
,
fix
:
false
,
commandArr
:
[{
command
:
're-start'
,
name
:
'重修'
},
{
command
:
're-start'
,
name
:
'已申请'
}]
}
{
prop
:
'operate-x'
,
label
:
this
.
$t
(
'pages.grade.credit.operate'
)
,
width
:
'80px'
,
fix
:
false
,
commandArr
:
[{
command
:
're-start'
,
name
:
'重修'
},
{
command
:
're-start'
,
name
:
'已申请'
}]
}
],
],
tableData
:
[],
tableData
:
[],
params
:
{
keywords
:
''
,
curPage
:
1
,
pageSize
:
100
,
total
:
''
},
params
:
{
keywords
:
''
,
curPage
:
1
,
pageSize
:
100
,
total
:
''
},
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论