|
|
@@ -451,7 +451,7 @@ const handleExport = () => {
|
|
|
|
|
|
<template>
|
|
|
<div
|
|
|
- class="grid grid-cols-[auto_1fr] grid-rows-[62px_1fr] gap-4 h-[calc(100vh-20px-var(--top-tool-height)-var(--tags-view-height)-var(--app-footer-height))]"
|
|
|
+ class="daily-report-page grid grid-cols-[auto_1fr] gap-4 h-[calc(100vh-20px-var(--top-tool-height)-var(--tags-view-height)-var(--app-footer-height))]"
|
|
|
>
|
|
|
<el-form
|
|
|
size="default"
|
|
|
@@ -503,24 +503,28 @@ const handleExport = () => {
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
<DeptTreeSelect
|
|
|
- v-show="tab === '队伍'"
|
|
|
+ v-if="tab === '队伍'"
|
|
|
:top-id="157"
|
|
|
:deptId="deptId"
|
|
|
v-model="query.deptId"
|
|
|
title="队伍"
|
|
|
+ class="daily-report-side"
|
|
|
/>
|
|
|
<WellSelect
|
|
|
- v-show="tab === '井'"
|
|
|
+ v-if="tab === '井'"
|
|
|
v-model:contract-name="query.contractName"
|
|
|
:deptId="157"
|
|
|
v-model:model-value="query.wellName"
|
|
|
+ class="daily-report-side"
|
|
|
/>
|
|
|
<!-- 第二行左侧:自动落入第 2 行第 1 列 -->
|
|
|
<!-- <div class="p-4 bg-white dark:bg-[#1d1e1f] shadow rounded-lg h-full"> </div> -->
|
|
|
|
|
|
<!-- 第二行右侧:自动落入第 2 行第 2 列 -->
|
|
|
- <div class="bg-white dark:bg-[#1d1e1f] shadow rounded-lg p-4 flex flex-col">
|
|
|
- <div class="flex-1 relative">
|
|
|
+ <div
|
|
|
+ class="daily-report-table-card bg-white dark:bg-[#1d1e1f] shadow rounded-lg p-4 flex flex-col min-h-0"
|
|
|
+ >
|
|
|
+ <div class="flex-1 relative min-h-0">
|
|
|
<el-auto-resizer class="absolute">
|
|
|
<template #default="{ width, height }">
|
|
|
<el-table
|
|
|
@@ -555,7 +559,7 @@ const handleExport = () => {
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <DailyTableColumn :columns="columns" />
|
|
|
+ <DailyTableColumn :columns="columns" company="rh" />
|
|
|
<!-- <el-table-column label="操作" width="120px" align="center" fixed="right">
|
|
|
<template #default="{ row }">
|
|
|
<el-button link type="success" v-hasPermi="['pms:iot-rh-daily-report:query']">
|
|
|
@@ -594,6 +598,19 @@ const handleExport = () => {
|
|
|
</template>
|
|
|
|
|
|
<style scoped>
|
|
|
+.daily-report-page {
|
|
|
+ grid-template-rows: 62px minmax(0, 1fr);
|
|
|
+}
|
|
|
+
|
|
|
+.daily-report-side {
|
|
|
+ height: 100% !important;
|
|
|
+ min-height: 0 !important;
|
|
|
+}
|
|
|
+
|
|
|
+.daily-report-table-card {
|
|
|
+ min-height: 0;
|
|
|
+}
|
|
|
+
|
|
|
:deep(.el-form-item) {
|
|
|
margin-bottom: 0;
|
|
|
}
|