Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-composition-api
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
宁路鹏
vue-composition-api
Commits
c37cdbc7
Commit
c37cdbc7
authored
Jun 24, 2022
by
wangshuangqing
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/修改' into develop
parents
29d2441f
6c626f0a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
507 additions
and
390 deletions
+507
-390
src/styles/media/components/outpatientDetails.scss
+318
-314
src/views/outpatientDetails.vue
+189
-76
No files found.
src/styles/media/components/outpatientDetails.scss
View file @
c37cdbc7
@import
'../../mixin.scss'
;
// 1024
@media
screen
and
(
min-width
:
769px
)
and
(
max-width
:
1024px
)
{
.outpatientDetails
{
&
_top
{
.span1
{
font-size
:
14px
;
}
&
_message
{
&
_left
{
.iconfont
{
font-size
:
18px
!
important
;
}
&
_t1
{
font-size
:
9px
!
important
;
span
{
color
:
#787e8a
;
}
}
}
&
_centert
{
.iconfont
{
font-size
:
18px
;
}
&
_t2
{
font-size
:
9px
!
important
;
span
{
color
:
#787e8a
;
}
}
}
&
_right
{
.iconfont
{
font-size
:
18px
!
important
;
}
&
_t3
{
font-size
:
9px
!
important
;
text-align
:
start
!
important
;
span
{
color
:
#787e8a
;
}
...
...
@@ -54,89 +43,71 @@
}
}
}
&
_msg
{
.iconfont
{
font-size
:
18px
!
important
;
}
span
:nth-child
(
2
)
{
margin-left
:
21px
;
}
span
:nth-child
(
n
+
2
)
{
font-size
:
9px
!
important
;
}
span
:nth-child
(
n
+
7
)
{
margin-right
:
5px
;
}
}
&
_title
{
span
{
font-size
:
13px
;
}
}
&
_bottom
{
height
:
64%
!
important
;
// 无数据
&
_box
{
&
_img
{
width
:
200px
;
height
:
200px
;
}
&
_text
{
font-size
:
9px
!
important
;
}
}
// 有数据
&
_left
{
&
_ul
{
.active
{
flex-direction
:
column
!
important
;
align-items
:
flex-start
!
important
;
.fc2
{
width
:
100%
!
important
;
.iconfont
{
font-size
:
10px
!
important
;
}
}
.fc3
{
width
:
100%
!
important
;
}
}
}
li
{
font-size
:
9px
!
important
;
height
:
65px
!
important
;
div
{
font-size
:
9px
!
important
;
height
:
61px
!
important
;
flex-direction
:
column
!
important
;
.sp1
{
width
:
100%
!
important
;
}
.sp2
{
width
:
100%
!
important
;
justify-content
:
start
!
important
;
&
_avg
{
justify-content
:
start
!
important
;
padding-left
:
5px
!
important
;
}
&
_reto
{
display
:
flex
;
flex-direction
:
row
;
...
...
@@ -148,78 +119,61 @@
}
}
}
&
_right
{
width
:
50%
;
// 无数据样式
&
_box
{
&
_text
{
font-size
:
12px
!
important
;
}
}
&
_table
{
height
:
calc
(
100%
-
100px
);
}
.isverifyStyle
{
background-color
:
#f4f5f8
;
}
.paginations
{
text-align
:
right
;
}
}
&
_rght2
{
&
_top
{
height
:
27%
!
important
;
&
_title
{
font-size
:
12px
!
important
;
}
&
_mes
{
flex-direction
:
column
!
important
;
&
_span1
{
width
:
100%
!
important
;
font-size
:
12px
!
important
;
margin-bottom
:
5px
!
important
;
}
&
_span2
{
width
:
100%
!
important
;
font-size
:
12px
!
important
;
margin-bottom
:
5px
!
important
;
}
&
_span3
{
width
:
100%
!
important
;
font-size
:
12px
!
important
;
margin-bottom
:
5px
!
important
;
}
&
_span4
{
width
:
100%
!
important
;
font-size
:
12px
!
important
;
}
}
}
&
_bottom
{
margin-top
:
10px
!
important
;
&
_li
{
&
_title
{
width
:
54px
!
important
;
height
:
25px
!
important
;
font-size
:
16px
!
important
;
}
&
_cont
{
font-size
:
12px
!
important
;
}
...
...
@@ -230,54 +184,43 @@
}
}
//1280
@media
screen
and
(
max-width
:
1280px
)
{
.outpatientDetails
{
&
_top
{
.span1
{
font-size
:
14px
;
}
&
_message
{
&
_left
{
.iconfont
{
font-size
:
18px
!
important
;
}
&
_t1
{
font-size
:
9px
!
important
;
span
{
color
:
#787e8a
;
}
}
}
&
_centert
{
.iconfont
{
font-size
:
18px
;
}
&
_t2
{
font-size
:
9px
!
important
;
span
{
color
:
#787e8a
;
}
}
}
&
_right
{
.iconfont
{
font-size
:
18px
!
important
;
}
&
_t3
{
font-size
:
9px
!
important
;
text-align
:
start
!
important
;
span
{
color
:
#787e8a
;
}
...
...
@@ -285,89 +228,71 @@
}
}
}
&
_msg
{
.iconfont
{
font-size
:
18px
!
important
;
}
span
:nth-child
(
2
)
{
margin-left
:
21px
;
}
span
:nth-child
(
n
+
2
)
{
font-size
:
9px
!
important
;
}
span
:nth-child
(
n
+
7
)
{
margin-right
:
5px
;
}
}
&
_title
{
span
{
font-size
:
13px
;
}
}
&
_bottom
{
height
:
64%
!
important
;
// 无数据
&
_box
{
&
_img
{
width
:
200px
;
height
:
200px
;
}
&
_text
{
font-size
:
9px
!
important
;
}
}
// 有数据
&
_left
{
&
_ul
{
.active
{
flex-direction
:
column
!
important
;
align-items
:
flex-start
!
important
;
.fc2
{
width
:
100%
!
important
;
.iconfont
{
font-size
:
10px
!
important
;
}
}
.fc3
{
width
:
100%
!
important
;
}
}
}
li
{
font-size
:
9px
!
important
;
height
:
65px
!
important
;
div
{
font-size
:
9px
!
important
;
height
:
61px
!
important
;
flex-direction
:
column
!
important
;
.sp1
{
width
:
100%
!
important
;
}
.sp2
{
width
:
100%
!
important
;
justify-content
:
start
!
important
;
&
_avg
{
justify-content
:
start
!
important
;
padding-left
:
5px
!
important
;
}
&
_reto
{
display
:
flex
;
flex-direction
:
row
;
...
...
@@ -379,78 +304,61 @@
}
}
}
&
_right
{
width
:
50%
;
// 无数据样式
&
_box
{
&
_text
{
font-size
:
12px
!
important
;
}
}
&
_table
{
height
:
calc
(
100%
-
100px
);
}
.isverifyStyle
{
background-color
:
#f4f5f8
;
}
.paginations
{
text-align
:
right
;
}
}
&
_rght2
{
&
_top
{
height
:
27%
!
important
;
&
_title
{
font-size
:
12px
!
important
;
}
&
_mes
{
flex-direction
:
column
!
important
;
&
_span1
{
width
:
100%
!
important
;
font-size
:
12px
!
important
;
margin-bottom
:
5px
!
important
;
}
&
_span2
{
width
:
100%
!
important
;
font-size
:
12px
!
important
;
margin-bottom
:
5px
!
important
;
}
&
_span3
{
width
:
100%
!
important
;
font-size
:
12px
!
important
;
margin-bottom
:
5px
!
important
;
}
&
_span4
{
width
:
100%
!
important
;
font-size
:
12px
!
important
;
}
}
}
&
_bottom
{
margin-top
:
10px
!
important
;
&
_li
{
&
_title
{
width
:
54px
!
important
;
height
:
25px
!
important
;
font-size
:
16px
!
important
;
}
&
_cont
{
font-size
:
12px
!
important
;
}
...
...
@@ -462,53 +370,55 @@
}
// 1366px
@media
screen
and
(
min-width
:
1366px
)
and
(
max-width
:
1439px
)
{
.outpatientDetails
{
height
:
768px
!
important
;
&
_top
{
.span1
{
font-size
:
14px
;
}
&
_message
{
&
_left
{
.iconfont
{
font-size
:
18px
!
important
;
}
&
_t1
{
font-size
:
9px
!
important
;
font-size
:
12px
!
important
;
span
{
color
:
#787e8a
;
}
}
}
&
_centert
{
.iconfont
{
font-size
:
18px
;
}
&
_t2
{
font-size
:
9px
!
important
;
font-size
:
12px
!
important
;
span
{
color
:
#787e8a
;
}
}
}
&
_right
{
.iconfont
{
font-size
:
18px
!
important
;
}
&
_t3
{
font-size
:
9px
!
important
;
font-size
:
12px
!
important
;
text-align
:
start
!
important
;
span
{
color
:
#787e8a
;
}
}
}
&
_low
{
.iconfont
{
font-size
:
18px
!
important
;
}
&
_t4
{
font-size
:
12px
!
important
;
text-align
:
start
!
important
;
span
{
color
:
#787e8a
;
}
...
...
@@ -516,156 +426,127 @@
}
}
}
&
_msg
{
.iconfont
{
font-size
:
18px
!
important
;
}
span
:nth-child
(
2
)
{
margin-left
:
21px
;
}
span
:nth-child
(
n
+
2
)
{
font-size
:
9
px
!
important
;
font-size
:
12
px
!
important
;
}
span
:nth-child
(
n
+
7
)
{
margin-right
:
5px
;
}
}
&
_title
{
span
{
font-size
:
13px
;
}
}
&
_bottom
{
height
:
64%
!
important
;
// 无数据
&
_box
{
&
_img
{
width
:
200px
;
height
:
200px
;
}
&
_text
{
font-size
:
9px
!
important
;
height
:
55%
!
important
;
&
_leftShowBox
{
width
:
83%
!
important
;
// 无数据
&
_box
{
&
_img
{
width
:
200px
;
height
:
200px
;
}
&
_text
{
font-size
:
9px
!
important
;
}
}
}
// 有数据
&
_left
{
&
_ul
{
.active
{
.fc2
{
.iconfont
{
font-size
:
10px
!
important
;
// 有数据
&
_left
{
width
:
45%
!
important
;
&
_ul
{
.active
{
.fc2
{
.iconfont
{
font-size
:
10px
!
important
;
}
}
.fc3
{}
}
.fc3
{}
}
}
li
{
font-size
:
9px
!
important
;
div
{
li
{
font-size
:
9px
!
important
;
.sp1
{}
.sp2
{
&
_avg
{
padding-left
:
5px
!
important
;
}
&
_reto
{
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
width
:
50%
;
justify-content
:
flex-end
;
div
{
font-size
:
9px
!
important
;
.sp1
{}
.sp2
{
&
_avg
{
padding-left
:
5px
!
important
;
}
&
_reto
{
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
width
:
50%
;
justify-content
:
flex-end
;
}
}
}
}
}
}
&
_right
{
width
:
50%
;
// 无数据样式
&
_box
{
&
_text
{
font-size
:
12px
!
important
;
&
_right
{
width
:
55%
!
important
;
height
:
90%
!
important
;
margin-bottom
:
10px
!
important
;
// 无数据样式
&
_box
{
&
_text
{
font-size
:
12px
!
important
;
}
}
&
_table
{
height
:
calc
(
100%
-
100px
);
}
.isverifyStyle
{
background-color
:
#f4f5f8
;
}
.paginations
{
text-align
:
right
;
}
}
&
_table
{
height
:
calc
(
100%
-
100px
);
}
.isverifyStyle
{
background-color
:
#f4f5f8
;
}
.paginations
{
text-align
:
right
;
}
}
&
_rght2
{
height
:
87%
!
important
;
width
:
17%
!
important
;
&
_top
{
height
:
30%
!
important
;
&
_title
{
font-size
:
13px
!
important
;
display
:
flex
!
important
;
justify-content
:
flex-start
!
important
;
align-items
:
center
!
important
;
}
&
_mes
{
&
_span1
{
font-size
:
12px
!
important
;
}
&
_span2
{
font-size
:
12px
!
important
;
}
&
_span3
{
font-size
:
12px
!
important
;
}
&
_span4
{
font-size
:
12px
!
important
;
}
}
}
&
_bottom
{
height
:
70%
!
important
;
&
_li
{
&
_title
{
width
:
54px
!
important
;
height
:
25px
!
important
;
font-size
:
16px
!
important
;
}
&
_cont
{
font-size
:
14px
!
important
;
}
...
...
@@ -673,27 +554,185 @@
}
}
}
}
}
//1400
@media
screen
and
(
min-width
:
1440px
)
and
(
max-width
:
1599px
)
{
.outpatientDetails
{
&
_top
{
.span1
{
font-size
:
14px
;
}
&
_message
{
&
_left
{
.iconfont
{
font-size
:
18px
!
important
;
}
&
_t1
{
font-size
:
12px
!
important
;
span
{
color
:
#787e8a
;
}
}
}
&
_centert
{
.iconfont
{
font-size
:
18px
;
}
&
_t2
{
font-size
:
12px
!
important
;
span
{
color
:
#787e8a
;
}
}
}
&
_right
{
.iconfont
{
font-size
:
18px
!
important
;
}
&
_t3
{
font-size
:
12px
!
important
;
text-align
:
start
!
important
;
span
{
color
:
#787e8a
;
}
}
}
&
_low
{
.iconfont
{
font-size
:
18px
!
important
;
}
&
_t4
{
font-size
:
12px
!
important
;
text-align
:
start
!
important
;
span
{
color
:
#787e8a
;
}
}
}
}
}
&
_msg
{
.iconfont
{
font-size
:
18px
!
important
;
}
span
:nth-child
(
2
)
{
margin-left
:
21px
;
}
span
:nth-child
(
n
+
2
)
{
font-size
:
12px
!
important
;
}
span
:nth-child
(
n
+
7
)
{
margin-right
:
5px
;
}
}
&
_bottom
{
// margin-top: 10px !important;
&
_li
{
&
_title
{
width
:
54px
!
important
;
height
:
25px
!
important
;
font-size
:
16px
!
important
;
height
:
60%
!
important
;
&
_leftShowBox
{
width
:
83%
!
important
;
// 无数据
&
_box
{
&
_img
{
width
:
200px
;
height
:
200px
;
}
&
_text
{
font-size
:
9px
!
important
;
}
}
&
_cont
{
font-size
:
16px
!
important
;
// 有数据
&
_left
{
width
:
45%
!
important
;
&
_ul
{
.active
{
.fc2
{
.iconfont
{
font-size
:
10px
!
important
;
}
}
.fc3
{}
}
}
li
{
font-size
:
9px
!
important
;
div
{
font-size
:
9px
!
important
;
.sp1
{}
.sp2
{
&
_avg
{
padding-left
:
5px
!
important
;
}
&
_reto
{
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
width
:
50%
;
justify-content
:
flex-end
;
}
}
}
}
}
&
_right
{
width
:
55%
!
important
;
height
:
90%
!
important
;
margin-bottom
:
10px
!
important
;
// 无数据样式
&
_box
{
&
_text
{
font-size
:
12px
!
important
;
}
}
&
_table
{
height
:
calc
(
100%
-
100px
);
}
.isverifyStyle
{
background-color
:
#f4f5f8
;
}
.paginations
{
text-align
:
right
;
}
}
}
&
_rght2
{
height
:
87%
!
important
;
width
:
17%
!
important
;
&
_top
{
height
:
30%
!
important
;
&
_title
{
font-size
:
13px
!
important
;
display
:
flex
!
important
;
justify-content
:
flex-start
!
important
;
align-items
:
center
!
important
;
}
&
_mes
{
&
_span1
{
font-size
:
12px
!
important
;
}
&
_span2
{
font-size
:
12px
!
important
;
}
&
_span3
{
font-size
:
12px
!
important
;
}
&
_span4
{
font-size
:
12px
!
important
;
}
}
}
&
_bottom
{
height
:
70%
!
important
;
&
_li
{
&
_title
{
width
:
54px
!
important
;
height
:
25px
!
important
;
font-size
:
16px
!
important
;
}
&
_cont
{
font-size
:
14px
!
important
;
}
}
}
}
}
...
...
@@ -702,51 +741,53 @@
//1600
@media
screen
and
(
min-width
:
1600px
)
and
(
max-width
:
1919px
)
{
.outpatientDetails
{
&
_top
{
.span1
{
font-size
:
14px
;
}
&
_message
{
&
_left
{
.iconfont
{
font-size
:
18px
!
important
;
}
&
_t1
{
font-size
:
9px
!
important
;
font-size
:
12px
!
important
;
span
{
color
:
#787e8a
;
}
}
}
&
_centert
{
.iconfont
{
font-size
:
18px
;
}
&
_t2
{
font-size
:
9px
!
important
;
font-size
:
12px
!
important
;
span
{
color
:
#787e8a
;
}
}
}
&
_right
{
.iconfont
{
font-size
:
18px
!
important
;
}
&
_t3
{
font-size
:
9px
!
important
;
font-size
:
12px
!
important
;
text-align
:
start
!
important
;
span
{
color
:
#787e8a
;
}
}
}
&
_low
{
.iconfont
{
font-size
:
18px
!
important
;
}
&
_t4
{
font-size
:
12px
!
important
;
text-align
:
start
!
important
;
span
{
color
:
#787e8a
;
}
...
...
@@ -754,155 +795,118 @@
}
}
}
&
_msg
{
.iconfont
{
font-size
:
18px
!
important
;
}
span
:nth-child
(
2
)
{
margin-left
:
21px
;
}
span
:nth-child
(
n
+
2
)
{
font-size
:
9
px
!
important
;
font-size
:
12
px
!
important
;
}
span
:nth-child
(
n
+
7
)
{
margin-right
:
5px
;
}
}
&
_title
{
span
{
font-size
:
13px
;
}
}
&
_bottom
{
height
:
64%
!
important
;
// 无数据
&
_box
{
&
_img
{
width
:
200px
;
height
:
200px
;
}
&
_text
{
font-size
:
9px
!
important
;
&
_leftShowBox
{
// 无数据
&
_box
{
&
_img
{
width
:
200px
;
height
:
200px
;
}
&
_text
{
font-size
:
9px
!
important
;
}
}
}
// 有数据
&
_left
{
&
_ul
{
.active
{
.fc2
{
.iconfont
{
font-size
:
10px
!
important
;
// 有数据
&
_left
{
width
:
38%
!
important
;
&
_ul
{
.active
{
.fc2
{
.iconfont
{
font-size
:
10px
!
important
;
}
}
}
}
}
li
{
font-size
:
9px
!
important
;
div
{
li
{
font-size
:
9px
!
important
;
.sp2
{
&
_avg
{
padding-left
:
5px
!
important
;
}
&
_reto
{
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
width
:
50%
;
justify-content
:
flex-end
;
div
{
font-size
:
9px
!
important
;
.sp2
{
&
_avg
{
padding-left
:
5px
!
important
;
}
&
_reto
{
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
width
:
50%
;
justify-content
:
flex-end
;
}
}
}
}
}
}
&
_right
{
width
:
50%
;
// 无数据样式
&
_box
{
&
_text
{
font-size
:
12px
!
important
;
&
_right
{
width
:
62%
!
important
;
// 无数据样式
&
_box
{
&
_text
{
font-size
:
12px
!
important
;
}
}
&
_table
{
height
:
calc
(
100%
-
100px
);
}
.isverifyStyle
{
background-color
:
#f4f5f8
;
}
.paginations
{
text-align
:
right
;
}
}
&
_table
{
height
:
calc
(
100%
-
100px
);
}
.isverifyStyle
{
background-color
:
#f4f5f8
;
}
.paginations
{
text-align
:
right
;
}
}
&
_rght2
{
&
_top
{
height
:
20%
!
important
;
&
_title
{
height
:
24px
!
important
;
font-size
:
16px
!
important
;
display
:
flex
!
important
;
justify-content
:
flex-start
!
important
;
align-items
:
center
!
important
;
}
&
_mes
{
&
_span1
{
font-size
:
12px
!
important
;
}
&
_span2
{
font-size
:
12px
!
important
;
}
&
_span3
{
font-size
:
12px
!
important
;
}
&
_span4
{
font-size
:
12px
!
important
;
}
}
}
&
_bottom
{
&
_li
{
&
_title
{
font-size
:
18px
!
important
;
}
&
_cont
{
font-size
:
16px
!
important
;
}
...
...
src/views/outpatientDetails.vue
View file @
c37cdbc7
...
...
@@ -160,45 +160,45 @@
<!-- 有数据 -->
<div
class=
"outpatientDetails_bottom_leftShowBox"
v-if=
"goods.length !== 0"
>
<div
class=
"outpatientDetails_bottom_leftShowBox_left"
>
<ul
class=
"outpatientDetails_bottom_leftShowBox_left_ul"
>
<li
v-for=
"(item, index) in goods"
:key=
"index"
>
<div
@
click=
"
toggle(index, item);
scrollToFoods(index);
"
:class=
"
{ active: index == checkindex }
"
>
<span
:class=
"
{ fc2: index == checkindex }" class="sp1">
<span
v-show=
"index == checkindex
"
style=
"color: #fff
"
class=
"iconfont icon-jiantou1"
></spa
n>
{{
item
.
iteM_TYPE
}}
:
{{
decimal
(
item
.
totalFee
)
}}
</span
>
<span
:class=
"
{ fc3: index == checkindex }" class="sp2">
<!--
<span
class=
"sp2_avg"
>
平均:
{{
decimal
(
item
.
avgFee
)
}}
</span>
--
>
<!--
<span
class=
"sp2_reto"
v-ratio=
"[item.proportion / 100, item.proportion / 100, `$
{index == checkindex ? '#fff' : '#6a707e'}`]">
</span>
--
>
<span
class=
"sp2_reto"
v-if=
"item.proportion
<
=
0
"
>
{{
decimal
(
item
.
proportion
*
-
1
)
+
"%"
}}
<!--
<img
style=
"width: 4px; height: 12px; margin-left: 5px"
src=
"../assets/img/dataCockpit/lvse_zuo.png"
/>
--
>
</span>
<span
class=
"sp2_reto"
v-els
e
>
{{
decimal
(
item
.
proportion
)
+
"%"
}}
<!--
<img
style=
"width: 4px; height: 12px; margin-left: 5px"
src=
"../assets/img/dataCockpit/hongse_you.png"
/>
-->
</span
>
</span>
</div
>
</li
>
</ul
>
<el-table
ref=
"monthlyPlanTable"
:data=
"tableData1
"
style=
"width: 100%;"
height=
'98%'
row-key=
"id
"
size=
"small
"
:default-expand-all=
"false"
:highlight-current-row=
"true"
:tree-props=
"
{ children: 'inpat_FeeDatas', hasChildren: 'hasChildren' }"
@row-click="eowclick
"
@expand-change="changeRowClick
"
>
<el-table-column
prop=
"iteM_TYPE"
label=
"项目名称"
width=
"100"
header-align=
"center"
align=
"center"
>
</el-table-colum
n>
<el-table-column
prop=
"totalFee"
label=
"总金额(小计)"
width=
"80"
header-align=
"center"
align=
"center"
>
<template
slot-scope=
"scope"
>
{{
decimal
(
scope
.
row
.
totalFee
)
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"proportion"
label=
"占总费用(比例)"
width=
"80"
header-align=
"center"
align=
"center"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
proportion
!=
undefined
?
decimal
(
scope
.
row
.
proportion
)
+
'%'
:
''
}}
</
template
>
</el-table-column
>
<el-table-column
prop=
"coreTotalFee"
label=
"预计DRG设定费用(参考)"
width=
"100"
header-align=
"center"
align=
"center"
>
<
template
slot-scope=
"scope"
>
{{
decimal
(
scope
.
row
.
coreTotalFee
)
}}
</
templat
e
>
</el-table-column>
<el-table-column
prop=
"coreProportion"
label=
"设定费用比例(参考)"
header-align=
"center"
align=
"center"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
coreProportion
!=
undefined
?
decimal
(
scope
.
row
.
coreProportion
)
+
'%'
:
''
}}
</
template
>
</el-table-column
>
</el-table
>
</div>
<!-- 中间有数据样式 表格-->
<div
...
...
@@ -212,7 +212,7 @@
style=
"width: 100%"
:default-sort=
"{ prop: 'date', order: 'descending' }"
:row-class-name=
"tableRowClassName"
height=
"575"
height=
'98%'
>
<el-table-column
label=
"开单日期"
...
...
@@ -232,7 +232,7 @@
</
template
>
</el-table-column>
<el-table-column
label=
"数量"
prop=
"quantity"
></el-table-column>
<el-table-column
label=
"
总
金额"
prop=
"fee"
>
<el-table-column
label=
"金额"
prop=
"fee"
>
<
template
slot-scope=
"scope"
>
{{
decimal
(
scope
.
row
.
fee
)
}}
</
template
>
...
...
@@ -255,7 +255,7 @@
</div>
<!-- 表格无数据样式 -->
<div
class=
"outpatientDetails_bottom_leftShowBox"
v-else
>
<
!-- <
div class="outpatientDetails_bottom_leftShowBox" v-else>
<div class="outpatientDetails_bottom_leftShowBox_box">
<img
class="outpatientDetails_bottom_leftShowBox_box_img"
...
...
@@ -266,7 +266,7 @@
暂无数据
</div>
</div>
</div>
</div>
-->
<!-- 右侧有数据 -->
<div
class=
"outpatientDetails_bottom_rght2"
>
<div
class=
"outpatientDetails_bottom_rght2_top"
>
...
...
@@ -343,6 +343,7 @@ import {
onMounted
,
nextTick
,
computed
,
ref
}
from
"@vue/composition-api"
;
import
{
decimal
}
from
"../utils/decimal"
;
...
...
@@ -352,6 +353,7 @@ import { setItem, getItem } from "../utils/auth";
export
default
{
name
:
"outpatientDetails"
,
setup
()
{
const
monthlyPlanTable
=
ref
();
//表格颜色
const
tableRowClassName
=
({
row
})
=>
{
if
(
row
.
rowIndex
%
2
==
0
)
{
...
...
@@ -361,6 +363,41 @@ export default {
}
};
//当某一个行被点击时
const
eowclick
=
(
row
)
=>
{
if
(
state
.
tableData1
!=
[]){
getInpatFeesByREGCODE
(
row
.
types
)
}
};
//获取左侧表格数据
const
getlefttable
=
()
=>
{
http
.
post
(
`/medical/Post/getHisStaChargeType?code=
${
route
.
value
.
query
.
id
}
`
,
{})
.
then
((
data
)
=>
{
state
.
tableData1
=
data
;
if
(
state
.
tableData1
!=
[])
{
eowclick
(
state
.
tableData1
[
0
]);
//默认高亮第一行
nextTick
(()
=>
{
monthlyPlanTable
.
value
.
setCurrentRow
(
state
.
tableData1
[
0
]);
});
}
//中间的表格默认展示第一条数据
})
.
catch
((
error
)
=>
{});
};
//当行展开和关闭是触发
const
changeRowClick
=
(
row
)
=>
{
console
.
log
(
'row-chang'
,
row
);
};
//异常问题接口 显示全部异常信息
const
GetProjectRulesData
=
()
=>
{
http
...
...
@@ -488,34 +525,29 @@ export default {
state
.
bottomheight
=
"70%"
;
}
if
(
state
.
goods
.
length
>
0
)
{
// debugger
toggle
(
0
,
state
.
goods
[
0
]);
}
})
.
catch
((
error
)
=>
{});
};
//费用分类接口
const
getInpatFeesByREGCODE
=
(
item
)
=>
{
const
getInpatFeesByREGCODE
=
(
types
)
=>
{
http
.
post
(
`/medical/Get/getIFHisByREGCODE?&code=
${
route
.
value
.
query
.
id
}
&ItemType=
${
item
.
iteM_TYPE
}
`
,
{}
`/medical/Get/getIFHisByREGCODE?&code=
${
route
.
value
.
query
.
id
}
`
,
types
)
.
then
((
data
)
=>
{
state
.
tableData
=
data
;
})
.
catch
((
error
)
=>
{});
};
const
toggle
=
(
index
,
item
)
=>
{
state
.
checkindex
=
index
;
getInpatFeesByREGCODE
(
item
);
};
const
scrollToFoods
=
(
index
)
=>
{
// state.checkindex = index;
};
let
state
=
reactive
({
tableData1
:
[],
HistoryInfo
:
{
name
:
""
,
healthyID
:
""
,
...
...
@@ -549,7 +581,7 @@ export default {
name
:
"quantity"
,
},
{
cloumn
:
"
总
金额"
,
cloumn
:
"金额"
,
name
:
"fee"
,
},
],
...
...
@@ -581,12 +613,12 @@ export default {
onMounted
(()
=>
{
GetProjectRulesData
();
getHistoryInfo
();
getlefttable
();
});
return
{
...
toRefs
(
state
),
tableRowClassName
,
toggle
,
scrollToFoods
,
getHistoryInfo
,
getInpatFeesByREGCODE
,
...
...
@@ -595,14 +627,36 @@ export default {
GetProjectRulesData
,
getControl
,
gettype
,
getruleId
getruleId
,
eowclick
,
changeRowClick
,
getlefttable
,
monthlyPlanTable
};
},
};
</
script
>
<
style
lang=
"scss"
scoped
>
@import
"../styles/mixin.scss"
;
//
@import
'../styles/media/components/outpatientDetails.scss'
;
@import
'../styles/media/components/outpatientDetails.scss'
;
//
左侧表格点击高亮背景色
::v-deep
.el-table__body
tr
.current-row
>
td
{
background-color
:
#ffff
!important
;
}
//
点击文本颜色
::v-deep
.current-row
{
color
:
#55a6da
!important
;
}
//
点击
icon
颜色
::v-deep
.current-row
.el-table__expand-icon
{
color
:
#55a6da
!important
;
}
.outpatientDetails
{
//
height
:
calc
(
100%
-
50px
);
//
background-color
:
white
;
...
...
@@ -777,21 +831,79 @@ export default {
padding-left
:
29px
;
font-size
:
23px
;
}
span
:nth-child
(
2
)
{
margin-left
:
21px
;
}
span
:nth-child
(
n
+
2
)
{
width
:
258px
;
height
:
39px
;
background-color
:
#fff
;
font-size
:
14px
;
color
:
#6d7381
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
font-family
:
PingFang
SC
;
margin-right
:
5px
;
}
span
:nth-child
(
2
)
{
margin-left
:
21px
;
width
:
200px
;
height
:
39px
;
background-color
:
#fff
;
font-size
:
14px
;
color
:
#6d7381
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
font-family
:
PingFang
SC
;
margin-right
:
5px
;
}
span
:nth-child
(
3
)
{
width
:
200px
;
height
:
39px
;
background-color
:
#fff
;
font-size
:
14px
;
color
:
#6d7381
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
font-family
:
PingFang
SC
;
margin-right
:
5px
;
}
span
:nth-child
(
4
)
{
width
:
258px
;
height
:
39px
;
background-color
:
#fff
;
font-size
:
14px
;
color
:
#6d7381
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
font-family
:
PingFang
SC
;
margin-right
:
5px
;
}
span
:nth-child
(
5
)
{
width
:
200px
;
height
:
39px
;
background-color
:
#fff
;
font-size
:
14px
;
color
:
#6d7381
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
font-family
:
PingFang
SC
;
margin-right
:
5px
;
}
span
:nth-child
(
6
)
{
width
:
200px
;
height
:
39px
;
background-color
:
#fff
;
font-size
:
14px
;
color
:
#6d7381
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
font-family
:
PingFang
SC
;
margin-right
:
5px
;
}
span
:nth-child
(
n
+
7
)
{
width
:
258px
;
height
:
39px
;
background-color
:
#fff
;
font-size
:
14px
;
color
:
#6d7381
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
font-family
:
PingFang
SC
;
margin-right
:
5px
;
}
span
:nth-child
(
n
+
7
)
{
margin-right
:
5px
;
}
...
...
@@ -1015,7 +1127,7 @@ export default {
//
有数据
&
_left
{
list-style-type
:
none
;
width
:
27
%
;
width
:
35
%
;
height
:
90%
;
overflow-y
:
auto
;
...
...
@@ -1120,7 +1232,8 @@ export default {
}
}
&
_right
{
width
:
72%
;
width
:
65%
;
height
:
90%
;
//
无数据样式
&_box
{
width
:
100%
;
...
...
@@ -1153,10 +1266,10 @@ export default {
}
&
_rght2
{
width
:
2
2
%
;
width
:
2
0
%
;
height
:
100%
;
border
:
1px
solid
#f6f6f8
;
padding
:
10px
;
padding
:
0
10px
;
&_top
{
height
:
20%
;
width
:
100%
;
...
...
@@ -1190,7 +1303,7 @@ export default {
font-family
:
PingFang
SC
;
font-weight
:
400
;
color
:
#5d5d5d
;
margin-right
:
5px
;
//
margin-right
:
5px
;
cursor
:
pointer
;
/*鼠标移上有小手*/
}
&
_span1background
{
...
...
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