From d86a63d65e195a8c6a807535d936dbc7e2121216 Mon Sep 17 00:00:00 2001 From: lyh <925863403@qq.com> Date: 星期四, 04 九月 2025 17:36:17 +0800 Subject: [PATCH] 设备管理技术状态鉴定、设备保养、设备维修下所有列表添加使用部门展示 --- src/views/eam/repair/EamReportRepairList.vue | 43 ++++++++++++++++++++++++++++++++++++++----- 1 files changed, 38 insertions(+), 5 deletions(-) diff --git a/src/views/eam/repair/EamReportRepairList.vue b/src/views/eam/repair/EamReportRepairList.vue index 674f996..38a0f5f 100644 --- a/src/views/eam/repair/EamReportRepairList.vue +++ b/src/views/eam/repair/EamReportRepairList.vue @@ -11,7 +11,7 @@ </a-col> <a-col :xl="4" :lg="6" :md="8" :sm="12"> <a-form-item label="鎶ヤ慨鐘舵��"> - <j-dict-select-tag dict-code="report_repair_status" placeholder="璇烽�夋嫨鎶ヤ慨鐘舵��" + <j-dict-select-tag dict-code="repair_status" placeholder="璇烽�夋嫨鎶ヤ慨鐘舵��" v-model="queryParam.reportStatus"/> </a-form-item> </a-col> @@ -89,6 +89,11 @@ <a-switch checked-children="鏄�" un-checked-children="鍚�" :checked="Boolean(+text)" disabled/> </template> + <!--浣跨敤閮ㄩ棬--> + <template slot="factoryOrgCode" slot-scope="text,record"> + {{[record.zxfactoryOrgCode_dictText].filter(item=>item).join('/')}} + </template> + <span slot="action" slot-scope="text, record"> <a @click="handleEdit(record)">缂栬緫</a> @@ -98,6 +103,24 @@ <a>浣滃簾</a> </a-popconfirm> </span> + + <!--瀛楃涓茶秴闀挎埅鍙栫渷鐣ュ彿鏄剧ず--> + <span slot="faultDescription" slot-scope="text"> + <j-ellipsis :value="text" :length="8"/> + </span> + <!--瀛楃涓茶秴闀挎埅鍙栫渷鐣ュ彿鏄剧ず--> + <span slot="accidentPhenomenon" slot-scope="text"> + <j-ellipsis :value="text" :length="8"/> + </span> + <!--瀛楃涓茶秴闀挎埅鍙栫渷鐣ュ彿鏄剧ず--> + <span slot="measure" slot-scope="text"> + <j-ellipsis :value="text" :length="8"/> + </span> + <!--瀛楃涓茶秴闀挎埅鍙栫渷鐣ュ彿鏄剧ず--> + <span slot="causingResults" slot-scope="text"> + <j-ellipsis :value="text" :length="8"/> + </span> + </a-table> </div> <!-- table鍖哄煙-end --> @@ -166,6 +189,12 @@ fixed: 'left' }, { + title: '浣跨敤閮ㄩ棬', + align: 'center', + scopedSlots: { customRender: 'factoryOrgCode' }, + fixed: 'left' + }, + { title: '鎶ヤ慨鐘舵��', align: 'center', dataIndex: 'reportStatus_dictText', @@ -179,7 +208,8 @@ { title: '鏁呴殰鐜拌薄', align: 'center', - dataIndex: 'faultDescription' + dataIndex: 'faultDescription', + scopedSlots: { customRender: 'faultDescription' } }, { title: '鏄惁鍋滄満', @@ -243,17 +273,20 @@ { title: '浜嬫晠鐜拌薄', align: 'center', - dataIndex: 'accidentPhenomenon' + dataIndex: 'accidentPhenomenon', + scopedSlots: { customRender: 'accidentPhenomenon' } }, { title: '閲囧彇鎺柦', align: 'center', - dataIndex: 'measure' + dataIndex: 'measure', + scopedSlots: { customRender: 'measure' } }, { title: '閫犳垚缁撴灉', align: 'center', - dataIndex: 'causingResults' + dataIndex: 'causingResults', + scopedSlots: { customRender: 'causingResults' } } ], faultTimeRange: [], -- Gitblit v1.9.3