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
4c64bd0d
Commit
4c64bd0d
authored
Dec 26, 2024
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
Conflicts: src/doctor/Doctor.vue
parents
ef5144e9
c1e65c89
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
151 additions
and
10 deletions
+151
-10
atomic.less
src/assets/css/atomic.less
+1
-0
archiveCommon.vue
src/doctor/components/archiveCommon/archiveCommon.vue
+2
-1
DocNavBar.vue
src/doctor/components/docNavBar/DocNavBar.vue
+6
-1
List.vue
src/doctor/patientDetail/components/disease/List.vue
+5
-2
Record.vue
src/doctor/patientDetail/components/screening/Record.vue
+4
-2
Visit.vue
src/doctor/patientDetail/components/screening/Visit.vue
+5
-2
FormCont.vue
src/doctor/screening/first/FormCont.vue
+15
-0
FristForm.vue
src/doctor/screening/first/FristForm.vue
+59
-2
Result.vue
src/doctor/screening/first/Result.vue
+54
-0
No files found.
src/assets/css/atomic.less
View file @
4c64bd0d
...
...
@@ -80,6 +80,7 @@
// 字体大小
.text-16 { font-size: 16px; }
.text-12 { font-size: 12px; }
.text-start { text-align: start; }
.text-center { text-align: center; }
.text-end { text-align: end; }
.text-black { color: #000; }
...
...
src/doctor/components/archiveCommon/archiveCommon.vue
View file @
4c64bd0d
...
...
@@ -322,7 +322,8 @@ export default {
'info'
:
{
handler
()
{
this
.
init
()
}
},
immediate
:
true
}
},
methods
:
{
...
...
src/doctor/components/docNavBar/DocNavBar.vue
View file @
4c64bd0d
...
...
@@ -26,10 +26,15 @@ export default {
props
:
{
title
:
String
,
// 是否首页
home
:
Boolean
home
:
Boolean
,
backFunc
:
Function
},
methods
:
{
goBack
()
{
if
(
this
.
backFunc
)
{
this
.
backFunc
()
return
}
if
(
this
.
home
)
{
backHome
()
return
...
...
src/doctor/patientDetail/components/disease/List.vue
View file @
4c64bd0d
...
...
@@ -5,7 +5,9 @@
<div
v-for=
"item in diagnoseRecord"
:key=
"item.id"
class=
"card-back-1 mb-3"
>
<div
class=
"title px-4 py-1"
>
诊断列表
</div>
<div
class=
"flex flex-col py-3 px-4 doc-list-card"
style=
"row-gap: .04rem;line-height: 1.5;"
>
<div
class=
"py-3 px-4 doc-list-card"
>
<div
class=
"flex flex-col"
style=
"row-gap: .04rem;line-height: 1.5;"
@
click=
"toDetail(item)"
>
<div
class=
"flex"
>
<span
class=
"label shrink-0"
>
诊断名称
</span>
<span
class=
"grow text-wrap"
>
{{
item
.
diseaseName
}}
(
{{
item
.
icdCode
}}
)
</span>
...
...
@@ -38,7 +40,8 @@
<span
class=
"label"
>
纳入管理日期
</span>
<span>
{{
item
.
manageDate
}}
</span>
</div>
<div
class=
"divider my-2"
></div>
</div>
<div
class=
"divider my-3"
></div>
<div
class=
"bt-group"
>
<van-button
round
size=
"small"
class=
"doc-btn-primary"
@
click=
"toDetail(item)"
>
详情
</van-button>
<van-button
round
size=
"small"
class=
"doc-btn-primary"
@
click=
'editBtn(item)'
...
...
src/doctor/patientDetail/components/screening/Record.vue
View file @
4c64bd0d
...
...
@@ -6,7 +6,8 @@
class=
"first-card mb-3"
>
<div
class=
"title px-4 py-1"
>
主要慢病筛查记录
</div>
<div
class=
"py-3 px-4 doc-list-card"
>
<div
class=
"flex flex-col"
style=
"row-gap: .04rem;line-height: 1.5;"
>
<div
class=
"flex flex-col"
style=
"row-gap: .04rem;line-height: 1.5;"
@
click=
"toFirstDetail(item)"
>
<div
class=
"flex"
>
<span
class=
"label shrink-0"
>
高危评估
</span>
<span
class=
"grow"
>
{{
item
.
screenResultName
}}
</span>
...
...
@@ -50,7 +51,8 @@
class=
"second-card mb-3"
>
<div
class=
"title px-4 py-1"
>
专病筛查记录
</div>
<div
class=
" py-3 px-4 doc-list-card"
>
<div
class=
"flex flex-col"
style=
"row-gap: .04rem;line-height: 1.5;"
>
<div
class=
"flex flex-col"
style=
"row-gap: .04rem;line-height: 1.5;"
@
click=
"toSecondDetail(item)"
>
<div
class=
"flex"
>
<span
class=
"label shrink-0"
>
高危评估
</span>
<span
class=
"grow"
>
{{
item
.
specialScreenResultName
}}
</span>
...
...
src/doctor/patientDetail/components/screening/Visit.vue
View file @
4c64bd0d
...
...
@@ -15,7 +15,9 @@
{'second-card': item.serveType == 2},
{'general-card': item.serveType == 3}]">
<div
class=
"title px-4 py-1"
>
{{
item
.
serveTypeName
}}
</div>
<div
class=
"flex flex-col gap-y-2.5 py-3 px-4 doc-list-card"
@
click=
"toDetail(item)"
>
<div
class=
"py-3 px-4 doc-list-card"
@
click=
"toDetail(item)"
>
<div
class=
"flex flex-col"
style=
"row-gap: .04rem;line-height: 1.5;"
@
click=
"toDetail(item)"
>
<div>
<span
class=
"label"
>
随访日期
</span>
<span>
{{
item
.
visitDate
}}
</span>
...
...
@@ -36,7 +38,8 @@
<span
class=
"label"
>
随访机构
</span>
<span>
{{
item
.
visitUnitName
||
'-'
}}
</span>
</div>
<div
class=
"divider"
v-if=
"item.serveType == 3"
></div>
</div>
<div
class=
"divider my-3"
v-if=
"item.serveType == 3"
></div>
<div
class=
"bt-group"
v-if=
"item.serveType == 3"
>
<van-button
round
size=
"small"
class=
"doc-btn-primary"
@
click=
"toDetail(item)"
>
详情
</van-button>
<!--
<van-button
round
size=
"small"
class=
"doc-btn-primary"
@
click=
'editBtn(item)'
...
...
src/doctor/screening/first/FormCont.vue
0 → 100644
View file @
4c64bd0d
<
template
>
<div
class=
"screening-first-cont"
>
form
</div>
</
template
>
<
script
>
export
default
{
}
</
script
>
<
style
lang=
"less"
scoped
>
</
style
>
src/doctor/screening/first/FristForm.vue
View file @
4c64bd0d
<
template
>
<div
class=
"h-full flex flex-col screening-first"
>
<DocNavBar
:title=
"`$
{id ? '修改' : '新增'}主要慢病高危筛查`" class="shrink-0">
</DocNavBar>
<DocNavBar
:title=
"`$
{id ? '修改' : '新增'}主要慢病高危筛查`" class="shrink-0"
:backFunc="onBack">
</DocNavBar>
<div
class=
"p-4 overflow-y-auto grow"
ref=
"all"
>
<archiveCommon
:info=
"baseInfo"
v-if=
"step == 1"
></archiveCommon>
<FormCont
v-else-if=
"step == 2"
/>
<Result
v-else-if=
"step == 3"
:residentInfoId=
"residentInfoId"
/>
</div>
<div
class=
"shrink-0"
v-if=
"step !== 3"
>
<div
class=
'bottom-small-line'
></div>
<div
class=
'px-5 py-2 grow flex justify-between'
>
<template
v-if=
'step == 1'
>
<van-button
type=
'primary'
block
round
@
click=
'toNext(2)'
>
下一步
</van-button>
</
template
>
<
template
v-else
>
<van-button
type=
'primary'
block
round
@
click=
'toNext(3)'
>
提交
</van-button>
</
template
>
</div>
</div>
</div>
</template>
<
script
>
import
DocNavBar
from
'@/doctor/components/docNavBar/DocNavBar.vue'
import
archiveCommon
from
'@/doctor/components/archiveCommon/archiveCommon.vue'
import
FormCont
from
'./FormCont.vue'
import
Result
from
'./Result.vue'
import
{
getChronicResidentsId
}
from
'@/api/doctor/generalFU'
export
default
{
components
:
{
DocNavBar
DocNavBar
,
archiveCommon
,
FormCont
,
Result
},
data
()
{
return
{
step
:
1
,
// 患者基础信息
baseInfo
:
{}
}
},
computed
:
{
id
()
{
...
...
@@ -18,6 +51,30 @@ export default {
residentInfoId
()
{
return
this
.
$route
.
query
.
residentInfoId
}
},
created
()
{
this
.
init
()
},
methods
:
{
async
init
()
{
if
(
this
.
id
)
{
}
else
{
let
res
=
await
getChronicResidentsId
(
this
.
residentInfoId
)
this
.
baseInfo
=
res
.
data
||
{}
}
},
toNext
(
val
)
{
this
.
$refs
.
all
.
scrollTo
(
0
,
0
)
this
.
step
=
val
},
onBack
()
{
if
(
this
.
step
==
1
)
{
this
.
$router
.
back
()
}
else
{
this
.
step
--
}
}
}
}
</
script
>
...
...
src/doctor/screening/first/Result.vue
0 → 100644
View file @
4c64bd0d
<
template
>
<div
class=
"screening-first-result text-center pt-3 px-3"
>
<doc-icon
type=
"doc-check-circle"
style=
"font-size: .46rem;"
/>
<div
class=
"mt-3"
>
筛查完成
</div>
<div
class=
"text-start mt-5"
>
<span
style=
"color: #595959;"
>
通过筛查,您的慢病高危评估结果为:
</span>
<span
class=
"text-red"
>
高危人群
</span>
</div>
<div
style=
"margin-top: .48rem"
>
<van-button
type=
'primary'
block
round
plain
@
click=
'toScreen'
>
专病高危筛查
</van-button>
<div
class=
"pt-3"
></div>
<van-button
type=
'primary'
block
round
plain
@
click=
'toDetail'
>
查看居民详情
</van-button>
<div
class=
"text-16 pt-5"
style=
"color: #8c8c8c;"
@
click=
"toWorkbench"
>
返回工作台
</div>
</div>
</div>
</
template
>
<
script
>
export
default
{
props
:
{
residentInfoId
:
String
},
methods
:
{
toScreen
()
{
this
.
$router
.
replace
({
path
:
'/doctor/screening/secondForm'
,
query
:
{
residentInfoId
:
this
.
residentInfoId
}
})
},
toDetail
()
{
this
.
$router
.
replace
({
path
:
'/doctor/patient-detail'
,
query
:
{
residentInfoId
:
this
.
residentInfoId
}
})
},
toWorkbench
()
{
this
.
$router
.
replace
({
path
:
'/doctor/workbench'
})
}
}
}
</
script
>
<
style
lang=
"less"
scoped
>
</
style
>
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