Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
cbea0693
提交
cbea0693
编写于
11月 22, 2019
作者:
zhentian.jia
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
对接api
上级
ec25080c
变更
5
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
45 行增加
和
15 行删除
+45
-15
operation.js
src/utils/operation.js
+12
-0
item-course-analysis.vue
src/views/learning/item-course-analysis.vue
+1
-1
item-crowd-analysis.vue
src/views/learning/item-crowd-analysis.vue
+1
-1
item-data-all.vue
src/views/learning/item-data-all.vue
+28
-3
item-list.vue
src/views/learning/item-list.vue
+3
-10
未找到文件。
src/utils/operation.js
浏览文件 @
cbea0693
...
@@ -654,4 +654,16 @@ export function setSelectedKeys(checkedKeys, halfCheckedKeys) {
...
@@ -654,4 +654,16 @@ export function setSelectedKeys(checkedKeys, halfCheckedKeys) {
selected
.
push
(
obj
);
selected
.
push
(
obj
);
}
}
return
selected
;
return
selected
;
}
export
function
setDuringTime
(
time
,
type
)
{
let
value
=
time
;
if
(
time
==
''
||
time
==
null
)
{
return
''
;
}
if
(
type
==
'begin'
)
{
value
=
time
[
0
];
}
else
if
(
type
==
'end'
)
{
value
=
time
[
1
];
}
return
value
;
}
}
\ No newline at end of file
src/views/learning/item-course-analysis.vue
浏览文件 @
cbea0693
...
@@ -155,7 +155,7 @@ export default {
...
@@ -155,7 +155,7 @@ export default {
type
:
operationData
.
getSearchType
(
vm
.
formInline
,
checkAll
),
type
:
operationData
.
getSearchType
(
vm
.
formInline
,
checkAll
),
originalFlag
:
vm
.
formInline
.
checked
==
false
?
0
:
1
originalFlag
:
vm
.
formInline
.
checked
==
false
?
0
:
1
};
};
console
.
log
(
"3 req"
,
req
);
//
console.log("3 req", req);
openLoading
(
vm
);
openLoading
(
vm
);
vm
.
reportGET
(
"report/portalProjectCourse/getTotal"
,
req
).
then
(
res
=>
{
vm
.
reportGET
(
"report/portalProjectCourse/getTotal"
,
req
).
then
(
res
=>
{
closeLoading
(
vm
);
closeLoading
(
vm
);
...
...
src/views/learning/item-crowd-analysis.vue
浏览文件 @
cbea0693
...
@@ -109,7 +109,7 @@ export default {
...
@@ -109,7 +109,7 @@ export default {
type
:
vm
.
radio
,
type
:
vm
.
radio
,
originalFlag
:
vm
.
formInline
.
checked
==
false
?
0
:
1
originalFlag
:
vm
.
formInline
.
checked
==
false
?
0
:
1
};
};
console
.
log
(
"2 req"
,
req
);
//
console.log("2 req", req);
openLoading
(
vm
);
openLoading
(
vm
);
vm
.
reportGET
(
"report/portal/getPeoplesDetails"
,
req
).
then
(
res
=>
{
vm
.
reportGET
(
"report/portal/getPeoplesDetails"
,
req
).
then
(
res
=>
{
closeLoading
(
vm
);
closeLoading
(
vm
);
...
...
src/views/learning/item-data-all.vue
浏览文件 @
cbea0693
...
@@ -199,8 +199,8 @@ export default {
...
@@ -199,8 +199,8 @@ export default {
pageNo
:
1
,
pageNo
:
1
,
pageSize
:
10
,
pageSize
:
10
,
},
},
checkRange
:
2
,
checkRange
:
1
,
checkTime
:
2
,
checkTime
:
1
,
};
};
},
},
created
()
{
created
()
{
...
@@ -222,8 +222,33 @@ export default {
...
@@ -222,8 +222,33 @@ export default {
vm
.
setTable
();
vm
.
setTable
();
}
}
},
},
mounted
:
function
()
{},
mounted
:
function
()
{
this
.
$on
(
"search"
,
()
=>
{
vm
.
checkRange
=
1
;
vm
.
checkTime
=
1
,
this
.
search
();
});
},
methods
:
{
methods
:
{
search
()
{
let
req
=
{
projectId
:
vm
.
projectId
,
beginDate
:
operationData
.
setDuringTime
(
vm
.
formInline
.
during
,
'begin'
),
endDate
:
operationData
.
setDuringTime
(
vm
.
formInline
.
during
,
'end'
),
hospitalIdList
:
vm
.
formInline
.
organization
,
originalFlag
:
vm
.
formInline
.
checked
==
false
?
0
:
1
,
regionId
:
vm
.
formInline
.
region
[
vm
.
formInline
.
region
.
length
-
1
],
timeFlag
:
vm
.
formInline
.
timeFlag
,
};
openLoading
(
vm
);
// console.log("0 req", req);
vm
.
POST
(
"stats/report/general"
,
req
).
then
(
res
=>
{
closeLoading
(
vm
);
if
(
res
.
code
==
"000000"
)
{
}
});
},
initCard
()
{
initCard
()
{
let
cardData
=
[
let
cardData
=
[
{
{
...
...
src/views/learning/item-list.vue
浏览文件 @
cbea0693
...
@@ -67,6 +67,7 @@
...
@@ -67,6 +67,7 @@
<el-date-picker
<el-date-picker
size=
"small"
size=
"small"
v-model=
"formInline.during"
v-model=
"formInline.during"
value-format=
"yyyy-MM-dd"
type=
"daterange"
type=
"daterange"
range-separator=
"~"
range-separator=
"~"
start-placeholder=
"开始日期"
start-placeholder=
"开始日期"
...
@@ -134,15 +135,6 @@
...
@@ -134,15 +135,6 @@
:organizationList=
"organizationList"
:organizationList=
"organizationList"
></examination-analysisfrom>
></examination-analysisfrom>
</el-tab-pane>
</el-tab-pane>
<!--
<el-tab-pane
label=
"数据总览"
name=
"zero"
>
<data-all
ref=
"childDataAll"
:formInline=
"formInline"
:activeName=
"activeName"
:organizationNum=
"organizationNum"
:organizationList=
"organizationList"
></data-all>
</el-tab-pane>
-->
<el-tab-pane
label=
"学习效果分析"
name=
"fifth"
>
<el-tab-pane
label=
"学习效果分析"
name=
"fifth"
>
<learning-effect
ref=
"childEffect"
></learning-effect>
<learning-effect
ref=
"childEffect"
></learning-effect>
</el-tab-pane>
</el-tab-pane>
...
@@ -235,7 +227,7 @@ export default {
...
@@ -235,7 +227,7 @@ export default {
organization
:
[],
organization
:
[],
checked
:
false
,
checked
:
false
,
timeFlag
:
1
,
timeFlag
:
1
,
during
:
''
,
during
:
null
,
pageNo
:
1
,
pageNo
:
1
,
pageSize
:
20
,
pageSize
:
20
,
},
},
...
@@ -472,6 +464,7 @@ export default {
...
@@ -472,6 +464,7 @@ export default {
},
},
search
()
{
search
()
{
// console.log(vm.formInline.during);
// console.log(vm.formInline.during);
this
.
$refs
.
childDataAll
.
$emit
(
"search"
);
this
.
$refs
.
childCrowd
.
$emit
(
"search"
);
this
.
$refs
.
childCrowd
.
$emit
(
"search"
);
this
.
$refs
.
childCourse
.
$emit
(
"search"
);
this
.
$refs
.
childCourse
.
$emit
(
"search"
);
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录