|
@@ -24,33 +24,47 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6">
|
|
<el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6">
|
|
- <el-form-item label="事项分类" prop="EventTypeId">
|
|
|
|
- <el-tree-select
|
|
|
|
- v-model="state.queryParams.EventTypeId"
|
|
|
|
- :data="treeList"
|
|
|
|
- :props="{
|
|
|
|
- label: 'eventTypeName',
|
|
|
|
- value: 'id',
|
|
|
|
- children: 'children',
|
|
|
|
- }"
|
|
|
|
- class="w100"
|
|
|
|
- ref="treeRef"
|
|
|
|
- @change="handleQuery"
|
|
|
|
- filterable
|
|
|
|
- />
|
|
|
|
|
|
+ <el-form-item label="受理类型" prop="AcceptTypeCode">
|
|
|
|
+ <el-select v-model="state.queryParams.AcceptTypeCode" placeholder="请选择受理类型" clearable class="w100" @change="handleQuery">
|
|
|
|
+ <el-option v-for="item in state.acceptTypeOptions" :value="item.value" :key="item.value" :label="item.key" />
|
|
|
|
+ </el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
- <transition name="el-zoom-in-top" v-show="!searchCol">
|
|
|
|
- <el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6">
|
|
|
|
- <el-form-item label="省工单编码" prop="ProvinceNo">
|
|
|
|
- <el-input v-model="state.queryParams.ProvinceNo" placeholder="省工单编码" clearable @keyup.enter="handleQuery" />
|
|
|
|
|
|
+ <transition name="el-zoom-in-top">
|
|
|
|
+ <el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6" v-show="!searchCol">
|
|
|
|
+ <el-form-item label="热点分类" prop="HotspotId">
|
|
|
|
+ <el-tree-select
|
|
|
|
+ v-model="state.queryParams.HotspotId"
|
|
|
|
+ :data="state.enforcementHotspot"
|
|
|
|
+ :render-after-expand="false"
|
|
|
|
+ class="w100"
|
|
|
|
+ node-key="id"
|
|
|
|
+ :props="{
|
|
|
|
+ isLeaf: 'hasChild',
|
|
|
|
+ children: 'children',
|
|
|
|
+ label: 'hotSpotFullName',
|
|
|
|
+ }"
|
|
|
|
+ placeholder="请选择热点分类"
|
|
|
|
+ filterable
|
|
|
|
+ expand-on-click-node
|
|
|
|
+ @change="handleQuery"
|
|
|
|
+ />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
</transition>
|
|
</transition>
|
|
- <transition name="el-zoom-in-top" v-show="!searchCol">
|
|
|
|
- <el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6">
|
|
|
|
- <el-form-item label="来电人姓名" prop="FromName">
|
|
|
|
- <el-input v-model="state.queryParams.FromName" placeholder="来电人姓名" clearable @keyup.enter="handleQuery" />
|
|
|
|
|
|
+ <transition name="el-zoom-in-top">
|
|
|
|
+ <el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6" v-show="!searchCol">
|
|
|
|
+ <el-form-item label="受理人" prop="NameOrNo">
|
|
|
|
+ <el-input v-model="state.queryParams.NameOrNo" placeholder="受理人" clearable @keyup.enter="handleQuery" />
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ </transition>
|
|
|
|
+ <transition name="el-zoom-in-top">
|
|
|
|
+ <el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6" v-show="!searchCol">
|
|
|
|
+ <el-form-item label="执法部门" prop="OrgCode">
|
|
|
|
+ <el-select v-model="state.queryParams.OrgCode" placeholder="请选择执法部门" class="w100" @change="handleQuery">
|
|
|
|
+ <el-option v-for="item in state.orgsOptions" :key="item.id" :label="item.name" :value="item.id" />
|
|
|
|
+ </el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
</transition>
|
|
</transition>
|
|
@@ -60,17 +74,12 @@
|
|
<el-cascader
|
|
<el-cascader
|
|
:options="state.areaOptions"
|
|
:options="state.areaOptions"
|
|
filterable
|
|
filterable
|
|
- :show-all-levels="false"
|
|
|
|
- :props="{ checkStrictly: true, value: 'id', label: 'areaName', multiple: true }"
|
|
|
|
|
|
+ :props="{ checkStrictly: true, value: 'id', label: 'areaName', emitPath: false }"
|
|
placeholder="请选择事发地址"
|
|
placeholder="请选择事发地址"
|
|
clearable
|
|
clearable
|
|
class="w100"
|
|
class="w100"
|
|
v-model="state.queryParams.AreaCode"
|
|
v-model="state.queryParams.AreaCode"
|
|
- collapse-tags
|
|
|
|
- collapse-tags-tooltip
|
|
|
|
- :max-collapse-tags="2"
|
|
|
|
- ref="areaRef"
|
|
|
|
- @change="changeArea"
|
|
|
|
|
|
+ @change="handleQuery"
|
|
>
|
|
>
|
|
</el-cascader>
|
|
</el-cascader>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -78,41 +87,7 @@
|
|
</transition>
|
|
</transition>
|
|
<transition name="el-zoom-in-top" v-show="!searchCol">
|
|
<transition name="el-zoom-in-top" v-show="!searchCol">
|
|
<el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6">
|
|
<el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6">
|
|
- <el-form-item label="转接来源" prop="TransferPhone">
|
|
|
|
- <el-input v-model="state.queryParams.TransferPhone" placeholder="转接来源" clearable @keyup.enter="handleQuery" />
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
- </transition>
|
|
|
|
- <transition name="el-zoom-in-top">
|
|
|
|
- <el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6" v-show="!searchCol">
|
|
|
|
- <el-form-item label="工单状态" prop="Statuses">
|
|
|
|
- <el-select v-model="state.queryParams.Statuses" placeholder="请选择工单状态" clearable class="w100" multiple>
|
|
|
|
- <el-option v-for="item in state.orderStatusOptions" :value="item.key" :key="item.key" :label="item.value" />
|
|
|
|
- </el-select>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
- </transition>
|
|
|
|
- <transition name="el-zoom-in-top">
|
|
|
|
- <el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6" v-show="!searchCol">
|
|
|
|
- <el-form-item label="受理类型" prop="AcceptTypes">
|
|
|
|
- <el-select
|
|
|
|
- v-model="state.queryParams.AcceptTypes"
|
|
|
|
- placeholder="请选择受理类型"
|
|
|
|
- multiple
|
|
|
|
- clearable
|
|
|
|
- class="w100"
|
|
|
|
- collapse-tags
|
|
|
|
- collapse-tags-tooltip
|
|
|
|
- :max-collapse-tags="2"
|
|
|
|
- >
|
|
|
|
- <el-option v-for="item in state.acceptTypeOptions" :value="item.dicDataValue" :key="item.dicDataValue" :label="item.dicDataName" />
|
|
|
|
- </el-select>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
- </transition>
|
|
|
|
- <transition name="el-zoom-in-top">
|
|
|
|
- <el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6" v-show="!searchCol">
|
|
|
|
- <el-form-item label="来源渠道" prop="Channels">
|
|
|
|
|
|
+ <el-form-item label="来源渠道" prop="AreaCode">
|
|
<el-select
|
|
<el-select
|
|
v-model="state.queryParams.Channels"
|
|
v-model="state.queryParams.Channels"
|
|
placeholder="请选择来源渠道"
|
|
placeholder="请选择来源渠道"
|
|
@@ -123,70 +98,14 @@
|
|
collapse-tags-tooltip
|
|
collapse-tags-tooltip
|
|
:max-collapse-tags="2"
|
|
:max-collapse-tags="2"
|
|
>
|
|
>
|
|
- <el-option v-for="item in state.channelOptions" :value="item.dicDataValue" :key="item.dicDataValue" :label="item.dicDataName" />
|
|
|
|
|
|
+ <el-option v-for="item in state.channelOptions" :value="item.value" :key="item.value" :label="item.key" />
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
</transition>
|
|
</transition>
|
|
<transition name="el-zoom-in-top">
|
|
<transition name="el-zoom-in-top">
|
|
<el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6" v-show="!searchCol">
|
|
<el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6" v-show="!searchCol">
|
|
- <el-form-item label="热点分类" prop="HotspotIds">
|
|
|
|
- <el-tree-select
|
|
|
|
- v-model="state.queryParams.HotspotIds"
|
|
|
|
- :data="state.enforcementHotspot"
|
|
|
|
- multiple
|
|
|
|
- :render-after-expand="false"
|
|
|
|
- show-checkbox
|
|
|
|
- class="w100"
|
|
|
|
- node-key="id"
|
|
|
|
- :props="{
|
|
|
|
- isLeaf: 'hasChild',
|
|
|
|
- children: 'children',
|
|
|
|
- label: 'hotSpotFullName',
|
|
|
|
- }"
|
|
|
|
- check-strictly
|
|
|
|
- check-on-click-node
|
|
|
|
- collapse-tags
|
|
|
|
- collapse-tags-tooltip
|
|
|
|
- :max-collapse-tags="2"
|
|
|
|
- placeholder="请选择热点分类"
|
|
|
|
- filterable
|
|
|
|
- />
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
- </transition>
|
|
|
|
- <transition name="el-zoom-in-top">
|
|
|
|
- <el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6" v-show="!searchCol">
|
|
|
|
- <el-form-item label="接办部门" prop="OrgCodes">
|
|
|
|
- <el-cascader
|
|
|
|
- :options="state.orgsOptions"
|
|
|
|
- filterable
|
|
|
|
- :show-all-levels="false"
|
|
|
|
- :props="{ checkStrictly: true, value: 'id', label: 'name', emitPath: false, multiple: true }"
|
|
|
|
- placeholder="请选择接办部门"
|
|
|
|
- clearable
|
|
|
|
- class="w100"
|
|
|
|
- v-model="state.queryParams.OrgCodes"
|
|
|
|
- ref="cascadeRef"
|
|
|
|
- @change="getKnowledgeList"
|
|
|
|
- collapse-tags
|
|
|
|
- collapse-tags-tooltip
|
|
|
|
- :max-collapse-tags="2"
|
|
|
|
- >
|
|
|
|
- </el-cascader>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
- </transition>
|
|
|
|
- <transition name="el-zoom-in-top">
|
|
|
|
- <el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6" v-show="!searchCol">
|
|
|
|
- <el-form-item label="受理人" prop="NameOrNo">
|
|
|
|
- <el-input v-model="state.queryParams.NameOrNo" placeholder="受理人/坐席工号" clearable @keyup.enter="handleQuery" />
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
- </transition>
|
|
|
|
- <transition name="el-zoom-in-top">
|
|
|
|
- <el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6" v-show="!searchCol">
|
|
|
|
- <el-form-item label="受理时间" prop="crTime">
|
|
|
|
|
|
+ <el-form-item label="生成时间" prop="crTime">
|
|
<el-date-picker
|
|
<el-date-picker
|
|
v-model="state.queryParams.crTime"
|
|
v-model="state.queryParams.crTime"
|
|
type="datetimerange"
|
|
type="datetimerange"
|
|
@@ -195,117 +114,32 @@
|
|
start-placeholder="开始时间"
|
|
start-placeholder="开始时间"
|
|
end-placeholder="结束时间"
|
|
end-placeholder="结束时间"
|
|
:shortcuts="shortcuts"
|
|
:shortcuts="shortcuts"
|
|
- @change="timeStartChangeCr"
|
|
|
|
- value-format="YYYY-MM-DD[T]HH:mm:ss"
|
|
|
|
- :default-time="defaultTimeStartEnd"
|
|
|
|
- />
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
- </transition>
|
|
|
|
- <transition name="el-zoom-in-top">
|
|
|
|
- <el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6" v-show="!searchCol">
|
|
|
|
- <el-form-item label="来电号码" prop="FromPhone">
|
|
|
|
- <el-input v-model="state.queryParams.FromPhone" placeholder="来电号码" clearable @keyup.enter="handleQuery" />
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
- </transition>
|
|
|
|
- <transition name="el-zoom-in-top">
|
|
|
|
- <el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6" v-show="!searchCol">
|
|
|
|
- <el-form-item label="联系电话" prop="PhoneNo">
|
|
|
|
- <el-input v-model="state.queryParams.PhoneNo" placeholder="联系电话" clearable @keyup.enter="handleQuery" />
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
- </transition>
|
|
|
|
- <transition name="el-zoom-in-top">
|
|
|
|
- <el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6" v-show="!searchCol">
|
|
|
|
- <el-form-item label="推送分类" prop="PushTypeCode">
|
|
|
|
- <el-select v-model="state.queryParams.PushTypeCode" placeholder="请选择推送分类" clearable class="w100">
|
|
|
|
- <el-option v-for="item in state.pushTypeOptions" :value="item.dicDataValue" :key="item.dicDataValue" :label="item.dicDataName" />
|
|
|
|
- </el-select>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
- </transition>
|
|
|
|
- <transition name="el-zoom-in-top">
|
|
|
|
- <el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6" v-show="!searchCol">
|
|
|
|
- <el-form-item label="过期时间" prop="exTime">
|
|
|
|
- <el-date-picker
|
|
|
|
- v-model="state.queryParams.exTime"
|
|
|
|
- type="datetimerange"
|
|
|
|
- unlink-panels
|
|
|
|
- range-separator="至"
|
|
|
|
- start-placeholder="开始时间"
|
|
|
|
- end-placeholder="结束时间"
|
|
|
|
- :shortcuts="shortcuts"
|
|
|
|
- @change="timeStartChangeEx"
|
|
|
|
|
|
+ @change="handleQuery"
|
|
value-format="YYYY-MM-DD[T]HH:mm:ss"
|
|
value-format="YYYY-MM-DD[T]HH:mm:ss"
|
|
- :default-time="defaultTimeStartEnd"
|
|
|
|
|
|
+ :default-time="defaultTimeStartEnd"
|
|
/>
|
|
/>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
</transition>
|
|
</transition>
|
|
<transition name="el-zoom-in-top">
|
|
<transition name="el-zoom-in-top">
|
|
<el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6" v-show="!searchCol">
|
|
<el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6" v-show="!searchCol">
|
|
- <el-form-item label="接办人" prop="ActualHandlerName">
|
|
|
|
- <el-input v-model="state.queryParams.ActualHandlerName" placeholder="接办人" clearable @keyup.enter="handleQuery" />
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
- </transition>
|
|
|
|
- <transition name="el-zoom-in-top">
|
|
|
|
- <el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6" v-show="!searchCol">
|
|
|
|
- <el-form-item label="是否甄别" prop="IsScreen">
|
|
|
|
- <el-select v-model="state.queryParams.IsScreen" placeholder="请选择是否甄别" class="w100" clearable>
|
|
|
|
- <el-option label="是" :value="true" />
|
|
|
|
- <el-option label="否" :value="false" />
|
|
|
|
- </el-select>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
- </transition>
|
|
|
|
- <transition name="el-zoom-in-top">
|
|
|
|
- <el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6" v-show="!searchCol">
|
|
|
|
- <el-form-item label="当前办理节点" prop="CurrentStepCode">
|
|
|
|
- <el-select v-model="state.queryParams.CurrentStepCode" placeholder="请选择当前办理节点" clearable class="w100">
|
|
|
|
- <el-option v-for="item in state.currentStepOptions" :value="item.key" :key="item.key" :label="item.value" />
|
|
|
|
- </el-select>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
- </transition>
|
|
|
|
- <transition name="el-zoom-in-top">
|
|
|
|
- <el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6" v-show="!searchCol">
|
|
|
|
- <el-form-item label="办结时间" prop="doneTime">
|
|
|
|
- <el-date-picker
|
|
|
|
- v-model="state.queryParams.doneTime"
|
|
|
|
- type="datetimerange"
|
|
|
|
- unlink-panels
|
|
|
|
- range-separator="至"
|
|
|
|
- start-placeholder="开始时间"
|
|
|
|
- end-placeholder="结束时间"
|
|
|
|
- :shortcuts="shortcuts"
|
|
|
|
- @change="timeStartChangeDone"
|
|
|
|
- value-format="YYYY-MM-DD[T]HH:mm:ss"
|
|
|
|
- :default-time="defaultTimeStartEnd"
|
|
|
|
|
|
+ <el-form-item label="事项分类" prop="EventTypeId">
|
|
|
|
+ <el-tree-select
|
|
|
|
+ v-model="state.queryParams.EventTypeId"
|
|
|
|
+ :data="treeList"
|
|
|
|
+ :props="{
|
|
|
|
+ label: 'eventTypeName',
|
|
|
|
+ value: 'id',
|
|
|
|
+ children: 'children',
|
|
|
|
+ }"
|
|
|
|
+ class="w100"
|
|
|
|
+ ref="treeRef"
|
|
|
|
+ @change="handleQuery"
|
|
|
|
+ filterable
|
|
/>
|
|
/>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
</transition>
|
|
</transition>
|
|
- <transition name="el-zoom-in-top">
|
|
|
|
- <el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6" v-show="!searchCol">
|
|
|
|
- <el-form-item label="是否超期" prop="IsOverTime">
|
|
|
|
- <el-select v-model="state.queryParams.IsOverTime" placeholder="请选择是否超期" class="w100" clearable>
|
|
|
|
- <el-option label="是" :value="true" />
|
|
|
|
- <el-option label="否" :value="false" />
|
|
|
|
- </el-select>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
- </transition>
|
|
|
|
- <transition name="el-zoom-in-top">
|
|
|
|
- <el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6" v-show="!searchCol">
|
|
|
|
- <el-form-item label="来电主体" prop="IdentityType">
|
|
|
|
- <el-select v-model="state.queryParams.IdentityType" placeholder="请选择来电主体" clearable class="w100">
|
|
|
|
- <el-option v-for="item in state.identityTypeOptions" :value="item.key" :key="item.key" :label="item.value" />
|
|
|
|
- </el-select>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-col>
|
|
|
|
- </transition>
|
|
|
|
<el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6">
|
|
<el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6">
|
|
<el-form-item label=" ">
|
|
<el-form-item label=" ">
|
|
<div class="flex-end w100">
|
|
<div class="flex-end w100">
|
|
@@ -337,7 +171,6 @@
|
|
>
|
|
>
|
|
<!-- 表格 header 按钮 -->
|
|
<!-- 表格 header 按钮 -->
|
|
<template #tableHeader="scope">
|
|
<template #tableHeader="scope">
|
|
- <el-button type="primary" @click="onAddOrder" v-auth="'judicial:order:add'"> <SvgIcon name="ele-Plus" class="mr5" />新建工单 </el-button>
|
|
|
|
<el-button
|
|
<el-button
|
|
type="primary"
|
|
type="primary"
|
|
@click="onVerify(null)"
|
|
@click="onVerify(null)"
|
|
@@ -356,9 +189,9 @@
|
|
<template #title="{ row }">
|
|
<template #title="{ row }">
|
|
<order-detail :order="row" @updateList="queryList">{{ row.title }}</order-detail>
|
|
<order-detail :order="row" @updateList="queryList">{{ row.title }}</order-detail>
|
|
</template>
|
|
</template>
|
|
- <template #isTheClueTrue="{row}">
|
|
|
|
- <span>{{ row.isTheClueTrue !== null ? (row.isTheClueTrue ? '是' : '否') : '' }}</span>
|
|
|
|
- </template>
|
|
|
|
|
|
+ <template #isTheClueTrue="{ row }">
|
|
|
|
+ <span>{{ row.isTheClueTrue !== null ? (row.isTheClueTrue ? '是' : '否') : '' }}</span>
|
|
|
|
+ </template>
|
|
<!-- 表格操作 -->
|
|
<!-- 表格操作 -->
|
|
<template #operation="{ row }">
|
|
<template #operation="{ row }">
|
|
<el-button link type="primary" @click="onVerify(row)" title="线索核实" v-if="row.isTheClueTrue === null" v-auth="'judicial:order:verify'">
|
|
<el-button link type="primary" @click="onVerify(row)" title="线索核实" v-if="row.isTheClueTrue === null" v-auth="'judicial:order:verify'">
|
|
@@ -376,12 +209,12 @@
|
|
<script setup lang="tsx" name="judicialOrder">
|
|
<script setup lang="tsx" name="judicialOrder">
|
|
import { defineAsyncComponent, onMounted, reactive, ref } from 'vue';
|
|
import { defineAsyncComponent, onMounted, reactive, ref } from 'vue';
|
|
import type { FormInstance } from 'element-plus';
|
|
import type { FormInstance } from 'element-plus';
|
|
-import { defaultTimeStartEnd, shortcuts } from "@/utils/constants";
|
|
|
|
-import other from '@/utils/other';
|
|
|
|
|
|
+import { defaultTimeStartEnd, shortcuts } from '@/utils/constants';
|
|
import { useRoute, useRouter } from 'vue-router';
|
|
import { useRoute, useRouter } from 'vue-router';
|
|
import { formatDate } from '@/utils/formatTime';
|
|
import { formatDate } from '@/utils/formatTime';
|
|
-import { treeArea } from '@/api/auxiliary/area';
|
|
|
|
-import { getCluesBaseData, getWorkList, listBaseData } from '@/api/judicial';
|
|
|
|
|
|
+import { getCluesBaseData, getWorkList, listBaseData } from '@/api/judicial';
|
|
|
|
+import Other from '@/utils/other';
|
|
|
|
+import {treeArea} from "@/api/auxiliary/area";
|
|
|
|
|
|
// 引入组件
|
|
// 引入组件
|
|
const OrderDetail = defineAsyncComponent(() => import('@/components/OrderDetail/index.vue')); // 工单详情
|
|
const OrderDetail = defineAsyncComponent(() => import('@/components/OrderDetail/index.vue')); // 工单详情
|
|
@@ -394,48 +227,23 @@ const state = reactive<any>({
|
|
PageSize: 10, // 每页条数
|
|
PageSize: 10, // 每页条数
|
|
// 查询条件
|
|
// 查询条件
|
|
No: null, // 工单编码
|
|
No: null, // 工单编码
|
|
- ProvinceNo: null, // 省工单编码
|
|
|
|
- ActualHandlerName: null, // 接办人
|
|
|
|
- IsScreen: null, // 是否甄别
|
|
|
|
- CurrentStepCode: null, // 当前办理节点
|
|
|
|
- IsOverTime: null, // 是否超期
|
|
|
|
- FromName: null, // 来电人姓名
|
|
|
|
- AreaCode: [],
|
|
|
|
- AreaCodes: [], // 事发地址
|
|
|
|
- FromPhone: null, // 来电号码
|
|
|
|
- Title: null, // 工单标题
|
|
|
|
- Content: null, // 工单内容
|
|
|
|
- AcceptTypes: null, // 受理类型
|
|
|
|
- Channels: null, // 渠道
|
|
|
|
- HotspotIds: [], // 热点
|
|
|
|
- OrgCodes: [], // 机构
|
|
|
|
- NameOrNo: null, // 受理坐席
|
|
|
|
- crTime: [], // 创建时间
|
|
|
|
- CreationTimeStart: null, // 创建时间 开始
|
|
|
|
- CreationTimeEnd: null, // 创建时间 结束
|
|
|
|
- TransferPhone: null, // 转派人
|
|
|
|
- exTime: [], // 过期时间
|
|
|
|
- ExpiredTimeStart: null, //办理期限 开始
|
|
|
|
- ExpiredTimeEnd: null, //办理期限 结束
|
|
|
|
- PhoneNo: null, // 手机号
|
|
|
|
- Statuses: [], // 状态
|
|
|
|
- doneTime: [], // 办结时间
|
|
|
|
- PushTypeCode: null, //推送类型
|
|
|
|
- IsProvinceOrder: null, // 省市工单
|
|
|
|
- EventTypeId: null, //事件类型
|
|
|
|
|
|
+ Title: null,
|
|
|
|
+ HotspotId: null,
|
|
|
|
+ AcceptTypeCode: null,
|
|
|
|
+ OrgCode: null,
|
|
|
|
+ AreaCode: null,
|
|
|
|
+ crTime: [],
|
|
|
|
+ CreationTimeStart: null,
|
|
|
|
+ CreationTimeEnd: null,
|
|
|
|
+ NameOrNo: null,
|
|
},
|
|
},
|
|
tableData: [], //表单
|
|
tableData: [], //表单
|
|
loading: false, // 加载
|
|
loading: false, // 加载
|
|
total: 0, // 总数
|
|
total: 0, // 总数
|
|
acceptTypeOptions: [], //受理类型
|
|
acceptTypeOptions: [], //受理类型
|
|
channelOptions: [], // 来源频道
|
|
channelOptions: [], // 来源频道
|
|
- orderStatusOptions: [], // 工单状态
|
|
|
|
- currentStepOptions: [], // 当前办理节点
|
|
|
|
- identityTypeOptions: [], // 来电主体
|
|
|
|
orgsOptions: [], // 部门
|
|
orgsOptions: [], // 部门
|
|
- pushTypeOptions: [], //推送分类
|
|
|
|
enforcementHotspot: [], // 热点类型
|
|
enforcementHotspot: [], // 热点类型
|
|
- orgData: [], // 机构数据
|
|
|
|
areaOptions: [], // 省市区数据
|
|
areaOptions: [], // 省市区数据
|
|
});
|
|
});
|
|
const fastSearch = ref('all'); // tab位置
|
|
const fastSearch = ref('all'); // tab位置
|
|
@@ -478,42 +286,20 @@ const selectable = (row: any) => {
|
|
// 表格配置项
|
|
// 表格配置项
|
|
const columns = ref<any[]>([
|
|
const columns = ref<any[]>([
|
|
{ type: 'selection', fixed: 'left', width: 55, selectable: selectable, align: 'center' },
|
|
{ type: 'selection', fixed: 'left', width: 55, selectable: selectable, align: 'center' },
|
|
- { prop: 'expiredStatusText', label: '超期状态', align: 'center',width: 80 },
|
|
|
|
- { prop: 'no', label: '工单编码', width: 150 },
|
|
|
|
- { prop: 'provinceNo', label: '省工单编码', width: 200 },
|
|
|
|
- { prop: 'isProvince', label: '省/市工单', width: 100 },
|
|
|
|
- { prop: 'actualHandleStepName', label: '办理节点', width: 150 },
|
|
|
|
- { prop: 'statusText', label: '工单状态', width: 100 },
|
|
|
|
- { prop: 'title', label: '工单标题', width: 300 },
|
|
|
|
- {
|
|
|
|
- prop: 'startTime',
|
|
|
|
- label: '受理时间',
|
|
|
|
- width: 170,
|
|
|
|
- render: (scope) => {
|
|
|
|
- return <span>{formatDate(scope.row.startTime, 'YYYY-mm-dd HH:MM:SS')}</span>;
|
|
|
|
- },
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- prop: 'expiredTime',
|
|
|
|
- label: '工单期满时间',
|
|
|
|
- width: 170,
|
|
|
|
- render: (scope) => {
|
|
|
|
- return <span>{formatDate(scope.row.expiredTime, 'YYYY-mm-dd HH:MM:SS')}</span>;
|
|
|
|
- },
|
|
|
|
- },
|
|
|
|
|
|
+ { prop: 'no', label: '工单编码', minWidth: 160 },
|
|
|
|
+ { prop: 'acceptType', label: '受理类型', minWidth: 150 },
|
|
|
|
+ { prop: 'hotspotName', label: '热点分类', minWidth: 200 },
|
|
|
|
+ { prop: 'acceptType', label: '执法部门', minWidth: 150 },
|
|
|
|
+ { prop: 'city', label: '事发地址', minWidth: 150 },
|
|
{
|
|
{
|
|
- prop: 'filedTime',
|
|
|
|
- label: '办结时间',
|
|
|
|
|
|
+ prop: 'creationTime',
|
|
|
|
+ label: '生成时间',
|
|
width: 170,
|
|
width: 170,
|
|
render: (scope) => {
|
|
render: (scope) => {
|
|
- return <span>{formatDate(scope.row.filedTime, 'YYYY-mm-dd HH:MM:SS')}</span>;
|
|
|
|
|
|
+ return <span>{formatDate(scope.row.creationTime, 'YYYY-mm-dd HH:MM:SS')}</span>;
|
|
},
|
|
},
|
|
},
|
|
},
|
|
- { prop: 'orgLevelOneName', label: '一级部门', width: 170 },
|
|
|
|
- { prop: 'actualHandleOrgName', label: '接办部门', width: 170 },
|
|
|
|
- { prop: 'acceptType', label: '受理类型', width: 150 },
|
|
|
|
- { prop: 'sourceChannel', label: '来源渠道', width: 100 },
|
|
|
|
- { prop: 'hotspotName', label: '热点分类', width: 200 },
|
|
|
|
|
|
+ { prop: 'acceptorName', label: '受理人', minWidth: 150 },
|
|
{
|
|
{
|
|
prop: 'isPassTheBuckOrder',
|
|
prop: 'isPassTheBuckOrder',
|
|
label: '是否推诿工单',
|
|
label: '是否推诿工单',
|
|
@@ -525,57 +311,24 @@ const columns = ref<any[]>([
|
|
{
|
|
{
|
|
prop: 'isTheClueTrue',
|
|
prop: 'isTheClueTrue',
|
|
label: '线索是否属实',
|
|
label: '线索是否属实',
|
|
- width: 120
|
|
|
|
|
|
+ width: 120,
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ prop: 'isEnforcementOrder',
|
|
|
|
+ label: '是否行政执法类工单',
|
|
|
|
+ width: 150,
|
|
|
|
+ render: (scope) => {
|
|
|
|
+ return <span>{scope.row.isEnforcementOrder ? '是' : '否'}</span>;
|
|
|
|
+ },
|
|
},
|
|
},
|
|
- {
|
|
|
|
- prop: 'isEnforcementOrder',
|
|
|
|
- label: '是否行政执法类工单',
|
|
|
|
- width: 150,
|
|
|
|
- render: (scope) => {
|
|
|
|
- return <span>{scope.row.isEnforcementOrder ? '是' : '否'}</span>;
|
|
|
|
- },
|
|
|
|
- },
|
|
|
|
{ prop: 'eventTypeName', label: '事项类型', width: 200 },
|
|
{ prop: 'eventTypeName', label: '事项类型', width: 200 },
|
|
{ prop: 'operation', label: '操作', fixed: 'right', width: 180, align: 'center' },
|
|
{ prop: 'operation', label: '操作', fixed: 'right', width: 180, align: 'center' },
|
|
]);
|
|
]);
|
|
-// 获取选择组织name值
|
|
|
|
-const cascadeRef = ref<RefType>();
|
|
|
|
-const getKnowledgeList = () => {
|
|
|
|
- let currentNode = cascadeRef.value.getCheckedNodes();
|
|
|
|
- state.queryParams.orgCode = currentNode[0]?.data.orgCode ?? '';
|
|
|
|
-};
|
|
|
|
|
|
+
|
|
// 展开/收起
|
|
// 展开/收起
|
|
const closeSearch = () => {
|
|
const closeSearch = () => {
|
|
searchCol.value = !searchCol.value;
|
|
searchCol.value = !searchCol.value;
|
|
};
|
|
};
|
|
-// 选择事发地址
|
|
|
|
-const areaRef = ref<RefType>();
|
|
|
|
-const changeArea = () => {
|
|
|
|
- const area = areaRef.value?.getCheckedNodes() ?? [];
|
|
|
|
- state.queryParams.AreaCodes = area.map((item: any) => item.value);
|
|
|
|
-};
|
|
|
|
-const handleTimeChange = (val: string[], startKey: string, endKey: string) => {
|
|
|
|
- if (val) {
|
|
|
|
- state.queryParams[startKey] = val[0];
|
|
|
|
- state.queryParams[endKey] = val[1];
|
|
|
|
- } else {
|
|
|
|
- state.queryParams[startKey] = '';
|
|
|
|
- state.queryParams[endKey] = '';
|
|
|
|
- }
|
|
|
|
- handleQuery();
|
|
|
|
-};
|
|
|
|
-// 受理时间
|
|
|
|
-const timeStartChangeCr = (val: string[]) => {
|
|
|
|
- handleTimeChange(val, 'CreationTimeStart', 'CreationTimeEnd');
|
|
|
|
-};
|
|
|
|
-// 过期时间
|
|
|
|
-const timeStartChangeEx = (val: string[]) => {
|
|
|
|
- handleTimeChange(val, 'ExpiredTimeStart', 'ExpiredTimeEnd');
|
|
|
|
-};
|
|
|
|
-// 办结时间
|
|
|
|
-const timeStartChangeDone = (val: string[]) => {
|
|
|
|
- handleTimeChange(val, 'ActualHandleTimeStart', 'ActualHandleTimeEnd');
|
|
|
|
-};
|
|
|
|
// 获取查询条件基础信息
|
|
// 获取查询条件基础信息
|
|
const treeList = ref<any[]>([]);
|
|
const treeList = ref<any[]>([]);
|
|
const getBaseData = async () => {
|
|
const getBaseData = async () => {
|
|
@@ -585,10 +338,6 @@ const getBaseData = async () => {
|
|
acceptTypeOptions: 'acceptTypeOptions',
|
|
acceptTypeOptions: 'acceptTypeOptions',
|
|
channelOptions: 'channelOptions',
|
|
channelOptions: 'channelOptions',
|
|
orgsOptions: 'orgsOptions',
|
|
orgsOptions: 'orgsOptions',
|
|
- pushTypeOptions: 'pushTypeOptions',
|
|
|
|
- orderStatusOptions: 'orderStatusOptions',
|
|
|
|
- identityTypeOptions: 'identityTypeOptions',
|
|
|
|
- currentStepOptions: 'currentStepOptions',
|
|
|
|
enforcementHotspot: 'enforcementHotspot',
|
|
enforcementHotspot: 'enforcementHotspot',
|
|
};
|
|
};
|
|
for (const key in mappings) {
|
|
for (const key in mappings) {
|
|
@@ -608,14 +357,14 @@ const handleQuery = () => {
|
|
queryList();
|
|
queryList();
|
|
};
|
|
};
|
|
/** 获取列表 */
|
|
/** 获取列表 */
|
|
|
|
+const requestParams = ref({});
|
|
const queryList = () => {
|
|
const queryList = () => {
|
|
- let request = other.deepClone(state.queryParams);
|
|
|
|
- Reflect.deleteProperty(request, 'crTime'); // 删除无用的参数
|
|
|
|
- Reflect.deleteProperty(request, 'exTime'); // 删除无用的参数
|
|
|
|
- Reflect.deleteProperty(request, 'doneTime'); // 删除无用的参数
|
|
|
|
- Reflect.deleteProperty(request, 'AreaCode'); // 删除无用的参数
|
|
|
|
|
|
+ requestParams.value = Other.deepClone(state.queryParams);
|
|
|
|
+ requestParams.value.CreationTimeStart = state.queryParams.crTime === null ? null : state.queryParams.crTime[0]; // 生成时间
|
|
|
|
+ requestParams.value.CreationTimeEnd = state.queryParams.crTime === null ? null : state.queryParams.crTime[1];
|
|
|
|
+ Reflect.deleteProperty(requestParams.value, 'crTime'); // 删除无用的参数
|
|
state.loading = true;
|
|
state.loading = true;
|
|
- getWorkList(request)
|
|
|
|
|
|
+ getWorkList(requestParams.value)
|
|
.then((response: any) => {
|
|
.then((response: any) => {
|
|
state.tableData = response?.result.items ?? [];
|
|
state.tableData = response?.result.items ?? [];
|
|
state.total = response?.result.total;
|
|
state.total = response?.result.total;
|
|
@@ -629,17 +378,6 @@ const queryList = () => {
|
|
const resetQuery = (formEl: FormInstance | undefined) => {
|
|
const resetQuery = (formEl: FormInstance | undefined) => {
|
|
if (!formEl) return;
|
|
if (!formEl) return;
|
|
formEl.resetFields();
|
|
formEl.resetFields();
|
|
- state.queryParams.CreationTimeStart = null;
|
|
|
|
- state.queryParams.CreationTimeEnd = null;
|
|
|
|
- state.queryParams.ExpiredTimeStart = null;
|
|
|
|
- state.queryParams.ExpiredTimeEnd = null;
|
|
|
|
- state.queryParams.ActualHandleTimeStart = null;
|
|
|
|
- state.queryParams.ActualHandleTimeEnd = null;
|
|
|
|
- fastSearch.value = 'all';
|
|
|
|
- state.queryParams.AreaCodes = [];
|
|
|
|
- state.queryParams.IsEnforcementOrder = null;
|
|
|
|
- state.queryParams.IsPassTheBuckOrder = null;
|
|
|
|
- state.queryParams.IsTheClueTrue = null;
|
|
|
|
queryList();
|
|
queryList();
|
|
};
|
|
};
|
|
// 线索核实
|
|
// 线索核实
|
|
@@ -652,12 +390,6 @@ const onVerify = (row: any) => {
|
|
const onEdit = (row: any) => {
|
|
const onEdit = (row: any) => {
|
|
verifyRef.value.openDialog(row);
|
|
verifyRef.value.openDialog(row);
|
|
};
|
|
};
|
|
-// 新建工单
|
|
|
|
-const onAddOrder = () => {
|
|
|
|
- router.push({
|
|
|
|
- path:'/judicial/order/add'
|
|
|
|
- })
|
|
|
|
-};
|
|
|
|
onMounted(() => {
|
|
onMounted(() => {
|
|
getBaseData();
|
|
getBaseData();
|
|
queryList();
|
|
queryList();
|