修改法规清单的删除传参
This commit is contained in:
@@ -646,7 +646,7 @@
|
|||||||
let idList = JSON.parse(JSON.stringify(_this.selectedRowKeys))
|
let idList = JSON.parse(JSON.stringify(_this.selectedRowKeys))
|
||||||
deleteAction(_this.url.deleteBatch, {
|
deleteAction(_this.url.deleteBatch, {
|
||||||
ids: idList.join(','),
|
ids: idList.join(','),
|
||||||
projectLibraryId: this.$route.query.id
|
projectLibraryId: _this.$route.query.id
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
_this.$message.success(_this.$t('OperationSuccessful'))
|
_this.$message.success(_this.$t('OperationSuccessful'))
|
||||||
@@ -670,7 +670,7 @@
|
|||||||
this.$confirm({
|
this.$confirm({
|
||||||
content: _this.$t('ConfirmDelete'),
|
content: _this.$t('ConfirmDelete'),
|
||||||
onOk() {
|
onOk() {
|
||||||
deleteAction(_this.url.deleteOne, { id: val.id, projectLibraryId: this.$route.query.id }).then((res) => {
|
deleteAction(_this.url.deleteOne, { id: val.id, projectLibraryId: _this.$route.query.id }).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
_this.$message.success(_this.$t('OperationSuccessful'))
|
_this.$message.success(_this.$t('OperationSuccessful'))
|
||||||
_this.getList()
|
_this.getList()
|
||||||
|
|||||||
Reference in New Issue
Block a user