Commit 1bef3162 by 唐玉峰

.

parent 5e45b747
......@@ -2,14 +2,14 @@
<div class="patientinfo">
<div style="height: 30px; background-color: #0283bb"></div>
<div class="main">
<div class="flex-between-center">
<div class="">
<div class="flex-start-center">
<div class="flex-start-center mar-right-10" 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>
</div>
</div>
<div class="flex-between">
<div class="flex-between mar-top-15">
<div>
<div class="mar-bottom-10">
<el-input
......@@ -57,13 +57,40 @@
size="mini"
class="mar-right-10"
clearable
style="width: 320px"
style="width: 160px"
@clear="search"
>
<el-option label="自费" :value="2"> </el-option>
<el-option label="医保" :value="1"> </el-option>
<el-option label="未填写" :value="0"> </el-option>
</el-select>
<span class="font-14 color-999">入院时间:</span>
<el-select
v-model="currentDate"
placeholder="当前年月"
size="mini"
class="mar-right-10"
clearable
style="width: 100px"
@change="handleCurrentDateChange"
>
<el-option label="当前年" :value="1"> </el-option>
<el-option label="当前月" :value="2"> </el-option>
</el-select>
<el-date-picker
v-model="time"
size="mini"
style="width: 210px"
type="daterange"
format="yyyy-MM-dd"
value-format="yyyy-MM-dd"
class="mar-right-10"
@change="search"
range-separator="至"
start-placeholder="入院日期"
end-placeholder="结束日期"
>
</el-date-picker>
</div>
<div>
<el-input
......@@ -105,20 +132,25 @@
<el-option label="已分组" :value="1"> </el-option>
<el-option label="未分组" :value="0"> </el-option>
</el-select>
<el-select 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-select>
<span class="font-14 color-999">结算时间:</span>
<el-select
v-model="currentDate"
v-model="currentDate1"
placeholder="当前年月"
size="mini"
class="mar-right-10"
clearable
style="width: 100px"
@change="handleCurrentDateChange"
@change="handleCurrentDateChange1"
>
<el-option label="当前年" :value="1"> </el-option>
<el-option label="当前月" :value="2"> </el-option>
</el-select>
<el-date-picker
v-model="time"
v-model="time1"
size="mini"
style="width: 210px"
type="daterange"
......@@ -127,7 +159,7 @@
class="mar-right-10"
@change="search"
range-separator="至"
start-placeholder="入院日期"
start-placeholder="结算日期"
end-placeholder="结束日期"
>
</el-date-picker>
......@@ -155,7 +187,7 @@
</div>
</div>
</div>
<div class="table flex-1 mar-top-20">
<div class="table flex-1 mar-top-15">
<el-table border ref="tableRef" height="93%" :data="tableData" size="mini" :highlight-current-row="true">
<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">
......@@ -237,6 +269,12 @@
</el-table-column>
<el-table-column prop="medical_proportion" label="医务性收入" sortable align="center" min-width="120" show-overflow-tooltip>
</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">
......@@ -264,7 +302,8 @@ export default {
name: "patientinfo",
data() {
return {
time: [],
time: "",
time1: "",
pageNumber: 1,
pageSize: 100,
a48: "",
......@@ -272,11 +311,13 @@ export default {
b16C: "",
isjoin: null,
currentDate: null,
currentDate1: null,
isout: null,
insuranceType: null,
doctorName: "",
codeName: "",
dis_type: "",
shzt: "",
obj: {
正常病例: "#22d016",
低倍率病例: "#e9c622",
......@@ -293,6 +334,7 @@ export default {
`${dayjs().format("YYYY-MM")}-01`,
`${dayjs().format("YYYY-MM")}-${this.getDayNumByYearMonth(dayjs().format("YYYY"), dayjs().format("MM"))}`,
];
this.GetDeptList();
},
methods: {
......@@ -300,7 +342,6 @@ export default {
formatYMD(t) {
return dayjs(t).format("YYYY-MM-DD");
},
getDayNumByYearMonth(year, month) {
switch (month) {
case "01":
......@@ -347,8 +388,9 @@ export default {
codeName: this.codeName,
dis_type: this.dis_type,
insuranceType: this.insuranceType,
// searchQuery: "string",
// sortBy: "string",
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");
......@@ -382,6 +424,9 @@ export default {
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) => {
......@@ -440,6 +485,17 @@ export default {
}
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>
......
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