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
4ae046e5
Commit
4ae046e5
authored
May 28, 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
5fb9fd7b
e4dce584
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
116 additions
and
6 deletions
+116
-6
disease.js
src/api/doctor/disease.js
+6
-0
Visit.vue
src/doctor/patientDetail/components/disease/Visit.vue
+110
-6
No files found.
src/api/doctor/disease.js
View file @
4ae046e5
...
@@ -53,4 +53,9 @@ export function fetchCurrencyByUuid(params) {
...
@@ -53,4 +53,9 @@ export function fetchCurrencyByUuid(params) {
// 删除随访
// 删除随访
export
function
deleteVisitRecord
(
params
)
{
export
function
deleteVisitRecord
(
params
)
{
return
fetchBase
({
url
:
`/chronic-admin/v1/chronic-visit-record/delete`
,
body
:
params
,
loading
:
true
})
return
fetchBase
({
url
:
`/chronic-admin/v1/chronic-visit-record/delete`
,
body
:
params
,
loading
:
true
})
}
// 专病随访风险评估
export
function
addEvaluationResults
(
params
)
{
return
fetchBase
({
url
:
`/chronic-admin/v1/chronic-visit-record/save-evaluation-results`
,
body
:
params
,
loading
:
true
})
}
}
\ No newline at end of file
src/doctor/patientDetail/components/disease/Visit.vue
View file @
4ae046e5
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
<van-button
round
size=
'small'
class=
'doc-btn-primary'
@
click
.
stop=
'toDetail(item)'
>
详情
<van-button
round
size=
'small'
class=
'doc-btn-primary'
@
click
.
stop=
'toDetail(item)'
>
详情
</van-button>
</van-button>
<!-- 评估 -->
<!-- 评估 -->
<van-button
round
size=
'small'
class=
'doc-btn-primary'
@
click
.
stop=
'
showEvaluation = true
'
v-if=
'!(item.allowUpdate !==1 || item.serveType == 5)'
>
评估
</van-button>
<van-button
round
size=
'small'
class=
'doc-btn-primary'
@
click
.
stop=
'
toEvaluation(item)
'
v-if=
'!(item.allowUpdate !==1 || item.serveType == 5)'
>
评估
</van-button>
<van-button
round
size=
'small'
class=
'doc-btn-primary'
@
click
.
stop=
'editBtn(item)'
<van-button
round
size=
'small'
class=
'doc-btn-primary'
@
click
.
stop=
'editBtn(item)'
v-if=
'!(item.allowUpdate !==1 || item.serveType == 5)'
>
修改
v-if=
'!(item.allowUpdate !==1 || item.serveType == 5)'
>
修改
</van-button>
</van-button>
...
@@ -75,18 +75,50 @@
...
@@ -75,18 +75,50 @@
<p>
暂无数据
</p>
<p>
暂无数据
</p>
</div>
</div>
</van-pull-refresh>
</van-pull-refresh>
<van-popup
v-model:show=
"showEvaluation"
position=
"bottom"
:close-on-click-overlay=
"false"
>
<div
class=
"p-4"
style=
"height: 100%"
>
<div
class=
"flex justify-between items-center mb-4 pop-title"
>
<div
class=
"greyColor"
@
click=
"cancelEvaluation"
>
取消
</div>
<div>
风险评估
</div>
<div
class=
"blueColor"
@
click=
"evaluationConfirm"
>
确定
</div>
</div>
<div
style=
"height: 360px; overflow: auto"
>
<!--
<CheckBtn
column-1
:options=
"evaluationList"
v-model:value=
"evaluation"
:fieldNames=
"
{ text: 'name', value: 'value' }"
/> -->
<div
:class=
"['radio-box', evaluation === 1 ? 'active' : '']"
@
click=
"clickBtn(1)"
>
<span
style=
"color: #D9001B"
>
【红】
</span>
<span>
出现危急症等情况,连续随访、跟踪服务,并做好及时上转治疗
</span>
</div>
<div
:class=
"['radio-box', evaluation === 2 ? 'active' : '']"
@
click=
"clickBtn(2)"
>
<span
style=
"color: #F59A23"
>
【黄】
</span>
<span>
出现靶器官损害,或出现并发症,每2月随访1次
</span>
</div>
<div
:class=
"['radio-box', evaluation === 3 ? 'active' : '']"
@
click=
"clickBtn(3)"
>
<span
style=
"color: #70B603"
>
【绿】
</span>
<span>
无靶器官损害,无并发症
</span>
</div>
</div>
</div>
</van-popup>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
delDiagnose
,
deleteVisitRecord
,
getVisitManageList
}
from
'@/api/doctor/disease.js'
import
{
delDiagnose
,
deleteVisitRecord
,
getVisitManageList
,
addEvaluationResults
}
from
'@/api/doctor/disease.js'
import
{
useStore
}
from
'@/doctor/store'
import
{
useStore
}
from
'@/doctor/store'
import
{
showConfirmDialog
}
from
'vant'
import
{
showConfirmDialog
}
from
'vant'
import
{
delHighVisit
}
from
'@/api/doctor/highVisitApi'
import
{
delHighVisit
}
from
'@/api/doctor/highVisitApi'
import
CheckBtn
from
'@/doctor/components/checkBtn/CheckBtn.vue'
// import CheckBtn from '@/doctor/components/checkBtn/CheckBtn.vue'
// import { showNotify } from 'vant'
import
dayjs
from
'dayjs'
export
default
{
export
default
{
components
:
{
CheckBtn
},
//
components: { CheckBtn },
inject
:
[
'residentInfo'
],
inject
:
[
'residentInfo'
],
props
:
{
props
:
{
diseaseType
:
Number
diseaseType
:
Number
...
@@ -103,12 +135,20 @@ export default {
...
@@ -103,12 +135,20 @@ export default {
loading
:
false
,
loading
:
false
,
finished
:
false
,
finished
:
false
,
loadingRefresh
:
false
,
loadingRefresh
:
false
,
isRefreshDisable
:
false
isRefreshDisable
:
false
,
showEvaluation
:
false
,
evaluationList
:
[],
evaluation
:
undefined
,
relationId
:
undefined
}
}
},
},
computed
:
{
computed
:
{
residentInfoId
()
{
residentInfoId
()
{
return
this
.
residentInfo
().
residentInfoId
return
this
.
residentInfo
().
residentInfoId
},
authInfo
()
{
return
this
.
store
.
authInfo
}
}
},
},
created
()
{
created
()
{
...
@@ -215,6 +255,42 @@ export default {
...
@@ -215,6 +255,42 @@ export default {
}).
catch
((
err
)
=>
{
console
.
warn
(
'delBtn'
,
err
)
})
}).
catch
((
err
)
=>
{
console
.
warn
(
'delBtn'
,
err
)
})
},
},
toEvaluation
(
item
)
{
this
.
showEvaluation
=
true
this
.
relationId
=
item
.
relationId
},
cancelEvaluation
()
{
this
.
showEvaluation
=
false
this
.
evaluation
=
undefined
},
clickBtn
(
val
)
{
this
.
evaluation
=
val
},
evaluationConfirm
()
{
if
(
!
this
.
evaluation
)
{
showNotify
({
type
:
'warning'
,
message
:
'请选择风险评估项!'
});
return
}
let
params
=
{
diseaseType
:
this
.
diseaseType
,
id
:
this
.
relationId
,
evaluationResults
:
this
.
evaluation
,
evaluationDate
:
dayjs
().
format
(
'YYYY-MM-DD'
),
evaluationUnitId
:
this
.
authInfo
.
unitId
,
evaluationUnitName
:
this
.
authInfo
.
unitName
,
evaluationOfficeId
:
this
.
authInfo
.
officeId
,
evaluationOfficeName
:
this
.
authInfo
.
officeName
,
evaluationDoctorId
:
this
.
authInfo
.
relationId
,
evaluationDoctorName
:
this
.
authInfo
.
nickName
}
addEvaluationResults
(
params
).
then
(
res
=>
{
this
.
$message
.
success
(
'操作成功'
)
// this.showEvaluation = false
this
.
cancelEvaluation
()
this
.
load
()
})
}
},
},
watch
:
{
watch
:
{
diseaseType
()
{
diseaseType
()
{
...
@@ -229,5 +305,33 @@ export default {
...
@@ -229,5 +305,33 @@ export default {
</
script
>
</
script
>
<
style
lang=
'less'
scoped
>
<
style
lang=
'less'
scoped
>
.pop-title {
color: #262626;
font-size: 16px;
font-weight: 600;
}
.greyColor {
color: var(--van-text-color-2);
font-weight: 400;
}
.blueColor {
color: #607FF0;
font-weight: 500;
}
.radio-box {
border: 1px solid transparent;
background-color: #FAFAFA;
border-radius: 8px;
margin-bottom: 8px;
padding: 8px;
display: flex;
align-items: flex-start;
color: #262626;
line-height: 20px;
}
.radio-box.active {
border: 1px solid var(--van-primary-color);
background-color: #F0F6FF;
color: var(--van-primary-color);
}
</
style
>
</
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