Browse Source

通告功能调整

user5 2 years atrás
parent
commit
14790e68ab

+ 8 - 0
src/api/notify/NotifyService.js

@@ -47,6 +47,14 @@ export default class NotifyService {
       params: params
     })
   }
+
+  myNotifyList (params) {
+    return request({
+      url: '/notify/myNotifyList',
+      method: 'get',
+      params: params
+    })
+  }
   updateStatusById (data) {
     return request({
       url: '/notify/updateStatusById',

+ 1 - 1
src/views/modules/notify/MyNotifyList.vue

@@ -124,7 +124,7 @@
       // 获取数据列表
       refreshList () {
         this.loading = true
-        this.notifyService.list({
+        this.notifyService.myNotifyList({
           'current': this.tablePage.currentPage,
           'size': this.tablePage.pageSize,
           'orders': this.tablePage.orders,

+ 1 - 1
src/views/modules/sys/dashboard/workBench/Pending.vue

@@ -425,7 +425,7 @@
           this.tablePage.total = data.total
           this.loading = false
         })
-        this.notifyService.list({
+        this.notifyService.myNotifyList({
           'current': this.noticePage.currentPage,
           'size': this.noticePage.pageSize,
           'orders': this.noticePage.orders,