From 68eaf315b64145e487d10e66183d542ee7f94d10 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期二, 05 七月 2022 17:35:33 +0800
Subject: [PATCH] 1.生产管理完成部分功能2.自定义页面打印、二维码图形、水印显示实现了一个demo

---
 src/views/zzmx/gxdy.vue |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/src/views/zzmx/gxdy.vue b/src/views/zzmx/gxdy.vue
index a198963..08a2747 100644
--- a/src/views/zzmx/gxdy.vue
+++ b/src/views/zzmx/gxdy.vue
@@ -147,7 +147,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="del(row)">鍒犻櫎</el-button>
               </div>
             </template>
@@ -169,7 +169,7 @@
 
     <!--鏂板淇敼瀵硅瘽妗�-->
     <el-dialog
-      :title="operation==='add'?'鏂板':'淇敼'"
+      :title="operation==='add'?'鏂板':'缂栬緫'"
       :visible.sync="dialogVisible"
       width="50%"
       :close-on-click-modal="false"
@@ -232,6 +232,7 @@
       :visible.sync="workDialogVisible"
       width="50%"
       top="15vh"
+      :fullscreen="isFullscreen"
       :close-on-click-modal="false"
       class="workDialogVisible"
       @closed="workHandleClose"
@@ -278,6 +279,7 @@
           :data="workDialogForm.workTreeArr"
           show-checkbox
           node-key="code"
+          style="height: 300px;"
           default-expand-all
           :props="workTreeDefaultProps"
           @check="checkBoxClick"
@@ -299,6 +301,7 @@
       :visible.sync="defectDialogVisible"
       width="50%"
       top="15vh"
+      :fullscreen="isFullscreen"
       :close-on-click-modal="false"
       class="defectDialogVisible"
       @closed="defectHandleClose"
@@ -319,7 +322,7 @@
           :data="defectTree"
           show-checkbox
           node-key="code"
-          style="height: 400px;"
+          style="height: 500px;"
           default-expand-all
           :props="workTreeDefaultProps"
         />
@@ -371,6 +374,7 @@
       }
     }
     return {
+      isFullscreen: false,
       mainHeight: 0,
       tableHeight: 0,
       form: {
@@ -564,6 +568,10 @@
       this.$nextTick(() => {
         this.mainHeight = window.innerHeight - 250
         this.tableHeight = this.mainHeight - 100
+        this.isFullscreen = window.innerHeight < 800
+        if (window.innerHeight < 800) {
+          this.tableHeight = this.tableHeight - 50
+        }
       })
     },
     /* 鍏宠仈宸ヤ綔绔欐ā鍧�*/

--
Gitblit v1.9.3