From 13db1954b6cfd11f1cd68e1912c49f28aac9132d Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Thu, 28 Apr 2022 11:36:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B3=95=E8=A7=84=E6=B8=85?= =?UTF-8?q?=E5=8D=95=E7=9A=84=E5=88=A0=E9=99=A4=E4=BC=A0=E5=8F=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../projectManagement/components/listOfRegulations.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/jero-web/src/views/projectManagement/components/listOfRegulations.vue b/jero-web/src/views/projectManagement/components/listOfRegulations.vue index 0b9f8bd61..93c1a7177 100644 --- a/jero-web/src/views/projectManagement/components/listOfRegulations.vue +++ b/jero-web/src/views/projectManagement/components/listOfRegulations.vue @@ -644,7 +644,10 @@ content: _this.$t('ConfirmBatchDeletion'), onOk() { let idList = JSON.parse(JSON.stringify(_this.selectedRowKeys)) - deleteAction(_this.url.deleteBatch, { ids: idList.join(',') }).then((res) => { + deleteAction(_this.url.deleteBatch, { + ids: idList.join(','), + projectLibraryId: this.$route.query.id + }).then((res) => { if (res.success) { _this.$message.success(_this.$t('OperationSuccessful')) _this.selectedRowKeys = [] @@ -667,7 +670,7 @@ this.$confirm({ content: _this.$t('ConfirmDelete'), onOk() { - deleteAction(_this.url.deleteOne, { id: val.id }).then((res) => { + deleteAction(_this.url.deleteOne, { id: val.id, projectLibraryId: this.$route.query.id }).then((res) => { if (res.success) { _this.$message.success(_this.$t('OperationSuccessful')) _this.getList()