Commit fd7b4daf by 唐玉峰

修改字段

parent 0fc2a231
...@@ -4,16 +4,8 @@ ...@@ -4,16 +4,8 @@
<div class="main"> <div class="main">
<div class=""> <div class="">
<div class="flex-start-center"> <div class="flex-start-center">
<div <div class="flex-start-center mar-right-10" v-for="(value, key, index) in obj" :key="index">
class="flex-start-center mar-right-10" <span class="mar-right-10" style="width: 12px; height: 12px" :style="{ background: value }"></span>
v-for="(value, key, index) in obj"
:key="index"
>
<span
class="mar-right-10"
style="width: 12px; height: 12px"
:style="{ background: value }"
></span>
<span class="color-666 font-14">{{ key }}</span> <span class="color-666 font-14">{{ key }}</span>
</div> </div>
</div> </div>
...@@ -53,37 +45,27 @@ ...@@ -53,37 +45,27 @@
clearable clearable
@clear="search" @clear="search"
> >
<el-option <el-option v-for="item in deptList" :key="item.deptCode" :label="item.deptName" :value="item.deptCode"> </el-option>
v-for="item in deptList"
:key="item.deptCode"
:label="item.deptName"
:value="item.deptCode"
>
</el-option>
</el-select> </el-select>
<el-select <el-select v-model="isout" placeholder="是否出院" size="mini" class="mar-right-10" clearable style="width: 160px" @clear="search">
v-model="isout"
placeholder="是否出院"
size="mini"
class="mar-right-10"
clearable
style="width: 160px"
@clear="search"
>
<el-option label="已出院" :value="1"> </el-option>
<el-option label="未出院" :value="0"> </el-option> <el-option label="未出院" :value="0"> </el-option>
<el-option label="已出院" :value="1"> </el-option>
<el-option label="已结算" :value="2"> </el-option>
</el-select> </el-select>
<el-select <el-select
v-model="insuranceType" v-model="insuranceType"
placeholder="医保类型" placeholder="支付类型"
size="mini" size="mini"
class="mar-right-10" class="mar-right-10"
clearable clearable
style="width: 160px" style="width: 160px"
@clear="search" @clear="search"
> >
<el-option label="自费" :value="2"> </el-option> <el-option label="本地职工" :value="1"> </el-option>
<el-option label="医保" :value="1"> </el-option> <el-option label="异地职工" :value="2"> </el-option>
<el-option label="本地居民" :value="3"> </el-option>
<el-option label="异地居民" :value="4"> </el-option>
<el-option label="自费" :value="5"> </el-option>
<el-option label="未填写" :value="0"> </el-option> <el-option label="未填写" :value="0"> </el-option>
</el-select> </el-select>
<span class="font-14 color-999">入院时间:</span> <span class="font-14 color-999">入院时间:</span>
...@@ -150,27 +132,11 @@ ...@@ -150,27 +132,11 @@
<el-option label="正常病例" value="正常病例"> </el-option> <el-option label="正常病例" value="正常病例"> </el-option>
<el-option label="低倍率病例" value="低倍率病例"> </el-option> <el-option label="低倍率病例" value="低倍率病例"> </el-option>
</el-select> </el-select>
<el-select <el-select v-model="isjoin" placeholder="分组状态" size="mini" class="mar-right-10" clearable style="width: 160px" @clear="search">
v-model="isjoin"
placeholder="分组状态"
size="mini"
class="mar-right-10"
clearable
style="width: 160px"
@clear="search"
>
<el-option label="已分组" :value="1"> </el-option> <el-option label="已分组" :value="1"> </el-option>
<el-option label="未分组" :value="0"> </el-option> <el-option label="未分组" :value="0"> </el-option>
</el-select> </el-select>
<el-select <el-select v-model="shzt" placeholder="审核状态" size="mini" class="mar-right-10" clearable style="width: 160px" @clear="search">
v-model="shzt"
placeholder="审核状态"
size="mini"
class="mar-right-10"
clearable
style="width: 160px"
@clear="search"
>
<el-option label="已审核" value="已审"> </el-option> <el-option label="已审核" value="已审"> </el-option>
<el-option label="未审核" value="未审"> </el-option> <el-option label="未审核" value="未审"> </el-option>
</el-select> </el-select>
...@@ -206,10 +172,7 @@ ...@@ -206,10 +172,7 @@
<div> <div>
<el-button <el-button
type="primary" type="primary"
style=" style="background: rgb(2, 131, 187); border-color: rgb(2, 131, 187)"
background: rgb(2, 131, 187);
border-color: rgb(2, 131, 187);
"
size="mini" size="mini"
slot="append" slot="append"
icon="el-icon-search" icon="el-icon-search"
...@@ -218,10 +181,7 @@ ...@@ -218,10 +181,7 @@
> >
<el-button <el-button
type="primary" type="primary"
style=" style="background: rgb(2, 131, 187); border-color: rgb(2, 131, 187)"
background: rgb(2, 131, 187);
border-color: rgb(2, 131, 187);
"
size="mini" size="mini"
slot="append" slot="append"
icon="el-icon-download" icon="el-icon-download"
...@@ -231,10 +191,7 @@ ...@@ -231,10 +191,7 @@
<el-button <el-button
v-if="link" v-if="link"
type="primary" type="primary"
style=" style="background: rgb(2, 131, 187); border-color: rgb(2, 131, 187)"
background: rgb(2, 131, 187);
border-color: rgb(2, 131, 187);
"
size="mini" size="mini"
slot="append" slot="append"
icon="el-icon-link" icon="el-icon-link"
...@@ -245,33 +202,11 @@ ...@@ -245,33 +202,11 @@
</div> </div>
</div> </div>
<div class="table flex-1 mar-top-15"> <div class="table flex-1 mar-top-15">
<el-table <el-table border ref="tableRef" height="93%" :data="tableData" size="mini" :highlight-current-row="true" :cell-class-name="cellName">
border <el-table-column align="center" type="index" width="50" fixed="left"></el-table-column>
ref="tableRef" <el-table-column label="同步更新" align="center" min-width="80" show-overflow-tooltip fixed="left">
height="93%"
:data="tableData"
size="mini"
:highlight-current-row="true"
:cell-class-name="cellName"
>
<el-table-column
align="center"
type="index"
width="50"
fixed="left"
></el-table-column>
<el-table-column
label="同步更新"
align="center"
min-width="80"
show-overflow-tooltip
fixed="left"
>
<template #default="scope"> <template #default="scope">
<i <i class="el-icon-refresh font-16 cursor" @click.stop="SetInjoinAgain(scope.row.id)"></i>
class="el-icon-refresh font-16 cursor"
@click.stop="SetInjoinAgain(scope.row.id)"
></i>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
...@@ -283,277 +218,78 @@ ...@@ -283,277 +218,78 @@
show-overflow-tooltip show-overflow-tooltip
fixed="left" fixed="left"
></el-table-column> ></el-table-column>
<el-table-column <el-table-column prop="regcode" label="病案号" sortable align="center" min-width="120" show-overflow-tooltip fixed="left">
prop="regcode"
label="病案号"
sortable
align="center"
min-width="120"
show-overflow-tooltip
fixed="left"
>
<template #default="scope"> <template #default="scope">
<!-- 正常病例 低倍率病例 高倍率病例 dis_type--> <!-- 正常病例 低倍率病例 高倍率病例 dis_type-->
<div class="flex-center-center"> <div class="flex-center-center">
<span <span class="mar-right-10" style="width: 12px; height: 12px" :style="{ background: obj[scope.row.dis_type] }"></span>
class="mar-right-10"
style="width: 12px; height: 12px"
:style="{ background: obj[scope.row.dis_type] }"
></span>
<span>{{ scope.row.regcode }}</span> <span>{{ scope.row.regcode }}</span>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column prop="a48C" label="住院号" sortable align="center" min-width="120" show-overflow-tooltip fixed="left"> </el-table-column>
prop="a48C" <el-table-column prop="name" label="姓名" sortable align="center" min-width="120" show-overflow-tooltip fixed="left"></el-table-column>
label="住院号" <el-table-column prop="inhostime" label="入院日期" sortable align="center" min-width="120" show-overflow-tooltip>
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"> <template #default="scope">
<span>{{ <span>{{ scope.row.inhostime ? formatYMD(scope.row.inhostime) : "" }}</span>
scope.row.inhostime ? formatYMD(scope.row.inhostime) : ''
}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column prop="outhostime" label="出院日期" sortable align="center" min-width="120" show-overflow-tooltip>
prop="outhostime"
label="出院日期"
sortable
align="center"
min-width="120"
show-overflow-tooltip
>
<template #default="scope"> <template #default="scope">
<span>{{ <span>{{ scope.row.outhostime ? formatYMD(scope.row.outhostime) : "" }}</span>
scope.row.outhostime ? formatYMD(scope.row.outhostime) : ''
}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column prop="indeptname" label="当前科室" sortable align="center" min-width="120" show-overflow-tooltip> </el-table-column>
prop="indeptname" <el-table-column prop="doctorname" label="主治医生" sortable align="center" min-width="120" show-overflow-tooltip> </el-table-column>
label="当前科室" <el-table-column prop="inhosdays" label="住院天数" sortable align="center" min-width="120" show-overflow-tooltip> </el-table-column>
sortable <el-table-column prop="isjoin" label="是否出院" sortable align="center" min-width="120" show-overflow-tooltip> </el-table-column>
align="center" <el-table-column prop="isbasiclevel" label="是否基层病种" sortable align="center" min-width="120" show-overflow-tooltip> </el-table-column>
min-width="120" <el-table-column prop="total_fee" label="住院总费用" sortable align="center" min-width="120" show-overflow-tooltip>
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"> <template #default="scope">
<span>{{ decimal(scope.row.total_fee) }}</span> <span>{{ decimal(scope.row.total_fee) }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column prop="self_payment" label="结算后自付费用" sortable align="center" min-width="130" show-overflow-tooltip>
prop="self_payment"
label="结算后自付费用"
sortable
align="center"
min-width="130"
show-overflow-tooltip
>
<template #default="scope"> <template #default="scope">
<span>{{ decimal(scope.row.self_payment) }}</span> <span>{{ decimal(scope.row.self_payment) }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column prop="self_payment_proportion" label="自付占比" sortable align="center" min-width="120" show-overflow-tooltip>
prop="self_payment_proportion"
label="自付占比"
sortable
align="center"
min-width="120"
show-overflow-tooltip
>
</el-table-column> </el-table-column>
<el-table-column <el-table-column prop="medical_payment" label="医保类型" sortable align="center" min-width="120" show-overflow-tooltip></el-table-column>
prop="medical_payment" <el-table-column prop="discode" label="分组编码" sortable align="center" width="250" show-overflow-tooltip> </el-table-column>
label="医保类型" <el-table-column prop="disname" label="分组名称" sortable align="center" min-width="180" show-overflow-tooltip> </el-table-column>
sortable <el-table-column prop="rw" label="实际分值" sortable align="center" min-width="120" show-overflow-tooltip></el-table-column>
align="center" <el-table-column prop="standardrw" label="标准分值" sortable align="center" min-width="120" show-overflow-tooltip> </el-table-column>
min-width="120" <el-table-column label="二级医院标准分值" sortable align="center" min-width="160" show-overflow-tooltip>
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"> <template #default="scope">
<span>{{ <span>{{ scope.row.isbasiclevel == "是" ? scope.row.standardrw : decimal(scope.row.standardrw * 0.8) }}</span>
scope.row.isbasiclevel == '是'
? scope.row.standardrw
: decimal(scope.row.standardrw * 0.8)
}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column prop="medactalfee" label="预计DIP支付费用" sortable align="center" min-width="140" show-overflow-tooltip>
prop="medactalfee"
label="预计DIP支付费用"
sortable
align="center"
min-width="140"
show-overflow-tooltip
>
<template #default="scope"> <template #default="scope">
<span>{{ decimal(scope.row.medactalfee) }}</span> <span>{{ decimal(scope.row.medactalfee) }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column prop="medical_insurance_balance" label="预计DIP结余" sortable align="center" min-width="120" show-overflow-tooltip>
prop="medical_insurance_balance"
label="预计DIP结余"
sortable
align="center"
min-width="120"
show-overflow-tooltip
>
<template #default="scope"> <template #default="scope">
<span>{{ decimal(scope.row.medical_insurance_balance) }}</span> <span>{{ decimal(scope.row.medical_insurance_balance) }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column prop="dis_type" label="病例类型" sortable align="center" min-width="120" show-overflow-tooltip></el-table-column>
prop="dis_type"
label="病例类型"
sortable
align="center"
min-width="120"
show-overflow-tooltip
></el-table-column>
<el-table-column <el-table-column prop="county_Medicine_Fee" label="县级药品费用" sortable align="center" min-width="120" show-overflow-tooltip>
prop="county_Medicine_Fee"
label="县级药品费用"
sortable
align="center"
min-width="120"
show-overflow-tooltip
>
<template #default="scope"> <template #default="scope">
<span>{{ decimal(scope.row.county_Medicine_Fee) }}</span> <span>{{ decimal(scope.row.county_Medicine_Fee) }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column prop="medicine_Fee" label="药品费用" sortable align="center" min-width="120" show-overflow-tooltip>
prop="medicine_Fee"
label="药品费用"
sortable
align="center"
min-width="120"
show-overflow-tooltip
>
<template #default="scope"> <template #default="scope">
<span>{{ decimal(scope.row.medicine_Fee) }}</span> <span>{{ decimal(scope.row.medicine_Fee) }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column prop="drug_proportion" label="药品" sortable align="center" min-width="120" show-overflow-tooltip> </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="county_Material_Fee" prop="county_Material_Fee"
label="县级耗材费用" label="县级耗材费用"
...@@ -562,62 +298,19 @@ ...@@ -562,62 +298,19 @@
min-width="120" min-width="120"
show-overflow-tooltip show-overflow-tooltip
></el-table-column> ></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>
prop="material_Fee"
label="耗材费用"
sortable
align="center"
min-width="120"
show-overflow-tooltip
></el-table-column>
<el-table-column <el-table-column prop="consumables_proportion" label="耗材" sortable align="center" min-width="120" show-overflow-tooltip></el-table-column>
prop="consumables_proportion" <el-table-column prop="laboratory_proportion" label="检验检查" sortable align="center" min-width="120" show-overflow-tooltip>
label="耗材"
sortable
align="center"
min-width="120"
show-overflow-tooltip
></el-table-column>
<el-table-column
prop="laboratory_proportion"
label="检验检查"
sortable
align="center"
min-width="120"
show-overflow-tooltip
>
</el-table-column> </el-table-column>
<el-table-column <el-table-column prop="medical_proportion" label="医务性收入" sortable align="center" min-width="120" show-overflow-tooltip>
prop="medical_proportion"
label="医务性收入"
sortable
align="center"
min-width="120"
show-overflow-tooltip
>
</el-table-column> </el-table-column>
<el-table-column <el-table-column prop="jssj" label="结算日期" sortable align="center" min-width="120" show-overflow-tooltip>
prop="jssj"
label="结算日期"
sortable
align="center"
min-width="120"
show-overflow-tooltip
>
<template #default="scope"> <template #default="scope">
<span>{{ scope.row.jssj ? formatYMD(scope.row.jssj) : '' }}</span> <span>{{ scope.row.jssj ? formatYMD(scope.row.jssj) : "" }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column prop="shzt" label="审核状态" sortable align="center" min-width="120" show-overflow-tooltip> </el-table-column>
prop="shzt"
label="审核状态"
sortable
align="center"
min-width="120"
show-overflow-tooltip
>
</el-table-column>
</el-table> </el-table>
</div> </div>
<div class="flex-end mar-top-20"> <div class="flex-end mar-top-20">
...@@ -636,101 +329,98 @@ ...@@ -636,101 +329,98 @@
</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() {}, beforeMount() {},
mounted() { mounted() {
this.time = [ this.time = [
`${dayjs().format('YYYY-MM')}-01`, `${dayjs().format("YYYY-MM")}-01`,
`${dayjs().format('YYYY-MM')}-${this.getDayNumByYearMonth( `${dayjs().format("YYYY-MM")}-${this.getDayNumByYearMonth(dayjs().format("YYYY"), dayjs().format("MM"))}`,
dayjs().format('YYYY'), ];
dayjs().format('MM')
)}`
]
this.GetDeptList() this.GetDeptList();
}, },
computed: { computed: {
link() { link() {
return window.webConfig.diseLink return window.webConfig.diseLink;
} },
}, },
methods: { methods: {
decimal, decimal,
formatYMD(t) { formatYMD(t) {
return dayjs(t).format('YYYY-MM-DD') return dayjs(t).format("YYYY-MM-DD");
}, },
getDayNumByYearMonth(year, month) { getDayNumByYearMonth(year, month) {
switch (month) { switch (month) {
case '01': case "01":
case '03': case "03":
case '05': case "05":
case '07': case "07":
case '08': case "08":
case '10': case "10":
case '12': case "12":
return 31 return 31;
break break;
case '04': case "04":
case '06': case "06":
case '09': case "09":
case '11': case "11":
return 30 return 30;
break break;
case '02': case "02":
return this.isLeapYear(year) ? 29 : 28 return this.isLeapYear(year) ? 29 : 28;
break break;
} }
}, },
isLeapYear(year) { isLeapYear(year) {
if (year / 4 == 0 && year / 100 != 0) { if (year / 4 == 0 && year / 100 != 0) {
return true return true;
} else if (year / 400 == 0) { } else if (year / 400 == 0) {
return true return true;
} else { } else {
return false return false;
} }
}, },
cellName({ row, column, rowIndex, columnIndex }) { cellName({ row, column, rowIndex, columnIndex }) {
if (row.medicine_Fee > row.county_Medicine_Fee && columnIndex == 26) { if (row.medicine_Fee > row.county_Medicine_Fee && columnIndex == 26) {
return 'medicine' return "medicine";
} }
if (row.material_Fee > row.county_Material_Fee && columnIndex == 29) { if (row.material_Fee > row.county_Material_Fee && columnIndex == 29) {
return 'medicine' return "medicine";
} }
}, },
...@@ -741,44 +431,42 @@ export default { ...@@ -741,44 +431,42 @@ export default {
a48: this.a48, a48: this.a48,
a11: this.a11, a11: this.a11,
b16C: this.b16C, b16C: this.b16C,
beginDate: this.time ? this.time[0] : '', beginDate: this.time ? this.time[0] : "",
endDate: this.time ? this.time[1] : '', endDate: this.time ? this.time[1] : "",
isjoin: this.isjoin, isjoin: this.isjoin,
isout: this.isout, isout: this.isout,
doctorName: this.doctorName, doctorName: this.doctorName,
codeName: this.codeName, codeName: this.codeName,
dis_type: this.dis_type, dis_type: this.dis_type,
insuranceType: this.insuranceType, insuranceType: this.insuranceType,
jssjBeginDate: this.time1 ? this.time1[0] : '', jssjBeginDate: this.time1 ? this.time1[0] : "",
jssjEndDate: this.time1 ? this.time1[1] : '', jssjEndDate: this.time1 ? this.time1[1] : "",
shzt: this.shzt shzt: this.shzt,
} };
http http.post(`/screen/hos/GetHistoryListExcelDownload`, parmar, {
.post(`/screen/hos/GetHistoryListExcelDownload`, parmar, { responseType: "blob",
responseType: 'blob' }).then((data) => {
}) const link = document.createElement("a");
.then((data) => { const blob = new Blob([data], { type: "application/vnd.ms-excel" });
const link = document.createElement('a') link.style.display = "none";
const blob = new Blob([data], { type: 'application/vnd.ms-excel' }) link.href = URL.createObjectURL(blob);
link.style.display = 'none' link.setAttribute("download", `病案数据详情.xlsx`);
link.href = URL.createObjectURL(blob) document.body.appendChild(link);
link.setAttribute('download', `病案数据详情.xlsx`) link.click();
document.body.appendChild(link) document.body.removeChild(link);
link.click() });
document.body.removeChild(link)
})
}, },
openLink() { openLink() {
http.post(`/account/reporter`, {}).then((data) => { http.post(`/account/reporter`, {}).then((data) => {
var url = this.link + '?key=' + data var url = this.link + "?key=" + data;
window.open(url, '_blank') window.open(url, "_blank");
}) });
}, },
//查询 //查询
search() { search() {
this.pageSize = 100 this.pageSize = 100;
this.pageNumber = 1 this.pageNumber = 1;
this.getList() this.getList();
}, },
//获取频率,频率的下拉数据 //获取频率,频率的下拉数据
getList() { getList() {
...@@ -788,103 +476,88 @@ export default { ...@@ -788,103 +476,88 @@ export default {
a48: this.a48, a48: this.a48,
a11: this.a11, a11: this.a11,
b16C: this.b16C, b16C: this.b16C,
beginDate: this.time ? this.time[0] : '', beginDate: this.time ? this.time[0] : "",
endDate: this.time ? this.time[1] : '', endDate: this.time ? this.time[1] : "",
isjoin: this.isjoin, isjoin: this.isjoin,
isout: this.isout, isout: this.isout,
doctorName: this.doctorName, doctorName: this.doctorName,
codeName: this.codeName, codeName: this.codeName,
dis_type: this.dis_type, dis_type: this.dis_type,
insuranceType: this.insuranceType, insuranceType: this.insuranceType,
jssjBeginDate: this.time1 ? this.time1[0] : '', jssjBeginDate: this.time1 ? this.time1[0] : "",
jssjEndDate: this.time1 ? this.time1[1] : '', jssjEndDate: this.time1 ? this.time1[1] : "",
shzt: this.shzt shzt: this.shzt,
} };
http http.post(`/screen/hos/GetHistoryList`, parmar)
.post(`/screen/hos/GetHistoryList`, parmar)
.then((data) => { .then((data) => {
this.tableData = data.list this.tableData = data.list;
this.totalCount = data.totalCount this.totalCount = data.totalCount;
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.tableRef.doLayout() this.$refs.tableRef.doLayout();
});
}) })
}) .catch((error) => {});
.catch((error) => {})
}, },
GetDeptList() { GetDeptList() {
http http.get(`/screen/hos/GetDeptList`, {})
.get(`/screen/hos/GetDeptList`, {})
.then((data) => { .then((data) => {
this.deptList = data this.deptList = data;
this.deptList.map((item) => { this.deptList.map((item) => {
if (item.deptCode == this.$route.query.ApplyDept) { if (item.deptCode == this.$route.query.ApplyDept) {
this.b16C = 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 http.post(`/screen/screen/SetInjoinAgain?id=${id}`, {})
.post(`/screen/screen/SetInjoinAgain?id=${id}`, {})
.then((data) => { .then((data) => {
Message.success('同步成功') Message.success("同步成功");
this.getList() this.getList();
}) })
.catch((error) => { .catch((error) => {
this.getList() 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 = [ this.time = [`${dayjs().format("YYYY")}-01-01`, `${dayjs().format("YYYY")}-12-31`];
`${dayjs().format('YYYY')}-01-01`,
`${dayjs().format('YYYY')}-12-31`
]
} else if (this.currentDate === 2) { } else if (this.currentDate === 2) {
this.time = [ this.time = [
`${dayjs().format('YYYY-MM')}-01`, `${dayjs().format("YYYY-MM")}-01`,
`${dayjs().format('YYYY-MM')}-${this.getDayNumByYearMonth( `${dayjs().format("YYYY-MM")}-${this.getDayNumByYearMonth(dayjs().format("YYYY"), dayjs().format("MM"))}`,
dayjs().format('YYYY'), ];
dayjs().format('MM')
)}`
]
} }
this.search() this.search();
}, },
handleCurrentDateChange1() { handleCurrentDateChange1() {
if (this.currentDate1 === 1) { if (this.currentDate1 === 1) {
this.time1 = [ this.time1 = [`${dayjs().format("YYYY")}-01-01`, `${dayjs().format("YYYY")}-12-31`];
`${dayjs().format('YYYY')}-01-01`,
`${dayjs().format('YYYY')}-12-31`
]
} else if (this.currentDate1 === 2) { } else if (this.currentDate1 === 2) {
this.time1 = [ this.time1 = [
`${dayjs().format('YYYY-MM')}-01`, `${dayjs().format("YYYY-MM")}-01`,
`${dayjs().format('YYYY-MM')}-${this.getDayNumByYearMonth( `${dayjs().format("YYYY-MM")}-${this.getDayNumByYearMonth(dayjs().format("YYYY"), dayjs().format("MM"))}`,
dayjs().format('YYYY'), ];
dayjs().format('MM')
)}`
]
}
this.search()
}
} }
} this.search();
},
},
};
</script> </script>
<style lang="scss"> <style lang="scss">
......
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