Commit 73a46dd7 by 唐玉峰

p

parent ff5f164e
......@@ -16,8 +16,8 @@
size="mini"
class="mar-right-10"
v-model.trim="a48"
style="width: 180px"
placeholder="请输入病案号"
style="width: 160px"
placeholder="请输入病案号/住院号"
clearable
@clear="search"
@keyup.enter.native="search"
......@@ -27,7 +27,7 @@
size="mini"
class="mar-right-10"
v-model.trim="a11"
style="width: 190px"
style="width: 160px"
placeholder="请输入患者姓名"
clearable
@clear="search"
......@@ -40,14 +40,14 @@
class="mar-right-10"
v-model.trim="b16C"
filterable
style="width: 180px"
style="width: 160px"
placeholder="当前科室"
clearable
@clear="search"
>
<el-option v-for="item in deptList" :key="item.deptCode" :label="item.deptName" :value="item.deptCode"> </el-option>
</el-select>
<el-select v-model="isout" placeholder="是否出院" size="mini" class="mar-right-10" clearable style="width: 180px" @clear="search">
<el-select 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-select>
......@@ -57,7 +57,7 @@
size="mini"
class="mar-right-10"
clearable
style="width: 340px"
style="width: 320px"
@clear="search"
>
<el-option label="自费" :value="2"> </el-option>
......@@ -70,7 +70,7 @@
size="mini"
class="mar-right-10"
v-model.trim="doctorName"
style="width: 180px"
style="width: 160px"
placeholder="请输入主治医生"
clearable
@clear="search"
......@@ -81,7 +81,7 @@
size="mini"
class="mar-right-10"
v-model.trim="codeName"
style="width: 190px"
style="width: 160px"
placeholder="请输入分组编码/分组名称"
clearable
@clear="search"
......@@ -94,14 +94,14 @@
size="mini"
class="mar-right-10"
clearable
style="width: 180px"
style="width: 160px"
@clear="search"
>
<el-option label="高倍率病例" value="高倍率病例"> </el-option>
<el-option label="正常病例" value="正常病例"> </el-option>
<el-option label="低倍率病例" value="低倍率病例"> </el-option>
</el-select>
<el-select v-model="isjoin" placeholder="分组状态" size="mini" class="mar-right-10" clearable style="width: 180px" @clear="search">
<el-select 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="0"> </el-option>
</el-select>
......@@ -111,14 +111,14 @@
size="mini"
class="mar-right-10"
clearable
style="width: 120px"
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="value"
v-model="time"
size="mini"
style="width: 210px"
type="daterange"
......@@ -198,7 +198,7 @@
<span>{{ decimal(scope.row.total_fee) }}</span>
</template>
</el-table-column>
<el-table-column prop="self_payment" label="自费费用" sortable align="center" min-width="120" show-overflow-tooltip>
<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>
......@@ -259,7 +259,7 @@ export default {
name: "patientinfo",
data() {
return {
value: "",
time: [],
pageNumber: 1,
pageSize: 100,
a48: "",
......@@ -284,7 +284,7 @@ export default {
},
beforeMount() {},
mounted() {
this.value = [
this.time = [
`${dayjs().format("YYYY-MM")}-01`,
`${dayjs().format("YYYY-MM")}-${this.getDayNumByYearMonth(dayjs().format("YYYY"), dayjs().format("MM"))}`,
];
......@@ -334,8 +334,8 @@ export default {
a48: this.a48,
a11: this.a11,
b16C: this.b16C,
beginDate: this.value ? this.value[0] : "",
endDate: this.value ? this.value[1] : "",
beginDate: this.time ? this.time[0] : "",
endDate: this.time ? this.time[1] : "",
isjoin: this.isjoin,
isout: this.isout,
doctorName: this.doctorName,
......@@ -369,8 +369,8 @@ export default {
a48: this.a48,
a11: this.a11,
b16C: this.b16C,
beginDate: this.value ? this.value[0] : "",
endDate: this.value ? this.value[1] : "",
beginDate: this.time ? this.time[0] : "",
endDate: this.time ? this.time[1] : "",
isjoin: this.isjoin,
isout: this.isout,
doctorName: this.doctorName,
......@@ -382,6 +382,9 @@ export default {
.then((data) => {
this.tableData = data.list;
this.totalCount = data.totalCount;
this.$nextTick(() => {
this.$refs.tableRef.doLayout();
});
})
.catch((error) => {});
},
......@@ -411,9 +414,9 @@ export default {
},
handleCurrentDateChange() {
if (this.currentDate === 1) {
this.value = [`${dayjs().format("YYYY")}-01-01`, `${dayjs().format("YYYY")}-12-31`];
this.time = [`${dayjs().format("YYYY")}-01-01`, `${dayjs().format("YYYY")}-12-31`];
} else if (this.currentDate === 2) {
this.value = [
this.time = [
`${dayjs().format("YYYY-MM")}-01`,
`${dayjs().format("YYYY-MM")}-${this.getDayNumByYearMonth(dayjs().format("YYYY"), dayjs().format("MM"))}`,
];
......@@ -437,6 +440,13 @@ export default {
padding: 20px;
display: flex;
flex-flow: column;
.el-table__body tr.current-row > td.el-table__cell {
background-color: rgb(2, 131, 187);
color: #fff;
}
.el-table {
color: #333;
}
}
}
</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