diff --git a/src/api/agentcenter/accounting_task.js b/src/api/agentcenter/accounting_task.js new file mode 100644 index 0000000..38a3162 --- /dev/null +++ b/src/api/agentcenter/accounting_task.js @@ -0,0 +1,19 @@ +import request from '@/utils/request' + +// 待处理任务 +export function todoTaskList(params) { + return request({ + url: '/accounting/task/todoTaskList', + method: 'get', + params: params, + }) +} + +// 已处理任务 +export function processedTaskList(params) { + return request({ + url: '/accounting/task/processedTaskList', + method: 'get', + params: params, + }) +} diff --git a/src/api/agentcenter/task.js b/src/api/agentcenter/task.js index a55d98f..47a115c 100644 --- a/src/api/agentcenter/task.js +++ b/src/api/agentcenter/task.js @@ -8,12 +8,3 @@ export function taskList(params) { params: params, }) } - -// 待处理任务 -export function todoTaskList(params) { - return request({ - url: '/accounting/task/todoTaskList', - method: 'get', - params: params, - }) -} diff --git a/src/components/framework/RightYearMonthSelector.vue b/src/components/framework/RightYearMonthSelector.vue new file mode 100644 index 0000000..0c6d92b --- /dev/null +++ b/src/components/framework/RightYearMonthSelector.vue @@ -0,0 +1,191 @@ + + + + + diff --git a/src/views/processed/processed.vue b/src/views/processed/processed.vue index a8b3440..91e2a03 100644 --- a/src/views/processed/processed.vue +++ b/src/views/processed/processed.vue @@ -6,12 +6,12 @@ - -
-

张家镇

+ +
+

{{item.deptName}}

@@ -20,43 +20,47 @@ - -
-

张家镇

+ +
+

{{item.deptName}}

-

已处理村庄:19

-

超时完成村庄:1

+

已处理村庄:{{total}}

+

超时完成村庄:{{overdue}}

- + - - - - - - - - + + + + + + + +
-
-
- -

任务日期

-
- -
- -

{{year}}

- - - -
- -
-

{{index+1}}月

-
- -
+
@@ -113,71 +93,93 @@ @@ -344,67 +346,4 @@ export default { } - .sanjiao-top { - display: inline-block; - border-bottom: 8px solid #414141; - border-bottom-color: initial; - border-left: 5px solid transparent; - border-right: 5px solid transparent; - } - - .sanjiao-bottom { - display: inline-block; - border-top: 8px solid #414141; - border-top-color: initial; - border-left: 5px solid transparent; - border-right: 5px solid transparent; - } - - .time_main{ - display: flex; - flex-direction: column; - align-items: center; - background-color: #f5f6f8; - color: #414141; - width: 75%; - margin: 0 auto; - margin-top: 15px; - padding: 15px 0; - border-radius: 8px; - position: relative; - cursor: pointer; - p{ - margin: 10px 0; - } - } - - .month_main{ - display: flex; - flex-direction: column; - align-items: center; - color: #414141; - p{ - margin-top: 3vh; - position: relative; - &.active{ - color: #3976ff; - } - &:hover{ - color: #3976ff; - cursor: pointer; - } - i{ - display: block; - width: 5px; - height: 5px; - background-color: #fc5659; - position: absolute; - top: -5px; - right: -5px; - border-radius: 100%; - } - } - - } - diff --git a/src/views/taskAllocation/todo.vue b/src/views/taskAllocation/todo.vue index 0c5874f..8454fcd 100644 --- a/src/views/taskAllocation/todo.vue +++ b/src/views/taskAllocation/todo.vue @@ -55,7 +55,7 @@ - +