diff --git a/supervise-portal-ui/src/api/flow/read.js b/supervise-portal-ui/src/api/flow/read.js
new file mode 100644
index 00000000..7348ed25
--- /dev/null
+++ b/supervise-portal-ui/src/api/flow/read.js
@@ -0,0 +1,29 @@
+import request from '@/utils/request'
+
+// 查看待阅和已阅列表
+export function pagerList(data) {
+ return request({
+ url: '/message/v1/messagelist/todoAllReadList',
+ method: 'post',
+ data: data,
+ headers: {
+ 'Content-Type': 'application/json'
+ }
+ })
+}
+
+// 待阅列表--修改为已阅
+export function changeRead(data) {
+ return request({
+ url: '/message/v1/messagelist/changeRead?sids=' + data,
+ method: 'get'
+ })
+}
+
+// 待办已办待阅已阅获取人员
+export function sysstaffinfo() {
+ return request({
+ url: '/portal/v1/sysstaffinfo/v1/sysstaffinfo/selectStaffLists',
+ method: 'get'
+ })
+}
diff --git a/supervise-portal-ui/src/api/system/home/home.js b/supervise-portal-ui/src/api/system/home/home.js
index 93906f92..76f77908 100644
--- a/supervise-portal-ui/src/api/system/home/home.js
+++ b/supervise-portal-ui/src/api/system/home/home.js
@@ -8,6 +8,14 @@ export function getTodoNum(data) {
})
}
+// 获取当前用户的待阅数量
+export function getToBeReadNum(data) {
+ return request({
+ url: '/message/v1/Message/getTodoNum/' + data,
+ method: 'get'
+ })
+}
+
// 获取当前用户的最新消--首页面右上角展示
export function messageNotice(data) {
return request({
diff --git a/supervise-portal-ui/src/router/index.js b/supervise-portal-ui/src/router/index.js
index 0536a492..cf5bcab7 100644
--- a/supervise-portal-ui/src/router/index.js
+++ b/supervise-portal-ui/src/router/index.js
@@ -35,7 +35,7 @@ export const constantRoutes = [
{
path: '/index',
redirect: 'organizationManage'
-
+
// component: Layout,
// redirect: '/index',
// children: [{
@@ -293,6 +293,14 @@ export const constantRoutes = [
path: '/done',
component: () => import('@/views/flow/doneList.vue')
},
+ {
+ path: '/toberead',
+ component: () => import('@/views/flow/tobereadList.vue')
+ },
+ {
+ path: '/haveread',
+ component: () => import('@/views/flow/havereadList.vue')
+ },
// {
// path: '/',
diff --git a/supervise-portal-ui/src/views/Home/Home.vue b/supervise-portal-ui/src/views/Home/Home.vue
index be780d13..4413de77 100644
--- a/supervise-portal-ui/src/views/Home/Home.vue
+++ b/supervise-portal-ui/src/views/Home/Home.vue
@@ -32,12 +32,15 @@
已办工作
-待阅工作
已阅工作