我的消息的删除
This commit is contained in:
@@ -82,7 +82,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { filterObj } from '@/utils/util'
|
import { filterObj } from '@/utils/util'
|
||||||
import { getAction, putAction } from '@/api/manage'
|
import { getAction, putAction , deleteAction } from '@/api/manage'
|
||||||
import ShowAnnouncement from '@/components/tools/ShowAnnouncement'
|
import ShowAnnouncement from '@/components/tools/ShowAnnouncement'
|
||||||
import { JeroListMixin } from '@/mixins/JeroListMixin'
|
import { JeroListMixin } from '@/mixins/JeroListMixin'
|
||||||
import DynamicNotice from '../../components/tools/DynamicNotice'
|
import DynamicNotice from '../../components/tools/DynamicNotice'
|
||||||
@@ -192,7 +192,7 @@
|
|||||||
content: that.$t('ConfirmBatchDeletion'),
|
content: that.$t('ConfirmBatchDeletion'),
|
||||||
onOk: function() {
|
onOk: function() {
|
||||||
let selectedRowKeys = JSON.parse(JSON.stringify(that.selectedRowKeys))
|
let selectedRowKeys = JSON.parse(JSON.stringify(that.selectedRowKeys))
|
||||||
getAction(that.url.deleteUrl, { ids: selectedRowKeys.join(',') }).then((res) => {
|
deleteAction(that.url.deleteUrl, { ids: selectedRowKeys.join(',') }).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
that.selectedRowKeys = []
|
that.selectedRowKeys = []
|
||||||
that.$message.success(res.message)
|
that.$message.success(res.message)
|
||||||
|
|||||||
Reference in New Issue
Block a user