Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
0e6a1ab2
提交
0e6a1ab2
编写于
12月 04, 2019
作者:
zhentian.jia
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
时间段查询学情问题
上级
5c996973
变更
6
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
73 行增加
和
24 行删除
+73
-24
chartData.js
src/utils/learning/chartData.js
+16
-9
item-course-analysis.vue
src/views/learning/item-course-analysis.vue
+1
-1
item-crowd-analysis.vue
src/views/learning/item-crowd-analysis.vue
+2
-2
item-data-all.vue
src/views/learning/item-data-all.vue
+6
-2
item-examination-analysis.vue
src/views/learning/item-examination-analysis.vue
+1
-1
item-list.vue
src/views/learning/item-list.vue
+47
-9
未找到文件。
src/utils/learning/chartData.js
浏览文件 @
0e6a1ab2
...
@@ -169,6 +169,11 @@ export function certificateOption(xAxisData, seriesJoin, seriesCert, seriesRate)
...
@@ -169,6 +169,11 @@ export function certificateOption(xAxisData, seriesJoin, seriesCert, seriesRate)
legend
:
{
legend
:
{
data
:
[
"参与人数"
,
"获证人数"
,
"获证比例"
]
data
:
[
"参与人数"
,
"获证人数"
,
"获证比例"
]
},
},
grid
:
{
left
:
20
,
right
:
20
,
containLabel
:
true
},
xAxis
:
[
xAxis
:
[
{
{
axisLabel
:
{
axisLabel
:
{
...
@@ -288,6 +293,11 @@ export function durationOption(xAxisData, seriesData) {
...
@@ -288,6 +293,11 @@ export function durationOption(xAxisData, seriesData) {
start
:
0
,
start
:
0
,
end
:
100
end
:
100
},
},
grid
:
{
left
:
20
,
right
:
20
,
containLabel
:
true
},
xAxis
:
[
xAxis
:
[
{
{
axisLabel
:
{
axisLabel
:
{
...
@@ -466,9 +476,8 @@ export function knowledgeEffect(xAxisData, seriesBefore, seriesAfter) {
...
@@ -466,9 +476,8 @@ export function knowledgeEffect(xAxisData, seriesBefore, seriesAfter) {
data
:
[
"培训前正确率"
,
"培训后正确率"
]
data
:
[
"培训前正确率"
,
"培训后正确率"
]
},
},
grid
:
{
grid
:
{
left
:
"3%"
,
left
:
20
,
right
:
"4%"
,
right
:
20
,
bottom
:
"3%"
,
containLabel
:
true
containLabel
:
true
},
},
xAxis
:
{
xAxis
:
{
...
@@ -545,9 +554,8 @@ export function examTimes(xAxisData, seriesData) {
...
@@ -545,9 +554,8 @@ export function examTimes(xAxisData, seriesData) {
},
},
color
:
[
'#449284'
],
color
:
[
'#449284'
],
grid
:
{
grid
:
{
left
:
"3%"
,
left
:
20
,
right
:
"4%"
,
right
:
20
,
bottom
:
"3%"
,
containLabel
:
true
containLabel
:
true
},
},
dataZoom
:
{
dataZoom
:
{
...
@@ -621,9 +629,8 @@ export function examScore(xAxisData, seriesData) {
...
@@ -621,9 +629,8 @@ export function examScore(xAxisData, seriesData) {
},
},
color
:
[
'#CAA861'
],
color
:
[
'#CAA861'
],
grid
:
{
grid
:
{
left
:
"3%"
,
left
:
20
,
right
:
"4%"
,
right
:
20
,
bottom
:
"3%"
,
containLabel
:
true
containLabel
:
true
},
},
dataZoom
:
{
dataZoom
:
{
...
...
src/views/learning/item-course-analysis.vue
浏览文件 @
0e6a1ab2
...
@@ -237,7 +237,7 @@ export default {
...
@@ -237,7 +237,7 @@ export default {
routerData
.
region
=
reportParamModel
.
regionNames
;
routerData
.
region
=
reportParamModel
.
regionNames
;
routerData
.
organization
=
reportParamModel
.
hospitalNames
;
routerData
.
organization
=
reportParamModel
.
hospitalNames
;
routerData
.
projectId
=
reportParamModel
.
projectId
,
routerData
.
projectId
=
reportParamModel
.
projectId
,
routerData
.
projectName
=
' '
,
routerData
.
projectName
=
reportParamModel
.
projectName
,
routerData
.
tableType
=
1
;
routerData
.
tableType
=
1
;
routerData
.
courseId
=
data
.
courseId
;
routerData
.
courseId
=
data
.
courseId
;
routerData
.
beginDate
=
reportParamModel
.
beginDate
;
routerData
.
beginDate
=
reportParamModel
.
beginDate
;
...
...
src/views/learning/item-crowd-analysis.vue
浏览文件 @
0e6a1ab2
<
template
>
<
template
>
<div
class=
"crowd-analysis-wrap"
>
<div
class=
"crowd-analysis-wrap"
>
<el-radio-group
class=
"crowd-radio"
v-model=
"radio"
size=
"small"
@
change=
"updateRadio"
>
<el-radio-group
class=
"crowd-radio"
v-model=
"radio"
size=
"small"
@
change=
"updateRadio"
>
<el-radio-button
label=
"0"
>
全部
用户
</el-radio-button>
<el-radio-button
label=
"0"
>
全部
人员
</el-radio-button>
<el-radio-button
label=
"1"
>
参与项目
</el-radio-button>
<el-radio-button
label=
"1"
>
参与项目
</el-radio-button>
<el-radio-button
label=
"2"
>
通过项目
</el-radio-button>
<el-radio-button
label=
"2"
>
通过项目
</el-radio-button>
</el-radio-group>
</el-radio-group>
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
</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>
<div
class=
"sex"
>
<div
class=
"sex"
>
<div
class=
"sex-item"
v-for=
"(item , index) in sexData"
:key=
"index"
>
<div
class=
"sex-item"
v-for=
"(item , index) in sexData"
:key=
"index"
>
<!--
<img
class=
"sex-img"
v-bind:src=
"item.src"
/>
-->
<!--
<img
class=
"sex-img"
v-bind:src=
"item.src"
/>
-->
...
...
src/views/learning/item-data-all.vue
浏览文件 @
0e6a1ab2
...
@@ -283,7 +283,7 @@ export default {
...
@@ -283,7 +283,7 @@ export default {
totalCount
:
0
,
totalCount
:
0
,
gradeFlag
:
[
false
,
false
,
false
,
false
],
gradeFlag
:
[
false
,
false
,
false
,
false
],
hospitalCnt
:
''
,
hospitalCnt
:
''
,
hospital
Id
:
[],
hospital
CutList
:
[],
certFlag
:
0
,
certFlag
:
0
,
downloadId
:
null
,
downloadId
:
null
,
timeInfoChild
:
{},
timeInfoChild
:
{},
...
@@ -351,7 +351,7 @@ export default {
...
@@ -351,7 +351,7 @@ export default {
vm
.
hospitalCnt
=
res
.
data
.
hospitalCnt
;
vm
.
hospitalCnt
=
res
.
data
.
hospitalCnt
;
// vm.hospitalCnt = 1;
// vm.hospitalCnt = 1;
if
(
vm
.
hospitalCnt
==
1
)
{
if
(
vm
.
hospitalCnt
==
1
)
{
vm
.
hospital
Id
[
0
]
=
res
.
data
.
list
[
0
].
hospitalId
;
vm
.
hospital
CutList
=
res
.
data
.
list
;
}
}
// vm.searchType();
// vm.searchType();
vm
.
getDisplay
();
vm
.
getDisplay
();
...
@@ -405,6 +405,10 @@ export default {
...
@@ -405,6 +405,10 @@ export default {
pageNo
:
vm
.
formTable
.
pageNo
,
pageNo
:
vm
.
formTable
.
pageNo
,
pageSize
:
vm
.
formTable
.
pageSize
,
pageSize
:
vm
.
formTable
.
pageSize
,
};
};
if
(
req
.
hospitalIdList
.
length
==
0
)
{
req
.
hospitalIdList
=
[];
req
.
hospitalIdList
=
hospitalCutList
[
0
].
hospitalId
;
}
openLoading
(
vm
);
openLoading
(
vm
);
if
(
req
.
regionId
==
"000"
)
{
if
(
req
.
regionId
==
"000"
)
{
req
.
regionId
=
"310"
;
req
.
regionId
=
"310"
;
...
...
src/views/learning/item-examination-analysis.vue
浏览文件 @
0e6a1ab2
...
@@ -348,7 +348,7 @@ export default {
...
@@ -348,7 +348,7 @@ export default {
routerData
.
region
=
reportParamModel
.
regionNames
;
routerData
.
region
=
reportParamModel
.
regionNames
;
routerData
.
organization
=
reportParamModel
.
hospitalNames
;
routerData
.
organization
=
reportParamModel
.
hospitalNames
;
routerData
.
projectId
=
reportParamModel
.
projectId
,
routerData
.
projectId
=
reportParamModel
.
projectId
,
routerData
.
projectName
=
' '
,
routerData
.
projectName
=
reportParamModel
.
projectName
,
routerData
.
tableType
=
2
;
routerData
.
tableType
=
2
;
routerData
.
examId
=
data
.
examId
;
routerData
.
examId
=
data
.
examId
;
routerData
.
beginDate
=
reportParamModel
.
beginDate
;
routerData
.
beginDate
=
reportParamModel
.
beginDate
;
...
...
src/views/learning/item-list.vue
浏览文件 @
0e6a1ab2
...
@@ -317,7 +317,8 @@ export default {
...
@@ -317,7 +317,8 @@ export default {
regionNames
:
""
,
regionNames
:
""
,
hospitalNames
:
""
,
hospitalNames
:
""
,
originalFlag
:
1
originalFlag
:
1
}
},
hospitalCntList
:
[],
};
};
},
},
computed
:
{
computed
:
{
...
@@ -360,12 +361,19 @@ export default {
...
@@ -360,12 +361,19 @@ export default {
if
(
res
.
code
==
"000000"
)
{
if
(
res
.
code
==
"000000"
)
{
vm
.
timeInfoData
=
res
.
data
;
vm
.
timeInfoData
=
res
.
data
;
vm
.
reportParamModel
=
res
.
data
.
reportParamModel
;
vm
.
reportParamModel
=
res
.
data
.
reportParamModel
;
let
doctorInfoRep
=
res
.
data
.
doctorInfoRep
;
setTimeout
(
function
()
{
setTimeout
(
function
()
{
vm
.
$refs
.
childDataAll
.
$emit
(
"static"
);
vm
.
$refs
.
childDataAll
.
$emit
(
"static"
);
vm
.
$refs
.
childCrowd
.
$emit
(
"static"
);
vm
.
$refs
.
childCrowd
.
$emit
(
"static"
);
vm
.
$refs
.
childCourse
.
$emit
(
"static"
);
if
(
doctorInfoRep
.
existCourse
==
1
)
{
vm
.
$refs
.
childExam
.
$emit
(
"static"
);
vm
.
$refs
.
childCourse
.
$emit
(
"static"
);
vm
.
$refs
.
childEffect
.
$emit
(
"static"
);
}
if
(
doctorInfoRep
.
existExam
==
1
)
{
vm
.
$refs
.
childExam
.
$emit
(
"static"
);
}
if
(
doctorInfoRep
.
existEffect
==
1
)
{
vm
.
$refs
.
childEffect
.
$emit
(
"static"
);
}
},
20
);
},
20
);
}
else
{
}
else
{
vm
.
$message
(
res
.
message
);
vm
.
$message
(
res
.
message
);
...
@@ -514,6 +522,19 @@ export default {
...
@@ -514,6 +522,19 @@ export default {
res
.
data
.
list
res
.
data
.
list
);
);
vm
.
search
();
vm
.
search
();
vm
.
gethHspitalsCnt
();
}
});
},
gethHspitalsCnt
()
{
let
req
=
{
projectId
:
vm
.
projectId
,
regionId
:
vm
.
formInline
.
region
[
vm
.
formInline
.
region
.
length
-
1
]
};
vm
.
GET
(
"stats/region/hospitals/cnt"
,
req
).
then
(
res
=>
{
if
(
res
.
code
==
"000000"
)
{
vm
.
hospitalCnt
=
res
.
data
.
hospitalCnt
;
vm
.
hospitalCntList
=
res
.
data
.
list
}
}
});
});
},
},
...
@@ -582,6 +603,17 @@ export default {
...
@@ -582,6 +603,17 @@ export default {
hospitalNames
:
vm
.
dialogData
.
organization
,
hospitalNames
:
vm
.
dialogData
.
organization
,
regionNames
:
vm
.
dialogData
.
region
,
regionNames
:
vm
.
dialogData
.
region
,
};
};
if
(
vm
.
organizationList
.
length
==
1
)
{
req
.
hospitalIdList
=
[];
req
.
hospitalIdList
[
0
]
=
vm
.
organizationList
[
0
].
value
;
}
if
(
req
.
regionNames
==
'全部'
)
{
//全部地区 机构只有一个情况
if
(
vm
.
hospitalCntList
.
length
==
1
)
{
req
.
hospitalIdList
=
[];
req
.
hospitalIdList
[
0
]
=
vm
.
hospitalCntList
[
0
].
hospitalId
;
}
}
openLoading
(
vm
);
openLoading
(
vm
);
vm
.
POST
(
"stats/export/time"
,
req
).
then
(
res
=>
{
vm
.
POST
(
"stats/export/time"
,
req
).
then
(
res
=>
{
closeLoading
(
vm
);
closeLoading
(
vm
);
...
@@ -598,11 +630,17 @@ export default {
...
@@ -598,11 +630,17 @@ export default {
if
(
vm
.
formInline
.
timeFlag
==
1
)
{
if
(
vm
.
formInline
.
timeFlag
==
1
)
{
//截止昨日
//截止昨日
vm
.
setExportReq
();
vm
.
setExportReq
();
this
.
$refs
.
childDataAll
.
$emit
(
"search"
);
vm
.
$refs
.
childDataAll
.
$emit
(
"search"
);
this
.
$refs
.
childCrowd
.
$emit
(
"search"
);
vm
.
$refs
.
childCrowd
.
$emit
(
"search"
);
this
.
$refs
.
childCourse
.
$emit
(
"search"
);
if
(
vm
.
displayCourse
==
1
)
{
this
.
$refs
.
childExam
.
$emit
(
"search"
);
vm
.
$refs
.
childCourse
.
$emit
(
"search"
);
this
.
$refs
.
childEffect
.
$emit
(
"search"
);
}
if
(
vm
.
displayExam
==
1
)
{
vm
.
$refs
.
childExam
.
$emit
(
"search"
);
}
if
(
vm
.
displayEffect
==
1
)
{
vm
.
$refs
.
childEffect
.
$emit
(
"search"
);
}
}
else
if
(
vm
.
formInline
.
timeFlag
==
2
)
{
}
else
if
(
vm
.
formInline
.
timeFlag
==
2
)
{
//开始时间结束时间
//开始时间结束时间
if
(
vm
.
formInline
.
during
==
null
)
{
if
(
vm
.
formInline
.
during
==
null
)
{
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录