|
@@ -1,12 +1,12 @@
|
|
|
<template>
|
|
|
<div class="province-order-container layout-padding">
|
|
|
- <div class="layout-padding-auto layout-padding-view pd20">
|
|
|
+ <div class="layout-padding-auto layout-padding-view pd20">
|
|
|
<el-form :model="state.queryParams" ref="ruleFormRef" @submit.native.prevent inline>
|
|
|
<el-form-item label="省编码" prop="ReceiveProvinceNo">
|
|
|
- <el-input v-model="state.queryParams.ReceiveProvinceNo" placeholder="省编码" clearable @keyup.enter="handleQuery" class="keyword-input"/>
|
|
|
+ <el-input v-model="state.queryParams.ReceiveProvinceNo" placeholder="省编码" clearable @keyup.enter="handleQuery" class="keyword-input" />
|
|
|
</el-form-item>
|
|
|
<el-form-item label="工单标题" prop="Keyword">
|
|
|
- <el-input v-model="state.queryParams.Keyword" placeholder="工单标题" clearable @keyup.enter="handleQuery" class="keyword-input"/>
|
|
|
+ <el-input v-model="state.queryParams.Keyword" placeholder="工单标题" clearable @keyup.enter="handleQuery" class="keyword-input" />
|
|
|
</el-form-item>
|
|
|
<el-form-item label="受理时间" prop="crTime">
|
|
|
<el-date-picker
|
|
@@ -115,12 +115,15 @@
|
|
|
title="省工单退回"
|
|
|
v-auth="'province:order:return'"
|
|
|
v-if="
|
|
|
- row.isProvince &&
|
|
|
- (row.actualHandleOrgCode === '001' || row.actualHandleOrgCode === null || row.actualHandleOrgCode === '' || row.status === 0) &&
|
|
|
- row.status < 300 && row.status !== 9 && !row.provinceSendBack
|
|
|
- "
|
|
|
+ row.isProvince &&
|
|
|
+ (row.actualHandleOrgCode === '001' || row.actualHandleOrgCode === null || row.actualHandleOrgCode === '' || row.status === 0) &&
|
|
|
+ row.status < 300 &&
|
|
|
+ row.status !== 9 &&
|
|
|
+ !row.provinceSendBack
|
|
|
+ "
|
|
|
+ >
|
|
|
+ 退回</el-button
|
|
|
>
|
|
|
- 退回</el-button>
|
|
|
</template>
|
|
|
</vxe-column>
|
|
|
</vxe-table>
|
|
@@ -281,14 +284,13 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
<script setup lang="tsx" name="provinceOrder">
|
|
|
-import { computed, defineAsyncComponent, onMounted, reactive, ref } from 'vue';
|
|
|
+import { defineAsyncComponent, onMounted, reactive, ref } from 'vue';
|
|
|
import type { FormInstance } from 'element-plus';
|
|
|
import { defaultTimeStartEnd, shortcuts } from '@/utils/constants';
|
|
|
import { formatDate } from '@/utils/formatTime';
|
|
|
import { exportOrder, listBaseData, orderList, orderListCount } from '@/api/business/order';
|
|
|
import { treeArea } from '@/api/auxiliary/area';
|
|
|
import Other from '@/utils/other';
|
|
|
-import { exportAssignment } from '@/utils/tools';
|
|
|
|
|
|
// 引入组件
|
|
|
const OrderDetail = defineAsyncComponent(() => import('@/components/OrderDetail/index.vue')); // 工单详情
|
|
@@ -315,7 +317,7 @@ const state = reactive<any>({
|
|
|
AcceptType: null, // 受理类型
|
|
|
Channels: null, // 渠道
|
|
|
Hotspot: null, // 热点分类名称
|
|
|
- OrgId: null, // 接办部门
|
|
|
+ OrgId: null, // 接办部门
|
|
|
NameOrNo: null, // 受理坐席
|
|
|
crTime: [], // 受理时间
|
|
|
CreationTimeStart: null, // 创建时间 开始
|
|
@@ -333,6 +335,7 @@ const state = reactive<any>({
|
|
|
IsProvinceOrder: true, // 省市工单
|
|
|
IsUrgent: null, // 是否加急
|
|
|
ProvinceChannel: null, //省来源分类
|
|
|
+ ProvinceSearch: true,
|
|
|
},
|
|
|
tableData: [], //表单
|
|
|
loading: false, // 加载
|
|
@@ -404,8 +407,7 @@ const getTotal = () => {
|
|
|
.then((res) => {
|
|
|
state.total = res.result ?? 0;
|
|
|
})
|
|
|
- .catch(() => {
|
|
|
- });
|
|
|
+ .catch(() => {});
|
|
|
};
|
|
|
/** 重置按钮操作 */
|
|
|
const drawerRuleFormRef = ref();
|
|
@@ -433,4 +435,4 @@ onMounted(() => {
|
|
|
getBaseData();
|
|
|
getTotal();
|
|
|
});
|
|
|
-</script>
|
|
|
+</script>
|