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
307ee370
Commit
307ee370
authored
Feb 08, 2025
by
gengchunlei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
医生端 v1.2 1、公卫详情 移动端调整
parent
f641f3e3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
84 additions
and
44 deletions
+84
-44
IframePage.vue
src/components/iframePage/IframePage.vue
+36
-11
FollowUpDetail.vue
src/doctor/followUp/detail/FollowUpDetail.vue
+4
-3
Visit.vue
src/doctor/patientDetail/components/disease/Visit.vue
+44
-30
No files found.
src/components/iframePage/IframePage.vue
View file @
307ee370
<
template
>
<
template
>
<div
class=
"h-full iframe-page"
>
<div
class=
'h-full iframe-page'
>
<iframe
:src=
"iframeSrc"
style=
"border: 0;width: 100%;height: 99%"
:key=
"iframeSrc"
v-if=
"iframeSrc"
allowFullscreen
>
<div
class=
'p-3 text-black text-center shrink-0 doc-nav-bar'
>
<span
@
click=
'onBack'
class=
'text-12 back-bt'
>
<doc-icon
type=
'doc-left2'
/>
</span>
<span>
{{
pageTitle
}}
</span>
</div>
<iframe
:src=
'iframeSrc'
style=
'border: 0;width: 100%;height: calc(99% - 50px)'
:key=
'iframeSrc'
v-if=
'iframeSrc'
allowFullscreen
>
</iframe>
</iframe>
<div
v-else
/>
<div
v-else
/>
</div>
</div>
</
template
>
</
template
>
...
@@ -18,17 +25,18 @@ export default {
...
@@ -18,17 +25,18 @@ export default {
iframeSrc
:
''
iframeSrc
:
''
}
}
},
},
// computed:
{
computed
:
{
// stat()
{
pageTitle
()
{
// return this.$route.params.stat
return
this
.
$route
.
query
.
pageTitle
||
''
//
}
}
//
},
},
beforeUnmount
()
{
beforeUnmount
()
{
this
.
iframeSrc
=
''
this
.
iframeSrc
=
''
},
},
watch
:
{
watch
:
{
src
:
{
src
:
{
handler
()
{
handler
()
{
debugger
this
.
load
()
this
.
load
()
},
},
immediate
:
true
immediate
:
true
...
@@ -52,16 +60,33 @@ export default {
...
@@ -52,16 +60,33 @@ export default {
},
},
openIframe
(
treeCode
,
menuId
)
{
openIframe
(
treeCode
,
menuId
)
{
let
res
=
''
let
res
=
''
res
=
`
${
this
.
src
}${
this
.
src
?.
includes
(
'?'
)
?
'&'
:
'?'
}
source
=
MB
&
menuId
=
$
{
menuId
}
`
res
=
`
${
this
.
src
}${
this
.
src
?.
includes
(
'?'
)
?
'&'
:
'?'
}
source
=
MB
&
menuId
=
$
{
menuId
}
`
if (treeCode) {
if (treeCode) {
res = `
$
{
this
.
src
}
$
{
this
.
src
?.
includes
(
'?'
)
?
'&'
:
'?'
}
treeCode
=
$
{
treeCode
}
&
unitTreeCode
=
$
{
treeCode
}
&
source
=
MB
&
menuId
=
$
{
menuId
}
`
res = `
$
{
this
.
src
}
$
{
this
.
src
?.
includes
(
'?'
)
?
'&'
:
'?'
}
treeCode
=
$
{
treeCode
}
&
unitTreeCode
=
$
{
treeCode
}
&
source
=
MB
&
menuId
=
$
{
menuId
}
`
}
}
this.iframeSrc = res
this.iframeSrc = res
},
onBack() {
this.$router.back()
}
}
}
}
}
}
</
script
>
</
script
>
<
style
lang=
"less"
scoped
>
<
style
lang=
'less'
scoped
>
// 顶部导航栏
.doc-nav-bar {
position: relative;
border-bottom: 1px solid #3C3C435C;
font-size: 18px;
font-weight: 600;
.back-bt {
position: absolute;
left: .16rem;
top: 50%;
transform: translateY(-50%);
}
}
</
style
>
</
style
>
src/doctor/followUp/detail/FollowUpDetail.vue
View file @
307ee370
...
@@ -64,7 +64,7 @@ export default {
...
@@ -64,7 +64,7 @@ export default {
getVisitManageVByUuId
(
par
).
then
(
res
=>
{
getVisitManageVByUuId
(
par
).
then
(
res
=>
{
let
record
=
res
.
data
let
record
=
res
.
data
this
.
detailInfo
=
record
this
.
detailInfo
=
record
this
.
PhlIsShow
(
record
)
//
this.PhlIsShow(record)
this
.
showFU
=
this
.
FUIsShow
(
record
)
this
.
showFU
=
this
.
FUIsShow
(
record
)
this
.
showCommon
=
this
.
GAUIsShow
(
record
)
this
.
showCommon
=
this
.
GAUIsShow
(
record
)
this
.
showHis
=
this
.
HisIsShow
(
record
)
this
.
showHis
=
this
.
HisIsShow
(
record
)
...
@@ -103,7 +103,7 @@ export default {
...
@@ -103,7 +103,7 @@ export default {
}
}
return
res
return
res
},
},
//判断是否显示
报卡
随访
//判断是否显示
公卫
随访
PhlIsShow
(
record
)
{
PhlIsShow
(
record
)
{
// let res = false
// let res = false
if
(
record
.
source
==
4
)
{
if
(
record
.
source
==
4
)
{
...
@@ -111,7 +111,8 @@ export default {
...
@@ -111,7 +111,8 @@ export default {
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
`/systemIframe/doctorGWDetail`
,
path
:
`/systemIframe/doctorGWDetail`
,
query
:
{
query
:
{
src
:
`https://www.baidu.com/`
src
:
`https://www.baidu.com/`
,
pageTitle
:
`公卫详情`
}
}
})
})
}
}
...
...
src/doctor/patientDetail/components/disease/Visit.vue
View file @
307ee370
<
template
>
<
template
>
<div
class=
"h-full disease-visit"
ref=
"list"
>
<div
class=
'h-full disease-visit'
ref=
'list'
>
<van-pull-refresh
v-model=
'loadingRefresh'
@
refresh=
'onRefresh'
<van-pull-refresh
v-model=
'loadingRefresh'
@
refresh=
'onRefresh'
:disabled=
'isRefreshDisable'
style=
"min-height: 100%"
>
:disabled=
'isRefreshDisable'
style=
'min-height: 100%'
>
<van-list
<van-list
v-model:loading=
'loading'
v-model:loading=
'loading'
:finished=
'finished'
:finished=
'finished'
...
@@ -9,53 +9,56 @@
...
@@ -9,53 +9,56 @@
:immediate-check=
'false'
:immediate-check=
'false'
@
load=
'onMore'
@
load=
'onMore'
>
>
<div
class=
"flex flex-col"
>
<div
class=
'flex flex-col'
>
<div
class=
"flex flex-col gap-y-2.5 py-3 px-4 mb-3 doc-list-card"
<div
class=
'flex flex-col gap-y-2.5 py-3 px-4 mb-3 doc-list-card'
v-for=
'item in list'
:key=
"item.id"
@
click=
"toDetail(item)"
>
v-for=
'item in list'
:key=
'item.id'
@
click=
'toDetail(item)'
>
<div>
<div>
<span
class=
"label"
>
服务类型
</span>
<span
class=
'label'
>
服务类型
</span>
<span>
{{
item
.
serveTypeName
||
'-'
}}
</span>
<span>
{{
item
.
serveTypeName
||
'-'
}}
</span>
</div>
</div>
<div>
<div>
<span
class=
"label"
>
随访日期
</span>
<span
class=
'label'
>
随访日期
</span>
<span>
{{
item
.
serveDate
}}
</span>
<span>
{{
item
.
serveDate
}}
</span>
</div>
</div>
<div>
<div>
<span
class=
"label"
>
随访分类
</span>
<span
class=
'label'
>
随访分类
</span>
<span>
{{
item
.
visitTypeName
||
'-'
}}
</span>
<span>
{{
item
.
visitTypeName
||
'-'
}}
</span>
</div>
</div>
<div
v-if=
"item.patientNo"
>
<div
v-if=
'item.patientNo'
>
<span
class=
"label"
>
就诊号
</span>
<span
class=
'label'
>
就诊号
</span>
<span>
{{
item
.
patientNo
||
'-'
}}
</span>
<span>
{{
item
.
patientNo
||
'-'
}}
</span>
</div>
</div>
<div
class=
"text-ellipsis"
v-if=
"item.diagnose"
>
<div
class=
'text-ellipsis'
v-if=
'item.diagnose'
>
<span
class=
"label"
>
诊断
</span>
<span
class=
'label'
>
诊断
</span>
<span>
{{
item
.
diagnose
||
'-'
}}
</span>
<span>
{{
item
.
diagnose
||
'-'
}}
</span>
</div>
</div>
<div
v-if=
"item.bloodPressure"
>
<div
v-if=
'item.bloodPressure'
>
<span
class=
"label"
>
血压
</span>
<span
class=
'label'
>
血压
</span>
<span>
{{
item
.
bloodPressure
||
'-'
}}
</span>
<span>
{{
item
.
bloodPressure
||
'-'
}}
</span>
</div>
</div>
<div>
<div>
<span
class=
"label"
>
数据来源
</span>
<span
class=
'label'
>
数据来源
</span>
<span>
{{
item
.
sourceName
||
'-'
}}
</span>
<span>
{{
item
.
sourceName
||
'-'
}}
</span>
</div>
</div>
<div>
<div>
<span
class=
"label"
>
随访医生
</span>
<span
class=
'label'
>
随访医生
</span>
<span>
{{
item
.
serveDoctorName
||
'-'
}}
</span>
<span>
{{
item
.
serveDoctorName
||
'-'
}}
</span>
</div>
</div>
<div
class=
"text-ellipsis"
>
<div
class=
'text-ellipsis'
>
<span
class=
"label"
>
随访机构
</span>
<span
class=
'label'
>
随访机构
</span>
<span>
{{
item
.
serveUnitName
||
'-'
}}
</span>
<span>
{{
item
.
serveUnitName
||
'-'
}}
</span>
</div>
</div>
<div
class=
"divider"
></div>
<div
class=
'divider'
></div>
<div
class=
"bt-group"
>
<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
round
size=
"small"
class=
"doc-btn-primary"
v-if=
"item.allowUpdate == 1"
>
转诊
</van-button>
-->
</van-button>
<van-button
round
size=
"small"
class=
"doc-btn-primary"
@
click=
'editBtn(item)'
<!--
<van-button
round
size=
"small"
class=
"doc-btn-primary"
v-if=
"item.allowUpdate == 1"
>
转诊
</van-button>
-->
v-if=
"!(item.allowUpdate !==1 || item.serveType == 5)"
>
修改
</van-button>
<van-button
round
size=
'small'
class=
'doc-btn-primary'
@
click=
'editBtn(item)'
<van-button
round
size=
"small"
class=
"doc-btn-red"
@
click=
"delBtn(item)"
v-if=
'!(item.allowUpdate !==1 || item.serveType == 5)'
>
修改
v-if=
"!(item.allowUpdate !==1 || item.serveType == 5)"
>
删除
</van-button>
</van-button>
<van-button
round
size=
'small'
class=
'doc-btn-red'
@
click=
'delBtn(item)'
v-if=
'!(item.allowUpdate !==1 || item.serveType == 5)'
>
删除
</van-button>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -117,7 +120,7 @@ export default {
...
@@ -117,7 +120,7 @@ export default {
// 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
}
}
getVisitManageList
(
query
,
loading
).
then
(
res
=>
{
getVisitManageList
(
query
,
loading
).
then
(
res
=>
{
if
(
this
.
pagination
.
pageIndex
===
1
)
{
if
(
this
.
pagination
.
pageIndex
===
1
)
{
...
@@ -148,8 +151,19 @@ export default {
...
@@ -148,8 +151,19 @@ export default {
//数据来源为his时展示 `请在医生PC端查看详情`
//数据来源为his时展示 `请在医生PC端查看详情`
showConfirmDialog
({
showConfirmDialog
({
message
:
'请在医生PC端查看详情'
message
:
'请在医生PC端查看详情'
}).
then
(()
=>
{}).
catch
((
err
)
=>
{})
}).
then
(()
=>
{
}).
catch
((
err
)
=>
{
})
}
else
if
(
record
.
source
==
4
)
{
// 判断是否显示公卫随访
this
.
$router
.
push
({
path
:
`/systemIframe/doctorGWDetail`
,
query
:
{
src
:
`https://www.baidu.com/`
,
pageTitle
:
`公卫详情`
}
})
}
else
{
}
else
{
//随访详情
//随访详情
this
.
$router
.
push
({
this
.
$router
.
push
({
...
@@ -157,7 +171,7 @@ export default {
...
@@ -157,7 +171,7 @@ export default {
query
:
{
query
:
{
relationUuid
:
record
.
relationUuid
,
relationUuid
:
record
.
relationUuid
,
residentInfoId
:
this
.
residentInfoId
,
residentInfoId
:
this
.
residentInfoId
,
diseaseType
:
this
.
diseaseType
,
diseaseType
:
this
.
diseaseType
}
}
})
})
}
}
...
@@ -181,6 +195,6 @@ export default {
...
@@ -181,6 +195,6 @@ export default {
}
}
</
script
>
</
script
>
<
style
lang=
"less"
scoped
>
<
style
lang=
'less'
scoped
>
</
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