From e713b378b01d189f972cfb5b9eae749ee95a8b51 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期六, 29 十月 2022 13:48:00 +0800
Subject: [PATCH] 1.解决两个账号登录,是否被挤掉的问题

---
 src/views/zzmx/jpgj.vue |   16 ++++++++++++----
 1 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/src/views/zzmx/jpgj.vue b/src/views/zzmx/jpgj.vue
index 8a179ae..a506c91 100644
--- a/src/views/zzmx/jpgj.vue
+++ b/src/views/zzmx/jpgj.vue
@@ -11,12 +11,12 @@
         <el-form
           ref="form"
           :model="form"
-          label-width="80px"
+          label-width="100px"
           inline
           style="display: flex;justify-content: space-between"
         >
           <div class="elForm">
-            <el-form-item label="浜у搧鍚嶇О" style=" display: flex;">
+            <el-form-item label-width="70px" label="浜у搧鍚嶇О" style=" display: flex;">
               <el-select
                 v-model="form.partcode"
                 filterable
@@ -88,11 +88,14 @@
               </el-select>
             </el-form-item>
           </div>
-          <div class="bodySearchReset">
+          <div class="bodySearchReset" :style="{marginLeft:$store.state.app.sidebar.opened?'5%':'10%'}">
             <el-button type="primary" icon="el-icon-search" @click="search">鏌ヨ</el-button>
             <el-button type="info" icon="el-icon-refresh" @click="reset">閲嶇疆</el-button>
           </div>
         </el-form>
+        <div
+          class="bodyTopFormExpand"
+        />
       </div>
 
       <div class="elTableDiv">
@@ -136,6 +139,7 @@
             label="浜у搧瑙勬牸"
             min-width="110"
             sortable="custom"
+            show-tooltip-when-overflow
           >
             <template slot-scope="{row}">
               <div v-if="row.partspec">{{ row.partspec }}</div>
@@ -153,6 +157,7 @@
             label="宸ヨ壓璺嚎"
             sortable="custom"
             min-width="120"
+            show-tooltip-when-overflow
           />
           <el-table-column
             prop="stepname"
@@ -319,6 +324,8 @@
         </div>
 
         <el-table
+          ref="eqpDialogArrRef"
+          class="tableFixed"
           :data="eqpDialogArr"
           :height="tableHeight"
           :style="{width: 100+'%',height:tableHeight-50+'px',}"
@@ -674,6 +681,7 @@
       this.eqpDialogArr.forEach(item => {
         item.isVisible = 0
       })
+      this.$refs.tableDataRef.doLayout()
     },
     // 淇濆瓨琛�
     async saveRow(row) {
@@ -866,7 +874,7 @@
     getHeight() {
       this.$nextTick(() => {
         this.mainHeight = window.innerHeight - 85
-        this.tableHeight = this.mainHeight - 200
+        this.tableHeight = this.mainHeight - 195
         if (window.innerHeight < 769) {
           this.tableHeight = this.tableHeight - 40
         }

--
Gitblit v1.9.3