修改bug

ww
wangwei 3 years ago
parent 2f7732ebf5
commit c5388f01a7

@ -317,6 +317,7 @@
@current-change="handleCurrentChange"
layout="prev, pager, next"
:total="total"
:current-page="filterQuery.page"
></el-pagination>
</div>
</template>
@ -418,6 +419,7 @@ export default {
limit: 20,
};
this.getList();
this.filterQuery.page=null;
},
formSubmit() {
this.formData.roleId = 1;
@ -441,13 +443,11 @@ export default {
});
},
onSubmit() {
this.filterQuery.checkType=null;
this.getList();
},
getList() {
this.loading = true;
if (this.filterQuery.companyName != null && this.filterQuery.companyName != '') {
this.filterQuery.page = 1;
}
getCustomers(this.filterQuery)
.then((response) => {
this.loading = false;
@ -485,6 +485,7 @@ export default {
handleCurrentChange(val) {
this.filterQuery.page = val;
this.getList();
this.filterQuery.page = 1;
},
handleCheckedChange(val) {
},

@ -335,7 +335,7 @@
return {
filterQuery: {
companyName: "",
checkType: "0",
checkType: "",
page: 1,
limit: 20,
},
@ -451,6 +451,7 @@
handleCurrentChange(val) {
this.filterQuery.page = val;
this.getList();
this.filterQuery.page = 1;
},
findMethod(query) {
this.fromOptions = [];

Loading…
Cancel
Save