设备台账编辑页面路由跳转

main
liutao 2 weeks ago
parent 74088e67d5
commit def762ae78

File diff suppressed because it is too large Load Diff

@ -219,7 +219,7 @@
<el-button link @click="handleDetail(scope.row.id)">
{{ t('EquipmentManagement.EquipmentLedger.detail') }}
</el-button>
<el-button link type="primary" @click="openForm('update', scope.row.id)"
<el-button link type="primary" @click="handleEditDetail(scope.row.id)"
v-hasPermi="['mes:device-ledger:update']">
{{ t('EquipmentManagement.EquipmentLedger.edit') }}
</el-button>
@ -712,6 +712,9 @@ const handleDetail = (id: number) => {
router.push({ name: 'MesDeviceLedgerDetail', params: { id } })
}
const handleEditDetail = (id: number) => {
router.push({name: 'MesDeviceLedgerEditDetail', params: {id } })
}
/** 查询列表 */
const getList = async () => {
loading.value = true

Loading…
Cancel
Save