修改删除
This commit is contained in:
@@ -173,7 +173,7 @@
|
||||
onOk() {
|
||||
let idList = JSON.parse(JSON.stringify(_this.idList))
|
||||
_this.verifyBind(idList.join(','), () => {
|
||||
deleteAction(_this.url.deleteBatch, { ids: idList.join(',') }).then((res) => {
|
||||
getAction(_this.url.deleteBatch, { ids: idList.join(',') }).then((res) => {
|
||||
if (res.success) {
|
||||
_this.$message.success(_this.$t('OperationSuccessful'))
|
||||
_this.idList = []
|
||||
@@ -223,7 +223,7 @@
|
||||
content: _this.$t('ConfirmDelete'),
|
||||
onOk() {
|
||||
_this.verifyBind(val.id, () => {
|
||||
deleteAction(_this.url.deleteBatch, { ids: val.id }).then((res) => {
|
||||
getAction(_this.url.deleteBatch, { ids: val.id }).then((res) => {
|
||||
if (res.success) {
|
||||
_this.$message.success(_this.$t('OperationSuccessful'))
|
||||
eventBUs.$emit('searchReset')
|
||||
|
||||
Reference in New Issue
Block a user