From e3e80187e394bf922bd89fe22ae89a17b4c7726c Mon Sep 17 00:00:00 2001 From: zhaodengke Date: Mon, 16 Oct 2023 15:13:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/agentcenter/accounting_task.js | 18 ++ src/api/agentcenter/task.js | 27 +++ src/components/framework/TopDeptChooser.vue | 3 + src/views/abnormal/abnormal.vue | 173 +++++++++-------- src/views/managerAbnormal/managerAbnormal.vue | 182 +++++++++--------- 5 files changed, 231 insertions(+), 172 deletions(-) diff --git a/src/api/agentcenter/accounting_task.js b/src/api/agentcenter/accounting_task.js index 2d128a5..eb31595 100644 --- a/src/api/agentcenter/accounting_task.js +++ b/src/api/agentcenter/accounting_task.js @@ -26,3 +26,21 @@ export function finishTask(data) { data: data, }) } + +// 异常任务 +export function accountingAbnormalTaskList(params) { + return request({ + url: '/accounting/task/abnormalTaskList', + method: 'get', + params: params, + }) +} + +// 异常任务统计 +export function accountingAbnormalTaskSummary(params) { + return request({ + url: '/accounting/task/abnormalTaskSummary', + method: 'get', + params: params, + }) +} diff --git a/src/api/agentcenter/task.js b/src/api/agentcenter/task.js index 3493c51..2efeac5 100644 --- a/src/api/agentcenter/task.js +++ b/src/api/agentcenter/task.js @@ -98,3 +98,30 @@ export function auditAllTask(data) { data: data, }) } + +// 异常任务 +export function managerAbnormalTaskList(params) { + return request({ + url: '/manager/task/abnormalTaskList', + method: 'get', + params: params, + }) +} + +// 异常任务统计 +export function managerAbnormalTaskSummary(params) { + return request({ + url: '/manager/task/abnormalTaskSummary', + method: 'get', + params: params, + }) +} + +// 异常任务统计 +export function removeAbnormalTask(type, id, params) { + return request({ + url: `/manager/task/removeAbnormalTask/${type}/${id}`, + method: 'post', + data: params, + }) +} diff --git a/src/components/framework/TopDeptChooser.vue b/src/components/framework/TopDeptChooser.vue index c73a83e..450a697 100644 --- a/src/components/framework/TopDeptChooser.vue +++ b/src/components/framework/TopDeptChooser.vue @@ -30,6 +30,7 @@ + @@ -100,7 +101,9 @@ export default { this.$emit('townChanged', this.itownCode, this.icountyCode); } if((w & 1) || ((w & 2) && !this.hideTown)) + { this.$emit('dataChanged', this.icountyCode, this.itownCode, w); + } }, }, watch: { diff --git a/src/views/abnormal/abnormal.vue b/src/views/abnormal/abnormal.vue index c10b41e..6211454 100644 --- a/src/views/abnormal/abnormal.vue +++ b/src/views/abnormal/abnormal.vue @@ -3,51 +3,27 @@
- - - - -
-

张家镇

-
-
-
-
- - - - - -
-

张家镇

-
-
-
-
- - - - - -
-

张家镇

+ + + + +

记账异常:{{abnormalSummary.numAbnormalVoucher}}

+

合同异常:{{abnormalSummary.numAbnormalContraction}}

+

其他异常:{{abnormalSummary.numAbnormalOther}}

@@ -55,21 +31,21 @@
-
+
-

{{index+1}}.购入芒果52公斤

+

{{index+1}}.{{item.name}}

- 经济组织:田娜合作社 - 所属地:山东省/威海市/环翠区/羊头镇/张家村 - 详细地址:万江路阿巴阿巴阿巴104号楼 - 申请人:林萧天 - 联系电话:158 0366 7149 + 经济组织:{{item.bookName}} + 所属地:{{item.region}} + 详细地址:{{item.address}} + 申请人:{{item.applyUser}} + 联系电话:{{item.tel}} - 挂起时间:2023.3.10 - 异常原因:缺少收据 + 挂起时间:{{item.orderAt}} + 异常原因:{{item.remark}} @@ -77,31 +53,7 @@
-
-
- -

任务日期

-
- -
- -

{{year}}

- - - -
- -
-

{{index+1}}月

-
- -
+
@@ -110,29 +62,80 @@ diff --git a/src/views/managerAbnormal/managerAbnormal.vue b/src/views/managerAbnormal/managerAbnormal.vue index 7de2b0d..0da5f56 100644 --- a/src/views/managerAbnormal/managerAbnormal.vue +++ b/src/views/managerAbnormal/managerAbnormal.vue @@ -3,51 +3,25 @@
- - - - -
-

张家镇

-
-
-
-
- - - - - -
-

张家镇

-
-
-
-
- - - - - -
-

张家镇

-
-
-
-
- -

合同异常:19

-

记录异常:1

-

其他异常:1

+ + + + + +
+

{{item.dictLabel}}

+
+
+
+
+
+ +

记账异常:{{abnormalSummary.numAbnormalVoucher}}

+

合同异常:{{abnormalSummary.numAbnormalContraction}}

+

其他异常:{{abnormalSummary.numAbnormalOther}}

@@ -55,54 +29,30 @@
-
+
-

{{index+1}}.购入芒果52公斤 负责人:张三

+

{{index+1}}.{{item.name}} 负责人:{{item.handleUser}}

- 经济组织:田娜合作社 - 所属地:山东省/威海市/环翠区/羊头镇/张家村 - 详细地址:万江路阿巴阿巴阿巴104号楼 - 申请人:林萧天 - 联系电话:158 0366 7149 + 经济组织:{{item.bookName}} + 所属地:{{item.region}} + 详细地址:{{item.address}} + 申请人:{{item.applyUser}} + 联系电话:{{item.tel}} - 挂起时间:2023.3.10 - 异常原因:缺少收据 + 挂起时间:{{item.orderAt}} + 异常原因:{{item.remark}}
- +
-
-
- -

任务日期

-
- -
- -

{{year}}

- - - -
- -
-

{{index+1}}月

-
- -
+
@@ -111,29 +61,87 @@