diff --git a/src/api/sensitivePerception/riskPersonnel.ts b/src/api/sensitivePerception/riskPersonnel.ts
new file mode 100644
index 0000000..be9b19b
--- /dev/null
+++ b/src/api/sensitivePerception/riskPersonnel.ts
@@ -0,0 +1,8 @@
+import request from "@/api/request";
+
+export function listRiskPersonnel(query) {
+ return request.get({
+ url: '/risk/personal',
+ query
+ });
+}
diff --git a/src/api/sensitivePerception/riskScoreRule.ts b/src/api/sensitivePerception/riskScoreRule.ts
new file mode 100644
index 0000000..d8d52ec
--- /dev/null
+++ b/src/api/sensitivePerception/riskScoreRule.ts
@@ -0,0 +1,28 @@
+import request from "@/api/request";
+
+export function listRiskScoreRuleTree() {
+ return request.get({
+ url: '/risk/scoreRule/tree'
+ });
+}
+
+
+export function addRiskScoreRule(body) {
+ return request.post({
+ url: '/risk/scoreRule',
+ body
+ });
+}
+
+export function updateRiskScoreRule(body) {
+ return request.put({
+ url: '/risk/scoreRule',
+ body
+ });
+}
+
+export function delRiskScoreRule(id) {
+ return request.del({
+ url: `/risk/scoreRule/${id}`
+ });
+}
\ No newline at end of file
diff --git a/src/api/work/negative.ts b/src/api/work/negative.ts
index ff0ca04..9ab7ed4 100644
--- a/src/api/work/negative.ts
+++ b/src/api/work/negative.ts
@@ -61,3 +61,9 @@ export function getCompletionInfo(id) {
url: `/negative/completion/${id}`
});
}
+
+export function calculateScore() {
+ return request.post({
+ url: `/negative/score/calculate`
+ });
+}
diff --git a/src/components/description-pair.vue b/src/components/description-pair.vue
index 6bcafa1..efb0cc4 100644
--- a/src/components/description-pair.vue
+++ b/src/components/description-pair.vue
@@ -1,12 +1,12 @@
- {{ value1 }}
- /
+ {{ value1 }}
+ /
{{ value2 }}
- {{ label1 }}
- /
+ {{ label1 }}
+ /
{{ label2 }}
diff --git a/src/components/model-risk-tree.vue b/src/components/model-risk-tree.vue
new file mode 100644
index 0000000..e02b27f
--- /dev/null
+++ b/src/components/model-risk-tree.vue
@@ -0,0 +1,136 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/model-tree.vue b/src/components/model-tree.vue
index 27c5fb6..64132a5 100644
--- a/src/components/model-tree.vue
+++ b/src/components/model-tree.vue
@@ -4,15 +4,19 @@
-
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/sensitivePerception/DictContent.vue b/src/views/sensitivePerception/DictContent.vue
index 18b6fe2..5d7d2d5 100644
--- a/src/views/sensitivePerception/DictContent.vue
+++ b/src/views/sensitivePerception/DictContent.vue
@@ -1,5 +1,5 @@
-
+
@@ -15,13 +15,9 @@
-
-
-
-
- 查询
+ 重新计算分值
- 重置
@@ -193,6 +189,7 @@
\ No newline at end of file
diff --git a/src/views/sensitivePerception/PoliceNegative.vue b/src/views/sensitivePerception/PoliceNegative.vue
index 93609e3..a5e7b13 100644
--- a/src/views/sensitivePerception/PoliceNegative.vue
+++ b/src/views/sensitivePerception/PoliceNegative.vue
@@ -3,6 +3,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
{{ getGenderFromIdCode(row.idCode) }}
-
+
{{ row.position }}
{{
@@ -66,8 +79,12 @@
}}
-
-
+
+
- /
+ {{ Math.round(row.score) }}
+ -
@@ -225,7 +243,7 @@
>
-
-
-
{{ score }}
-
分
+
+
+
+ {{ score }}
+ 分
+
+
+ 分险指标值
+
-
- 分险指标值
+
+ -
{{ getScoreLabel() }}
@@ -311,7 +346,7 @@
/>
- 风险问题构成
+ 风险构成
+
+
\ No newline at end of file
diff --git a/src/views/sensitivePerception/RiskPersonnel.vue b/src/views/sensitivePerception/RiskPersonnel.vue
new file mode 100644
index 0000000..5175cf2
--- /dev/null
+++ b/src/views/sensitivePerception/RiskPersonnel.vue
@@ -0,0 +1,149 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 男
+ 女
+
+
+
+
+
+
+
+
+
+ {{ item }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查看详情
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/sensitivePerception/RiskScoreRule.vue b/src/views/sensitivePerception/RiskScoreRule.vue
new file mode 100644
index 0000000..589e13d
--- /dev/null
+++ b/src/views/sensitivePerception/RiskScoreRule.vue
@@ -0,0 +1,296 @@
+
+
+
+
+
+
+
+
+
+ 新增
+
+
+
+
+
+
+
+
+
+
个人极端暴力风险指数 =(基础因素得分百分比 × 15%)+(诱发因素得分百分比 × 30%)+(行为因素得分百分比 × 45%)+(管控因素得分百分比 × 10%)
+
+
+
+ 个人极端风险赋分规则.pdf
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 开启
+ 关闭
+
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/work/Query.vue b/src/views/work/Query.vue
index 3446521..de7e88d 100644
--- a/src/views/work/Query.vue
+++ b/src/views/work/Query.vue
@@ -99,9 +99,9 @@
v-model="query[item.key]"
@update="getList"
/>
-