From d2547913ef2e150d8bb18bc8f7423515c7ed71d0 Mon Sep 17 00:00:00 2001
From: zhaowei <zhaowei>
Date: 星期五, 25 四月 2025 14:04:29 +0800
Subject: [PATCH] 1、调整设备台账铭牌二维码大小 2、待机停机页面功能开发

---
 src/views/eam/equipment/EamEquipmentList.vue |   24 +++++++++---------------
 1 files changed, 9 insertions(+), 15 deletions(-)

diff --git a/src/views/eam/equipment/EamEquipmentList.vue b/src/views/eam/equipment/EamEquipmentList.vue
index 1ba6057..e136054 100644
--- a/src/views/eam/equipment/EamEquipmentList.vue
+++ b/src/views/eam/equipment/EamEquipmentList.vue
@@ -85,13 +85,13 @@
       <a-button type="primary" icon="download" @click="handleTemplateXlsDownload">瀵煎叆妯℃澘涓嬭浇</a-button>
       <a-dropdown v-if="selectedRowKeys.length > 0">
         <a-menu slot="overlay">
-          <a-menu-item key="1" @click="batchDel">
-            <a-icon type="delete"/>
-            鍒犻櫎
-          </a-menu-item>
-          <a-menu-item key="2" @click="handleOpenNameplateModal(selectionRows)">
+          <a-menu-item key="1" @click="handleOpenNameplateModal(selectionRows)">
             <a-icon type="printer"/>
             鎵撳嵃閾墝
+          </a-menu-item>
+          <a-menu-item key="2" @click="batchDel" v-if="isShowAuth('eam:equipment:delete')">
+            <a-icon type="delete"/>
+            鍒犻櫎
           </a-menu-item>
         </a-menu>
         <a-button style="margin-left: 8px"> 鎵归噺鎿嶄綔
@@ -107,7 +107,6 @@
         style="font-weight: 600">{{ selectedRowKeys.length }}</a>椤�
         <a style="margin-left: 24px" @click="onSelectChange([])">娓呯┖</a>
       </div>
-
       <a-table
         ref="table"
         size="middle"
@@ -153,7 +152,7 @@
               <a-menu-item>
                 <a href="javascript:;" @click="handleDetail(record)">璇︽儏</a>
               </a-menu-item>
-              <a-menu-item>
+              <a-menu-item v-if="isShowAuth('eam:equipment:delete')">
                 <a-popconfirm title="纭畾鍒犻櫎鍚�?" @confirm="() => handleDelete(record.id)">
                   <a>鍒犻櫎</a>
                 </a-popconfirm>
@@ -305,7 +304,6 @@
           {
             title: '璁惧鍒嗙被',
             align: 'center',
-            width: 100,
             dataIndex: 'equipmentCategory_dictText'
           },
           {
@@ -338,23 +336,20 @@
             width: 100,
             dataIndex: 'installationPosition'
           },
-
           {
             title: '绔嬮」鍗″彿',
             align: 'center',
-            width: 100,
             dataIndex: 'cardNumber'
           },
           {
             title: '鍑哄巶缂栧彿',
             align: 'center',
-            width: 100,
             dataIndex: 'factoryNumber'
           },
           {
             title: '鏈哄簥鍘傚',
             align: 'center',
-            width: 100,
+            width: 300,
             dataIndex: 'manufacturingEnterprise'
           },
           {
@@ -423,23 +418,23 @@
           {
             title: '璁惧绔彛',
             align: 'center',
-            width: 100,
             dataIndex: 'equipmentPort'
           },
           {
             title: '鍧愭爣鏁伴噺',
             align: 'center',
-            width: 100,
             dataIndex: 'coordinateNum'
           },
           {
             title: '鍒涘缓浜�',
             align: 'center',
+            width: 100,
             dataIndex: 'createBy_dictText'
           },
           {
             title: '鍒涘缓鏃堕棿',
             align: 'center',
+            width: 200,
             dataIndex: 'createTime'
           },
           {
@@ -455,7 +450,6 @@
           {
             title: '澶囨敞',
             align: 'center',
-            width: 100,
             dataIndex: 'remark'
           },
           {

--
Gitblit v1.9.3