From 43931b663eb3ca9a66184ebaf8f9e3ac1532f605 Mon Sep 17 00:00:00 2001 From: zhangherong <571457620@qq.com> Date: 星期三, 28 五月 2025 10:05:18 +0800 Subject: [PATCH] art: 设备管理-报修、维修工单按钮权限修改 --- src/views/eam/maintenance/EamWeekMaintenanceOrderList.vue | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/views/eam/maintenance/EamWeekMaintenanceOrderList.vue b/src/views/eam/maintenance/EamWeekMaintenanceOrderList.vue index ba99918..fc7d394 100644 --- a/src/views/eam/maintenance/EamWeekMaintenanceOrderList.vue +++ b/src/views/eam/maintenance/EamWeekMaintenanceOrderList.vue @@ -105,21 +105,21 @@ <lx-switch v-model="text" disabled checked-children="鏄�" un-checked-children="鍚�"/> </span> <span slot="action" slot-scope="text, record"> - <template v-if="record.maintenanceStatus === 'WAIT_MAINTENANCE' && isShowAuth('eam:weekMaintenance:edit')"> - <a @click="handleEdit(record)">缂栬緫</a> + <template v-if="record.maintenanceStatus === 'WAIT_MAINTENANCE'"> + <a @click="handleEdit(record)" v-if="isShowAuth('eam:weekMaintenance:edit')">缂栬緫</a> - <a-divider type="vertical"/> + <a-divider type="vertical" v-if="isShowAuth('eam:weekMaintenance:edit')"/> - <a-popconfirm title="纭畾棰嗗彇鍚�?" @confirm="() => handlerCollect(record.id)"> + <a-popconfirm title="纭畾棰嗗彇鍚�?" @confirm="() => handlerCollect(record.id)" v-if="isShowAuth('eam:weekMaintenance:collect')"> <a>棰嗗彇</a> </a-popconfirm> - <a-divider type="vertical"/> + <a-divider type="vertical" v-if="isShowAuth('eam:weekMaintenance:collect')"/> <a-dropdown> <a class="ant-dropdown-link">鏇村 <a-icon type="down"/></a> <a-menu slot="overlay"> - <a-menu-item> + <a-menu-item v-if="isShowAuth('eam:weekMaintenance:abolish')"> <a-popconfirm title="纭畾浣滃簾鍚�?" @confirm="() => handlerAbolish(record.id)"> <a>浣滃簾</a> </a-popconfirm> -- Gitblit v1.9.3