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 @@ 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 @@ \ 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 @@
+ + + + + + + + + + + + +
- - + + - + - - + + + \ 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 @@ + + + \ 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 @@ + + + \ 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" /> -
+
-
+
+ +
@@ -495,7 +497,7 @@ - + @@ -888,8 +890,11 @@ function handleSelectInvolveProblem(vals) { padding: 8px 0; box-shadow: inset 0px -1px 0px 0px #ebebeb; label { - width: 126px; + width: 120px; line-height: 24px; + padding-right: 12px; + box-sizing: border-box; + text-align: right; & + * { width: calc(100% - 126px); } @@ -901,4 +906,7 @@ function handleSelectInvolveProblem(vals) { margin-bottom: 0; } } +.query-box { + gap: 10px 20px; +} \ No newline at end of file diff --git a/vite.config.ts b/vite.config.ts index 83347fd..8dca79b 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -70,10 +70,10 @@ export default ({ mode }) => { }, postcss: { plugins: [ - // postCssPxToRem({ - // rootValue: 192, - // propList: ['*'], - // }) + postCssPxToRem({ + rootValue: 192, + propList: ['*'], + }) ] } },