From f8668b057747f2982afafcc1ce9a2842a4abd50c Mon Sep 17 00:00:00 2001
From: zhuzhuanzhuan
Date: 星期三, 29 十一月 2023 16:36:39 +0800
Subject: [PATCH] 1、设备车间管理页面车间名称新增、修改以及批量删除成功后提示为warning图标 2、设备车间管理页面调整修改车间信息中的排序字段由departOrder为productionOrder 3、删除树节点时需判断节点下是否有子节点,若有子节点则不能删除并提示 4、大屏车间管理页面左右两侧卡片区域布局保持一致 5、设备综合效率分析页面由于ant-design-vie的table组件固定列功能导致导出报表布局混乱

---
 src/views/system/WorkshopSignageManagement.vue |   22 ++++++++++++++++------
 1 files changed, 16 insertions(+), 6 deletions(-)

diff --git a/src/views/system/WorkshopSignageManagement.vue b/src/views/system/WorkshopSignageManagement.vue
index 837a674..962eb2f 100644
--- a/src/views/system/WorkshopSignageManagement.vue
+++ b/src/views/system/WorkshopSignageManagement.vue
@@ -74,15 +74,15 @@
     </a-col>
     <a-col :md="rightColMd" :sm="24" v-if="this.rightcolval == 1">
       <a-card :bordered="false">
-        <div style="text-align: right">
-          <a-icon type="close-circle" @click="hideUserList" />
+        <div @click="hideUserList" class="close-circle">
+          <a-icon type="close-circle"/>
         </div>
         <!-- 鏌ヨ鍖哄煙 -->
         <div class="table-page-search-wrapper">
           <a-form layout="inline">
             <a-row :gutter="24">
               <a-col :md="12" :sm="12">
-                <a-form-item label="璁惧缂栫爜">
+                <a-form-item label="缁熶竴缂栫爜">
                   <a-input placeholder="" v-model="queryParam2.equipmentId"></a-input>
                 </a-form-item>
               </a-col>
@@ -97,7 +97,7 @@
         </div>
         <!-- 鎿嶄綔鎸夐挳鍖哄煙 -->
         <div class="table-operator" :md="24" :sm="24">
-          <a-button @click="handleAddDeviceInWorkshop" type="primary" icon="plus" style="margin-top: 16px"
+          <a-button @click="handleAddDeviceInWorkshop" type="primary" icon="plus"  style="margin: 5px 0 10px 2px"
             >宸叉湁璁惧
           </a-button>
 
@@ -114,6 +114,7 @@
             </a-button>
           </a-dropdown>
         </div>
+
         <!-- table鍖哄煙-begin -->
         <div>
           <div class="ant-alert ant-alert-info" style="margin-bottom: 16px">
@@ -243,7 +244,7 @@
       ],
       columns2: [
         {
-          title: '璁惧缂栫爜',
+          title: '缁熶竴缂栫爜',
           align: 'center',
           dataIndex: 'equipmentId',
           width: 120,
@@ -416,7 +417,7 @@
               if (res.success) {
                 that.$message.success(res.message)
                 that.loadData2()
-                that.onClearSelected()
+                that.onClearSelected2()
               } else {
                 that.$message.warning(res.message)
               }
@@ -458,6 +459,8 @@
         this.$refs.selectUserModal.visible = true
         this.$refs.selectUserModal.selectedRowKeys = []
         this.$refs.selectUserModal.selectedRows = []
+        this.$refs.selectUserModal.checkedKeys = []
+        this.$refs.selectUserModal.expandAll()
       }
     },
 
@@ -503,4 +506,11 @@
 .ant-btn {
   margin-left: 8px;
 }
+  .close-circle{
+    position: absolute;
+    z-index: 9999;
+    right: 15px;
+    top: 15px;
+    cursor: pointer;
+  }
 </style>
\ No newline at end of file

--
Gitblit v1.9.3