修改删除

This commit is contained in:
qq787203167
2022-03-22 15:44:51 +08:00
parent d1f94b07cc
commit 7fadf8f634
@@ -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')