From 6316c46625a0a4b02e0adb12ff2a5ca58b71700a Mon Sep 17 00:00:00 2001 From: cwchen <1048842385@qq.com> Date: Mon, 17 Nov 2025 19:21:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=80=E6=9C=AF=E6=96=B9=E6=A1=88=E5=BA=93?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/enterpriseLibrary/enterprise/index.vue | 4 ++-- .../enterpriseLibrary/technical/components/RightTable.vue | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/enterpriseLibrary/enterprise/index.vue b/src/views/enterpriseLibrary/enterprise/index.vue index c47ffb5..9c80e4e 100644 --- a/src/views/enterpriseLibrary/enterprise/index.vue +++ b/src/views/enterpriseLibrary/enterprise/index.vue @@ -113,7 +113,7 @@ import EnterpriseDetail from '@/assets/enterpriseLibrary/enterprise/enterprise-d import EnterpriseEdit from '@/assets/enterpriseLibrary/enterprise/enterprise-edit.png'; import EnterpriseDelete from '@/assets/enterpriseLibrary/enterprise/enterprise-delete.png'; import { encryptWithSM4 } from '@/utils/sm' -import { listAPI, delAPI } from '@/api/enterpriseLibrary/enterprise/enterprise' +import { listAPI, delDataAPI } from '@/api/enterpriseLibrary/enterprise/enterprise' export default { name: 'Enterprise', components: { @@ -193,7 +193,7 @@ export default { dangerouslyUseHTMLString: true, customClass: 'delete-confirm-dialog' }).then(() => { - delAPI({enterpriseId: item.enterpriseId}).then(res => { + delDataAPI({enterpriseId: item.enterpriseId}).then(res => { if(res.code === 200){ this.$message.success('删除成功'); this.getList(); diff --git a/src/views/enterpriseLibrary/technical/components/RightTable.vue b/src/views/enterpriseLibrary/technical/components/RightTable.vue index 287e96e..d6522bb 100644 --- a/src/views/enterpriseLibrary/technical/components/RightTable.vue +++ b/src/views/enterpriseLibrary/technical/components/RightTable.vue @@ -174,8 +174,8 @@ export default { console.log('初始化完成') }, /** 删除操作 */ - handleDelete(row) { - this.$confirm(`确定要删除方案类型"${raw.technicalSolutionName}"吗?删除后将无法恢复!`, '操作提示', { + handleDelete(raw) { + this.$confirm(`确定要删除方案名称"${raw.technicalName}"吗?删除后将无法恢复!`, '操作提示', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning', @@ -185,7 +185,7 @@ export default { delDataAPI( { technicalSolutionTypeId: raw.technicalSolutionTypeId, - technicalSolutionId: row.technicalSolutionId + technicalSolutionId: raw.technicalSolutionId } ).then(res => { if (res.code === 200) {