Commit 67efc8a7 by liangzhen

修复切换页面后查询不到正确信息问题

1 parent ce171e3f
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
</el-form-item> --> </el-form-item> -->
<el-form-item class="button"> <el-form-item class="button">
<el-button @click="submitForm()"> <el-button @click="submitForm('999')">
<img class="buttonIcon" src="../../assets/cx.png" />查询</el-button <img class="buttonIcon" src="../../assets/cx.png" />查询</el-button
> >
<el-button @click="resetForm()"> <el-button @click="resetForm()">
...@@ -237,7 +237,10 @@ export default { ...@@ -237,7 +237,10 @@ export default {
this.ruleForm.auditEndTime = ""; this.ruleForm.auditEndTime = "";
} }
}, },
async submitForm() { async submitForm(info) {
if(info==999){
this.currentPage=1
}
let params = { let params = {
current: this.currentPage, current: this.currentPage,
pageSize: this.pageSize, pageSize: this.pageSize,
......
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
</el-form-item> --> </el-form-item> -->
<el-form-item class="button"> <el-form-item class="button">
<el-button @click="submitForm()"> <el-button @click="submitForm('999')">
<img class="buttonIcon" src="../../assets/cx.png" />查询</el-button <img class="buttonIcon" src="../../assets/cx.png" />查询</el-button
> >
<el-button @click="resetForm()"> <el-button @click="resetForm()">
...@@ -532,7 +532,10 @@ export default { ...@@ -532,7 +532,10 @@ export default {
this.ruleForm.auditEndTime = ""; this.ruleForm.auditEndTime = "";
} }
}, },
async submitForm() { async submitForm(info) {
if(info==999){
this.currentPage=1
}
let params = { let params = {
current: this.currentPage, current: this.currentPage,
pageSize: this.pageSize, pageSize: this.pageSize,
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
</el-select> </el-select>
</el-form-item> --> </el-form-item> -->
<el-form-item class="button"> <el-form-item class="button">
<el-button @click="submitForm()"> <el-button @click="submitForm('999')">
<img class="buttonIcon" src="../../assets/cx.png" />查询</el-button <img class="buttonIcon" src="../../assets/cx.png" />查询</el-button
> >
<el-button @click="resetForm('ruleForm')"> <el-button @click="resetForm('ruleForm')">
...@@ -913,7 +913,10 @@ export default { ...@@ -913,7 +913,10 @@ export default {
this.ruleForm.auditEndTime = ""; this.ruleForm.auditEndTime = "";
} }
}, },
async submitForm() { async submitForm(info) {
if(info==999){
this.currentPage=1
}
let params = { let params = {
current: this.currentPage, current: this.currentPage,
pageSize: this.pageSize, pageSize: this.pageSize,
......
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
</el-form-item> --> </el-form-item> -->
<el-form-item class="button"> <el-form-item class="button">
<el-button @click="submitForm()"> <el-button @click="submitForm('999')">
<img class="buttonIcon" src="../../assets/cx.png" />查询</el-button <img class="buttonIcon" src="../../assets/cx.png" />查询</el-button
> >
<el-button @click="resetForm()"> <el-button @click="resetForm()">
...@@ -237,7 +237,10 @@ export default { ...@@ -237,7 +237,10 @@ export default {
this.ruleForm.auditEndTime = ""; this.ruleForm.auditEndTime = "";
} }
}, },
async submitForm() { async submitForm(info) {
if(info==999){
this.currentPage=1
}
let params = { let params = {
current: this.currentPage, current: this.currentPage,
pageSize: this.pageSize, pageSize: this.pageSize,
......
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
<el-form-item class="button"> <el-form-item class="button">
<el-button @click="submitForm()"> <el-button @click="submitForm('999')">
<img class="buttonIcon" src="../../assets/cx.png" />查询</el-button <img class="buttonIcon" src="../../assets/cx.png" />查询</el-button
> >
<el-button @click="resetForm()"> <el-button @click="resetForm()">
...@@ -422,7 +422,10 @@ export default { ...@@ -422,7 +422,10 @@ export default {
this.ruleForm.auditEndTime = ""; this.ruleForm.auditEndTime = "";
} }
}, },
async submitForm() { async submitForm(info) {
if(info==999){
this.currentPage=1
}
let params = { let params = {
current: this.currentPage, current: this.currentPage,
pageSize: this.pageSize, pageSize: this.pageSize,
......
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
</el-form-item> </el-form-item>
<el-form-item class="button"> <el-form-item class="button">
<el-button @click="submitForm()"> <el-button @click="submitForm('999')">
<img class="buttonIcon" src="../../assets/cx.png" />查询</el-button <img class="buttonIcon" src="../../assets/cx.png" />查询</el-button
> >
<el-button @click="resetForm()"> <el-button @click="resetForm()">
...@@ -422,7 +422,10 @@ export default { ...@@ -422,7 +422,10 @@ export default {
this.ruleForm.auditEndTime = ""; this.ruleForm.auditEndTime = "";
} }
}, },
async submitForm() { async submitForm(info) {
if(info==999){
this.currentPage=1
}
let params = { let params = {
current: this.currentPage, current: this.currentPage,
pageSize: this.pageSize, pageSize: this.pageSize,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!