|
@@ -1,9 +1,9 @@
|
|
|
<template>
|
|
|
<div class="statistics-department-dp-satisfied-container layout-padding">
|
|
|
<div class="layout-padding-auto layout-padding-view pd20">
|
|
|
- <el-form :model="state.queryParams" ref="ruleFormRef" @submit.native.prevent inline>
|
|
|
+ <el-form :model="state.queryParams" ref="ruleFormRef" @submit.native.prevent inline :disabled="state.loading">
|
|
|
<el-form-item prop="hfTime">
|
|
|
- <statistical-time v-model="state.queryParams.hfTime" @change="handleQuery" ref="statisticalTimeRef" :disabled="state.loading"/>
|
|
|
+ <statistical-time v-model="state.queryParams.hfTime" @change="handleQuery" ref="statisticalTimeRef" :disabled="state.loading" />
|
|
|
</el-form-item>
|
|
|
<el-form-item label="工单标题" prop="Keyword">
|
|
|
<el-input v-model="state.queryParams.Keyword" placeholder="工单标题" clearable @keyup.enter="handleQuery" class="keyword-input" />
|
|
@@ -27,11 +27,11 @@
|
|
|
>
|
|
|
<template #buttons>
|
|
|
<el-button type="primary" @click="onJbExport" :loading="state.loading" :disabled="isChecked"
|
|
|
- ><SvgIcon name="iconfont icon-daochu" class="mr5" />交办单导出
|
|
|
+ ><SvgIcon name="iconfont icon-daochu" class="mr5" />交办单导出
|
|
|
</el-button>
|
|
|
<el-popover :width="500" trigger="click">
|
|
|
<template #reference>
|
|
|
- <el-button type="primary" title="口径说明"><SvgIcon name="ele-QuestionFilled" class="mr5" />口径说明</el-button>
|
|
|
+ <el-button type="primary" title="口径说明"><SvgIcon name="ele-QuestionFilled" class="mr5" />口径说明</el-button>
|
|
|
</template>
|
|
|
<el-descriptions title="" :column="1" border>
|
|
|
<el-descriptions-item label="工单编码">工单编号</el-descriptions-item>
|
|
@@ -84,7 +84,7 @@
|
|
|
</vxe-column>
|
|
|
<vxe-column field="title" title="工单标题" width="200">
|
|
|
<template #default="{ row }">
|
|
|
- <order-detail :order="{...row,id:row.orderId}" @updateList="queryList">{{ row.title }}</order-detail>
|
|
|
+ <order-detail :order="{ ...row, id: row.orderId }" @updateList="queryList">{{ row.title }}</order-detail>
|
|
|
</template>
|
|
|
</vxe-column>
|
|
|
<vxe-column field="visitUser" title="回访人" width="120"></vxe-column>
|
|
@@ -122,7 +122,7 @@
|
|
|
<visit-detail-com ref="visitDetailRef" @updateList="queryList" />
|
|
|
<!-- 更多查询 -->
|
|
|
<el-drawer v-model="drawer" title="更多查询" size="500px">
|
|
|
- <el-form :model="state.queryParams" ref="drawerRuleFormRef" @submit.native.prevent label-width="100px">
|
|
|
+ <el-form :model="state.queryParams" ref="drawerRuleFormRef" @submit.native.prevent label-width="100px" :disabled="state.loading">
|
|
|
<el-form-item label="受理时间" prop="crTime">
|
|
|
<el-date-picker
|
|
|
v-model="state.queryParams.crTime"
|
|
@@ -158,15 +158,19 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item label="办件结果" prop="OrgProcessingResults" v-if="state.queryParams.AttitudeType === 1">
|
|
|
<el-select v-model="state.queryParams.OrgProcessingResults" placeholder="请选择办件结果" multiple clearable>
|
|
|
- <el-option v-for="item in state.visitSatisfaction" :value="item.dicDataValue" :key="item.dicDataValue" :label="item.dicDataName"></el-option>
|
|
|
+ <el-option
|
|
|
+ v-for="item in state.visitSatisfaction"
|
|
|
+ :value="item.dicDataValue"
|
|
|
+ :key="item.dicDataValue"
|
|
|
+ :label="item.dicDataName"
|
|
|
+ ></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="办件态度" prop="OrgProcessingResults" v-if="state.queryParams.AttitudeType === 2">
|
|
|
<el-select v-model="state.queryParams.OrgProcessingResults" placeholder="请选择办件态度" multiple clearable>
|
|
|
- <el-option v-for="item in state.visitMananer" :value="item.dicDataValue" :key="item.dicDataValue" :label="item.dicDataName"></el-option>
|
|
|
+ <el-option v-for="item in state.visitMananer" :value="item.dicDataValue" :key="item.dicDataValue" :label="item.dicDataName"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
-
|
|
|
<el-form-item label="热点分类" prop="Hotspot">
|
|
|
<el-input v-model="state.queryParams.Hotspot" placeholder="热点分类名称" clearable @keyup.enter="handleQuery" />
|
|
|
</el-form-item>
|
|
@@ -205,6 +209,15 @@
|
|
|
<el-option :value="2" label="企业" />
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="省/市工单" prop="IsProvinceOrder">
|
|
|
+ <el-select v-model="state.queryParams.IsProvinceOrder" placeholder="请选择省/市工单" clearable @change="handleQuery">
|
|
|
+ <el-option :value="true" label="省工单" />
|
|
|
+ <el-option :value="false" label="市工单" />
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="回访内容" prop="ContentRetrieval">
|
|
|
+ <el-input v-model="state.queryParams.ContentRetrieval" placeholder="回访内容" clearable @keyup.enter="handleQuery" />
|
|
|
+ </el-form-item>
|
|
|
</el-form>
|
|
|
<template #footer>
|
|
|
<el-button type="primary" @click="handleQuery" :loading="state.loading"> <SvgIcon name="ele-Search" class="mr5" />查询 </el-button>
|
|
@@ -220,7 +233,7 @@ import { departmentSatisfactionDetailBase, departmentSatisfactionList, departmen
|
|
|
import { formatDate } from '@/utils/formatTime';
|
|
|
import { defaultDate, defaultTimeStartEnd, shortcuts } from '@/utils/constants';
|
|
|
import Other from '@/utils/other';
|
|
|
-import { exportAssignment } from '@/utils/tools';
|
|
|
+import { exportAssignment } from '@/utils/tools';
|
|
|
|
|
|
// 引入组件
|
|
|
const VisitDetailCom = defineAsyncComponent(() => import('@/views/business/visit/components/Visit-detail.vue')); // 回访
|
|
@@ -235,7 +248,7 @@ const state = reactive<any>({
|
|
|
PageIndex: 1,
|
|
|
PageSize: 20,
|
|
|
hfTime: defaultDate, // 回访事件
|
|
|
- AttitudeType:1, // 默认办件结果
|
|
|
+ AttitudeType: 1, // 默认办件结果
|
|
|
VisitTimeStart: null,
|
|
|
VisitTimeEnd: null,
|
|
|
crTime: [],
|
|
@@ -248,18 +261,20 @@ const state = reactive<any>({
|
|
|
OrgProcessingResults: null,
|
|
|
OrgId: null,
|
|
|
TypeCode: 0,
|
|
|
- SortField:null,
|
|
|
- SortRule:null,
|
|
|
- OrgVisitStatisticsType:null,
|
|
|
- Channel:null,
|
|
|
+ SortField: null,
|
|
|
+ SortRule: null,
|
|
|
+ OrgVisitStatisticsType: null,
|
|
|
+ Channel: null,
|
|
|
+ IsProvinceOrder: null,
|
|
|
+ ContentRetrieval:null,
|
|
|
},
|
|
|
tableData: [], //表单
|
|
|
loading: false, // 加载
|
|
|
total: 0, // 总数
|
|
|
- attitudeType:[],
|
|
|
- channelOptions:[],
|
|
|
- visitSatisfaction:[], // 办件结果
|
|
|
- visitMananer:[], // 办件态度
|
|
|
+ attitudeType: [],
|
|
|
+ channelOptions: [],
|
|
|
+ visitSatisfaction: [], // 办件结果
|
|
|
+ visitMananer: [], // 办件态度
|
|
|
});
|
|
|
// 排序
|
|
|
const sortChange = (val: any) => {
|
|
@@ -269,9 +284,9 @@ const sortChange = (val: any) => {
|
|
|
queryList();
|
|
|
};
|
|
|
// 选择查询类型
|
|
|
-const selectType = ()=>{
|
|
|
+const selectType = () => {
|
|
|
drawerRuleFormRef.value.resetFields('OrgProcessingResults');
|
|
|
-}
|
|
|
+};
|
|
|
/** 搜索按钮操作 */
|
|
|
const handleQuery = () => {
|
|
|
state.queryParams.PageIndex = 1;
|
|
@@ -326,8 +341,8 @@ const getBaseData = async () => {
|
|
|
visitSatisfaction: 'visitSatisfaction',
|
|
|
orgsOptions: 'orgsOptions',
|
|
|
attitudeType: 'attitudeType',
|
|
|
- channelOptions:'channelOptions',
|
|
|
- visitMananer:'visitMananer',
|
|
|
+ channelOptions: 'channelOptions',
|
|
|
+ visitMananer: 'visitMananer',
|
|
|
};
|
|
|
for (const key in mappings) {
|
|
|
state[key] = res.result?.[mappings[key]] ?? [];
|