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
5ed52650
Commit
5ed52650
authored
Sep 06, 2024
by
songrui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
待随访列表修改
parent
ea51ea50
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
8 deletions
+15
-8
List.vue
src/doctor/followUp/List.vue
+15
-8
No files found.
src/doctor/followUp/List.vue
View file @
5ed52650
...
@@ -12,7 +12,11 @@
...
@@ -12,7 +12,11 @@
我的待随访({{ total }})
我的待随访({{ total }})
</div>
</div>
<van-tabs
v-model:active=
'active'
>
<van-tabs
v-model:active=
'active'
>
<van-tab
:title=
'item.title'
:name=
'item.name'
v-for=
'item in tabList'
></van-tab>
<van-tab
:name=
'item.name'
v-for=
'item in tabList'
:key=
"item.name"
>
<
template
#
title
>
<span>
{{
item
.
title
}}
(
{{
item
.
num
}}
)
</span>
</
template
>
</van-tab>
</van-tabs>
</van-tabs>
<div
class=
'list-data'
ref=
'list'
>
<div
class=
'list-data'
ref=
'list'
>
<div
class=
'mt-10 white-back p-16'
v-for=
'item in activeData'
:key=
"item.id"
>
<div
class=
'mt-10 white-back p-16'
v-for=
'item in activeData'
:key=
"item.id"
>
...
@@ -86,13 +90,13 @@ export default {
...
@@ -86,13 +90,13 @@ export default {
return
{
return
{
active
:
1
,
active
:
1
,
tabList
:
[
tabList
:
[
{
title
:
'高血压'
,
name
:
1
,
num
:
3
},
{
title
:
'高血压'
,
name
:
1
,
num
:
0
},
{
title
:
'糖尿病'
,
name
:
2
,
num
:
3
},
{
title
:
'糖尿病'
,
name
:
2
,
num
:
0
},
{
title
:
'冠心病'
,
name
:
3
,
num
:
3
},
{
title
:
'冠心病'
,
name
:
3
,
num
:
0
},
{
title
:
'脑卒中'
,
name
:
4
,
num
:
3
},
{
title
:
'脑卒中'
,
name
:
4
,
num
:
0
},
{
title
:
'慢阻肺'
,
name
:
5
,
num
:
3
},
{
title
:
'慢阻肺'
,
name
:
5
,
num
:
0
},
{
title
:
'慢性肾病'
,
name
:
6
,
num
:
3
},
{
title
:
'慢性肾病'
,
name
:
6
,
num
:
0
},
{
title
:
'血脂异常'
,
name
:
7
,
num
:
3
}
{
title
:
'血脂异常'
,
name
:
7
,
num
:
0
}
],
],
detailInfo
:
[],
detailInfo
:
[],
total
:
0
,
total
:
0
,
...
@@ -134,6 +138,9 @@ export default {
...
@@ -134,6 +138,9 @@ export default {
console
.
log
(
'getVisitAll'
,
res
)
console
.
log
(
'getVisitAll'
,
res
)
this
.
detailInfo
=
res
.
data
||
[]
this
.
detailInfo
=
res
.
data
||
[]
this
.
total
=
this
.
detailInfo
.
length
this
.
total
=
this
.
detailInfo
.
length
this
.
tabList
.
forEach
(
e
=>
{
e
.
num
=
this
.
detailInfo
.
filter
(
i
=>
i
.
diseaseType
===
e
.
name
).
length
})
}).
finally
(()
=>
{
}).
finally
(()
=>
{
this
.
loading
=
false
this
.
loading
=
false
})
})
...
...
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