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
5fd2343a
Commit
5fd2343a
authored
Jan 08, 2025
by
songrui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
诊断介入血压测量组件
parent
65827e46
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
4 deletions
+18
-4
Doctor.vue
src/doctor/Doctor.vue
+1
-1
BloodPressure.vue
src/doctor/components/bloodPressure/BloodPressure.vue
+1
-1
Instpect.vue
src/doctor/diagnose/common/Instpect.vue
+16
-2
No files found.
src/doctor/Doctor.vue
View file @
5fd2343a
...
...
@@ -66,7 +66,7 @@ export default {
if
(
!
token
)
{
token
=
sessionStorage
.
getItem
(
'token'
)
if
(
process
.
env
.
NODE_ENV
!==
'production'
)
{
token
=
'
779099b2-3d34-41ef-b14a-4a435fb48adb
'
token
=
'
35e27748-9aac-45d5-af26-f24194d22176
'
}
}
if
(
token
)
{
...
...
src/doctor/components/bloodPressure/BloodPressure.vue
View file @
5fd2343a
...
...
@@ -94,7 +94,7 @@ export default {
},
loadDevice
()
{
// 372 ||
getPressureDevices
(
372
||
this
.
authInfo
.
unitId
).
then
(
res
=>
{
getPressureDevices
(
this
.
authInfo
.
unitId
).
then
(
res
=>
{
console
.
log
(
'getPressureDevices'
,
res
)
this
.
deviceList
=
res
.
data
||
[]
if
(
!
this
.
deviceList
.
length
)
{
...
...
src/doctor/diagnose/common/Instpect.vue
View file @
5fd2343a
...
...
@@ -30,7 +30,10 @@
<div
v-for=
"(row, index1) in viewData"
:key=
"row.insType"
class=
"pt-3 px-2 mb-2 instpect-list-item"
:style=
"`order: $
{row.insType}`">
<div
class=
"required-mark mb-3"
>
{{
row
.
insName
}}
</div>
<div
class=
"mb-3 flex items-center justify-between"
>
<span
class=
"required-mark"
>
{{
row
.
insName
}}
</span>
<BloodPressurePanel
:pressureObj=
"pressureObj"
v-if=
"row.insType == 35"
/>
</div>
<template
v-for=
"(item, index2) in row.items"
>
<van-field
:label=
"getItemName(item)"
v-model=
"item.itemValue"
...
...
@@ -82,6 +85,8 @@
</
template
>
</van-field>
</template>
<BloodPressureBt
:pressureObj=
"pressureObj"
v-if=
"row.insType == 35"
@
getValue=
"setPressure($event, row)"
style=
"margin-bottom: .08rem"
>
测量
</BloodPressureBt>
</div>
<van-popup
v-model:show=
"selectOption.show3"
position=
"bottom"
>
<van-picker
...
...
@@ -119,13 +124,17 @@ import { getInspectCode } from '@/api/doctor/disease.js'
import
{
useStore
}
from
'@/doctor/store/index.js'
import
InputSelect
from
'./InputSelect.vue'
import
DocImageUpload
from
'@/doctor/components/docImageUpload/DocImageUpload.vue'
import
{
BloodPressurePanel
,
BloodPressureBt
}
from
'@/doctor/components/bloodPressure/index.js'
export
default
{
name
:
'InstpectCommon'
,
components
:
{
InputSelect
,
DocImageUpload
DocImageUpload
,
BloodPressurePanel
,
BloodPressureBt
},
inject
:
[
'pressureObj'
],
props
:
{
// 初始化数据
info
:
{
default
:
()
=>
{
return
{}
}
},
...
...
@@ -278,6 +287,11 @@ export default {
onSelectInputConfirm
(
option
)
{
this
.
selectOption
.
item
.
itemValue
=
option
.
value
this
.
selectOption
.
show4
=
false
},
setPressure
(
val
,
row
=
{})
{
const
items
=
row
.
items
||
[]
items
[
0
]
&&
(
items
[
0
].
itemValue
=
val
.
systolicPressure
)
items
[
1
]
&&
(
items
[
1
].
itemValue
=
val
.
diastolicPressure
)
}
}
}
...
...
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