From 8ee8c84f43c6ec489a6d5f23ab5e5a2ac0eba13b Mon Sep 17 00:00:00 2001 From: Lius <Lius2225@163.com> Date: 星期四, 03 七月 2025 11:33:52 +0800 Subject: [PATCH] 维修部门班组 --- src/views/eam/equipment/EamEquipmentLedger.vue | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/views/eam/equipment/EamEquipmentLedger.vue b/src/views/eam/equipment/EamEquipmentLedger.vue index 13250c3..502cadd 100644 --- a/src/views/eam/equipment/EamEquipmentLedger.vue +++ b/src/views/eam/equipment/EamEquipmentLedger.vue @@ -121,7 +121,12 @@ <!--鎿嶄綔绯荤粺--> <template slot="operationSystem" slot-scope="text"> - <a-switch checked-children="鏄�" un-checked-children="鍚�" :checked="+text" disabled/> + <a-switch checked-children="鏄�" un-checked-children="鍚�" :checked="Boolean(+text)" disabled/> + </template> + + <!--鎿嶄綔绯荤粺--> + <template slot="fireExtinguisher" slot-scope="text"> + <a-switch checked-children="鏄�" un-checked-children="鍚�" :checked="Boolean(+text)" disabled/> </template> <!--璧勪骇鍒堕�犲晢--> @@ -306,7 +311,8 @@ { title: '鐏伀鍣�', align: 'center', - dataIndex: 'fireExtinguisher' + dataIndex: 'fireExtinguisher', + scopedSlots: { customRender: 'fireExtinguisher' } }, { title: '鐏伀鍣ㄦ湁鏁堟湡', @@ -337,7 +343,7 @@ { title: '閲嶉噺', align: 'center', - dataIndex: 'weightUnit' + dataIndex: 'equipmentWeight' }, { title: '閲嶉噺璁¢噺鍗曚綅', -- Gitblit v1.9.3