|
|
@@ -1092,15 +1092,15 @@
|
|
|
this.loading = true
|
|
|
const params = {
|
|
|
taskId: this.currentTaskInfo.taskId,
|
|
|
- currentPage: this.messageNoticePagination.currentPage,
|
|
|
+ pageNum: this.messageNoticePagination.currentPage,
|
|
|
pageSize: this.messageNoticePagination.pageSize,
|
|
|
}
|
|
|
const res = await sendMessage(params)
|
|
|
|
|
|
console.log('消息通知接口返回:', res)
|
|
|
- if (res && res.code === 200 && res.value && res.value.value) {
|
|
|
- this.formData.messageNotice = res.value.value.records || []
|
|
|
- this.messageNoticePagination.total = res.value.value.total || 0
|
|
|
+ if (res && res.code === 200 && res.value) {
|
|
|
+ this.formData.messageNotice = res.value.records || []
|
|
|
+ this.messageNoticePagination.total = res.value.total || 0
|
|
|
} else {
|
|
|
this.formData.messageNotice = []
|
|
|
this.messageNoticePagination.total = 0
|