update 我的消息

This commit is contained in:
danshihao
2023-11-16 14:23:50 +08:00
parent 72635ea410
commit 0f4ada2fe9
+3 -3
View File
@@ -77,7 +77,7 @@
// import { filterObj } from '@/utils/util'
// import ShowAnnouncement from '@/components/tools/ShowAnnouncement'
// import DynamicNotice from '../../components/tools/DynamicNotice'
import { getAction, deleteAction } from '@/api/manage'
import { getAction, deleteAction, postAction } from '@/api/manage'
import { JeroListMixin } from '@/mixins/JeroListMixin'
// import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header'
import Vue from 'vue'
@@ -263,7 +263,7 @@ export default {
content: this.$t('message.my.areAllLabelsRead'),
onOk: () => {
const selectedRowKeys = JSON.parse(JSON.stringify(this.selectedRowKeys))
getAction(this.url.readAllMsg, { ids: selectedRowKeys.join(',') }).then((res) => {
postAction(this.url.readAllMsg, { ids: selectedRowKeys.join(',') }).then((res) => {
if (res.success) {
this.selectedRowKeys = []
this.$message.success(this.$t('operationSuccessful'))
@@ -282,7 +282,7 @@ export default {
this.selectedRowKeys = value
},
msgContentClick (row) {
getAction(this.url.readAllMsg, { ids: row.id })
postAction(this.url.readAllMsg, { ids: row.id })
},
handleDel () {
if (this.selectedRowKeys.length > 0) {