From 869f6c069e86c2ff90393c1441854a6f05989481 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期五, 15 七月 2022 10:42:46 +0800
Subject: [PATCH] 1.连接自动打印,2.修改bug

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

diff --git a/src/views/zzmx/gylx.vue b/src/views/zzmx/gylx.vue
index 8535de9..aa4eff6 100644
--- a/src/views/zzmx/gylx.vue
+++ b/src/views/zzmx/gylx.vue
@@ -32,7 +32,7 @@
       <el-divider />
       <div style="margin-left: 10px;display: flex">
         <el-button type="primary" icon="el-icon-circle-plus-outline" @click="add('add')">鏂板</el-button>
-        <el-button type="primary" icon="el-icon-upload2" @click="upload">瀵煎叆</el-button>
+        <!--        <el-button type="primary" icon="el-icon-upload2" @click="upload">瀵煎叆</el-button>-->
       </div>
       <el-divider />
       <div class="elTableDiv">
@@ -96,7 +96,7 @@
           >
             <template slot-scope="{row}">
               <div class="operationClass">
-                <!--                <el-button type="text" @click="edit('edit',row)">淇敼</el-button>-->
+                <!--                <el-button type="text" @click="edit('edit',row)">缂栬緫</el-button>-->
                 <el-button type="text" @click="edit('edit',row)">棰勮</el-button>
                 <el-button type="text" @click="del(row)">鍒犻櫎</el-button>
               </div>
@@ -120,9 +120,10 @@
     <el-dialog
       :title="operation==='add'?'鏂板':'棰勮'"
       :visible.sync="dialogVisible"
-      width="70%"
+      width="1200px"
       :close-on-click-modal="false"
       top="15vh"
+      :fullscreen="isFullscreen"
       @closed="handleClose"
       @close="handleClose"
     >
@@ -139,6 +140,7 @@
           <el-form-item prop="enable" label="浣跨敤鐘舵��" style="margin-right: 20px">
             <el-select
               v-model="dialogForm.enable"
+              filterable
               :disabled="operation==='edit'"
               :popper-append-to-body="false"
               style="width: 220px"
@@ -260,7 +262,7 @@
 
 const SER_HZ = /^[\u4e00-\u9fa5]+$/
 export default {
-  name: 'Zzjg',
+  name: 'GYLX',
   components: {
     Pagination
   },
@@ -277,6 +279,7 @@
       }
     }
     return {
+      isFullscreen: false,
       mainHeight: 0,
       tableHeight: 0,
       form: {
@@ -632,6 +635,7 @@
       this.$nextTick(() => {
         this.mainHeight = window.innerHeight - 250
         this.tableHeight = this.mainHeight - 100
+        // this.isFullscreen = window.innerHeight < 800
       })
     }
   }

--
Gitblit v1.9.3