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
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
146 additions
and
107 deletions
+146
-107
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
+0
-0
src/components/userJoin/screenTwoPag5.vue
+0
-0
src/utils/common.js
+13
-0
No files found.
src/components/Index.vue
View file @
3b755015
...
@@ -43,27 +43,28 @@
...
@@ -43,27 +43,28 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"model3"
>
<div
class=
"model3"
style=
"width:320px;"
>
<div
class=
"m3title"
>
慢病管理
</div>
<div
class=
"m3title"
>
慢病管理
</div>
<div
class=
"m3title2"
>
<div
class=
"m3title2"
>
<i></i>
<i></i>
<span>
在管人数
</span>
|
<span>
高血压
在管人数
</span>
|
<span>
同期
</span>
<span>
糖尿病在管人数
</span>
</div>
</div>
<div
class=
"m3number"
>
<div
class=
"m3number"
>
<span
class=
"m3number-font"
>
{{
mbzgrsZXZ
}}
</span>
/
<span
class=
"m3number-font"
>
{{
mbzgrsZXZ_g
}}
</span><strong>
万
</strong>
<span
class=
"m3number-font"
>
{{
mbzgrsTBZ
}}
</span>
<span
class=
"tag-blue"
>
同
</span>
<span>
{{
mbzgrsTBL
}}
%
</span><arrow-class
:rawData=
"mbzgrsTBL"
></arrow-class>
/
<span
class=
"m3number-font"
>
{{
mbzgrsZXZ_t
}}
</span>
<strong>
万
</strong>
<strong>
万
</strong>
<span
class=
"tag-blue"
>
同
</span>
<span
class=
"tag-blue"
>
同
</span>
<span>
{{
mbzgrsTBL
}}
%
</span>
<span>
{{
mbzgrsTBL
}}
%
</span><arrow-class
:rawData=
"mbzgrsTBL"
></arrow-class>
<arrow-class
:rawData=
"mbzgrsTBL"
></arrow-class>
</div>
</div>
<div
class=
"m3message"
>
<div
class=
"m3message"
>
<div
class=
"m3messagefont"
>
年内已管理人数
<span>
{{
mbyglrs
}}
</span></div>
<div
class=
"m3messagefont"
>
年内已管理人数
·万(高血压/糖尿病)
<span>
{{
mbyglrs_g
}}
/
{{
mbyglrs_t
}}
</span></div>
<div
class=
"m3messagefont"
>
规范管理人数
<span>
{{
mbgfglrs
}}
</span></div>
<div
class=
"m3messagefont"
>
规范管理人数
·万(高血压/糖尿病)
<span>
{{
mbgfglrs_g
}}
/
{{
mbgfglrs_t
}}
</span></div>
</div>
</div>
</div>
</div>
<div
class=
"model3 model3m"
>
<div
class=
"model3 model3m"
style=
"width:260px;"
>
<div
class=
"m3title"
>
免疫规划
</div>
<div
class=
"m3title"
>
免疫规划
</div>
<div
class=
"m3title2"
>
<div
class=
"m3title2"
>
<i></i>
<i></i>
...
@@ -83,7 +84,7 @@
...
@@ -83,7 +84,7 @@
<div
class=
"m3messagefont"
>
规范管理人数
<span>
102.5
</span></div>
<div
class=
"m3messagefont"
>
规范管理人数
<span>
102.5
</span></div>
</div>
</div>
</div>
</div>
<div
class=
"model3"
>
<div
class=
"model3"
style=
"width:260px;"
>
<div
class=
"m3title"
>
传染病监测
</div>
<div
class=
"m3title"
>
传染病监测
</div>
<div
id=
"echartsperson"
></div>
<div
id=
"echartsperson"
></div>
</div>
</div>
...
@@ -471,10 +472,16 @@
...
@@ -471,10 +472,16 @@
]
]
},
},
mbzgrsZXZ_g
:
0
,
mbzgrsZXZ_t
:
0
,
mbzgrsZXZ
:
0
,
mbzgrsZXZ
:
0
,
mbzgrsTBZ
:
0
,
mbzgrsTBZ
:
0
,
mbzgrsTBL
:
0
,
mbzgrsTBL
:
0
,
mbyglrs_g
:
0
,
mbyglrs_t
:
0
,
mbyglrs
:
0
,
mbyglrs
:
0
,
mbgfglrs_g
:
0
,
mbgfglrs_t
:
0
,
mbgfglrs
:
0
,
mbgfglrs
:
0
,
mbglData
:{},
mbglData
:{},
userinfo
:
{},
userinfo
:
{},
...
@@ -497,8 +504,8 @@
...
@@ -497,8 +504,8 @@
this
.
ispopu
=
!
this
.
ispopu
this
.
ispopu
=
!
this
.
ispopu
},
},
toMygh
(){
toMygh
(){
window
.
location
.
href
=
'http://195.1.3.38:9001/#/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')
window
.
location
.
href
=
'https://192.168.30.51/#/manage-platform/index?token=TK_'
+
sessionStorage
.
getItem
(
'token'
)
},
},
exitFn
()
{
exitFn
()
{
this
.
$router
.
push
({
this
.
$router
.
push
({
...
@@ -529,6 +536,8 @@
...
@@ -529,6 +536,8 @@
"group"
:
'XB'
"group"
:
'XB'
}
}
commonMethod
(
param1
).
then
(
res
=>
{
commonMethod
(
param1
).
then
(
res
=>
{
_this
.
mbzgrsZXZ_g
=
0
_this
.
mbzgrsZXZ_t
=
0
_this
.
mbzgrsZXZ
=
0
_this
.
mbzgrsZXZ
=
0
_this
.
mbzgrsTBZ
=
0
_this
.
mbzgrsTBZ
=
0
_this
.
mbzgrsTBL
=
0
_this
.
mbzgrsTBL
=
0
...
@@ -536,12 +545,19 @@
...
@@ -536,12 +545,19 @@
_this
.
mbglData
.
forEach
(
item1
=>
{
_this
.
mbglData
.
forEach
(
item1
=>
{
if
(
!
checkIsNull
(
item1
.
XB
)){
if
(
!
checkIsNull
(
item1
.
XB
)){
item1
.
zbxx
.
forEach
(
item
=>
{
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
.
mbzgrsZXZ
+=
parseInt
(
item
.
ZXZ
)
_this
.
mbzgrsTBZ
+=
parseInt
(
item
.
TBZ
)
_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
.
mbzgrsZXZ
=
getActiveNum
(
_this
.
mbzgrsZXZ
/
10000
)
_this
.
mbzgrsTBZ
=
getActiveNum
(
_this
.
mbzgrsTBZ
/
10000
)
_this
.
mbzgrsTBZ
=
getActiveNum
(
_this
.
mbzgrsTBZ
/
10000
)
_this
.
mbzgrsTBL
=
getActiveNum
((
_this
.
mbzgrsZXZ
-
_this
.
mbzgrsTBZ
)
/
_this
.
mbzgrsTBZ
*
100
)
_this
.
mbzgrsTBL
=
getActiveNum
((
_this
.
mbzgrsZXZ
-
_this
.
mbzgrsTBZ
)
/
_this
.
mbzgrsTBZ
*
100
)
...
@@ -553,18 +569,29 @@
...
@@ -553,18 +569,29 @@
"wd"
:
JSON
.
stringify
(
wd1
)
"wd"
:
JSON
.
stringify
(
wd1
)
}
}
commonMethod
(
param2
).
then
(
res
=>
{
commonMethod
(
param2
).
then
(
res
=>
{
_this
.
mbyglrs_g
=
0
_this
.
mbyglrs_t
=
0
_this
.
mbyglrs
=
0
_this
.
mbyglrs
=
0
_this
.
mbgfglrs_g
=
0
_this
.
mbgfglrs_t
=
0
_this
.
mbgfglrs
=
0
_this
.
mbgfglrs
=
0
_this
.
mbglrsData
=
res
.
data
.
content
[
0
]
_this
.
mbglrsData
=
res
.
data
.
content
[
0
]
_this
.
mbglrsData
.
zbxx
.
forEach
(
item
=>
{
_this
.
mbglrsData
.
zbxx
.
forEach
(
item
=>
{
if
(
item
.
ZBID
===
'1048'
||
item
.
ZBID
===
'1051'
){
if
(
item
.
ZBID
===
'1048'
){
_this
.
mbyglrs
+=
parseInt
(
item
.
ZXZ
)
_this
.
mbyglrs_g
+=
parseInt
(
item
.
ZXZ
)
}
}
else
if
(
item
.
ZBID
===
'1051'
){
if
(
item
.
ZBID
===
'1054'
||
item
.
ZBID
===
'1056'
){
_this
.
mbyglrs_t
+=
parseInt
(
item
.
ZXZ
)
_this
.
mbgfglrs
+=
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
=>
{
}).
catch
(
err
=>
{
console
.
log
(
"--慢病管理2报错--"
);
console
.
log
(
"--慢病管理2报错--"
);
...
@@ -626,7 +653,7 @@
...
@@ -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
;}
.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
{
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
;}
.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
;}
.model3m
{
margin
:
0
10px
;}
.m3title
{
position
:
absolute
;
left
:
10px
;
line-height
:
30px
;
font-size
:
14px
;
color
:
#fff
;}
.m3title
{
position
:
absolute
;
left
:
10px
;
line-height
:
30px
;
font-size
:
14px
;
color
:
#fff
;}
...
@@ -636,7 +663,7 @@
...
@@ -636,7 +663,7 @@
.m3title2
i
{
width
:
3px
;
height
:
12px
;
background
:
#007AFF
;
color
:
#0097FD
;
display
:
inline-block
;}
.m3title2
i
{
width
:
3px
;
height
:
12px
;
background
:
#007AFF
;
color
:
#0097FD
;
display
:
inline-block
;}
.m3title2
span
{
padding
:
0
5px
;
color
:
#97B8D5
;}
.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
span
{
padding
:
0
3px
;
color
:
#97B8D5
;}
.m3number-font
{
font-size
:
28px
;
color
:
#4FD9FF
!important
;}
.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
;}
.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 @@
...
@@ -1745,7 +1745,7 @@
dataSearch(cxsj) {
dataSearch(cxsj) {
sessionStorage.setItem("
ywsj
", cxsj)
sessionStorage.setItem("
ywsj
", cxsj)
this.zhongliu()
this.pageDataInit()
this.pageDataInit()
this.reApplyCharts()
this.reApplyCharts()
this.bottominit()
this.bottominit()
...
...
src/components/userJoin/screenTwoPag2.vue
View file @
3b755015
...
@@ -225,6 +225,7 @@
...
@@ -225,6 +225,7 @@
otherMethod
otherMethod
}
from
'@/api/home.js'
}
from
'@/api/home.js'
import
{
import
{
getValueByMaxMin
,
getActiveNum
,
getActiveNum
,
checkIsNull
checkIsNull
}
from
'@/utils/common.js'
}
from
'@/utils/common.js'
...
@@ -801,6 +802,7 @@
...
@@ -801,6 +802,7 @@
changeReplay
()
{
changeReplay
()
{
this
.
mbType
=
'gxy'
this
.
mbType
=
'gxy'
this
.
rqType
=
'gfgl'
this
.
rqType
=
'gfgl'
this
.
isShowBack
=
false
if
(
'city'
===
this
.
userRole
)
{
//市角色
if
(
'city'
===
this
.
userRole
)
{
//市角色
this
.
_xzqh
=
""
this
.
_xzqh
=
""
this
.
_yljgdm
=
''
this
.
_yljgdm
=
''
...
@@ -1362,13 +1364,13 @@
...
@@ -1362,13 +1364,13 @@
}
}
if
(
item2
.
ZBID
==
"1169"
)
{
if
(
item2
.
ZBID
==
"1169"
)
{
// 管·自动上传血压控制率/去年
// 管·自动上传血压控制率/去年
line1
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line1
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line1_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line1_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
}
if
(
item2
.
ZBID
==
"1166"
)
{
if
(
item2
.
ZBID
==
"1166"
)
{
// 管·手工采集上传血压控制率/去年
// 管·手工采集上传血压控制率/去年
line3
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line3
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line3_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line3_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
}
}
else
{
}
else
{
...
@@ -1379,18 +1381,18 @@
...
@@ -1379,18 +1381,18 @@
}
}
if
(
item2
.
ZBID
==
"1175"
)
{
if
(
item2
.
ZBID
==
"1175"
)
{
// 管·自动上传血压控制率/去年
// 管·自动上传血压控制率/去年
line1
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line1
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line1_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line1_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
}
if
(
item2
.
ZBID
==
"1172"
)
{
if
(
item2
.
ZBID
==
"1172"
)
{
// 管·手工采集上传血压控制率/去年
// 管·手工采集上传血压控制率/去年
line3
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line3
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line3_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line3_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
}
if
(
item2
.
ZBID
==
"1180"
)
{
if
(
item2
.
ZBID
==
"1180"
)
{
// 高血压患者BMI异常比例
// 高血压患者BMI异常比例
line5
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line5
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line5_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line5_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
}
}
}
}
}
...
@@ -1405,18 +1407,18 @@
...
@@ -1405,18 +1407,18 @@
}
}
if
(
item2
.
ZBID
==
"1145"
)
{
if
(
item2
.
ZBID
==
"1145"
)
{
// 管·自动上传血压控制率/去年
// 管·自动上传血压控制率/去年
line1
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line1
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line1_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line1_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
}
if
(
item2
.
ZBID
==
"1142"
)
{
if
(
item2
.
ZBID
==
"1142"
)
{
// 管·手工采集上传血压控制率/去年
// 管·手工采集上传血压控制率/去年
line3
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line3
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line3_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line3_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
}
if
(
item2
.
ZBID
==
"1182"
)
{
if
(
item2
.
ZBID
==
"1182"
)
{
// 管·手工采集上传血压控制率/去年
// 管·手工采集上传血压控制率/去年
line5
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line5
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line5_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line5_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
}
}
else
{
}
else
{
...
@@ -1427,18 +1429,18 @@
...
@@ -1427,18 +1429,18 @@
}
}
if
(
item2
.
ZBID
==
"1151"
)
{
if
(
item2
.
ZBID
==
"1151"
)
{
// 管·自动上传血压控制率/去年
// 管·自动上传血压控制率/去年
line1
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line1
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line1_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line1_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
}
if
(
item2
.
ZBID
==
"1148"
)
{
if
(
item2
.
ZBID
==
"1148"
)
{
// 管·手工采集上传血压控制率/去年
// 管·手工采集上传血压控制率/去年
line3
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line3
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line3_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line3_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
}
if
(
item2
.
ZBID
==
"1182"
)
{
if
(
item2
.
ZBID
==
"1182"
)
{
// 管·手工采集上传血压控制率/去年
// 管·手工采集上传血压控制率/去年
line5
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line5
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line5_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line5_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
}
}
}
}
}
...
@@ -1468,13 +1470,13 @@
...
@@ -1468,13 +1470,13 @@
}
}
if
(
item2
.
ZBID
==
"1169"
)
{
if
(
item2
.
ZBID
==
"1169"
)
{
// 管·自动上传血压控制率/去年
// 管·自动上传血压控制率/去年
line2
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line2
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line2_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line2_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
}
if
(
item2
.
ZBID
==
"1166"
)
{
if
(
item2
.
ZBID
==
"1166"
)
{
// 管·手工采集上传血压控制率/去年
// 管·手工采集上传血压控制率/去年
line4
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line4
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line4_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line4_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
}
}
else
{
}
else
{
if
(
item2
.
ZBID
==
"1176"
)
{
if
(
item2
.
ZBID
==
"1176"
)
{
...
@@ -1484,18 +1486,18 @@
...
@@ -1484,18 +1486,18 @@
}
}
if
(
item2
.
ZBID
==
"1175"
)
{
if
(
item2
.
ZBID
==
"1175"
)
{
// 管·自动上传血压控制率/去年
// 管·自动上传血压控制率/去年
line2
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line2
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line2_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line2_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
}
if
(
item2
.
ZBID
==
"1172"
)
{
if
(
item2
.
ZBID
==
"1172"
)
{
// 管·手工采集上传血压控制率/去年
// 管·手工采集上传血压控制率/去年
line4
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line4
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line4_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line4_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
}
if
(
item2
.
ZBID
==
"1180"
)
{
if
(
item2
.
ZBID
==
"1180"
)
{
// 管·手工采集上传血压控制率/去年
// 管·手工采集上传血压控制率/去年
line6
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line6
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line6_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line6_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
}
}
}
}
else
if
(
this
.
mbType
===
'tnb'
){
}
else
if
(
this
.
mbType
===
'tnb'
){
...
@@ -1508,13 +1510,13 @@
...
@@ -1508,13 +1510,13 @@
}
else
}
else
if
(
item2
.
ZBID
==
"1145"
)
{
if
(
item2
.
ZBID
==
"1145"
)
{
// 管·自动上传血压控制率/去年
// 管·自动上传血压控制率/去年
line2
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line2
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line2_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line2_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
else
}
else
if
(
item2
.
ZBID
==
"1142"
)
{
if
(
item2
.
ZBID
==
"1142"
)
{
// 管·手工采集上传血压控制率/去年
// 管·手工采集上传血压控制率/去年
line4
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line4
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line4_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line4_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
}
}
else
{
}
else
{
if
(
item2
.
ZBID
==
"1152"
)
{
if
(
item2
.
ZBID
==
"1152"
)
{
...
@@ -1524,18 +1526,18 @@
...
@@ -1524,18 +1526,18 @@
}
}
if
(
item2
.
ZBID
==
"1151"
)
{
if
(
item2
.
ZBID
==
"1151"
)
{
// 管·自动上传血压控制率/去年
// 管·自动上传血压控制率/去年
line2
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line2
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line2_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line2_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
}
if
(
item2
.
ZBID
==
"1148"
)
{
if
(
item2
.
ZBID
==
"1148"
)
{
// 管·手工采集上传血压控制率/去年
// 管·手工采集上传血压控制率/去年
line4
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line4
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line4_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line4_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
}
if
(
item2
.
ZBID
==
"1182"
)
{
if
(
item2
.
ZBID
==
"1182"
)
{
// 管·手工采集上传血压控制率/去年
// 管·手工采集上传血压控制率/去年
line6
.
push
(
get
ActiveNum
(
item2
.
ZXZ
))
line6
.
push
(
get
ValueByMaxMin
(
item2
.
ZXZ
))
line6_qn
.
push
(
get
ActiveNum
(
item2
.
TBZ
))
line6_qn
.
push
(
get
ValueByMaxMin
(
item2
.
TBZ
))
}
}
}
}
}
}
...
@@ -2134,4 +2136,9 @@
...
@@ -2134,4 +2136,9 @@
padding
:
10px
;
padding
:
10px
;
text-align
:
left
;
text-align
:
left
;
}
}
.hb-icon
{
display
:
inline-block
;
transform
:
scale
(
0.8
);
}
</
style
>
</
style
>
src/components/userJoin/screenTwoPag3.vue
View file @
3b755015
...
@@ -50,8 +50,8 @@
...
@@ -50,8 +50,8 @@
<p>
签·血压零偏好占比:
{{
parseFloat
(
finalPerq
.
ZXZ
?
finalPerq
.
ZXZ
:
0
).
toFixed
(
1
)
}}
%
</p>
<p>
签·血压零偏好占比:
{{
parseFloat
(
finalPerq
.
ZXZ
?
finalPerq
.
ZXZ
:
0
).
toFixed
(
1
)
}}
%
</p>
</div>
</div>
<div
class=
"datalist"
v-show=
"DieaNo==2"
>
<div
class=
"datalist"
v-show=
"DieaNo==2"
>
<p>
管·
糖尿
零偏好占比:
{{
parseFloat
(
finalPerg
.
ZXZ
?
finalPerg
.
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
(
finalPerq
.
ZXZ
?
finalPerq
.
ZXZ
:
0
).
toFixed
(
1
)
}}
%
</p>
<p>
管·糖化零偏好占比:
{{
parseFloat
(
finalPerg2
.
ZXZ
?
finalPerg2
.
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>
<p>
签·糖化零偏好占比:
{{
parseFloat
(
finalPerq2
.
ZXZ
?
finalPerq2
.
ZXZ
:
0
).
toFixed
(
1
)
}}
%
</p>
</div>
</div>
...
@@ -226,6 +226,7 @@
...
@@ -226,6 +226,7 @@
otherMethod
otherMethod
}
from
'@/api/home.js'
}
from
'@/api/home.js'
import
{
import
{
getValueByMaxMin
,
getActiveNum
,
getActiveNum
,
checkIsNull
checkIsNull
}
from
'@/utils/common.js'
}
from
'@/utils/common.js'
...
@@ -899,7 +900,7 @@
...
@@ -899,7 +900,7 @@
}
}
// 年总死亡人数随访比例
// 年总死亡人数随访比例
if
(
item
.
CODE
==
'FWZL_010'
)
{
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 @@
...
@@ -923,7 +924,7 @@
}
}
// 年总死亡人数随访比例
// 年总死亡人数随访比例
if
(
item
.
CODE
==
'FWZL_013'
)
{
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 @@
...
@@ -994,11 +995,11 @@
// 年总死亡人数随访比例
// 年总死亡人数随访比例
if
(
item
.
CODE
==
'FWZL_010'
)
{
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'
)
{
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 @@
...
@@ -1015,7 +1016,7 @@
}
}
// 年总死亡人数随访比例
// 年总死亡人数随访比例
if
(
item
.
CODE
==
'FWZL_013'
)
{
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'
)
{
if
(
item
.
CODE
==
'FWZL_021'
)
{
_this
.
finalPerq
=
res
.
data
.
content
[
0
].
zbxx
[
index
]
_this
.
finalPerq
=
res
.
data
.
content
[
0
].
zbxx
[
index
]
...
@@ -1137,16 +1138,7 @@
...
@@ -1137,16 +1138,7 @@
_this
.
data108
=
[]
_this
.
data108
=
[]
if
(
_this
.
bingNo
==
1
)
{
if
(
_this
.
bingNo
==
1
)
{
tempList
.
forEach
((
item
,
index
)
=>
{
tempList
.
forEach
((
item
,
index
)
=>
{
let
obj
=
{
let
obj
=
{}
name
:
''
,
code
:
''
,
tag1
:
'0'
,
tag2
:
'0'
,
tag3
:
'0'
,
tag4
:
'0'
,
tag5
:
'0'
,
tag6
:
'0'
}
if
(
item
.
YWSJ
)
{
if
(
item
.
YWSJ
)
{
obj
.
name
=
item
.
YWSJ
.
substring
(
5
,
7
)
+
'月'
obj
.
name
=
item
.
YWSJ
.
substring
(
5
,
7
)
+
'月'
}
else
{
}
else
{
...
@@ -1192,10 +1184,10 @@
...
@@ -1192,10 +1184,10 @@
if
(
item2
.
ZBID
==
sfbl_zbid
)
{
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
=
_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
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
.
data105
.
push
(
g
etValueByMaxMin
(
g_sfb
)
)
_this
.
data106
.
push
(
g
_sfb_qn
)
_this
.
data106
.
push
(
g
etValueByMaxMin
(
g_sfb_qn
)
)
_this
.
data107
.
push
(
item2
.
ZXZ
)
_this
.
data107
.
push
(
getValueByMaxMin
(
item2
.
ZXZ
)
)
_this
.
data108
.
push
(
item2
.
TBZ
)
_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
.
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
obj
.
tag6
=
item2
.
ZXZ
?
parseFloat
(
item2
.
ZXZ
).
toFixed
(
1
)
:
0
}
}
...
@@ -1508,35 +1500,35 @@
...
@@ -1508,35 +1500,35 @@
//管签未标记率
//管签未标记率
if
(
item2
.
ZBID
==
'1127'
)
{
if
(
item2
.
ZBID
==
'1127'
)
{
_this
.
data201
.
push
(
item2
.
ZXZ
)
_this
.
data201
.
push
(
getValueByMaxMin
(
item2
.
ZXZ
)
)
_this
.
data203
.
push
(
item2
.
TBZ
)
_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
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
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
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
;
var
q_wbjl_qn
=
item2
.
TBZ
?
parseFloat
(
item2
.
TBZ
).
toFixed
(
1
)
:
0
;
obj
.
tag1
=
g
_wbjl
;
obj
.
tag1
=
g
etValueByMaxMin
(
g_wbjl
)
obj
.
tag2
=
q_wbjl
obj
.
tag2
=
getValueByMaxMin
(
q_wbjl
)
_this
.
data205
.
push
(
g
_wbjl
)
_this
.
data205
.
push
(
g
etValueByMaxMin
(
g_wbjl
)
)
_this
.
data206
.
push
(
q_wbjl
)
_this
.
data206
.
push
(
getValueByMaxMin
(
q_wbjl
)
)
_this
.
data207
.
push
(
g
_wbjl_qn
)
_this
.
data207
.
push
(
g
etValueByMaxMin
(
g_wbjl_qn
)
)
_this
.
data208
.
push
(
q_wbjl_qn
)
_this
.
data208
.
push
(
getValueByMaxMin
(
q_wbjl_qn
)
)
}
}
//管签批量异常随访比
//管签批量异常随访比
if
(
item2
.
ZBID
==
'1136'
)
{
if
(
item2
.
ZBID
==
'1136'
)
{
_this
.
data205
.
push
(
item2
.
ZXZ
)
_this
.
data205
.
push
(
getValueByMaxMin
(
item2
.
ZXZ
)
)
_this
.
data206
.
push
(
item2
.
TBZ
)
_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
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
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
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
;
var
q_ycsfb_qn
=
item2
.
TBZ
?
parseFloat
(
item2
.
TBZ
).
toFixed
(
1
)
:
0
;
obj
.
tag3
=
g
_ycsfb
obj
.
tag3
=
g
etValueByMaxMin
(
g_ycsfb
)
obj
.
tag4
=
q_ycsfb
obj
.
tag4
=
getValueByMaxMin
(
q_ycsfb
)
_this
.
data209
.
push
(
g
_ycsfb
)
_this
.
data209
.
push
(
g
etValueByMaxMin
(
g_ycsfb
)
)
_this
.
data210
.
push
(
q_ycsfb
)
_this
.
data210
.
push
(
getValueByMaxMin
(
q_ycsfb
)
)
_this
.
data211
.
push
(
g
_ycsfb_qn
)
_this
.
data211
.
push
(
g
etValueByMaxMin
(
g_ycsfb_qn
)
)
_this
.
data212
.
push
(
q_ycsfb_qn
)
_this
.
data212
.
push
(
getValueByMaxMin
(
q_ycsfb_qn
)
)
}
}
//不一致率
//不一致率
...
@@ -1547,12 +1539,12 @@
...
@@ -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
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
;
var
q_byzl_qn
=
item2
.
TBZ
?
parseFloat
(
item2
.
TBZ
).
toFixed
(
1
)
:
0
;
obj
.
tag5
=
g
_byzl
obj
.
tag5
=
g
etValueByMaxMin
(
g_byzl
)
obj
.
tag6
=
q_byzl
obj
.
tag6
=
getValueByMaxMin
(
q_byzl
)
_this
.
data213
.
push
(
g
_byzl
)
_this
.
data213
.
push
(
g
etValueByMaxMin
(
g_byzl
)
)
_this
.
data214
.
push
(
q_byzl
)
_this
.
data214
.
push
(
getValueByMaxMin
(
q_byzl
)
)
_this
.
data215
.
push
(
g
_byzl_qn
)
_this
.
data215
.
push
(
g
etValueByMaxMin
(
g_byzl_qn
)
)
_this
.
data216
.
push
(
q_byzl_qn
)
_this
.
data216
.
push
(
getValueByMaxMin
(
q_byzl_qn
)
)
}
}
...
@@ -2056,8 +2048,8 @@
...
@@ -2056,8 +2048,8 @@
tempList
.
forEach
((
item
,
index
)
=>
{
tempList
.
forEach
((
item
,
index
)
=>
{
let
obj
=
{
let
obj
=
{
name
:
''
,
name
:
''
,
tag1
:
'0'
,
code
:
''
,
code
:
''
,
tag1
:
'0'
,
tag2
:
'0'
,
tag2
:
'0'
,
tag3
:
'0'
,
tag3
:
'0'
,
tag4
:
'0'
,
tag4
:
'0'
,
...
...
src/components/userJoin/screenTwoPag4.vue
View file @
3b755015
This diff is collapsed.
Click to expand it.
src/components/userJoin/screenTwoPag5.vue
View file @
3b755015
This diff is collapsed.
Click to expand it.
src/utils/common.js
View file @
3b755015
...
@@ -46,3 +46,16 @@ export function getActiveNum(str) {
...
@@ -46,3 +46,16 @@ export function getActiveNum(str) {
return
Math
.
abs
(
num
);
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