|
|
|
|
@ -1,96 +1,116 @@
|
|
|
|
|
<template> |
|
|
|
|
<div class="container"> |
|
|
|
|
<header> |
|
|
|
|
<el-form :label-width="114"> |
|
|
|
|
<el-form :label-width="120"> |
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<el-form-item label="问题发生时间"> |
|
|
|
|
<el-form-item label="问题发现时间"> |
|
|
|
|
<date-time-range-picker-ext |
|
|
|
|
v-model="query.happenTime" |
|
|
|
|
v-model="query.discoveryTime" |
|
|
|
|
/> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<el-form-item label="问题来源"> |
|
|
|
|
<el-tree-select |
|
|
|
|
:data="dictProblemSources" |
|
|
|
|
:props="{ value: 'id' }" |
|
|
|
|
node-key="id" |
|
|
|
|
v-model="query.problemSourcesCode" |
|
|
|
|
clearable |
|
|
|
|
filterable |
|
|
|
|
<el-form-item label="问题发生时间"> |
|
|
|
|
<date-time-range-picker-ext |
|
|
|
|
v-model="query.happenTime" |
|
|
|
|
/> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<el-form-item label="业务类别"> |
|
|
|
|
<el-select |
|
|
|
|
v-model="query.businessTypeCode" |
|
|
|
|
clearable |
|
|
|
|
> |
|
|
|
|
<el-option |
|
|
|
|
v-for="item in dict.businessType" |
|
|
|
|
:key="item.id" |
|
|
|
|
:label="item.dictLabel" |
|
|
|
|
:value="item.dictValue" |
|
|
|
|
/> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<el-form-item label="涉嫌问题"> |
|
|
|
|
<el-select v-model="query.involveProblem" clearable> |
|
|
|
|
<el-option |
|
|
|
|
v-for="item in dict.suspectProblem" |
|
|
|
|
:key="item.id" |
|
|
|
|
:label="item.dictLabel" |
|
|
|
|
:value="item.dictLabel" |
|
|
|
|
/> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<el-form-item label="问题内容"> |
|
|
|
|
<el-input |
|
|
|
|
placeholder="请输入问题内容" |
|
|
|
|
v-model="query.thingDesc" |
|
|
|
|
clearable |
|
|
|
|
<el-form-item label="问题录入时间"> |
|
|
|
|
<date-time-range-picker-ext |
|
|
|
|
v-model="query.crtTime" |
|
|
|
|
/> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<el-form-item label="涉及单位"> |
|
|
|
|
<depart-tree-select |
|
|
|
|
v-model="query.involveDepartId" |
|
|
|
|
:check-strictly="false" |
|
|
|
|
</el-row> |
|
|
|
|
<div class="form-row flex"> |
|
|
|
|
<label class="text-center">问题信息</label> |
|
|
|
|
<div class="flex wrap query-box"> |
|
|
|
|
<el-input |
|
|
|
|
placeholder="问题编号 / 样本源头编号" |
|
|
|
|
v-model="query.originId" |
|
|
|
|
clearable |
|
|
|
|
style="width: 200px" |
|
|
|
|
size="small" |
|
|
|
|
/> |
|
|
|
|
<el-input |
|
|
|
|
placeholder="事情简要描述" |
|
|
|
|
v-model="query.thingDesc" |
|
|
|
|
clearable |
|
|
|
|
style="width: 280px" |
|
|
|
|
size="small" |
|
|
|
|
/> |
|
|
|
|
<el-select |
|
|
|
|
size="small" |
|
|
|
|
style="width: 146px" |
|
|
|
|
placeholder="业务类别" |
|
|
|
|
clearable |
|
|
|
|
v-model="query.businessTypeCode" |
|
|
|
|
> |
|
|
|
|
<el-option |
|
|
|
|
v-for="item in dict.businessType" |
|
|
|
|
:key="item.id" |
|
|
|
|
:label="item.dictLabel" |
|
|
|
|
:value="item.dictValue" |
|
|
|
|
/> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<el-form-item label="办理单位"> |
|
|
|
|
<depart-tree-select |
|
|
|
|
v-model="query.handleThreeDepartId" |
|
|
|
|
:check-strictly="false" |
|
|
|
|
</el-select> |
|
|
|
|
<el-tree-select |
|
|
|
|
:data="dictProblemSources" |
|
|
|
|
:props="{ value: 'id' }" |
|
|
|
|
node-key="id" |
|
|
|
|
v-model="query.problemSourcesCode" |
|
|
|
|
clearable |
|
|
|
|
filterable |
|
|
|
|
size="small" |
|
|
|
|
style="width: 180px" |
|
|
|
|
placeholder="问题来源" |
|
|
|
|
/> |
|
|
|
|
<el-select |
|
|
|
|
size="small" |
|
|
|
|
style="width: 146px" |
|
|
|
|
placeholder="专项督察" |
|
|
|
|
clearable |
|
|
|
|
v-model="query.specialSupervision" |
|
|
|
|
> |
|
|
|
|
<el-option |
|
|
|
|
v-for="item in dict.specialSupervision" |
|
|
|
|
:key="item.id" |
|
|
|
|
:label="item.dictLabel" |
|
|
|
|
:value="item.dictValue" |
|
|
|
|
/> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="6"> |
|
|
|
|
<el-form-item label="办理状态"> |
|
|
|
|
<dict-select |
|
|
|
|
name="processingStatus" |
|
|
|
|
v-model="query.processingStatus" |
|
|
|
|
</el-select> |
|
|
|
|
<el-input |
|
|
|
|
placeholder="通报期数" |
|
|
|
|
size="small" |
|
|
|
|
style="width: 146px" |
|
|
|
|
v-model="query.reportNumber" |
|
|
|
|
clearable |
|
|
|
|
/> |
|
|
|
|
<div style="width: 180px"> |
|
|
|
|
<depart-tree-select |
|
|
|
|
v-model="query.involveDepartId" |
|
|
|
|
placeholder="涉及单位" |
|
|
|
|
size="small" |
|
|
|
|
/> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="6"> </el-col> |
|
|
|
|
</el-row> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="form-row flex"> |
|
|
|
|
<label class="text-center">其他选项</label> |
|
|
|
|
<label class="text-center">核查情况</label> |
|
|
|
|
<div class="flex wrap query-box"> |
|
|
|
|
<div style="width: 180px"> |
|
|
|
|
<depart-tree-select |
|
|
|
|
v-model="query.handleDepartId" |
|
|
|
|
placeholder="办理单位" |
|
|
|
|
size="small" |
|
|
|
|
/> |
|
|
|
|
</div> |
|
|
|
|
<el-select |
|
|
|
|
size="small" |
|
|
|
|
style="width: 120px" |
|
|
|
|
placeholder="核查情况" |
|
|
|
|
placeholder="是否属实" |
|
|
|
|
clearable |
|
|
|
|
v-model="query.checkStatus" |
|
|
|
|
> |
|
|
|
|
@ -102,39 +122,141 @@
|
|
|
|
|
/> |
|
|
|
|
</el-select> |
|
|
|
|
<el-select |
|
|
|
|
placeholder="处置结果" |
|
|
|
|
size="small" |
|
|
|
|
style="width: 180px" |
|
|
|
|
v-model="query.handleResultCode" |
|
|
|
|
style="width: 120px" |
|
|
|
|
placeholder="是否整改" |
|
|
|
|
clearable |
|
|
|
|
multiple |
|
|
|
|
v-model="query.isRectifyCode" |
|
|
|
|
> |
|
|
|
|
<el-option |
|
|
|
|
v-for="item in dict.isRectify" |
|
|
|
|
:key="item.id" |
|
|
|
|
:label="item.dictLabel" |
|
|
|
|
:value="item.dictValue" |
|
|
|
|
/> |
|
|
|
|
</el-select> |
|
|
|
|
<div class="flex gap-4"> |
|
|
|
|
<el-select |
|
|
|
|
v-model="query.blameKey" |
|
|
|
|
style="width: 120px" |
|
|
|
|
@change="delete query.blameValue" |
|
|
|
|
size="small" |
|
|
|
|
> |
|
|
|
|
<el-option value="name" label="姓名" /> |
|
|
|
|
<el-option value="empNo" label="警号" /> |
|
|
|
|
<el-option value="idCode" label="身份证" /> |
|
|
|
|
</el-select> |
|
|
|
|
<el-input |
|
|
|
|
placeholder="涉及人员" |
|
|
|
|
v-model="query.blameValue" |
|
|
|
|
clearable |
|
|
|
|
size="small" |
|
|
|
|
style="width: 160px" |
|
|
|
|
/> |
|
|
|
|
</div> |
|
|
|
|
<el-select placeholder="处置结果" |
|
|
|
|
v-model="query.handleResultCode" |
|
|
|
|
clearable |
|
|
|
|
size="small" |
|
|
|
|
style="width: 280px" multiple> |
|
|
|
|
<el-option |
|
|
|
|
v-for="item in dict.handleResult" |
|
|
|
|
:key="item.dictValue" |
|
|
|
|
:key="item.id" |
|
|
|
|
:label="item.dictLabel" |
|
|
|
|
:value="item.dictValue" |
|
|
|
|
/> |
|
|
|
|
</el-select> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</el-form> |
|
|
|
|
<div class="mb-25 flex between"> |
|
|
|
|
<div> |
|
|
|
|
<el-button |
|
|
|
|
type="primary" |
|
|
|
|
@click="addShow = true" |
|
|
|
|
v-perms="['negative:add']" |
|
|
|
|
><template #icon> |
|
|
|
|
<icon name="el-icon-Plus" /> </template |
|
|
|
|
>问题下发</el-button |
|
|
|
|
> |
|
|
|
|
<div class="form-row flex"> |
|
|
|
|
<label class="text-center">其他选项</label> |
|
|
|
|
<div class="flex wrap query-box"> |
|
|
|
|
<el-select |
|
|
|
|
size="small" |
|
|
|
|
style="width: 120px" |
|
|
|
|
placeholder="办理状态" |
|
|
|
|
clearable |
|
|
|
|
v-model="query.processingStatus" |
|
|
|
|
multiple |
|
|
|
|
> |
|
|
|
|
<el-option |
|
|
|
|
v-for="item in dict.processingStatus" |
|
|
|
|
:key="item.id" |
|
|
|
|
:label="item.dictLabel" |
|
|
|
|
:value="item.dictValue" |
|
|
|
|
/> |
|
|
|
|
</el-select> |
|
|
|
|
<el-select |
|
|
|
|
size="small" |
|
|
|
|
style="width: 150px" |
|
|
|
|
placeholder="流程阶段" |
|
|
|
|
clearable |
|
|
|
|
v-model="query.flowKey" |
|
|
|
|
> |
|
|
|
|
<el-option |
|
|
|
|
v-for="item in flowNodes" |
|
|
|
|
:key="item.flowKey" |
|
|
|
|
:label="item.flowName" |
|
|
|
|
:value="item.flowKey" |
|
|
|
|
/> |
|
|
|
|
</el-select> |
|
|
|
|
<el-select |
|
|
|
|
size="small" |
|
|
|
|
style="width: 120px" |
|
|
|
|
placeholder="是否超时" |
|
|
|
|
clearable |
|
|
|
|
v-model="query.timeoutFlag" |
|
|
|
|
> |
|
|
|
|
<el-option label="未超时" :value="false" /> |
|
|
|
|
<el-option label="已超时" :value="true" /> |
|
|
|
|
</el-select> |
|
|
|
|
<el-select |
|
|
|
|
size="small" |
|
|
|
|
style="width: 120px" |
|
|
|
|
placeholder="申请延期" |
|
|
|
|
clearable |
|
|
|
|
v-model="query.extensionFlag" |
|
|
|
|
> |
|
|
|
|
<el-option label="已申请" :value="true" /> |
|
|
|
|
<el-option label="未申请" :value="false" /> |
|
|
|
|
</el-select> |
|
|
|
|
<el-select |
|
|
|
|
size="small" |
|
|
|
|
style="width: 146px" |
|
|
|
|
placeholder="下发单位的层级" |
|
|
|
|
clearable |
|
|
|
|
v-model="query.crtDepartLevel" |
|
|
|
|
> |
|
|
|
|
<el-option label="市局下发" :value="0" /> |
|
|
|
|
<el-option label="二级机构下发" :value="2" /> |
|
|
|
|
</el-select> |
|
|
|
|
<div class="flex gap-4"> |
|
|
|
|
<el-select |
|
|
|
|
v-model="query.responderKey" |
|
|
|
|
style="width: 120px" |
|
|
|
|
@change="delete query.responderValue" |
|
|
|
|
size="small" |
|
|
|
|
> |
|
|
|
|
<el-option value="name" label="姓名" /> |
|
|
|
|
<el-option value="phone" label="电话" /> |
|
|
|
|
</el-select> |
|
|
|
|
<el-input |
|
|
|
|
placeholder="投诉反映人" |
|
|
|
|
v-model="query.responderValue" |
|
|
|
|
clearable |
|
|
|
|
size="small" |
|
|
|
|
style="width: 160px" |
|
|
|
|
/> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</el-form> |
|
|
|
|
<div class="flex end mt-20 mb-26"> |
|
|
|
|
<div> |
|
|
|
|
<el-button type="primary" @click="getList"> |
|
|
|
|
<template #icon> |
|
|
|
|
<icon name="el-icon-Search" /> |
|
|
|
|
</template> |
|
|
|
|
<template #icon |
|
|
|
|
><icon name="el-icon-Search" |
|
|
|
|
/></template> |
|
|
|
|
查询</el-button |
|
|
|
|
> |
|
|
|
|
<el-button @click="reset">重置</el-button> |
|
|
|
|
@ -197,7 +319,11 @@
|
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="问题发现时间" prop="discoveryTime" width="160" /> |
|
|
|
|
<el-table-column |
|
|
|
|
label="问题发现时间" |
|
|
|
|
prop="discoveryTime" |
|
|
|
|
width="150" |
|
|
|
|
/> |
|
|
|
|
<el-table-column label="问题来源" prop="problemSources" /> |
|
|
|
|
<el-table-column label="业务类别" prop="businessTypeName" /> |
|
|
|
|
<el-table-column label="涉嫌问题"> |
|
|
|
|
@ -223,7 +349,12 @@
|
|
|
|
|
> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="核查情况" prop="checkStatusName" width="100" align="center" /> |
|
|
|
|
<el-table-column |
|
|
|
|
label="核查情况" |
|
|
|
|
prop="checkStatusName" |
|
|
|
|
width="100" |
|
|
|
|
align="center" |
|
|
|
|
/> |
|
|
|
|
<el-table-column label="办理状态"> |
|
|
|
|
<template #default="{ row }"> |
|
|
|
|
<el-tag>{{ |
|
|
|
|
@ -234,6 +365,25 @@
|
|
|
|
|
}}</el-tag> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="流程限时" width="150" align="center"> |
|
|
|
|
<template #default="{ row }"> |
|
|
|
|
<countdown |
|
|
|
|
:time="row.remainingDuration" |
|
|
|
|
v-if=" |
|
|
|
|
row.remainingDuration && |
|
|
|
|
row.processingStatus !== |
|
|
|
|
ProcessingStatus.COMPLETED |
|
|
|
|
" |
|
|
|
|
/> |
|
|
|
|
<el-tag |
|
|
|
|
v-else-if="row.handleTimeout" |
|
|
|
|
type="danger" |
|
|
|
|
effect="dark" |
|
|
|
|
>办理超时 |
|
|
|
|
{{ formatTimeText(row.handleTimeout) }}</el-tag |
|
|
|
|
> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="流程节点"> |
|
|
|
|
<template #default="{ row }"> |
|
|
|
|
<el-tag v-if="row.flowKey">{{ |
|
|
|
|
@ -282,8 +432,8 @@
|
|
|
|
|
</template> |
|
|
|
|
<script lang="ts" setup> |
|
|
|
|
import { listTodos } from "@/api/work"; |
|
|
|
|
|
|
|
|
|
import { getDictLable, getInvolveProblem } from "@/utils/util"; |
|
|
|
|
import { ProcessingStatus } from "@/enums/flowEnums"; |
|
|
|
|
import { getDictLable, getInvolveProblem, formatTimeText } from "@/utils/util"; |
|
|
|
|
|
|
|
|
|
import useCatchStore from "@/stores/modules/catch"; |
|
|
|
|
|
|
|
|
|
|