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
8aa19e87
Commit
8aa19e87
authored
Aug 05, 2024
by
李承祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
智能分组默认提交第一个入组
parent
2633b547
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
263 additions
and
167 deletions
+263
-167
src/views/outHistorygroupingnew.vue
+263
-167
No files found.
src/views/outHistorygroupingnew.vue
View file @
8aa19e87
...
...
@@ -9,7 +9,14 @@
<!-- 智能分组 -->
<div
class=
"outsetgrouping"
id=
"setGroupingbox"
>
<div
class=
"outsetgrouping_button"
style=
"margin-top: 15px"
>
<el-button
class=
"outsetgrouping_button_Searchbtn"
style=
"margin-left: 10px"
size=
"mini"
type=
"primary"
@
click=
"topage1"
>
病案质控
</el-button>
<el-button
class=
"outsetgrouping_button_Searchbtn"
style=
"margin-left: 10px"
size=
"mini"
type=
"primary"
@
click=
"topage1"
>
病案质控
</el-button
>
<el-button
class=
"outsetgrouping_button_Searchbtn"
type=
"primary"
size=
"mini"
@
click=
"toPage"
>
<span
class=
"s2"
>
费用监控
</span>
</el-button>
...
...
@@ -24,39 +31,51 @@
<div
class=
"outsetgrouping_top"
>
<div
class=
"outsetgrouping_top_message"
>
<div
class=
"outsetgrouping_top_message_left"
>
<span
class=
"outsetgrouping_top_message_left_tu1"
><img
src=
"../assets/img/peo.png"
alt=
""
/>
</span>
<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
.
a48
:
""
}}
</span>
住院号:
<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>
<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>
姓名:
<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>
<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>
住院次数:
<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>
<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
.
b20
:
""
}}
</span>
实际住院天数:
<span>
{{
casehisObj
?
casehisObj
.
b20
:
''
}}
</span>
</div>
</div>
<div
class=
"outsetgrouping_top_message_right"
>
<span
class=
"outsetgrouping_top_message_right_tu3"
><img
src=
"../assets/img/qian.png"
alt=
""
/></span>
<span
class=
"outsetgrouping_top_message_right_tu3"
><img
src=
"../assets/img/qian.png"
alt=
""
/></span>
<div
class=
"outsetgrouping_top_message_right_t3"
>
医疗付费方式:
<span>
{{
casehisObj
?
casehisObj
.
a46C
:
""
}}
</span>
医疗付费方式:
<span>
{{
casehisObj
?
casehisObj
.
a46C
:
''
}}
</span>
</div>
</div>
<div
class=
"outsetgrouping_top_message_blow"
>
<span
class=
"outsetgrouping_top_message_blow_tu7"
><img
src=
"../assets/img/daoru.png"
alt=
""
/></span>
<span
class=
"outsetgrouping_top_message_blow_tu7"
><img
src=
"../assets/img/daoru.png"
alt=
""
/></span>
<div
class=
"outsetgrouping_top_message_blow_t4"
>
分组类型:
<span>
{{
casehisObj
?
casehisObj
.
drgs
.
disNature
:
""
}}
</span>
分组类型:
<span>
{{
casehisObj
?
casehisObj
.
drgs
.
disNature
:
''
}}
</span>
</div>
</div>
</div>
...
...
@@ -64,33 +83,43 @@
<div
class=
"outsetgrouping_top2"
>
<div
class=
"outsetgrouping_top2_message"
>
<div
class=
"outsetgrouping_top2_message_left"
>
<span
class=
"outsetgrouping_top2_message_left_tu4"
><img
src=
"../assets/img/bianma.png"
alt=
""
/>
</span>
<span
class=
"outsetgrouping_top2_message_left_tu4"
><img
src=
"../assets/img/bianma.png"
alt=
""
/>
</span>
<div
class=
"outsetgrouping_top2_message_left_t1"
>
分组编码:
<span>
{{
casehisObj
?
casehisObj
.
drgs
.
code
:
""
}}
</span>
分组编码:
<span>
{{
casehisObj
?
casehisObj
.
drgs
.
code
:
''
}}
</span>
</div>
</div>
<div
class=
"outsetgrouping_top2_message_right"
>
<span
class=
"outsetgrouping_top2_message_centert_tu5"
><img
src=
"../assets/img/daoru.png"
alt=
""
/></span>
<span
class=
"outsetgrouping_top2_message_centert_tu5"
><img
src=
"../assets/img/daoru.png"
alt=
""
/></span>
<div
class=
"outsetgrouping_top2_message_centert_t2"
>
分组名称:
<span>
{{
casehisObj
?
casehisObj
.
drgs
.
name
:
""
}}
</span>
分组名称:
<span>
{{
casehisObj
?
casehisObj
.
drgs
.
name
:
''
}}
</span>
</div>
</div>
<div
class=
"outsetgrouping_top2_message_right"
>
<span
class=
"outsetgrouping_top2_message_right_tu6"
><img
src=
"../assets/img/jiner.png"
alt=
""
/></span>
<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
?
decimal
(
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>
<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>
总费用:
<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>
<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>
预计盈亏:
<span>
{{
casehisObj
?
decimal
(
casehisObj
.
drgs
.
profitLoss
)
:
''
}}
</span>
</div>
</div>
</div>
...
...
@@ -101,14 +130,23 @@
<span
class=
"outsetgrouping_title_span"
>
智能疾病分组
</span>
</div>
<div
class=
"outsetgrouping_centent"
>
<div
class=
"outsetgrouping_centent_totalnum"
v-for=
"(item, index) in CorePercents"
:key=
"index"
>
<div
class=
"outsetgrouping_centent_totalnum_left"
>
<div
class=
"outsetgrouping_centent_totalnum_left_radios"
>
<el-button
class=
"outsetgrouping_button_Submitbtn"
size=
"mini"
type=
"primary"
@
click=
"submit(item.coreID)"
>
<div
class=
"outsetgrouping_centent_totalnum"
v-for=
"(item, index) in CorePercents"
:key=
"index"
>
<div
class=
"outsetgrouping_centent_totalnum_left"
style=
"padding-top: 15px"
>
<!--
<div
class=
"outsetgrouping_centent_totalnum_left_radios"
>
<el-button
class=
"outsetgrouping_button_Submitbtn"
size=
"mini"
type=
"primary"
@
click=
"submit(item.coreID)"
>
<span
class=
"iconfont icon-ipr_tijiao"
></span>
<span
class=
"s2"
>
分组提交
</span>
</el-button>
</div
>
</div>
--
>
<div
class=
"outsetgrouping_centent_totalnum_left_text"
>
<div
class=
"outsetgrouping_centent_totalnum_left_text_msg1"
>
...
...
@@ -145,7 +183,10 @@
</div>
<div
class=
"outsetgrouping_centent_totalnum_right"
>
<div
class=
"patientDetails_fenqu"
v-if=
"item.lowMagnification != 0 && item.highMagnification != 0"
>
<div
class=
"patientDetails_fenqu"
v-if=
"item.lowMagnification != 0 && item.highMagnification != 0"
>
<div
class=
"patientDetails_fenqu_di"
>
<div
class=
"patientDetails_fenqu_di_bb"
>
<div
class=
"patientDetails_fenqu_di_bb_div1"
>
...
...
@@ -153,7 +194,7 @@
class=
"patientDetails_fenqu_di_bb_div1_num"
:style=
"
{
'margin-left': item.totalwidth - 1 + '%',
color: item.totalcolor,
color: item.totalcolor
}"
>
{{
decimal
(
casehisObj
.
totalFee
)
}}
</span
>
...
...
@@ -161,27 +202,51 @@
class=
"patientDetails_fenqu_di_bb_div1_he"
:style=
"
{
marginLeft: item.totalwidth + '%',
backgroundColor: item.totalcolor,
backgroundColor: item.totalcolor
}"
>
</span>
</div>
<div
class=
"patientDetails_fenqu_di_bb_div2"
>
<span
class=
"patientDetails_fenqu_di_bb_div2_span1"
:style=
"
{ width: item.lowwidth + '%' }">
<span
class=
"patientDetails_fenqu_di_bb_div2_span1_t1"
:title=
"'低倍率区域:<=' + Math.round(item.lowMagnification)"
<span
class=
"patientDetails_fenqu_di_bb_div2_span1"
:style=
"
{ width: item.lowwidth + '%' }"
>
<span
class=
"patientDetails_fenqu_di_bb_div2_span1_t1"
:title=
"'低倍率区域:<=' + Math.round(item.lowMagnification)"
>
低倍率区域:
<
=
{{
Math
.
round
(
item
.
lowMagnification
)
}}
</span
>
</span>
<span
class=
"patientDetails_fenqu_di_bb_div2_span2"
:style=
"
{ width: item.contentwidth + '%' }">
<span
class=
"patientDetails_fenqu_di_bb_div2_span2"
:style=
"
{ width: item.contentwidth + '%' }"
>
<span
class=
"patientDetails_fenqu_di_bb_div2_span2_t2"
:title=
"'正常区域:' + (Math.round(item.lowMagnification) + 1) + '~' + (Math.round(item.highMagnification) - 1)"
:title=
"
'正常区域:' +
(Math.round(item.lowMagnification) + 1) +
'~' +
(Math.round(item.highMagnification) - 1)
"
>
正常区域:
{{
Math
.
round
(
item
.
lowMagnification
)
+
1
+
"~"
+
(
Math
.
round
(
item
.
highMagnification
)
-
1
)
}}
正常区域:
{{
Math
.
round
(
item
.
lowMagnification
)
+
1
+
'~'
+
(
Math
.
round
(
item
.
highMagnification
)
-
1
)
}}
</span>
</span>
<span
class=
"patientDetails_fenqu_di_bb_div2_span3"
:style=
"
{ width: item.heightwidth + '%' }">
<span
class=
"patientDetails_fenqu_di_bb_div2_span3_t3"
:title=
"'高倍率区域:>=' + Math.round(item.highMagnification)"
>
<span
class=
"patientDetails_fenqu_di_bb_div2_span3"
:style=
"
{ width: item.heightwidth + '%' }"
>
<span
class=
"patientDetails_fenqu_di_bb_div2_span3_t3"
:title=
"'高倍率区域:>=' + Math.round(item.highMagnification)"
>
高倍率区域:>=
{{
Math
.
round
(
item
.
highMagnification
)
}}
</span>
</span>
...
...
@@ -231,28 +296,33 @@
</div>
<!-- 弹出层 -->
<el-dialog
center
:visible
.
sync=
"addrecordEnrollmentShow"
:before-close=
"closeDialog"
:fullscreen=
"true"
>
<el-dialog
center
:visible
.
sync=
"addrecordEnrollmentShow"
:before-close=
"closeDialog"
:fullscreen=
"true"
>
<diagList
:code=
"casehisObj"
:isshow=
"addrecordEnrollmentShow"
></diagList>
</el-dialog>
</div>
</
template
>
<
script
>
import
{
decimal
}
from
"../utils/decimal"
;
import
http
from
"../utils/http"
;
import
$
from
"jquery"
;
import
{
Message
}
from
"element-ui"
;
import
{
initEcharts
,
categoryChart
,
categoryChart11
}
from
"../utils/echarts"
;
import
diagList
from
"./diagList"
;
import
{
decimal
}
from
'../utils/decimal'
import
http
from
'../utils/http'
import
$
from
'jquery'
import
{
Message
}
from
'element-ui'
import
{
initEcharts
,
categoryChart
,
categoryChart11
}
from
'../utils/echarts'
import
diagList
from
'./diagList'
export
default
{
name
:
"outHistorygrouping"
,
name
:
'outHistorygrouping'
,
components
:
{
diagList
},
data
()
{
return
{
abc
:
""
,
abc
:
''
,
casehisObj
:
null
,
searchForm
:
{
diagName
:
""
,
opsName
:
""
,
diagName
:
''
,
opsName
:
''
},
CorePercents
:
[],
coreID
:
0
,
...
...
@@ -269,8 +339,8 @@ export default {
opsMapList
:
null
,
//医保手术编码集合
outaddsearchForm
:
{
diagName
:
""
,
opsName
:
""
,
diagName
:
''
,
opsName
:
''
},
addCorePercents
:
[],
addnolistShow
:
true
,
//没有搜索数据的时候显示
...
...
@@ -282,76 +352,76 @@ export default {
// 性别选择器
sexoptions
:
[
{
label
:
"未知"
,
value
:
"0"
,
label
:
'未知'
,
value
:
'0'
},
{
label
:
"男"
,
value
:
"1"
,
label
:
'男'
,
value
:
'1'
},
{
label
:
"女"
,
value
:
"2"
,
},
label
:
'女'
,
value
:
'2'
}
],
//离院方式选择器
leaveoptions
:
[
{
label
:
"医嘱离院"
,
value
:
"1"
,
label
:
'医嘱离院'
,
value
:
'1'
},
{
label
:
"医嘱转院"
,
value
:
"2"
,
label
:
'医嘱转院'
,
value
:
'2'
},
{
label
:
"医嘱转社区卫生服务机构/乡镇卫生院"
,
value
:
"3"
,
label
:
'医嘱转社区卫生服务机构/乡镇卫生院'
,
value
:
'3'
},
{
label
:
"非医嘱离院"
,
value
:
"4"
,
label
:
'非医嘱离院'
,
value
:
'4'
},
{
label
:
"死亡"
,
value
:
"5"
,
label
:
'死亡'
,
value
:
'5'
},
{
label
:
"其他"
,
value
:
"9"
,
},
label
:
'其他'
,
value
:
'9'
}
],
//性别输入框
sexvalue
:
"0"
,
sexvalue
:
'0'
,
//年龄 岁
ageinput
:
"0"
,
ageinput
:
'0'
,
//年龄 天
ageinput2
:
"0"
,
ageinput2
:
'0'
,
//icu时长
icuinput
:
"0"
,
icuinput
:
'0'
,
//离院方式
leavevalue
:
"1"
,
otdiagName
:
""
,
//其他诊断
otopsName
:
""
,
//其他手术
leavevalue
:
'1'
,
otdiagName
:
''
,
//其他诊断
otopsName
:
''
,
//其他手术
zdoptions
:
[],
//诊断的数据
otzdoptions
:
[],
//其他诊断数据
ssoptions
:
[],
//主手术
otssoptions
:
[],
//其他手术
diagList
:
[],
//诊断
opsList
:
[],
//手术
};
opsList
:
[]
//手术
}
},
async
mounted
()
{
this
.
getCaseHis
(
this
.
$route
.
query
.
id
);
this
.
getCaseHis
(
this
.
$route
.
query
.
id
)
},
methods
:
{
decimal
,
goback
()
{
this
.
$router
.
go
(
-
1
);
this
.
$router
.
go
(
-
1
)
},
//疾病查询
gosear
()
{
this
.
addrecordEnrollmentShow
=
true
;
this
.
addrecordEnrollmentShow
=
true
// this.outaddsearchForm = {
// diagName: this.casehisObj.c03C || "",
// };
...
...
@@ -359,73 +429,92 @@ export default {
},
//获取基本数据
getCaseHis
(
code
)
{
http
.
post
(
`/medical/Get/casehisData?id=
${
code
}
`
,
{})
http
.
post
(
`/medical/Get/casehisData?id=
${
code
}
`
,
{})
.
then
((
data
)
=>
{
this
.
casehisObj
=
data
;
this
.
diagMapList
=
data
.
diagMapList
;
this
.
opsMapList
=
data
.
opsMapList
;
this
.
getlist
();
this
.
casehisObj
=
data
this
.
diagMapList
=
data
.
diagMapList
this
.
opsMapList
=
data
.
opsMapList
this
.
getlist
()
})
.
catch
((
error
)
=>
{});
.
catch
((
error
)
=>
{})
},
//获取列表数据
getlist
()
{
http
.
post
(
`/medical/get/GetCorePercents`
,
{
http
.
post
(
`/medical/get/GetCorePercents`
,
{
Type
:
1
,
DiagMapList
:
this
.
diagMapList
,
OpsMapList
:
this
.
opsMapList
,
id
:
this
.
$route
.
query
.
id
,
id
:
this
.
$route
.
query
.
id
})
.
then
((
data
)
=>
{
this
.
CorePercents
=
data
.
list
;
this
.
CorePercents
=
data
.
list
this
.
CorePercents
.
map
((
item
)
=>
{
// 高倍率>总费用 高倍率金额+高倍率金额*30%
if
(
item
.
highMagnification
>
item
.
totalFee
)
{
item
.
heightnum
=
item
.
highMagnification
+
item
.
highMagnification
*
0.3
;
item
.
heightnum
=
item
.
highMagnification
+
item
.
highMagnification
*
0.3
}
else
if
(
item
.
highMagnification
<
item
.
totalFee
)
{
// 高倍率
<
总费用
患者总费用的金额
+
患者总费用的金额
*
30
%
item
.
heightnum
=
item
.
totalFee
+
item
.
totalFee
*
0.3
;
item
.
heightnum
=
item
.
totalFee
+
item
.
totalFee
*
0.3
}
// 低倍率宽度
item
.
lowwidth
=
Math
.
round
((
Math
.
round
(
item
.
lowMagnification
)
/
Math
.
round
(
item
.
heightnum
))
*
100
);
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
.
heightwidth
=
Math
.
round
(
((
Math
.
round
(
item
.
heightnum
)
-
Math
.
round
(
item
.
highMagnification
))
/
Math
.
round
(
item
.
heightnum
))
*
100
)
// 正常倍率宽度
item
.
contentwidth
=
100
-
(
item
.
lowwidth
+
item
.
heightwidth
);
item
.
contentwidth
=
100
-
(
item
.
lowwidth
+
item
.
heightwidth
)
//总费用宽度
item
.
totalwidth
=
Math
.
round
((
Math
.
round
(
item
.
totalFee
)
/
Math
.
round
(
item
.
heightnum
))
*
100
);
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"
;
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"
;
item
.
totalcolor
=
'#ff7e00'
}
if
(
item
.
lowMagnification
==
0
||
item
.
highMagnification
==
0
)
{
item
.
bottomheight
=
"80%"
;
item
.
bottomheight
=
'80%'
}
else
if
(
data
.
lowMagnification
!=
0
)
{
item
.
bottomheight
=
"68%"
;
item
.
bottomheight
=
'68%'
}
})
if
(
this
.
CorePercents
!=
null
&&
this
.
CorePercents
.
length
>
0
)
{
const
coreId
=
this
.
CorePercents
[
0
].
coreID
if
(
this
.
casehisObj
!=
null
&&
coreId
!==
this
.
casehisObj
.
drgs
.
coreid
)
this
.
submit
(
coreId
)
}
});
})
.
catch
((
error
)
=>
{});
.
catch
((
error
)
=>
{})
},
//提交
submit
(
coreID
)
{
http
.
post
(
`/medical/Update/casehisById?PatientId=
${
this
.
$route
.
query
.
id
}
&coreid=
${
coreID
}
`
)
http
.
post
(
`/medical/Update/casehisById?PatientId=
${
this
.
$route
.
query
.
id
}
&coreid=
${
coreID
}
`
)
.
then
((
data
)
=>
{
Message
.
success
({
message
:
`
${
data
.
message
}
`
,
type
:
"success"
,
});
this
.
getCaseHis
(
this
.
$route
.
query
.
id
);
//
Message.success({
//
message: `${data.message}`,
// type: 'success'
// })
this
.
getCaseHis
(
this
.
$route
.
query
.
id
)
})
.
catch
((
error
)
=>
{});
.
catch
((
error
)
=>
{})
},
//关闭弹层前的回调
closeDialog
()
{
this
.
addrecordEnrollmentShow
=
false
;
this
.
addrecordEnrollmentShow
=
false
// this.outaddsearchForm = {
// diagName: "",
// opsName: "",
...
...
@@ -434,55 +523,59 @@ export default {
},
//清空输入框的值时触发
addclear
()
{
this
.
addCorePercents
=
[];
this
.
addnodataShow
=
true
;
this
.
addCorePercents
=
[]
this
.
addnodataShow
=
true
},
//获取诊断数据
remoteMethod
(
query
)
{
if
(
query
)
{
http
.
post
(
`/medical/get/GetDiagOpss?diagName=
${
query
}
&type=
${
1
}
`
,
{})
http
.
post
(
`/medical/get/GetDiagOpss?diagName=
${
query
}
&type=
${
1
}
`
,
{})
.
then
((
data
)
=>
{
this
.
zdoptions
=
data
;
this
.
zdoptions
=
data
})
.
catch
((
error
)
=>
{});
.
catch
((
error
)
=>
{})
}
else
{
this
.
zdoptions
=
[];
this
.
zdoptions
=
[]
}
},
//获取其他诊断数据
otremoteMethod
(
query
)
{
if
(
query
)
{
http
.
post
(
`/medical/get/GetDiagOpss?diagName=
${
query
}
&type=
${
1
}
`
,
{})
http
.
post
(
`/medical/get/GetDiagOpss?diagName=
${
query
}
&type=
${
1
}
`
,
{})
.
then
((
data
)
=>
{
this
.
otzdoptions
=
data
;
this
.
otzdoptions
=
data
})
.
catch
((
error
)
=>
{});
.
catch
((
error
)
=>
{})
}
else
{
this
.
zdoptions
=
[];
this
.
zdoptions
=
[]
}
},
//获取主手术,其他手术的数据
ssremoteMethod
(
query
)
{
if
(
query
)
{
http
.
post
(
`/medical/get/GetDiagOpss?diagName=
${
query
}
&type=
${
2
}
`
,
{})
http
.
post
(
`/medical/get/GetDiagOpss?diagName=
${
query
}
&type=
${
2
}
`
,
{})
.
then
((
data
)
=>
{
this
.
ssoptions
=
data
;
this
.
ssoptions
=
data
})
.
catch
((
error
)
=>
{});
.
catch
((
error
)
=>
{})
}
else
{
this
.
zdoptions
=
[];
this
.
zdoptions
=
[]
}
},
//获取其他手术的数据
otssremoteMethod
(
query
)
{
if
(
query
)
{
http
.
post
(
`/medical/get/GetDiagOpss?diagName=
${
query
}
&type=
${
2
}
`
,
{})
http
.
post
(
`/medical/get/GetDiagOpss?diagName=
${
query
}
&type=
${
2
}
`
,
{})
.
then
((
data
)
=>
{
this
.
otssoptions
=
data
;
this
.
otssoptions
=
data
})
.
catch
((
error
)
=>
{});
.
catch
((
error
)
=>
{})
}
else
{
this
.
zdoptions
=
[];
this
.
zdoptions
=
[]
}
},
//查询
...
...
@@ -491,35 +584,36 @@ export default {
if
(
this
.
outaddsearchForm
.
diagName
)
{
this
.
diagList
.
push
({
diagCode
:
this
.
outaddsearchForm
.
diagName
,
diagOrder
:
"0"
,
});
diagOrder
:
'0'
})
}
if
(
!
this
.
outaddsearchForm
.
diagName
)
{
Message
.
warning
(
"请输入主诊断"
);
return
;
Message
.
warning
(
'请输入主诊断'
)
return
}
this
.
addgetlist
();
this
.
addgetlist
()
},
//获取列表数据
addgetlist
()
{
http
.
post
(
`/medical/post/GetCorePercentsByAssemble`
,
{
a14
:
this
.
ageinput
?
this
.
ageinput
:
"0"
,
// 年龄
a16
:
this
.
ageinput2
?
this
.
ageinput2
:
"0"
,
// 年龄不足一周岁(天)
http
.
post
(
`/medical/post/GetCorePercentsByAssemble`
,
{
a14
:
this
.
ageinput
?
this
.
ageinput
:
'0'
,
// 年龄
a16
:
this
.
ageinput2
?
this
.
ageinput2
:
'0'
,
// 年龄不足一周岁(天)
a12C
:
this
.
sexvalue
,
// 性别
icuTime
:
this
.
icuinput
?
this
.
icuinput
:
"0"
,
// icu总时长(分钟)
icuTime
:
this
.
icuinput
?
this
.
icuinput
:
'0'
,
// icu总时长(分钟)
b34C
:
this
.
leavevalue
,
// 离院方式
diagList
:
this
.
diagList
,
// 诊断集合
opsList
:
this
.
opsList
,
// 手术集合
opsList
:
this
.
opsList
// 手术集合
})
.
then
((
data
)
=>
{
this
.
addCorePercents
=
data
;
this
.
addCorePercents
=
data
if
(
this
.
addCorePercents
.
length
==
0
)
{
this
.
addnolistShow
=
true
;
this
.
addnolistShow
=
true
}
else
{
this
.
addnolistShow
=
false
;
this
.
addnolistShow
=
false
}
this
.
diagList
=
[];
this
.
opsList
=
[];
this
.
diagList
=
[]
this
.
opsList
=
[]
// this.totalCount = data.totalCount;
// for (var i = 0; i
<
this
.
addCorePercents
.
length
;
i
++
)
{
// this.$nextTick(() => {
...
...
@@ -532,16 +626,16 @@ export default {
// (this.diagList = []), (this.opsList = []);
// }
})
.
catch
((
error
)
=>
{});
.
catch
((
error
)
=>
{})
},
radios
()
{
let
_this
=
this
;
$
(
"input[type=radio][name=radios]"
).
on
(
"change"
,
function
()
{
_this
.
radio
=
this
.
value
;
_this
.
coreID
=
_this
.
CorePercents
.
find
((
item
)
=>
item
.
id
==
this
.
value
).
coreID
;
console
.
log
(
_this
.
coreID
);
console
.
log
(
this
.
value
);
});
let
_this
=
this
$
(
'input[type=radio][name=radios]'
).
on
(
'change'
,
function
()
{
_this
.
radio
=
this
.
value
_this
.
coreID
=
_this
.
CorePercents
.
find
((
item
)
=>
item
.
id
==
this
.
value
).
coreID
console
.
log
(
_this
.
coreID
)
console
.
log
(
this
.
value
)
})
// console.log(e);
// this.radio = e.target.value;
// this.coreID = this.CorePercents.find((item) => item.id == e.target.value).coreID;
...
...
@@ -549,26 +643,28 @@ export default {
},
toPage
()
{
http
.
get
(
`/medical/get/JumpHisMAInfo?id=
${
this
.
$route
.
query
.
id
}
`
,
{})
http
.
get
(
`/medical/get/JumpHisMAInfo?id=
${
this
.
$route
.
query
.
id
}
`
,
{})
.
then
((
data
)
=>
{
window
.
open
(
data
.
message
);
window
.
open
(
data
.
message
)
})
.
catch
((
error
)
=>
{
console
.
log
(
error
);
});
console
.
log
(
error
)
})
},
topage1
()
{
http
.
get
(
`/medical/get/JumpHisRules?id=
${
this
.
$route
.
query
.
id
}
`
,
{})
http
.
get
(
`/medical/get/JumpHisRules?id=
${
this
.
$route
.
query
.
id
}
`
,
{})
.
then
((
data
)
=>
{
window
.
open
(
data
.
message
);
window
.
open
(
data
.
message
)
})
.
catch
((
error
)
=>
{});
},
},
}
;
.
catch
((
error
)
=>
{})
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
@import
"../styles/mixin.scss"
;
@import
'../styles/mixin.scss'
;
//
@import
"../styles/outHistorygrouping.scss"
;
.outsetgrouping
{
height
:
calc
(
100%
-
20px
);
...
...
@@ -1451,7 +1547,7 @@ export default {
}
}
}
input
[
type
=
"radio"
i
]
{
input
[
type
=
'radio'
i
]
{
width
:
16px
;
height
:
16px
;
}
...
...
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