Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
188f1345
提交
188f1345
编写于
12月 11, 2019
作者:
zhentian.jia
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
数据空处理 文案问题
上级
c836c552
变更
6
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
26 行增加
和
9 行删除
+26
-9
filter.js
src/utils/filter.js
+5
-2
chartData.js
src/utils/learning/chartData.js
+1
-1
slidebar.vue
src/views/layout/slidebar.vue
+1
-1
item-crowd-analysis.vue
src/views/learning/item-crowd-analysis.vue
+4
-0
item-data-all.vue
src/views/learning/item-data-all.vue
+14
-4
item-learning-effect.vue
src/views/learning/item-learning-effect.vue
+1
-1
未找到文件。
src/utils/filter.js
浏览文件 @
188f1345
...
@@ -233,6 +233,9 @@ const vueFilter = {
...
@@ -233,6 +233,9 @@ const vueFilter = {
return
avgTime
;
return
avgTime
;
},
},
learnTimeValue
:
(
value
)
=>
{
learnTimeValue
:
(
value
)
=>
{
if
(
value
===
null
||
value
===
''
)
{
return
'-'
;
}
let
s
=
parseInt
(
value
),
m
=
0
,
h
=
0
;
//秒,分,小时
let
s
=
parseInt
(
value
),
m
=
0
,
h
=
0
;
//秒,分,小时
if
(
s
==
NaN
){
//错误error
if
(
s
==
NaN
){
//错误error
return
''
;
return
''
;
...
@@ -314,7 +317,7 @@ const vueFilter = {
...
@@ -314,7 +317,7 @@ const vueFilter = {
}
else
if
(
value
==
2
)
{
}
else
if
(
value
==
2
)
{
return
'女'
;
return
'女'
;
}
else
if
(
value
==
0
)
{
}
else
if
(
value
==
0
)
{
return
'
未知
'
;
return
'
-
'
;
}
}
},
},
joinFlagValue
:
(
value
)
=>
{
joinFlagValue
:
(
value
)
=>
{
...
@@ -337,7 +340,7 @@ const vueFilter = {
...
@@ -337,7 +340,7 @@ const vueFilter = {
}
}
return
value
;
return
value
;
},
},
score
Value
:
(
value
)
=>
{
nullOf
Value
:
(
value
)
=>
{
if
(
value
===
null
||
value
===
''
)
{
if
(
value
===
null
||
value
===
''
)
{
return
'-'
;
return
'-'
;
}
}
...
...
src/utils/learning/chartData.js
浏览文件 @
188f1345
...
@@ -20,7 +20,7 @@ export function dustributeOption(legendData, seriesData) {
...
@@ -20,7 +20,7 @@ export function dustributeOption(legendData, seriesData) {
legend
:
{
legend
:
{
orient
:
"horizontal"
,
orient
:
"horizontal"
,
top
:
""
,
top
:
""
,
left
:
"0%"
,
//
left: "0%",
data
:
legendData
data
:
legendData
},
},
series
:
[
series
:
[
...
...
src/views/layout/slidebar.vue
浏览文件 @
188f1345
...
@@ -139,7 +139,7 @@
...
@@ -139,7 +139,7 @@
index
:
'report-list'
index
:
'report-list'
},
},
{
{
title
:
'
导出下载
'
,
title
:
'
任务列表
'
,
icon
:
'el-icon-document'
,
icon
:
'el-icon-document'
,
index
:
'export-download'
index
:
'export-download'
}
}
...
...
src/views/learning/item-crowd-analysis.vue
浏览文件 @
188f1345
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
<div
v-show=
"!showData"
class=
"empty"
>
<div
v-show=
"!showData"
class=
"empty"
>
<p>
"没有相关数据,请重新选择查询范围"
</p>
<p>
"没有相关数据,请重新选择查询范围"
</p>
</div>
</div>
<div>
<div
class=
"chart"
v-show=
"showData"
>
<div
class=
"chart"
v-show=
"showData"
>
<div
v-if=
"showEducation === true"
>
<div
v-if=
"showEducation === true"
>
<div
class=
"item"
id=
"education"
ref=
"education"
></div>
<div
class=
"item"
id=
"education"
ref=
"education"
></div>
...
@@ -24,6 +25,8 @@
...
@@ -24,6 +25,8 @@
<img
src=
"../../assets/image/noData.png"
/>
<img
src=
"../../assets/image/noData.png"
/>
</div>
</div>
</div>
</div>
</div>
<div>
<div
class=
"chart"
v-show=
"showData"
>
<div
class=
"chart"
v-show=
"showData"
>
<div
class=
"item"
>
<div
class=
"item"
>
<div
class=
"title"
>
人员性别分布
</div>
<div
class=
"title"
>
人员性别分布
</div>
...
@@ -47,6 +50,7 @@
...
@@ -47,6 +50,7 @@
<img
src=
"../../assets/image/noData.png"
/>
<img
src=
"../../assets/image/noData.png"
/>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
...
src/views/learning/item-data-all.vue
浏览文件 @
188f1345
...
@@ -82,6 +82,7 @@
...
@@ -82,6 +82,7 @@
</div>
</div>
<div
class=
"spacing"
></div>
<div
class=
"spacing"
></div>
<div
class=
"chart-title"
>
证书级别按学历发布情况
</div>
<div
class=
"chart-title"
>
证书级别按学历发布情况
</div>
<div
>
<div
v-if=
"showRecordChart === true"
class=
"chart-recordChart"
>
<div
v-if=
"showRecordChart === true"
class=
"chart-recordChart"
>
<div
class=
"recordChart"
id=
"recordChart"
ref=
"recordChart"
></div>
<div
class=
"recordChart"
id=
"recordChart"
ref=
"recordChart"
></div>
<div
class=
"data-text"
>
<div
class=
"data-text"
>
...
@@ -90,6 +91,7 @@
...
@@ -90,6 +91,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
v-if=
"showRecordChart === false"
class=
"empty-img"
>
<div
v-if=
"showRecordChart === false"
class=
"empty-img"
>
<img
src=
"../../assets/image/noData.png"
/>
<img
src=
"../../assets/image/noData.png"
/>
</div>
</div>
...
@@ -220,10 +222,14 @@
...
@@ -220,10 +222,14 @@
<span>
{{
scope
.
row
.
certGrade
|
certGradeValue
}}
</span>
<span>
{{
scope
.
row
.
certGrade
|
certGradeValue
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"finishDate"
label=
"完成项目日期"
align=
"center"
></el-table-column>
<el-table-column
prop=
"finishDate"
label=
"完成项目日期"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
finishDate
|
nullOfValue
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"score"
label=
"成绩"
align=
"center"
>
<el-table-column
prop=
"score"
label=
"成绩"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
score
|
score
Value
}}
</span>
<span>
{{
scope
.
row
.
score
|
nullOf
Value
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"learnTime"
min-width=
"150"
label=
"学习时长"
align=
"center"
>
<el-table-column
prop=
"learnTime"
min-width=
"150"
label=
"学习时长"
align=
"center"
>
...
@@ -266,10 +272,14 @@
...
@@ -266,10 +272,14 @@
<span>
{{
scope
.
row
.
certGrade
|
certGradeValue
}}
</span>
<span>
{{
scope
.
row
.
certGrade
|
certGradeValue
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"finishDate"
label=
"完成项目日期"
align=
"center"
></el-table-column>
<el-table-column
prop=
"finishDate"
label=
"完成项目日期"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
finishDate
|
nullOfValue
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"score"
label=
"成绩"
align=
"center"
>
<el-table-column
prop=
"score"
label=
"成绩"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
score
|
score
Value
}}
</span>
<span>
{{
scope
.
row
.
score
|
nullOf
Value
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"learnTime"
min-width=
"150"
label=
"学习时长"
align=
"center"
>
<el-table-column
prop=
"learnTime"
min-width=
"150"
label=
"学习时长"
align=
"center"
>
...
...
src/views/learning/item-learning-effect.vue
浏览文件 @
188f1345
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
<div
v-if=
"showChartLearn === false"
class=
"empty-img"
>
<div
v-if=
"showChartLearn === false"
class=
"empty-img"
>
<img
src=
"../../assets/image/noData.png"
/>
<img
src=
"../../assets/image/noData.png"
/>
</div>
</div>
<div
class=
"chart-remarks"
>
注:本报表数据来源仅
包括有摸底
考的课程培训。
</div>
<div
class=
"chart-remarks"
>
注:本报表数据来源仅
仅统计同时包含摸底考和正式
考的课程培训。
</div>
</div>
</div>
</
template
>
</
template
>
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录