Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
df46dff7
提交
df46dff7
编写于
12月 09, 2019
作者:
zhentian.jia
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
男女 其他的展示问题
上级
a742c5e2
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
11 行增加
和
5 行删除
+11
-5
data-alignment.vue
src/views/learning/data-alignment.vue
+4
-2
item-crowd-analysis.vue
src/views/learning/item-crowd-analysis.vue
+7
-3
未找到文件。
src/views/learning/data-alignment.vue
浏览文件 @
df46dff7
...
...
@@ -258,14 +258,16 @@ export default {
setTimeout
(
function
(){
openLoading
(
vm
);
},
20
);
let
checkAll
=
operationData
.
hasAll
(
vm
.
formInline
.
organization
);
//
let checkAll = operationData.hasAll(vm.formInline.organization);
let
req
=
{
projectId
:
vm
.
projectId
,
hospitalIdList
:
vm
.
formInline
.
organization
,
originalFlag
:
vm
.
formInline
.
checked
==
false
?
2
:
1
,
regionId
:
vm
.
formInline
.
region
[
vm
.
formInline
.
region
.
length
-
1
],
timeFlag
:
vm
.
formInline
.
timeFlag
,
beginDate
:
operationData
.
setDuringTime
(
vm
.
formInline
.
during
,
'begin'
),
endDate
:
operationData
.
setDuringTime
(
vm
.
formInline
.
during
,
'end'
),
achievementStatus
:
vm
.
formData
.
achievementStatus
,
status
:
vm
.
formData
.
status
,
doctorName
:
vm
.
formData
.
doctorName
,
...
...
src/views/learning/item-crowd-analysis.vue
浏览文件 @
df46dff7
...
...
@@ -162,7 +162,7 @@ export default {
},
20
);
},
search
()
{
let
checkAll
=
operationData
.
hasAll
(
vm
.
formInline
.
organization
);
//
let checkAll = operationData.hasAll(vm.formInline.organization);
let
req
=
{
projectId
:
vm
.
projectId
,
beginDate
:
operationData
.
setDuringTime
(
vm
.
formInline
.
during
,
"begin"
),
...
...
@@ -250,12 +250,16 @@ export default {
// sexData[i].num = sexList[i].value;
}
sexData
[
0
].
num
=
sexList
[
1
].
value
;
sexData
[
1
].
num
=
sexList
[
2
].
value
;
//
sexData[1].num = sexList[2].value;
sexData
[
2
].
num
=
sexList
[
0
].
value
;
sexData
[
0
].
rate
=
(
sexList
[
1
].
value
/
sum
*
100
).
toFixed
(
1
);
sexData
[
1
].
rate
=
(
sexList
[
2
].
value
/
sum
*
100
).
toFixed
(
1
);
//
sexData[1].rate = (sexList[2].value / sum *100).toFixed(1);
sexData
[
2
].
rate
=
(
sexList
[
0
].
value
/
sum
*
100
).
toFixed
(
1
);
}
if
(
sexList
.
length
>=
3
)
{
sexData
[
1
].
num
=
sexList
[
2
].
value
;
sexData
[
1
].
rate
=
(
sexList
[
2
].
value
/
sum
*
100
).
toFixed
(
1
);
}
// console.log('this.$refs.ring0',this.$refs.ring0[0]);
let
myChartRing0
=
echarts
.
init
(
this
.
$refs
.
ring0
[
0
]);
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录