|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
- <common ></common>
|
|
|
+ <common @asynCallBack="asynCallBack" ></common>
|
|
|
|
|
|
<header class="mui-bar mui-bar-nav" >
|
|
|
<h1 class="mui-title">拜访申请记录</h1>
|
|
@@ -116,7 +116,7 @@
|
|
|
},
|
|
|
//获取列表
|
|
|
getList() {
|
|
|
- this.isLoading = true;
|
|
|
+
|
|
|
this.listForm.openId=this.openId;
|
|
|
API_Current.pageList(this.listForm).then(response => {
|
|
|
if (response) {
|
|
@@ -151,11 +151,11 @@
|
|
|
},
|
|
|
|
|
|
asynCallBack() {
|
|
|
-
|
|
|
+ this.getList();
|
|
|
},
|
|
|
},
|
|
|
mounted() {
|
|
|
- this.getList();
|
|
|
+ this.isLoading = true;
|
|
|
//监控下拉加载事件
|
|
|
var _this = this;
|
|
|
window.addEventListener('scroll', _this.handleScrool);
|