Commit 713998f6 authored by 高滢's avatar 高滢

住院bug

parent dbd10396
......@@ -118,11 +118,11 @@
</div>
<!--分页-->
<pagination
v-show="total>8"
v-show="total>6"
:page-sizes="[6]"
:limit.sync="queryParams.pageSize"
:page.sync="queryParams.pageNum"
:total="total"
:page-sizes="[8]"
@pagination="getWardList()"
/>
......@@ -190,7 +190,7 @@ export default {
// 搜索病房表单参数
queryParams: {
pageNum: 1,
pageSize: 8,
pageSize: 6,
chooseStatus: ''
},
wardList: [],
......
......@@ -151,10 +151,10 @@
<!--分页-->
<pagination
v-show="total>6"
:page-sizes="[6]"
:limit.sync="queryParams.pageSize"
:page.sync="queryParams.pageNum"
:total="total"
:page-sizes="[6]"
@pagination="getWardList()"
/>
......
......@@ -208,7 +208,7 @@
<span>{{ parseTime(scope.row.dischargeDate, '{y}/{m}/{d}') || '-' }}</span>
</template>
</el-table-column>
<el-table-column label="操作" class-name="small-padding fixed-width" fixed="right" align="center" min-width="180px">
<el-table-column label="操作" class-name="small-padding fixed-width" fixed="right" align="left" min-width="180px">
<template slot-scope="scope">
<el-button
v-hasPermi="['business:hospital:query']"
......@@ -243,16 +243,6 @@
type="warning"
@click="handleDischargeMe(scope.row)"
><svg-icon icon-class="liebiao_icon_bianji" />办理出院</el-button>
<el-button
v-else-if="scope.row.status==='4'"
style="visibility: hidden"
icon="el-icon-paperclip"
plain
size="mini"
class="el-button--warning--solid--four"
type="warning"
disabled
>导出明细</el-button>
</template>
</el-table-column>
</el-table>
......@@ -430,6 +420,7 @@ export default {
this.admissionsShow = true
this.inHospitalInfo = res.data
this.diseaseLevel = res.data.diseaseLevel
this.$refs.admissions.queryParams.pageSize = 6
if (this.diseaseLevel === '1') {
this.$refs.admissions.queryParams.wardType = '2'
this.$refs.admissions.getWardList()
......
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