|
@@ -3,7 +3,7 @@
|
|
|
<!-- 搜索 -->
|
|
|
<el-card shadow="never">
|
|
|
<div class="flex-center-align mb20">
|
|
|
- <span style="color: var(--el-text-color-regular); display: inline-block; text-align: right; padding-right: 12px;width: 100px">快捷查询</span>
|
|
|
+ <span style="color: var(--el-text-color-regular); display: inline-block; text-align: right; padding-right: 12px; width: 100px">快捷查询</span>
|
|
|
<el-radio-group v-model="fastSearch" @change="fastSearchChange">
|
|
|
<el-radio-button label="InitiatedCountersignature">发起的会签</el-radio-button>
|
|
|
<el-radio-button label="HandleCountersignature">已办会签</el-radio-button>
|
|
@@ -12,13 +12,13 @@
|
|
|
<el-form :model="state.queryParams" ref="ruleFormRef" @submit.native.prevent label-width="100px">
|
|
|
<el-row :gutter="10">
|
|
|
<el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6">
|
|
|
- <el-form-item label="工单标题" prop="Keyword">
|
|
|
- <el-input v-model="state.queryParams.Keyword" placeholder="工单标题" clearable @keyup.enter="handleQuery" />
|
|
|
+ <el-form-item label="工单标题" prop="Title">
|
|
|
+ <el-input v-model="state.queryParams.Title" placeholder="工单标题" clearable @keyup.enter="handleQuery" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6">
|
|
|
- <el-form-item label="工单编码" prop="No">
|
|
|
- <el-input v-model="state.queryParams.No" placeholder="工单编码" clearable @keyup.enter="handleQuery" />
|
|
|
+ <el-form-item label="工单编码" prop="OrderNo">
|
|
|
+ <el-input v-model="state.queryParams.OrderNo" placeholder="工单编码" clearable @keyup.enter="handleQuery" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6">
|
|
@@ -138,7 +138,7 @@ import { defineAsyncComponent, onMounted, reactive, ref } from 'vue';
|
|
|
import { FormInstance } from 'element-plus';
|
|
|
import { formatDate } from '@/utils/formatTime';
|
|
|
import { useRouter } from 'vue-router';
|
|
|
-import { countersignBase, countersignData } from "@/api/query/countersign";
|
|
|
+import { countersignBase, countersignData } from '@/api/query/countersign';
|
|
|
import { storeToRefs } from 'pinia';
|
|
|
import { useUserInfo } from '@/stores/userInfo';
|
|
|
// 引入组件
|
|
@@ -149,7 +149,7 @@ const HotSpotSelect = defineAsyncComponent(() => import('@/components/Hotspot/in
|
|
|
const proTableRef = ref<RefType>(); // 表格ref
|
|
|
// 表格配置项
|
|
|
const columns = ref<any[]>([
|
|
|
- { prop: 'order.expiredStatusText', label: '超期状态', align: 'center',fixed: 'left',width: 80 },
|
|
|
+ { prop: 'order.expiredStatusText', label: '超期状态', align: 'center', fixed: 'left', width: 80 },
|
|
|
{ prop: 'stateText', label: '会签状态', width: 120 },
|
|
|
{ prop: 'order.counterSignTypeText', label: '会签类型', width: 120 },
|
|
|
{ prop: 'order.no', label: '工单编码', width: 150 },
|
|
@@ -209,13 +209,19 @@ const state = reactive<any>({
|
|
|
IsOnlyStarter: false, // 是否中心
|
|
|
HandleCountersignature: null, // 已办会签
|
|
|
InitiatedCountersignature: true, // 是否发起会签
|
|
|
+ HotspotIds:[], // 热点分类
|
|
|
+ ActualHandleStepName:null, // 办理节点
|
|
|
+ Channels:null, // 来源方式
|
|
|
+ AcceptTypes:null, // 受理类型
|
|
|
+ Title:null,
|
|
|
+ OrderNo:null
|
|
|
},
|
|
|
tableData: [], //表单
|
|
|
loading: false, // 加载
|
|
|
total: 0, // 总数
|
|
|
- acceptTypeOptions:[],// 受理类型
|
|
|
- channelOptions:[],// 来源方式
|
|
|
- counterSignTypeOptions:[],// 会签类型
|
|
|
+ acceptTypeOptions: [], // 受理类型
|
|
|
+ channelOptions: [], // 来源方式
|
|
|
+ counterSignTypeOptions: [], // 会签类型
|
|
|
});
|
|
|
const fastSearch = ref('InitiatedCountersignature');
|
|
|
const fastSearchChange = (val: any) => {
|
|
@@ -280,17 +286,17 @@ const onRecord = (row) => {
|
|
|
};
|
|
|
// 查询基础信息
|
|
|
const baseInfo = async () => {
|
|
|
- try {
|
|
|
- const {result} = await countersignBase();
|
|
|
- state.acceptTypeOptions = result.acceptTypeOptions;
|
|
|
- state.channelOptions = result.channelOptions;
|
|
|
- state.counterSignTypeOptions = result.counterSignType;
|
|
|
- }catch (e){
|
|
|
- console.log(e)
|
|
|
- }
|
|
|
-}
|
|
|
+ try {
|
|
|
+ const { result } = await countersignBase();
|
|
|
+ state.acceptTypeOptions = result.acceptTypeOptions;
|
|
|
+ state.channelOptions = result.channelOptions;
|
|
|
+ state.counterSignTypeOptions = result.counterSignType;
|
|
|
+ } catch (e) {
|
|
|
+ console.log(e);
|
|
|
+ }
|
|
|
+};
|
|
|
onMounted(() => {
|
|
|
- baseInfo();
|
|
|
+ baseInfo();
|
|
|
queryList();
|
|
|
});
|
|
|
</script>
|