Browse Source

Merge branch 'master' into 'master'

优化监测报表详情页展示

See merge request lighter/vue-intergration-platform!100
huangshuhua 1 year ago
parent
commit
80f15955d3
1 changed files with 25 additions and 22 deletions
  1. 25 22
      src/components/operate-monitoring/ReportPatientPage.vue

+ 25 - 22
src/components/operate-monitoring/ReportPatientPage.vue

@@ -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'