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
ef5144e9
Commit
ef5144e9
authored
Dec 26, 2024
by
gengchunlei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
医生端小程序 v1.2 1、push
parent
ca5588e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
48 additions
and
0 deletions
+48
-0
SecondForm.vue
src/doctor/screening/second/SecondForm.vue
+48
-0
No files found.
src/doctor/screening/second/SecondForm.vue
View file @
ef5144e9
<
template
>
<
template
>
<div
class=
"h-full flex flex-col screening-second"
>
<div
class=
"h-full flex flex-col screening-second"
>
<DocNavBar
:title=
"`$
{id ? '修改' : '新增'}专病高危筛查`" class="shrink-0">
</DocNavBar>
<DocNavBar
:title=
"`$
{id ? '修改' : '新增'}专病高危筛查`" class="shrink-0">
</DocNavBar>
<div>
<archive-common
:info=
'info'
></archive-common>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
DocNavBar
from
'@/doctor/components/docNavBar/DocNavBar.vue'
import
DocNavBar
from
'@/doctor/components/docNavBar/DocNavBar.vue'
import
ArchiveCommon
from
'@/doctor/components/archiveCommon/archiveCommon'
import
{
fetchCurrencyById
,
getChronicResidentsId
,
getResidentWX
}
from
'@/api/doctor/generalFU'
export
default
{
export
default
{
components
:
{
components
:
{
ArchiveCommon
,
DocNavBar
DocNavBar
},
},
data
()
{
return
{
info
:
{}
}
},
computed
:
{
computed
:
{
id
()
{
id
()
{
return
this
.
$route
.
query
.
id
return
this
.
$route
.
query
.
id
...
@@ -18,6 +29,43 @@ export default {
...
@@ -18,6 +29,43 @@ export default {
residentInfoId
()
{
residentInfoId
()
{
return
this
.
$route
.
query
.
residentInfoId
return
this
.
$route
.
query
.
residentInfoId
}
}
},
created
()
{
this
.
init
()
},
methods
:
{
async
init
()
{
this
.
info
=
{}
if
(
this
.
id
)
{
const
res
=
await
fetchCurrencyById
({
id
:
this
.
id
})
let
result
=
res
.
data
||
{}
const
{
residentsRecord
=
{}
}
=
result
const
{
id
,
...
others
}
=
residentsRecord
this
.
info
=
{
...
others
,
personId
:
id
,
...
result
}
}
else
{
const
res
=
await
getChronicResidentsId
(
this
.
routerDetail
.
residentInfoId
)
const
{
id
,
createDate
,
createDoctorId
,
createDoctorName
,
createOfficeId
,
createOfficeName
,
createUnitId
,
createUnitName
,
updated
,
...
others
}
=
res
.
data
this
.
info
=
{
personId
:
id
,
...
others
,
}
}
},
}
}
}
}
</
script
>
</
script
>
...
...
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