From 86d99e38a2c44e85983d2b8adccf332902a8f2a2 Mon Sep 17 00:00:00 2001
From: “linengliang” <vanSuperEnergy@163.com>
Date: 星期五, 15 三月 2024 15:00:56 +0800
Subject: [PATCH] xg

---
 src/views/mdc/base/AlarmManager.vue |   18 +++++++++++-------
 1 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/src/views/mdc/base/AlarmManager.vue b/src/views/mdc/base/AlarmManager.vue
index 83c5383..7a3d59d 100644
--- a/src/views/mdc/base/AlarmManager.vue
+++ b/src/views/mdc/base/AlarmManager.vue
@@ -171,7 +171,7 @@
       <a-table
         ref="table"
         size="middle"
-        :scroll="{x:true}"
+        :scroll="{x:'max-content',y:465}"
         bordered
         rowKey="id"
         :columns="columns"
@@ -258,20 +258,23 @@
             title: '鎶ヨ鍙�',
             align: "center",
             // sorter: true,
-            dataIndex: 'alarmCode'
+            dataIndex: 'alarmCode',
+            width:400
           },
           {
             title: '鎶ヨ鍐呭',
             align: "center",
             // sorter: true,
-            dataIndex: 'alarmContent'
+            dataIndex: 'alarmContent',
+            width:400
           },
 
           {
             title: '璁惧椹卞姩绫诲瀷',
             align: "center",
             // sorter: true,
-            dataIndex: 'driveType'
+            dataIndex: 'driveType',
+            width:400
           },
           // {
           //   title: '鏄惁杩囨护',
@@ -281,8 +284,9 @@
           // },
           {
             dataIndex:'isUse_dictText',
-            title: '鏄惁杩囨护',
+            title: '鏄惁鍚敤',
             align: "center",
+            width:380
            // dictCode:'alarm_is_use'
           },
           {
@@ -290,7 +294,7 @@
             dataIndex: 'action',
             align: "center",
             fixed: "right",
-            width: 147,
+            width: 150,
             scopedSlots: { customRender: 'action' }
           }
         ],
@@ -334,7 +338,7 @@
         fieldList.push({ type: 'string', value: 'alarmCode', text: '鎶ヨ鍙�', dictCode: '' })
         fieldList.push({ type: 'string', value: 'alarmDescription', text: '鎶ヨ鍐呭', dictCode: '' })
         fieldList.push({ type: 'int', value: 'driveType', text: '璁惧椹卞姩绫诲瀷', dictCode: '' })
-        fieldList.push({ type: 'switch', value: 'isUse', text: '鏄惁杩囨护' })
+        fieldList.push({ type: 'switch', value: 'isUse', text: '鏄惁鍚敤' })
         this.superFieldList = fieldList
       },
 

--
Gitblit v1.9.3