|
@@ -1,28 +1,31 @@
|
|
|
<template>
|
|
|
- <page-layer>
|
|
|
- <template #header>
|
|
|
- <el-input v-model="zyh" style="width: 100px;" placeholder="请输入住院号"></el-input>
|
|
|
- <el-input v-model="xm" style="width: 100px;" placeholder="请输入姓名"></el-input>
|
|
|
- <el-button icon="Search" type="primary" @click="query" style="margin-left: 5px">查询</el-button>
|
|
|
- <el-button type="primary" icon="Download" @click="exportData" style="margin-left: 5px">导出全部数据</el-button>
|
|
|
- </template>
|
|
|
- <template #main>
|
|
|
- <xc-table :data="returnData" localPaging :height="105">
|
|
|
- <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>
|
|
|
- </template>
|
|
|
- </page-layer>
|
|
|
+ <div class="layout_container">
|
|
|
+ <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>
|
|
|
+ <el-button icon="Search" type="primary" @click="query" style="margin-left: 5px">查询</el-button>
|
|
|
+ <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>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
<script setup name="ReportPatientPage">
|
|
|
-import PageLayer from '@/layout/PageLayer.vue'
|
|
|
import { ref } from 'vue'
|
|
|
import { clone } from '@/utils/clone'
|
|
|
import { selectReportPortalMenu, exportReportPortalData } from '@/api/reports/high-report'
|