From b77fd4c06e585afe68cd70a9d4d330acbd50bb02 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com>
Date: Thu, 7 Nov 2024 14:57:27 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/system/followupstatistics.js | 19 ++
src/views/system/followupstatistics/index.vue | 283 ++++++------------
2 files changed, 112 insertions(+), 190 deletions(-)
create mode 100644 src/api/system/followupstatistics.js
diff --git a/src/api/system/followupstatistics.js b/src/api/system/followupstatistics.js
new file mode 100644
index 0000000..5bc08a3
--- /dev/null
+++ b/src/api/system/followupstatistics.js
@@ -0,0 +1,19 @@
+import request from '@/utils/request'
+
+// 随访明细表查询
+export function getFollowUpDetail(query) {
+ return request({
+ url: '/system/statistics/getFollowUpDetail',
+ method: 'get',
+ params: query
+ })
+}
+
+// 随访成功率统计
+export function getFollowUpRate(query) {
+ return request({
+ url: `/system/statistics/getFollowUpRate`,
+ method: 'get',
+ params: query
+ })
+}
diff --git a/src/views/system/followupstatistics/index.vue b/src/views/system/followupstatistics/index.vue
index a33accd..d1921c1 100644
--- a/src/views/system/followupstatistics/index.vue
+++ b/src/views/system/followupstatistics/index.vue
@@ -40,7 +40,7 @@