|
|
|
@ -296,7 +296,8 @@ export default {
|
|
|
|
|
|
|
|
|
|
showSearch: true,
|
|
|
|
|
filterQuery: {
|
|
|
|
|
tagStatus: "1", //
|
|
|
|
|
tagStatus: this.tagStatus, //
|
|
|
|
|
tagStatusList: this.tagStatusList, //
|
|
|
|
|
billNo: null,
|
|
|
|
|
busType: null,
|
|
|
|
|
workPlaceCode: null,
|
|
|
|
@ -439,6 +440,7 @@ export default {
|
|
|
|
|
|
|
|
|
|
getList() {
|
|
|
|
|
this.loading = true;
|
|
|
|
|
console.log(this.filterQuery)
|
|
|
|
|
orderPage(this.filterQuery).then(res => {
|
|
|
|
|
this.loading = false
|
|
|
|
|
this.list = res.data.list || []
|
|
|
|
@ -450,6 +452,19 @@ export default {
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
,
|
|
|
|
|
getList2(_this) {
|
|
|
|
|
_this.loading = true;
|
|
|
|
|
orderPage(_this.filterQuery).then(res => {
|
|
|
|
|
_this.loading = false
|
|
|
|
|
_this.list = res.data.list || []
|
|
|
|
|
_this.total = res.data.total || 0
|
|
|
|
|
}).catch(() => {
|
|
|
|
|
_this.loading = false
|
|
|
|
|
_this.list = []
|
|
|
|
|
_this.total = 0
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
,
|
|
|
|
|
handleCurrentChange(val) {
|
|
|
|
|
this.filterQuery.page = val.page;
|
|
|
|
|
this.getList();
|
|
|
|
@ -570,14 +585,14 @@ export default {
|
|
|
|
|
errorHandle(params)
|
|
|
|
|
.then((response) => {
|
|
|
|
|
if (response.code == 20000) {
|
|
|
|
|
this.getList();
|
|
|
|
|
this.getList2(_this);
|
|
|
|
|
_this.$message.success("处理成功!")
|
|
|
|
|
} else if (response.code == 520) {
|
|
|
|
|
_this.$message.error(response.message);
|
|
|
|
|
this.getList();
|
|
|
|
|
this.getList2(_this);
|
|
|
|
|
} else {
|
|
|
|
|
_this.$message.error(response.message);
|
|
|
|
|
this.getList();
|
|
|
|
|
this.getList2(_this);
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|