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
cb901851
Commit
cb901851
authored
Feb 08, 2025
by
songrui
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'chronic-dev' of
http://gitlab.yiboshi.com/nightkis1995/frontend-h5
into chronic-dev
parents
edb5c89a
bee2daa1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
46 additions
and
11 deletions
+46
-11
separateFU.js
src/api/doctor/separateFU.js
+9
-0
FormCont.vue
src/doctor/followUp/separateFU/form/FormCont.vue
+25
-7
Index.vue
src/doctor/followUp/separateFU/form/Index.vue
+1
-1
CoronaryHeartDiseaseForm.vue
...p/separateFU/form/components/CoronaryHeartDiseaseForm.vue
+0
-0
DiabetesForm.vue
...ctor/followUp/separateFU/form/components/DiabetesForm.vue
+0
-0
Visit.vue
src/doctor/patientDetail/components/disease/Visit.vue
+11
-3
No files found.
src/api/doctor/separateFU.js
View file @
cb901851
...
...
@@ -3,4 +3,12 @@ import { fetchBase } from '@/api/doctor/doctorFetch'
// 新增高血压随访
export
function
addHypertensionForm
(
params
)
{
return
fetchBase
({
url
:
`/chronic-admin/v1/chronic-visit-hypertension/save`
,
body
:
params
,
loading
:
true
})
}
// 新增糖尿病随访
export
function
addDiabetesForm
(
params
)
{
return
fetchBase
({
url
:
`/chronic-admin/v1/chronic-visit-diabetes/save`
,
body
:
params
,
loading
:
true
})
}
// 新增冠心病随访
export
function
addCoronaryHeartDiseaseForm
(
params
)
{
return
fetchBase
({
url
:
`/chronic-admin/v1/chronic-visit-coronary/save`
,
body
:
params
,
loading
:
true
})
}
\ No newline at end of file
src/doctor/followUp/separateFU/form/FormCont.vue
View file @
cb901851
<
template
>
<div>
<HypertensionForm
v-if=
"diseaseInfo.diseaseType === 1"
ref=
"hypertensionForm"
></HypertensionForm>
<DiabetesForm
v-if=
"diseaseType === 2"
></DiabetesForm>
<DiabetesForm
v-if=
"diseaseInfo.diseaseType === 2"
ref=
"diabetesForm"
></DiabetesForm>
<CoronaryHeartDiseaseForm
v-if=
"diseaseInfo.diseaseType === 3"
ref=
"coronaryHeartDiseaseForm"
></CoronaryHeartDiseaseForm>
</div>
</
template
>
<
script
>
import
HypertensionForm
from
'./components/HypertensionForm.vue'
import
DiabetesForm
from
'./components/DiabetesForm.vue'
import
{
addHypertensionForm
}
from
'@/api/doctor/separateFU'
import
CoronaryHeartDiseaseForm
from
'./components/CoronaryHeartDiseaseForm.vue'
import
{
addHypertensionForm
,
addDiabetesForm
,
addCoronaryHeartDiseaseForm
}
from
'@/api/doctor/separateFU'
export
default
{
components
:
{
HypertensionForm
,
DiabetesForm
},
components
:
{
HypertensionForm
,
DiabetesForm
,
CoronaryHeartDiseaseForm
},
props
:
{
baseInfo
:
{
type
:
Object
,
...
...
@@ -22,7 +24,7 @@ export default {
},
data
()
{
return
{
diseaseType
:
2
//
diseaseType: 2
}
},
computed
:
{
...
...
@@ -32,15 +34,31 @@ export default {
},
methods
:
{
async
submit
()
{
const
hypertensionForm
=
await
this
.
$refs
.
hypertensionForm
.
submit
()
let
form
=
{
...
this
.
diseaseInfo
,
residentsRecord
:
this
.
baseInfo
,
...
hypertensionForm
,
residentInfoId
:
this
.
residentInfoId
,
source
:
2
}
return
await
addHypertensionForm
(
form
,
true
)
if
(
this
.
diseaseInfo
.
diseaseType
===
1
)
{
const
hypertensionForm
=
await
this
.
$refs
.
hypertensionForm
.
submit
()
return
await
addHypertensionForm
({
...
form
,
...
hypertensionForm
},
true
)
}
else
if
(
this
.
diseaseInfo
.
diseaseType
===
2
)
{
const
diabetesForm
=
await
this
.
$refs
.
diabetesForm
.
submit
()
return
await
addDiabetesForm
({
...
form
,
...
diabetesForm
},
true
)
}
else
if
(
this
.
diseaseInfo
.
diseaseType
===
3
)
{
const
coronaryHeartDiseaseForm
=
await
this
.
$refs
.
coronaryHeartDiseaseForm
.
submit
()
return
await
addCoronaryHeartDiseaseForm
({
...
form
,
...
coronaryHeartDiseaseForm
},
true
)
}
}
}
}
...
...
src/doctor/followUp/separateFU/form/Index.vue
View file @
cb901851
...
...
@@ -25,7 +25,7 @@ export default {
components
:
{
BaseInfo
,
FormCont
},
data
()
{
return
{
step
:
2
,
step
:
1
,
baseInfo
:
{},
diseaseInfo
:
{}
}
...
...
src/doctor/followUp/separateFU/form/components/CoronaryHeartDiseaseForm.vue
0 → 100644
View file @
cb901851
This diff is collapsed.
Click to expand it.
src/doctor/followUp/separateFU/form/components/DiabetesForm.vue
View file @
cb901851
This diff is collapsed.
Click to expand it.
src/doctor/patientDetail/components/disease/Visit.vue
View file @
cb901851
...
...
@@ -69,8 +69,9 @@
</
template
>
<
script
>
import
{
getVisitManageList
}
from
'@/api/doctor/disease.js'
import
{
delDiagnose
,
getVisitManageList
}
from
'@/api/doctor/disease.js'
import
{
useStore
}
from
'@/doctor/store'
import
{
showConfirmDialog
}
from
'vant'
export
default
{
inject
:
[
'residentInfo'
],
...
...
@@ -143,8 +144,14 @@ export default {
if
(
record
.
id
==
null
)
{
this
.
$message
.
info
(
'暂时无法查看 详情信息'
)
return
}
// 通用随访
}
else
if
(
record
.
source
==
7
)
{
//数据来源为his时展示 `请在医生PC端查看详情`
showConfirmDialog
({
message
:
'请在医生PC端查看详情'
}).
then
(()
=>
{}).
catch
((
err
)
=>
{})
}
else
{
//随访详情
this
.
$router
.
push
({
path
:
'/doctor/followUp/detail'
,
query
:
{
...
...
@@ -153,6 +160,7 @@ export default {
diseaseType
:
this
.
diseaseType
,
}
})
}
},
editBtn
()
{
...
...
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