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
63ef7beb
Commit
63ef7beb
authored
Feb 06, 2025
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
parents
4be9763c
d513f99c
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
7 deletions
+12
-7
Doctor.vue
src/doctor/Doctor.vue
+1
-1
BaseInfo.vue
src/doctor/followUp/separateFU/form/BaseInfo.vue
+4
-2
FormCont.vue
src/doctor/followUp/separateFU/form/FormCont.vue
+6
-3
Index.vue
src/doctor/followUp/separateFU/form/Index.vue
+1
-1
DiabetesForm.vue
...ctor/followUp/separateFU/form/components/DiabetesForm.vue
+0
-0
No files found.
src/doctor/Doctor.vue
View file @
63ef7beb
...
...
@@ -66,7 +66,7 @@ export default {
if
(
!
token
)
{
token
=
sessionStorage
.
getItem
(
'token'
)
if
(
process
.
env
.
NODE_ENV
!==
'production'
)
{
token
=
'
8d237363-0095-4606-b079-f776a2c0bf35
'
token
=
'
2f3d10c8-d036-4a64-82e1-08d122359e94
'
}
}
if
(
token
)
{
...
...
src/doctor/followUp/separateFU/form/BaseInfo.vue
View file @
63ef7beb
...
...
@@ -8,7 +8,7 @@
placeholder=
"请选择"
:rules=
"rules.diseaseTypeName"
@
click=
"showDiseaseType = true"
class=
"form-input"
class=
"form-input
mb-5
"
/>
<van-popup
v-model:show=
"showDiseaseType"
position=
"bottom"
>
<div
class=
"p-4"
style=
"height: 100%"
>
...
...
@@ -30,7 +30,8 @@
</div>
</van-popup>
<div
class=
"label-title mt-5"
required
>
请选择
</div>
<template
v-if=
"form.diseaseType === 1 || form.diseaseType === 2"
>
<div
class=
"label-title"
required
>
请选择
</div>
<van-field
:rules=
"rules.serveType"
style=
"padding: 0"
class=
"mb-5"
>
<template
#
input
>
<van-radio-group
...
...
@@ -44,6 +45,7 @@
</van-radio-group>
</
template
>
</van-field>
</template>
<ArchiveCommon
ref=
"archive"
:info=
"info"
></ArchiveCommon>
</van-form>
...
...
src/doctor/followUp/separateFU/form/FormCont.vue
View file @
63ef7beb
<
template
>
<div>
<HypertensionForm
v-if=
"diseaseType === 1"
ref=
"hypertensionForm"
></HypertensionForm>
<HypertensionForm
v-if=
"diseaseInfo.diseaseType === 1"
ref=
"hypertensionForm"
></HypertensionForm>
<DiabetesForm
v-if=
"diseaseType === 2"
></DiabetesForm>
</div>
</
template
>
<
script
>
import
HypertensionForm
from
'./components/HypertensionForm.vue'
import
DiabetesForm
from
'./components/DiabetesForm.vue'
import
{
addHypertensionForm
}
from
'@/api/doctor/separateFU'
export
default
{
components
:
{
HypertensionForm
},
components
:
{
HypertensionForm
,
DiabetesForm
},
props
:
{
baseInfo
:
{
type
:
Object
,
...
...
@@ -20,7 +22,7 @@ export default {
},
data
()
{
return
{
diseaseType
:
1
diseaseType
:
2
}
},
computed
:
{
...
...
@@ -36,6 +38,7 @@ export default {
residentsRecord
:
this
.
baseInfo
,
...
hypertensionForm
,
residentInfoId
:
this
.
residentInfoId
,
source
:
2
}
return
await
addHypertensionForm
(
form
,
true
)
}
...
...
src/doctor/followUp/separateFU/form/Index.vue
View file @
63ef7beb
...
...
@@ -25,7 +25,7 @@ export default {
components
:
{
BaseInfo
,
FormCont
},
data
()
{
return
{
step
:
1
,
step
:
2
,
baseInfo
:
{},
diseaseInfo
:
{}
}
...
...
src/doctor/followUp/separateFU/form/components/DiabetesForm.vue
0 → 100644
View file @
63ef7beb
This diff is collapsed.
Click to expand it.
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