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
08b1b57d
Commit
08b1b57d
authored
Apr 24, 2024
by
唐玉峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
04e53cbe
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
88 additions
and
9 deletions
+88
-9
src/views/outHistorygrouping.vue
+85
-6
src/views/outpatientDetails.vue
+1
-1
src/views/outpatientDetails_pingguo.vue
+1
-1
vue.config.js
+1
-1
No files found.
src/views/outHistorygrouping.vue
View file @
08b1b57d
...
...
@@ -377,6 +377,50 @@
<span>
分组类型:
{{
item
.
disNature
}}
</span>
</div>
</div>
<div
class=
"outpatientDetails_fenqu"
v-if=
"item.lowMagnification != 0 && item.highMagnification != 0"
>
<div
class=
"outpatientDetails_fenqu_di"
>
<div
class=
"outpatientDetails_fenqu_di_bb"
>
<div
class=
"outpatientDetails_fenqu_di_bb_div1"
>
<span
class=
"outpatientDetails_fenqu_di_bb_div1_num"
:style=
"
{ marginLeft: item.totalwidth - 1 + '%', color: item.totalcolor }"
>
{{
decimal
(
item
.
totalFee
)
}}
</span
>
<span
class=
"outpatientDetails_fenqu_di_bb_div1_he"
:style=
"
{
marginLeft: item.totalwidth + '%',
backgroundColor: item.totalcolor,
}"
>
</span>
</div>
<div
class=
"outpatientDetails_fenqu_di_bb_div2"
>
<span
class=
"outpatientDetails_fenqu_di_bb_div2_span1"
:style=
"
{ width: item.lowwidth + '%' }"
>
<span
class=
"outpatientDetails_fenqu_di_bb_div2_span1_t1"
:title=
"'低倍率区域:<=' + Math.round(item.lowMagnification)"
>
低倍率区域:
<
=
{{
Math
.
round
(
item
.
lowMagnification
)
}}
</span
></span
>
<span
class=
"outpatientDetails_fenqu_di_bb_div2_span2"
:style=
"
{ width: item.contentwidth + '%' }"
>
<span
class=
"outpatientDetails_fenqu_di_bb_div2_span2_t2"
:title=
"'正常区域:' + (Math.round(item.lowMagnification) + 1) + '~' + (Math.round(item.highMagnification) - 1)"
>
正常区域:
{{
Math
.
round
(
item
.
lowMagnification
)
+
1
+
"~"
+
(
Math
.
round
(
item
.
highMagnification
)
-
1
)
}}
</span
></span
>
<span
class=
"outpatientDetails_fenqu_di_bb_div2_span3"
:style=
"
{ width: item.heightwidth + '%' }"
>
<span
class=
"outpatientDetails_fenqu_di_bb_div2_span3_t3"
:title=
"'高倍率区域:>=' + Math.round(item.highMagnification)"
>
高倍率区域:>=
{{
Math
.
round
(
item
.
highMagnification
)
}}
</span
></span
>
</div>
</div>
</div>
</div>
<!--
<div
class=
"outaddrecordEnrollment_centent_totalnum_right"
>
<div
:id=
"`indexChart11` + index"
class=
"outaddrecordEnrollment_centent_totalnum_right_echar1"
></div>
<div
:id=
"`indexChart11two` + index"
class=
"outaddrecordEnrollment_centent_totalnum_right_echar2"
></div>
...
...
@@ -754,6 +798,36 @@ export default {
});
}
this
.
addCorePercents
=
data
;
this
.
addCorePercents
.
map
((
item
)
=>
{
// 高倍率>总费用 高倍率金额+高倍率金额*30%
if
(
item
.
highMagnification
>
item
.
totalFee
)
{
item
.
heightnum
=
item
.
highMagnification
+
item
.
highMagnification
*
0.3
;
}
else
if
(
item
.
highMagnification
<
item
.
totalFee
)
{
// 高倍率
<
总费用
患者总费用的金额
+
患者总费用的金额
*
30
%
item
.
heightnum
=
item
.
totalFee
+
item
.
totalFee
*
0.3
;
}
// 低倍率宽度
item
.
lowwidth
=
Math
.
round
((
Math
.
round
(
item
.
lowMagnification
)
/
Math
.
round
(
item
.
heightnum
))
*
100
);
// 高倍率宽度
item
.
heightwidth
=
Math
.
round
(((
Math
.
round
(
item
.
heightnum
)
-
Math
.
round
(
item
.
highMagnification
))
/
Math
.
round
(
item
.
heightnum
))
*
100
);
// 正常倍率宽度
item
.
contentwidth
=
100
-
(
item
.
lowwidth
+
item
.
heightwidth
);
//总费用宽度
item
.
totalwidth
=
Math
.
round
((
Math
.
round
(
item
.
totalFee
)
/
Math
.
round
(
item
.
heightnum
))
*
100
);
// 判断总费用显示的颜色
if
(
item
.
totalFee
<
item
.
lowMagnification
)
{
item
.
totalcolor
=
"#e9c622"
;
}
else
if
(
item
.
totalFee
>
item
.
lowMagnification
&&
item
.
totalFee
<
item
.
highMagnification
)
{
item
.
totalcolor
=
"#22d016"
;
}
else
if
(
item
.
totalFee
>
item
.
highMagnification
)
{
item
.
totalcolor
=
"#ff7e00"
;
}
if
(
item
.
lowMagnification
==
0
||
item
.
highMagnification
==
0
)
{
item
.
bottomheight
=
"80%"
;
}
else
if
(
data
.
lowMagnification
!=
0
)
{
item
.
bottomheight
=
"68%"
;
}
});
if
(
this
.
addCorePercents
.
length
==
0
)
{
this
.
addnolistShow
=
true
;
}
else
{
...
...
@@ -1591,15 +1665,16 @@ export default {
height
:
75%
;
overflow-y
:
auto
;
&_totalnum
{
height
:
151px
;
//
height
:
151px
;
background-color
:
#fff
;
margin
:
12px
;
display
:
flex
;
align-items
:
center
;
justify-content
:
space-around
;
padding
:
10px
;
//
display
:
flex
;
//
align-items
:
center
;
//
justify-content
:
space-around
;
&_left
{
flex
:
1
;
width
:
50
%
;
//
flex
:
1
;
width
:
98
%
;
height
:
132px
;
background-color
:
rgba
(
44
,
171
,
227
,
0.08
);
margin
:
0
15px
;
...
...
@@ -1953,6 +2028,10 @@ export default {
}
}
}
.outpatientDetails_fenqu
{
height
:
35%
;
margin-bottom
:
10
;
}
}
input
[
type
=
"radio"
i
]
{
width
:
16px
;
...
...
src/views/outpatientDetails.vue
View file @
08b1b57d
...
...
@@ -1323,7 +1323,7 @@ export default {
align-items
:
center
;
&_di
{
width
:
99
%
;
width
:
100
%
;
height
:
85%
;
background-color
:
white
;
display
:
flex
;
...
...
src/views/outpatientDetails_pingguo.vue
View file @
08b1b57d
...
...
@@ -1304,7 +1304,7 @@ export default {
align-items
:
center
;
&_di
{
width
:
99
%
;
width
:
100
%
;
height
:
85%
;
background-color
:
white
;
display
:
flex
;
...
...
vue.config.js
View file @
08b1b57d
...
...
@@ -20,7 +20,7 @@ module.exports = {
port
:
8066
,
//测试端口
proxy
:
{
"/api"
:
{
target
:
"http://192.168.18.166:81
74
/"
,
//drg测试站点
target
:
"http://192.168.18.166:81
00
/"
,
//drg测试站点
changeOrigin
:
true
,
pathRewrite
:
{
"^/"
:
"/"
,
...
...
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