|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <div class="layout_container">
|
|
|
+ <div class="layout_container" style="height: 720px">
|
|
|
<header>
|
|
|
<el-input v-model="zyh" style="width: 200px;" placeholder="请输入住院号"></el-input>
|
|
|
<el-input v-model="xm" style="width: 200px;margin-left: 5px" placeholder="请输入姓名"></el-input>
|
|
@@ -7,26 +7,22 @@
|
|
|
<el-button type="primary" icon="Download" @click="exportData" style="margin-left: 5px">导出全部数据</el-button>
|
|
|
</header>
|
|
|
<div class="layout_main">
|
|
|
- <div class="layout_display_flex_y">
|
|
|
- <div class="layout_flex_1-y">
|
|
|
- <xc-table :data="returnData" localPaging :height="600">
|
|
|
- <el-table-column type="index" label="序号" align="center"></el-table-column>
|
|
|
- <template v-for="col in returnData.tableDisplays">
|
|
|
- <el-table-column v-if="col.sortable" :prop="col.prop" :label="col.label" :width="col.width"
|
|
|
- :align="col.align" sortable show-overflow-tooltip>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column v-else :prop="col.prop" :label="col.label" :width="col.width" :align="col.align"
|
|
|
- show-overflow-tooltip>
|
|
|
- </el-table-column>
|
|
|
- </template>
|
|
|
- </xc-table>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ <xc-table :data="returnData" localPaging>
|
|
|
+ <el-table-column type="index" label="序号" align="center"></el-table-column>
|
|
|
+ <template v-for="col in returnData.tableDisplays">
|
|
|
+ <el-table-column v-if="col.sortable" :prop="col.prop" :label="col.label" :width="col.width"
|
|
|
+ :align="col.align" sortable show-overflow-tooltip>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column v-else :prop="col.prop" :label="col.label" :width="col.width" :align="col.align"
|
|
|
+ show-overflow-tooltip>
|
|
|
+ </el-table-column>
|
|
|
+ </template>
|
|
|
+ </xc-table>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
<script setup name="ReportPatientPage">
|
|
|
-import { ref } from 'vue'
|
|
|
+import { ref, nextTick } from 'vue'
|
|
|
import { clone } from '@/utils/clone'
|
|
|
import { selectReportPortalMenu, exportReportPortalData } from '@/api/reports/high-report'
|
|
|
import XcTable from "@/components/xiao-chan/xc-table/XcTable"
|
|
@@ -49,8 +45,8 @@ const xm = ref('')
|
|
|
reportPatient.value = props.reportPatient.row
|
|
|
paramPatient.value = props.reportPatient.params
|
|
|
|
|
|
-nextTick(() => {
|
|
|
- query()
|
|
|
+nextTick(async () => {
|
|
|
+ await query()
|
|
|
})
|
|
|
const returnData = ref({
|
|
|
currentPage: 1,
|