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
ea8e8b69
Commit
ea8e8b69
authored
Jul 25, 2023
by
唐玉峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
智能分组添加字段
parent
74b0c4d6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
51 additions
and
13 deletions
+51
-13
src/views/outHistorygrouping.vue
+41
-11
src/views/outpatientDetails.vue
+10
-2
No files found.
src/views/outHistorygrouping.vue
View file @
ea8e8b69
...
...
@@ -25,12 +25,24 @@
住院号:
<span>
{{
casehisObj
?
casehisObj
.
a48
:
""
}}
</span>
</div>
</div>
<div
class=
"outsetgrouping_top_message_left"
>
<span
class=
"outsetgrouping_top_message_left_tu1"
><img
src=
"../assets/img/peo.png"
alt=
""
/>
</span>
<div
class=
"outsetgrouping_top_message_left_t1"
>
姓名:
<span>
{{
casehisObj
?
casehisObj
.
a11
:
""
}}
</span>
</div>
</div>
<div
class=
"outsetgrouping_top_message_centert"
>
<span
class=
"outsetgrouping_top_message_centert_tu2"
><img
src=
"../assets/img/ka.png"
alt=
""
/></span>
<div
class=
"outsetgrouping_top_message_centert_t2"
>
住院次数:
<span>
{{
casehisObj
?
casehisObj
.
a49
:
""
}}
</span>
</div>
</div>
<div
class=
"outsetgrouping_top_message_centert"
>
<span
class=
"outsetgrouping_top_message_centert_tu2"
><img
src=
"../assets/img/ka.png"
alt=
""
/></span>
<div
class=
"outsetgrouping_top_message_centert_t2"
>
实际住院天数:
<span>
{{
casehisObj
?
casehisObj
.
a49
:
""
}}
</span>
</div>
</div>
<div
class=
"outsetgrouping_top_message_right"
>
<span
class=
"outsetgrouping_top_message_right_tu3"
><img
src=
"../assets/img/qian.png"
alt=
""
/></span>
<div
class=
"outsetgrouping_top_message_right_t3"
>
...
...
@@ -59,12 +71,24 @@
分组名称:
<span>
{{
casehisObj
?
casehisObj
.
drgs
.
name
:
""
}}
</span>
</div>
</div>
<
!--
<
div
class=
"outsetgrouping_top2_message_right"
>
<div
class=
"outsetgrouping_top2_message_right"
>
<span
class=
"outsetgrouping_top2_message_right_tu6"
><img
src=
"../assets/img/jiner.png"
alt=
""
/></span>
<div
class=
"outsetgrouping_top2_message_right_t3"
>
预计DIP支付费用:
<span>
{{
casehisObj
?
casehisObj
.
drgs
.
actualfee
:
""
}}
</span>
预计DIP支付费用:
<span>
{{
casehisObj
?
decimal
(
casehisObj
.
drgs
.
actualfee
)
:
""
}}
</span>
</div>
</div>
<div
class=
"outsetgrouping_top2_message_right"
>
<span
class=
"outsetgrouping_top2_message_right_tu6"
><img
src=
"../assets/img/jiner.png"
alt=
""
/></span>
<div
class=
"outsetgrouping_top2_message_right_t3"
>
总费用:
<span>
{{
casehisObj
?
decimal
(
casehisObj
.
totalFee
)
:
""
}}
</span>
</div>
</div>
<div
class=
"outsetgrouping_top2_message_right"
>
<span
class=
"outsetgrouping_top2_message_right_tu6"
><img
src=
"../assets/img/jiner.png"
alt=
""
/></span>
<div
class=
"outsetgrouping_top2_message_right_t3"
>
盈亏:
<span>
{{
casehisObj
?
decimal
(
casehisObj
.
drgs
.
profitLoss
)
:
""
}}
</span>
</div>
</div>
</div>
-->
</div>
</div>
<div
class=
"outsetgrouping_top3"
></div>
...
...
@@ -107,10 +131,9 @@
<div
class=
"outsetgrouping_centent_totalnum_left_text_msg2_text3"
>
<span>
分组编码:
{{
item
.
code
}}
</span>
<span>
分组名称:
{{
item
.
coreName
}}
</span>
<
!--
<span>
病种分值:
{{
item
.
score
}}
</span>
--
>
<
!--
<span>
预计DIP支付费用:
{{
item
.
unitfee
}}
</span>
--
>
<
span>
病种分值:
{{
item
.
score
}}
</span
>
<
span>
报销类型:
{{
item
.
magnification
}}
</span
>
</div>
<!--
<div
class=
"outsetgrouping_centent_totalnum_left_text_msg2_text5"
>
<span>
预计DIP支付费用:
{{
item
.
unitfee
}}
</span
><span>
院内历年平均费用:
{{
item
.
avgFee
}}
</span
...
...
@@ -276,8 +299,8 @@
<div
class=
"outaddrecordEnrollment_centent_totalnum_left_text1"
>
<span>
分组编码:
{{
item
.
code
}}
</span>
<span>
分组名称:
{{
item
.
coreName
}}
</span>
<span>
基准点数
:
{{
item
.
score
}}
</span>
<span>
预计DIP支付费用:
{{
item
.
unitfee
}}
</span>
<span>
病种分值
:
{{
item
.
score
}}
</span>
<span>
预计DIP支付费用:
{{
decimal
(
item
.
actualfee
)
}}
</span>
<span>
分组类型:
{{
item
.
disNature
}}
</span>
</div>
<!--
...
...
@@ -321,6 +344,7 @@
</div>
</
template
>
<
script
>
import
{
decimal
}
from
"../utils/decimal"
;
import
http
from
"../utils/http"
;
import
$
from
"jquery"
;
import
{
Message
}
from
"element-ui"
;
...
...
@@ -426,6 +450,7 @@ export default {
this
.
getCaseHis
(
this
.
$route
.
query
.
id
);
},
methods
:
{
decimal
,
goback
()
{
this
.
$router
.
go
(
-
1
);
},
...
...
@@ -433,9 +458,14 @@ export default {
gosear
()
{
this
.
addrecordEnrollmentShow
=
true
;
this
.
outaddsearchForm
=
{
diagName
:
this
.
casehisObj
.
c03C
,
opsName
:
""
,
diagName
:
this
.
casehisObj
.
drgs
.
code
,
};
if
(
this
.
outaddsearchForm
.
diagName
)
{
this
.
diagList
.
push
({
diagCode
:
this
.
outaddsearchForm
.
diagName
,
diagOrder
:
"0"
,
});
}
this
.
addsearch
();
},
//获取基本数据
...
...
@@ -1474,7 +1504,7 @@ export default {
margin-top
:
10px
;
margin-bottom
:
10px
;
width
:
100%
;
height
:
45
%
;
height
:
83
%
;
display
:
flex
;
justify-content
:
space-between
;
span
{
...
...
src/views/outpatientDetails.vue
View file @
ea8e8b69
...
...
@@ -125,7 +125,6 @@
<el-table
ref=
"monthlyPlanTable"
:data=
"tableData1"
style=
"width: 100%"
height=
"94%"
row-key=
"id"
size=
"small"
...
...
@@ -402,6 +401,14 @@ export default {
return
""
;
}
},
setId
(
arr
)
{
arr
.
map
((
item
)
=>
{
item
.
id
=
this
.
$uuid
();
if
(
item
.
inpat_FeeDatas
&&
item
.
inpat_FeeDatas
.
length
)
{
this
.
setId
(
item
.
inpat_FeeDatas
);
}
});
},
//当某一个行被点击时
eowclick
(
row
)
{
...
...
@@ -415,11 +422,12 @@ export default {
http
.
post
(
`/medical/Post/getHisStaChargeType?code=
${
this
.
$route
.
query
.
id
}
`
,
{})
.
then
((
data
)
=>
{
this
.
tableData1
=
data
;
this
.
setId
(
this
.
tableData1
);
if
(
this
.
tableData1
!=
[])
{
this
.
eowclick
(
this
.
tableData1
[
0
]);
//默认高亮第一行
this
.
$nextTick
(()
=>
{
monthlyPlanTable
.
setCurrentRow
(
this
.
tableData1
[
0
]);
this
.
$refs
.
monthlyPlanTable
.
setCurrentRow
(
this
.
tableData1
[
0
]);
});
}
//中间的表格默认展示第一条数据
...
...
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