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
a9677931
Commit
a9677931
authored
Dec 02, 2024
by
songrui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
医生端 修改居民信息
parent
0f6d77b6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
50 additions
and
6 deletions
+50
-6
Doctor.vue
src/doctor/Doctor.vue
+1
-1
BaseInfo.vue
src/doctor/archives/form/BaseInfo.vue
+0
-0
DocNavBar.vue
src/doctor/components/docNavBar/DocNavBar.vue
+1
-1
PatientDetail.vue
src/doctor/patientDetail/PatientDetail.vue
+43
-4
index.js
src/router/index.js
+5
-0
No files found.
src/doctor/Doctor.vue
View file @
a9677931
...
...
@@ -52,7 +52,7 @@ export default {
if
(
!
token
)
{
token
=
sessionStorage
.
getItem
(
'token'
)
if
(
process
.
env
.
NODE_ENV
!==
'production'
)
{
token
=
'
e85be59c-b842-4e7a-b8eb-b9be87df2b56
'
token
=
'
c57e0e9b-4d0d-4e50-9946-771e8ef39ca0
'
}
}
if
(
token
)
{
...
...
src/doctor/archives/form/BaseInfo.vue
0 → 100644
View file @
a9677931
This diff is collapsed.
Click to expand it.
src/doctor/components/docNavBar/DocNavBar.vue
View file @
a9677931
...
...
@@ -7,7 +7,7 @@
</span>
</slot>
</div>
<div
class=
"grow text-center title"
>
<div
class=
"grow text-center
font-semibold
title"
>
<slot>
{{
title
}}
</slot>
...
...
src/doctor/patientDetail/PatientDetail.vue
View file @
a9677931
...
...
@@ -2,7 +2,7 @@
<div
class=
"h-full flex flex-col patient-detail"
>
<DocNavBar
title=
"居民详情"
class=
"shrink-0"
>
<template
#
right
>
<span
class=
"text-primary"
>
新增
</span>
<span
class=
"text-primary"
@
click=
"() => addVisible = true"
>
新增
</span>
</
template
>
</DocNavBar>
<div
class=
"grow flex flex-col"
style=
"background: #f5f5f5;min-height: 0px;"
>
...
...
@@ -12,7 +12,7 @@
<span
class=
"name mr-2"
>
{{ residentInfo.residentName || '-' }}
</span>
<span
class=
"tag mr-2"
>
{{ residentInfo.currentAge || '-' }}岁
</span>
<span
class=
"tag mr-2"
>
{{ residentInfo.genderName || '-' }}
</span>
<doc-icon
type=
"doc-edit"
class=
"text-primary"
/>
<doc-icon
type=
"doc-edit"
class=
"text-primary"
@
click=
"toArchivesEdit"
/>
</div>
<div
class=
"flex flex-col gap-y-2.5"
>
<div>
...
...
@@ -60,6 +60,24 @@
<div
class=
"grow py-3 px-2"
style=
"min-height: 0px;"
v-if=
"residentInfo.id"
>
<ScreeningList
v-if=
"activeTabItem.id === 'SCREENING'"
/>
</div>
<van-popup
v-model:show=
"addVisible"
position=
"bottom"
>
<div
class=
"popup-bottom-panel"
>
<div
class=
"p-4 text-16 flex items-center justify-between"
style=
"border-bottom: 1px solid #c0ccdf;"
>
<span
class=
"left"
@
click=
"addVisible = false"
>
取消
</span>
<span
class=
"font-semibold"
>
请选择
</span>
<span
class=
"right"
style=
"width: .32rem;"
></span>
</div>
<div
class=
"p-4"
>
<CheckBtn
:options=
"addOptions"
@
change=
"onAddChange"
column-1
/>
<div
class=
"pb-4"
></div>
</div>
</div>
</van-popup>
</div>
</div>
</template>
...
...
@@ -70,12 +88,14 @@ import ChronicTag from '@/doctor/components/chronicTag/ChronicTag.vue'
import
{
queryResidentInfo
}
from
'@/api/doctor/resident.js'
import
{
showNotify
}
from
'vant'
import
ScreeningList
from
'./components/screening/Index.vue'
import
CheckBtn
from
'@/doctor/components/checkBtn/CheckBtn.vue'
export
default
{
components
:
{
DocNavBar
,
ChronicTag
,
ScreeningList
ScreeningList
,
CheckBtn
},
data
()
{
return
{
...
...
@@ -83,7 +103,12 @@ export default {
// 折叠
collapsed
:
true
,
// 标签页index
activeTab
:
0
activeTab
:
0
,
// 新增弹窗
addVisible
:
false
,
addOptions
:
[
{
name
:
'新增通用随访'
,
value
:
1
,
path
:
'/doctor/followUp/generalFU/add'
}
]
}
},
provide
()
{
...
...
@@ -134,6 +159,20 @@ export default {
queryResidentInfo
({
residentInfoId
:
this
.
residentInfoId
}).
then
(
res
=>
{
this
.
residentInfo
=
res
.
data
||
{}
})
},
onAddChange
(
val
,
option
)
{
console
.
log
(
val
,
option
)
this
.
addVisible
=
false
this
.
$router
.
push
({
path
:
option
.
path
,
query
:
{
residentInfoId
:
this
.
residentInfoId
}
})
},
toArchivesEdit
()
{
this
.
$router
.
push
({
path
:
'/doctor/archives-form'
,
query
:
{
residentInfoId
:
this
.
residentInfoId
}
})
}
}
}
...
...
src/router/index.js
View file @
a9677931
...
...
@@ -55,6 +55,11 @@ const routes = [
name
:
'doctor-patient-detail'
,
component
:
()
=>
import
(
/* webpackChunkName: "doctor" */
'@/doctor/patientDetail/PatientDetail.vue'
)
},
{
path
:
'archives-form'
,
name
:
'doctor-archives-form'
,
component
:
()
=>
import
(
/* webpackChunkName: "doctor" */
'@/doctor/archives/form/BaseInfo.vue'
)
},
{
...
...
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