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
66c690bf
Commit
66c690bf
authored
Oct 16, 2024
by
songrui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
初筛详情修改
parent
8247e30b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
55 additions
and
164 deletions
+55
-164
FirstDetail.vue
src/residentWX/screening/detail/FirstDetail.vue
+39
-39
SecondDetail.vue
src/residentWX/screening/detail/SecondDetail.vue
+16
-125
No files found.
src/residentWX/screening/detail/FirstDetail.vue
View file @
66c690bf
...
...
@@ -4,7 +4,7 @@
<span
@
click=
"onBack"
class=
"text-12 back-bt"
>
<doc-icon
type=
"doc-left2"
/>
</span>
<span>
筛查详情
</span>
<span>
高危
筛查详情
</span>
</div>
<div
class=
"px-4 py-3 flex shrink-0 base-info"
>
<div
class=
"flex w-full"
>
...
...
@@ -107,45 +107,46 @@ export default {
store
:
useStore
(),
activeCollapse
:
[],
collapseList
:
[
{
title
:
'居民信息'
,
name
:
'1'
,
columns
:
[],
info
:
{}
},
{
title
:
'筛查信息'
,
name
:
'2'
,
columns
:
[],
info
:
{}
},
{
title
:
'筛查机构'
,
name
:
'3'
,
columns
:
[],
info
:
{}
}
{
title
:
'居民信息'
,
name
:
'1'
,
columns
:
[
{
title
:
'姓名'
,
key
:
'residentName'
},
{
title
:
'证件号码'
,
key
:
'idCard'
},
{
title
:
'性别'
,
key
:
'genderName'
},
{
title
:
'出生日期'
,
key
:
'dataBirth'
},
{
title
:
'年龄'
,
key
:
'currentAge'
},
{
title
:
'民族'
,
key
:
'nationalName'
},
{
title
:
'本人电话'
,
key
:
'telephone'
},
{
title
:
'现住址'
,
key
:
'presentCodeName'
},
{
title
:
'详细地址'
,
key
:
'nowAddress'
},
{
title
:
'户籍地址'
,
key
:
'registeredCodeName'
},
{
title
:
'详细地址'
,
key
:
'permanentAddress'
}
],
info
:
{}
},
{
title
:
'筛查信息'
,
name
:
'2'
,
columns
:
[
{
title
:
'年龄'
,
key
:
'currentAge'
,
unit
:
'岁'
},
{
title
:
'既往史'
,
key
:
'medicalHistoryName'
},
{
title
:
'身高'
,
key
:
'height'
,
unit
:
'cm'
},
{
title
:
'体重'
,
key
:
'weight'
,
unit
:
'kg'
},
{
title
:
'BMI'
,
key
:
'bmi'
,
unit
:
'kg/m²'
},
{
title
:
'腰围'
,
key
:
'waistline'
,
unit
:
'cm'
},
{
title
:
'是否吸烟'
,
key
:
'isSmokingName'
},
{
title
:
'家族史'
,
key
:
'familyHistoryName'
},
{
title
:
'血压值'
,
key
:
'pressure'
},
{
title
:
'空腹血糖'
,
key
:
'fastingGlucose'
,
unit
:
'mmol/L'
},
{
title
:
'低密度脂蛋白胆固醇'
,
key
:
'ldlCholesterin'
,
unit
:
'mmol/L'
},
{
title
:
'血清总胆固醇'
,
key
:
'serumCholesterin'
,
unit
:
'mmol/L'
},
{
title
:
'高密度脂蛋白胆固醇'
,
key
:
'hdlCholesterin'
,
unit
:
'mmol/L'
},
{
title
:
'运动'
,
key
:
'exerciseIntensityName'
},
{
title
:
'慢病高危评估结果'
,
key
:
'screenResultName'
}
],
info
:
{}
},
{
title
:
'筛查机构'
,
name
:
'3'
,
columns
:
[
{
title
:
'筛查机构'
,
key
:
'screenUnitName'
},
{
title
:
'筛查科室'
,
key
:
'screenOfficeName'
},
{
title
:
'筛查医生'
,
key
:
'screenDoctorName'
},
{
title
:
'筛查日期'
,
key
:
'screenDate'
}
],
info
:
{}
}
],
// 全部展开、收起
collapseAll
:
false
,
info
:
{},
columnsBase
:
[
{
title
:
'姓名'
,
key
:
'residentName'
},
{
title
:
'证件号码'
,
key
:
'idCard'
},
{
title
:
'性别'
,
key
:
'genderName'
},
{
title
:
'出生日期'
,
key
:
'dataBirth'
},
{
title
:
'年龄'
,
key
:
'currentAge'
},
{
title
:
'民族'
,
key
:
'nationalName'
},
{
title
:
'本人电话'
,
key
:
'telephone'
},
{
title
:
'现住址'
,
key
:
'presentCodeName'
},
{
title
:
'详细地址'
,
key
:
'nowAddress'
},
{
title
:
'户籍地址'
,
key
:
'registeredCodeName'
},
{
title
:
'详细地址'
,
key
:
'permanentAddress'
}
],
columnsScreen
:
[
{
title
:
'年龄'
,
key
:
'currentAge'
,
unit
:
'岁'
},
{
title
:
'既往史'
,
key
:
'medicalHistoryName'
},
{
title
:
'身高'
,
key
:
'height'
,
unit
:
'cm'
},
{
title
:
'体重'
,
key
:
'weight'
,
unit
:
'kg'
},
{
title
:
'BMI'
,
key
:
'bmi'
,
unit
:
'kg/m²'
},
{
title
:
'腰围'
,
key
:
'waistline'
,
unit
:
'cm'
},
{
title
:
'是否吸烟'
,
key
:
'isSmokingName'
},
{
title
:
'家族史'
,
key
:
'familyHistoryName'
},
{
title
:
'血压值'
,
key
:
'pressure'
},
{
title
:
'空腹血糖'
,
key
:
'fastingGlucose'
,
unit
:
'mmol/L'
},
{
title
:
'低密度脂蛋白胆固醇'
,
key
:
'ldlCholesterin'
,
unit
:
'mmol/L'
},
{
title
:
'血清总胆固醇'
,
key
:
'serumCholesterin'
,
unit
:
'mmol/L'
},
{
title
:
'高密度脂蛋白胆固醇'
,
key
:
'hdlCholesterin'
,
unit
:
'mmol/L'
},
{
title
:
'运动'
,
key
:
'exerciseIntensityName'
},
{
title
:
'慢病高危评估结果'
,
key
:
'screenResultName'
},
{
title
:
'筛查日期'
,
key
:
'screenDate'
},
{
title
:
'筛查机构'
,
key
:
'screenUnitName'
}
]
info
:
{}
}
},
computed
:
{
...
...
@@ -165,12 +166,11 @@ export default {
},
methods
:
{
init
()
{
this
.
collapseList
[
0
].
columns
=
this
.
columnsBase
this
.
collapseList
[
0
].
info
=
this
.
userInfo
this
.
collapseList
[
1
].
columns
=
this
.
columnsScreen
firstScreenDetail
({
id
:
this
.
id
}).
then
(
res
=>
{
this
.
info
=
res
.
data
||
{}
this
.
collapseList
[
1
].
info
=
this
.
info
this
.
collapseList
[
2
].
info
=
this
.
info
})
},
onBack
()
{
...
...
src/residentWX/screening/detail/SecondDetail.vue
View file @
66c690bf
<
template
>
<div
class=
"h-full pb-5"
>
<div
class=
"p-3 text-16 text-black text-center shrink-0 top-bar"
>
<span
class=
"back-bt"
>
<span
@
click=
"onBack"
>
<doc-icon
type=
"doc-left"
/>
</span>
<div
class=
"flex flex-col"
style=
"height: 100vh"
>
<div
class=
"p-3 text-black text-center shrink-0 doc-nav-bar"
>
<span
@
click=
"onBack"
class=
"text-12 back-bt"
>
<doc-icon
type=
"doc-left2"
/>
</span>
<span>
居民慢病筛查详情
</span>
</div>
<div
class=
"py-4 border-bottom"
>
<div
class=
"px-4 doc-title"
>
居民信息
</div>
</div>
<div
class=
"px-4 list"
>
<div
v-for=
"item in columnsBase"
:key=
"item.key"
class=
"flex justify-between py-4 border-bottom item"
>
<span
class=
"shrink-0 mr-2 label"
>
{{
item
.
title
}}
</span>
<span
v-if=
"item.key === 'idCard'"
>
{{
$idCardHide
(
residentInfo
.
idCard
)
||
'-'
}}
</span>
<span
class=
"text-end"
v-else
>
{{
residentInfo
[
item
.
key
]
||
'-'
}}
</span>
</div>
</div>
<div
class=
"py-4 border-bottom"
>
<div
class=
"px-4 doc-title"
>
筛查信息
</div>
</div>
<div
class=
"px-4 list"
>
<template
v-for=
"item in columnsScreen"
:key=
"item.key"
>
<div
v-if=
"item.key == 'pressure'"
class=
"pt-3"
>
<table
class=
"w-full"
>
<tr>
<td
style=
"width: 7.1em"
>
血压值(mmHg)
</td>
<td>
低压值(左侧)
</td>
<td></td>
<td>
高压值(右侧)
</td>
</tr>
<tr>
<td>
第1次测量
</td>
<td>
{{
info
.
pressureOneDbp
||
'-'
}}
</td>
<td>
/
</td>
<td>
{{
info
.
pressureOneSbp
||
'-'
}}
</td>
</tr>
<tr>
<td>
第2次测量
</td>
<td
class=
"flex"
>
{{
info
.
pressureTwoDbp
||
'-'
}}
</td>
<td>
/
</td>
<td>
{{
info
.
pressureTwoSbp
||
'-'
}}
</td>
</tr>
</table>
</div>
<div
v-else
class=
"flex justify-between py-4 border-bottom item"
>
<span
class=
"shrink-0 mr-2 label"
>
{{
item
.
title
}}
</span>
<div>
<span>
{{
info
[
item
.
key
]
||
'-'
}}
</span>
<span
v-if=
"item.unit"
class=
"ml-1"
>
{{
item
.
unit
}}
</span>
</div>
</div>
</
template
>
<span>
专病筛查详情
</span>
</div>
</div>
</
template
>
<
script
>
import
{
s
howNotify
}
from
'vant
'
import
{
querScreenDetail
}
from
'@/api/resident/screening.js
'
import
{
s
econdScreenDetail
}
from
'@/api/residentWX/screening.js
'
import
{
useStore
}
from
'@/residentWX/store
'
export
default
{
data
()
{
return
{
info
:
{},
columnsBase
:
[
{
title
:
'姓名'
,
key
:
'residentName'
},
{
title
:
'证件号码'
,
key
:
'idCard'
},
{
title
:
'性别'
,
key
:
'genderName'
},
{
title
:
'出生日期'
,
key
:
'dataBirth'
},
{
title
:
'年龄'
,
key
:
'currentAge'
},
{
title
:
'民族'
,
key
:
'nationalName'
},
{
title
:
'本人电话'
,
key
:
'telephone'
},
{
title
:
'现住址'
,
key
:
'presentCodeName'
},
{
title
:
'详细地址'
,
key
:
'nowAddress'
},
{
title
:
'户籍地址'
,
key
:
'registeredCodeName'
},
{
title
:
'详细地址'
,
key
:
'permanentAddress'
}
],
columnsScreen
:
[
{
title
:
'年龄'
,
key
:
'currentAge'
,
unit
:
'岁'
},
{
title
:
'既往史'
,
key
:
'medicalHistoryName'
},
{
title
:
'身高'
,
key
:
'height'
,
unit
:
'cm'
},
{
title
:
'体重'
,
key
:
'weight'
,
unit
:
'kg'
},
{
title
:
'BMI'
,
key
:
'bmi'
,
unit
:
'kg/m²'
},
{
title
:
'腰围'
,
key
:
'waistline'
,
unit
:
'cm'
},
{
title
:
'是否吸烟'
,
key
:
'isSmokingName'
},
{
title
:
'家族史'
,
key
:
'familyHistoryName'
},
{
title
:
'血压值'
,
key
:
'pressure'
},
{
title
:
'空腹血糖'
,
key
:
'fastingGlucose'
,
unit
:
'mmol/L'
},
{
title
:
'低密度脂蛋白胆固醇'
,
key
:
'ldlCholesterin'
,
unit
:
'mmol/L'
},
{
title
:
'血清总胆固醇'
,
key
:
'serumCholesterin'
,
unit
:
'mmol/L'
},
{
title
:
'高密度脂蛋白胆固醇'
,
key
:
'hdlCholesterin'
,
unit
:
'mmol/L'
},
{
title
:
'运动'
,
key
:
'exerciseIntensityName'
},
{
title
:
'慢病高危评估结果'
,
key
:
'screenResultName'
},
{
title
:
'筛查日期'
,
key
:
'screenDate'
},
{
title
:
'筛查机构'
,
key
:
'screenUnitName'
}
]
store
:
useStore
(),
activeCollapse
:
[],
collapseList
:
[]
}
},
computed
:
{
id
()
{
return
this
.
$route
.
params
.
id
},
resident
Info
()
{
return
this
.
info
.
residentsRecord
||
{}
}
user
Info
()
{
return
this
.
store
.
userInfo
}
,
},
created
()
{
if
(
!
this
.
id
)
{
showNotify
({
type
:
'warning'
,
message
:
'未获取到查询信息'
,
duration
:
0
})
return
}
this
.
init
()
},
methods
:
{
init
()
{
quer
ScreenDetail
({
id
:
this
.
id
}).
then
(
res
=>
{
second
ScreenDetail
({
id
:
this
.
id
}).
then
(
res
=>
{
this
.
info
=
res
.
data
||
{}
console
.
log
(
this
.
info
)
})
},
onBack
()
{
...
...
@@ -145,20 +49,7 @@ export default {
<
style
lang=
"less"
scoped
>
@import url('../../utils/common.less');
table {
text-align: left;
border-bottom: 1px solid var(--van-cell-border-color);
>tr {
>td {
padding-left: 14px;
padding-bottom: 12px;
&:first-child {
text-align: right;
padding-left: 0;
}
}
}
}
.list {
.label {
min-width: 5em;
...
...
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