diff --git a/anrui-system-ui/src/api/flow/read.js b/anrui-system-ui/src/api/flow/read.js
new file mode 100644
index 0000000000..109058b0fd
--- /dev/null
+++ b/anrui-system-ui/src/api/flow/read.js
@@ -0,0 +1,22 @@
+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'
+ })
+}
+
diff --git a/anrui-system-ui/src/api/flow/todo.js b/anrui-system-ui/src/api/flow/todo.js
index 417d96f7e6..61bb9b2799 100644
--- a/anrui-system-ui/src/api/flow/todo.js
+++ b/anrui-system-ui/src/api/flow/todo.js
@@ -100,6 +100,18 @@ export function breakProcess(params) {
})
}
+// 审批记录--保存评论
+export function commentSave(data) {
+ return request({
+ url: '/flowable/v1/processcomment/save',
+ method: 'post',
+ data: data,
+ headers: {
+ 'Content-Type': 'application/json'
+ }
+ })
+}
+
// 根据流程定义id,节点id,终端及类型查询流程与业务表单url
export function selectUrl(params) {
return request({
diff --git a/anrui-system-ui/src/router/index.js b/anrui-system-ui/src/router/index.js
index 6314f2495b..37a16736b7 100644
--- a/anrui-system-ui/src/router/index.js
+++ b/anrui-system-ui/src/router/index.js
@@ -5,7 +5,6 @@ import Layout from '@/layout'
Vue.use(Router)
-
/* 所有角色可以访问/没有权限要求的基页 */
export const constantRoutes = [
@@ -255,7 +254,7 @@ export const constantRoutes = [
meta: {
title: '表单配置'
}
- },
+ }
]
},
{
@@ -266,7 +265,7 @@ export const constantRoutes = [
path: '/datamapping',
component: () => import('@/views/datamapping/shujuyingshe.vue'),
name: 'shujuyingshe',
- meta: {title: '数据映射', noCache: true}
+ meta: { title: '数据映射', noCache: true }
}]
},
// {
@@ -291,6 +290,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: '/',
@@ -314,7 +321,7 @@ export const constantRoutes = [
},
{
path: '/flow/flowRecordForBusiness',
- component: ()=> import('@/views/flow/flowRecordForBusiness'),
+ component: () => import('@/views/flow/flowRecordForBusiness'),
name: 'flowRecordForBusiness'
}/*,
{
diff --git a/anrui-system-ui/src/views/Home/Home.vue b/anrui-system-ui/src/views/Home/Home.vue
index bcc7f736e6..613de8acea 100644
--- a/anrui-system-ui/src/views/Home/Home.vue
+++ b/anrui-system-ui/src/views/Home/Home.vue
@@ -34,11 +34,11 @@
已办工作
-待阅工作
已阅工作