|
|
|
@ -180,7 +180,7 @@ import { BASE_PATH } from "@/api/request"; |
|
|
|
import { calculateScore } from "@/api/work/negative"; |
|
|
|
import { calculateScore } from "@/api/work/negative"; |
|
|
|
import { MENU_ROOT_ID } from "@/enums/appEnums"; |
|
|
|
import { MENU_ROOT_ID } from "@/enums/appEnums"; |
|
|
|
import { |
|
|
|
import { |
|
|
|
listRiskScoreRuleTree, |
|
|
|
listRiskScoreRuleTreeOld, |
|
|
|
addRiskScoreRule, |
|
|
|
addRiskScoreRule, |
|
|
|
updateRiskScoreRule, |
|
|
|
updateRiskScoreRule, |
|
|
|
delRiskScoreRule |
|
|
|
delRiskScoreRule |
|
|
|
@ -197,7 +197,7 @@ const treeOptions = ref([ |
|
|
|
]); |
|
|
|
]); |
|
|
|
|
|
|
|
|
|
|
|
function getList() { |
|
|
|
function getList() { |
|
|
|
listRiskScoreRuleTree().then((data) => { |
|
|
|
listRiskScoreRuleTreeOld().then((data) => { |
|
|
|
scoreRules.value = data; |
|
|
|
scoreRules.value = data; |
|
|
|
treeOptions.value[0].children = data; |
|
|
|
treeOptions.value[0].children = data; |
|
|
|
}); |
|
|
|
}); |
|
|
|
|