From 907d0ba6b7442ef9f4fb976633d0b51d36ea6570 Mon Sep 17 00:00:00 2001 From: zhaowei <zhaowei> Date: 星期二, 15 七月 2025 11:49:19 +0800 Subject: [PATCH] 数据报表页面数据列设置固定宽度 --- src/views/eam/base/modules/EamMaintenanceStandardDetailList.vue | 44 +++++++++++++++++++++++++------------------- 1 files changed, 25 insertions(+), 19 deletions(-) diff --git a/src/views/eam/base/modules/EamMaintenanceStandardDetailList.vue b/src/views/eam/base/modules/EamMaintenanceStandardDetailList.vue index 86e2d18..51fcea1 100644 --- a/src/views/eam/base/modules/EamMaintenanceStandardDetailList.vue +++ b/src/views/eam/base/modules/EamMaintenanceStandardDetailList.vue @@ -12,7 +12,6 @@ :pagination="ipagination" :loading="loading" class="j-table-force-nowrap" - :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" @change="handleTableChange"> </a-table> </div> @@ -42,34 +41,41 @@ // 琛ㄥご columns: [ { - title: '#', - dataIndex: '', - key: 'rowIndex', - width: 60, - align: 'center', - customRender: function(t, r, index) { - return parseInt(index) + 1 - } - }, - { title: '搴忓彿', align: 'center', - dataIndex: 'itemCode' + dataIndex: 'itemCode', + width: 60, + }, + { + title: '閮ㄤ綅', + align: 'center', + dataIndex: 'itemPart', + width: 200, + ellipsis: true, }, { title: '淇濆吇椤�', align: 'center', - dataIndex: 'itemName' - }, - { - title: '瀛愰」鐩�', - align: 'center', - dataIndex: 'subItemName' + dataIndex: 'itemName', + ellipsis: true, }, { title: '淇濆吇瑕佹眰', align: 'center', - dataIndex: 'itemDemand' + dataIndex: 'itemDemandAlias', + ellipsis: true, + }, + { + title: '妫�鏌ユ爣鍑嗘垨瑕佹眰', + align: 'center', + dataIndex: 'itemDemand', + ellipsis: true, + }, + { + title: '妫�鏌ユ柟娉�', + align: 'center', + dataIndex: 'checkMethod', + ellipsis: true, } ], url: { -- Gitblit v1.9.3