From 4b62098fb4528e3f38df4265e1e2ec081664d4b4 Mon Sep 17 00:00:00 2001 From: zenglf <18502938215@163.com> Date: 星期三, 25 十月 2023 13:18:41 +0800 Subject: [PATCH] 鉴定工单调整 --- src/views/eam/MalfunctionRepair.vue | 44 +++++++++++++++++++++++++++++--------------- 1 files changed, 29 insertions(+), 15 deletions(-) diff --git a/src/views/eam/MalfunctionRepair.vue b/src/views/eam/MalfunctionRepair.vue index b855dd3..ea0a7f5 100644 --- a/src/views/eam/MalfunctionRepair.vue +++ b/src/views/eam/MalfunctionRepair.vue @@ -187,6 +187,9 @@ </a-menu> </a-dropdown> </span> + <span slot="faultDescription" slot-scope="text"> + <j-ellipsis :value="text" :length="10" /> + </span> </a-table> </div> @@ -230,6 +233,7 @@ import MalfunctionRepairModal from './modules/malfunctionRepair/MalfunctionRepaireModal' import FaultDescriptionList from './modules/malfunctionRepair/FaultDescriptionList' import ApprovelModal from './modules/malfunctionRepair/ApprovelModal' +import JEllipsis from '@/components/jeecg/JEllipsis' export default { name: 'MalfunctionRepairList', @@ -237,7 +241,8 @@ components: { MalfunctionRepairModal, FaultDescriptionList, - ApprovelModal + ApprovelModal, + JEllipsis }, data() { return { @@ -291,21 +296,30 @@ align: "center", dataIndex: 'departName', }, - { - title: '绱ф�ョ▼搴�', - align: "center", - dataIndex: 'urgencyName', - }, + // { + // title: '绱ф�ョ▼搴�', + // align: "center", + // dataIndex: 'urgencyName', + // }, { title: '鏁呴殰鎻忚堪', align: "center", - dataIndex: 'faultDescription' + dataIndex: 'faultDescription', + scopedSlots: { + customRender: 'faultDescription' + } + }, // { // title: '鏁呴殰鎷嶇収', // align: "center", // dataIndex: 'photo', // scopedSlots: { customRender: 'imgSlot' } + // }, + // { + // title: '鏁呴殰鍘熷洜', + // align: "center", + // dataIndex: 'faultReason' // }, { title: '鏁呴殰鏃堕棿', @@ -332,14 +346,14 @@ align: "center", dataIndex: 'remark' }, - { - title: '鎿嶄綔', - dataIndex: 'action', - align: "center", - fixed: "right", - width: 200, - scopedSlots: { customRender: 'action' } - } + // { + // title: '鎿嶄綔', + // dataIndex: 'action', + // align: "center", + // fixed: "right", + // width: 200, + // scopedSlots: { customRender: 'action' } + // } ], url: { list: "/eam/equipmentReportRepair/getReportRepairList", -- Gitblit v1.9.3