diff --git a/src/api/bpm/task/index.ts b/src/api/bpm/task/index.ts index 6592542d..f3cda9f7 100644 --- a/src/api/bpm/task/index.ts +++ b/src/api/bpm/task/index.ts @@ -4,14 +4,18 @@ export type TaskVO = { id: number } -export const getTodoTaskPage = async (params: any) => { +export const getTaskTodoPage = async (params: any) => { return await request.get({ url: '/bpm/task/todo-page', params }) } -export const getDoneTaskPage = async (params: any) => { +export const getTaskDonePage = async (params: any) => { return await request.get({ url: '/bpm/task/done-page', params }) } +export const getTaskManagerPage = async (params: any) => { + return await request.get({ url: '/bpm/task/manager-page', params }) +} + export const approveTask = async (data: any) => { return await request.put({ url: '/bpm/task/approve', data }) } diff --git a/src/views/bpm/processInstance/index.vue b/src/views/bpm/processInstance/index.vue index 950f34f0..5d72437f 100644 --- a/src/views/bpm/processInstance/index.vue +++ b/src/views/bpm/processInstance/index.vue @@ -114,7 +114,7 @@ width="180" :formatter="dateFormatter" /> - + diff --git a/src/views/bpm/processInstance/manager/index.vue b/src/views/bpm/processInstance/manager/index.vue index 34cf6d17..ab8da9c9 100644 --- a/src/views/bpm/processInstance/manager/index.vue +++ b/src/views/bpm/processInstance/manager/index.vue @@ -114,7 +114,7 @@ width="180" :formatter="dateFormatter" /> - + @@ -167,7 +167,7 @@ import { CategoryApi } from '@/api/bpm/category' import * as UserApi from '@/api/system/user' import { cancelProcessInstanceByAdmin } from '@/api/bpm/processInstance' -// 它是【我的流程】的差异是,该菜单可以看全部的流程实例 +// 它和【我的流程】的差异是,该菜单可以看全部的流程实例 defineOptions({ name: 'BpmProcessInstanceManager' }) const router = useRouter() // 路由 diff --git a/src/views/bpm/task/done/index.vue b/src/views/bpm/task/done/index.vue index ed922397..f73b47c3 100644 --- a/src/views/bpm/task/done/index.vue +++ b/src/views/bpm/task/done/index.vue @@ -81,7 +81,7 @@ - + @@ -127,7 +127,7 @@ const queryFormRef = ref() // 搜索的表单 const getList = async () => { loading.value = true try { - const data = await TaskApi.getDoneTaskPage(queryParams) + const data = await TaskApi.getTaskDonePage(queryParams) list.value = data.list total.value = data.total } finally { diff --git a/src/views/bpm/task/manager/index.vue b/src/views/bpm/task/manager/index.vue new file mode 100644 index 00000000..688e5150 --- /dev/null +++ b/src/views/bpm/task/manager/index.vue @@ -0,0 +1,166 @@ + + diff --git a/src/views/bpm/task/todo/index.vue b/src/views/bpm/task/todo/index.vue index 43d29921..fc506815 100644 --- a/src/views/bpm/task/todo/index.vue +++ b/src/views/bpm/task/todo/index.vue @@ -109,7 +109,7 @@ const queryFormRef = ref() // 搜索的表单 const getList = async () => { loading.value = true try { - const data = await TaskApi.getTodoTaskPage(queryParams) + const data = await TaskApi.getTaskTodoPage(queryParams) list.value = data.list total.value = data.total } finally {