|
@@ -26,6 +26,7 @@
|
|
|
@change="handleQuery"
|
|
|
value-format="YYYY-MM-DD[T]HH:mm:ss"
|
|
|
:default-time="defaultTimeStartEnd"
|
|
|
+ :clearable="false"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
@@ -36,10 +37,18 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</transition>
|
|
|
- <transition name="el-zoom-in-top" v-show="!searchCol">
|
|
|
- <el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6">
|
|
|
+ <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="OrgProcessingResults">
|
|
|
- <el-input v-model="state.queryParams.OrgProcessingResults" placeholder="办件结果" clearable @keyup.enter="handleQuery" />
|
|
|
+ <el-select
|
|
|
+ v-model="state.queryParams.OrgProcessingResults"
|
|
|
+ placeholder="请选择来办件结果"
|
|
|
+ clearable
|
|
|
+ class="w100"
|
|
|
+ @change="handleQuery"
|
|
|
+ >
|
|
|
+ <el-option v-for="item in state.visitSatisfaction" :value="item.dicDataValue" :key="item.dicDataValue" :label="item.dicDataName" />
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</transition>
|
|
@@ -132,7 +141,7 @@
|
|
|
><SvgIcon name="iconfont icon-daochu" class="mr5" />交办单导出
|
|
|
</el-button>
|
|
|
</template>
|
|
|
-<!-- <template #description>
|
|
|
+ <!-- <template #description>
|
|
|
<el-popover :width="500" trigger="click">
|
|
|
<template #reference>
|
|
|
<el-button circle title="口径说明"><SvgIcon name="ele-QuestionFilled" /></el-button>
|
|
@@ -165,11 +174,10 @@
|
|
|
<script setup lang="tsx" name="statisticsDepartmentSatisfiedDetailList">
|
|
|
import { onMounted, reactive, ref, defineAsyncComponent } from 'vue';
|
|
|
import { ElMessage, ElMessageBox, FormInstance } from 'element-plus';
|
|
|
-import { departmentSatisfactionList, departmentSatisfactionListExport } from '@/api/statistics/department';
|
|
|
+import { departmentSatisfactionDetailBase, departmentSatisfactionList, departmentSatisfactionListExport } from '@/api/statistics/department';
|
|
|
import { formatDate } from '@/utils/formatTime';
|
|
|
-import { defaultTimeStartEnd, shortcuts } from '@/utils/constants';
|
|
|
+import { defaultDateOne, defaultDateTime, defaultTimeStartEnd, shortcuts } from '@/utils/constants';
|
|
|
import { useRoute } from 'vue-router';
|
|
|
-import { listBaseData } from '@/api/judicial';
|
|
|
import Other from '@/utils/other';
|
|
|
import { exportJbOrder } from '@/api/business/order';
|
|
|
import { downloadZip } from '@/utils/tools';
|
|
@@ -208,7 +216,7 @@ const columns = ref<any[]>([
|
|
|
return <span>{formatDate(scope.row.visitTime, 'YYYY-mm-dd HH:MM:SS')}</span>;
|
|
|
},
|
|
|
},
|
|
|
- { prop: 'orderScreenStatusText', label: '满意度', minWidth: 120 },
|
|
|
+ { prop: 'orgProcessingResults', label: '满意度', minWidth: 120 },
|
|
|
{ prop: 'content', label: '受理内容', minWidth: 150 },
|
|
|
{ prop: 'fileOpinion', label: '承办意见', minWidth: 150 },
|
|
|
{
|
|
@@ -234,7 +242,7 @@ const state = reactive<any>({
|
|
|
PageIndex: 1,
|
|
|
PageSize: 10,
|
|
|
HotspotIds: [],
|
|
|
- crTime: [], // 时间默认今天开始到今天结束
|
|
|
+ crTime: defaultDateOne,
|
|
|
CreationTimeStart: null,
|
|
|
CreationTimeEnd: null,
|
|
|
doneTime: [], // 办结时间
|
|
@@ -292,15 +300,10 @@ const visitDetail = (row: any) => {
|
|
|
// 获取查询条件基础信息
|
|
|
const getBaseData = async () => {
|
|
|
try {
|
|
|
- const res: any = await listBaseData();
|
|
|
+ const res: any = await departmentSatisfactionDetailBase();
|
|
|
const mappings: any = {
|
|
|
- acceptTypeOptions: 'acceptTypeOptions',
|
|
|
- channelOptions: 'channelOptions',
|
|
|
+ visitSatisfaction: 'visitSatisfaction',
|
|
|
orgsOptions: 'orgsOptions',
|
|
|
- pushTypeOptions: 'pushTypeOptions',
|
|
|
- orderStatusOptions: 'orderStatusOptions',
|
|
|
- identityTypeOptions: 'identityTypeOptions',
|
|
|
- currentStepOptions: 'currentStepOptions',
|
|
|
};
|
|
|
for (const key in mappings) {
|
|
|
state[key] = res.result?.[mappings[key]] ?? [];
|