diff --git a/pages/declaration/list.vue b/pages/declaration/list.vue
index 1f7c392..311541a 100644
--- a/pages/declaration/list.vue
+++ b/pages/declaration/list.vue
@@ -32,7 +32,7 @@
- 地名命名申报
+ 地名备案
@@ -57,7 +57,7 @@
- 我的任务
+ 巡检任务
diff --git a/pages/funeralreport/funeralreport.vue b/pages/funeralreport/funeralreport.vue
index a807d93..ce26d11 100644
--- a/pages/funeralreport/funeralreport.vue
+++ b/pages/funeralreport/funeralreport.vue
@@ -160,7 +160,7 @@
-
+
@@ -56,8 +56,10 @@
pageNum:1,
pageSize:10,
userId:"",
+ filingStatus:"0"
},
list:[],
+ total:0,
};
},
onPageScroll(e) {
@@ -80,16 +82,37 @@
})
},
getinfo(){
- this.info.userId = uni.getStorageSync("USERS_KEY").userId
+ if(uni.getStorageSync('userjs') == '调度员'){
+ this.info.userId = ''
+ }else{
+ this.info.userId = uni.getStorageSync("USERS_KEY").userId
+ }
console.log("user",uni.getStorageSync("USERS_KEY"));
this.API.getwsyy(this.info).then(res=>{
console.log("获取网上报丧信息",res);
+ this.total = res.total
for(let i = 0;i < res.rows.length;i++){
this.list.push(res.rows[i])
}
})
},
- }
+ },
+ onReachBottom() {
+ var page = parseInt(this.total / 10 );
+ var s = parseInt(this.total % 10 );
+ console.log(page,s);
+ if(s > 0){
+ page = page + 1
+ }
+ if(page > 0){
+ if(this.info.pageNum < page){
+ this.info.pageNum = this.info.pageNum + 1
+ this.getinfo();
+ }else{
+ console.log("没有了");
+ }
+ }
+ },
}
diff --git a/pages/mydeathdetail/mydeathdetail.vue b/pages/mydeathdetail/mydeathdetail.vue
index 098a971..a93f3dc 100644
--- a/pages/mydeathdetail/mydeathdetail.vue
+++ b/pages/mydeathdetail/mydeathdetail.vue
@@ -54,16 +54,6 @@
预约人电话
-
@@ -85,25 +75,24 @@
-
-
-
@@ -171,7 +160,6 @@
}
}
})
-
},
/**
* 返回点击