main
liutao 2 weeks ago
parent 03327f6581
commit e35779413c

@ -100,5 +100,14 @@ export const DeviceLedgerApi = {
exportMold: async (params) => {
return await request.download({ url: `/mes/device-ledger/export-mold`, params })
},
// 查询设备关键件明细
getDeviceCriticalComponent: async (id: number) => {
return await request.get({ url: `/mes/device-critical-component/getDetails?deviceId=` + id })
},
exportDeviceComponent: async (params: any) => {
return await request.download({ url: `/mes/device-critical-component/export-excel`, params })
}
}

@ -716,6 +716,17 @@ const remainingRouter: AppRouteRecordRaw[] = [
activeMenu: '/mes/deviceledger'
},
component: () => import('@/views/mes/deviceledger/detail/index.vue')
},
{
path: 'device-ledger/detail/editIndex:id',
name: 'MesDeviceLedgerEditDetail',
meta: {
title: '编辑设备台账',
noCache: true,
hidden: true,
activeMenu: '/mes/deviceledger'
},
component: () => import('@/views/mes/deviceledger/detail/editIndex.vue')
}
]
}

Loading…
Cancel
Save