Commit 73a46dd7 by 唐玉峰

p

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