Commit 4d6d8392 by Licx

智能入组新页面(带高低倍率)的添加病案质控、费用监控

parent c711af64
...@@ -9,7 +9,28 @@ ...@@ -9,7 +9,28 @@
<!-- 智能分组 --> <!-- 智能分组 -->
<div class="outsetgrouping" id="setGroupingbox"> <div class="outsetgrouping" id="setGroupingbox">
<div class="outsetgrouping_button" style="margin-top: 15px"> <div class="outsetgrouping_button" style="margin-top: 15px">
<el-button class="outsetgrouping_button_Searchbtn" type="primary" size="mini" @click="gosear"> <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>
<el-button
class="outsetgrouping_button_Searchbtn"
type="primary"
size="mini"
@click="gosear"
>
<span class="s2">疾病分组查询</span> <span class="s2">疾病分组查询</span>
</el-button> </el-button>
<!-- <el-button class="outsetgrouping_button_Submitbtn" size="mini" type="primary" @click="submit"> <!-- <el-button class="outsetgrouping_button_Submitbtn" size="mini" type="primary" @click="submit">
...@@ -20,39 +41,53 @@ ...@@ -20,39 +41,53 @@
<div class="outsetgrouping_top"> <div class="outsetgrouping_top">
<div class="outsetgrouping_top_message"> <div class="outsetgrouping_top_message">
<div class="outsetgrouping_top_message_left"> <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"> <div class="outsetgrouping_top_message_left_t1">
住院号:<span>{{ casehisObj ? casehisObj.a48 : "" }}</span> 住院号:<span>{{ casehisObj ? casehisObj.a48 : '' }}</span>
</div> </div>
</div> </div>
<div class="outsetgrouping_top_message_left"> <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"> <div class="outsetgrouping_top_message_left_t1">
姓名:<span>{{ casehisObj ? casehisObj.a11 : "" }}</span> 姓名:<span>{{ casehisObj ? casehisObj.a11 : '' }}</span>
</div> </div>
</div> </div>
<div class="outsetgrouping_top_message_centert"> <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"> <div class="outsetgrouping_top_message_centert_t2">
住院次数:<span>{{ casehisObj ? casehisObj.a49 : "" }}</span> 住院次数:<span>{{ casehisObj ? casehisObj.a49 : '' }}</span>
</div> </div>
</div> </div>
<div class="outsetgrouping_top_message_centert"> <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"> <div class="outsetgrouping_top_message_centert_t2">
实际住院天数:<span>{{ casehisObj ? casehisObj.b20 : "" }}</span> 实际住院天数:<span>{{ casehisObj ? casehisObj.b20 : '' }}</span>
</div> </div>
</div> </div>
<div class="outsetgrouping_top_message_right"> <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"> <div class="outsetgrouping_top_message_right_t3">
医疗付费方式:<span>{{ casehisObj ? casehisObj.a46C : "" }}</span> 医疗付费方式:<span>{{ casehisObj ? casehisObj.a46C : '' }}</span>
</div> </div>
</div> </div>
<div class="outsetgrouping_top_message_blow"> <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"> <div class="outsetgrouping_top_message_blow_t4">
分组类型:<span>{{ casehisObj ? casehisObj.drgs.disNature : "" }}</span> 分组类型:<span>{{
casehisObj ? casehisObj.drgs.disNature : ''
}}</span>
</div> </div>
</div> </div>
</div> </div>
...@@ -60,33 +95,49 @@ ...@@ -60,33 +95,49 @@
<div class="outsetgrouping_top2"> <div class="outsetgrouping_top2">
<div class="outsetgrouping_top2_message"> <div class="outsetgrouping_top2_message">
<div class="outsetgrouping_top2_message_left"> <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"> <div class="outsetgrouping_top2_message_left_t1">
分组编码:<span>{{ casehisObj ? casehisObj.drgs.code : "" }}</span> 分组编码:<span>{{ casehisObj ? casehisObj.drgs.code : '' }}</span>
</div> </div>
</div> </div>
<div class="outsetgrouping_top2_message_right"> <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"> <div class="outsetgrouping_top2_message_centert_t2">
分组名称:<span>{{ casehisObj ? casehisObj.drgs.name : "" }}</span> 分组名称:<span>{{ casehisObj ? casehisObj.drgs.name : '' }}</span>
</div> </div>
</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> <span class="outsetgrouping_top2_message_right_tu6"
><img src="../assets/img/jiner.png" alt=""
/></span>
<div class="outsetgrouping_top2_message_right_t3"> <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> </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> <span class="outsetgrouping_top2_message_right_tu6"
><img src="../assets/img/jiner.png" alt=""
/></span>
<div class="outsetgrouping_top2_message_right_t3"> <div class="outsetgrouping_top2_message_right_t3">
总费用:<span>{{ casehisObj ? decimal(casehisObj.totalFee) : "" }}</span> 总费用:<span>{{
casehisObj ? decimal(casehisObj.totalFee) : ''
}}</span>
</div> </div>
</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> <span class="outsetgrouping_top2_message_right_tu6"
><img src="../assets/img/jiner.png" alt=""
/></span>
<div class="outsetgrouping_top2_message_right_t3"> <div class="outsetgrouping_top2_message_right_t3">
预计盈亏:<span>{{ casehisObj ? decimal(casehisObj.drgs.profitLoss) : "" }}</span> 预计盈亏:<span>{{
casehisObj ? decimal(casehisObj.drgs.profitLoss) : ''
}}</span>
</div> </div>
</div> </div>
</div> </div>
...@@ -97,10 +148,19 @@ ...@@ -97,10 +148,19 @@
<span class="outsetgrouping_title_span">智能疾病分组</span> <span class="outsetgrouping_title_span">智能疾病分组</span>
</div> </div>
<div class="outsetgrouping_centent"> <div class="outsetgrouping_centent">
<div class="outsetgrouping_centent_totalnum" v-for="(item, index) in CorePercents" :key="index"> <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">
<div class="outsetgrouping_centent_totalnum_left_radios"> <div class="outsetgrouping_centent_totalnum_left_radios">
<el-button class="outsetgrouping_button_Submitbtn" size="mini" type="primary" @click="submit(item.coreID)"> <el-button
class="outsetgrouping_button_Submitbtn"
size="mini"
type="primary"
@click="submit(item.coreID)"
>
<span class="iconfont icon-ipr_tijiao"></span> <span class="iconfont icon-ipr_tijiao"></span>
<span class="s2">分组提交</span> <span class="s2">分组提交</span>
</el-button> </el-button>
...@@ -108,19 +168,27 @@ ...@@ -108,19 +168,27 @@
<div class="outsetgrouping_centent_totalnum_left_text"> <div class="outsetgrouping_centent_totalnum_left_text">
<div class="outsetgrouping_centent_totalnum_left_text_msg1"> <div class="outsetgrouping_centent_totalnum_left_text_msg1">
<div class="outsetgrouping_centent_totalnum_left_text_msg1_text11"> <div
class="outsetgrouping_centent_totalnum_left_text_msg1_text11"
>
<span> 诊断名称:{{ item.diagMapName }}</span> <span> 诊断名称:{{ item.diagMapName }}</span>
<span>操作名称:{{ item.opsMapName }}</span> <span>操作名称:{{ item.opsMapName }}</span>
</div> </div>
<div class="outsetgrouping_centent_totalnum_left_text_msg1_text22"> <div
class="outsetgrouping_centent_totalnum_left_text_msg1_text22"
>
<span> 诊断编码:{{ item.disCode }}</span> <span> 诊断编码:{{ item.disCode }}</span>
<span>操作编码:{{ item.opsCode }}</span> <span>操作编码:{{ item.opsCode }}</span>
</div> </div>
<div class="outsetgrouping_centent_totalnum_left_text_msg1_text33"> <div
class="outsetgrouping_centent_totalnum_left_text_msg1_text33"
>
<span> 诊断类型:{{ item.diagOrder }}</span> <span> 诊断类型:{{ item.diagOrder }}</span>
<span>操作类型:{{ item.opsOrder }}</span> <span>操作类型:{{ item.opsOrder }}</span>
</div> </div>
<div class="outsetgrouping_centent_totalnum_left_text_msg1_text44"> <div
class="outsetgrouping_centent_totalnum_left_text_msg1_text44"
>
<span> 分组类型:{{ item.disNature }}</span> <span> 分组类型:{{ item.disNature }}</span>
</div> </div>
</div> </div>
...@@ -141,37 +209,76 @@ ...@@ -141,37 +209,76 @@
</div> </div>
<div class="outsetgrouping_centent_totalnum_right"> <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">
<div class="patientDetails_fenqu_di_bb"> <div class="patientDetails_fenqu_di_bb">
<div class="patientDetails_fenqu_di_bb_div1"> <div class="patientDetails_fenqu_di_bb_div1">
<span <span
class="patientDetails_fenqu_di_bb_div1_num" class="patientDetails_fenqu_di_bb_div1_num"
:style="{ 'margin-left': item.totalwidth - 1 + '%', color: item.totalcolor }" :style="{
'margin-left': item.totalwidth - 1 + '%',
color: item.totalcolor
}"
>{{ decimal(casehisObj.totalFee) }}</span >{{ decimal(casehisObj.totalFee) }}</span
> >
<span <span
class="patientDetails_fenqu_di_bb_div1_he" class="patientDetails_fenqu_di_bb_div1_he"
:style="{ marginLeft: item.totalwidth + '%', backgroundColor: item.totalcolor }" :style="{
marginLeft: item.totalwidth + '%',
backgroundColor: item.totalcolor
}"
></span> ></span>
</div> </div>
<div class="patientDetails_fenqu_di_bb_div2"> <div class="patientDetails_fenqu_di_bb_div2">
<span class="patientDetails_fenqu_di_bb_div2_span1" :style="{ width: item.lowwidth + '%' }"> <span
<span class="patientDetails_fenqu_di_bb_div2_span1_t1" :title="'低倍率区域:&lt;=' + Math.round(item.lowMagnification)" class="patientDetails_fenqu_di_bb_div2_span1"
>低倍率区域:&lt;={{ Math.round(item.lowMagnification) }}</span :style="{ width: item.lowwidth + '%' }"
>
<span
class="patientDetails_fenqu_di_bb_div2_span1_t1"
:title="
'低倍率区域:&lt;=' + Math.round(item.lowMagnification)
"
>低倍率区域:&lt;={{
Math.round(item.lowMagnification)
}}</span
> >
</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 <span
class="patientDetails_fenqu_di_bb_div2_span2_t2" 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> </span>
<span class="patientDetails_fenqu_di_bb_div2_span3" :style="{ width: item.heightwidth + '%' }"> <span
<span class="patientDetails_fenqu_di_bb_div2_span3_t3" :title="'高倍率区域:>=' + Math.round(item.highMagnification)"> 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) }} 高倍率区域:>={{ Math.round(item.highMagnification) }}
</span> </span>
</span> </span>
...@@ -221,12 +328,19 @@ ...@@ -221,12 +328,19 @@
</div> </div>
<!-- 弹出层 --> <!-- 弹出层 -->
<el-dialog center :visible.sync="addrecordEnrollmentShow" :before-close="closeDialog" :fullscreen="true"> <el-dialog
center
:visible.sync="addrecordEnrollmentShow"
:before-close="closeDialog"
:fullscreen="true"
>
<!-- 病案分组 --> <!-- 病案分组 -->
<div class="outaddrecordEnrollment" id="outaddrecordEnrollment"> <div class="outaddrecordEnrollment" id="outaddrecordEnrollment">
<div class="outaddrecordEnrollment_search"> <div class="outaddrecordEnrollment_search">
<div class="outaddrecordEnrollment_search_div1"> <div class="outaddrecordEnrollment_search_div1">
<span class="outaddrecordEnrollment_search_div1_span1"><span style="color: red">*</span> 主诊断:</span> <span class="outaddrecordEnrollment_search_div1_span1"
><span style="color: red">*</span> 主诊断:</span
>
<el-select <el-select
class="outaddrecordEnrollment_search_div1_inp1" class="outaddrecordEnrollment_search_div1_inp1"
v-model="outaddsearchForm.diagName" v-model="outaddsearchForm.diagName"
...@@ -238,7 +352,12 @@ ...@@ -238,7 +352,12 @@
size="mini" size="mini"
clearable clearable
> >
<el-option v-for="item in zdoptions" :key="item.name" :label="item.name" :value="item.name" /> <el-option
v-for="item in zdoptions"
:key="item.name"
:label="item.name"
:value="item.name"
/>
</el-select> </el-select>
<!-- <span class="outaddrecordEnrollment_search_div1_span2">其他诊断:</span> <!-- <span class="outaddrecordEnrollment_search_div1_span2">其他诊断:</span>
<el-select <el-select
...@@ -262,7 +381,9 @@ ...@@ -262,7 +381,9 @@
<span class="outaddrecordEnrollment_search_div1_span4">ICU总时长:</span> <span class="outaddrecordEnrollment_search_div1_span4">ICU总时长:</span>
<el-input v-model="icuinput" placeholder="请输入ICU总时长" class="outaddrecordEnrollment_search_div1_inp4" size="mini" />&nbsp;分钟 --> <el-input v-model="icuinput" placeholder="请输入ICU总时长" class="outaddrecordEnrollment_search_div1_inp4" size="mini" />&nbsp;分钟 -->
<span class="outaddrecordEnrollment_search_div1_span5"> <span class="outaddrecordEnrollment_search_div1_span5">
<el-button size="mini" type="primary" @click="addsearch">查询</el-button> <el-button size="mini" type="primary" @click="addsearch"
>查询</el-button
>
</span> </span>
</div> </div>
<div class="outaddrecordEnrollment_search_div2"> <div class="outaddrecordEnrollment_search_div2">
...@@ -314,18 +435,26 @@ ...@@ -314,18 +435,26 @@
</div> --> </div> -->
</div> </div>
<div class="outaddrecordEnrollment_centent"> <div class="outaddrecordEnrollment_centent">
<div class="outaddrecordEnrollment_centent_totalnum" v-for="(item, index) in addCorePercents" :key="index"> <div
class="outaddrecordEnrollment_centent_totalnum"
v-for="(item, index) in addCorePercents"
:key="index"
>
<div class="outaddrecordEnrollment_centent_totalnum_left"> <div class="outaddrecordEnrollment_centent_totalnum_left">
<div class="outaddrecordEnrollment_centent_totalnum_left_text1"> <div class="outaddrecordEnrollment_centent_totalnum_left_text1">
<span>分组编码:{{ item.code }}</span> <span>分组编码:{{ item.code }}</span>
<span class="one-txt-cut" :title="item.coreName">分组名称:{{ item.coreName }}</span> <span class="one-txt-cut" :title="item.coreName"
>分组名称:{{ item.coreName }}</span
>
<span>病种分值:{{ item.score }}</span> <span>病种分值:{{ item.score }}</span>
<span>预计DIP支付费用:{{ decimal(item.actualfee) }}</span> <span>预计DIP支付费用:{{ decimal(item.actualfee) }}</span>
<span>分组类型:{{ item.disNature }}</span> <span>分组类型:{{ item.disNature }}</span>
</div> </div>
<div class="outaddrecordEnrollment_centent_totalnum_left_text1"> <div class="outaddrecordEnrollment_centent_totalnum_left_text1">
<span>手术操作编码:{{ item.opsCode }}</span <span>手术操作编码:{{ item.opsCode }}</span
><span class="one-txt-cut" :title="item.opsName">手术操作名称:{{ item.opsName }}</span> ><span class="one-txt-cut" :title="item.opsName"
>手术操作名称:{{ item.opsName }}</span
>
</div> </div>
</div> </div>
<!-- <div class="outaddrecordEnrollment_centent_totalnum_right"> <!-- <div class="outaddrecordEnrollment_centent_totalnum_right">
...@@ -336,11 +465,16 @@ ...@@ -336,11 +465,16 @@
<div :id="`indexChart11file` + index" class="outaddrecordEnrollment_centent_totalnum_right_echar5"></div> <div :id="`indexChart11file` + index" class="outaddrecordEnrollment_centent_totalnum_right_echar5"></div>
</div> --> </div> -->
</div> </div>
<div v-show="addnolistShow" class="outaddrecordEnrollment_centent_nodata"> <div
v-show="addnolistShow"
class="outaddrecordEnrollment_centent_nodata"
>
<div class="outaddrecordEnrollment_centent_nodata_img"> <div class="outaddrecordEnrollment_centent_nodata_img">
<img src="../assets/img/nodata.png" alt="" /> <img src="../assets/img/nodata.png" alt="" />
</div> </div>
<div class="outaddrecordEnrollment_centent_nodata_text">暂无数据</div> <div class="outaddrecordEnrollment_centent_nodata_text">
暂无数据
</div>
</div> </div>
</div> </div>
...@@ -350,20 +484,20 @@ ...@@ -350,20 +484,20 @@
</div> </div>
</template> </template>
<script> <script>
import { decimal } from "../utils/decimal"; import { decimal } from '../utils/decimal'
import http from "../utils/http"; import http from '../utils/http'
import $ from "jquery"; import $ from 'jquery'
import { Message } from "element-ui"; import { Message } from 'element-ui'
import { initEcharts, categoryChart, categoryChart11 } from "../utils/echarts"; import { initEcharts, categoryChart, categoryChart11 } from '../utils/echarts'
export default { export default {
name: "outHistorygrouping", name: 'outHistorygrouping',
data() { data() {
return { return {
abc: "", abc: '',
casehisObj: null, casehisObj: null,
searchForm: { searchForm: {
diagName: "", diagName: '',
opsName: "", opsName: ''
}, },
CorePercents: [], CorePercents: [],
coreID: 0, coreID: 0,
...@@ -380,8 +514,8 @@ export default { ...@@ -380,8 +514,8 @@ export default {
opsMapList: null, //医保手术编码集合 opsMapList: null, //医保手术编码集合
outaddsearchForm: { outaddsearchForm: {
diagName: "", diagName: '',
opsName: "", opsName: ''
}, },
addCorePercents: [], addCorePercents: [],
addnolistShow: true, //没有搜索数据的时候显示 addnolistShow: true, //没有搜索数据的时候显示
...@@ -393,207 +527,230 @@ export default { ...@@ -393,207 +527,230 @@ export default {
// 性别选择器 // 性别选择器
sexoptions: [ sexoptions: [
{ {
label: "未知", label: '未知',
value: "0", value: '0'
}, },
{ {
label: "男", label: '男',
value: "1", value: '1'
}, },
{ {
label: "女", label: '女',
value: "2", value: '2'
}, }
], ],
//离院方式选择器 //离院方式选择器
leaveoptions: [ leaveoptions: [
{ {
label: "医嘱离院", label: '医嘱离院',
value: "1", value: '1'
}, },
{ {
label: "医嘱转院", label: '医嘱转院',
value: "2", value: '2'
}, },
{ {
label: "医嘱转社区卫生服务机构/乡镇卫生院", label: '医嘱转社区卫生服务机构/乡镇卫生院',
value: "3", value: '3'
}, },
{ {
label: "非医嘱离院", label: '非医嘱离院',
value: "4", value: '4'
}, },
{ {
label: "死亡", label: '死亡',
value: "5", value: '5'
}, },
{ {
label: "其他", label: '其他',
value: "9", value: '9'
}, }
], ],
//性别输入框 //性别输入框
sexvalue: "0", sexvalue: '0',
//年龄 岁 //年龄 岁
ageinput: "0", ageinput: '0',
//年龄 天 //年龄 天
ageinput2: "0", ageinput2: '0',
//icu时长 //icu时长
icuinput: "0", icuinput: '0',
//离院方式 //离院方式
leavevalue: "1", leavevalue: '1',
otdiagName: "", //其他诊断 otdiagName: '', //其他诊断
otopsName: "", //其他手术 otopsName: '', //其他手术
zdoptions: [], //诊断的数据 zdoptions: [], //诊断的数据
otzdoptions: [], //其他诊断数据 otzdoptions: [], //其他诊断数据
ssoptions: [], //主手术 ssoptions: [], //主手术
otssoptions: [], //其他手术 otssoptions: [], //其他手术
diagList: [], //诊断 diagList: [], //诊断
opsList: [], //手术 opsList: [] //手术
}; }
}, },
async mounted() { async mounted() {
this.getCaseHis(this.$route.query.id); this.getCaseHis(this.$route.query.id)
}, },
methods: { methods: {
decimal, decimal,
goback() { goback() {
this.$router.go(-1); this.$router.go(-1)
}, },
//疾病查询 //疾病查询
gosear() { gosear() {
this.addrecordEnrollmentShow = true; this.addrecordEnrollmentShow = true
this.outaddsearchForm = { this.outaddsearchForm = {
diagName: this.casehisObj.c03C || "", diagName: this.casehisObj.c03C || ''
}; }
this.addsearch(); this.addsearch()
}, },
//获取基本数据 //获取基本数据
getCaseHis(code) { getCaseHis(code) {
http.post(`/medical/Get/casehisData?id=${code}`, {}) http
.post(`/medical/Get/casehisData?id=${code}`, {})
.then((data) => { .then((data) => {
this.casehisObj = data; this.casehisObj = data
this.diagMapList = data.diagMapList; this.diagMapList = data.diagMapList
this.opsMapList = data.opsMapList; this.opsMapList = data.opsMapList
this.getlist(); this.getlist()
}) })
.catch((error) => {}); .catch((error) => {})
}, },
//获取列表数据 //获取列表数据
getlist() { getlist() {
http.post(`/medical/get/GetCorePercents`, { http
.post(`/medical/get/GetCorePercents`, {
Type: 1, Type: 1,
DiagMapList: this.diagMapList, DiagMapList: this.diagMapList,
OpsMapList: this.opsMapList, OpsMapList: this.opsMapList,
id: this.$route.query.id, id: this.$route.query.id
}) })
.then((data) => { .then((data) => {
this.CorePercents = data.list; this.CorePercents = data.list
this.CorePercents.map((item) => { this.CorePercents.map((item) => {
// 高倍率>总费用 高倍率金额+高倍率金额*30% // 高倍率>总费用 高倍率金额+高倍率金额*30%
if (item.highMagnification > item.totalFee) { 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) { } else if (item.highMagnification < item.totalFee) {
// 高倍率<总费用 患者总费用的金额+患者总费用的金额*30% // 高倍率<总费用 患者总费用的金额+患者总费用的金额*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) { if (item.totalFee < item.lowMagnification) {
item.totalcolor = "#e9c622"; item.totalcolor = '#e9c622'
} else if (item.totalFee > item.lowMagnification && item.totalFee < item.highMagnification) { } else if (
item.totalcolor = "#22d016"; item.totalFee > item.lowMagnification &&
item.totalFee < item.highMagnification
) {
item.totalcolor = '#22d016'
} else if (item.totalFee > item.highMagnification) { } else if (item.totalFee > item.highMagnification) {
item.totalcolor = "#ff7e00"; item.totalcolor = '#ff7e00'
} }
if (item.lowMagnification == 0 || item.highMagnification == 0) { if (item.lowMagnification == 0 || item.highMagnification == 0) {
item.bottomheight = "80%"; item.bottomheight = '80%'
} else if (data.lowMagnification != 0) { } else if (data.lowMagnification != 0) {
item.bottomheight = "68%"; item.bottomheight = '68%'
} }
});
}) })
.catch((error) => {}); })
.catch((error) => {})
}, },
//提交 //提交
submit(coreID) { 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) => { .then((data) => {
Message.success({ Message.success({
message: `${data.message}`, message: `${data.message}`,
type: "success", type: 'success'
});
this.getCaseHis(this.$route.query.id);
}) })
.catch((error) => {}); this.getCaseHis(this.$route.query.id)
})
.catch((error) => {})
}, },
//关闭弹层前的回调 //关闭弹层前的回调
closeDialog() { closeDialog() {
this.addrecordEnrollmentShow = false; this.addrecordEnrollmentShow = false
this.outaddsearchForm = { this.outaddsearchForm = {
diagName: "", diagName: '',
opsName: "", opsName: ''
}; }
(this.otdiagName = []), (this.otopsName = []), this.addclear(); ;(this.otdiagName = []), (this.otopsName = []), this.addclear()
}, },
//清空输入框的值时触发 //清空输入框的值时触发
addclear() { addclear() {
this.addCorePercents = []; this.addCorePercents = []
this.addnodataShow = true; this.addnodataShow = true
}, },
//获取诊断数据 //获取诊断数据
remoteMethod(query) { remoteMethod(query) {
if (query) { if (query) {
http.post(`/medical/get/GetDiagOpss?diagName=${query}&type=${1}`, {}) http
.post(`/medical/get/GetDiagOpss?diagName=${query}&type=${1}`, {})
.then((data) => { .then((data) => {
this.zdoptions = data; this.zdoptions = data
}) })
.catch((error) => {}); .catch((error) => {})
} else { } else {
this.zdoptions = []; this.zdoptions = []
} }
}, },
//获取其他诊断数据 //获取其他诊断数据
otremoteMethod(query) { otremoteMethod(query) {
if (query) { if (query) {
http.post(`/medical/get/GetDiagOpss?diagName=${query}&type=${1}`, {}) http
.post(`/medical/get/GetDiagOpss?diagName=${query}&type=${1}`, {})
.then((data) => { .then((data) => {
this.otzdoptions = data; this.otzdoptions = data
}) })
.catch((error) => {}); .catch((error) => {})
} else { } else {
this.zdoptions = []; this.zdoptions = []
} }
}, },
//获取主手术,其他手术的数据 //获取主手术,其他手术的数据
ssremoteMethod(query) { ssremoteMethod(query) {
if (query) { if (query) {
http.post(`/medical/get/GetDiagOpss?diagName=${query}&type=${2}`, {}) http
.post(`/medical/get/GetDiagOpss?diagName=${query}&type=${2}`, {})
.then((data) => { .then((data) => {
this.ssoptions = data; this.ssoptions = data
}) })
.catch((error) => {}); .catch((error) => {})
} else { } else {
this.zdoptions = []; this.zdoptions = []
} }
}, },
//获取其他手术的数据 //获取其他手术的数据
otssremoteMethod(query) { otssremoteMethod(query) {
if (query) { if (query) {
http.post(`/medical/get/GetDiagOpss?diagName=${query}&type=${2}`, {}) http
.post(`/medical/get/GetDiagOpss?diagName=${query}&type=${2}`, {})
.then((data) => { .then((data) => {
this.otssoptions = data; this.otssoptions = data
}) })
.catch((error) => {}); .catch((error) => {})
} else { } else {
this.zdoptions = []; this.zdoptions = []
} }
}, },
//查询 //查询
...@@ -602,35 +759,36 @@ export default { ...@@ -602,35 +759,36 @@ export default {
if (this.outaddsearchForm.diagName) { if (this.outaddsearchForm.diagName) {
this.diagList.push({ this.diagList.push({
diagCode: this.outaddsearchForm.diagName, diagCode: this.outaddsearchForm.diagName,
diagOrder: "0", diagOrder: '0'
}); })
} }
if (!this.outaddsearchForm.diagName) { if (!this.outaddsearchForm.diagName) {
Message.warning("请输入主诊断"); Message.warning('请输入主诊断')
return; return
} }
this.addgetlist(); this.addgetlist()
}, },
//获取列表数据 //获取列表数据
addgetlist() { addgetlist() {
http.post(`/medical/post/GetCorePercentsByAssemble`, { http
a14: this.ageinput ? this.ageinput : "0", // 年龄 .post(`/medical/post/GetCorePercentsByAssemble`, {
a16: this.ageinput2 ? this.ageinput2 : "0", // 年龄不足一周岁(天) a14: this.ageinput ? this.ageinput : '0', // 年龄
a16: this.ageinput2 ? this.ageinput2 : '0', // 年龄不足一周岁(天)
a12C: this.sexvalue, // 性别 a12C: this.sexvalue, // 性别
icuTime: this.icuinput ? this.icuinput : "0", // icu总时长(分钟) icuTime: this.icuinput ? this.icuinput : '0', // icu总时长(分钟)
b34C: this.leavevalue, // 离院方式 b34C: this.leavevalue, // 离院方式
diagList: this.diagList, // 诊断集合 diagList: this.diagList, // 诊断集合
opsList: this.opsList, // 手术集合 opsList: this.opsList // 手术集合
}) })
.then((data) => { .then((data) => {
this.addCorePercents = data; this.addCorePercents = data
if (this.addCorePercents.length == 0) { if (this.addCorePercents.length == 0) {
this.addnolistShow = true; this.addnolistShow = true
} else { } else {
this.addnolistShow = false; this.addnolistShow = false
} }
this.diagList = []; this.diagList = []
this.opsList = []; this.opsList = []
// this.totalCount = data.totalCount; // this.totalCount = data.totalCount;
// for (var i = 0; i < this.addCorePercents.length; i++) { // for (var i = 0; i < this.addCorePercents.length; i++) {
// this.$nextTick(() => { // this.$nextTick(() => {
...@@ -643,26 +801,47 @@ export default { ...@@ -643,26 +801,47 @@ export default {
// (this.diagList = []), (this.opsList = []); // (this.diagList = []), (this.opsList = []);
// } // }
}) })
.catch((error) => {}); .catch((error) => {})
}, },
radios() { radios() {
let _this = this; let _this = this
$("input[type=radio][name=radios]").on("change", function () { $('input[type=radio][name=radios]').on('change', function () {
_this.radio = this.value; _this.radio = this.value
_this.coreID = _this.CorePercents.find((item) => item.id == this.value).coreID; _this.coreID = _this.CorePercents.find(
console.log(_this.coreID); (item) => item.id == this.value
console.log(this.value); ).coreID
}); console.log(_this.coreID)
console.log(this.value)
})
// console.log(e); // console.log(e);
// this.radio = e.target.value; // this.radio = e.target.value;
// this.coreID = this.CorePercents.find((item) => item.id == e.target.value).coreID; // this.coreID = this.CorePercents.find((item) => item.id == e.target.value).coreID;
// console.log(this.coreID); // console.log(this.coreID);
}, },
toPage() {
http
.get(`/medical/get/JumpHisMAInfo?id=${this.$route.query.id}`, {})
.then((data) => {
window.open(data.message)
})
.catch((error) => {
console.log(error)
})
}, },
}; topage1() {
http
.get(`/medical/get/JumpHisRules?id=${this.$route.query.id}`, {})
.then((data) => {
window.open(data.message)
})
.catch((error) => {})
}
}
}
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@import "../styles/mixin.scss"; @import '../styles/mixin.scss';
// @import "../styles/outHistorygrouping.scss"; // @import "../styles/outHistorygrouping.scss";
.outsetgrouping { .outsetgrouping {
height: calc(100% - 20px); height: calc(100% - 20px);
...@@ -1545,7 +1724,7 @@ export default { ...@@ -1545,7 +1724,7 @@ export default {
} }
} }
} }
input[type="radio" i] { input[type='radio' i] {
width: 16px; width: 16px;
height: 16px; height: 16px;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment