|
@@ -158,11 +158,15 @@
|
|
|
});
|
|
|
// #endif
|
|
|
}
|
|
|
+ // 监听新增后刷新
|
|
|
uni.$on('refreshBL',this.refresh)
|
|
|
- this.pageInit()
|
|
|
+ // 监听待办处理后刷新
|
|
|
+ uni.$on('refreshBl-handle',this.handleRefresh)
|
|
|
+ this.pageInit()
|
|
|
},
|
|
|
onUnload() {
|
|
|
uni.$off('refreshBL',this.refresh)
|
|
|
+ uni.$off('refreshBl-handle',this.handleRefresh)
|
|
|
},
|
|
|
methods:{
|
|
|
pageInit () {
|
|
@@ -171,6 +175,9 @@
|
|
|
this.pageNo = 1
|
|
|
this.getRow()
|
|
|
},
|
|
|
+ handleRefresh() {
|
|
|
+ this.getRow()
|
|
|
+ },
|
|
|
// tabs通知swiper切换
|
|
|
tabsChange(index) {
|
|
|
this.swiperCurrent = index;
|