From 2f1a3399c9c59df8d55ae45b50adb93b54e0b078 Mon Sep 17 00:00:00 2001 From: yejiaxing <591141169@qq.com> Date: Fri, 19 Jan 2024 11:51:27 +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/deviceMoldItems/index.vue | 4 +- src/views/eam/basic/factoryArea/index.vue | 346 ++++++++-------- src/views/eam/basic/item/index.vue | 6 +- src/views/eam/basic/location/index.vue | 8 +- src/views/eam/basic/locationArea/index.vue | 372 +++++++++--------- src/views/eam/basic/supplier/index.vue | 6 +- src/views/eam/fixedAssets/index.vue | 4 +- 7 files changed, 351 insertions(+), 395 deletions(-) diff --git a/src/views/eam/basic/deviceMoldItems/index.vue b/src/views/eam/basic/deviceMoldItems/index.vue index 50d3359..b6af3c2 100644 --- a/src/views/eam/basic/deviceMoldItems/index.vue +++ b/src/views/eam/basic/deviceMoldItems/index.vue @@ -133,8 +133,8 @@ const buttonBaseClick = (val, item) => { // 列表-操作按钮 const butttondata = [ - defaultButtons.mainListEditBtn({hasPermi:'eam:deviceMoldItems:update'}), // 编辑 - defaultButtons.mainListDeleteBtn({hasPermi:'eam:deviceMoldItems:delete'}), // 删除 + defaultButtons.mainListEditBtn(null), // 编辑 + defaultButtons.mainListDeleteBtn(null), // 删除 ] // 列表-操作按钮事件 diff --git a/src/views/eam/basic/factoryArea/index.vue b/src/views/eam/basic/factoryArea/index.vue index 267e449..118d64f 100644 --- a/src/views/eam/basic/factoryArea/index.vue +++ b/src/views/eam/basic/factoryArea/index.vue @@ -4,29 +4,16 @@ - - + + - + }" v-model:pageSize="tableObject.pageSize" v-model:currentPage="tableObject.currentPage" + v-model:sort="tableObject.sort"> diff --git a/src/views/eam/basic/item/index.vue b/src/views/eam/basic/item/index.vue index 6b0d7a3..f98710a 100644 --- a/src/views/eam/basic/item/index.vue +++ b/src/views/eam/basic/item/index.vue @@ -119,8 +119,6 @@ const HeadButttondata = [ const buttonBaseClick = (val, item) => { if (val == 'add') { // 新增 openForm('create') - } else if (val == 'import') { // 导入 - handleImport() } else if (val == 'export') { // 导出 handleExport() } else if (val == 'refresh') { // 刷新 @@ -133,8 +131,8 @@ const buttonBaseClick = (val, item) => { // 列表-操作按钮 const butttondata = [ - defaultButtons.mainListEditBtn({hasPermi:'eam:item:update'}), // 编辑 - defaultButtons.mainListDeleteBtn({hasPermi:'eam:item:delete'}), // 删除 + defaultButtons.mainListEditBtn(null), // 编辑 + defaultButtons.mainListDeleteBtn(null), // 删除 ] // 列表-操作按钮事件 diff --git a/src/views/eam/basic/location/index.vue b/src/views/eam/basic/location/index.vue index 702e533..0a2676d 100644 --- a/src/views/eam/basic/location/index.vue +++ b/src/views/eam/basic/location/index.vue @@ -119,9 +119,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() @@ -133,8 +131,8 @@ const buttonBaseClick = (val, item) => { // 列表-操作按钮 const butttondata = [ - defaultButtons.mainListEditBtn({hasPermi:'eam:location:update'}), // 编辑 - defaultButtons.mainListDeleteBtn({hasPermi:'eam:location:delete'}), // 删除 + defaultButtons.mainListEditBtn(null), // 编辑 + defaultButtons.mainListDeleteBtn(null), // 删除 ] // 列表-操作按钮事件 diff --git a/src/views/eam/basic/locationArea/index.vue b/src/views/eam/basic/locationArea/index.vue index 9472e5b..3b1ac90 100644 --- a/src/views/eam/basic/locationArea/index.vue +++ b/src/views/eam/basic/locationArea/index.vue @@ -4,29 +4,16 @@ - - + + -
+ }" v-model:pageSize="tableObject.pageSize" v-model:currentPage="tableObject.currentPage" + v-model:sort="tableObject.sort"> diff --git a/src/views/eam/basic/supplier/index.vue b/src/views/eam/basic/supplier/index.vue index c326435..5de05ca 100644 --- a/src/views/eam/basic/supplier/index.vue +++ b/src/views/eam/basic/supplier/index.vue @@ -119,8 +119,6 @@ const HeadButttondata = [ const buttonBaseClick = (val, item) => { if (val == 'add') { // 新增 openForm('create') - } else if (val == 'import') { // 导入 - handleImport() } else if (val == 'export') { // 导出 handleExport() } else if (val == 'refresh') { // 刷新 @@ -133,8 +131,8 @@ const buttonBaseClick = (val, item) => { // 列表-操作按钮 const butttondata = [ - defaultButtons.mainListEditBtn({hasPermi:'eam:supplier:update'}), // 编辑 - defaultButtons.mainListDeleteBtn({hasPermi:'eam:supplier:delete'}), // 删除 + defaultButtons.mainListEditBtn(null), // 编辑 + defaultButtons.mainListDeleteBtn(null), // 删除 ] // 列表-操作按钮事件 diff --git a/src/views/eam/fixedAssets/index.vue b/src/views/eam/fixedAssets/index.vue index a521513..f86d2c4 100644 --- a/src/views/eam/fixedAssets/index.vue +++ b/src/views/eam/fixedAssets/index.vue @@ -133,8 +133,8 @@ const buttonBaseClick = (val, item) => { // 列表-操作按钮 const butttondata = [ - defaultButtons.mainListEditBtn({hasPermi:'eam:fixedAssets:update'}), // 编辑 - defaultButtons.mainListDeleteBtn({hasPermi:'eam:fixedAssets:delete'}), // 删除 + defaultButtons.mainListEditBtn(null), // 编辑 + defaultButtons.mainListDeleteBtn(null), // 删除 ] // 列表-操作按钮事件