From f8a15eadd99227d745fc70a751d24a80eeb219a6 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 25 六月 2025 09:20:28 +0800
Subject: [PATCH] 1.巡样式修改

---
 src/views/basicInformation/index.vue     |    4 ++--
 src/views/procureMent/index.vue          |    2 +-
 src/views/warehouseManagement/index.vue  |    2 +-
 src/views/salesOutbound/index.vue        |    2 +-
 src/views/inspectionUpload/index.vue     |    4 ++--
 src/views/production/index.vue           |    4 ++--
 src/views/inspectionManagement/index.vue |    4 ++--
 src/components/Table/ETable.vue          |    4 ++--
 8 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/src/components/Table/ETable.vue b/src/components/Table/ETable.vue
index ca9c483..a43e501 100644
--- a/src/components/Table/ETable.vue
+++ b/src/components/Table/ETable.vue
@@ -2,7 +2,7 @@
     v-loading="loading" 
     :data="tableData" 
     :border="border" 
-    :show-selection="showSelection" 
+    :show-selection="showSelection"
     :max-height="maxHeight"
     :header-cell-style="{ background: '#EBEEF5', color: '#3D3D3D' }" 
     @selection-change="handleSelectionChange"
@@ -15,7 +15,7 @@
     :show-overflow-tooltip="showOverflowTooltip"
     ref="tableRef" 
     :row-key="rowKey"
-    style="width: 100%"
+    style="width: 100%;"
   >
     <el-table-column v-if="showSelection" type="selection" width="55" align="center" />
     <el-table-column v-if="showIndex" label="搴忓彿" width="60" align="center" fixed="left">
diff --git a/src/views/basicInformation/index.vue b/src/views/basicInformation/index.vue
index 21558f7..b41cf57 100644
--- a/src/views/basicInformation/index.vue
+++ b/src/views/basicInformation/index.vue
@@ -1,5 +1,5 @@
 <template>
-  <div>
+  <div class="app-container">
     <el-form :inline="true" :model="queryParams" class="search-form">
       <el-form-item v-if="shouldShowSearch" label="鎼滅储">
         <el-input v-model="queryParams.searchAll" :placeholder="searchPlaceholder" clearable/>
@@ -23,7 +23,7 @@
         <el-button v-show="canExport" :icon="Download" type="info" @click="handleExport">瀵煎嚭</el-button>
       </el-row> <!-- 琛ㄦ牸缁勪欢 -->
       <div>
-        <data-table :border="true" :columns="columns" :loading="loading"
+        <data-table :border="true" :columns="columns" :loading="loading" style="width: 100%;height: calc(100vh - 29em)"
                     :show-selection="true" :table-data="tableData" @edit="handleEdit" @selection-change="handleSelectionChange">
           <!-- 瀛楁鍚嶇О鍒楃殑鑷畾涔夋彃妲� - 鏄剧ず涓烘爣绛� -->
           <template v-if="tabName === 'coalQualityMaintenance'" #fieldIds="{ row }">
diff --git a/src/views/inspectionManagement/index.vue b/src/views/inspectionManagement/index.vue
index 54be49f..18ecd14 100644
--- a/src/views/inspectionManagement/index.vue
+++ b/src/views/inspectionManagement/index.vue
@@ -50,14 +50,14 @@
                   @selection-change="handleSelectionChange"
                   :show-selection="true"
                   :border="true"
-                  :maxHeight="480"
+                  style="width: 100%;height: calc(100vh - 30em)"
                   operationsWidth="130"
                   :operations="operationsArr"
                   @edit="handleAdd"
                   @viewFile="viewFile"
                   v-if="tabName !== 'qrCodeScanRecord'"
           ></ETable>
-          <el-table ref="table" :data="tableData" height="480" v-loading="tableLoading" v-else>
+          <el-table ref="table" :data="tableData" height="480" v-loading="tableLoading" border v-else style="width: 100%;height: calc(100vh - 27em)">
             <el-table-column label="搴忓彿" type="index" width="60" align="center" />
             <el-table-column prop="deviceName" label="璁惧鍚嶇О" :show-overflow-tooltip="true">
               <template #default="scope">
