diff --git a/src/api/sensitivePerception/riskClue.ts b/src/api/sensitivePerception/riskClue.ts index ad34d70..049ce94 100644 --- a/src/api/sensitivePerception/riskClue.ts +++ b/src/api/sensitivePerception/riskClue.ts @@ -5,4 +5,11 @@ export function listRiskClues(query) { url: `/risk/clues`, query }); +} + +export function addRiskClue(body) { + return request.post({ + url: `/risk/clues`, + body + }); } \ No newline at end of file diff --git a/src/api/sensitivePerception/riskPersonnel.ts b/src/api/sensitivePerception/riskPersonnel.ts index 9028e14..768c16e 100644 --- a/src/api/sensitivePerception/riskPersonnel.ts +++ b/src/api/sensitivePerception/riskPersonnel.ts @@ -7,6 +7,13 @@ export function listRiskPersonnel(query) { }); } +export function listQueryRiskPersonnel(query) { + return request.get({ + url: '/risk/personal/query', + query + }); +} + export function getRiskPersonnel(id) { return request.get({ url: '/risk/personal/' + id diff --git a/src/assets/icons/ic_01.svg b/src/assets/icons/ic_01.svg index 6e3fd9b..fb7a61f 100644 --- a/src/assets/icons/ic_01.svg +++ b/src/assets/icons/ic_01.svg @@ -1,5 +1,5 @@ - + ic_01 diff --git a/src/assets/icons/ic_04.svg b/src/assets/icons/ic_04.svg index 6c14974..8825c8c 100644 --- a/src/assets/icons/ic_04.svg +++ b/src/assets/icons/ic_04.svg @@ -1,5 +1,5 @@ - + ic_04 diff --git a/src/components/negative/add.vue b/src/components/negative/add.vue index 82250cf..f006cb9 100644 --- a/src/components/negative/add.vue +++ b/src/components/negative/add.vue @@ -461,6 +461,7 @@ import feedback from "@/utils/feedback"; import { addNegative, generateOriginId } from "@/api/work/negative"; import { secondList, listByFirstHost } from "@/api/system/depart"; import useCatchStore from "@/stores/modules/catch"; +import { disabledDate } from '@/utils/util' const catchStore = useCatchStore(); const dict = catchStore.getDicts([ @@ -565,9 +566,7 @@ function handleChangeHostLevel(val) { } } -function disabledDate(time) { - return time.getTime() < moment("1949-10-01", "YYYY-MM-DD").valueOf(); -} +
- + {{ item.updateTime }} @@ -560,9 +560,11 @@ }" >
- 工作日 + 工作日
@@ -629,120 +631,112 @@ -

模型信息

- - -
模型图标
-
+
+ +
-
-
- -
-
- - {{ activeModel.modelName }} -
-
-
-
- - {{ - getDictLable( - dict.modelingMethod, - activeModel.modelingMethod - ) - }} -
-
- - {{ - getDictLable( - dict.modelDataType, - activeModel.modelDataType - ) - }} -
-
-
-
- - {{ - getDictLable( - dict.distributionMethod, - activeModel.distributionMethod - ) - }} -
-
- - - {{ - getDictLable( - dict.distributionCycle, - activeModel.distributionCycle - ) - }} - {{ - activeModel.distributionCycleTime - }} - -
-
-
-
- - {{ - getDictLable(dict.timeLimit, activeModel.timeLimit) - }} -
-
- - {{ - getDictLable( - dict.distributionFlow, - activeModel.distributionFlow - ) - }} -
-
- - {{ - getDictLable( - dict.approvalFlow, - activeModel.approvalFlow - ) - }} -
-
-
-
- - {{ activeModel.updateTime }} -
-
- - {{ activeModel.createDepartName }} -
-
-
-
- - {{ activeModel.remarks }} -
-
-
- {{ - activeModel.classId === GRJDBLFX_CLASS_ID - ? "查看风险问题" - : "查看线索数据" - }} - -
-
-
+

预警记录

@@ -852,7 +844,7 @@ import { import { WEEKS } from "@/enums/appEnums"; import { MENU_ROOT_ID } from "@/enums/appEnums"; import { listModelClass } from "@/api/sensitivePerception/modelClass"; -import { listRiskScoreRuleTree } from "@/api/sensitivePerception/riskScoreRule"; +import { listRiskScoreRuleTreeOld } from "@/api/sensitivePerception/riskScoreRule"; import { addModel, updateModel, @@ -915,7 +907,7 @@ onMounted(() => { listModelClass().then((data) => { classes.value = data; }); - listRiskScoreRuleTree().then((data) => { + listRiskScoreRuleTreeOld().then((data) => { treeOptions.value = data; }); }); @@ -930,7 +922,7 @@ const mode = ref("add"); const form = ref({ distributionMethod: "1", problems: [], - requestReply: true + requestReply: true, }); watch(mode, (val) => { @@ -943,7 +935,7 @@ function initForm() { form.value = { distributionMethod: "1", problems: [], - requestReply: true + requestReply: true, }; } const formRef = ref(null); @@ -1020,7 +1012,7 @@ function goClue() { router.push({ path: `/sensitivePerception/riskClue`, query: { - riskScoreRuleId: activeModel.value.riskScoreRuleId, + riskScoreRuleId: activeModel.value.id, }, }); } else { @@ -1064,7 +1056,12 @@ function goClue() { } } .model-icon { - width: 76px; + width: 80px; border-radius: 8px; } +.model-info-header { + background: #f9faff; + box-shadow: 0px 2px 4px 0px rgba(133, 150, 248, 0.47); + padding: 28px; +} \ No newline at end of file diff --git a/src/views/sensitivePerception/RiskClue.vue b/src/views/sensitivePerception/RiskClue.vue index 04bd2b4..8b036f6 100644 --- a/src/views/sensitivePerception/RiskClue.vue +++ b/src/views/sensitivePerception/RiskClue.vue @@ -1,10 +1,10 @@