diff --git a/supervise-portal-ui/src/views/Home/Home.vue b/supervise-portal-ui/src/views/Home/Home.vue index 1c7ab3f5..be780d13 100644 --- a/supervise-portal-ui/src/views/Home/Home.vue +++ b/supervise-portal-ui/src/views/Home/Home.vue @@ -45,10 +45,12 @@ -->
-
- 消息通知 -
- 更多 +
+
+ 消息通知 +
+ 更多 +
@@ -289,6 +291,7 @@ workCount: '' }, message_list: [], + token: '', dialogVisible: false, form: { original: '', @@ -310,6 +313,7 @@ beforeCreate() {}, created() { this.getsPasswordByUserSid() + this.token = getStorage() }, mounted() { this.Orgname = window.sessionStorage.getItem('Orgname') @@ -345,11 +349,11 @@ // }) }, getNum() { - // getTodoNum(window.sessionStorage.getItem('userSid')).then(resp => { - // if (resp.success) { - // this.shuliang.workCount = resp.data - // } - // }) + getTodoNum(window.sessionStorage.getItem('userSid')).then(resp => { + if (resp.success) { + this.shuliang.workCount = resp.data + } + }) messageNotice(window.sessionStorage.getItem('userSid')).then((resp) => { if (resp.success && resp.data !== null) { this.message_list = resp.data