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
提交
aba432d7
提交
aba432d7
编写于
12月 11, 2019
作者:
guangjun.yang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
获证人数排名
上级
b880fdbe
变更
3
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
31 行增加
和
14 行删除
+31
-14
index.vue
pages/index.vue
+5
-2
rankdays.vue
pages/rankdays.vue
+11
-11
rankedu.vue
pages/rankedu.vue
+15
-1
未找到文件。
pages/index.vue
浏览文件 @
aba432d7
...
...
@@ -26,7 +26,7 @@
<CommonSplitLine></CommonSplitLine>
<CommonTitle
title=
"项目情况排名"
></CommonTitle>
<RankingList
:certFlag=
"projectInfo.certFlag"
:rankList=
"(allData && allData.studyRank)"
></RankingList>
<ShowAll
v-show=
"allData && allData.studyRank && allData.studyRank.length > 5"
@
action=
"gotoPage('/rankedu')"
></ShowAll>
<ShowAll
v-show=
"allData && allData.studyRank && allData.studyRank.length > 5"
@
action=
"gotoPage('/rankedu'
, true
)"
></ShowAll>
<CommonSplitLine></CommonSplitLine>
<CommonTitleWithWhat
@
tipsClick=
"tipsRankingItemClick"
title=
"完成天数排名"
></CommonTitleWithWhat>
<RankingItemDays
:rankList=
"(allData && allData.costRank)"
></RankingItemDays>
...
...
@@ -599,8 +599,11 @@ export default {
},
// 通用跳转页面
gotoPage
(
subUrl
)
{
gotoPage
(
subUrl
,
hasCert
)
{
let
subUrlAndParams
=
`
${
subUrl
}
?token=
${
this
.
token
}
&projectId=
${
this
.
queryGDParams
.
projectId
}
®ionId=
${
this
.
queryGDParams
.
regionId
}
&hospitalIdList=
${
this
.
queryGDParams
.
hospitalIdList
.
join
(
','
)}
`
if
(
hasCert
)
{
subUrlAndParams
+=
`&certFlag=
${
this
.
projectInfo
.
certFlag
}
`
}
if
(
this
.
$rocNative
.
isWeb
)
{
this
.
$router
.
push
(
subUrlAndParams
);
}
else
{
...
...
pages/rankdays.vue
浏览文件 @
aba432d7
<
template
>
<section>
<CommonHeader
title=
"完成天数排名"
></CommonHeader>
<CommonTitleMiniWithDropdown
:
dataList=
"dataList"
:
title=
"listTitle"
@
selectSortItem=
"selectSortItem"
></CommonTitleMiniWithDropdown>
<CommonTitleMiniWithDropdown
:title=
"listTitle"
@
selectSortItem=
"selectSortItem"
></CommonTitleMiniWithDropdown>
<RankingItemDays
:rankList=
"rankList"
></RankingItemDays>
<CommonNoMore
class=
"mt-10"
></CommonNoMore>
</section>
...
...
@@ -36,16 +36,16 @@ export default {
type
:
1
}
},
dataList
:
[{
desc
:
'按获证比例排名'
,
type
:
1
},{
desc
:
'按获证人数排名'
,
type
:
2
},{
desc
:
'按参与人数排名'
,
type
:
3
}],
//
dataList: [{
//
desc: '按获证比例排名',
//
type: 1
//
},{
//
desc: '按获证人数排名',
//
type: 2
//
},{
//
desc: '按参与人数排名',
//
type: 3
//
}],
};
},
components
:
{
...
...
pages/rankedu.vue
浏览文件 @
aba432d7
...
...
@@ -2,7 +2,7 @@
<section>
<CommonHeader
title=
"项目情况排名"
></CommonHeader>
<CommonTitleWithDropdown
:dataList=
"dropdownList"
:title=
"title"
:needRightBtn=
"needRightBtn"
@
selectSortItem=
"selectSortItem"
></CommonTitleWithDropdown>
<RankingList
:rankList=
"rankList"
></RankingList>
<RankingList
:
certFlag=
"certFlag"
:
rankList=
"rankList"
></RankingList>
<CommonNoMore
class=
"mt-10"
></CommonNoMore>
</section>
</
template
>
...
...
@@ -47,6 +47,7 @@ export default {
desc
:
'按参与人数排名'
,
type
:
3
}],
certFlag
:
0
};
},
components
:
{
...
...
@@ -63,6 +64,19 @@ export default {
this
.
queryGDParams
.
projectId
=
cQuery
.
projectId
||
''
;
this
.
queryGDParams
.
regionId
=
cQuery
.
regionId
||
''
;
this
.
queryGDParams
.
hospitalIdList
=
hospitalIdList
&&
hospitalIdList
.
split
(
','
)
||
[];
this
.
certFlag
=
cQuery
.
certFlag
;
if
(
!
this
.
certFlag
)
{
this
.
dropdownList
=
[{
desc
:
'按完成比例排名'
,
type
:
1
},{
desc
:
'按完成人数排名'
,
type
:
2
},{
desc
:
'按参与人数排名'
,
type
:
3
}]
}
cookies
.
set
(
"token"
,
cQuery
.
token
||
''
);
this
.
getStudyRankData
(
this
.
queryGDParams
);
console
.
log
(
this
.
queryGDParams
)
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录