diff --git a/src/api/enterpriseLibrary/tool/tool.js b/src/api/enterpriseLibrary/tool/tool.js index a2b4e8a..2f5c1d6 100644 --- a/src/api/enterpriseLibrary/tool/tool.js +++ b/src/api/enterpriseLibrary/tool/tool.js @@ -39,7 +39,7 @@ export function delDataAPI(data) { /* 工器具库->查询详情 */ export function getDetailDataAPI(params) { return request({ - url: '/smartBid/mainDatabase/tool/getDetailData', + url: '/smartBid/mainDatabase/tool/detailData', method: 'GET', params }) diff --git a/src/views/enterpriseLibrary/technical/index.vue b/src/views/enterpriseLibrary/technical/index.vue index fa568af..45e471c 100644 --- a/src/views/enterpriseLibrary/technical/index.vue +++ b/src/views/enterpriseLibrary/technical/index.vue @@ -42,27 +42,6 @@ export default { handleCategoryChange(categoryId) { this.activeCategory = categoryId }, - handleAddCategory() { - }, - handleCategoryCommand(command) { - if (command.type === 'edit') { - console.log('编辑分类:', command.id) - } else if (command.type === 'delete') { - console.log('删除分类:', command.id) - } - }, - handleAddScheme() { - console.log('新增方案') - }, - handleView(row) { - console.log('查看:', row) - }, - handleEdit(row) { - console.log('编辑:', row) - }, - handleDelete(row) { - console.log('删除:', row) - }, // 返回上一页 handleBack() { const obj = { diff --git a/src/views/enterpriseLibrary/tool/components/ToolForm.vue b/src/views/enterpriseLibrary/tool/components/ToolForm.vue index 6196681..1ccd41d 100644 --- a/src/views/enterpriseLibrary/tool/components/ToolForm.vue +++ b/src/views/enterpriseLibrary/tool/components/ToolForm.vue @@ -5,16 +5,16 @@