From 29e1f816f706091c436337cbfb6012622aa24cd3 Mon Sep 17 00:00:00 2001 From: wxc <191104855@qq.com> Date: Thu, 14 Nov 2024 22:15:09 +0800 Subject: [PATCH] =?UTF-8?q?fit:=20=E4=B8=AA=E4=BA=BA=E9=A3=8E=E9=99=A9?= =?UTF-8?q?=E4=BA=BA=E5=91=98=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/sensitivePerception/riskPersonnel.ts | 7 ++ .../sensitivePerception/RiskPersonnel.vue | 73 ++++++++++++++++--- 2 files changed, 70 insertions(+), 10 deletions(-) diff --git a/src/api/sensitivePerception/riskPersonnel.ts b/src/api/sensitivePerception/riskPersonnel.ts index be9b19b..9028e14 100644 --- a/src/api/sensitivePerception/riskPersonnel.ts +++ b/src/api/sensitivePerception/riskPersonnel.ts @@ -6,3 +6,10 @@ export function listRiskPersonnel(query) { query }); } + +export function getRiskPersonnel(id) { + return request.get({ + url: '/risk/personal/' + id + }); +} + diff --git a/src/views/sensitivePerception/RiskPersonnel.vue b/src/views/sensitivePerception/RiskPersonnel.vue index 4c200d9..d04f7fe 100644 --- a/src/views/sensitivePerception/RiskPersonnel.vue +++ b/src/views/sensitivePerception/RiskPersonnel.vue @@ -102,7 +102,10 @@ @@ -151,12 +154,47 @@ - + +
+
+ {{ 99 }} +
+ 风险指数 +
+
+
+
+
+ {{ item.riskName }} +
+ + + + + + +
+
\ No newline at end of file