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/maintenance/EamInspectionOrderList.vue | 19 ++++++++++++++++--- 1 files changed, 16 insertions(+), 3 deletions(-) diff --git a/src/views/eam/maintenance/EamInspectionOrderList.vue b/src/views/eam/maintenance/EamInspectionOrderList.vue index da54591..81f848c 100644 --- a/src/views/eam/maintenance/EamInspectionOrderList.vue +++ b/src/views/eam/maintenance/EamInspectionOrderList.vue @@ -60,13 +60,14 @@ <!--</a-button>--> <!--</a-dropdown>--> - <a-button type="primary" icon="delete" @click="batchZf('ABOLISH')" v-has="'eam:inspection:abolish'" - :disabled="selectedRowKeys.length===0">鎵归噺浣滃簾 - </a-button> + <a-button type="primary" icon="form" @click="batchLq('UNDER_INSPECTION')" v-has="'eam:inspection:collect'" :disabled="selectedRowKeys.length===0">鎵归噺棰嗗彇 </a-button> <a-button type="primary" icon="monitor" @click="handleBatchPrint" :disabled="selectedRowKeys.length===0">鎵归噺棰勮 + </a-button> + <a-button type="danger" icon="delete" @click="batchZf('ABOLISH')" v-has="'eam:inspection:abolish'" + :disabled="selectedRowKeys.length===0">鎵归噺浣滃簾 </a-button> </div> @@ -82,6 +83,12 @@ :dataSource="dataSource" :pagination="ipagination" :loading="loading" :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" class="j-table-force-nowrap" @change="handleTableChange"> + + <!--浣跨敤閮ㄩ棬--> + <template slot="factoryOrgCode" slot-scope="text,record"> + {{[record.zxfactoryOrgCode_dictText].filter(item=>item).join('/')}} + </template> + <span slot="action" slot-scope="text, record"> <template v-if=" record.inspectionStatus === 'WAIT_INSPECTION'"> <a @click="handleEdit(record)">缂栬緫</a> @@ -192,6 +199,12 @@ fixed: 'left' }, { + title: '浣跨敤閮ㄩ棬', + align: 'center', + scopedSlots: { customRender: 'factoryOrgCode' }, + fixed: 'left' + }, + { title: '鐐规鐘舵��', align: 'center', dataIndex: 'inspectionStatus_dictText', -- Gitblit v1.9.3