Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-learning-report
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.education.frontend
pica-learning-report
提交
99c0a628
提交
99c0a628
编写于
12月 08, 2019
作者:
guangjun.yang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
完成项目考试分数情况
上级
77ca6600
变更
4
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
44 行增加
和
20 行删除
+44
-20
course-times-list.vue
components/bussiness/course-times-list.vue
+5
-5
exam-score.vue
pages/exam-score.vue
+30
-6
index.vue
pages/index.vue
+3
-3
rank-edu.vue
pages/rank-edu.vue
+6
-6
未找到文件。
components/bussiness/course-times-list.vue
浏览文件 @
99c0a628
<!-- 课程列表组件 -->
<
template
>
<div
class=
"corse-times-list"
>
<
TipsInfo></TipsInfo
>
<
!--
<TipsInfo></TipsInfo>
--
>
<ul
class=
"title"
>
<li>
课程名
</li>
<li>
课程时长
</li>
...
...
@@ -17,11 +17,11 @@
</div>
</
template
>
<
script
>
import
TipsInfo
from
'@/components/bussiness/tips-info'
//
import TipsInfo from '@/components/bussiness/tips-info'
export
default
{
components
:
{
TipsInfo
},
//
components: {
//
TipsInfo
//
},
props
:
{
dataList
:
{
type
:
Array
,
...
...
pages/exam-score.vue
浏览文件 @
99c0a628
<
template
>
<section>
<CommonHeader
title=
"完成项目考试分数情况"
></CommonHeader>
<CommonTitleMini
:title=
"title"
:needRightBtn=
"needRightBtn"
></CommonTitleMini>
<!--
<CommonTitleMini
:title=
"title"
:needRightBtn=
"needRightBtn"
></CommonTitleMini>
-->
<CommonTitleWithDropdown
:dataList=
"dropdownList"
:title=
"title"
:needRightBtn=
"needRightBtn"
@
selectSortItem=
"selectSortItem"
></CommonTitleWithDropdown>
<ExamScoreList
:dataList=
"dataList"
></ExamScoreList>
<CommonNoMore
class=
"mt-10"
></CommonNoMore>
</section>
...
...
@@ -11,7 +12,8 @@ const cookies = require("cookie-universal")();
import
{
getGeneralExam
}
from
"@/service"
;
import
CommonHeader
from
"@/components/common/common-header"
;
import
CommonTitleMini
from
"@/components/common/common-title-mini"
;
// import CommonTitleMini from "@/components/common/common-title-mini";
import
CommonTitleWithDropdown
from
"@/components/common/common-title-with-dropdown"
;
import
CommonNoMore
from
"@/components/common/common-no-more"
;
import
ExamScoreList
from
"@/components/bussiness/exam-score-list"
;
...
...
@@ -19,7 +21,7 @@ export default {
data
()
{
return
{
title
:
"共0条数据"
,
needRightBtn
:
fals
e
,
needRightBtn
:
tru
e
,
token
:
""
,
// 查询概况数据
queryGDParams
:
{
...
...
@@ -38,12 +40,23 @@ export default {
type
:
1
}
},
dataList
:
[]
dataList
:
[],
dropdownList
:
[{
desc
:
'1分'
,
type
:
1
},{
desc
:
'5分'
,
type
:
2
},{
desc
:
'10分'
,
type
:
3
}],
};
},
components
:
{
CommonHeader
,
CommonTitle
Mini
,
CommonTitle
WithDropdown
,
CommonNoMore
,
ExamScoreList
},
...
...
@@ -69,11 +82,22 @@ export default {
async
getGeneralExam
(
queryData
)
{
await
getGeneralExam
(
queryData
).
then
(
res
=>
{
if
(
res
.
code
===
"000000"
)
{
this
.
allData
=
res
.
data
;
this
.
dataList
=
res
.
data
.
examScoreList
;
this
.
title
=
`共
${
this
.
dataList
.
length
}
条数据`
this
.
title
=
`共
${
this
.
dataList
.
length
}
条数据`
;
}
});
},
selectSortItem
(
type
)
{
if
(
type
==
1
)
{
this
.
dataList
=
this
.
allData
.
examScoreList
||
[];
}
else
if
(
type
===
2
)
{
this
.
dataList
=
this
.
allData
.
examFiveScoreList
||
[];
}
else
if
(
type
===
3
)
{
this
.
dataList
=
this
.
allData
.
examTenScoreList
||
[];
}
this
.
title
=
`共
${
this
.
dataList
.
length
}
条数据`
;
}
}
};
</
script
>
...
...
pages/index.vue
浏览文件 @
99c0a628
...
...
@@ -267,9 +267,9 @@ export default {
},
projectInfo
:
{
certFlag
:
0
,
// 项目证书情况 0:无证;1:单证书;2:多证书
existCourse
:
0
,
// 是否显示课程分析 1:显示 2:不显示
existEffect
:
0
,
// 是否显示学习效果分析 1:显示 2:不显示
existExam
:
0
,
// 是否显示考试分析 1:显示 2:不显示
existCourse
:
1
,
// 是否显示课程分析 1:显示 2:不显示
existEffect
:
1
,
// 是否显示学习效果分析 1:显示 2:不显示
existExam
:
1
,
// 是否显示考试分析 1:显示 2:不显示
roleType
:
0
,
// 0:普通人 1:内部管理员 2:项目负责人 3:次级负责人
status
:
0
// 是否显示查看原始数据 1:显示 2:不显示
},
...
...
pages/rank-edu.vue
浏览文件 @
99c0a628
<
template
>
<section>
<CommonHeader
title=
"项目情况排名"
></CommonHeader>
<CommonTitle
Mini2
:dataList=
"dataList"
:title=
"listTitle"
:needRightBtn=
"needRightBtn"
@
selectSortItem=
"selectSortItem"
></CommonTitleMini2
>
<CommonTitle
WithDropdown
:dropdownList=
"dropdownList"
:title=
"title"
:needRightBtn=
"needRightBtn"
@
selectSortItem=
"selectSortItem"
></CommonTitleWithDropdown
>
<RankingList
:rankList=
"rankList"
></RankingList>
<CommonNoMore
class=
"mt-10"
></CommonNoMore>
</section>
...
...
@@ -11,14 +11,14 @@ const cookies = require("cookie-universal")();
import
{
getStudyRankData
}
from
"@/service"
;
import
CommonHeader
from
"@/components/common/common-header"
;
import
CommonTitle
Mini2
from
"@/components/common/common-title-with-dropdown"
;
import
CommonTitle
WithDropdown
from
"@/components/common/common-title-with-dropdown"
;
import
CommonNoMore
from
"@/components/common/common-no-more"
;
import
RankingList
from
"@/components/bussiness/ranking-item"
;
export
default
{
data
()
{
return
{
listT
itle
:
'共0个省'
,
t
itle
:
'共0个省'
,
rankList
:
[],
needRightBtn
:
true
,
queryGDParams
:
{
...
...
@@ -37,7 +37,7 @@ export default {
type
:
1
}
},
d
ata
List
:
[{
d
ropdown
List
:
[{
desc
:
'按获证比例排名'
,
type
:
1
},{
...
...
@@ -51,7 +51,7 @@ export default {
},
components
:
{
CommonHeader
,
CommonTitle
Mini2
,
CommonTitle
WithDropdown
,
CommonNoMore
,
RankingList
},
...
...
@@ -75,7 +75,7 @@ export default {
await
getStudyRankData
(
params
).
then
(
res
=>
{
if
(
res
.
code
===
"000000"
)
{
this
.
rankList
=
res
.
data
.
studyRank
;
this
.
listT
itle
=
`共
${
this
.
rankList
.
length
}
个省`
this
.
t
itle
=
`共
${
this
.
rankList
.
length
}
个省`
}
});
},
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录