From c489c99bb3604dce736dc795dcb01f60eb323e16 Mon Sep 17 00:00:00 2001 From: sjh Date: Mon, 18 Nov 2024 19:54:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=81=B5=E6=95=8F=E6=84=9F?= =?UTF-8?q?=E7=9F=A5-=E9=97=AE=E9=A2=98=E7=BA=BF=E7=B4=A2=EF=BC=8C?= =?UTF-8?q?=E5=B0=86=E4=B8=AA=E4=BA=BA=E9=A3=8E=E9=99=A9=E7=A7=BB=E5=88=B0?= =?UTF-8?q?=E9=A3=8E=E9=99=A9=E9=97=AE=E9=A2=98=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/sensitivePerception/riskScoreRule.ts | 6 ++++++ src/views/sensitivePerception/RiskScoreRule.vue | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/api/sensitivePerception/riskScoreRule.ts b/src/api/sensitivePerception/riskScoreRule.ts index d8d52ec..7b5de2d 100644 --- a/src/api/sensitivePerception/riskScoreRule.ts +++ b/src/api/sensitivePerception/riskScoreRule.ts @@ -6,6 +6,12 @@ export function listRiskScoreRuleTree() { }); } +export function listRiskScoreRuleTreeOld() { + return request.get({ + url: '/risk/scoreRule/oldTree' + }); +} + export function addRiskScoreRule(body) { return request.post({ diff --git a/src/views/sensitivePerception/RiskScoreRule.vue b/src/views/sensitivePerception/RiskScoreRule.vue index 5d0dbf3..90b7f5e 100644 --- a/src/views/sensitivePerception/RiskScoreRule.vue +++ b/src/views/sensitivePerception/RiskScoreRule.vue @@ -180,7 +180,7 @@ import { BASE_PATH } from "@/api/request"; import { calculateScore } from "@/api/work/negative"; import { MENU_ROOT_ID } from "@/enums/appEnums"; import { - listRiskScoreRuleTree, + listRiskScoreRuleTreeOld, addRiskScoreRule, updateRiskScoreRule, delRiskScoreRule @@ -197,7 +197,7 @@ const treeOptions = ref([ ]); function getList() { - listRiskScoreRuleTree().then((data) => { + listRiskScoreRuleTreeOld().then((data) => { scoreRules.value = data; treeOptions.value[0].children = data; });