From 1c2e80c0deb57ca671e896d7659ae191ba9a983f Mon Sep 17 00:00:00 2001 From: yejiaxing <591141169@qq.com> Date: Fri, 19 Jan 2024 17:09:21 +0800 Subject: [PATCH] =?UTF-8?q?BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/eam/basic/factoryArea/index.vue | 2 -- src/views/eam/basic/inspection/index.vue | 1 - src/views/eam/basic/item/index.vue | 1 - src/views/eam/basic/location/index.vue | 1 - src/views/eam/basic/locationArea/index.vue | 3 --- src/views/eam/basic/maintenance/index.vue | 1 - src/views/eam/basic/supplier/index.vue | 1 - src/views/eam/fixedAssets/index.vue | 5 +---- 8 files changed, 1 insertion(+), 14 deletions(-) diff --git a/src/views/eam/basic/factoryArea/index.vue b/src/views/eam/basic/factoryArea/index.vue index 118d64f..c5264a0 100644 --- a/src/views/eam/basic/factoryArea/index.vue +++ b/src/views/eam/basic/factoryArea/index.vue @@ -42,7 +42,6 @@ import * as FactoryAreaApi from '@/api/eam/basic/factoryArea' import * as defaultButtons from '@/utils/disposition/defaultButtons' import TableHead from '@/components/TableHead/src/TableHead.vue' - import ImportForm from '@/components/ImportForm/src/ImportForm.vue' import Detail from '@/components/Detail/src/Detail.vue' defineOptions({ name: 'FactoryArea' }) @@ -79,7 +78,6 @@ // 列表头部按钮 const HeadButttondata = [ defaultButtons.defaultAddBtn(null), // 新增 - defaultButtons.defaultImportBtn(null), // 导入 defaultButtons.defaultExportBtn(null), // 导出 defaultButtons.defaultFreshBtn(null), // 刷新 defaultButtons.defaultFilterBtn(null), // 筛选 diff --git a/src/views/eam/basic/inspection/index.vue b/src/views/eam/basic/inspection/index.vue index b7697af..c557c77 100644 --- a/src/views/eam/basic/inspection/index.vue +++ b/src/views/eam/basic/inspection/index.vue @@ -97,7 +97,6 @@ const { getList, setSearchParams } = tableMethods // 列表头部按钮 const HeadButttondata = [ defaultButtons.defaultAddBtn(null), // 新增 - defaultButtons.defaultImportBtn(null), // 导入 defaultButtons.defaultExportBtn(null), // 导出 defaultButtons.defaultFreshBtn(null), // 刷新 defaultButtons.defaultFilterBtn(null), // 筛选 diff --git a/src/views/eam/basic/item/index.vue b/src/views/eam/basic/item/index.vue index f98710a..e436aab 100644 --- a/src/views/eam/basic/item/index.vue +++ b/src/views/eam/basic/item/index.vue @@ -100,7 +100,6 @@ const { getList, setSearchParams } = tableMethods // 列表头部按钮 const HeadButttondata = [ defaultButtons.defaultAddBtn(null), // 新增 - defaultButtons.defaultImportBtn(null), // 导入 defaultButtons.defaultExportBtn(null), // 导出 defaultButtons.defaultFreshBtn(null), // 刷新 defaultButtons.defaultFilterBtn(null), // 筛选 diff --git a/src/views/eam/basic/location/index.vue b/src/views/eam/basic/location/index.vue index 0a2676d..4b8f151 100644 --- a/src/views/eam/basic/location/index.vue +++ b/src/views/eam/basic/location/index.vue @@ -100,7 +100,6 @@ const { getList, setSearchParams } = tableMethods // 列表头部按钮 const HeadButttondata = [ defaultButtons.defaultAddBtn(null), // 新增 - defaultButtons.defaultImportBtn(null), // 导入 defaultButtons.defaultExportBtn(null), // 导出 defaultButtons.defaultFreshBtn(null), // 刷新 defaultButtons.defaultFilterBtn(null), // 筛选 diff --git a/src/views/eam/basic/locationArea/index.vue b/src/views/eam/basic/locationArea/index.vue index 3b1ac90..109dddd 100644 --- a/src/views/eam/basic/locationArea/index.vue +++ b/src/views/eam/basic/locationArea/index.vue @@ -80,7 +80,6 @@ // 列表头部按钮 const HeadButttondata = [ defaultButtons.defaultAddBtn(null), // 新增 - defaultButtons.defaultImportBtn(null), // 导入 defaultButtons.defaultExportBtn(null), // 导出 defaultButtons.defaultFreshBtn(null), // 刷新 defaultButtons.defaultFilterBtn(null), // 筛选 @@ -117,9 +116,7 @@ // 列表-操作按钮事件 const buttonTableClick = (val, row) => { - console.log('11111111111111',val, row ) if (val == 'edit') { // 编辑 - console.log('22222', row ) openForm('update', row) } else if (val == 'delete') { // 删除 handleDelete(row.id) diff --git a/src/views/eam/basic/maintenance/index.vue b/src/views/eam/basic/maintenance/index.vue index 9c09dbc..531dd8b 100644 --- a/src/views/eam/basic/maintenance/index.vue +++ b/src/views/eam/basic/maintenance/index.vue @@ -96,7 +96,6 @@ const { getList, setSearchParams } = tableMethods // 列表头部按钮 const HeadButttondata = [ defaultButtons.defaultAddBtn(null), // 新增 - defaultButtons.defaultImportBtn(null), // 导入 defaultButtons.defaultExportBtn(null), // 导出 defaultButtons.defaultFreshBtn(null), // 刷新 defaultButtons.defaultFilterBtn(null), // 筛选 diff --git a/src/views/eam/basic/supplier/index.vue b/src/views/eam/basic/supplier/index.vue index 5de05ca..39206d0 100644 --- a/src/views/eam/basic/supplier/index.vue +++ b/src/views/eam/basic/supplier/index.vue @@ -100,7 +100,6 @@ const { getList, setSearchParams } = tableMethods // 列表头部按钮 const HeadButttondata = [ defaultButtons.defaultAddBtn(null), // 新增 - defaultButtons.defaultImportBtn(null), // 导入 defaultButtons.defaultExportBtn(null), // 导出 defaultButtons.defaultFreshBtn(null), // 刷新 defaultButtons.defaultFilterBtn(null), // 筛选 diff --git a/src/views/eam/fixedAssets/index.vue b/src/views/eam/fixedAssets/index.vue index f86d2c4..3219fd5 100644 --- a/src/views/eam/fixedAssets/index.vue +++ b/src/views/eam/fixedAssets/index.vue @@ -100,7 +100,6 @@ const { getList, setSearchParams } = tableMethods // 列表头部按钮 const HeadButttondata = [ defaultButtons.defaultAddBtn(null), // 新增 - defaultButtons.defaultImportBtn(null), // 导入 defaultButtons.defaultExportBtn(null), // 导出 defaultButtons.defaultFreshBtn(null), // 刷新 defaultButtons.defaultFilterBtn(null), // 筛选 @@ -119,9 +118,7 @@ const HeadButttondata = [ const buttonBaseClick = (val, item) => { if (val == 'add') { // 新增 openForm('create') - } else if (val == 'import') { // 导入 - handleImport() - } else if (val == 'export') { // 导出 + } else if (val == 'export') { // 导出 handleExport() } else if (val == 'refresh') { // 刷新 getList()