Commit d070575b authored by lixy's avatar lixy

车辆信息管理

parent a7844bf8
......@@ -166,6 +166,7 @@
@click="showMoreMoreCol=!showMoreMoreCol">
更多列
</el-button>
<el-button class="filter-item" type="primary" v-waves @click="reloadPage">刷新</el-button>
</div>
......@@ -1258,6 +1259,38 @@
getValue(e){
this.listQuery.addrCity = undefined;
},
/**
* 刷新
* */
reloadPage(){
this.listQuery = {
page: 1,
limit: 20,
zoneId: undefined,
addrProvince: undefined,
addrCity: undefined,
addrTown: undefined,
vin: undefined,
insuranceCompany: undefined,
mileageRangeStart: undefined,
mileageRangeEnd: undefined,
insuranceDateRange: undefined,
mRange: undefined,
aVRange: undefined,
subordinateBranch: undefined,
numberPlate: undefined,
status: undefined,
bookedStartDate: undefined,
bookedEndDate: undefined,
notBookedStartDate: undefined,
notBookedEndDate: undefined,
code: undefined
};
this.getList();
// this.reload();
// window.reload();
// this.$router.go(0)
},
querySearch(queryString, cb) {
let selectArry = [];
let iitem = {
......@@ -1434,6 +1467,7 @@
type: 'success',
duration: 2000
});
this.getList();
} else {
this.$notify({
title: '失败',
......@@ -1517,6 +1551,7 @@
type: 'success',
duration: 2000
});
this.getList();
} else {
this.$notify({
title: '失败',
......@@ -1693,6 +1728,7 @@
return regions[0].name + ' ' + regions[1].name + ' ' + regions[2].name + ' ';
},
handleFilter() {
this.listQuery.page = 1;
this.$refs.queryForm.validate(valid => {
if (valid) {
this.getList();
......@@ -1783,6 +1819,7 @@
type: 'success',
duration: 2000
});
this.getList();
} else {
this.$notify({
title: '失败',
......@@ -1832,6 +1869,7 @@
type: 'success',
duration: 2000
});
this.getList();
} else {
this.$notify({
title: '失败',
......
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