|
|
|
|
@ -47,7 +47,8 @@
|
|
|
|
|
v-for="item in dict.inspectCase" |
|
|
|
|
:key="item.dictCode" |
|
|
|
|
:value="item.dictValue" |
|
|
|
|
>{{ item.dictLabel }}</el-radio |
|
|
|
|
>{{ item.dictLabel }} |
|
|
|
|
</el-radio |
|
|
|
|
> |
|
|
|
|
</el-radio-group> |
|
|
|
|
</el-form-item> |
|
|
|
|
@ -77,7 +78,8 @@
|
|
|
|
|
v-for="item in dict.isRectify" |
|
|
|
|
:key="item.dictCode" |
|
|
|
|
:value="item.dictValue" |
|
|
|
|
>{{ item.dictLabel }}</el-radio |
|
|
|
|
>{{ item.dictLabel }} |
|
|
|
|
</el-radio |
|
|
|
|
> |
|
|
|
|
</el-radio-group> |
|
|
|
|
</el-form-item> |
|
|
|
|
@ -103,7 +105,8 @@
|
|
|
|
|
v-for="item in dict.accountabilityTarget" |
|
|
|
|
:key="item.dictCode" |
|
|
|
|
:value="item.dictValue" |
|
|
|
|
>{{ item.dictLabel }}</el-radio |
|
|
|
|
>{{ item.dictLabel }} |
|
|
|
|
</el-radio |
|
|
|
|
> |
|
|
|
|
</el-radio-group> |
|
|
|
|
</el-form-item> |
|
|
|
|
@ -197,7 +200,8 @@
|
|
|
|
|
@click="handleRemovePersonal(item)" |
|
|
|
|
text |
|
|
|
|
class="ml-10" |
|
|
|
|
>删除</el-button |
|
|
|
|
>删除 |
|
|
|
|
</el-button |
|
|
|
|
> |
|
|
|
|
</div> |
|
|
|
|
<el-row> |
|
|
|
|
@ -286,7 +290,8 @@
|
|
|
|
|
v-for="item in dict.personType" |
|
|
|
|
:key="item.dictCode" |
|
|
|
|
:value="item.dictValue" |
|
|
|
|
>{{ item.dictLabel }}</el-radio |
|
|
|
|
>{{ item.dictLabel }} |
|
|
|
|
</el-radio |
|
|
|
|
> |
|
|
|
|
</el-radio-group> |
|
|
|
|
</el-form-item> |
|
|
|
|
@ -357,11 +362,15 @@
|
|
|
|
|
type="primary" |
|
|
|
|
v-if="j === 0" |
|
|
|
|
size="small" |
|
|
|
|
><template #icon> |
|
|
|
|
> |
|
|
|
|
<template #icon> |
|
|
|
|
<icon |
|
|
|
|
name="el-icon-Plus" |
|
|
|
|
/> </template |
|
|
|
|
>添加问题</el-button |
|
|
|
|
/> |
|
|
|
|
</template |
|
|
|
|
> |
|
|
|
|
添加问题 |
|
|
|
|
</el-button |
|
|
|
|
> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
@ -396,7 +405,8 @@
|
|
|
|
|
v-for="item in dict.responsibilityType" |
|
|
|
|
:key="item.dictCode" |
|
|
|
|
:value="item.dictValue" |
|
|
|
|
>{{ item.dictLabel }}</el-radio |
|
|
|
|
>{{ item.dictLabel }} |
|
|
|
|
</el-radio |
|
|
|
|
> |
|
|
|
|
</el-radio-group> |
|
|
|
|
</el-form-item> |
|
|
|
|
@ -429,7 +439,8 @@
|
|
|
|
|
v-for="item in dict.subjectiveAspect" |
|
|
|
|
:key="item.dictCode" |
|
|
|
|
:value="item.dictValue" |
|
|
|
|
>{{ item.dictLabel }}</el-radio |
|
|
|
|
>{{ item.dictLabel }} |
|
|
|
|
</el-radio |
|
|
|
|
> |
|
|
|
|
</el-radio-group> |
|
|
|
|
<el-form-item |
|
|
|
|
@ -520,7 +531,8 @@
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
" |
|
|
|
|
>{{ dictItem.dictLabel }}</el-radio |
|
|
|
|
>{{ dictItem.dictLabel }} |
|
|
|
|
</el-radio |
|
|
|
|
> |
|
|
|
|
</el-radio-group> |
|
|
|
|
</el-form-item> |
|
|
|
|
@ -550,7 +562,8 @@
|
|
|
|
|
v-for="item in dict.protectRights" |
|
|
|
|
:key="item.dictCode" |
|
|
|
|
:value="item.dictValue" |
|
|
|
|
>{{ item.dictLabel }}</el-radio |
|
|
|
|
>{{ item.dictLabel }} |
|
|
|
|
</el-radio |
|
|
|
|
> |
|
|
|
|
</el-radio-group> |
|
|
|
|
</el-form-item> |
|
|
|
|
@ -560,9 +573,13 @@
|
|
|
|
|
</div> |
|
|
|
|
<div class="flex center" style="width: 100%"> |
|
|
|
|
<el-button type="primary" plain @click="handleAddPersomal" |
|
|
|
|
><template #icon> |
|
|
|
|
<icon name="el-icon-Plus" /> </template |
|
|
|
|
>添加涉及人员</el-button |
|
|
|
|
> |
|
|
|
|
<template #icon> |
|
|
|
|
<icon name="el-icon-Plus"/> |
|
|
|
|
</template |
|
|
|
|
> |
|
|
|
|
添加涉及人员 |
|
|
|
|
</el-button |
|
|
|
|
> |
|
|
|
|
</div> |
|
|
|
|
</el-form-item> |
|
|
|
|
@ -585,7 +602,8 @@
|
|
|
|
|
@click="handleRemoveBlameLeader(index)" |
|
|
|
|
text |
|
|
|
|
class="ml-10" |
|
|
|
|
>删除</el-button |
|
|
|
|
>删除 |
|
|
|
|
</el-button |
|
|
|
|
> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
@ -710,7 +728,8 @@
|
|
|
|
|
v-for="item in dict.leadResponsibilityType" |
|
|
|
|
:key="item.dictCode" |
|
|
|
|
:value="item.dictValue" |
|
|
|
|
>{{ item.dictLabel }}</el-radio |
|
|
|
|
>{{ item.dictLabel }} |
|
|
|
|
</el-radio |
|
|
|
|
> |
|
|
|
|
</el-radio-group> |
|
|
|
|
</el-form-item> |
|
|
|
|
@ -777,7 +796,8 @@
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
" |
|
|
|
|
>{{ dictItem.dictLabel }}</el-radio |
|
|
|
|
>{{ dictItem.dictLabel }} |
|
|
|
|
</el-radio |
|
|
|
|
> |
|
|
|
|
</el-radio-group> |
|
|
|
|
</el-form-item> |
|
|
|
|
@ -808,7 +828,8 @@
|
|
|
|
|
v-for="item in dict.protectRights" |
|
|
|
|
:key="item.dictCode" |
|
|
|
|
:value="item.dictValue" |
|
|
|
|
>{{ item.dictLabel }}</el-radio |
|
|
|
|
>{{ item.dictLabel }} |
|
|
|
|
</el-radio |
|
|
|
|
> |
|
|
|
|
</el-radio-group> |
|
|
|
|
</el-form-item> |
|
|
|
|
@ -827,9 +848,13 @@
|
|
|
|
|
type="primary" |
|
|
|
|
plain |
|
|
|
|
@click="handleAddBlameLeader" |
|
|
|
|
><template #icon> |
|
|
|
|
<icon name="el-icon-Plus" /> </template |
|
|
|
|
>添加涉及领导</el-button |
|
|
|
|
> |
|
|
|
|
<template #icon> |
|
|
|
|
<icon name="el-icon-Plus"/> |
|
|
|
|
</template |
|
|
|
|
> |
|
|
|
|
添加涉及领导 |
|
|
|
|
</el-button |
|
|
|
|
> |
|
|
|
|
</div> |
|
|
|
|
</el-form-item> |
|
|
|
|
@ -901,7 +926,8 @@
|
|
|
|
|
> |
|
|
|
|
<el-radio-group v-model="item.ivPersonTypeCode"> |
|
|
|
|
<el-radio :value="PersonType.POLICE" |
|
|
|
|
>民警</el-radio |
|
|
|
|
>民警 |
|
|
|
|
</el-radio |
|
|
|
|
> |
|
|
|
|
</el-radio-group> |
|
|
|
|
</el-form-item> |
|
|
|
|
@ -929,7 +955,8 @@
|
|
|
|
|
v-for="item in dict.superviseMeasures" |
|
|
|
|
:key="item.dictCode" |
|
|
|
|
:value="item.dictValue" |
|
|
|
|
>{{ item.dictLabel }}</el-radio |
|
|
|
|
>{{ item.dictLabel }} |
|
|
|
|
</el-radio |
|
|
|
|
> |
|
|
|
|
</el-radio-group> |
|
|
|
|
</el-form-item> |
|
|
|
|
@ -1000,11 +1027,15 @@
|
|
|
|
|
type="primary" |
|
|
|
|
v-if="j === 0" |
|
|
|
|
size="small" |
|
|
|
|
><template #icon> |
|
|
|
|
> |
|
|
|
|
<template #icon> |
|
|
|
|
<icon |
|
|
|
|
name="el-icon-Plus" |
|
|
|
|
/> </template |
|
|
|
|
>添加问题</el-button |
|
|
|
|
/> |
|
|
|
|
</template |
|
|
|
|
> |
|
|
|
|
添加问题 |
|
|
|
|
</el-button |
|
|
|
|
> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
@ -1038,7 +1069,8 @@
|
|
|
|
|
v-for="item in dict.subjectiveAspect" |
|
|
|
|
:key="item.dictCode" |
|
|
|
|
:value="item.dictValue" |
|
|
|
|
>{{ item.dictLabel }}</el-radio |
|
|
|
|
>{{ item.dictLabel }} |
|
|
|
|
</el-radio |
|
|
|
|
> |
|
|
|
|
</el-radio-group> |
|
|
|
|
</el-form-item> |
|
|
|
|
@ -1070,7 +1102,8 @@
|
|
|
|
|
v-for="item in dict.responsibilityType" |
|
|
|
|
:key="item.dictCode" |
|
|
|
|
:value="item.dictValue" |
|
|
|
|
>{{ item.dictLabel }}</el-radio |
|
|
|
|
>{{ item.dictLabel }} |
|
|
|
|
</el-radio |
|
|
|
|
> |
|
|
|
|
</el-radio-group> |
|
|
|
|
</el-form-item> |
|
|
|
|
@ -1181,6 +1214,7 @@ import {
|
|
|
|
|
} from "@/enums/dictEnums"; |
|
|
|
|
import useCatchStore from "@/stores/modules/catch"; |
|
|
|
|
import {computed} from "vue"; |
|
|
|
|
|
|
|
|
|
const catchSotre = useCatchStore(); |
|
|
|
|
const dict = catchSotre.getDicts([ |
|
|
|
|
"inspectCase", |
|
|
|
|
@ -1216,15 +1250,18 @@ function getFormData() {
|
|
|
|
|
checkStatusDesc: negative.value.checkStatusDesc, |
|
|
|
|
rectifyDesc: negative.value.rectifyDesc, |
|
|
|
|
rectifyRestrictionDays: negative.value.rectifyRestrictionDays, |
|
|
|
|
accountabilityTarget: |
|
|
|
|
negative.value.accountabilityTarget || |
|
|
|
|
negative.value.problemSourcesCode === ProblemSources.JWDC |
|
|
|
|
? AccountabilityTarget.PERSONAL |
|
|
|
|
: "", |
|
|
|
|
accountabilityTarget: "", |
|
|
|
|
blames: negative.value.blames, |
|
|
|
|
blameLeaders: negative.value.blameLeaders, |
|
|
|
|
files: negative.value.files || [], |
|
|
|
|
}; |
|
|
|
|
if (negative.value.accountabilityTarget != undefined) { |
|
|
|
|
form.value.accountabilityTarget = negative.value.accountabilityTarget; |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
if (negative.value.problemSourcesCode === ProblemSources.JWDC) { |
|
|
|
|
form.value.accountabilityTarget = AccountabilityTarget.PERSONAL; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function handleAddPersomal() { |
|
|
|
|
@ -1365,6 +1402,7 @@ function handleCheckboxChange(blameLeader, bool, val) {
|
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const formRef = ref(null); |
|
|
|
|
|
|
|
|
|
async function validate() { |
|
|
|
|
@ -1404,6 +1442,7 @@ defineExpose({
|
|
|
|
|
.el-form-item .el-form-item { |
|
|
|
|
margin-bottom: 18px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
:deep() { |
|
|
|
|
.el-form-item--label-right .el-form-item__label { |
|
|
|
|
text-align: right; |
|
|
|
|
@ -1411,6 +1450,7 @@ defineExpose({
|
|
|
|
|
margin-bottom: 0; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
p { |
|
|
|
|
margin: 0; |
|
|
|
|
line-height: 1.4; |
|
|
|
|
|