|
@@ -8,7 +8,7 @@
|
|
|
|
|
|
<view style="margin: 15rpx 0" v-if="activeContent == '我的申请'">
|
|
<view style="margin: 15rpx 0" v-if="activeContent == '我的申请'">
|
|
<view style="background: #fff; padding: 10rpx 0; margin-bottom: 15rpx">
|
|
<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>
|
|
style="width: 95%; margin: 0rpx auto"></u-search>
|
|
</view>
|
|
</view>
|
|
<view class="contentItems" @click="handleDetails(item)" v-for="item in ledgerList">
|
|
<view class="contentItems" @click="handleDetails(item)" v-for="item in ledgerList">
|
|
@@ -164,18 +164,24 @@
|
|
uni.startPullDownRefresh();
|
|
uni.startPullDownRefresh();
|
|
},
|
|
},
|
|
onPullDownRefresh() {
|
|
onPullDownRefresh() {
|
|
|
|
+ this.getList()
|
|
console.log('refresh');
|
|
console.log('refresh');
|
|
setTimeout(function() {
|
|
setTimeout(function() {
|
|
uni.stopPullDownRefresh();
|
|
uni.stopPullDownRefresh();
|
|
- }, 1000);
|
|
|
|
|
|
+ }, 800);
|
|
},
|
|
},
|
|
onShow() {
|
|
onShow() {
|
|
- uni.$once('query', (query) => {
|
|
|
|
|
|
+ uni.$on('query', (query) => {
|
|
if (query.a == 'one') {
|
|
if (query.a == 'one') {
|
|
- this.queryParams.pageNum = 1
|
|
|
|
- this.queryParams.pageSize = 10
|
|
|
|
- this.getList()
|
|
|
|
|
|
+ console.log('query', query)
|
|
|
|
+ console.log('11111111111111111111111')
|
|
uni.startPullDownRefresh();
|
|
uni.startPullDownRefresh();
|
|
|
|
+ setTimeout(() => {
|
|
|
|
+ this.queryParams.pageNum = 1
|
|
|
|
+ this.queryParams.pageSize = 10
|
|
|
|
+ this.getList()
|
|
|
|
+ }, 1500)
|
|
|
|
+
|
|
}
|
|
}
|
|
})
|
|
})
|
|
|
|
|
|
@@ -267,8 +273,10 @@
|
|
handleCurrentForm() {},
|
|
handleCurrentForm() {},
|
|
handleDetails(item) {
|
|
handleDetails(item) {
|
|
uni.navigateTo({
|
|
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) => {},
|
|
success: (res) => {},
|
|
fail: () => {},
|
|
fail: () => {},
|
|
complete: () => {},
|
|
complete: () => {},
|