Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
diseaseControlManage
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
diseaseControlManage-Develop
diseaseControlManage
Commits
3b755015
Commit
3b755015
authored
Nov 13, 2020
by
lihu541
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
样式调整,数据bug修改
parent
22e15f58
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
241 additions
and
190 deletions
+241
-190
src/components/Index.vue
+47
-20
src/components/userJoin/screenTwoPag1.vue
+1
-1
src/components/userJoin/screenTwoPag2.vue
+49
-42
src/components/userJoin/screenTwoPag3.vue
+36
-44
src/components/userJoin/screenTwoPag4.vue
+40
-40
src/components/userJoin/screenTwoPag5.vue
+55
-43
src/utils/common.js
+13
-0
No files found.
src/components/Index.vue
View file @
3b755015
...
...
@@ -43,27 +43,28 @@
</div>
</div>
</div>
<div
class=
"model3"
>
<div
class=
"model3"
style=
"width:320px;"
>
<div
class=
"m3title"
>
慢病管理
</div>
<div
class=
"m3title2"
>
<i></i>
<span>
在管人数
</span>
|
<span>
同期
</span>
<span>
高血压
在管人数
</span>
|
<span>
糖尿病在管人数
</span>
</div>
<div
class=
"m3number"
>
<span
class=
"m3number-font"
>
{{
mbzgrsZXZ
}}
</span>
/
<span
class=
"m3number-font"
>
{{
mbzgrsTBZ
}}
</span>
<span
class=
"m3number-font"
>
{{
mbzgrsZXZ_g
}}
</span><strong>
万
</strong>
<span
class=
"tag-blue"
>
同
</span>
<span>
{{
mbzgrsTBL
}}
%
</span><arrow-class
:rawData=
"mbzgrsTBL"
></arrow-class>
/
<span
class=
"m3number-font"
>
{{
mbzgrsZXZ_t
}}
</span>
<strong>
万
</strong>
<span
class=
"tag-blue"
>
同
</span>
<span>
{{
mbzgrsTBL
}}
%
</span>
<arrow-class
:rawData=
"mbzgrsTBL"
></arrow-class>
<span>
{{
mbzgrsTBL
}}
%
</span><arrow-class
:rawData=
"mbzgrsTBL"
></arrow-class>
</div>
<div
class=
"m3message"
>
<div
class=
"m3messagefont"
>
年内已管理人数
<span>
{{
mbyglrs
}}
</span></div>
<div
class=
"m3messagefont"
>
规范管理人数
<span>
{{
mbgfglrs
}}
</span></div>
<div
class=
"m3messagefont"
>
年内已管理人数
·万(高血压/糖尿病)
<span>
{{
mbyglrs_g
}}
/
{{
mbyglrs_t
}}
</span></div>
<div
class=
"m3messagefont"
>
规范管理人数
·万(高血压/糖尿病)
<span>
{{
mbgfglrs_g
}}
/
{{
mbgfglrs_t
}}
</span></div>
</div>
</div>
<div
class=
"model3 model3m"
>
<div
class=
"model3 model3m"
style=
"width:260px;"
>
<div
class=
"m3title"
>
免疫规划
</div>
<div
class=
"m3title2"
>
<i></i>
...
...
@@ -83,7 +84,7 @@
<div
class=
"m3messagefont"
>
规范管理人数
<span>
102.5
</span></div>
</div>
</div>
<div
class=
"model3"
>
<div
class=
"model3"
style=
"width:260px;"
>
<div
class=
"m3title"
>
传染病监测
</div>
<div
id=
"echartsperson"
></div>
</div>
...
...
@@ -471,10 +472,16 @@
]
},
mbzgrsZXZ_g
:
0
,
mbzgrsZXZ_t
:
0
,
mbzgrsZXZ
:
0
,
mbzgrsTBZ
:
0
,
mbzgrsTBL
:
0
,
mbyglrs_g
:
0
,
mbyglrs_t
:
0
,
mbyglrs
:
0
,
mbgfglrs_g
:
0
,
mbgfglrs_t
:
0
,
mbgfglrs
:
0
,
mbglData
:{},
userinfo
:
{},
...
...
@@ -497,8 +504,8 @@
this
.
ispopu
=
!
this
.
ispopu
},
toMygh
(){
window
.
location
.
href
=
'http://195.1.3.38:9001/#/manage-platform/index?token=TK_'
+
sessionStorage
.
getItem
(
'token'
)
//
window.location.href = 'https://192.168.30.51/#/manage-platform/index?token=TK_' + sessionStorage.getItem('token')
//
window.location.href = 'http://195.1.3.38:9001/#/manage-platform/index?token=TK_' + sessionStorage.getItem('token')
window
.
location
.
href
=
'https://192.168.30.51/#/manage-platform/index?token=TK_'
+
sessionStorage
.
getItem
(
'token'
)
},
exitFn
()
{
this
.
$router
.
push
({
...
...
@@ -529,6 +536,8 @@
"group"
:
'XB'
}
commonMethod
(
param1
).
then
(
res
=>
{
_this
.
mbzgrsZXZ_g
=
0
_this
.
mbzgrsZXZ_t
=
0
_this
.
mbzgrsZXZ
=
0
_this
.
mbzgrsTBZ
=
0
_this
.
mbzgrsTBL
=
0
...
...
@@ -536,12 +545,19 @@
_this
.
mbglData
.
forEach
(
item1
=>
{
if
(
!
checkIsNull
(
item1
.
XB
)){
item1
.
zbxx
.
forEach
(
item
=>
{
if
(
item
.
ZBID
==
1045
){
_this
.
mbzgrsZXZ_g
+=
parseInt
(
item
.
ZXZ
)
}
else
if
(
item
.
ZBID
==
1046
){
_this
.
mbzgrsZXZ_t
+=
parseInt
(
item
.
ZXZ
)
}
_this
.
mbzgrsZXZ
+=
parseInt
(
item
.
ZXZ
)
_this
.
mbzgrsTBZ
+=
parseInt
(
item
.
TBZ
)
})
}
})
_this
.
mbzgrsZXZ_g
=
getActiveNum
(
_this
.
mbzgrsZXZ_g
/
10000
)
_this
.
mbzgrsZXZ_t
=
getActiveNum
(
_this
.
mbzgrsZXZ_t
/
10000
)
_this
.
mbzgrsZXZ
=
getActiveNum
(
_this
.
mbzgrsZXZ
/
10000
)
_this
.
mbzgrsTBZ
=
getActiveNum
(
_this
.
mbzgrsTBZ
/
10000
)
_this
.
mbzgrsTBL
=
getActiveNum
((
_this
.
mbzgrsZXZ
-
_this
.
mbzgrsTBZ
)
/
_this
.
mbzgrsTBZ
*
100
)
...
...
@@ -553,18 +569,29 @@
"wd"
:
JSON
.
stringify
(
wd1
)
}
commonMethod
(
param2
).
then
(
res
=>
{
_this
.
mbyglrs_g
=
0
_this
.
mbyglrs_t
=
0
_this
.
mbyglrs
=
0
_this
.
mbgfglrs_g
=
0
_this
.
mbgfglrs_t
=
0
_this
.
mbgfglrs
=
0
_this
.
mbglrsData
=
res
.
data
.
content
[
0
]
_this
.
mbglrsData
.
zbxx
.
forEach
(
item
=>
{
if
(
item
.
ZBID
===
'1048'
||
item
.
ZBID
===
'1051'
){
_this
.
mbyglrs
+=
parseInt
(
item
.
ZXZ
)
}
if
(
item
.
ZBID
===
'1054'
||
item
.
ZBID
===
'1056'
){
_this
.
mbgfglrs
+=
parseInt
(
item
.
ZXZ
)
if
(
item
.
ZBID
===
'1048'
){
_this
.
mbyglrs_g
+=
parseInt
(
item
.
ZXZ
)
}
else
if
(
item
.
ZBID
===
'1051'
){
_this
.
mbyglrs_t
+=
parseInt
(
item
.
ZXZ
)
}
else
if
(
item
.
ZBID
===
'1054'
){
_this
.
mbgfglrs_g
+=
parseInt
(
item
.
ZXZ
)
}
else
if
(
item
.
ZBID
===
'1056'
){
_this
.
mbgfglrs_t
+=
parseInt
(
item
.
ZXZ
)
}
})
_this
.
mbyglrs_g
=
getActiveNum
(
_this
.
mbyglrs_g
/
10000
)
_this
.
mbyglrs_t
=
getActiveNum
(
_this
.
mbyglrs_t
/
10000
)
_this
.
mbgfglrs_g
=
getActiveNum
(
_this
.
mbgfglrs_g
/
10000
)
_this
.
mbgfglrs_t
=
getActiveNum
(
_this
.
mbgfglrs_t
/
10000
)
}).
catch
(
err
=>
{
console
.
log
(
"--慢病管理2报错--"
);
...
...
@@ -626,7 +653,7 @@
.inputdiv
input
{
width
:
150px
;
height
:
26px
;
background
:
rgba
(
151
,
184
,
213
,
0.9
);
border-radius
:
8px
;
opacity
:
0.15
;
border
:
0
;}
.imgdiv
{
width
:
250px
;
float
:
left
;
padding-top
:
17px
;
position
:
relative
;
padding-left
:
20px
;
text-align
:
right
;
line-height
:
20px
;
color
:
rgba
(
151
,
184
,
213
,
1
);}
.imgdiv
img
{
vertical-align
:
middle
;
margin
:
0
5px
;}
.model3
{
width
:
280px
;
height
:
185px
;
background
:
rgba
(
0
,
47
,
106
,
0.1
);
box-shadow
:
0px
1px
6px
0px
rgba
(
14
,
88
,
176
,
1
);
float
:
left
;
position
:
relative
;
margin-bottom
:
30px
;}
.model3
{
height
:
185px
;
background
:
rgba
(
0
,
47
,
106
,
0.1
);
box-shadow
:
0px
1px
6px
0px
rgba
(
14
,
88
,
176
,
1
);
float
:
left
;
position
:
relative
;
margin-bottom
:
30px
;}
.model3m
{
margin
:
0
10px
;}
.m3title
{
position
:
absolute
;
left
:
10px
;
line-height
:
30px
;
font-size
:
14px
;
color
:
#fff
;}
...
...
@@ -636,7 +663,7 @@
.m3title2
i
{
width
:
3px
;
height
:
12px
;
background
:
#007AFF
;
color
:
#0097FD
;
display
:
inline-block
;}
.m3title2
span
{
padding
:
0
5px
;
color
:
#97B8D5
;}
.m3number
{
position
:
absolute
;
left
:
30
px
;
top
:
65px
;
line-height
:
65px
;
font-size
:
12px
;
color
:
#fff
;
color
:
#97B8D5
;}
.m3number
{
position
:
absolute
;
left
:
15
px
;
top
:
65px
;
line-height
:
65px
;
font-size
:
12px
;
color
:
#fff
;
color
:
#97B8D5
;}
.m3number
span
{
padding
:
0
3px
;
color
:
#97B8D5
;}
.m3number-font
{
font-size
:
28px
;
color
:
#4FD9FF
!important
;}
.tag-blue
{
background
:
#05296a
;
border-radius
:
20%
;
padding
:
0
2px
;
border
:
1px
#1158c3
solid
;
font-size
:
12px
;
color
:
#4da0c7
;}
...
...
src/components/userJoin/screenTwoPag1.vue
View file @
3b755015
...
...
@@ -1745,7 +1745,7 @@
dataSearch(cxsj) {
sessionStorage.setItem("
ywsj
", cxsj)
this.zhongliu()
this.pageDataInit()
this.reApplyCharts()
this.bottominit()
...
...
src/components/userJoin/screenTwoPag2.vue
View file @
3b755015
...
...
@@ -225,6 +225,7 @@
otherMethod
}
from
'@/api/home.js'
import
{
getValueByMaxMin
,
getActiveNum
,
checkIsNull
}
from
'@/utils/common.js'
...
...
@@ -801,6 +802,7 @@
changeReplay
()
{
this
.
mbType
=
'gxy'
this
.
rqType
=
'gfgl'
this
.
isShowBack
=
false
if
(
'city'
===
this
.
userRole
)
{
//市角色
this
.
_xzqh
=
""
this
.
_yljgdm
=
''
...
...
@@ -1362,13 +1364,13 @@
}
if
(
item2
.
ZBID
==
"1169"
)
{
// 管·自动上传血压控制率/去年
line1
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line1_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line1
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line1_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
if
(
item2
.
ZBID
==
"1166"
)
{
// 管·手工采集上传血压控制率/去年
line3
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line3_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line3
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line3_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
}
else
{
...
...
@@ -1379,18 +1381,18 @@
}
if
(
item2
.
ZBID
==
"1175"
)
{
// 管·自动上传血压控制率/去年
line1
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line1_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line1
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line1_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
if
(
item2
.
ZBID
==
"1172"
)
{
// 管·手工采集上传血压控制率/去年
line3
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line3_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line3
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line3_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
if
(
item2
.
ZBID
==
"1180"
)
{
// 高血压患者BMI异常比例
line5
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line5_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line5
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line5_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
}
}
...
...
@@ -1405,18 +1407,18 @@
}
if
(
item2
.
ZBID
==
"1145"
)
{
// 管·自动上传血压控制率/去年
line1
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line1_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line1
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line1_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
if
(
item2
.
ZBID
==
"1142"
)
{
// 管·手工采集上传血压控制率/去年
line3
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line3_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line3
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line3_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
if
(
item2
.
ZBID
==
"1182"
)
{
// 管·手工采集上传血压控制率/去年
line5
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line5_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line5
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line5_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
}
else
{
...
...
@@ -1427,18 +1429,18 @@
}
if
(
item2
.
ZBID
==
"1151"
)
{
// 管·自动上传血压控制率/去年
line1
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line1_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line1
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line1_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
if
(
item2
.
ZBID
==
"1148"
)
{
// 管·手工采集上传血压控制率/去年
line3
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line3_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line3
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line3_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
if
(
item2
.
ZBID
==
"1182"
)
{
// 管·手工采集上传血压控制率/去年
line5
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line5_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line5
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line5_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
}
}
...
...
@@ -1468,13 +1470,13 @@
}
if
(
item2
.
ZBID
==
"1169"
)
{
// 管·自动上传血压控制率/去年
line2
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line2_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line2
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line2_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
if
(
item2
.
ZBID
==
"1166"
)
{
// 管·手工采集上传血压控制率/去年
line4
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line4_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line4
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line4_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
}
else
{
if
(
item2
.
ZBID
==
"1176"
)
{
...
...
@@ -1484,18 +1486,18 @@
}
if
(
item2
.
ZBID
==
"1175"
)
{
// 管·自动上传血压控制率/去年
line2
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line2_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line2
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line2_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
if
(
item2
.
ZBID
==
"1172"
)
{
// 管·手工采集上传血压控制率/去年
line4
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line4_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line4
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line4_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
if
(
item2
.
ZBID
==
"1180"
)
{
// 管·手工采集上传血压控制率/去年
line6
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line6_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line6
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line6_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
}
}
else
if
(
this
.
mbType
===
'tnb'
){
...
...
@@ -1508,13 +1510,13 @@
}
else
if
(
item2
.
ZBID
==
"1145"
)
{
// 管·自动上传血压控制率/去年
line2
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line2_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line2
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line2_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
else
if
(
item2
.
ZBID
==
"1142"
)
{
// 管·手工采集上传血压控制率/去年
line4
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line4_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line4
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line4_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
}
else
{
if
(
item2
.
ZBID
==
"1152"
)
{
...
...
@@ -1524,18 +1526,18 @@
}
if
(
item2
.
ZBID
==
"1151"
)
{
// 管·自动上传血压控制率/去年
line2
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line2_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line2
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line2_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
if
(
item2
.
ZBID
==
"1148"
)
{
// 管·手工采集上传血压控制率/去年
line4
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line4_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line4
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line4_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
if
(
item2
.
ZBID
==
"1182"
)
{
// 管·手工采集上传血压控制率/去年
line6
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line6_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line6
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line6_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
}
}
...
...
@@ -2134,4 +2136,9 @@
padding
:
10px
;
text-align
:
left
;
}
.hb-icon
{
display
:
inline-block
;
transform
:
scale
(
0.8
);
}
</
style
>
src/components/userJoin/screenTwoPag3.vue
View file @
3b755015
...
...
@@ -50,8 +50,8 @@
<p>
签·血压零偏好占比:
{{
parseFloat
(
finalPerq
.
ZXZ
?
finalPerq
.
ZXZ
:
0
).
toFixed
(
1
)
}}
%
</p>
</div>
<div
class=
"datalist"
v-show=
"DieaNo==2"
>
<p>
管·
糖尿
零偏好占比:
{{
parseFloat
(
finalPerg
.
ZXZ
?
finalPerg
.
ZXZ
:
0
).
toFixed
(
1
)
}}
%
</p>
<p>
签·
糖尿
零偏好占比:
{{
parseFloat
(
finalPerq
.
ZXZ
?
finalPerq
.
ZXZ
:
0
).
toFixed
(
1
)
}}
%
</p>
<p>
管·
血糖
零偏好占比:
{{
parseFloat
(
finalPerg
.
ZXZ
?
finalPerg
.
ZXZ
:
0
).
toFixed
(
1
)
}}
%
</p>
<p>
签·
血糖
零偏好占比:
{{
parseFloat
(
finalPerq
.
ZXZ
?
finalPerq
.
ZXZ
:
0
).
toFixed
(
1
)
}}
%
</p>
<p>
管·糖化零偏好占比:
{{
parseFloat
(
finalPerg2
.
ZXZ
?
finalPerg2
.
ZXZ
:
0
).
toFixed
(
1
)
}}
%
</p>
<p>
签·糖化零偏好占比:
{{
parseFloat
(
finalPerq2
.
ZXZ
?
finalPerq2
.
ZXZ
:
0
).
toFixed
(
1
)
}}
%
</p>
</div>
...
...
@@ -226,6 +226,7 @@
otherMethod
}
from
'@/api/home.js'
import
{
getValueByMaxMin
,
getActiveNum
,
checkIsNull
}
from
'@/utils/common.js'
...
...
@@ -899,7 +900,7 @@
}
// 年总死亡人数随访比例
if
(
item
.
CODE
==
'FWZL_010'
)
{
_this
.
topgyeardiepredata
=
res
.
data
.
content
[
0
].
zbxx
[
index
]
_this
.
topgyeardiepredata
=
getValueByMaxMin
(
res
.
data
.
content
[
0
].
zbxx
[
index
])
}
//首诊测压血压异常者诊断为高血压的人数
// 血压零偏好
...
...
@@ -923,7 +924,7 @@
}
// 年总死亡人数随访比例
if
(
item
.
CODE
==
'FWZL_013'
)
{
_this
.
topgyeardiepredata
=
res
.
data
.
content
[
0
].
zbxx
[
index
]
_this
.
topgyeardiepredata
=
getValueByMaxMin
(
res
.
data
.
content
[
0
].
zbxx
[
index
])
}
//首诊测压血压异常者诊断为高血压的人数
// 血压零偏好
...
...
@@ -994,11 +995,11 @@
// 年总死亡人数随访比例
if
(
item
.
CODE
==
'FWZL_010'
)
{
_this
.
topqyeardiepredata
=
res
.
data
.
content
[
0
].
zbxx
[
index
]
_this
.
topqyeardiepredata
=
getValueByMaxMin
(
res
.
data
.
content
[
0
].
zbxx
[
index
])
}
// 高血压零偏好占比 签
if
(
item
.
CODE
==
'FWZL_018'
)
{
_this
.
finalPerq
=
res
.
data
.
content
[
0
].
zbxx
[
index
]
_this
.
finalPerq
=
getValueByMaxMin
(
res
.
data
.
content
[
0
].
zbxx
[
index
])
}
})
...
...
@@ -1015,7 +1016,7 @@
}
// 年总死亡人数随访比例
if
(
item
.
CODE
==
'FWZL_013'
)
{
_this
.
topqyeardiepredata
=
res
.
data
.
content
[
0
].
zbxx
[
index
]
_this
.
topqyeardiepredata
=
getValueByMaxMin
(
res
.
data
.
content
[
0
].
zbxx
[
index
])
}
if
(
item
.
CODE
==
'FWZL_021'
)
{
_this
.
finalPerq
=
res
.
data
.
content
[
0
].
zbxx
[
index
]
...
...
@@ -1137,16 +1138,7 @@
_this
.
data108
=
[]
if
(
_this
.
bingNo
==
1
)
{
tempList
.
forEach
((
item
,
index
)
=>
{
let
obj
=
{
name
:
''
,
code
:
''
,
tag1
:
'0'
,
tag2
:
'0'
,
tag3
:
'0'
,
tag4
:
'0'
,
tag5
:
'0'
,
tag6
:
'0'
}
let
obj
=
{}
if
(
item
.
YWSJ
)
{
obj
.
name
=
item
.
YWSJ
.
substring
(
5
,
7
)
+
'月'
}
else
{
...
...
@@ -1192,10 +1184,10 @@
if
(
item2
.
ZBID
==
sfbl_zbid
)
{
var
g_sfb
=
_this
.
Gbotdata
.
content
[
index
].
zbxx
[
index2
].
ZXZ
?
parseFloat
(
_this
.
Gbotdata
.
content
[
index
].
zbxx
[
index2
].
ZXZ
).
toFixed
(
1
)
:
0
var
g_sfb_qn
=
_this
.
Gbotdata
.
content
[
index
].
zbxx
[
index2
].
TZB
?
parseFloat
(
_this
.
Gbotdata
.
content
[
index
].
zbxx
[
index2
].
TZB
).
toFixed
(
1
)
:
0
_this
.
data105
.
push
(
g
_sfb
)
_this
.
data106
.
push
(
g
_sfb_qn
)
_this
.
data107
.
push
(
item2
.
ZXZ
)
_this
.
data108
.
push
(
item2
.
TBZ
)
_this
.
data105
.
push
(
g
etValueByMaxMin
(
g_sfb
)
)
_this
.
data106
.
push
(
g
etValueByMaxMin
(
g_sfb_qn
)
)
_this
.
data107
.
push
(
getValueByMaxMin
(
item2
.
ZXZ
)
)
_this
.
data108
.
push
(
getValueByMaxMin
(
item2
.
TBZ
)
)
obj
.
tag5
=
_this
.
Gbotdata
.
content
[
index
].
zbxx
[
index2
].
ZXZ
?
parseFloat
(
_this
.
Gbotdata
.
content
[
index
].
zbxx
[
index2
].
ZXZ
).
toFixed
(
1
)
:
0
obj
.
tag6
=
item2
.
ZXZ
?
parseFloat
(
item2
.
ZXZ
).
toFixed
(
1
)
:
0
}
...
...
@@ -1508,35 +1500,35 @@
//管签未标记率
if
(
item2
.
ZBID
==
'1127'
)
{
_this
.
data201
.
push
(
item2
.
ZXZ
)
_this
.
data203
.
push
(
item2
.
TBZ
)
_this
.
data201
.
push
(
getValueByMaxMin
(
item2
.
ZXZ
)
)
_this
.
data203
.
push
(
getValueByMaxMin
(
item2
.
TBZ
)
)
//管未标记率
var
g_wbjl
=
_this
.
Gbotdata
.
content
[
index
].
zbxx
[
index2
].
ZXZ
?
parseFloat
(
_this
.
Gbotdata
.
content
[
index
].
zbxx
[
index2
].
ZXZ
).
toFixed
(
1
)
:
0
var
q_wbjl
=
item2
.
ZXZ
?
parseFloat
(
item2
.
ZXZ
).
toFixed
(
1
)
:
0
;
var
g_wbjl_qn
=
_this
.
Gbotdata
.
content
[
index
].
zbxx
[
index2
].
TBZ
?
parseFloat
(
_this
.
Gbotdata
.
content
[
index
].
zbxx
[
index2
].
TBZ
).
toFixed
(
1
)
:
0
var
q_wbjl_qn
=
item2
.
TBZ
?
parseFloat
(
item2
.
TBZ
).
toFixed
(
1
)
:
0
;
obj
.
tag1
=
g
_wbjl
;
obj
.
tag2
=
q_wbjl
_this
.
data205
.
push
(
g
_wbjl
)
_this
.
data206
.
push
(
q_wbjl
)
_this
.
data207
.
push
(
g
_wbjl_qn
)
_this
.
data208
.
push
(
q_wbjl_qn
)
obj
.
tag1
=
g
etValueByMaxMin
(
g_wbjl
)
obj
.
tag2
=
getValueByMaxMin
(
q_wbjl
)
_this
.
data205
.
push
(
g
etValueByMaxMin
(
g_wbjl
)
)
_this
.
data206
.
push
(
getValueByMaxMin
(
q_wbjl
)
)
_this
.
data207
.
push
(
g
etValueByMaxMin
(
g_wbjl_qn
)
)
_this
.
data208
.
push
(
getValueByMaxMin
(
q_wbjl_qn
)
)
}
//管签批量异常随访比
if
(
item2
.
ZBID
==
'1136'
)
{
_this
.
data205
.
push
(
item2
.
ZXZ
)
_this
.
data206
.
push
(
item2
.
TBZ
)
_this
.
data205
.
push
(
getValueByMaxMin
(
item2
.
ZXZ
)
)
_this
.
data206
.
push
(
getValueByMaxMin
(
item2
.
TBZ
)
)
var
g_ycsfb
=
_this
.
Gbotdata
.
content
[
index
].
zbxx
[
index2
].
ZXZ
?
parseFloat
(
_this
.
Gbotdata
.
content
[
index
].
zbxx
[
index2
].
ZXZ
).
toFixed
(
1
)
:
0
var
q_ycsfb
=
item2
.
ZXZ
?
parseFloat
(
item2
.
ZXZ
).
toFixed
(
1
)
:
0
;
var
g_ycsfb_qn
=
_this
.
Gbotdata
.
content
[
index
].
zbxx
[
index2
].
TBZ
?
parseFloat
(
_this
.
Gbotdata
.
content
[
index
].
zbxx
[
index2
].
TBZ
).
toFixed
(
1
)
:
0
var
q_ycsfb_qn
=
item2
.
TBZ
?
parseFloat
(
item2
.
TBZ
).
toFixed
(
1
)
:
0
;
obj
.
tag3
=
g
_ycsfb
obj
.
tag4
=
q_ycsfb
_this
.
data209
.
push
(
g
_ycsfb
)
_this
.
data210
.
push
(
q_ycsfb
)
_this
.
data211
.
push
(
g
_ycsfb_qn
)
_this
.
data212
.
push
(
q_ycsfb_qn
)
obj
.
tag3
=
g
etValueByMaxMin
(
g_ycsfb
)
obj
.
tag4
=
getValueByMaxMin
(
q_ycsfb
)
_this
.
data209
.
push
(
g
etValueByMaxMin
(
g_ycsfb
)
)
_this
.
data210
.
push
(
getValueByMaxMin
(
q_ycsfb
)
)
_this
.
data211
.
push
(
g
etValueByMaxMin
(
g_ycsfb_qn
)
)
_this
.
data212
.
push
(
getValueByMaxMin
(
q_ycsfb_qn
)
)
}
//不一致率
...
...
@@ -1547,12 +1539,12 @@
var
g_byzl_qn
=
_this
.
Gbotdata
.
content
[
index
].
zbxx
[
index2
].
TBZ
?
parseFloat
(
_this
.
Gbotdata
.
content
[
index
].
zbxx
[
index2
].
TBZ
).
toFixed
(
1
)
:
0
var
q_byzl_qn
=
item2
.
TBZ
?
parseFloat
(
item2
.
TBZ
).
toFixed
(
1
)
:
0
;
obj
.
tag5
=
g
_byzl
obj
.
tag6
=
q_byzl
_this
.
data213
.
push
(
g
_byzl
)
_this
.
data214
.
push
(
q_byzl
)
_this
.
data215
.
push
(
g
_byzl_qn
)
_this
.
data216
.
push
(
q_byzl_qn
)
obj
.
tag5
=
g
etValueByMaxMin
(
g_byzl
)
obj
.
tag6
=
getValueByMaxMin
(
q_byzl
)
_this
.
data213
.
push
(
g
etValueByMaxMin
(
g_byzl
)
)
_this
.
data214
.
push
(
getValueByMaxMin
(
q_byzl
)
)
_this
.
data215
.
push
(
g
etValueByMaxMin
(
g_byzl_qn
)
)
_this
.
data216
.
push
(
getValueByMaxMin
(
q_byzl_qn
)
)
}
...
...
@@ -2056,8 +2048,8 @@
tempList
.
forEach
((
item
,
index
)
=>
{
let
obj
=
{
name
:
''
,
tag1
:
'0'
,
code
:
''
,
tag1
:
'0'
,
tag2
:
'0'
,
tag3
:
'0'
,
tag4
:
'0'
,
...
...
src/components/userJoin/screenTwoPag4.vue
View file @
3b755015
...
...
@@ -16,7 +16,7 @@
</div>
<div
class=
"card-dark card-01"
>
<div
class=
"card1-mod"
v-show=
"
DieaNo==1
"
>
<div
class=
"card1-mod"
v-show=
"
cyOrJc=== 'szcy'
"
>
<h2>
管·首诊测压人数(实/同)
</h2>
<div
class=
"cmtitle"
>
<span>
{{
formatnum
(
topgdata
.
ZXZ
)
}}
</span>
...
...
@@ -30,7 +30,7 @@
<p>
本周新增
{{
topgdata
.
ZZZ
?
topgdata
.
ZZZ
:
0
}}
人
</p>
</div>
</div>
<div
class=
"card1-mod"
v-show=
"
DieaNo==1
"
>
<div
class=
"card1-mod"
v-show=
"
cyOrJc=== 'szcy'
"
>
<h2>
签·首诊测压人数(实/同)
</h2>
<div
class=
"cmtitle"
>
<span>
{{
formatnum
(
topqdata
.
ZXZ
)
}}
</span>
...
...
@@ -44,7 +44,7 @@
<p>
本周新增
{{
topqdata
.
ZZZ
?
topqdata
.
ZZZ
:
0
}}
人
</p>
</div>
</div>
<div
class=
"card1-mod-2"
v-show=
"
DieaNo==2
"
>
<div
class=
"card1-mod-2"
v-show=
"
cyOrJc=== 'yhjc'
"
>
<h2>
管·易患人群血压规范监测人数(实/同)
</h2>
<div
class=
"cmtitle"
>
<span>
{{
topgyfdata
.
ZXZ
?
topgyfdata
.
ZXZ
:
0
}}
</span>
...
...
@@ -55,7 +55,7 @@
<arrow-class
:rawData=
"topgyfdata.TBL"
></arrow-class>
</div>
</div>
<div
class=
"card1-mod-2"
v-show=
"
DieaNo==2
"
>
<div
class=
"card1-mod-2"
v-show=
"
cyOrJc=== 'yhjc'
"
>
<h2>
签·易患人群血压规范监测人数(实/同)
</h2>
<div
class=
"cmtitle"
>
<span>
{{
topqyfdata
.
ZXZ
}}
</span>
...
...
@@ -70,22 +70,22 @@
<div
class=
"card-dark card-02"
>
<div
class=
"card2-mod card2-modtr"
>
<div
class=
"modtitle2"
>
<span
@
click=
"DieaChange(
1)"
:class=
"DieaNo==1
?'myclk':''"
>
首诊测压
</span>
|
<span
@
click=
"DieaChange(
2)"
:class=
"DieaNo==2
?'myclk':''"
>
易患监测
</span>
<span
@
click=
"DieaChange(
'szcy')"
:class=
"cyOrJc==='szcy'
?'myclk':''"
>
首诊测压
</span>
|
<span
@
click=
"DieaChange(
'yhjc')"
:class=
"cyOrJc==='yhjc'
?'myclk':''"
>
易患监测
</span>
</div>
<div
id=
"charts1"
></div>
<div
class=
"datalist"
v-show=
"
DieaNo==1
"
>
<div
class=
"datalist"
v-show=
"
cyOrJc==='szcy'
"
>
<p>
管·血压异常率:
{{
parseFloat
(
topgycldata
.
ZXZ
?
topgycldata
.
ZXZ
:
0
).
toFixed
(
1
)
}}
%
</p>
<p>
管·血压异常者诊断率:
{{
parseFloat
(
topgzdldata
.
ZXZ
?
topgzdldata
.
ZXZ
:
0
).
toFixed
(
1
)
}}
%
</p>
<p>
签·血压异常率:
{{
parseFloat
(
topqycldata
.
ZXZ
?
topqycldata
.
ZXZ
:
0
).
toFixed
(
1
)
}}
%
</p>
<p>
签·血压异常者诊断率:
{{
parseFloat
(
topqzdldata
.
ZXZ
?
topqzdldata
.
ZXZ
:
0
).
toFixed
(
1
)
}}
%
</p>
</div>
<div
class=
"datalist"
v-show=
"
DieaNo==2
"
>
<div
class=
"datalist"
v-show=
"
cyOrJc==='yhjc'
"
>
<p>
管·规范监测率:
{{
parseFloat
(
topggfdata
.
ZXZ
?
topggfdata
.
ZXZ
:
0
).
toFixed
(
1
)
}}
%
</p>
<p>
签·规范监测率:
{{
parseFloat
(
topqgfdata
.
ZXZ
?
topqgfdata
.
ZXZ
:
0
).
toFixed
(
1
)
}}
%
</p>
</div>
</div>
<div
class=
"card2-mod card2-modts"
v-show=
"
DieaNo==1
"
>
<div
class=
"card2-mod card2-modts"
v-show=
"
cyOrJc==='szcy'
"
>
<table
class=
"table02"
width=
"100%"
border=
"0"
>
<tr>
<td
width=
"60%"
>
累计条数/本周新增
</td>
...
...
@@ -123,7 +123,7 @@
</tr>
</table>
</div>
<div
class=
"card2-mod card2-modts"
v-show=
"
DieaNo==2
"
>
<div
class=
"card2-mod card2-modts"
v-show=
"
cyOrJc==='yhjc'
"
>
<table
class=
"table02"
width=
"100%"
border=
"0"
>
<tr>
<td
width=
"60%"
>
累计条数/本周新增
</td>
...
...
@@ -155,15 +155,15 @@
</ul>
</div>
<div
class=
"card-dark card-04"
>
<div
class=
"card3title1"
v-show=
"
bingNo==1
"
>
<div
class=
"card3title1"
v-show=
"
ycOrZd=== 'yc'
"
>
<span
@
click=
"groupChange(1)"
:class=
"groupNo==1?'myclk':''"
>
{{
aename
}}
</span>
<span
v-if=
"showtime"
style=
"color: #7C8594;padding: 0;"
>
|
</span>
<span
@
click=
"groupChange(2)"
:class=
"groupNo==2?'myclk':''"
v-if=
"showtime"
style=
"padding: 0;"
>
时间
</span>
</div>
<div
class=
"card3title1"
v-show=
"
bingNo==2
"
>
各区
</div>
<div
class=
"card3title1"
v-show=
"
ycOrZd=== 'zd'
"
>
各区
</div>
<div
class=
"card3title2"
v-if=
"showTab"
>
<span
@
click=
"bingChange(
1)"
:class=
"bingNo==1
?'myclk':''"
>
异常
</span>
|
<span
@
click=
"bingChange(
2)"
:class=
"bingNo==2
?'myclk':''"
>
诊断
</span>
<span
@
click=
"bingChange(
'yc')"
:class=
"ycOrZd==='yc'
?'myclk':''"
>
异常
</span>
|
<span
@
click=
"bingChange(
'zd')"
:class=
"ycOrZd==='zd'
?'myclk':''"
>
诊断
</span>
</div>
<div
class=
"card3main"
>
<div
id=
"middlebarbox4"
>
...
...
@@ -183,28 +183,28 @@
<th
@
click
.
stop=
"showtab(2)"
>
签·
{{
rightlist1
}}
</th>
</tr>
</thead>
<div
class=
"uplib"
v-if=
"showtabnum == 1 &&
DieaNo == 1 && this.bingNo == 1
"
>
指标名称:
<br>
{{
rightlist1
.
substring
(
0
,
4
)
}}
异常
率/管
<br>
<div
class=
"uplib"
v-if=
"showtabnum == 1 &&
cyOrJc === 'szcy' && this.ycOrZd === 'yc'
"
>
指标名称:
<br>
{{
rightlist1
.
substring
(
0
,
4
)
}}
率/管
<br>
计算公式:
<br>
进行
{{
rightlist1
.
substring
(
0
,
4
)
}}
的血压异常人数/
{{
rightlist1
.
substring
(
0
,
4
)
}}
人数×100%
</div>
<div
class=
"uplib"
v-if=
"showtabnum == 2 &&
DieaNo == 1 && this.bingNo == 1
"
>
指标名称:
<br>
{{
rightlist1
.
substring
(
0
,
4
)
}}
异常
率/签
<br>
<div
class=
"uplib"
v-if=
"showtabnum == 2 &&
cyOrJc === 'szcy' && this.ycOrZd === 'yc'
"
>
指标名称:
<br>
{{
rightlist1
.
substring
(
0
,
4
)
}}
率/签
<br>
计算公式:
<br>
进行
{{
rightlist1
.
substring
(
0
,
4
)
}}
的血压异常人数/
{{
rightlist1
.
substring
(
0
,
4
)
}}
人数×100%
</div>
<div
class=
"uplib"
v-if=
"showtabnum == 1 &&
DieaNo == 1 && this.bingNo == 2
"
>
<div
class=
"uplib"
v-if=
"showtabnum == 1 &&
cyOrJc === 'szcy' && this.ycOrZd === 'zd'
"
>
指标名称:
<br>
{{
rightlist1
.
substring
(
0
,
4
)
}}
异常者诊断率/管
<br>
计算公式:
<br>
首诊测压血压异常者诊断为高血压的人数/进行首诊测压的血压异常人数×100%
</div>
<div
class=
"uplib"
v-if=
"showtabnum == 2 &&
DieaNo == 1 && this.bingNo == 2
"
>
<div
class=
"uplib"
v-if=
"showtabnum == 2 &&
cyOrJc === 'szcy' && this.ycOrZd === 'zd'
"
>
指标名称:
<br>
{{
rightlist1
.
substring
(
0
,
4
)
}}
异常者诊断率/管
<br>
计算公式:
<br>
首诊测压血压异常者诊断为高血压的人数/进行首诊测压的血压异常人数×100%
</div>
<div
class=
"uplib"
v-if=
"showtabnum == 1 &&
DieaNo == 2
"
>
指标名称:
<br>
{{
rightlist1
.
substring
(
0
,
4
)
}}
异常
率/管
<br>
<div
class=
"uplib"
v-if=
"showtabnum == 1 &&
cyOrJc === 'yhjc'
"
>
指标名称:
<br>
{{
rightlist1
.
substring
(
0
,
4
)
}}
率/管
<br>
计算公式:
<br>
每年有两次血压监测记录的高血压易患人数/检测出的高血压易患人群总人数×100%
</div>
<div
class=
"uplib"
v-if=
"showtabnum == 2 &&
DieaNo == 2
"
>
指标名称:
<br>
{{
rightlist1
.
substring
(
0
,
4
)
}}
异常
率/签
<br>
<div
class=
"uplib"
v-if=
"showtabnum == 2 &&
cyOrJc === 'yhjc'
"
>
指标名称:
<br>
{{
rightlist1
.
substring
(
0
,
4
)
}}
率/签
<br>
计算公式:
<br>
每年有两次血压监测记录的高血压易患人数/检测出的高血压易患人群总人数×100%
</div>
<tbody
class=
"scrollTbody"
>
...
...
@@ -240,7 +240,7 @@
tablename
:
'各区'
,
thname
:
'各区'
,
groupNo
:
1
,
bingNo
:
1
,
ycOrZd
:
'yc'
,
areaname
:
''
,
areaname2
:
''
,
showtime
:
true
,
...
...
@@ -254,7 +254,7 @@
qxyyzdl
:
0
,
ggfl
:
0
,
qgfl
:
0
,
DieaNo
:
1
,
cyOrJc
:
'szcy'
,
objParam
:
{},
themeID
:
'6'
,
themeID2
:
'6'
,
...
...
@@ -652,7 +652,7 @@
CityGetBack
()
{
this
.
showtime
=
true
this
.
showTab
=
true
this
.
bingNo
=
1
this
.
ycOrZd
=
'yc'
if
(
this
.
pageLevel
===
'qj'
)
{
this
.
isShowBack
=
false
...
...
@@ -682,7 +682,7 @@
groupChange
(
num
)
{
this
.
groupNo
=
num
if
(
num
==
1
)
{
if
(
this
.
DieaNo
==
1
)
{
if
(
this
.
cyOrJc
===
'szcy'
)
{
this
.
showTab
=
true
if
(
this
.
pageLevel
===
'sj'
)
{
this
.
tablename
=
'各区'
...
...
@@ -704,8 +704,8 @@
}
},
bingChange
(
num
)
{
this
.
bingNo
=
num
if
(
num
==
1
)
{
this
.
ycOrZd
=
num
if
(
num
==
=
'yc'
)
{
this
.
showtime
=
true
}
else
{
this
.
showtime
=
false
...
...
@@ -760,9 +760,9 @@
// cansertopShow
DieaChange
(
num
)
{
let
_this
=
this
this
.
DieaNo
=
num
?
num
:
1
this
.
cyOrJc
=
num
?
num
:
'szcy'
if
(
this
.
DieaNo
==
1
)
{
if
(
this
.
cyOrJc
===
'szcy'
)
{
this
.
rightlist1
=
'首诊异常率/偏'
_this
.
option
.
series
[
0
].
data
[
0
].
value
=
parseInt
(
_this
.
topgycldata
.
ZXZ
)
_this
.
option
.
series
[
0
].
data
[
1
].
value
=
100
-
parseInt
(
_this
.
topgycldata
.
ZXZ
)
...
...
@@ -775,7 +775,7 @@
this
.
showTab
=
true
}
else
{
this
.
rightlist1
=
'规范检测率/同'
_this
.
bingNo
=
1
_this
.
ycOrZd
=
'yc'
_this
.
showtime
=
true
_this
.
option
.
series
[
0
].
data
[
0
].
value
=
parseInt
(
_this
.
topggfdata
.
ZXZ
)
_this
.
option
.
series
[
0
].
data
[
1
].
value
=
100
-
parseInt
(
_this
.
topggfdata
.
ZXZ
)
...
...
@@ -817,7 +817,7 @@
this
.
isShowBack
=
true
this
.
showtime
=
false
this
.
showTab
=
false
this
.
bingNo
=
1
this
.
ycOrZd
=
'yc'
this
.
aename
=
'时间'
this
.
tablename
=
'时间'
this
.
thname
=
'月份'
...
...
@@ -1129,8 +1129,8 @@
_this
.
data_x
.
push
(
obj
.
name
)
item
.
zbxx
.
forEach
((
item2
,
index2
)
=>
{
if
(
_this
.
DieaNo
==
1
)
{
if
(
_this
.
bingNo
==
1
)
{
if
(
_this
.
cyOrJc
===
'szcy'
)
{
if
(
_this
.
ycOrZd
===
'yc'
)
{
/*柱状图*/
if
(
item2
.
ZBID
==
'1016'
)
{
this
.
dataY01
.
push
((
parseFloat
(
this
.
tableg
[
index
].
zbxx
[
index2
].
ZXZ
?
this
.
tableg
[
index
].
zbxx
[
index2
].
ZXZ
:
0
)
/
10000
).
toFixed
(
1
))
...
...
@@ -1183,7 +1183,7 @@
obj
.
tag4
=
this
.
tableg
[
index
].
zbxx
[
index2
].
PZL
?
getActiveNum
(
this
.
tableg
[
index
].
zbxx
[
index2
].
PZL
)
:
0
;
}
}
}
else
if
(
_this
.
DieaNo
==
2
)
{
}
else
if
(
_this
.
cyOrJc
===
'yhjc'
)
{
if
(
this
.
tableg
[
index
].
zbxx
[
index2
].
ZXZ
<
10000
){
this
.
option2
.
yAxis
[
0
].
name
=
'数量'
}
...
...
@@ -2017,13 +2017,13 @@
_this
.
option2
.
xAxis
[
0
].
data
=
_this
.
data_x
if
(
_this
.
DieaNo
==
1
)
{
if
(
_this
.
bingNo
==
1
)
{
if
(
_this
.
cyOrJc
===
'szcy'
)
{
if
(
_this
.
ycOrZd
===
'yc'
)
{
_this
.
option2
.
series
=
series01
}
else
{
_this
.
option2
.
series
=
series03
}
}
else
if
(
_this
.
DieaNo
==
2
)
{
}
else
if
(
_this
.
cyOrJc
===
'yhjc'
)
{
//_this.groupNo==1 各区,2时间
_this
.
option2
.
series
=
series02
}
...
...
src/components/userJoin/screenTwoPag5.vue
View file @
3b755015
...
...
@@ -278,11 +278,11 @@
let
str
=
"<table class='pl10'>"
+
"<tr><td></td><td>信息化开展机构数.个</td><td>非信息化开展机构数.个</td></tr>"
+
"<tr><td><span style=' height: 10px; width: 14px; display: inline-table; background-color: #49A6F6; margin-right:4px'></span>"
+
"三级</td><td align=center>"
+
param
.
data
.
num
1
+
"</td><td align=center>"
+
param
.
data
.
num2
+
"</td></tr>"
+
"三级</td><td align=center>"
+
param
.
data
.
num
5
+
"</td><td align=center>"
+
param
.
data
.
num6
+
"</td></tr>"
+
"<tr><td><span style=' height: 10px; width: 14px; display: inline-table; background-color: #00C6A7; margin-right:4px'></span>"
+
"二级</td><td align=center>"
+
param
.
data
.
num3
+
"</td><td align=center>"
+
param
.
data
.
num4
+
"</td></tr>"
+
"<tr><td><span style=' height: 10px; width: 14px; display: inline-table; background-color: #FEF7AA; margin-right:4px'></span>"
+
"一级</td><td align=center>"
+
param
.
data
.
num
5
+
"</td><td align=center>"
+
param
.
data
.
num6
+
"</td></tr>"
+
"一级</td><td align=center>"
+
param
.
data
.
num
1
+
"</td><td align=center>"
+
param
.
data
.
num2
+
"</td></tr>"
+
"</table>"
return
str
}
...
...
@@ -397,11 +397,11 @@
let
str
=
"<table class='pl10'>"
+
"<tr><td></td><td>信息化登记报告数.个</td><td>非信息化登记报告数.个</td></tr>"
+
"<tr><td><span style=' height: 10px; width: 14px; display: inline-table; background-color: #49A6F6; margin-right:4px'></span>"
+
"三级</td><td align=center>"
+
param
.
data
.
num
1
+
"</td><td align=center>"
+
param
.
data
.
num2
+
"</td></tr>"
+
"三级</td><td align=center>"
+
param
.
data
.
num
5
+
"</td><td align=center>"
+
param
.
data
.
num6
+
"</td></tr>"
+
"<tr><td><span style=' height: 10px; width: 14px; display: inline-table; background-color: #00C6A7; margin-right:4px'></span>"
+
"二级</td><td align=center>"
+
param
.
data
.
num3
+
"</td><td align=center>"
+
param
.
data
.
num4
+
"</td></tr>"
+
"<tr><td><span style=' height: 10px; width: 14px; display: inline-table; background-color: #FEF7AA; margin-right:4px'></span>"
+
"一级</td><td align=center>"
+
param
.
data
.
num
5
+
"</td><td align=center>"
+
param
.
data
.
num6
+
"</td></tr>"
+
"一级</td><td align=center>"
+
param
.
data
.
num
1
+
"</td><td align=center>"
+
param
.
data
.
num2
+
"</td></tr>"
+
"</table>"
return
str
}
...
...
@@ -550,24 +550,25 @@
axisPointer
:
{
type
:
'none'
},
position
:
[
'20%'
,
'20%'
],
formatter
:
function
(
params
)
{
if
(
params
.
length
==
6
)
{
if
(
params
.
length
>
5
)
{
var
res
=
'<ul class="f12 pl10 pr15">'
;
res
+=
'<li class="f13"> '
+
params
[
0
].
axisValue
+
'区</li>'
;
res
+=
'<li>非信息化登记数/去年:'
+
params
[
0
].
data
+
'/'
+
params
[
1
].
data
+
'万</li>'
;
res
+=
'<li>明确病理占比:'
+
params
[
2
].
data
+
'%</li>'
;
res
+=
'<li>明确期别占比:'
+
params
[
3
].
data
+
'%</li>'
;
res
+=
'<li>肿瘤登记漏报率:'
+
params
[
4
].
data
+
'%</li>'
;
res
+=
'<li>肿瘤报告信息错误比例:'
+
params
[
5
].
data
+
'%</li>'
;
res
+=
'<li class="f13"> '
+
params
[
0
].
axisValue
+
'</li>'
;
res
+=
'<li>信息化登记数/去年:'
+
params
[
0
].
data
+
'/'
+
params
[
1
].
data
+
'万</li>'
;
res
+=
'<li>非信息化登记数/去年:'
+
params
[
2
].
data
+
'/'
+
params
[
3
].
data
+
'万</li>'
;
res
+=
'<li>明确病理占比:'
+
params
[
4
].
data
+
'%</li>'
;
res
+=
'<li>明确期别占比:'
+
params
[
5
].
data
+
'%</li>'
;
res
+=
'<li>肿瘤登记漏报率:'
+
params
[
6
].
data
+
'%</li>'
;
res
+=
'<li>肿瘤报告信息错误比例:'
+
params
[
7
].
data
+
'%</li>'
;
res
+=
'</ul>'
;
}
else
{
var
res
=
'<ul class="f12 pl10 pr15">'
;
res
+=
'<li class="f13"> '
+
params
[
0
].
axisValue
+
'区</li>'
;
res
+=
'<li>非信息化登记数/去年:'
+
params
[
1
].
data
+
'万</li>'
;
res
+=
'<li>急性事件漏报率:'
+
params
[
2
].
data
+
'%</li>'
;
res
+=
'<li class="f13"> '
+
params
[
0
].
axisValue
+
'</li>'
;
res
+=
'<li>信息化登记数/去年:'
+
params
[
0
].
data
+
'/'
+
params
[
1
].
data
+
'万</li>'
;
res
+=
'<li>非信息化登记数/去年:'
+
params
[
2
].
data
+
'/'
+
params
[
3
].
data
+
'万</li>'
;
res
+=
'<li>急性事件漏报率:'
+
params
[
4
].
data
+
'%</li>'
;
res
+=
'</ul>'
;
}
return
res
...
...
@@ -916,7 +917,7 @@
if
(
item2
.
ZBID
==
"1012"
)
{
_this
.
orgone
=
item2
.
ZXZ
}
if
(
item2
.
ZBID
==
"1
010
"
)
{
if
(
item2
.
ZBID
==
"1
211
"
)
{
_this
.
norgone
=
item2
.
ZXZ
}
})
...
...
@@ -931,7 +932,7 @@
if
(
item2
.
ZBID
==
"1012"
)
{
_this
.
orgtwo
=
item2
.
ZXZ
}
if
(
item2
.
ZBID
==
"1
010
"
)
{
if
(
item2
.
ZBID
==
"1
211
"
)
{
_this
.
norgtwo
=
item2
.
ZXZ
}
})
...
...
@@ -946,7 +947,7 @@
if
(
item2
.
ZBID
==
"1012"
)
{
_this
.
orgthr
=
item2
.
ZXZ
}
if
(
item2
.
ZBID
==
"1
010
"
)
{
if
(
item2
.
ZBID
==
"1
211
"
)
{
_this
.
norgthr
=
item2
.
ZXZ
}
})
...
...
@@ -998,7 +999,7 @@
color
:
'#49A6F6'
,
},
}},
tooltip
)
_this
.
option3
.
series
[
0
].
data
[
3
]
=
{
value
:
_this
.
msgopendata
.
ZXZ
*
0.5
,
itemStyle
:
{
_this
.
option3
.
series
[
0
].
data
[
3
]
=
Object
.
assign
(
{
value
:
_this
.
msgopendata
.
ZXZ
*
0.5
,
itemStyle
:
{
normal
:
{
color
:
'rgba(0,0,0,0)'
,
label
:
{
...
...
@@ -1011,7 +1012,7 @@
emphasis
:
{
color
:
'rgba(0,0,0,0)'
}
}}
}}
,
tooltip
)
_this
.
option3
.
series
[
1
].
data
[
0
]
=
Object
.
assign
({
value
:
_this
.
nmsgone
?
_this
.
nmsgone
:
0
,
name
:
'一级'
,
itemStyle
:
{
...
...
@@ -1033,7 +1034,7 @@
color
:
'#49A6F6'
,
},
}},
tooltip
)
_this
.
option3
.
series
[
1
].
data
[
3
]
=
{
value
:
_this
.
msgclosedata
.
ZXZ
*
0.5
,
itemStyle
:
{
_this
.
option3
.
series
[
1
].
data
[
3
]
=
Object
.
assign
(
{
value
:
_this
.
msgclosedata
.
ZXZ
*
0.5
,
itemStyle
:
{
normal
:
{
color
:
'rgba(0,0,0,0)'
,
label
:
{
...
...
@@ -1046,12 +1047,12 @@
emphasis
:
{
color
:
'rgba(0,0,0,0)'
}
}}
}}
,
tooltip
)
_this
.
$echarts
.
init
(
document
.
getElementById
(
"pag5-left2"
)).
setOption
(
_this
.
option3
,
true
)
let
tooltip1
=
{}
tooltip1
.
num1
=
_this
.
orgone
tooltip1
.
num2
=
_this
.
norg
two
tooltip1
.
num2
=
_this
.
norg
one
tooltip1
.
num3
=
_this
.
orgtwo
tooltip1
.
num4
=
_this
.
norgtwo
tooltip1
.
num5
=
_this
.
orgthr
...
...
@@ -1224,23 +1225,23 @@
}
else
if
(
item2
.
ZBID
==
'1000'
){
//肿瘤登记报告业务开展情况
nkzjg
.
push
(
item2
.
ZXZ
)
}
else
if
(
item2
.
ZBID
==
'1003'
){
//肿瘤通过信息系统登记报告事件数
bar1
.
push
(
item2
.
ZXZ
/
10000
)
bar1_qn
.
push
(
item2
.
TBZ
/
10000
)
bar1
.
push
(
getActiveNum
(
item2
.
ZXZ
/
10000
)
)
bar1_qn
.
push
(
getActiveNum
(
item2
.
TBZ
/
10000
)
)
}
else
if
(
item2
.
ZBID
==
'1001'
){
//肿瘤登记报告事件数
bar2
.
push
(
item2
.
ZXZ
/
10000
)
bar2_qn
.
push
(
item2
.
TBZ
/
10000
)
bar2
.
push
(
getActiveNum
(
item2
.
ZXZ
/
10000
)
)
bar2_qn
.
push
(
getActiveNum
(
item2
.
TBZ
/
10000
)
)
}
else
if
(
item2
.
ZBID
==
'1004'
){
//肿瘤登记病例有明确病理的比例
line1
.
push
(
item2
.
ZXZ
)
line1_tbl
.
push
(
item2
.
TBL
)
line1
.
push
(
getActiveNum
(
item2
.
ZXZ
)
)
line1_tbl
.
push
(
getActiveNum
(
item2
.
TBL
)
)
}
else
if
(
item2
.
ZBID
==
'1007'
){
//肿瘤登记病例有明确期别的比例
line2
.
push
(
item2
.
ZXZ
)
line2_tbl
.
push
(
item2
.
TBL
)
line2
.
push
(
getActiveNum
(
item2
.
ZXZ
)
)
line2_tbl
.
push
(
getActiveNum
(
item2
.
TBL
)
)
}
else
if
(
item2
.
ZBID
==
'1101'
){
//肿瘤登记漏报率
line3
.
push
(
item2
.
ZXZ
)
line3_tbl
.
push
(
item2
.
TBL
)
line3
.
push
(
getActiveNum
(
item2
.
ZXZ
)
)
line3_tbl
.
push
(
getActiveNum
(
item2
.
TBL
)
)
}
else
if
(
item2
.
ZBID
==
'1104'
){
//肿瘤报告信息错误比例
line4
.
push
(
item2
.
ZXZ
)
line4_tbl
.
push
(
item2
.
TBL
)
line4
.
push
(
getActiveNum
(
item2
.
ZXZ
)
)
line4_tbl
.
push
(
getActiveNum
(
item2
.
TBL
)
)
}
})
...
...
@@ -1521,14 +1522,14 @@
}
else
if
(
item2
.
ZBID
==
'1009'
){
//心脑血管登记报告业务开展情况
nkzjg
.
push
(
item2
.
ZXZ
)
}
else
if
(
item2
.
ZBID
==
'1012'
){
//心脑血管通过信息系统登记报告事件数
bar1
.
push
(
item2
.
ZXZ
/
10000
)
bar1_qn
.
push
(
item2
.
TBZ
/
10000
)
}
else
if
(
item2
.
ZBID
==
'1
010
'
){
//心脑血管登记报告事件数
bar2
.
push
(
item2
.
ZXZ
/
10000
)
bar2_qn
.
push
(
item2
.
TBZ
/
10000
)
bar1
.
push
(
getActiveNum
(
item2
.
ZXZ
/
10000
)
)
bar1_qn
.
push
(
getActiveNum
(
item2
.
TBZ
/
10000
)
)
}
else
if
(
item2
.
ZBID
==
'1
211
'
){
//心脑血管登记报告事件数
bar2
.
push
(
getActiveNum
(
item2
.
ZXZ
/
10000
)
)
bar2_qn
.
push
(
getActiveNum
(
item2
.
TBZ
/
10000
)
)
}
else
if
(
item2
.
ZBID
==
'1107'
){
//心脑血管急性事件漏报率
line1
.
push
(
item2
.
ZXZ
)
line1_tbl
.
push
(
item2
.
TBL
)
line1
.
push
(
getActiveNum
(
item2
.
ZXZ
)
)
line1_tbl
.
push
(
getActiveNum
(
item2
.
TBL
)
)
}
else
if
(
item2
.
ZBID
==
'1108'
){
//心脑血管应报未报的事件数
line2
.
push
(
item2
.
ZXZ
)
line2_tbl
.
push
(
item2
.
TBZ
)
...
...
@@ -1538,7 +1539,7 @@
})
bottomData
.
forEach
((
ite
,
index
)
=>
{
dataX
.
forEach
((
ite
,
index
)
=>
{
let
kzqkObj
=
{},
blqbObj
=
{},
lbqkObj
=
{}
kzqkObj
.
name
=
dataX
[
index
]
kzqkObj
.
code
=
dataCode
[
index
]
...
...
@@ -1836,4 +1837,15 @@
.area
>>>
.el-input__icon
{
display
:
none
}
.uplib
{
width
:
100%
;
height
:
160px
;
position
:
absolute
;
top
:
76px
;
right
:
0
;
left
:
0
;
background
:
rgba
(
51
,
51
,
51
,
0.9
);
padding
:
10px
;
text-align
:
left
;
}
</
style
>
src/utils/common.js
View file @
3b755015
...
...
@@ -46,3 +46,16 @@ export function getActiveNum(str) {
return
Math
.
abs
(
num
);
}
}
//值处理,超过最大值,小于最小值
export
function
getValueByMaxMin
(
value
,
max
,
min
){
var
num1
=
100
;
var
num2
=
-
100
;
num1
=
max
?
max
:
num1
;
num2
=
min
?
min
:
num2
;
if
(
value
>
num1
)
return
num1
;
if
(
value
<
num2
)
return
num2
;
return
getActiveNum
(
value
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment