Commit 3a65f92a authored by 王晓倩's avatar 王晓倩

台账管理搜索框重置问题修复

parent 0730428e
<template>
<div class="app-container">
<el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="80px">
<el-form :model="queryParams" ref="queryParams" :inline="true" v-show="showSearch" label-width="80px">
<el-form-item label="用户名称" prop="userName">
<el-input
v-model="queryParams.userName"
......@@ -360,7 +360,16 @@ export default {
},
/** 重置按钮操作 */
resetQuery() {
this.resetForm("queryForm");
this.queryParams = {
pageNum: 1,
pageSize: 10,
userName: null,
idCard: null,
linkMobile: null,
installTimeStart: null,
installTimeEnd: null
},
this.resetForm("queryParams");
this.handleQuery();
},
/** 新增按钮操作 */
......
<template>
<div class="app-container">
<el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="80px">
<el-form :model="queryParams" ref="queryParams" :inline="true" v-show="showSearch" label-width="80px">
<el-form-item label="隐患类型" prop="hiddenType">
<el-select v-model="queryParams.hiddenType" placeholder="请选择隐患类型" clearable size="small">
<el-option
......@@ -490,7 +490,16 @@ export default {
},
/** 重置按钮操作 */
resetQuery() {
this.resetForm("queryForm");
this.queryParams = {
pageNum: 1,
pageSize: 10,
hiddenTitle: null,
hiddenType: null,
remediation: null,
hiddenFindDateStart: null,
hiddenFindDateEnd: null
},
this.resetForm("queryParams");
this.handleQuery();
},
/** 新增按钮操作 */
......
<template>
<div class="app-container">
<el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="100px">
<el-form :model="queryParams" ref="queryParams" :inline="true" v-show="showSearch" label-width="100px">
<!--<el-form-item label="事故名称" prop="troubleName">
<el-input
v-model="queryParams.troubleName"
......@@ -549,7 +549,18 @@ export default {
},
/** 重置按钮操作 */
resetQuery() {
this.resetForm("queryForm");
this.queryParams = {
pageNum: 1,
pageSize: 10,
troubleName: null,
troubleType: null,
isDeal: null,
happenDateStart: null,
happenDateEnd: null,
dealDateStart: null,
dealDateEnd: null
},
this.resetForm("queryParams");
this.handleQuery();
},
/** 新增按钮操作 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment