From 0944b9eb966ae1ee19eab0823a1c45608f1a12ee Mon Sep 17 00:00:00 2001 From: lyh <925863403@qq.com> Date: 星期五, 05 九月 2025 10:40:52 +0800 Subject: [PATCH] 修改保养项目列表内容样式展示 --- src/views/flowable/workflow/MaintenanceStandard/MaintenanceStandardApprovalModal.vue | 40 +++++++++++++++++++--------------------- 1 files changed, 19 insertions(+), 21 deletions(-) diff --git a/src/views/flowable/workflow/MaintenanceStandard/MaintenanceStandardApprovalModal.vue b/src/views/flowable/workflow/MaintenanceStandard/MaintenanceStandardApprovalModal.vue index 279fecf..42a7c3a 100644 --- a/src/views/flowable/workflow/MaintenanceStandard/MaintenanceStandardApprovalModal.vue +++ b/src/views/flowable/workflow/MaintenanceStandard/MaintenanceStandardApprovalModal.vue @@ -267,25 +267,19 @@ align: 'center', width: 100 }, - // { - // title: '淇濆吇椤瑰垎绫�', - // key: 'itemCategory', - // type: JVXETypes.slot, - // slotName: 'itemCategory', - // align: 'center', - // disabled: true - // }, { title: '淇濆吇椤圭洰', key: 'itemName', type: JVXETypes.normal, - align: 'center' + headerAlign: 'center', + align: 'left' }, { title: '淇濆吇瑙勮寖鎴栬姹�', key: 'itemDemand', type: JVXETypes.normal, - align: 'center' + headerAlign: 'center', + align: 'left' } ], secondMaintenanceColumns: [ @@ -306,19 +300,12 @@ align: 'center', width: 100 }, - // { - // title: '淇濆吇椤瑰垎绫�', - // key: 'itemCategory', - // type: JVXETypes.slot, - // slotName: 'itemCategory', - // align: 'center', - // disabled: true - // }, { title: '淇濆吇椤圭洰', key: 'itemName', type: JVXETypes.normal, - align: 'center' + headerAlign: 'center', + align: 'left' } ], thirdMaintenanceColumns: [ @@ -342,13 +329,15 @@ title: '淇濆吇鍐呭', key: 'itemName', type: JVXETypes.normal, - align: 'center' + headerAlign: 'center', + align: 'left' }, { title: '楠屾敹鏍囧噯', key: 'itemDemand', type: JVXETypes.normal, - align: 'center' + headerAlign: 'center', + align: 'left' } ] }, @@ -695,4 +684,13 @@ text-align: center; margin: auto; } + /* 淇濆吇椤圭洰鍒楄〃澶村眳涓� */ + .vxe-header--column[data-col="itemName"] .vxe-cell { + text-align: center !important; + } + + /* 淇濆吇椤圭洰鍒楀唴瀹瑰乏瀵归綈 */ + .vxe-body--column[data-col="itemName"] .vxe-cell { + text-align: left !important; + } </style> \ No newline at end of file -- Gitblit v1.9.3