@@ -264,8 +264,9 @@ export default {
};
},
activated() {
- if(this.latestUpdateTime!=null){
- this.getListTotalFn();
+ let type = this.$route.query.type;
+ if(this.latestUpdateTime!=null && type == 1){
+ this.getListTotalFn();
}
// setTimeout(() => {
// this.onSearch();
@@ -396,7 +397,9 @@ export default {
this.onSearch();
onClickLeft() {
- this.$router.go(-1);
+ this.$router.push({
+ path: '/My/index',
+ });
onSearch() {
this.refreshTotal = 0;
@@ -434,7 +434,12 @@ export default {
path: '/historicalVisit',
});
} else {
+ path: '/historAllVisit',
+ query: {
+ type: 1,
+ },
@@ -47,7 +47,7 @@
<van-icon :name="storeselect" class="zicon" />
</template>
</van-cell>
- <van-cell title="历史拜访" is-link to="/historAllVisit">
+ <van-cell title="历史拜访" is-link to="/historAllVisit?type=0">
<template #icon>
<van-icon :name="history" class="zicon" />