|
@@ -61,8 +61,12 @@ export default {
|
|
|
list: []
|
|
|
}
|
|
|
},
|
|
|
- mounted() {
|
|
|
- this.getlist(true);
|
|
|
+ onLoad(options) {
|
|
|
+ if (options.date) {
|
|
|
+ this.$refs.Search.viewDateCycle(1)
|
|
|
+ } else {
|
|
|
+ this.getlist(true);
|
|
|
+ }
|
|
|
setTimeout(() => {
|
|
|
this.$refs.List.setHeight();
|
|
|
}, 350)
|
|
@@ -91,12 +95,12 @@ export default {
|
|
|
try {
|
|
|
switch (content.where.status) {
|
|
|
case "待处理":
|
|
|
- this.list1[0].badge.value = res.tips.undeal.count;
|
|
|
+ this.list1[0].badge.value = res.total;
|
|
|
this.list1[1].badge.value = "";
|
|
|
break;
|
|
|
case "已处理":
|
|
|
this.list1[0].badge.value = "";
|
|
|
- this.list1[1].badge.value = res.tips.deal.count;
|
|
|
+ this.list1[1].badge.value = res.total;
|
|
|
break;
|
|
|
}
|
|
|
} catch (error) {
|
|
@@ -124,7 +128,7 @@ export default {
|
|
|
},
|
|
|
onFilter(e) {
|
|
|
this.content.where = Object.assign(this.content.where, e);
|
|
|
- console.log(this.content.where)
|
|
|
+ console.log("123123312", this.content.where)
|
|
|
this.getlist(true);
|
|
|
},
|
|
|
},
|