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
922eac2d
Commit
922eac2d
authored
Jan 22, 2025
by
gengchunlei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
医生端小程序 v1.2 1、居民详情随访列表接口替换
2、随访列表详情调整(his、通用、专病、公卫)
parent
e31dba42
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
190 additions
and
25 deletions
+190
-25
disease.js
src/api/doctor/disease.js
+1
-1
doctorFetch.js
src/api/doctor/doctorFetch.js
+1
-2
generalFU.js
src/api/doctor/generalFU.js
+6
-0
Doctor.vue
src/doctor/Doctor.vue
+1
-1
FollowUpDetail.vue
src/doctor/followUp/detail/FollowUpDetail.vue
+121
-0
CrsVisitDetail.vue
src/doctor/followUp/detail/components/CrsVisitDetail.vue
+19
-0
GwDetail.vue
src/doctor/followUp/detail/components/GwDetail.vue
+19
-0
Detail.vue
src/doctor/followUp/generalFU/detail/Detail.vue
+7
-7
PatientDetail.vue
src/doctor/patientDetail/PatientDetail.vue
+1
-0
Visit.vue
src/doctor/patientDetail/components/disease/Visit.vue
+11
-11
index.js
src/router/index.js
+3
-3
No files found.
src/api/doctor/disease.js
View file @
922eac2d
...
@@ -7,7 +7,7 @@ export function fetchDiseaseTypeList(params, loading) {
...
@@ -7,7 +7,7 @@ export function fetchDiseaseTypeList(params, loading) {
// 查询随访列表
// 查询随访列表
export
function
getVisitManageList
(
params
,
loading
)
{
export
function
getVisitManageList
(
params
,
loading
)
{
return
fetchBase
({
url
:
`/chronic-admin/v1/chronic-visit-record/
page
`
,
body
:
params
,
loading
})
return
fetchBase
({
url
:
`/chronic-admin/v1/chronic-visit-record/
record-list
`
,
body
:
params
,
loading
})
}
}
// 获取检验项目对码表
// 获取检验项目对码表
...
...
src/api/doctor/doctorFetch.js
View file @
922eac2d
...
@@ -34,7 +34,6 @@ export function fetchBase({
...
@@ -34,7 +34,6 @@ export function fetchBase({
backHome
()
backHome
()
return
return
}
}
let
bodys
=
{...
body
,
source
:
2
}
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
if
(
loading
)
{
if
(
loading
)
{
loadingList
++
loadingList
++
...
@@ -44,7 +43,7 @@ export function fetchBase({
...
@@ -44,7 +43,7 @@ export function fetchBase({
method
:
method
,
method
:
method
,
url
:
`
${
url
}
`
,
url
:
`
${
url
}
`
,
params
:
params
,
params
:
params
,
data
:
body
s
,
data
:
body
,
headers
:
{
headers
:
{
'Authorization'
:
`
${
token
}
`
,
'Authorization'
:
`
${
token
}
`
,
'Content-Type'
:
contentType
'Content-Type'
:
contentType
...
...
src/api/doctor/generalFU.js
View file @
922eac2d
...
@@ -78,4 +78,9 @@ export function upLoadMultifile(params) {
...
@@ -78,4 +78,9 @@ export function upLoadMultifile(params) {
//短信重发
//短信重发
export
function
messageResend
(
params
)
{
export
function
messageResend
(
params
)
{
return
fetchBase
({
url
:
`/chronic-admin/v1/chronic-visit-currency/resend-sms`
,
body
:
params
,
loading
:
true
})
return
fetchBase
({
url
:
`/chronic-admin/v1/chronic-visit-currency/resend-sms`
,
body
:
params
,
loading
:
true
})
}
//慢病管理列表主键查询
export
function
getVisitManageVByUuId
(
params
)
{
return
fetchBase
({
url
:
`/chronic-admin/v1/chronic-visit-record/record-uuid`
,
body
:
params
,
loading
:
true
})
}
}
\ No newline at end of file
src/doctor/Doctor.vue
View file @
922eac2d
...
@@ -66,7 +66,7 @@ export default {
...
@@ -66,7 +66,7 @@ export default {
if
(
!
token
)
{
if
(
!
token
)
{
token
=
sessionStorage
.
getItem
(
'token'
)
token
=
sessionStorage
.
getItem
(
'token'
)
if
(
process
.
env
.
NODE_ENV
!==
'production'
)
{
if
(
process
.
env
.
NODE_ENV
!==
'production'
)
{
token
=
'
f1f98c99-ac8d-47db-8066-fe24a548c784
'
token
=
'
095c2992-4a95-4f5b-bdbf-9415d0f69f85
'
}
}
}
}
if
(
token
)
{
if
(
token
)
{
...
...
src/doctor/followUp/detail/FollowUpDetail.vue
0 → 100644
View file @
922eac2d
<
template
>
<div
class=
'h-full'
>
<!-- 公卫数据详情 -->
<GwDetail
:info=
"detailInfo"
v-if=
"showGw"
/>
<!-- 通用随访详情 -->
<CurrencyFUDetail
:id=
"detailInfo.relationId"
:resident-id=
"residentId"
v-else-if=
"showCommon"
></CurrencyFUDetail>
<!-- 专病随访详情 -->
<!--
<VisitDetail
:id=
"detailInfo.relationId"
:resident-id=
"residentId"
:disease-type=
"diseaseType"
v-else-if=
"showFU"
></VisitDetail>
-->
<!-- his -->
<!--
<HisDetail
:info=
"detailInfo"
v-else-if=
"showHis"
></HisDetail>
-->
<!-- 报卡随访详情 -->
<CrsVisitDetail
:relationUuid=
"detailInfo.relationUuid"
v-else-if=
"showCrs"
></CrsVisitDetail>
</div>
</
template
>
<
script
>
import
{
getVisitManageVByUuId
}
from
'@/api/doctor/generalFU'
import
GwDetail
from
'@/doctor/followUp/detail/components/GwDetail'
import
CrsVisitDetail
from
'@/doctor/followUp/detail/components/CrsVisitDetail'
import
CurrencyFUDetail
from
'@/doctor/followUp/generalFU/detail/Detail'
export
default
{
name
:
'FollowUpDetail'
,
components
:
{
CurrencyFUDetail
,
CrsVisitDetail
,
GwDetail
},
props
:
{
// id: [String, Number],
// residentId: [String, Number],
// diseaseType: [String, Number]
},
data
()
{
return
{
detailInfo
:
{},
showCommon
:
false
,
showFU
:
false
,
showHis
:
false
,
showCrs
:
false
,
showGw
:
false
}
},
watch
:
{
id
:
{
handler
()
{
this
.
load
()
},
immediate
:
true
}
},
computed
:
{
relationUuid
()
{
return
this
.
$route
.
query
.
relationUuid
},
diseaseType
()
{
return
this
.
$route
.
query
.
diseaseType
},
residentId
()
{
return
this
.
$route
.
query
.
residentInfoId
}
},
methods
:
{
load
()
{
let
par
=
{
relationUuid
:
this
.
relationUuid
}
getVisitManageVByUuId
(
par
).
then
(
res
=>
{
let
record
=
res
.
data
this
.
detailInfo
=
record
this
.
showGw
=
this
.
PhlIsShow
(
record
)
this
.
showFU
=
this
.
FUIsShow
(
record
)
this
.
showCommon
=
this
.
GAUIsShow
(
record
)
this
.
showHis
=
this
.
HisIsShow
(
record
)
this
.
showCrs
=
this
.
CrsIsShow
(
record
)
})
},
//判断是否是专病随访
FUIsShow
(
record
)
{
let
res
=
false
if
((
record
.
serveType
==
3
||
(
record
.
serveType
==
4
)
&&
record
.
source
!=
4
))
{
res
=
true
}
return
res
},
//判断是否是 通用随访
GAUIsShow
(
record
)
{
let
res
=
false
if
(
record
.
serveType
==
5
)
{
res
=
true
}
return
res
},
//判断是否是his
HisIsShow
(
record
)
{
let
res
=
false
if
(
record
.
serveType
==
1
||
record
.
serveType
==
2
)
{
res
=
true
}
return
res
},
//判断是否显示报卡随访
CrsIsShow
(
record
)
{
let
res
=
false
if
(
record
.
serveType
==
6
)
{
res
=
true
}
return
res
},
//判断是否显示报卡随访
PhlIsShow
(
record
)
{
let
res
=
false
if
(
record
.
source
==
4
)
{
res
=
true
}
return
res
}
}
}
</
script
>
<
style
scoped
lang=
'less'
>
</
style
>
\ No newline at end of file
src/doctor/followUp/detail/components/CrsVisitDetail.vue
0 → 100644
View file @
922eac2d
<
template
>
</
template
>
<
script
>
export
default
{
name
:
'CrsVisitDetail'
,
data
()
{
return
{
}
}
}
</
script
>
<
style
scoped
>
</
style
>
\ No newline at end of file
src/doctor/followUp/detail/components/GwDetail.vue
0 → 100644
View file @
922eac2d
<
template
>
</
template
>
<
script
>
export
default
{
name
:
'GwDetail'
,
data
()
{
return
{
}
}
}
</
script
>
<
style
scoped
>
</
style
>
\ No newline at end of file
src/doctor/followUp/generalFU/detail/Detail.vue
View file @
922eac2d
...
@@ -255,8 +255,11 @@ import { fetchCurrencyById, messageResend } from '@/api/doctor/generalFU'
...
@@ -255,8 +255,11 @@ import { fetchCurrencyById, messageResend } from '@/api/doctor/generalFU'
import
{
getTemplateDetail
}
from
'@/api/doctor/workbench'
import
{
getTemplateDetail
}
from
'@/api/doctor/workbench'
export
default
{
export
default
{
name
:
'CurrencyFUDetail
.vue
'
,
name
:
'CurrencyFUDetail'
,
components
:
{
ImagePreview
,
Mp4
,
Mp3
},
components
:
{
ImagePreview
,
Mp4
,
Mp3
},
props
:
{
id
:
String
,
},
data
()
{
data
()
{
return
{
return
{
activeCollapse
:
[],
activeCollapse
:
[],
...
@@ -307,9 +310,6 @@ export default {
...
@@ -307,9 +310,6 @@ export default {
}
}
},
},
computed
:
{
computed
:
{
routerDetail
()
{
return
this
.
$route
.
query
},
residentInfo
()
{
residentInfo
()
{
return
this
.
info
.
residentsRecord
||
{}
return
this
.
info
.
residentsRecord
||
{}
},
},
...
@@ -374,12 +374,12 @@ export default {
...
@@ -374,12 +374,12 @@ export default {
},
},
methods
:
{
methods
:
{
async
load
()
{
async
load
()
{
if
(
!
this
.
routerDetail
.
relationI
d
)
{
if
(
!
this
.
i
d
)
{
this
.
$message
.
info
(
'未获取到信息'
)
this
.
$message
.
info
(
'未获取到信息'
)
return
return
}
}
let
par
=
{
let
par
=
{
id
:
this
.
routerDetail
.
relationI
d
id
:
this
.
i
d
}
}
fetchCurrencyById
(
par
).
then
(
res
=>
{
fetchCurrencyById
(
par
).
then
(
res
=>
{
let
result
=
res
.
data
||
{}
let
result
=
res
.
data
||
{}
...
@@ -401,7 +401,7 @@ export default {
...
@@ -401,7 +401,7 @@ export default {
//重新发送
//重新发送
toReSend
()
{
toReSend
()
{
let
par
=
{
let
par
=
{
id
:
this
.
routerDetail
.
relationI
d
id
:
this
.
i
d
}
}
messageResend
(
par
).
then
(()
=>
{
messageResend
(
par
).
then
(()
=>
{
this
.
load
()
this
.
load
()
...
...
src/doctor/patientDetail/PatientDetail.vue
View file @
922eac2d
...
@@ -245,6 +245,7 @@ export default {
...
@@ -245,6 +245,7 @@ export default {
residentInfoId
:
this
.
residentInfoId
,
residentInfoId
:
this
.
residentInfoId
,
// operateType=1 新增死亡 3-撤销删除
// operateType=1 新增死亡 3-撤销删除
operateType
:
3
,
operateType
:
3
,
source
:
2
}
}
saveResidentsDeath
(
query
).
then
(
res
=>
{
saveResidentsDeath
(
query
).
then
(
res
=>
{
if
(
res
.
code
==
'SUCCESS'
)
{
if
(
res
.
code
==
'SUCCESS'
)
{
...
...
src/doctor/patientDetail/components/disease/Visit.vue
View file @
922eac2d
...
@@ -48,14 +48,14 @@
...
@@ -48,14 +48,14 @@
<span
class=
"label"
>
随访机构
</span>
<span
class=
"label"
>
随访机构
</span>
<span>
{{
item
.
serveUnitName
||
'-'
}}
</span>
<span>
{{
item
.
serveUnitName
||
'-'
}}
</span>
</div>
</div>
<div
class=
"divider"
v-if=
"item.serveType == 5"
></div>
<div
class=
"divider"
></div>
<div
class=
"bt-group"
v-if=
"item.serveType == 5"
>
<div
class=
"bt-group"
>
<van-button
round
size=
"small"
class=
"doc-btn-primary"
@
click=
"toDetail(item)"
>
详情
</van-button>
<van-button
round
size=
"small"
class=
"doc-btn-primary"
@
click=
"toDetail(item)"
>
详情
</van-button>
<!--
<van-button
round
size=
"small"
class=
"doc-btn-primary"
v-if=
"item.allowUpdate == 1"
>
转诊
</van-button
>
<!--
<van-button
round
size=
"small"
class=
"doc-btn-primary"
v-if=
"item.allowUpdate == 1"
>
转诊
</van-button>
--
>
<van-button
round
size=
"small"
class=
"doc-btn-primary"
@
click=
'editBtn(item)'
<van-button
round
size=
"small"
class=
"doc-btn-primary"
@
click=
'editBtn(item)'
v-if=
"!(item.allowUpdate !==1 || item.serveType == 5)"
>
修改
</van-button>
v-if=
"!(item.allowUpdate !==1 || item.serveType == 5)"
>
修改
</van-button>
<van-button
round
size=
"small"
class=
"doc-btn-red"
@
click=
"delBtn(item)"
<van-button
round
size=
"small"
class=
"doc-btn-red"
@
click=
"delBtn(item)"
v-if=
"!(item.allowUpdate !==1 || item.serveType == 5)"
>
删除
</van-button>
-->
v-if=
"!(item.allowUpdate !==1 || item.serveType == 5)"
>
删除
</van-button>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -113,8 +113,8 @@ export default {
...
@@ -113,8 +113,8 @@ export default {
methods
:
{
methods
:
{
load
(
loading
=
true
)
{
load
(
loading
=
true
)
{
const
query
=
{
const
query
=
{
pageIndex
:
this
.
pagination
.
pageIndex
,
//
pageIndex: this.pagination.pageIndex,
pageSize
:
this
.
pagination
.
pageSize
,
//
pageSize: this.pagination.pageSize,
residentInfoId
:
this
.
residentInfoId
,
residentInfoId
:
this
.
residentInfoId
,
diseaseType
:
this
.
diseaseType
,
diseaseType
:
this
.
diseaseType
,
}
}
...
@@ -122,7 +122,7 @@ export default {
...
@@ -122,7 +122,7 @@ export default {
if
(
this
.
pagination
.
pageIndex
===
1
)
{
if
(
this
.
pagination
.
pageIndex
===
1
)
{
this
.
list
=
[]
this
.
list
=
[]
}
}
this
.
list
=
this
.
list
.
concat
(
res
.
data
.
dataList
||
[])
this
.
list
=
this
.
list
.
concat
(
res
.
data
||
[])
this
.
pagination
.
total
=
res
.
data
.
total
||
0
this
.
pagination
.
total
=
res
.
data
.
total
||
0
this
.
finished
=
this
.
list
.
length
>=
this
.
pagination
.
total
this
.
finished
=
this
.
list
.
length
>=
this
.
pagination
.
total
}).
finally
(()
=>
{
}).
finally
(()
=>
{
...
@@ -144,15 +144,15 @@ export default {
...
@@ -144,15 +144,15 @@ export default {
this
.
$message
.
info
(
'暂时无法查看 详情信息'
)
this
.
$message
.
info
(
'暂时无法查看 详情信息'
)
return
return
}
}
if
(
record
.
serveType
===
5
)
{
// 通用随访
// 通用随访
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/doctor/followUp/
generalFU/
detail'
,
path
:
'/doctor/followUp/detail'
,
query
:
{
query
:
{
relationId
:
record
.
relationId
relationUuid
:
record
.
relationUuid
,
residentInfoId
:
this
.
residentInfoId
,
diseaseType
:
this
.
diseaseType
,
}
}
})
})
}
},
},
editBtn
()
{
editBtn
()
{
...
...
src/router/index.js
View file @
922eac2d
...
@@ -81,9 +81,9 @@ const routes = [
...
@@ -81,9 +81,9 @@ const routes = [
component
:
()
=>
import
(
/* webpackChunkName: "doctor" */
'@/doctor/screening/detail/SecondDetail.vue'
)
component
:
()
=>
import
(
/* webpackChunkName: "doctor" */
'@/doctor/screening/detail/SecondDetail.vue'
)
},
},
{
{
path
:
'followUp/
generalFU/
detail'
,
path
:
'followUp/detail'
,
name
:
'followUp-
generalFU-
detail'
,
name
:
'followUp-detail'
,
component
:
()
=>
import
(
/* webpackChunkName: "doctor" */
'@/doctor/followUp/
generalFU/detail/
Detail'
)
component
:
()
=>
import
(
/* webpackChunkName: "doctor" */
'@/doctor/followUp/
detail/FollowUp
Detail'
)
},
},
{
{
path
:
'followUp/generalFU/add'
,
path
:
'followUp/generalFU/add'
,
...
...
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