From c8e279927a36c755fd78769cfa8e489568192aa4 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Sat, 28 Aug 2021 16:31:05 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/zhba_enterprises

---
 src/views/securityEquipment/car.vue |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/views/securityEquipment/car.vue b/src/views/securityEquipment/car.vue
index f742e84..88a517e 100644
--- a/src/views/securityEquipment/car.vue
+++ b/src/views/securityEquipment/car.vue
@@ -26,6 +26,7 @@
             >删 除
           </el-button>
           <el-button
+            style="display:none"
             type="success"
             size="small"
             plain
@@ -113,6 +114,7 @@
         menuWidth: 160,
         align: "center",
         selection: true,
+        labelWidth:110,
         column: column,
       },
     };
@@ -257,9 +259,9 @@
     },
     onLoad(page, params = {}) {
       this.loading = true;
-      params["deptId"] = this.fromDeptId;
       // console.log(params.deptId);
-      if (params.deptId != undefined) {
+      if (this.fromDeptId != undefined) {
+        params["deptId"] = this.fromDeptId;
         this.option.column[4].search = false;
         this.option.column[4].hide = true;
         this.option.column[4].addDisplay = false;

--
Gitblit v1.9.3