|
@@ -4,32 +4,36 @@
|
|
|
<el-form :model="state.queryParams" ref="ruleFormRef" @submit.native.prevent label-width="100px">
|
|
|
<el-row :gutter="10">
|
|
|
<el-col>
|
|
|
- <el-form-item label="快捷查询" prop="fastSearch">
|
|
|
+ <el-form-item label="快捷查询" prop="IsTheClueTrueText">
|
|
|
<el-segmented
|
|
|
:options="[
|
|
|
{
|
|
|
- value: 'all',
|
|
|
+ value: '0',
|
|
|
label: '全部',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ value: '1',
|
|
|
+ label: '待核实',
|
|
|
},
|
|
|
{
|
|
|
- value: 'IsTheClueTrue',
|
|
|
+ value: '2',
|
|
|
label: '线索属实',
|
|
|
},
|
|
|
{
|
|
|
- value: 'NoTheClueTrue',
|
|
|
+ value: '3',
|
|
|
label: '线索不属实',
|
|
|
},
|
|
|
{
|
|
|
- value: 'IsPassTheBuckOrder',
|
|
|
+ value: '4',
|
|
|
label: '推诿工单',
|
|
|
},
|
|
|
{
|
|
|
- value: 'IsEnforcementOrder',
|
|
|
+ value: '5',
|
|
|
label: '行政执法类工单',
|
|
|
},
|
|
|
]"
|
|
|
- v-model="fastSearch"
|
|
|
- @change="fastSearchChange"
|
|
|
+ v-model="state.queryParams.IsTheClueTrueText"
|
|
|
+ @change="handleQuery"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
@@ -250,6 +254,7 @@ const state = reactive<any>({
|
|
|
CreationTimeStart: null,
|
|
|
CreationTimeEnd: null,
|
|
|
NameOrNo: null,
|
|
|
+ IsTheClueTrueText:'0', // 快捷查询
|
|
|
},
|
|
|
tableData: [], //表单
|
|
|
loading: false, // 加载
|
|
@@ -260,35 +265,6 @@ const state = reactive<any>({
|
|
|
enforcementHotspot: [], // 热点类型
|
|
|
areaOptions: [], // 省市区数据
|
|
|
});
|
|
|
-const fastSearch = ref('all'); // tab位置
|
|
|
-const fastSearchChange = (val: string) => {
|
|
|
- state.queryParams.PageIndex = 1;
|
|
|
- state.queryParams.PageSize = 10;
|
|
|
- fastSearch.value = val;
|
|
|
- state.queryParams.IsEnforcementOrder = null;
|
|
|
- state.queryParams.IsPassTheBuckOrder = null;
|
|
|
- state.queryParams.IsTheClueTrue = null;
|
|
|
- switch (val) {
|
|
|
- case 'all':
|
|
|
- state.queryParams.IsEnforcementOrder = null;
|
|
|
- state.queryParams.IsPassTheBuckOrder = null;
|
|
|
- state.queryParams.IsTheClueTrue = null;
|
|
|
- break;
|
|
|
- case 'IsTheClueTrue':
|
|
|
- state.queryParams.IsTheClueTrue = true;
|
|
|
- break;
|
|
|
- case 'NoTheClueTrue':
|
|
|
- state.queryParams.IsTheClueTrue = false;
|
|
|
- break;
|
|
|
- case 'IsPassTheBuckOrder':
|
|
|
- state.queryParams.IsPassTheBuckOrder = true;
|
|
|
- break;
|
|
|
- case 'IsEnforcementOrder':
|
|
|
- state.queryParams.IsEnforcementOrder = true;
|
|
|
- break;
|
|
|
- }
|
|
|
- handleQuery();
|
|
|
-};
|
|
|
const ruleFormRef = ref<RefType>(); // 表单ref
|
|
|
const searchCol = ref(true); // 展开/收起
|
|
|
const route = useRoute(); // 路由
|
|
@@ -387,8 +363,6 @@ const queryList = () => {
|
|
|
const resetQuery = (formEl: FormInstance | undefined) => {
|
|
|
if (!formEl) return;
|
|
|
formEl.resetFields();
|
|
|
- fastSearch.value = 'all';
|
|
|
- fastSearchChange(fastSearch.value);
|
|
|
};
|
|
|
// 线索核实
|
|
|
const verifyRef = ref<RefType>();
|