Commit 0b72d849 authored by 小费同学阿's avatar 小费同学阿 💬

Merge remote-tracking branch 'origin/master'

parents 2983c854 ca1d8976
...@@ -36,9 +36,9 @@ export default { ...@@ -36,9 +36,9 @@ export default {
const isBlob = blobValidate(res.data) const isBlob = blobValidate(res.data)
if (isBlob) { if (isBlob) {
const blob = new Blob([res.data]) const blob = new Blob([res.data])
const url = res.config['url'] const url = decodeURIComponent(res.config['url'])
const keyword = '-' const keyword = '/tmt-pic/business/'
const index = url.indexOf(keyword, url.indexOf(keyword) + 1) const index = url.indexOf(keyword)
let result = '' let result = ''
if (index !== -1) { if (index !== -1) {
result = url.substring(index + keyword.length) result = url.substring(index + keyword.length)
......
...@@ -118,11 +118,11 @@ ...@@ -118,11 +118,11 @@
</div> </div>
<!--分页--> <!--分页-->
<pagination <pagination
v-show="total>8" v-show="total>6"
:page-sizes="[6]"
:limit.sync="queryParams.pageSize" :limit.sync="queryParams.pageSize"
:page.sync="queryParams.pageNum" :page.sync="queryParams.pageNum"
:total="total" :total="total"
:page-sizes="[8]"
@pagination="getWardList()" @pagination="getWardList()"
/> />
...@@ -190,7 +190,7 @@ export default { ...@@ -190,7 +190,7 @@ export default {
// 搜索病房表单参数 // 搜索病房表单参数
queryParams: { queryParams: {
pageNum: 1, pageNum: 1,
pageSize: 8, pageSize: 6,
chooseStatus: '' chooseStatus: ''
}, },
wardList: [], wardList: [],
......
...@@ -151,10 +151,10 @@ ...@@ -151,10 +151,10 @@
<!--分页--> <!--分页-->
<pagination <pagination
v-show="total>6" v-show="total>6"
:page-sizes="[6]"
:limit.sync="queryParams.pageSize" :limit.sync="queryParams.pageSize"
:page.sync="queryParams.pageNum" :page.sync="queryParams.pageNum"
:total="total" :total="total"
:page-sizes="[6]"
@pagination="getWardList()" @pagination="getWardList()"
/> />
......
...@@ -208,7 +208,7 @@ ...@@ -208,7 +208,7 @@
<span>{{ parseTime(scope.row.dischargeDate, '{y}/{m}/{d}') || '-' }}</span> <span>{{ parseTime(scope.row.dischargeDate, '{y}/{m}/{d}') || '-' }}</span>
</template> </template>
</el-table-column> </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"> <template slot-scope="scope">
<el-button <el-button
v-hasPermi="['business:hospital:query']" v-hasPermi="['business:hospital:query']"
...@@ -243,16 +243,6 @@ ...@@ -243,16 +243,6 @@
type="warning" type="warning"
@click="handleDischargeMe(scope.row)" @click="handleDischargeMe(scope.row)"
><svg-icon icon-class="liebiao_icon_bianji" />办理出院</el-button> ><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> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -430,6 +420,7 @@ export default { ...@@ -430,6 +420,7 @@ export default {
this.admissionsShow = true this.admissionsShow = true
this.inHospitalInfo = res.data this.inHospitalInfo = res.data
this.diseaseLevel = res.data.diseaseLevel this.diseaseLevel = res.data.diseaseLevel
this.$refs.admissions.queryParams.pageSize = 6
if (this.diseaseLevel === '1') { if (this.diseaseLevel === '1') {
this.$refs.admissions.queryParams.wardType = '2' this.$refs.admissions.queryParams.wardType = '2'
this.$refs.admissions.getWardList() 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