Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
frontend-h5
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
songrui
frontend-h5
Commits
e0fc63e8
Commit
e0fc63e8
authored
Dec 06, 2024
by
songrui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
居民端筛查修改
parent
01e70541
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
Doctor.vue
src/doctor/Doctor.vue
+1
-2
ScreenInfo.vue
src/resident/screening/first/form/ScreenInfo.vue
+7
-4
No files found.
src/doctor/Doctor.vue
View file @
e0fc63e8
...
...
@@ -52,7 +52,7 @@ export default {
if
(
!
token
)
{
token
=
sessionStorage
.
getItem
(
'token'
)
if
(
process
.
env
.
NODE_ENV
!==
'production'
)
{
token
=
'
faaa4626-dea4-43ab-98ba-ca1c200e173
6'
token
=
'
d174ee24-e53f-4f0e-8a51-aa449ea8e02
6'
}
}
if
(
token
)
{
...
...
@@ -66,7 +66,6 @@ export default {
}
else
{
backHome
()
}
}
}
}
...
...
src/resident/screening/first/form/ScreenInfo.vue
View file @
e0fc63e8
...
...
@@ -524,15 +524,15 @@ export default {
},
resultHandle
()
{
const
{
currentAge
,
height
=
0
,
weight
=
0
,
waistline
,
familyHistory
=
[],
isSmoking
,
gender
,
pressureOneSbp
,
pressureOneDbp
,
pressureTwoSbp
,
pressureTwoDbp
,
fastingGlucose
,
ldlCholesterin
}
=
this
.
form
pressureOneSbp
,
pressureOneDbp
,
pressureTwoSbp
,
pressureTwoDbp
,
fastingGlucose
,
ldlCholesterin
,
serumCholesterin
}
=
this
.
form
let
list
=
[]
if
(
currentAge
>=
50
)
{
list
.
push
(
1
)
}
let
bmi
=
parseFloat
(
this
.
bmi
)
if
((
bmi
>=
24
)
||
(
gender
==
2
&&
waistline
>=
8
5
)
||
(
gender
==
1
&&
waistline
>=
90
)
){
(
gender
==
2
&&
waistline
>=
8
0
)
||
(
gender
==
1
&&
waistline
>=
85
)
){
list
.
push
(
2
)
}
if
(
isSmoking
==
1
)
{
...
...
@@ -550,7 +550,10 @@ export default {
if
(
fastingGlucose
>=
6.1
)
{
list
.
push
(
6
)
}
if
(
ldlCholesterin
>=
3.4
)
{
// if (ldlCholesterin >= 3.4) {
// list.push(7)
// }
if
(
serumCholesterin
>=
5.2
)
{
list
.
push
(
7
)
}
list
=
Array
.
from
(
new
Set
(
list
))
...
...
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