|
@@ -8,7 +8,7 @@
|
|
|
|
|
|
<view style="margin: 15rpx 0" v-if="activeContent == '我的申请'">
|
|
|
<view style="background: #fff; padding: 10rpx 0; margin-bottom: 15rpx">
|
|
|
- <u-search @search='sousuo' shape="square" placeholder="请输入备案单编号"
|
|
|
+ <u-search @custom='sousuo' shape="square" placeholder="请输入备案单编号"
|
|
|
style="width: 95%; margin: 0rpx auto"></u-search>
|
|
|
</view>
|
|
|
<view class="contentItems" @click="handleDetails(item)" v-for="item in ledgerList">
|
|
@@ -164,18 +164,24 @@
|
|
|
uni.startPullDownRefresh();
|
|
|
},
|
|
|
onPullDownRefresh() {
|
|
|
+ this.getList()
|
|
|
console.log('refresh');
|
|
|
setTimeout(function() {
|
|
|
uni.stopPullDownRefresh();
|
|
|
- }, 1000);
|
|
|
+ }, 800);
|
|
|
},
|
|
|
onShow() {
|
|
|
- uni.$once('query', (query) => {
|
|
|
+ uni.$on('query', (query) => {
|
|
|
if (query.a == 'one') {
|
|
|
- this.queryParams.pageNum = 1
|
|
|
- this.queryParams.pageSize = 10
|
|
|
- this.getList()
|
|
|
+ console.log('query', query)
|
|
|
+ console.log('11111111111111111111111')
|
|
|
uni.startPullDownRefresh();
|
|
|
+ setTimeout(() => {
|
|
|
+ this.queryParams.pageNum = 1
|
|
|
+ this.queryParams.pageSize = 10
|
|
|
+ this.getList()
|
|
|
+ }, 1500)
|
|
|
+
|
|
|
}
|
|
|
})
|
|
|
|
|
@@ -267,8 +273,10 @@
|
|
|
handleCurrentForm() {},
|
|
|
handleDetails(item) {
|
|
|
uni.navigateTo({
|
|
|
- url: "/pages/assay/details?id=" + item.id + '&danwei=' + item.useOrgName + '&applypeople=' +
|
|
|
- item.userName + '&userMobile=' + item.userMobile + '&createTime=' + item.createTime,
|
|
|
+ url: "/pages/assay/details?id=" + item.id + '&danwei=' + item.useOrgName +
|
|
|
+ '&applypeople=' +
|
|
|
+ item.userName + '&userMobile=' + item.userMobile + '&createTime=' + item
|
|
|
+ .createTime,
|
|
|
success: (res) => {},
|
|
|
fail: () => {},
|
|
|
complete: () => {},
|