diff --git a/src/components/negative/dialog.vue b/src/components/negative/dialog.vue index 21aa1ce..b3a7032 100644 --- a/src/components/negative/dialog.vue +++ b/src/components/negative/dialog.vue @@ -110,7 +110,7 @@ v-if=" components.indexOf( 'negative-verify-description' - ) > -1 + ) > -1 && !verifyEditFlag " > @@ -126,7 +126,7 @@ - - - +
预警数据将以任务形式分批下发至相关单位处理。每次下发的预警数据都会在“任务分发”模块中生成一条记录。任务名称将按照“模型名称_下发时间”的格式命名,例如:“取保候审期间未按要求传讯犯罪嫌疑人_20240919” @@ -707,6 +738,9 @@ const dict = catchStore.getDicts([ "approvalFlow", "modelingMethod", "modelDataType", + "businessType", + "suspectProblem", + "policeType", ]); // 个人极端暴力风险 @@ -755,6 +789,7 @@ const show = ref(false); const mode = ref("add"); const form = ref({ distributionMethod: "1", + problems: [] }); watch(mode, (val) => { @@ -764,7 +799,10 @@ watch(mode, (val) => { }); function initForm() { - form.value = { distributionMethod: "1" }; + form.value = { + distributionMethod: "1", + problems: [] + }; } const formRef = ref(null); @@ -777,6 +815,15 @@ function handleEdit() { show.value = true; mode.value = "edit"; form.value = { ...activeModel.value }; + form.value.problems = [] +} + +function handleAddProblem() { + form.value.problems.push({}) +} + +function handleRemoveProblem(index) { + form.value.problems.splice(index, 1) } async function handleSubmit() { @@ -856,6 +903,8 @@ function handleSelectInvolveProblem(vals) { }; }); } + +