From 8611a1ba1696e76cced04ff5d658ba138a05dafd Mon Sep 17 00:00:00 2001
From: zenglf <18502938215@163.com>
Date: 星期六, 19 八月 2023 14:37:32 +0800
Subject: [PATCH] 设备管理前端代码提交 截止 20230819 13:55 分

---
 src/views/eam/modules/equipmentDisposal/EquipmentDisposalDetailList.vue |   42 +++++++++++++++++++++++++++++-------------
 1 files changed, 29 insertions(+), 13 deletions(-)

diff --git a/src/views/eam/modules/equipmentDisposal/EquipmentDisposalDetailList.vue b/src/views/eam/modules/equipmentDisposal/EquipmentDisposalDetailList.vue
index 9b5a245..33e29f2 100644
--- a/src/views/eam/modules/equipmentDisposal/EquipmentDisposalDetailList.vue
+++ b/src/views/eam/modules/equipmentDisposal/EquipmentDisposalDetailList.vue
@@ -42,15 +42,16 @@
         size="middle"
         bordered
         rowKey="id"
-        :scroll="{x:true}"
+        :scroll="{ x: 'calc(1000px + 5%)', y: 900 }"
         :columns="columns"
         :dataSource="dataSource"
         :pagination="ipagination"
         :loading="loading"
-        :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
+        :maxHeight="800"
         @change="handleTableChange">
 
         <template slot="htmlSlot" slot-scope="text">
+          <!-- :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" -->
           <div v-html="text"></div>
         </template>
         <template slot="equipmentPhoto" slot-scope="text,record">
@@ -145,73 +146,88 @@
           {
             title:'璁惧缂栫爜',
             align:"center",
-            dataIndex: 'equipmentNum'
+            dataIndex: 'equipmentNum',
+            width:200
           },
           {
             title:'璧勪骇缂栫爜',
             align:"center",
-            dataIndex: 'assetNumber'
+            dataIndex: 'assetNumber',
+            width:200
           },
           {
             title:'鐗圭璁惧',
             align:"center",
             dataIndex: 'specificEquipment_dictText',
+            width:200
           },
           {
             title:'璁惧鍚嶇О',
             align:"center",
-            dataIndex: 'equipmentName'
+            dataIndex: 'equipmentName',
+            width:200
           },
           {
             title:'璁惧鍨嬪彿',
             align:"center",
-            dataIndex: 'model'
+            dataIndex: 'model',
+            width:200
           },
           {
             title:'璁惧瑙勬牸',
             align:"center",
-            dataIndex: 'specification'
+            dataIndex: 'specification',
+            width:200
           },
           {
             title:'璁惧鐘舵��',
             align:"center",
             dataIndex: 'equipmentStatus_dictText',
+            width:200
           },
           {
             title:'鎶�鏈姸鎬�',
             align:"center",
             dataIndex: 'technologyStatus_dictText',
+            width:200
           },
           {
             title:'璁惧浣嶇疆',
             align:"center",
-            dataIndex: 'location'
+            dataIndex: 'location',
+            width:200
           },
           {
             title:'閲嶈搴�',
             align:"center",
-            dataIndex: 'equipmentImportanceId_dictText'
+            dataIndex: 'equipmentImportanceId_dictText',
+            width:200
+
           },
           {
             title:'璁惧鍥剧墖',
             align:"center",
             dataIndex: 'equipmentPhoto',
-            scopedSlots: {customRender: "equipmentPhoto"}
+            scopedSlots: {customRender: "equipmentPhoto"},
+            width:200
           },
           {
             title:'鍑忓皯鏂瑰紡',
             align:"center",
-            dataIndex: 'reduceMethod_dictText'
+            dataIndex: 'reduceMethod_dictText',
+            width:200
           },
           {
             title:'澶勭疆鍘熷洜',
             align:"center",
-            dataIndex: 'disposalReason'
+            dataIndex: 'disposalReason',
+            width:200
           },
           {
             title:'澶勭疆鏃ユ湡',
             align:"center",
-            dataIndex: 'disposalDate'
+            dataIndex: 'disposalDate',
+            width:200
           },
           // {
           //   title: '鎿嶄綔',

--
Gitblit v1.9.3