|
|
|
|
@ -38,7 +38,7 @@
|
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="12"> |
|
|
|
|
<el-form-item label="联系民警" prop="contactPolice"> |
|
|
|
|
<div v-if="!mail.localProcessingFlag && !mail.localProcessing"> |
|
|
|
|
<div v-if="!mail.localProcessingFlag && !mail.localProcessing" style="width: 280px"> |
|
|
|
|
<police-select v-model:data="form.contactPolice" /> |
|
|
|
|
</div> |
|
|
|
|
<div v-else> |
|
|
|
|
@ -247,7 +247,7 @@
|
|
|
|
|
<template v-if="activeStep === 3"> |
|
|
|
|
<el-row> |
|
|
|
|
<el-form-item |
|
|
|
|
label="警种" |
|
|
|
|
label="涉及警种" |
|
|
|
|
prop="policeType" |
|
|
|
|
> |
|
|
|
|
<el-select |
|
|
|
|
@ -263,6 +263,27 @@
|
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-row> |
|
|
|
|
<el-row> |
|
|
|
|
<el-form-item |
|
|
|
|
label="案事件分类" |
|
|
|
|
prop="caseIncident" |
|
|
|
|
> |
|
|
|
|
<div style="width: 450px"> |
|
|
|
|
<DictTreeSelect type="case_incident" v-model="form.caseIncident" placeholder="请选择案事件分类" @node-click="handleChangeCaseIncident" /> |
|
|
|
|
</div> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-row> |
|
|
|
|
<el-row> |
|
|
|
|
<el-form-item |
|
|
|
|
label="诉求分类" |
|
|
|
|
prop="claim" |
|
|
|
|
> |
|
|
|
|
<div style="width: 450px"> |
|
|
|
|
<DictTreeSelect type="claim" v-model="form.claim" placeholder="请选择诉求分类" @node-click="handleChangeClaim" /> |
|
|
|
|
</div> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-row> |
|
|
|
|
<el-divider /> |
|
|
|
|
<el-row> |
|
|
|
|
<el-form-item |
|
|
|
|
label="核办结果" |
|
|
|
|
@ -367,21 +388,15 @@
|
|
|
|
|
<div style="font-size: 12px" class="ml-20"> |
|
|
|
|
<span v-if="item.blameName"> |
|
|
|
|
<span class="mr-4">姓名</span> |
|
|
|
|
<span class="mr-4">{{ |
|
|
|
|
item.blameName |
|
|
|
|
}}</span> |
|
|
|
|
<span class="mr-4">{{ item.blameName }}</span> |
|
|
|
|
</span> |
|
|
|
|
<span v-if="item.blameEmpNo"> |
|
|
|
|
<span class="mr-4">警号</span> |
|
|
|
|
<span class="mr-4">{{ |
|
|
|
|
item.blameEmpNo |
|
|
|
|
}}</span> |
|
|
|
|
<span class="mr-4">{{ item.blameEmpNo }}</span> |
|
|
|
|
</span> |
|
|
|
|
<span v-if="item.blameIdCode"> |
|
|
|
|
<span class="mr-4">身份证</span> |
|
|
|
|
<span class="mr-4">{{ |
|
|
|
|
item.blameIdCode |
|
|
|
|
}}</span> |
|
|
|
|
<span class="mr-4">{{ item.blameIdCode }}</span> |
|
|
|
|
</span> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
@ -425,9 +440,7 @@
|
|
|
|
|
</el-row> |
|
|
|
|
</div> |
|
|
|
|
<div class="text-center"> |
|
|
|
|
<el-button type="primary" plain @click="handleAdd" |
|
|
|
|
>添加涉及人员</el-button |
|
|
|
|
> |
|
|
|
|
<el-button type="primary" plain @click="handleAdd">添加涉及人员</el-button> |
|
|
|
|
</div> |
|
|
|
|
<el-divider /> |
|
|
|
|
</div> |
|
|
|
|
@ -524,6 +537,7 @@
|
|
|
|
|
:mailId="mail.id" |
|
|
|
|
@submit="update" |
|
|
|
|
/> |
|
|
|
|
|
|
|
|
|
</template> |
|
|
|
|
<script setup> |
|
|
|
|
import CoHandlingPoliceEdit from "./CoHandlingPoliceEdit.vue"; |
|
|
|
|
@ -614,13 +628,6 @@ const rules = {
|
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
// 核查办理 |
|
|
|
|
policeType: [ |
|
|
|
|
{ |
|
|
|
|
required: true, |
|
|
|
|
message: "请选择警种", |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
// 核查办理 |
|
|
|
|
verifyDetails: [ |
|
|
|
|
{ |
|
|
|
|
required: true, |
|
|
|
|
@ -657,6 +664,18 @@ const rules = {
|
|
|
|
|
message: "请上传佐证", |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
caseIncident: [ |
|
|
|
|
{ |
|
|
|
|
required: true, |
|
|
|
|
message: "请选择案事件分类", |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
claim: [ |
|
|
|
|
{ |
|
|
|
|
required: true, |
|
|
|
|
message: "请选择诉求分类", |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
const props = defineProps({ |
|
|
|
|
@ -906,6 +925,18 @@ function initForm() {
|
|
|
|
|
verifyAttachments: props.mail.verifyAttachments || [], |
|
|
|
|
// 涉及人员 |
|
|
|
|
mailBlames: props.mail.mailBlames || [], |
|
|
|
|
// 警种 |
|
|
|
|
policeType: props.mail.policeType, |
|
|
|
|
// 案事件分类 |
|
|
|
|
caseIncident: props.mail.caseIncident, |
|
|
|
|
caseIncidentName: props.mail.caseIncidentName, |
|
|
|
|
caseIncidentName1: props.mail.caseIncidentName1, |
|
|
|
|
caseIncidentName2: props.mail.caseIncidentName2, |
|
|
|
|
// 诉求分类 |
|
|
|
|
claim: props.mail.claim, |
|
|
|
|
claimName: props.mail.claimName, |
|
|
|
|
claimName1: props.mail.claimName1, |
|
|
|
|
claimName2: props.mail.claimName2 |
|
|
|
|
}; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -969,6 +1000,36 @@ function goPolice() {
|
|
|
|
|
router.push('/setting/admin') |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function handleChangeCaseIncident(data, node) { |
|
|
|
|
if (node.childNodes.length > 0) { |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|
if (data.parentId) { |
|
|
|
|
form.value.caseIncidentName = data.name |
|
|
|
|
form.value.caseIncidentName1 = node.parent.data.name |
|
|
|
|
form.value.caseIncidentName2 = data.name |
|
|
|
|
} else { |
|
|
|
|
form.value.caseIncidentName = data.name |
|
|
|
|
form.value.caseIncidentName1 = data.name |
|
|
|
|
form.value.caseIncidentName2 = null |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function handleChangeClaim(data, node) { |
|
|
|
|
if (node.childNodes.length > 0) { |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|
if (data.parentId) { |
|
|
|
|
form.value.claimName = data.name |
|
|
|
|
form.value.claimName1 = node.parent.data.name |
|
|
|
|
form.value.claimName2 = data.name |
|
|
|
|
} else { |
|
|
|
|
form.value.claimName = data.name |
|
|
|
|
form.value.claimName1 = data.name |
|
|
|
|
form.value.claimName2 = null |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
defineExpose({ |
|
|
|
|
validate, |
|
|
|
|
getData, |
|
|
|
|
|