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
提交
395b5193
提交
395b5193
编写于
10月 25, 2021
作者:
张磊
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add new rate
上级
0170a8f3
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
16930 行增加
和
11 行删除
+16930
-11
common-swiper-item.vue
components/common/common-swiper-item.vue
+39
-11
package-lock.json
package-lock.json
+16891
-0
未找到文件。
components/common/common-swiper-item.vue
浏览文件 @
395b5193
<!-- Swipter的子组件:概述页面专用 -->
<
template
>
<section
class=
"common-swiper-item"
>
<article
class=
"middle"
>
<div
class=
"title"
>
<span
class=
"ratio"
>
{{
certFlag
?
'获证率'
:
'完成率'
}}
<article
class=
"middle-warp"
>
<div
class=
"middle"
>
<div
class=
"title"
>
<span
class=
"ratio"
>
{{
certFlag
?
'获证率'
:
'项目完成率'
}}
<img
@
click=
"tipsClick"
:class=
"
{'top-10': isAndroid}" src="../../assets/images/what-icon-2.png" />
</span>
<span>
<span>
<img
src=
"../../assets/images/tips-1.png"
/>
</span>
</div>
<div
class=
"ratio"
>
<span>
{{
percentData
.
certificateRate
|
fixedNum
}}
%
</span>
</div>
<div
class=
"statics"
>
<span>
{{
certFlag
?
'已获证人数'
:
'已完成人数'
}}
{{
percentData
.
finishCount
|
formatNum
}}
</span>
<span>
应参与人数
{{
percentData
.
doctorCount
|
formatNum
}}
</span>
</div>
</div>
<div
class=
"ratio"
>
<span>
{{
percentData
.
certificateRate
|
fixedNum
}}
%
</span>
</div>
<div
class=
"statics"
>
<span>
{{
certFlag
?
'已获证人数'
:
'已完成人数'
}}
{{
percentData
.
finishCount
|
formatNum
}}
</span>
<span>
应参与人数
{{
percentData
.
doctorCount
|
formatNum
}}
</span>
<div
class=
"middle"
>
<div
class=
"title"
>
<span
class=
"ratio"
>
{{
'参与完成率'
}}
<img
@
click=
"tipsClick2"
:class=
"
{'top-10': isAndroid}" src="../../assets/images/what-icon-2.png" />
</span>
<span>
<img
src=
"../../assets/images/tips-1.png"
/>
</span>
</div>
<div
class=
"ratio"
>
<span>
{{
shouldDate
|
fixedNum
}}
%
</span>
</div>
<div
class=
"statics"
>
<span>
已完成人数
{{
percentData
.
finishCount
|
formatNum
}}
</span>
<span>
已参与人数
{{
percentData
.
joinCount
|
formatNum
}}
</span>
</div>
</div>
</article>
<article
v-show=
"isSingleOrg"
class=
"middle-org"
>
...
...
@@ -91,6 +110,11 @@ export default {
isAndroid
:
false
}
},
computed
:{
shouldDate
(){
return
this
.
percentData
.
joinCount
?
this
.
percentData
.
finishCount
/
this
.
percentData
.
joinCount
:
0
;
}
},
watch
:
{
percentData
:
{
handler
(
newValue
,
oldValue
)
{
...
...
@@ -123,6 +147,10 @@ export default {
tipsContent
=
'是已获证人数/应参与人数*100%'
}
this
.
$emit
(
'tipsClick'
,
tipsContent
)
},
tipsClick2
()
{
const
tipsContent
=
'是已完成人数/已参与人数*100%'
;
this
.
$emit
(
'tipsClick'
,
tipsContent
)
}
}
};
...
...
@@ -177,7 +205,7 @@ export default {
img {
position: absolute;
top: 3px;
left:
4
6px;
left:
7
6px;
width: 14px;
height: 14px;
&.top-10 {
...
...
package-lock.json
0 → 100644
浏览文件 @
395b5193
因为 它太大了无法显示 源差异 。您可以改为
查看blob
。
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录