Commit 0fc2a231 by 唐玉峰

Merge branch 'feature/贵州丹寨人民医院' of…

Merge branch 'feature/贵州丹寨人民医院' of https://gitlab.suvalue.com/ninglupeng/vue-composition-api into feature/贵州丹寨人民医院
parents 7d4ac1e1 b2435e75
...@@ -7,27 +7,30 @@ ...@@ -7,27 +7,30 @@
--> -->
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<!-- <meta base="/his/"> --> <!-- <meta base="/his/"> -->
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" /> <meta name="viewport" content="width=device-width,initial-scale=1.0" />
<link rel="icon" href="favicon.ico" /> <link rel="icon" href="favicon.ico" />
<meta http-equiv="X-UA-Compatible" content="IE=8" /> <meta http-equiv="X-UA-Compatible" content="IE=8" />
<meta http-equiv="Expires" content="0" /> <meta http-equiv="Expires" content="0" />
<meta http-equiv="Pragma" content="no-cache" /> <meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Cache-control" content="no-cache" /> <meta http-equiv="Cache-control" content="no-cache" />
<meta http-equiv="Cache" content="no-cache" /> <meta http-equiv="Cache" content="no-cache" />
<title>基于病种精准管理系统</title> <title>基于病种精准管理系统</title>
</head> <script type="text/javascript" src="./webconfig.js"></script>
</head>
<body> <body>
<noscript> <noscript>
<strong <strong
>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong >We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
> properly without JavaScript enabled. Please enable it to
</noscript> continue.</strong
<div id="app"></div> >
<!-- built files will be auto injected --> </noscript>
</body> <div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html> </html>
window.webConfig = {
diseLink: 'http://192.168.18.90:8080/#/dataAnalysis/department'
}
<template> <template>
<div class="patientinfo"> <div class="patientinfo">
<div style="height: 30px; background-color: #0283bb"></div> <div style="height: 30px; background-color: #0283bb"></div>
<div class="main"> <div class="main">
<div class=""> <div class="">
<div class="flex-start-center"> <div class="flex-start-center">
<div class="flex-start-center mar-right-10" v-for="(value, key, index) in obj" :key="index"> <div
<span class="mar-right-10" style="width: 12px; height: 12px" :style="{ background: value }"></span> class="flex-start-center mar-right-10"
<span class="color-666 font-14">{{ key }}</span> v-for="(value, key, index) in obj"
</div> :key="index"
</div> >
<div class="flex-between mar-top-15"> <span
<div> class="mar-right-10"
<div class="mar-bottom-10"> style="width: 12px; height: 12px"
<el-input :style="{ background: value }"
size="mini" ></span>
class="mar-right-10" <span class="color-666 font-14">{{ key }}</span>
v-model.trim="a48" </div>
style="width: 160px" </div>
placeholder="请输入病案号/住院号" <div class="flex-between mar-top-15">
clearable <div>
@clear="search" <div class="mar-bottom-10">
@keyup.enter.native="search" <el-input
> size="mini"
</el-input> class="mar-right-10"
<el-input v-model.trim="a48"
size="mini" style="width: 160px"
class="mar-right-10" placeholder="请输入病案号/住院号"
v-model.trim="a11" clearable
style="width: 160px" @clear="search"
placeholder="请输入患者姓名" @keyup.enter.native="search"
clearable >
@clear="search" </el-input>
@keyup.enter.native="search" <el-input
> size="mini"
</el-input> class="mar-right-10"
v-model.trim="a11"
style="width: 160px"
placeholder="请输入患者姓名"
clearable
@clear="search"
@keyup.enter.native="search"
>
</el-input>
<el-select <el-select
size="mini" size="mini"
class="mar-right-10" class="mar-right-10"
v-model.trim="b16C" v-model.trim="b16C"
filterable filterable
style="width: 160px" style="width: 160px"
placeholder="当前科室" placeholder="当前科室"
clearable clearable
@clear="search" @clear="search"
> >
<el-option v-for="item in deptList" :key="item.deptCode" :label="item.deptName" :value="item.deptCode"> </el-option> <el-option
</el-select> v-for="item in deptList"
<el-select v-model="isout" placeholder="是否出院" size="mini" class="mar-right-10" clearable style="width: 160px" @clear="search"> :key="item.deptCode"
<el-option label="已出院" :value="1"> </el-option> :label="item.deptName"
<el-option label="未出院" :value="0"> </el-option> :value="item.deptCode"
</el-select> >
<el-select </el-option>
v-model="insuranceType" </el-select>
placeholder="医保类型" <el-select
size="mini" v-model="isout"
class="mar-right-10" placeholder="是否出院"
clearable size="mini"
style="width: 160px" class="mar-right-10"
@clear="search" clearable
> style="width: 160px"
<el-option label="自费" :value="2"> </el-option> @clear="search"
<el-option label="医保" :value="1"> </el-option> >
<el-option label="未填写" :value="0"> </el-option> <el-option label="已出院" :value="1"> </el-option>
</el-select> <el-option label="未出院" :value="0"> </el-option>
<span class="font-14 color-999">入院时间:</span> </el-select>
<el-select <el-select
v-model="currentDate" v-model="insuranceType"
placeholder="当前年月" placeholder="医保类型"
size="mini" size="mini"
class="mar-right-10" class="mar-right-10"
clearable clearable
style="width: 100px" style="width: 160px"
@change="handleCurrentDateChange" @clear="search"
> >
<el-option label="当前年" :value="1"> </el-option> <el-option label="自费" :value="2"> </el-option>
<el-option label="当前月" :value="2"> </el-option> <el-option label="医保" :value="1"> </el-option>
</el-select> <el-option label="未填写" :value="0"> </el-option>
<el-date-picker </el-select>
v-model="time" <span class="font-14 color-999">入院时间:</span>
size="mini" <el-select
style="width: 210px" v-model="currentDate"
type="daterange" placeholder="当前年月"
format="yyyy-MM-dd" size="mini"
value-format="yyyy-MM-dd" class="mar-right-10"
class="mar-right-10" clearable
@change="search" style="width: 100px"
range-separator="至" @change="handleCurrentDateChange"
start-placeholder="入院日期" >
end-placeholder="结束日期" <el-option label="当前年" :value="1"> </el-option>
> <el-option label="当前月" :value="2"> </el-option>
</el-date-picker> </el-select>
</div> <el-date-picker
<div> v-model="time"
<el-input size="mini"
size="mini" style="width: 210px"
class="mar-right-10" type="daterange"
v-model.trim="doctorName" format="yyyy-MM-dd"
style="width: 160px" value-format="yyyy-MM-dd"
placeholder="请输入主治医生" class="mar-right-10"
clearable @change="search"
@clear="search" range-separator="至"
@keyup.enter.native="search" start-placeholder="入院日期"
> end-placeholder="结束日期"
</el-input> >
<el-input </el-date-picker>
size="mini" </div>
class="mar-right-10" <div>
v-model.trim="codeName" <el-input
style="width: 160px" size="mini"
placeholder="请输入分组编码/分组名称" class="mar-right-10"
clearable v-model.trim="doctorName"
@clear="search" style="width: 160px"
@keyup.enter.native="search" placeholder="请输入主治医生"
> clearable
</el-input> @clear="search"
<el-select @keyup.enter.native="search"
v-model="dis_type" >
placeholder="请选择倍率" </el-input>
size="mini" <el-input
class="mar-right-10" size="mini"
clearable class="mar-right-10"
style="width: 160px" v-model.trim="codeName"
@clear="search" style="width: 160px"
> placeholder="请输入分组编码/分组名称"
<el-option label="高倍率病例" value="高倍率病例"> </el-option> clearable
<el-option label="正常病例" value="正常病例"> </el-option> @clear="search"
<el-option label="低倍率病例" value="低倍率病例"> </el-option> @keyup.enter.native="search"
</el-select> >
<el-select v-model="isjoin" placeholder="分组状态" size="mini" class="mar-right-10" clearable style="width: 160px" @clear="search"> </el-input>
<el-option label="已分组" :value="1"> </el-option> <el-select
<el-option label="未分组" :value="0"> </el-option> v-model="dis_type"
</el-select> placeholder="请选择倍率"
<el-select v-model="shzt" placeholder="审核状态" size="mini" class="mar-right-10" clearable style="width: 160px" @clear="search"> size="mini"
<el-option label="已审核" value="已审"> </el-option> class="mar-right-10"
<el-option label="未审核" value="未审"> </el-option> clearable
</el-select> style="width: 160px"
<span class="font-14 color-999">结算时间:</span> @clear="search"
<el-select >
v-model="currentDate1" <el-option label="高倍率病例" value="高倍率病例"> </el-option>
placeholder="当前年月" <el-option label="正常病例" value="正常病例"> </el-option>
size="mini" <el-option label="低倍率病例" value="低倍率病例"> </el-option>
class="mar-right-10" </el-select>
clearable <el-select
style="width: 100px" v-model="isjoin"
@change="handleCurrentDateChange1" placeholder="分组状态"
> size="mini"
<el-option label="当前年" :value="1"> </el-option> class="mar-right-10"
<el-option label="当前月" :value="2"> </el-option> clearable
</el-select> style="width: 160px"
<el-date-picker @clear="search"
v-model="time1" >
size="mini" <el-option label="已分组" :value="1"> </el-option>
style="width: 210px" <el-option label="未分组" :value="0"> </el-option>
type="daterange" </el-select>
format="yyyy-MM-dd" <el-select
value-format="yyyy-MM-dd" v-model="shzt"
class="mar-right-10" placeholder="审核状态"
@change="search" size="mini"
range-separator="至" class="mar-right-10"
start-placeholder="结算日期" clearable
end-placeholder="结束日期" style="width: 160px"
> @clear="search"
</el-date-picker> >
</div> <el-option label="已审核" value="已审"> </el-option>
</div> <el-option label="未审核" value="未审"> </el-option>
<div> </el-select>
<el-button <span class="font-14 color-999">结算时间:</span>
type="primary" <el-select
style="background: rgb(2, 131, 187); border-color: rgb(2, 131, 187)" v-model="currentDate1"
size="mini" placeholder="当前年月"
slot="append" size="mini"
icon="el-icon-search" class="mar-right-10"
@click="search" clearable
>查询</el-button style="width: 100px"
> @change="handleCurrentDateChange1"
<el-button >
type="primary" <el-option label="当前年" :value="1"> </el-option>
style="background: rgb(2, 131, 187); border-color: rgb(2, 131, 187)" <el-option label="当前月" :value="2"> </el-option>
size="mini" </el-select>
slot="append" <el-date-picker
icon="el-icon-download" v-model="time1"
@click="downLoad" size="mini"
>下载</el-button style="width: 210px"
> type="daterange"
</div> format="yyyy-MM-dd"
</div> value-format="yyyy-MM-dd"
class="mar-right-10"
@change="search"
range-separator="至"
start-placeholder="结算日期"
end-placeholder="结束日期"
>
</el-date-picker>
</div> </div>
<div class="table flex-1 mar-top-15"> </div>
<el-table border ref="tableRef" height="93%" :data="tableData" size="mini" :highlight-current-row="true" :cell-class-name="cellName"> <div>
<el-table-column align="center" type="index" width="50" fixed="left"></el-table-column> <el-button
<el-table-column label="同步更新" align="center" min-width="80" show-overflow-tooltip fixed="left"> type="primary"
<template #default="scope"> style="
<i class="el-icon-refresh font-16 cursor" @click.stop="SetInjoinAgain(scope.row.id)"></i> background: rgb(2, 131, 187);
</template> border-color: rgb(2, 131, 187);
</el-table-column> "
<el-table-column size="mini"
prop="fee_consume" slot="append"
label="费用消耗比例" icon="el-icon-search"
sortable @click="search"
align="center" >查询</el-button
min-width="120" >
show-overflow-tooltip <el-button
fixed="left" type="primary"
></el-table-column> style="
<el-table-column prop="regcode" label="病案号" sortable align="center" min-width="120" show-overflow-tooltip fixed="left"> background: rgb(2, 131, 187);
<template #default="scope"> border-color: rgb(2, 131, 187);
<!-- 正常病例 低倍率病例 高倍率病例 dis_type--> "
<div class="flex-center-center"> size="mini"
<span class="mar-right-10" style="width: 12px; height: 12px" :style="{ background: obj[scope.row.dis_type] }"></span> slot="append"
<span>{{ scope.row.regcode }}</span> icon="el-icon-download"
</div> @click="downLoad"
</template> >下载</el-button
</el-table-column> >
<el-table-column prop="a48C" label="住院号" sortable align="center" min-width="120" show-overflow-tooltip fixed="left"> </el-table-column> <el-button
<el-table-column prop="name" label="姓名" sortable align="center" min-width="120" show-overflow-tooltip fixed="left"></el-table-column> v-if="link"
<el-table-column prop="inhostime" label="入院日期" sortable align="center" min-width="120" show-overflow-tooltip> type="primary"
<template #default="scope"> style="
<span>{{ scope.row.inhostime ? formatYMD(scope.row.inhostime) : "" }}</span> background: rgb(2, 131, 187);
</template> border-color: rgb(2, 131, 187);
</el-table-column> "
<el-table-column prop="outhostime" label="出院日期" sortable align="center" min-width="120" show-overflow-tooltip> size="mini"
<template #default="scope"> slot="append"
<span>{{ scope.row.outhostime ? formatYMD(scope.row.outhostime) : "" }}</span> icon="el-icon-link"
</template> @click="openLink"
</el-table-column> >更多报表</el-button
<el-table-column prop="indeptname" label="当前科室" sortable align="center" min-width="120" show-overflow-tooltip> </el-table-column> >
<el-table-column prop="doctorname" label="主治医生" sortable align="center" min-width="120" show-overflow-tooltip> </el-table-column> </div>
<el-table-column prop="inhosdays" label="住院天数" sortable align="center" min-width="120" show-overflow-tooltip> </el-table-column> </div>
<el-table-column prop="isjoin" label="是否出院" sortable align="center" min-width="120" show-overflow-tooltip> </el-table-column> </div>
<el-table-column prop="isbasiclevel" label="是否基层病种" sortable align="center" min-width="120" show-overflow-tooltip> </el-table-column> <div class="table flex-1 mar-top-15">
<el-table-column prop="total_fee" label="住院总费用" sortable align="center" min-width="120" show-overflow-tooltip> <el-table
<template #default="scope"> border
<span>{{ decimal(scope.row.total_fee) }}</span> ref="tableRef"
</template> height="93%"
</el-table-column> :data="tableData"
<el-table-column prop="self_payment" label="结算后自付费用" sortable align="center" min-width="130" show-overflow-tooltip> size="mini"
<template #default="scope"> :highlight-current-row="true"
<span>{{ decimal(scope.row.self_payment) }}</span> :cell-class-name="cellName"
</template> >
</el-table-column> <el-table-column
<el-table-column prop="self_payment_proportion" label="自付占比" sortable align="center" min-width="120" show-overflow-tooltip> align="center"
</el-table-column> type="index"
<el-table-column prop="medical_payment" label="医保类型" sortable align="center" min-width="120" show-overflow-tooltip></el-table-column> width="50"
<el-table-column prop="discode" label="分组编码" sortable align="center" width="250" show-overflow-tooltip> </el-table-column> fixed="left"
<el-table-column prop="disname" label="分组名称" sortable align="center" min-width="180" show-overflow-tooltip> </el-table-column> ></el-table-column>
<el-table-column prop="rw" label="实际分值" sortable align="center" min-width="120" show-overflow-tooltip></el-table-column> <el-table-column
<el-table-column prop="standardrw" label="标准分值" sortable align="center" min-width="120" show-overflow-tooltip> </el-table-column> label="同步更新"
<el-table-column label="二级医院标准分值" sortable align="center" min-width="160" show-overflow-tooltip> align="center"
<template #default="scope"> min-width="80"
<span>{{ scope.row.isbasiclevel == "是" ? scope.row.standardrw : decimal(scope.row.standardrw * 0.8) }}</span> show-overflow-tooltip
</template> fixed="left"
</el-table-column> >
<el-table-column prop="medactalfee" label="预计DIP支付费用" sortable align="center" min-width="140" show-overflow-tooltip> <template #default="scope">
<template #default="scope"> <i
<span>{{ decimal(scope.row.medactalfee) }}</span> class="el-icon-refresh font-16 cursor"
</template> @click.stop="SetInjoinAgain(scope.row.id)"
</el-table-column> ></i>
<el-table-column prop="medical_insurance_balance" label="预计DIP结余" sortable align="center" min-width="120" show-overflow-tooltip> </template>
<template #default="scope"> </el-table-column>
<span>{{ decimal(scope.row.medical_insurance_balance) }}</span> <el-table-column
</template> prop="fee_consume"
</el-table-column> label="费用消耗比例"
<el-table-column prop="dis_type" label="病例类型" sortable align="center" min-width="120" show-overflow-tooltip></el-table-column> sortable
align="center"
min-width="120"
show-overflow-tooltip
fixed="left"
></el-table-column>
<el-table-column
prop="regcode"
label="病案号"
sortable
align="center"
min-width="120"
show-overflow-tooltip
fixed="left"
>
<template #default="scope">
<!-- 正常病例 低倍率病例 高倍率病例 dis_type-->
<div class="flex-center-center">
<span
class="mar-right-10"
style="width: 12px; height: 12px"
:style="{ background: obj[scope.row.dis_type] }"
></span>
<span>{{ scope.row.regcode }}</span>
</div>
</template>
</el-table-column>
<el-table-column
prop="a48C"
label="住院号"
sortable
align="center"
min-width="120"
show-overflow-tooltip
fixed="left"
>
</el-table-column>
<el-table-column
prop="name"
label="姓名"
sortable
align="center"
min-width="120"
show-overflow-tooltip
fixed="left"
></el-table-column>
<el-table-column
prop="inhostime"
label="入院日期"
sortable
align="center"
min-width="120"
show-overflow-tooltip
>
<template #default="scope">
<span>{{
scope.row.inhostime ? formatYMD(scope.row.inhostime) : ''
}}</span>
</template>
</el-table-column>
<el-table-column
prop="outhostime"
label="出院日期"
sortable
align="center"
min-width="120"
show-overflow-tooltip
>
<template #default="scope">
<span>{{
scope.row.outhostime ? formatYMD(scope.row.outhostime) : ''
}}</span>
</template>
</el-table-column>
<el-table-column
prop="indeptname"
label="当前科室"
sortable
align="center"
min-width="120"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop="doctorname"
label="主治医生"
sortable
align="center"
min-width="120"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop="inhosdays"
label="住院天数"
sortable
align="center"
min-width="120"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop="isjoin"
label="是否出院"
sortable
align="center"
min-width="120"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop="isbasiclevel"
label="是否基层病种"
sortable
align="center"
min-width="120"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop="total_fee"
label="住院总费用"
sortable
align="center"
min-width="120"
show-overflow-tooltip
>
<template #default="scope">
<span>{{ decimal(scope.row.total_fee) }}</span>
</template>
</el-table-column>
<el-table-column
prop="self_payment"
label="结算后自付费用"
sortable
align="center"
min-width="130"
show-overflow-tooltip
>
<template #default="scope">
<span>{{ decimal(scope.row.self_payment) }}</span>
</template>
</el-table-column>
<el-table-column
prop="self_payment_proportion"
label="自付占比"
sortable
align="center"
min-width="120"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop="medical_payment"
label="医保类型"
sortable
align="center"
min-width="120"
show-overflow-tooltip
></el-table-column>
<el-table-column
prop="discode"
label="分组编码"
sortable
align="center"
width="250"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop="disname"
label="分组名称"
sortable
align="center"
min-width="180"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop="rw"
label="实际分值"
sortable
align="center"
min-width="120"
show-overflow-tooltip
></el-table-column>
<el-table-column
prop="standardrw"
label="标准分值"
sortable
align="center"
min-width="120"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
label="二级医院标准分值"
sortable
align="center"
min-width="160"
show-overflow-tooltip
>
<template #default="scope">
<span>{{
scope.row.isbasiclevel == '是'
? scope.row.standardrw
: decimal(scope.row.standardrw * 0.8)
}}</span>
</template>
</el-table-column>
<el-table-column
prop="medactalfee"
label="预计DIP支付费用"
sortable
align="center"
min-width="140"
show-overflow-tooltip
>
<template #default="scope">
<span>{{ decimal(scope.row.medactalfee) }}</span>
</template>
</el-table-column>
<el-table-column
prop="medical_insurance_balance"
label="预计DIP结余"
sortable
align="center"
min-width="120"
show-overflow-tooltip
>
<template #default="scope">
<span>{{ decimal(scope.row.medical_insurance_balance) }}</span>
</template>
</el-table-column>
<el-table-column
prop="dis_type"
label="病例类型"
sortable
align="center"
min-width="120"
show-overflow-tooltip
></el-table-column>
<el-table-column prop="county_Medicine_Fee" label="县级药品费用" sortable align="center" min-width="120" show-overflow-tooltip> <el-table-column
<template #default="scope"> prop="county_Medicine_Fee"
<span>{{ decimal(scope.row.county_Medicine_Fee) }}</span> label="县级药品费用"
</template> sortable
</el-table-column> align="center"
<el-table-column prop="medicine_Fee" label="药品费用" sortable align="center" min-width="120" show-overflow-tooltip> min-width="120"
<template #default="scope"> show-overflow-tooltip
<span>{{ decimal(scope.row.medicine_Fee) }}</span> >
</template> <template #default="scope">
</el-table-column> <span>{{ decimal(scope.row.county_Medicine_Fee) }}</span>
</template>
</el-table-column>
<el-table-column
prop="medicine_Fee"
label="药品费用"
sortable
align="center"
min-width="120"
show-overflow-tooltip
>
<template #default="scope">
<span>{{ decimal(scope.row.medicine_Fee) }}</span>
</template>
</el-table-column>
<el-table-column prop="drug_proportion" label="药品" sortable align="center" min-width="120" show-overflow-tooltip> </el-table-column> <el-table-column
<el-table-column prop="drug_proportion"
prop="county_Material_Fee" label="药品"
label="县级耗材费用" sortable
sortable align="center"
align="center" min-width="120"
min-width="120" show-overflow-tooltip
show-overflow-tooltip >
></el-table-column> </el-table-column>
<el-table-column prop="material_Fee" label="耗材费用" sortable align="center" min-width="120" show-overflow-tooltip></el-table-column> <el-table-column
prop="county_Material_Fee"
label="县级耗材费用"
sortable
align="center"
min-width="120"
show-overflow-tooltip
></el-table-column>
<el-table-column
prop="material_Fee"
label="耗材费用"
sortable
align="center"
min-width="120"
show-overflow-tooltip
></el-table-column>
<el-table-column prop="consumables_proportion" label="耗材" sortable align="center" min-width="120" show-overflow-tooltip></el-table-column> <el-table-column
<el-table-column prop="laboratory_proportion" label="检验检查" sortable align="center" min-width="120" show-overflow-tooltip> prop="consumables_proportion"
</el-table-column> label="耗材"
<el-table-column prop="medical_proportion" label="医务性收入" sortable align="center" min-width="120" show-overflow-tooltip> sortable
</el-table-column> align="center"
<el-table-column prop="jssj" label="结算日期" sortable align="center" min-width="120" show-overflow-tooltip> min-width="120"
<template #default="scope"> show-overflow-tooltip
<span>{{ scope.row.jssj ? formatYMD(scope.row.jssj) : "" }}</span> ></el-table-column>
</template> <el-table-column
</el-table-column> prop="laboratory_proportion"
<el-table-column prop="shzt" label="审核状态" sortable align="center" min-width="120" show-overflow-tooltip> </el-table-column> label="检验检查"
</el-table> sortable
</div> align="center"
<div class="flex-end mar-top-20"> min-width="120"
<el-pagination show-overflow-tooltip
background >
layout="total, sizes, prev, pager, next, jumper" </el-table-column>
:hide-on-single-page="false" <el-table-column
:total="totalCount" prop="medical_proportion"
:page-size="pageSize" label="医务性收入"
@size-change="handleSizeChange" sortable
@current-change="handleCurrentChange" align="center"
> min-width="120"
</el-pagination> show-overflow-tooltip
</div> >
</div> </el-table-column>
<el-table-column
prop="jssj"
label="结算日期"
sortable
align="center"
min-width="120"
show-overflow-tooltip
>
<template #default="scope">
<span>{{ scope.row.jssj ? formatYMD(scope.row.jssj) : '' }}</span>
</template>
</el-table-column>
<el-table-column
prop="shzt"
label="审核状态"
sortable
align="center"
min-width="120"
show-overflow-tooltip
>
</el-table-column>
</el-table>
</div>
<div class="flex-end mar-top-20">
<el-pagination
background
layout="total, sizes, prev, pager, next, jumper"
:hide-on-single-page="false"
:total="totalCount"
:page-size="pageSize"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
>
</el-pagination>
</div>
</div> </div>
</div>
</template> </template>
<script> <script>
import http from "../utils/http"; import http from '../utils/http'
import { setItem, getItem } from "../utils/auth"; import { setItem, getItem } from '../utils/auth'
import { decimal } from "../utils/decimal"; import { decimal } from '../utils/decimal'
import dayjs from "dayjs"; import dayjs from 'dayjs'
import { Message, Loading, MessageBox } from "element-ui"; import { Message, Loading, MessageBox } from 'element-ui'
export default { export default {
name: "patientinfo", name: 'patientinfo',
data() { data() {
return { return {
time: "", time: '',
time1: "", time1: '',
pageNumber: 1, pageNumber: 1,
pageSize: 100, pageSize: 100,
a48: "", a48: '',
a11: "", a11: '',
b16C: "", b16C: '',
isjoin: null, isjoin: null,
currentDate: null, currentDate: null,
currentDate1: null, currentDate1: null,
isout: null, isout: null,
insuranceType: null, insuranceType: null,
doctorName: "", doctorName: '',
codeName: "", codeName: '',
dis_type: "", dis_type: '',
shzt: "", shzt: '',
obj: { obj: {
正常病例: "#22d016", 正常病例: '#22d016',
低倍率病例: "#e9c622", 低倍率病例: '#e9c622',
高倍率病例: "#ff7e00", 高倍率病例: '#ff7e00'
}, },
tableData: [], tableData: [],
totalCount: 0, totalCount: 0,
deptList: [], deptList: []
}; }
},
beforeMount() {},
mounted() {
this.time = [
`${dayjs().format('YYYY-MM')}-01`,
`${dayjs().format('YYYY-MM')}-${this.getDayNumByYearMonth(
dayjs().format('YYYY'),
dayjs().format('MM')
)}`
]
this.GetDeptList()
},
computed: {
link() {
return window.webConfig.diseLink
}
},
methods: {
decimal,
formatYMD(t) {
return dayjs(t).format('YYYY-MM-DD')
},
getDayNumByYearMonth(year, month) {
switch (month) {
case '01':
case '03':
case '05':
case '07':
case '08':
case '10':
case '12':
return 31
break
case '04':
case '06':
case '09':
case '11':
return 30
break
case '02':
return this.isLeapYear(year) ? 29 : 28
break
}
},
isLeapYear(year) {
if (year / 4 == 0 && year / 100 != 0) {
return true
} else if (year / 400 == 0) {
return true
} else {
return false
}
}, },
beforeMount() {},
mounted() {
this.time = [
`${dayjs().format("YYYY-MM")}-01`,
`${dayjs().format("YYYY-MM")}-${this.getDayNumByYearMonth(dayjs().format("YYYY"), dayjs().format("MM"))}`,
];
this.GetDeptList(); cellName({ row, column, rowIndex, columnIndex }) {
if (row.medicine_Fee > row.county_Medicine_Fee && columnIndex == 26) {
return 'medicine'
}
if (row.material_Fee > row.county_Material_Fee && columnIndex == 29) {
return 'medicine'
}
}, },
methods: {
decimal,
formatYMD(t) {
return dayjs(t).format("YYYY-MM-DD");
},
getDayNumByYearMonth(year, month) {
switch (month) {
case "01":
case "03":
case "05":
case "07":
case "08":
case "10":
case "12":
return 31;
break;
case "04":
case "06":
case "09":
case "11":
return 30;
break;
case "02":
return this.isLeapYear(year) ? 29 : 28;
break;
}
},
isLeapYear(year) {
if (year / 4 == 0 && year / 100 != 0) {
return true;
} else if (year / 400 == 0) {
return true;
} else {
return false;
}
},
cellName({ row, column, rowIndex, columnIndex }) { downLoad() {
if (row.medicine_Fee > row.county_Medicine_Fee && columnIndex == 26) { let parmar = {
return "medicine"; pageNumber: this.pageNumber,
} pageSize: this.pageSize,
if (row.material_Fee > row.county_Material_Fee && columnIndex == 29) { a48: this.a48,
return "medicine"; a11: this.a11,
b16C: this.b16C,
beginDate: this.time ? this.time[0] : '',
endDate: this.time ? this.time[1] : '',
isjoin: this.isjoin,
isout: this.isout,
doctorName: this.doctorName,
codeName: this.codeName,
dis_type: this.dis_type,
insuranceType: this.insuranceType,
jssjBeginDate: this.time1 ? this.time1[0] : '',
jssjEndDate: this.time1 ? this.time1[1] : '',
shzt: this.shzt
}
http
.post(`/screen/hos/GetHistoryListExcelDownload`, parmar, {
responseType: 'blob'
})
.then((data) => {
const link = document.createElement('a')
const blob = new Blob([data], { type: 'application/vnd.ms-excel' })
link.style.display = 'none'
link.href = URL.createObjectURL(blob)
link.setAttribute('download', `病案数据详情.xlsx`)
document.body.appendChild(link)
link.click()
document.body.removeChild(link)
})
},
openLink() {
http.post(`/account/reporter`, {}).then((data) => {
var url = this.link + '?key=' + data
window.open(url, '_blank')
})
},
//查询
search() {
this.pageSize = 100
this.pageNumber = 1
this.getList()
},
//获取频率,频率的下拉数据
getList() {
let parmar = {
pageNumber: this.pageNumber,
pageSize: this.pageSize,
a48: this.a48,
a11: this.a11,
b16C: this.b16C,
beginDate: this.time ? this.time[0] : '',
endDate: this.time ? this.time[1] : '',
isjoin: this.isjoin,
isout: this.isout,
doctorName: this.doctorName,
codeName: this.codeName,
dis_type: this.dis_type,
insuranceType: this.insuranceType,
jssjBeginDate: this.time1 ? this.time1[0] : '',
jssjEndDate: this.time1 ? this.time1[1] : '',
shzt: this.shzt
}
http
.post(`/screen/hos/GetHistoryList`, parmar)
.then((data) => {
this.tableData = data.list
this.totalCount = data.totalCount
this.$nextTick(() => {
this.$refs.tableRef.doLayout()
})
})
.catch((error) => {})
},
GetDeptList() {
http
.get(`/screen/hos/GetDeptList`, {})
.then((data) => {
this.deptList = data
this.deptList.map((item) => {
if (item.deptCode == this.$route.query.ApplyDept) {
this.b16C = this.$route.query.ApplyDept || ''
} }
}, })
downLoad() {
let parmar = {
pageNumber: this.pageNumber,
pageSize: this.pageSize,
a48: this.a48,
a11: this.a11,
b16C: this.b16C,
beginDate: this.time ? this.time[0] : "",
endDate: this.time ? this.time[1] : "",
isjoin: this.isjoin,
isout: this.isout,
doctorName: this.doctorName,
codeName: this.codeName,
dis_type: this.dis_type,
insuranceType: this.insuranceType,
jssjBeginDate: this.time1 ? this.time1[0] : "",
jssjEndDate: this.time1 ? this.time1[1] : "",
shzt: this.shzt,
};
http.post(`/screen/hos/GetHistoryListExcelDownload`, parmar, { responseType: "blob" }).then((data) => {
const link = document.createElement("a");
const blob = new Blob([data], { type: "application/vnd.ms-excel" });
link.style.display = "none";
link.href = URL.createObjectURL(blob);
link.setAttribute("download", `病案数据详情.xlsx`);
document.body.appendChild(link);
link.click();
document.body.removeChild(link);
});
}, //查询
search() {
this.pageSize = 100;
this.pageNumber = 1;
this.getList();
},
//获取频率,频率的下拉数据
getList() {
let parmar = {
pageNumber: this.pageNumber,
pageSize: this.pageSize,
a48: this.a48,
a11: this.a11,
b16C: this.b16C,
beginDate: this.time ? this.time[0] : "",
endDate: this.time ? this.time[1] : "",
isjoin: this.isjoin,
isout: this.isout,
doctorName: this.doctorName,
codeName: this.codeName,
dis_type: this.dis_type,
insuranceType: this.insuranceType,
jssjBeginDate: this.time1 ? this.time1[0] : "",
jssjEndDate: this.time1 ? this.time1[1] : "",
shzt: this.shzt,
};
http.post(`/screen/hos/GetHistoryList`, parmar)
.then((data) => {
this.tableData = data.list;
this.totalCount = data.totalCount;
this.$nextTick(() => {
this.$refs.tableRef.doLayout();
});
})
.catch((error) => {});
},
GetDeptList() {
http.get(`/screen/hos/GetDeptList`, {})
.then((data) => {
this.deptList = data;
this.deptList.map((item) => {
if (item.deptCode == this.$route.query.ApplyDept) {
this.b16C = this.$route.query.ApplyDept || "";
}
});
this.getList(); this.getList()
}) })
.catch((error) => { .catch((error) => {
this.getList(); this.getList()
}); })
}, },
SetInjoinAgain(id) { SetInjoinAgain(id) {
http.post(`/screen/screen/SetInjoinAgain?id=${id}`, {}) http
.then((data) => { .post(`/screen/screen/SetInjoinAgain?id=${id}`, {})
Message.success("同步成功"); .then((data) => {
this.getList(); Message.success('同步成功')
}) this.getList()
.catch((error) => { })
this.getList(); .catch((error) => {
}); this.getList()
}, })
},
handleCurrentChange(val) { handleCurrentChange(val) {
this.pageNumber = val; this.pageNumber = val
this.getList(); this.getList()
}, },
handleSizeChange(val) { handleSizeChange(val) {
this.pageSize = val; this.pageSize = val
this.getList(); this.getList()
}, },
handleCurrentDateChange() { handleCurrentDateChange() {
if (this.currentDate === 1) { if (this.currentDate === 1) {
this.time = [`${dayjs().format("YYYY")}-01-01`, `${dayjs().format("YYYY")}-12-31`]; this.time = [
} else if (this.currentDate === 2) { `${dayjs().format('YYYY')}-01-01`,
this.time = [ `${dayjs().format('YYYY')}-12-31`
`${dayjs().format("YYYY-MM")}-01`, ]
`${dayjs().format("YYYY-MM")}-${this.getDayNumByYearMonth(dayjs().format("YYYY"), dayjs().format("MM"))}`, } else if (this.currentDate === 2) {
]; this.time = [
} `${dayjs().format('YYYY-MM')}-01`,
this.search(); `${dayjs().format('YYYY-MM')}-${this.getDayNumByYearMonth(
}, dayjs().format('YYYY'),
handleCurrentDateChange1() { dayjs().format('MM')
if (this.currentDate1 === 1) { )}`
this.time1 = [`${dayjs().format("YYYY")}-01-01`, `${dayjs().format("YYYY")}-12-31`]; ]
} else if (this.currentDate1 === 2) { }
this.time1 = [ this.search()
`${dayjs().format("YYYY-MM")}-01`,
`${dayjs().format("YYYY-MM")}-${this.getDayNumByYearMonth(dayjs().format("YYYY"), dayjs().format("MM"))}`,
];
}
this.search();
},
}, },
}; handleCurrentDateChange1() {
if (this.currentDate1 === 1) {
this.time1 = [
`${dayjs().format('YYYY')}-01-01`,
`${dayjs().format('YYYY')}-12-31`
]
} else if (this.currentDate1 === 2) {
this.time1 = [
`${dayjs().format('YYYY-MM')}-01`,
`${dayjs().format('YYYY-MM')}-${this.getDayNumByYearMonth(
dayjs().format('YYYY'),
dayjs().format('MM')
)}`
]
}
this.search()
}
}
}
</script> </script>
<style lang="scss"> <style lang="scss">
.patientinfo { .patientinfo {
height: 100%; height: 100%;
display: flex;
flex-flow: column;
background-color: white;
overflow: hidden;
position: relative;
.main {
flex: 1;
padding: 20px;
display: flex; display: flex;
flex-flow: column; flex-flow: column;
background-color: white; .el-table__body tr.current-row > td.el-table__cell {
overflow: hidden; background-color: rgb(2, 131, 187);
position: relative; color: #fff;
.main { }
flex: 1; .el-table {
padding: 20px; color: #333;
display: flex; }
flex-flow: column; .medicine {
.el-table__body tr.current-row > td.el-table__cell { background-color: #f56c6c;
background-color: rgb(2, 131, 187); color: #fff;
color: #fff; }
} .el-table__body tr.hover-row > td.el-table__cell {
.el-table { background-color: #f5f7fa;
color: #333; color: #333;
} }
.medicine { .el-table__body tr.hover-row > td.medicine {
background-color: #f56c6c; background-color: #f56c6c;
color: #fff; color: #fff;
} }
.el-table__body tr.hover-row > td.el-table__cell { .el-table__body tr.current-row > td.medicine {
background-color: #f5f7fa; background-color: #f56c6c;
color: #333; color: #fff;
}
.el-table__body tr.hover-row > td.medicine {
background-color: #f56c6c;
color: #fff;
}
.el-table__body tr.current-row > td.medicine {
background-color: #f56c6c;
color: #fff;
}
} }
}
} }
</style> </style>
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