|
@@ -169,11 +169,20 @@ export default {
|
|
this.queryParam.endDate = date[1] ? date[1] : ''
|
|
this.queryParam.endDate = date[1] ? date[1] : ''
|
|
},
|
|
},
|
|
handleSetRead () {
|
|
handleSetRead () {
|
|
- this.setAllNoticeRead().then(res => {
|
|
|
|
- if (res.status == 200) {
|
|
|
|
- this.$message.info(res.message)
|
|
|
|
- this.resetSearchForm()
|
|
|
|
- }
|
|
|
|
|
|
+ const _this = this
|
|
|
|
+ this.$confirm({
|
|
|
|
+ title: '提示',
|
|
|
|
+ content: '确认将所有未读消息标记为已读?',
|
|
|
|
+ centered: true,
|
|
|
|
+ closable: true,
|
|
|
|
+ onOk () {
|
|
|
|
+ _this.setAllNoticeRead().then(res => {
|
|
|
|
+ if (res.status == 200) {
|
|
|
|
+ _this.$message.info(res.message)
|
|
|
|
+ _this.resetSearchForm()
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ }
|
|
})
|
|
})
|
|
},
|
|
},
|
|
toAction (data) {
|
|
toAction (data) {
|