From bff4c0f4db3856e05487179774ed8321038c0928 Mon Sep 17 00:00:00 2001 From: chenxf Date: Thu, 22 Jan 2026 15:33:31 +0800 Subject: [PATCH] =?UTF-8?q?feat(regulatoryPlatForm):=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E6=88=91=E7=9A=84=E5=BE=85=E5=8A=9E=E7=BB=9F=E8=AE=A1=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增taskUnionPageStatistic API接口用于获取待办统计数据 - 更新监管平台首页界面,将原有静态数据显示替换为动态数据绑定 - 修改卡片显示内容:经营异常改为我的待办,严重违法改为经营异常(列入) - 将联合惩戒改为严重违法失信,撤销登记改为信用修复,市场除名改为数据勘误 - 实现数据获取逻辑,从API获取各类统计数据并展示在对应卡片上 - 添加错误处理机制确保数据加载失败时的用户体验 --- src/api/regulatoryPlatForm.js | 9 +++++ src/views/regulatoryPlatForm/index.vue | 54 ++++++++++++++++++++------ 2 files changed, 51 insertions(+), 12 deletions(-) diff --git a/src/api/regulatoryPlatForm.js b/src/api/regulatoryPlatForm.js index 6054b85..91c0d01 100644 --- a/src/api/regulatoryPlatForm.js +++ b/src/api/regulatoryPlatForm.js @@ -23,3 +23,12 @@ export function abnormal(params) { }) } +// 我的待办统计 +export function taskUnionPageStatistic(data) { + return request({ + url: '/aiccs-api/task/taskUnionPageStatistic', + method: 'post', + data + }) +} + diff --git a/src/views/regulatoryPlatForm/index.vue b/src/views/regulatoryPlatForm/index.vue index 4ee3ed0..cf87bfd 100644 --- a/src/views/regulatoryPlatForm/index.vue +++ b/src/views/regulatoryPlatForm/index.vue @@ -16,18 +16,17 @@
-
经营异常
-
12
+
我的待办
+
{{ cardData.myTodo }}
-
-
严重违法
-
0
+
经营异常(列入)
+
{{ cardData.abnormal }}
@@ -35,8 +34,8 @@
-
联合惩戒
-
12
+
严重违法失信
+
{{ cardData.illegal }}
@@ -44,8 +43,8 @@
-
撤销登记
-
12
+
信用修复
+
{{ cardData.creditRepair }}
@@ -53,8 +52,8 @@
-
市场除名
-
0
+
数据勘误
+
{{ cardData.dataCorrection }}
@@ -78,18 +77,27 @@