Commit fde54b38 by Licx

添加药耗占比

parent acdd056d
...@@ -9,53 +9,92 @@ ...@@ -9,53 +9,92 @@
<!-- 智能分组 --> <!-- 智能分组 -->
<div class="outsetgrouping" id="setGroupingbox"> <div class="outsetgrouping" id="setGroupingbox">
<div class="outsetgrouping_button"> <div class="outsetgrouping_button">
<router-link target="_blank" :to="{ path: '/medicalRecordImport', query: { id: $route.query.id } }"> <router-link
<el-button class="outsetgrouping_button_Searchbtn" size="mini" type="primary">DRG历史分组结果查询</el-button></router-link target="_blank"
:to="{ path: '/medicalRecordImport', query: { id: $route.query.id } }"
>
<el-button
class="outsetgrouping_button_Searchbtn"
size="mini"
type="primary"
>DRG历史分组结果查询</el-button
></router-link
>
<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"
> >
<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> <span class="s2">费用监控</span>
</el-button> </el-button>
<el-button class="outsetgrouping_button_Searchbtn" type="primary" size="mini" @click="gosear"> <el-button
class="outsetgrouping_button_Searchbtn"
type="primary"
size="mini"
@click="gosear"
>
<span class="s2">疾病分组查询</span> <span class="s2">疾病分组查询</span>
</el-button> </el-button>
</div> </div>
<div class="outsetgrouping_top"> <div class="outsetgrouping_top">
<div class="outsetgrouping_top_message"> <div class="outsetgrouping_top_message">
<div class="outsetgrouping_top_message_left" style="width: 18%"> <div class="outsetgrouping_top_message_left" style="width: 18%">
<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" style="width: 18%"> <div class="outsetgrouping_top_message_left" style="width: 18%">
<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" style="width: 18%"> <div class="outsetgrouping_top_message_centert" style="width: 18%">
<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" style="width: 18%"> <div class="outsetgrouping_top_message_centert" style="width: 18%">
<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>
...@@ -63,33 +102,51 @@ ...@@ -63,33 +102,51 @@
<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_centert"> <div class="outsetgrouping_top2_message_centert">
<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">
预计DRG支付费用:<span>{{ casehisObj ? decimal(casehisObj.drgs.actualfee) : "" }}</span> 预计DRG支付费用:<span>{{
casehisObj ? decimal(casehisObj.drgs.actualfee) : ''
}}</span>
</div> </div>
</div> </div>
<div class="outsetgrouping_top2_message_left"> <div class="outsetgrouping_top2_message_left">
<span class="outsetgrouping_top2_message_left_tu4"><img src="../assets/img/jiner.png" alt="" /> </span> <span class="outsetgrouping_top2_message_left_tu4"
><img src="../assets/img/jiner.png" alt="" />
</span>
<div class="outsetgrouping_top2_message_left_t1"> <div class="outsetgrouping_top2_message_left_t1">
总费用:<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>
...@@ -100,27 +157,44 @@ ...@@ -100,27 +157,44 @@
<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_yxrz" v-if="item.isShow"> <div
<div class="dw"><img src="../assets/img/t29.png" alt="" /> 优先入组</div> class="outsetgrouping_centent_totalnum_left_yxrz"
v-if="item.isShow"
>
<div class="dw">
<img src="../assets/img/t29.png" alt="" /> 优先入组
</div>
</div> </div>
<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>
...@@ -133,49 +207,81 @@ ...@@ -133,49 +207,81 @@
</div> </div>
<div class="outsetgrouping_centent_totalnum_left_text_msg2_text5"> <div class="outsetgrouping_centent_totalnum_left_text_msg2_text5">
<span>预计DRG支付费用:{{ decimal(item.actualfee) }}</span <span>预计DRG支付费用:{{ decimal(item.actualfee) }}</span>
><span>总费用:{{ decimal(item.totalFee) }}</span <span>总费用:{{ decimal(item.totalFee) }}</span>
><span>盈亏:{{ decimal(item.profitLoss) }}</span> <span>药耗占比:{{ decimal(item.drugMatPercent) + '%' }}</span>
<span>盈亏:{{ decimal(item.profitLoss) }}</span>
</div> </div>
</div> </div>
<div class="outpatientDetails_fenqu" v-if="item.lowMagnification != 0 && item.highMagnification != 0"> <div
class="outpatientDetails_fenqu"
v-if="item.lowMagnification != 0 && item.highMagnification != 0"
>
<div class="outpatientDetails_fenqu_di"> <div class="outpatientDetails_fenqu_di">
<div class="outpatientDetails_fenqu_di_bb"> <div class="outpatientDetails_fenqu_di_bb">
<div class="outpatientDetails_fenqu_di_bb_div1"> <div class="outpatientDetails_fenqu_di_bb_div1">
<span <span
class="outpatientDetails_fenqu_di_bb_div1_num" class="outpatientDetails_fenqu_di_bb_div1_num"
:style="{ marginLeft: item.totalwidth - 1 + '%', color: item.totalcolor }" :style="{
marginLeft: item.totalwidth - 1 + '%',
color: item.totalcolor
}"
>{{ decimal(item.totalFee) }}</span >{{ decimal(item.totalFee) }}</span
> >
<span <span
class="outpatientDetails_fenqu_di_bb_div1_he" class="outpatientDetails_fenqu_di_bb_div1_he"
:style="{ :style="{
marginLeft: item.totalwidth + '%', marginLeft: item.totalwidth + '%',
backgroundColor: item.totalcolor, backgroundColor: item.totalcolor
}" }"
></span> ></span>
</div> </div>
<div class="outpatientDetails_fenqu_di_bb_div2"> <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"
:style="{ width: item.lowwidth + '%' }"
><span ><span
class="outpatientDetails_fenqu_di_bb_div2_span1_t1" class="outpatientDetails_fenqu_di_bb_div2_span1_t1"
:title="'低倍率区域:&lt;=' + Math.round(item.lowMagnification)" :title="
>低倍率区域:&lt;={{ Math.round(item.lowMagnification) }}</span '低倍率区域:&lt;=' +
Math.round(item.lowMagnification)
"
>低倍率区域:&lt;={{
Math.round(item.lowMagnification)
}}</span
></span ></span
> >
<span class="outpatientDetails_fenqu_di_bb_div2_span2" :style="{ width: item.contentwidth + '%' }" <span
class="outpatientDetails_fenqu_di_bb_div2_span2"
:style="{ width: item.contentwidth + '%' }"
><span ><span
class="outpatientDetails_fenqu_di_bb_div2_span2_t2" class="outpatientDetails_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) }}</span '正常区域:' +
(Math.round(item.lowMagnification) + 1) +
'~' +
(Math.round(item.highMagnification) - 1)
"
>正常区域:{{
Math.round(item.lowMagnification) +
1 +
'~' +
(Math.round(item.highMagnification) - 1)
}}</span
></span ></span
> >
<span class="outpatientDetails_fenqu_di_bb_div2_span3" :style="{ width: item.heightwidth + '%' }" <span
class="outpatientDetails_fenqu_di_bb_div2_span3"
:style="{ width: item.heightwidth + '%' }"
><span ><span
class="outpatientDetails_fenqu_di_bb_div2_span3_t3" class="outpatientDetails_fenqu_di_bb_div2_span3_t3"
:title="'高倍率区域:>=' + Math.round(item.highMagnification)" :title="
>高倍率区域:>={{ Math.round(item.highMagnification) }}</span '高倍率区域:>=' + Math.round(item.highMagnification)
"
>高倍率区域:>={{
Math.round(item.highMagnification)
}}</span
></span ></span
> >
</div> </div>
...@@ -194,7 +300,14 @@ ...@@ -194,7 +300,14 @@
</div> </div>
</div> </div>
<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> <el-button
class="outsetgrouping_button_Submitbtn"
size="mini"
type="primary"
@click="submit(item.coreID)"
>
分组提交
</el-button>
</div> </div>
</div> </div>
<!-- <div class="outsetgrouping_centent_totalnum_right"> <!-- <div class="outsetgrouping_centent_totalnum_right">
...@@ -255,12 +368,20 @@ ...@@ -255,12 +368,20 @@
</div> </div>
<!-- 弹出层 --> <!-- 弹出层 -->
<el-dialog center :visible.sync="addrecordEnrollmentShow" class="fullscreen" :before-close="closeDialog" :fullscreen="true"> <el-dialog
center
:visible.sync="addrecordEnrollmentShow"
class="fullscreen"
: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"
...@@ -273,9 +394,16 @@ ...@@ -273,9 +394,16 @@
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
class="outaddrecordEnrollment_search_div1_inp2" class="outaddrecordEnrollment_search_div1_inp2"
v-model="otdiagName" v-model="otdiagName"
...@@ -291,13 +419,32 @@ ...@@ -291,13 +419,32 @@
size="mini" size="mini"
clearable clearable
> >
<el-option v-for="item in otzdoptions" :key="item.name" :label="item.name" :value="item.name" /> <el-option
v-for="item in otzdoptions"
:key="item.name"
:label="item.name"
:value="item.name"
/>
</el-select> </el-select>
<span class="outaddrecordEnrollment_search_div1_span3">年龄:</span> <span class="outaddrecordEnrollment_search_div1_span3">年龄:</span>
<el-input v-model="ageinput" placeholder="请输入年龄" class="outaddrecordEnrollment_search_div1_inp3" size="mini" />&nbsp; <el-input
<span class="outaddrecordEnrollment_search_div1_span4">ICU总时长:</span> v-model="ageinput"
<el-input v-model="icuinput" placeholder="请输入ICU总时长" class="outaddrecordEnrollment_search_div1_inp4" size="mini" />&nbsp;分钟 placeholder="请输入年龄"
<span class="outaddrecordEnrollment_search_div1_span4">医保类型:</span> class="outaddrecordEnrollment_search_div1_inp3"
size="mini"
/>&nbsp;
<span class="outaddrecordEnrollment_search_div1_span4"
>ICU总时长:</span
>
<el-input
v-model="icuinput"
placeholder="请输入ICU总时长"
class="outaddrecordEnrollment_search_div1_inp4"
size="mini"
/>&nbsp;分钟
<span class="outaddrecordEnrollment_search_div1_span4"
>医保类型:</span
>
<el-select <el-select
class="outaddrecordEnrollment_search_div1_inp1" class="outaddrecordEnrollment_search_div1_inp1"
style="width: 150px" style="width: 150px"
...@@ -310,11 +457,15 @@ ...@@ -310,11 +457,15 @@
<el-option label="城乡居民" value="城乡居民" /> <el-option label="城乡居民" value="城乡居民" />
</el-select> </el-select>
<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">
<span class="outaddrecordEnrollment_search_div2_span1">主手术:</span> <span class="outaddrecordEnrollment_search_div2_span1"
>主手术:</span
>
<el-select <el-select
class="outaddrecordEnrollment_search_div2_inp1" class="outaddrecordEnrollment_search_div2_inp1"
v-model="outaddsearchForm.opsName" v-model="outaddsearchForm.opsName"
...@@ -327,10 +478,17 @@ ...@@ -327,10 +478,17 @@
size="mini" size="mini"
clearable clearable
> >
<el-option v-for="item in ssoptions" :key="item.name" :label="item.name" :value="item.name" /> <el-option
v-for="item in ssoptions"
:key="item.name"
:label="item.name"
:value="item.name"
/>
</el-select> </el-select>
<span class="outaddrecordEnrollment_search_div2_span2">其他手术:</span> <span class="outaddrecordEnrollment_search_div2_span2"
>其他手术:</span
>
<el-select <el-select
class="outaddrecordEnrollment_search_div2_inp2" class="outaddrecordEnrollment_search_div2_inp2"
v-model="otopsName" v-model="otopsName"
...@@ -346,36 +504,80 @@ ...@@ -346,36 +504,80 @@
size="mini" size="mini"
clearable clearable
> >
<el-option v-for="item in otssoptions" :key="item.name" :label="item.name" :value="item.name" /> <el-option
v-for="item in otssoptions"
:key="item.name"
:label="item.name"
:value="item.name"
/>
</el-select> </el-select>
<span class="outaddrecordEnrollment_search_div2_span3">新生儿年龄:</span> <span class="outaddrecordEnrollment_search_div2_span3"
<el-input v-model="ageinput2" placeholder="请输入新生儿年龄" class="outaddrecordEnrollment_search_div2_inp3" size="mini" />&nbsp; >新生儿年龄:</span
<span class="outaddrecordEnrollment_search_div2_span4">离院方式:</span> >
<el-select v-model="leavevalue" placeholder="请选择离院方式" size="mini" class="outaddrecordEnrollment_search_div2_inp4"> <el-input
<el-option v-for="item in leaveoptions" :key="item.value" :label="item.label" :value="item.value" /> v-model="ageinput2"
placeholder="请输入新生儿年龄"
class="outaddrecordEnrollment_search_div2_inp3"
size="mini"
/>&nbsp;
<span class="outaddrecordEnrollment_search_div2_span4"
>离院方式:</span
>
<el-select
v-model="leavevalue"
placeholder="请选择离院方式"
size="mini"
class="outaddrecordEnrollment_search_div2_inp4"
>
<el-option
v-for="item in leaveoptions"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select> </el-select>
<span class="outaddrecordEnrollment_search_div2_span3" style="margin-left: 26px;">总费用:</span> <span
<el-input v-model="d01" placeholder="请输入总费用" class="outaddrecordEnrollment_search_div2_inp3" size="mini" /> class="outaddrecordEnrollment_search_div2_span3"
style="margin-left: 26px"
>总费用:</span
>
<el-input
v-model="d01"
placeholder="请输入总费用"
class="outaddrecordEnrollment_search_div2_inp3"
size="mini"
/>
</div> </div>
<div class="outaddrecordEnrollment_search_div3"> <div class="outaddrecordEnrollment_search_div3">
<span class="outaddrecordEnrollment_search_div3_span1">性别:</span> <span class="outaddrecordEnrollment_search_div3_span1">性别:</span>
<el-radio-group v-model="sexvalue"> <el-radio-group v-model="sexvalue">
<el-radio v-for="item in sexoptions" :key="item.value" :label="item.value" size="small">{{ item.label }}</el-radio> <el-radio
v-for="item in sexoptions"
:key="item.value"
:label="item.value"
size="small"
>{{ item.label }}</el-radio
>
</el-radio-group> </el-radio-group>
</div> </div>
</div> </div>
<div class="outaddrecordEnrollment_centent"> <div class="outaddrecordEnrollment_centent">
<div <div
class="outaddrecordEnrollment_centent_totalnum" class="outaddrecordEnrollment_centent_totalnum"
style="display: flex;justify-content: space-between;" style="display: flex; justify-content: space-between"
v-for="(item, index) in addCorePercents" v-for="(item, index) in addCorePercents"
:key="index" :key="index"
> >
<div class="outsetgrouping_centent_totalnum_left_yxrz" v-if="item.isShow"> <div
<div class="dw" style="height: 24%;"><img src="../assets/img/t29.png" alt="" /> 优先入组</div> class="outsetgrouping_centent_totalnum_left_yxrz"
v-if="item.isShow"
>
<div class="dw" style="height: 24%">
<img src="../assets/img/t29.png" alt="" /> 优先入组
</div>
</div> </div>
<div style="flex: 1;"> <div style="flex: 1">
<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>
...@@ -388,47 +590,79 @@ ...@@ -388,47 +590,79 @@
<span>分组类型:{{ item.disNature }}</span> <span>分组类型:{{ item.disNature }}</span>
</div> </div>
</div> </div>
<div class="outpatientDetails_fenqu" v-if="item.lowMagnification != 0 && item.highMagnification != 0"> <div
class="outpatientDetails_fenqu"
v-if="item.lowMagnification != 0 && item.highMagnification != 0"
>
<div class="outpatientDetails_fenqu_di"> <div class="outpatientDetails_fenqu_di">
<div class="outpatientDetails_fenqu_di_bb"> <div class="outpatientDetails_fenqu_di_bb">
<div class="outpatientDetails_fenqu_di_bb_div1"> <div class="outpatientDetails_fenqu_di_bb_div1">
<span <span
class="outpatientDetails_fenqu_di_bb_div1_num" class="outpatientDetails_fenqu_di_bb_div1_num"
:style="{ marginLeft: item.totalwidth - 1 + '%', color: item.totalcolor }" :style="{
marginLeft: item.totalwidth - 1 + '%',
color: item.totalcolor
}"
>{{ decimal(item.totalFee) }}</span >{{ decimal(item.totalFee) }}</span
> >
<span <span
class="outpatientDetails_fenqu_di_bb_div1_he" class="outpatientDetails_fenqu_di_bb_div1_he"
:style="{ :style="{
marginLeft: item.totalwidth + '%', marginLeft: item.totalwidth + '%',
backgroundColor: item.totalcolor, backgroundColor: item.totalcolor
}" }"
></span> ></span>
</div> </div>
<div <div
class="outpatientDetails_fenqu_di_bb_div2" class="outpatientDetails_fenqu_di_bb_div2"
style="height: 100%;" style="height: 100%"
> >
<span class="outpatientDetails_fenqu_di_bb_div2_span1" :style="{ width: item.lowwidth + '%' }" <span
class="outpatientDetails_fenqu_di_bb_div2_span1"
:style="{ width: item.lowwidth + '%' }"
><span ><span
class="outpatientDetails_fenqu_di_bb_div2_span1_t1" class="outpatientDetails_fenqu_di_bb_div2_span1_t1"
:title="'低倍率区域:&lt;=' + Math.round(item.lowMagnification)" :title="
>低倍率区域:&lt;={{ Math.round(item.lowMagnification) }}</span '低倍率区域:&lt;=' +
Math.round(item.lowMagnification)
"
>低倍率区域:&lt;={{
Math.round(item.lowMagnification)
}}</span
></span ></span
> >
<span class="outpatientDetails_fenqu_di_bb_div2_span2" :style="{ width: item.contentwidth + '%' }" <span
class="outpatientDetails_fenqu_di_bb_div2_span2"
:style="{ width: item.contentwidth + '%' }"
><span ><span
class="outpatientDetails_fenqu_di_bb_div2_span2_t2" class="outpatientDetails_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) }}</span '正常区域:' +
(Math.round(item.lowMagnification) + 1) +
'~' +
(Math.round(item.highMagnification) - 1)
"
>正常区域:{{
Math.round(item.lowMagnification) +
1 +
'~' +
(Math.round(item.highMagnification) - 1)
}}</span
></span ></span
> >
<span class="outpatientDetails_fenqu_di_bb_div2_span3" :style="{ width: item.heightwidth + '%' }" <span
class="outpatientDetails_fenqu_di_bb_div2_span3"
:style="{ width: item.heightwidth + '%' }"
><span ><span
class="outpatientDetails_fenqu_di_bb_div2_span3_t3" class="outpatientDetails_fenqu_di_bb_div2_span3_t3"
:title="'高倍率区域:>=' + Math.round(item.highMagnification)" :title="
>高倍率区域:>={{ Math.round(item.highMagnification) }}</span '高倍率区域:>=' +
Math.round(item.highMagnification)
"
>高倍率区域:>={{
Math.round(item.highMagnification)
}}</span
></span ></span
> >
</div> </div>
...@@ -445,11 +679,16 @@ ...@@ -445,11 +679,16 @@
</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>
...@@ -459,20 +698,20 @@ ...@@ -459,20 +698,20 @@
</div> </div>
</template> </template>
<script> <script>
import http from "../utils/http"; import http from '../utils/http'
import { decimal } from "../utils/decimal"; import { decimal } from '../utils/decimal'
import { Message } from "element-ui"; import { Message } from 'element-ui'
import { useRoute, useRouter } from "../utils/useVueRouter"; import { useRoute, useRouter } from '../utils/useVueRouter'
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,
...@@ -489,8 +728,8 @@ export default { ...@@ -489,8 +728,8 @@ export default {
opsMapList: null, //医保手术编码集合 opsMapList: null, //医保手术编码集合
outaddsearchForm: { outaddsearchForm: {
diagName: "", diagName: '',
opsName: "", opsName: ''
}, },
addCorePercents: [], addCorePercents: [],
addnolistShow: true, //没有搜索数据的时候显示 addnolistShow: true, //没有搜索数据的时候显示
...@@ -502,151 +741,167 @@ export default { ...@@ -502,151 +741,167 @@ 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: [], //手术
a46C: "城乡居民", a46C: '城乡居民',
d01: 0, d01: 0,
myTimer: null, myTimer: null
}; }
}, },
mounted() { mounted() {
this.$nextTick(() => { this.$nextTick(() => {
window.addEventListener("mouseover", this.myTimeOut); window.addEventListener('mouseover', this.myTimeOut)
}); })
this.myTimeOut(); this.myTimeOut()
this.getCaseHis(this.$route.query.id); this.getCaseHis(this.$route.query.id)
if (this.searchForm.diagName.length > 0) { if (this.searchForm.diagName.length > 0) {
this.getlist(); this.getlist()
} }
}, },
methods: { methods: {
decimal, decimal,
goback() { goback() {
router.go(-1); router.go(-1)
}, },
myTimeOut() { myTimeOut() {
clearTimeout(this.myTimer); clearTimeout(this.myTimer)
this.myTimer = setTimeout(() => { this.myTimer = setTimeout(() => {
window.opener = null; window.opener = null
window.open("about:blank", "_self", "").close(); window.open('about:blank', '_self', '').close()
window.close(); window.close()
clearTimeout(this.myTimer); clearTimeout(this.myTimer)
}, 10 * 60 * 1000); }, 10 * 60 * 1000)
}, },
//疾病查询 //疾病查询
gosear() { gosear() {
this.addrecordEnrollmentShow = true; this.addrecordEnrollmentShow = true
}, },
//获取基本数据 //获取基本数据
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%'
} }
}); })
if (this.CorePercents.length == 0) { if (this.CorePercents.length == 0) {
this.nolistShow = true; this.nolistShow = true
} }
// for (var i = 0; i < this.CorePercents.length; i++) { // for (var i = 0; i < this.CorePercents.length; i++) {
// this.$nextTick(); // this.$nextTick();
...@@ -657,85 +912,92 @@ export default { ...@@ -657,85 +912,92 @@ export default {
// initEcharts(categoryChart(this.CorePercents[i].otherPercent, "#C05EF3"), `indexChartfile${i}`); // initEcharts(categoryChart(this.CorePercents[i].otherPercent, "#C05EF3"), `indexChartfile${i}`);
// } // }
}) })
.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); this.getCaseHis(this.$route.query.id)
}) })
.catch((error) => {}); .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 = []
} }
}, },
...@@ -745,62 +1007,63 @@ export default { ...@@ -745,62 +1007,63 @@ export default {
if (this.otdiagName.length > 0 && this.outaddsearchForm.diagName) { if (this.otdiagName.length > 0 && this.outaddsearchForm.diagName) {
this.diagList.push({ this.diagList.push({
diagCode: this.outaddsearchForm.diagName, diagCode: this.outaddsearchForm.diagName,
diagOrder: "0", diagOrder: '0'
}); })
this.otdiagName.forEach((i) => { this.otdiagName.forEach((i) => {
this.diagList.push({ this.diagList.push({
diagCode: i, diagCode: i,
diagOrder: "1", diagOrder: '1'
}); })
}); })
} else if (this.outaddsearchForm.diagName) { } else if (this.outaddsearchForm.diagName) {
this.diagList.push({ this.diagList.push({
diagCode: this.outaddsearchForm.diagName, diagCode: this.outaddsearchForm.diagName,
diagOrder: "0", diagOrder: '0'
}); })
} else if (this.otdiagName.length > 0) { } else if (this.otdiagName.length > 0) {
this.otdiagName.forEach((i) => { this.otdiagName.forEach((i) => {
this.diagList.push({ this.diagList.push({
diagCode: i, diagCode: i,
diagOrder: "1", diagOrder: '1'
}); })
}); })
} }
// 手术 // 手术
if (this.otopsName.length > 0 && this.outaddsearchForm.opsName) { if (this.otopsName.length > 0 && this.outaddsearchForm.opsName) {
this.opsList.push({ this.opsList.push({
opsCode: this.outaddsearchForm.opsName, opsCode: this.outaddsearchForm.opsName,
opsOrder: "0", opsOrder: '0'
}); })
this.otopsName.forEach((i) => { this.otopsName.forEach((i) => {
this.opsList.push({ this.opsList.push({
opsCode: i, opsCode: i,
opsOrder: "1", opsOrder: '1'
}); })
}); })
} else if (this.outaddsearchForm.opsName) { } else if (this.outaddsearchForm.opsName) {
this.opsList.push({ this.opsList.push({
opsCode: this.outaddsearchForm.opsName, opsCode: this.outaddsearchForm.opsName,
opsOrder: "0", opsOrder: '0'
}); })
} else if (this.otopsName.length > 0) { } else if (this.otopsName.length > 0) {
this.otopsName.forEach((i) => { this.otopsName.forEach((i) => {
this.opsList.push({ this.opsList.push({
opsCode: i, opsCode: i,
opsOrder: "1", opsOrder: '1'
}); })
}); })
} }
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, // 手术集合
...@@ -811,44 +1074,58 @@ export default { ...@@ -811,44 +1074,58 @@ export default {
if (data && data.length == 0) { if (data && data.length == 0) {
Message.warning({ Message.warning({
message: `此诊断作为主诊断无法入组!`, message: `此诊断作为主诊断无法入组!`,
type: "warning", type: 'warning'
}); })
} }
this.addCorePercents = data; this.addCorePercents = data
this.addCorePercents.map((item) => { this.addCorePercents.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%'
} }
}); })
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.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++) {
...@@ -859,44 +1136,48 @@ export default { ...@@ -859,44 +1136,48 @@ export default {
// initEcharts(categoryChart11("其他", this.addCorePercents[i].otherPercent, "#C05EF3"), `indexChart11file${i}`); // initEcharts(categoryChart11("其他", this.addCorePercents[i].otherPercent, "#C05EF3"), `indexChart11file${i}`);
// (this.diagList = []), (this.opsList = []); // (this.diagList = []), (this.opsList = []);
// } // }
this.diagList = []; this.diagList = []
this.opsList = []; this.opsList = []
}) })
.catch((error) => {}); .catch((error) => {})
}, },
radios(e) { radios(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
}, },
toPage() { toPage() {
http.get(`/medical/get/JumpHisMAInfo?id=${this.$route.query.id}`, {}) http
.get(`/medical/get/JumpHisMAInfo?id=${this.$route.query.id}`, {})
.then((data) => { .then((data) => {
window.open(data.message); window.open(data.message)
}) })
.catch((error) => { .catch((error) => {
console.log(error); console.log(error)
}); })
}, },
topage1() { topage1() {
http.get(`/medical/get/JumpHisRules?id=${this.$route.query.id}`, {}) http
.get(`/medical/get/JumpHisRules?id=${this.$route.query.id}`, {})
.then((data) => { .then((data) => {
window.open(data.message); window.open(data.message)
}) })
.catch((error) => {}); .catch((error) => {})
}, },
toPage2() { toPage2() {
this.$router.push("/medicalRecordImport"); this.$router.push('/medicalRecordImport')
window.open(data.message); window.open(data.message)
}, }
}, }
}; }
</script> </script>
<style lang="scss"> <style lang="scss">
@import "../styles/mixin.scss"; @import '../styles/mixin.scss';
@import "../styles/outHistorygrouping.scss"; @import '../styles/outHistorygrouping.scss';
.outsetgrouping { .outsetgrouping {
height: 96%; height: 96%;
background-color: white; background-color: white;
...@@ -2050,7 +2331,7 @@ export default { ...@@ -2050,7 +2331,7 @@ export default {
margin-bottom: 10; margin-bottom: 10;
} }
} }
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