|
|
|
|
@ -1,18 +1,33 @@
|
|
|
|
|
<template> |
|
|
|
|
<div class="flex between mb-20 card"> |
|
|
|
|
<div class="flex gap-20"> |
|
|
|
|
<div class="flex gap v-center" v-for="item in data.coHandlingPolices" :key="item.empNo"> |
|
|
|
|
<div |
|
|
|
|
class="flex gap v-center" |
|
|
|
|
v-for="item in data.coHandlingPolices" |
|
|
|
|
:key="item.empNo" |
|
|
|
|
> |
|
|
|
|
<icon name="local-icon-police" :size="20" /> |
|
|
|
|
<span>{{ item.name }}</span> |
|
|
|
|
<span>{{ item.phone }}</span> |
|
|
|
|
<span>{{ item.empNo }}</span> |
|
|
|
|
<span>{{ item.mobile }}</span> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<el-button type="primary" size="small" @click="coHandlingPoliceShow = true">编辑协办民警</el-button> |
|
|
|
|
<el-button |
|
|
|
|
type="primary" |
|
|
|
|
size="small" |
|
|
|
|
@click="coHandlingPoliceShow = true" |
|
|
|
|
>编辑协办民警</el-button |
|
|
|
|
> |
|
|
|
|
</div> |
|
|
|
|
<header class="flex mb-20"> |
|
|
|
|
<template v-for="(item, index) in threeSteps" :key="item.index"> |
|
|
|
|
<div class="step flex center v-center" :active="activeStep === item.index" :completed="item.index < step" |
|
|
|
|
:diabled="item.index > step" @click="handleChangeTab(item.index)"> |
|
|
|
|
<div |
|
|
|
|
class="step flex center v-center" |
|
|
|
|
:active="activeStep === item.index" |
|
|
|
|
:completed="item.index < step" |
|
|
|
|
:diabled="item.index > step" |
|
|
|
|
@click="handleChangeTab(item.index)" |
|
|
|
|
> |
|
|
|
|
<span class="mr-8">{{ index + 1 }}</span> |
|
|
|
|
<span>{{ item.name }}</span> |
|
|
|
|
</div> |
|
|
|
|
@ -36,15 +51,24 @@
|
|
|
|
|
<el-col :span="12"> |
|
|
|
|
<el-form-item label="是否取得联系" prop="contactFlag"> |
|
|
|
|
<el-radio-group v-model="form.contactFlag"> |
|
|
|
|
<el-radio :label="true" size="large">取得联系</el-radio> |
|
|
|
|
<el-radio :label="false" size="large">未取得联系</el-radio> |
|
|
|
|
<el-radio :label="true" size="large" |
|
|
|
|
>取得联系</el-radio |
|
|
|
|
> |
|
|
|
|
<el-radio :label="false" size="large" |
|
|
|
|
>未取得联系</el-radio |
|
|
|
|
> |
|
|
|
|
</el-radio-group> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="12"> |
|
|
|
|
<el-form-item label="联系时间" prop="contactTime"> |
|
|
|
|
<el-date-picker type="datetime" v-model="form.contactTime" value-format="YYYY-MM-DD HH:mm:ss" |
|
|
|
|
@change="handleTimeChange" style="width: 100%" /> |
|
|
|
|
<el-date-picker |
|
|
|
|
type="datetime" |
|
|
|
|
v-model="form.contactTime" |
|
|
|
|
value-format="YYYY-MM-DD HH:mm:ss" |
|
|
|
|
@change="handleTimeChange" |
|
|
|
|
style="width: 100%" |
|
|
|
|
/> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
@ -52,11 +76,16 @@
|
|
|
|
|
<el-col :span="12"> |
|
|
|
|
<el-form-item label="联系时长"> |
|
|
|
|
<span>{{ formatTimeText(form.contactDuration) }}</span> |
|
|
|
|
<span v-if="form.contactDuration" :danger="form.contactDuration > limitedTime" class="ml-4">({{ |
|
|
|
|
form.contactDuration > limitedTime |
|
|
|
|
? "已超时" |
|
|
|
|
: "未超时" |
|
|
|
|
}})</span> |
|
|
|
|
<span |
|
|
|
|
v-if="form.contactDuration" |
|
|
|
|
:danger="form.contactDuration > limitedTime" |
|
|
|
|
class="ml-4" |
|
|
|
|
>({{ |
|
|
|
|
form.contactDuration > limitedTime |
|
|
|
|
? "已超时" |
|
|
|
|
: "未超时" |
|
|
|
|
}})</span |
|
|
|
|
> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
@ -64,9 +93,16 @@
|
|
|
|
|
<template v-if="activeStep === 2"> |
|
|
|
|
<el-row> |
|
|
|
|
<el-form-item label="接访形式" prop="interviewType"> |
|
|
|
|
<el-select v-model="form.interviewType" style="width: 450px"> |
|
|
|
|
<el-option v-for="item in dictData.interview_type" :key="item.value" :label="item.name" |
|
|
|
|
:value="item.value" /> |
|
|
|
|
<el-select |
|
|
|
|
v-model="form.interviewType" |
|
|
|
|
style="width: 450px" |
|
|
|
|
> |
|
|
|
|
<el-option |
|
|
|
|
v-for="item in dictData.interview_type" |
|
|
|
|
:key="item.value" |
|
|
|
|
:label="item.name" |
|
|
|
|
:value="item.value" |
|
|
|
|
/> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-row> |
|
|
|
|
@ -81,13 +117,26 @@
|
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="12" prop="interviewPoliceEmpNo"> |
|
|
|
|
<el-form-item label="接访领导" prop="interviewPoliceEmpNo"> |
|
|
|
|
<LeaderSelect v-model="form.interviewPoliceEmpNo" @change="handleSelect" leader-type="all" /> |
|
|
|
|
<LeaderSelect |
|
|
|
|
v-model="form.interviewPoliceEmpNo" |
|
|
|
|
@change="handleSelect" |
|
|
|
|
leader-type="all" |
|
|
|
|
/> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
<el-row> |
|
|
|
|
<el-form-item label="接访情况" prop="interviewDetails" style="width: 100%"> |
|
|
|
|
<el-input type="textarea" v-model="form.interviewDetails" :rows="5" style="width: 100%" /> |
|
|
|
|
<el-form-item |
|
|
|
|
label="接访情况" |
|
|
|
|
prop="interviewDetails" |
|
|
|
|
style="width: 100%" |
|
|
|
|
> |
|
|
|
|
<el-input |
|
|
|
|
type="textarea" |
|
|
|
|
v-model="form.interviewDetails" |
|
|
|
|
:rows="5" |
|
|
|
|
style="width: 100%" |
|
|
|
|
/> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-row> |
|
|
|
|
<el-row> |
|
|
|
|
@ -108,73 +157,132 @@
|
|
|
|
|
</template> |
|
|
|
|
<template v-if="activeStep === 3"> |
|
|
|
|
<el-row> |
|
|
|
|
<el-form-item label="核办结果" prop="verifyDetails" style="width: 100%"> |
|
|
|
|
<el-input type="textarea" v-model="form.verifyDetails" :rows="5" style="width: 100%" /> |
|
|
|
|
<el-form-item |
|
|
|
|
label="核办结果" |
|
|
|
|
prop="verifyDetails" |
|
|
|
|
style="width: 100%" |
|
|
|
|
> |
|
|
|
|
<el-input |
|
|
|
|
type="textarea" |
|
|
|
|
v-model="form.verifyDetails" |
|
|
|
|
:rows="5" |
|
|
|
|
style="width: 100%" |
|
|
|
|
/> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-row> |
|
|
|
|
<el-row> |
|
|
|
|
<el-form-item label="是否属实" prop="verifyIsTrue"> |
|
|
|
|
<el-radio-group v-model="form.verifyIsTrue"> |
|
|
|
|
<el-radio v-for="item in dictData.verify_is_true" :key="item.name" :label="item.value" |
|
|
|
|
size="large">{{ item.name }}</el-radio> |
|
|
|
|
<el-radio |
|
|
|
|
v-for="item in dictData.verify_is_true" |
|
|
|
|
:key="item.name" |
|
|
|
|
:label="item.value" |
|
|
|
|
size="large" |
|
|
|
|
>{{ item.name }}</el-radio |
|
|
|
|
> |
|
|
|
|
</el-radio-group> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-row> |
|
|
|
|
<el-divider /> |
|
|
|
|
<div v-if="form.verifyIsTrue === '属实' || |
|
|
|
|
form.verifyIsTrue === '基本属实' |
|
|
|
|
"> |
|
|
|
|
<div |
|
|
|
|
v-if=" |
|
|
|
|
form.verifyIsTrue === '属实' || |
|
|
|
|
form.verifyIsTrue === '基本属实' |
|
|
|
|
" |
|
|
|
|
> |
|
|
|
|
<el-row> |
|
|
|
|
<el-form-item label="被举报人"> |
|
|
|
|
<div> |
|
|
|
|
<div class="flex between gap mb-10" v-for="(item, index) in reportedPolices" :key="index"> |
|
|
|
|
<el-tree-select v-model="item.deptId" :data="depts" clearable filterable node-key="id" |
|
|
|
|
:props="{ |
|
|
|
|
value: 'id', |
|
|
|
|
label: 'name', |
|
|
|
|
}" check-strictly placeholder="请选择部门" @change="handleChangeDept" /> |
|
|
|
|
|
|
|
|
|
<el-select v-model="item.empNo" style="width: 280px" @change="(val) => handleChangePolice(val, index) |
|
|
|
|
"> |
|
|
|
|
<el-option v-for="item in polices" :key="item.id" :value="item.empNo" |
|
|
|
|
:label="item.name"></el-option></el-select> |
|
|
|
|
<div |
|
|
|
|
class="flex between gap mb-10" |
|
|
|
|
v-for="(item, index) in reportedPolices" |
|
|
|
|
:key="index" |
|
|
|
|
> |
|
|
|
|
<el-tree-select |
|
|
|
|
v-model="item.deptId" |
|
|
|
|
:data="depts" |
|
|
|
|
clearable |
|
|
|
|
filterable |
|
|
|
|
node-key="id" |
|
|
|
|
:props="{ value: 'id', label: 'name' }" |
|
|
|
|
check-strictly |
|
|
|
|
placeholder="请选择部门" |
|
|
|
|
@change="handleChangeDept" |
|
|
|
|
:default-expanded-keys="getExpandedKeys()" |
|
|
|
|
/> |
|
|
|
|
|
|
|
|
|
<el-select |
|
|
|
|
v-model="item.empNo" |
|
|
|
|
style="width: 280px" |
|
|
|
|
@change=" |
|
|
|
|
(val) => handleChangePolice(val, index) |
|
|
|
|
" |
|
|
|
|
filterable |
|
|
|
|
> |
|
|
|
|
<el-option |
|
|
|
|
v-for="item in polices" |
|
|
|
|
:key="item.id" |
|
|
|
|
:value="item.empNo" |
|
|
|
|
:label="item.name" |
|
|
|
|
>{{ |
|
|
|
|
item.name + " " + item.empNo |
|
|
|
|
}}</el-option |
|
|
|
|
></el-select |
|
|
|
|
> |
|
|
|
|
<div style="font-size: 12px; min-width: 200px"> |
|
|
|
|
<span v-if="item.empNo"> |
|
|
|
|
<span class="mr-4">警号</span> |
|
|
|
|
<span class="mr-4">{{ |
|
|
|
|
item.empNo |
|
|
|
|
}}</span> |
|
|
|
|
item.empNo |
|
|
|
|
}}</span> |
|
|
|
|
</span> |
|
|
|
|
<span v-if="item.gender"> |
|
|
|
|
<span class="mr-4">性别</span> |
|
|
|
|
<span class="mr-4">{{ |
|
|
|
|
item.gender |
|
|
|
|
}}</span> |
|
|
|
|
item.gender |
|
|
|
|
}}</span> |
|
|
|
|
</span> |
|
|
|
|
<span v-if="item.birthday"> |
|
|
|
|
<span class="mr-4">出生年月</span> |
|
|
|
|
<span>{{ item.birthday }}</span> |
|
|
|
|
</span> |
|
|
|
|
</div> |
|
|
|
|
<el-button type="danger" plain @click="reportedPolices.splice(index, 1)">删除</el-button> |
|
|
|
|
<el-button |
|
|
|
|
type="danger" |
|
|
|
|
plain |
|
|
|
|
@click="reportedPolices.splice(index, 1)" |
|
|
|
|
>删除</el-button |
|
|
|
|
> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-row> |
|
|
|
|
<div class="text-center"> |
|
|
|
|
<el-button type="primary" plain @click="reportedPolices.push({})">添加被举报人</el-button> |
|
|
|
|
<el-button |
|
|
|
|
type="primary" |
|
|
|
|
plain |
|
|
|
|
@click="reportedPolices.push({})" |
|
|
|
|
>添加被举报人</el-button |
|
|
|
|
> |
|
|
|
|
</div> |
|
|
|
|
<el-divider /> |
|
|
|
|
<el-row> |
|
|
|
|
<el-form-item label="查证属实问题" prop="verifyProblem"> |
|
|
|
|
<el-checkbox-group v-model="form.verifyProblem"> |
|
|
|
|
<el-checkbox v-for="item in dictData.verify_problem" :key="item.value" :label="item.name" |
|
|
|
|
:value="item.value" /> |
|
|
|
|
<el-checkbox |
|
|
|
|
v-for="item in dictData.verify_problem" |
|
|
|
|
:key="item.value" |
|
|
|
|
:label="item.name" |
|
|
|
|
:value="item.value" |
|
|
|
|
/> |
|
|
|
|
</el-checkbox-group> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-row> |
|
|
|
|
<el-row> |
|
|
|
|
<el-form-item label="是否需要问责" prop="verifyNeedAccountability"> |
|
|
|
|
<el-form-item |
|
|
|
|
label="是否需要问责" |
|
|
|
|
prop="verifyNeedAccountability" |
|
|
|
|
> |
|
|
|
|
<el-radio-group v-model="form.verifyNeedAccountability"> |
|
|
|
|
<el-radio :label="true" size="large">是</el-radio> |
|
|
|
|
<el-radio :label="false" size="large">否</el-radio> |
|
|
|
|
@ -184,14 +292,21 @@
|
|
|
|
|
<el-row v-if="form.verifyNeedAccountability"> |
|
|
|
|
<el-form-item label="责任追究"> |
|
|
|
|
<el-checkbox-group v-model="form.verifyPunish"> |
|
|
|
|
<el-checkbox v-for="item in dictData.verify_punish" :key="item.value" :label="item.name" |
|
|
|
|
:value="item.value" /> |
|
|
|
|
<el-checkbox |
|
|
|
|
v-for="item in dictData.verify_punish" |
|
|
|
|
:key="item.value" |
|
|
|
|
:label="item.name" |
|
|
|
|
:value="item.value" |
|
|
|
|
/> |
|
|
|
|
</el-checkbox-group> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-row> |
|
|
|
|
</div> |
|
|
|
|
<el-row> |
|
|
|
|
<el-form-item label="群众反应事项解决情况" prop="verifyIsResolved"> |
|
|
|
|
<el-form-item |
|
|
|
|
label="群众反应事项解决情况" |
|
|
|
|
prop="verifyIsResolved" |
|
|
|
|
> |
|
|
|
|
<el-radio-group v-model="form.verifyIsResolved"> |
|
|
|
|
<el-radio :label="true" size="large">已解决</el-radio> |
|
|
|
|
<el-radio :label="false" size="large">未解决</el-radio> |
|
|
|
|
@ -201,15 +316,25 @@
|
|
|
|
|
<el-row> |
|
|
|
|
<el-form-item label="办理反馈情况" prop="verifyFeedback"> |
|
|
|
|
<el-radio-group v-model="form.verifyFeedback"> |
|
|
|
|
<el-radio v-for="item in dictData.satisfaction_status" :key="item.name" :label="item.value" |
|
|
|
|
size="large">{{ item.name }}</el-radio> |
|
|
|
|
<el-radio |
|
|
|
|
v-for="item in dictData.satisfaction_status" |
|
|
|
|
:key="item.name" |
|
|
|
|
:label="item.value" |
|
|
|
|
size="large" |
|
|
|
|
>{{ item.name }}</el-radio |
|
|
|
|
> |
|
|
|
|
</el-radio-group> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-row> |
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="12"> |
|
|
|
|
<el-form-item label="回访人姓名" prop="verifyFollowupPolice"> |
|
|
|
|
<police-select v-model:data="form.verifyFollowupPolice" /> |
|
|
|
|
<el-form-item |
|
|
|
|
label="回访人姓名" |
|
|
|
|
prop="verifyFollowupPolice" |
|
|
|
|
> |
|
|
|
|
<police-select |
|
|
|
|
v-model:data="form.verifyFollowupPolice" |
|
|
|
|
/> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="12"> |
|
|
|
|
@ -235,10 +360,18 @@
|
|
|
|
|
请上传《核查办理报告》、《处理反馈表》及相关的法律文件(比如:受案回执、立案决定书、不予立案决定书等)和佐证材料(比如:谈话笔录、调解协议等)。 |
|
|
|
|
</div> |
|
|
|
|
<div> |
|
|
|
|
<a :href="`${VITE_API_URL}/api/file/download/template/《核查办理报告》.doc`" target="_blank" |
|
|
|
|
class="link">《核查办理报告》 下载</a> |
|
|
|
|
<a :href="`${VITE_API_URL}/api/file/download/template/《处理反馈表》.doc`" target="_blank" |
|
|
|
|
class="link">《处理反馈表》 下载</a> |
|
|
|
|
<a |
|
|
|
|
:href="`${VITE_API_URL}/api/file/download/template/《核查办理报告》.doc`" |
|
|
|
|
target="_blank" |
|
|
|
|
class="link" |
|
|
|
|
>《核查办理报告》 下载</a |
|
|
|
|
> |
|
|
|
|
<a |
|
|
|
|
:href="`${VITE_API_URL}/api/file/download/template/《处理反馈表》.doc`" |
|
|
|
|
target="_blank" |
|
|
|
|
class="link" |
|
|
|
|
>《处理反馈表》 下载</a |
|
|
|
|
> |
|
|
|
|
</div> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
@ -246,12 +379,15 @@
|
|
|
|
|
</template> |
|
|
|
|
</el-form> |
|
|
|
|
|
|
|
|
|
<CoHandlingPoliceEdit v-model:show="coHandlingPoliceShow" v-model:data="data.coHandlingPolices" /> |
|
|
|
|
<CoHandlingPoliceEdit |
|
|
|
|
v-model:show="coHandlingPoliceShow" |
|
|
|
|
v-model:data="data.coHandlingPolices" |
|
|
|
|
/> |
|
|
|
|
</template> |
|
|
|
|
<script setup> |
|
|
|
|
import CoHandlingPoliceEdit from "./CoHandlingPoliceEdit.vue"; |
|
|
|
|
|
|
|
|
|
import { listByThree, deptLists } from "@/api/org/department"; |
|
|
|
|
import { listByThree, deptAll } from "@/api/org/department"; |
|
|
|
|
|
|
|
|
|
import { allLists } from "@/api/perms/admin"; |
|
|
|
|
import { timeDiffSeconds, formatTimeText } from "@/utils/util"; |
|
|
|
|
@ -425,20 +561,18 @@ watch(
|
|
|
|
|
() => props.mail.id, |
|
|
|
|
() => { |
|
|
|
|
formRef.value.resetFields(); |
|
|
|
|
initForm() |
|
|
|
|
initForm(); |
|
|
|
|
// 每次改变信件需要重新计算步骤 |
|
|
|
|
resetStep() |
|
|
|
|
resetStep(); |
|
|
|
|
} |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
const resetStep = () => { |
|
|
|
|
if (props.mail.flowKey === "interview_writer") { |
|
|
|
|
step.value = 2; |
|
|
|
|
} |
|
|
|
|
else if (props.mail.flowKey === "verify") { |
|
|
|
|
} else if (props.mail.flowKey === "verify") { |
|
|
|
|
step.value = 3; |
|
|
|
|
} else |
|
|
|
|
step.value = 1; |
|
|
|
|
} else step.value = 1; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
watch( |
|
|
|
|
@ -450,7 +584,9 @@ watch(
|
|
|
|
|
|
|
|
|
|
watch( |
|
|
|
|
() => props.mail.coHandlingPolices, |
|
|
|
|
(val) => updateCoHandlingPolices |
|
|
|
|
(val) => { |
|
|
|
|
updateCoHandlingPolices() |
|
|
|
|
} |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
if (props.mail.coHandlingPolices) { |
|
|
|
|
@ -458,6 +594,7 @@ if (props.mail.coHandlingPolices) {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function updateCoHandlingPolices() { |
|
|
|
|
console.log('updateCoHandlingPolices') |
|
|
|
|
const data = { ...props.data }; |
|
|
|
|
data.coHandlingPolices = props.mail.coHandlingPolices; |
|
|
|
|
emits("update:data", data); |
|
|
|
|
@ -479,7 +616,7 @@ const activeStep = computed(() => step.value);
|
|
|
|
|
|
|
|
|
|
function handleChangeTab(index) { |
|
|
|
|
if (props.mail.flowKey === "verify") { |
|
|
|
|
activeStep.value = index; |
|
|
|
|
step.value = index; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -497,7 +634,7 @@ function handleSelect(empNo, option) {
|
|
|
|
|
|
|
|
|
|
function getDepts(mail) { |
|
|
|
|
if (mail.mainDeptLevel === 1) { |
|
|
|
|
deptLists().then((data) => { |
|
|
|
|
deptAll().then((data) => { |
|
|
|
|
depts.value = data; |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
@ -514,6 +651,16 @@ function getDepts(mail) {
|
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
const getExpandedKeys = () => { |
|
|
|
|
if ( |
|
|
|
|
depts.value.length && |
|
|
|
|
depts.value[0].children && |
|
|
|
|
depts.value[0].children.length > 0 |
|
|
|
|
) { |
|
|
|
|
return [depts.value[0].id]; |
|
|
|
|
} |
|
|
|
|
return []; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
const polices = ref([]); |
|
|
|
|
function handleChangeDept(deptId) { |
|
|
|
|
@ -541,7 +688,7 @@ function initForm() {
|
|
|
|
|
contactTime: props.mail.contactTime, |
|
|
|
|
contactDuration: props.mail.contactDuration, |
|
|
|
|
// 接访群众 |
|
|
|
|
interviewType: props.mail.verifyDetails, |
|
|
|
|
interviewType: props.mail.interviewType, |
|
|
|
|
interviewIsLeader: props.mail.interviewIsLeader, |
|
|
|
|
interviewPoliceEmpNo: props.mail.interviewPoliceEmpNo, |
|
|
|
|
interviewDetails: props.mail.interviewDetails, |
|
|
|
|
@ -582,8 +729,23 @@ function validate() {
|
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function getData() { |
|
|
|
|
return new Promise((resolve, reject) => { |
|
|
|
|
const verifyReportedPolices = reportedPolices.value.filter( |
|
|
|
|
(item) => item.empNo |
|
|
|
|
); |
|
|
|
|
form.value.verifyReportedPolices = JSON.stringify( |
|
|
|
|
verifyReportedPolices |
|
|
|
|
); |
|
|
|
|
const data = { ...props.data, ...form.value }; |
|
|
|
|
emits("update:data", data); |
|
|
|
|
resolve(true); |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
defineExpose({ |
|
|
|
|
validate, |
|
|
|
|
getData |
|
|
|
|
}); |
|
|
|
|
</script> |
|
|
|
|
<style lang="scss" scoped> |
|
|
|
|
|