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
ee3819bc
Commit
ee3819bc
authored
Feb 18, 2025
by
gengchunlei
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'chronic-dev' of
http://gitlab.yiboshi.com/nightkis1995/frontend-h5
into chronic-dev
parents
980ce374
8e44203d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Doctor.vue
src/doctor/Doctor.vue
+1
-1
BloodPressure.vue
src/doctor/components/bloodPressure/BloodPressure.vue
+2
-2
No files found.
src/doctor/Doctor.vue
View file @
ee3819bc
...
@@ -66,7 +66,7 @@ export default {
...
@@ -66,7 +66,7 @@ export default {
if
(
!
token
)
{
if
(
!
token
)
{
token
=
sessionStorage
.
getItem
(
'token'
)
token
=
sessionStorage
.
getItem
(
'token'
)
if
(
process
.
env
.
NODE_ENV
!==
'production'
)
{
if
(
process
.
env
.
NODE_ENV
!==
'production'
)
{
token
=
'
07931df0-4a1c-45a9-8b49-570435d06abc
'
token
=
'
9606c004-d369-4c13-b04e-1502bcb1182a
'
}
}
}
}
if
(
token
)
{
if
(
token
)
{
...
...
src/doctor/components/bloodPressure/BloodPressure.vue
View file @
ee3819bc
...
@@ -110,7 +110,7 @@ export default {
...
@@ -110,7 +110,7 @@ export default {
console
.
warn
(
'未选择设备'
)
console
.
warn
(
'未选择设备'
)
return
return
}
}
if
(
this
.
loopMark
>=
4
)
{
if
(
this
.
loopMark
>=
8
)
{
this
.
loopMark
=
0
this
.
loopMark
=
0
this
.
deviceCheck
(
2
)
this
.
deviceCheck
(
2
)
cb
&&
cb
(
null
)
cb
&&
cb
(
null
)
...
@@ -121,7 +121,7 @@ export default {
...
@@ -121,7 +121,7 @@ export default {
getPressureData
(
this
.
deviceNo
).
then
(
res
=>
{
getPressureData
(
this
.
deviceNo
).
then
(
res
=>
{
const
result
=
res
.
data
||
[]
const
result
=
res
.
data
||
[]
if
(
result
.
length
)
{
if
(
result
.
length
)
{
let
val
=
result
[
0
]
let
val
=
result
[
result
.
length
-
1
]
if
(
dayjs
(
val
.
created
).
isAfter
(
this
.
valueTime
))
{
if
(
dayjs
(
val
.
created
).
isAfter
(
this
.
valueTime
))
{
this
.
lastValue
=
val
this
.
lastValue
=
val
this
.
loopMark
=
0
this
.
loopMark
=
0
...
...
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