diff --git a/src/api/agentcenter/task.js b/src/api/agentcenter/task.js index 47a115c..a55d98f 100644 --- a/src/api/agentcenter/task.js +++ b/src/api/agentcenter/task.js @@ -8,3 +8,12 @@ export function taskList(params) { params: params, }) } + +// 待处理任务 +export function todoTaskList(params) { + return request({ + url: '/accounting/task/todoTaskList', + method: 'get', + params: params, + }) +} diff --git a/src/router/index.js b/src/router/index.js index a2f5112..18d0d12 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -88,7 +88,7 @@ export const constantRoutes = [ } ] }, - //待处理 +/* //待处理 { path: '/todo', component: () => import('@/views/taskAllocation/todo'), @@ -105,7 +105,7 @@ export const constantRoutes = [ path: '/abnormal', component: () => import('@/views/abnormal/abnormal'), hidden: true - }, + },*/ //处理中 { path: '/processing', diff --git a/src/views/taskAllocation/todo.vue b/src/views/taskAllocation/todo.vue index 6fac7ba..713b752 100644 --- a/src/views/taskAllocation/todo.vue +++ b/src/views/taskAllocation/todo.vue @@ -6,12 +6,12 @@ - -
-

张家镇

+ +
+

{{item.deptName}}

@@ -21,43 +21,43 @@ - -
-

张家镇

+ +
+

{{item.deptName}}

2023.03.05

-

待处理合作社:19

+

待处理合作社:{{total}}

- - - - + + + + - - - - - - + + + + + + @@ -80,13 +80,14 @@ class="pickerTime" ref = "datePicker" value-format="yyyy" - placeholder="选择年"> + placeholder="选择年" + @change="chooseMonth(1)">
-

{{index+1}}月

+

{{index+1}}月

@@ -98,71 +99,97 @@