Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -173,7 +173,7 @@
|
|||||||
onOk() {
|
onOk() {
|
||||||
let idList = JSON.parse(JSON.stringify(_this.idList))
|
let idList = JSON.parse(JSON.stringify(_this.idList))
|
||||||
_this.verifyBind(idList.join(','), () => {
|
_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) {
|
if (res.success) {
|
||||||
_this.$message.success(_this.$t('OperationSuccessful'))
|
_this.$message.success(_this.$t('OperationSuccessful'))
|
||||||
_this.idList = []
|
_this.idList = []
|
||||||
@@ -223,7 +223,7 @@
|
|||||||
content: _this.$t('ConfirmDelete'),
|
content: _this.$t('ConfirmDelete'),
|
||||||
onOk() {
|
onOk() {
|
||||||
_this.verifyBind(val.id, () => {
|
_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) {
|
if (res.success) {
|
||||||
_this.$message.success(_this.$t('OperationSuccessful'))
|
_this.$message.success(_this.$t('OperationSuccessful'))
|
||||||
eventBUs.$emit('searchReset')
|
eventBUs.$emit('searchReset')
|
||||||
|
|||||||
Reference in New Issue
Block a user