1.修复查询未重置分页参数问题

fencang
x_z 3 years ago
parent d9e5981bcb
commit 36f4f43784

@ -54,7 +54,7 @@
<el-form-item>
<el-button-group style="display:flex;">
<el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button>
<el-button type="primary" icon="search" @click="getList"></el-button>
<el-button type="primary" icon="search" @click="search"></el-button>
<el-button type="primary" icon="search" @click="newDistributionForm()" :loading="loading">
新增订单
</el-button>
@ -230,7 +230,10 @@ export default {
this.actDateRange = [];
this.getList();
},
search() {
this.filterQuery.page = 1;
this.getList();
},
getList() {
if (this.filterQuery.thirdSysFk == null) {
this.$message.warning("请先选择第三方系统!")
@ -461,6 +464,7 @@ export default {
let start = new Date();
start.setTime(start.getTime() - 3600 * 1000 * 24 * 7);
this.actDateRange = [start, end];
this.getList();
},
};
</script>

Loading…
Cancel
Save