diff --git a/src/views/inspectionUpload/index.vue b/src/views/inspectionUpload/index.vue
index 560fc01..aacdf00 100644
--- a/src/views/inspectionUpload/index.vue
+++ b/src/views/inspectionUpload/index.vue
@@ -54,7 +54,7 @@
           </div>
         </div>
         <div>
-          <el-table ref="table" :data="tableData" height="480" v-loading="tableLoading" v-if="activeTab !== 'qrCode'">
+          <el-table ref="table" :data="tableData" height="480" v-loading="tableLoading" v-if="activeTab !== 'qrCode'" border style="width: 100%;height: calc(100vh - 23em)">
             <el-table-column label="搴忓彿" type="index" width="60" align="center" />
             <el-table-column prop="taskName" label="宸℃浠诲姟鍚嶇О" :show-overflow-tooltip="true"></el-table-column>
             <el-table-column prop="port" label="鍦扮偣" :show-overflow-tooltip="true"></el-table-column>
@@ -66,7 +66,7 @@
               </template>
             </el-table-column>
           </el-table>
-          <el-table ref="table" :data="tableData" height="480" v-loading="tableLoading" v-if="activeTab === 'qrCode'">
+          <el-table ref="table" :data="tableData" height="480" v-loading="tableLoading" v-if="activeTab === 'qrCode'"border style="width: 100%;height: calc(100vh - 23em)">
             <el-table-column label="搴忓彿" type="index" width="60" align="center" />
             <el-table-column prop="deviceName" label="璁惧鍚嶇О" :show-overflow-tooltip="true">
               <template #default="scope">
diff --git a/src/views/procureMent/index.vue b/src/views/procureMent/index.vue
index 793267a..2949e2b 100644
--- a/src/views/procureMent/index.vue
+++ b/src/views/procureMent/index.vue
@@ -35,7 +35,7 @@
         @delete="handleDeleteSuccess"
         :show-selection="true"
         :border="true"
-        :maxHeight="440"
+        style="width: 100%;height: calc(100vh - 26em)"
       />
       <pagination
         v-if="total > 0"
diff --git a/src/views/production/index.vue b/src/views/production/index.vue
index 8108dd7..498bc21 100644
--- a/src/views/production/index.vue
+++ b/src/views/production/index.vue
@@ -1,5 +1,5 @@
 <template>
-  <div class="production-container">
+  <div class="app-container">
     <!-- 鎼滅储琛ㄥ崟 -->
     <el-form :inline="true" :model="queryParams" class="search-form">
       <el-form-item label="鎼滅储">
@@ -37,7 +37,7 @@
           @edit="row => openDialog('edit', row)"
           :show-selection="true"
           :border="true"
-          :maxHeight="480"
+          style="width: 100%;height: calc(100vh - 26em)"
       >
         <template #coal="{ row }">
           <div class="coal-tags">
diff --git a/src/views/salesOutbound/index.vue b/src/views/salesOutbound/index.vue
index 39c3d28..fd6920e 100644
--- a/src/views/salesOutbound/index.vue
+++ b/src/views/salesOutbound/index.vue
@@ -56,7 +56,7 @@
                 @selection-change="handleSelectionChange"
                 :show-selection="true"
                 :border="true"
-                :maxHeight="480"
+                style="width: 100%;height: calc(100vh - 28em)"
                 @edit="openDia"></ETable>
       </div>
       <pagination
diff --git a/src/views/warehouseManagement/index.vue b/src/views/warehouseManagement/index.vue
index 706cb1d..0996680 100644
--- a/src/views/warehouseManagement/index.vue
+++ b/src/views/warehouseManagement/index.vue
@@ -43,7 +43,7 @@
         <el-button type="success" plain :icon="Refresh" v-if="activeTab=== 'officialInventory'" @click="mergeRows('merge')">鍚堝苟</el-button>
       </el-space>
       <div>
-        <el-table :data="tableData" border @selection-change="selectionChange" style="width: 100%" show-summary :summary-method="summarizeChildrenTable">
+        <el-table :data="tableData" border @selection-change="selectionChange" style="width: 100%;height: calc(100vh - 30em)" show-summary :summary-method="summarizeChildrenTable">
           <el-table-column type="selection" width="55" align="center" />
           <el-table-column label="搴忓彿" type="index" width="60" align="center" />
           <el-table-column prop="supplierName" label="渚涜揣鍟嗗悕绉�" width="180" sortable/>

--
Gitblit v1.9.3